Re: kernel panic with memory disks

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Mon, 20 Aug 2007 18:54:53 +0100 (BST)
On Mon, 20 Aug 2007, Stefan Lambrev wrote:

> I do not know if this is know behavior, and I know that 6.2 panic if the 
> memory disk got full, but on 7-current the panic is before the disk got 
> full.
>
> Here is what I do:
>
> mdconfig -a -t malloc -s 800m newfs /dev/md0 mount /dev/md0 /mnt cp 
> 600mb.file /mnt

You probably mean to be using "-t swap" -- 800mb of kernel address space and 
memory is quite a bit.  Error 28 is ENOMEM, btw, which seems consistent with 
that concern.  Try using "-t swap" and see if things go better.

Robert N M Watson
Computer Laboratory
University of Cambridge

>
> and here is the output:
>
> g_vfs_done():md0[WRITE(offset=76087296, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76218368, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76349440, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76480512, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76611584, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76742656, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76873728, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77004800, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77135872, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77266944, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77398016, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77529088, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77660160, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77791232, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77922304, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78053376, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78184448, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78315520, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78446592, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78577664, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78708736, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78839808, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78970880, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79101952, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79233024, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79364096, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79495168, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79626240, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79757312, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79888384, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80019456, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80150528, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80281600, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80412672, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80543744, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80674816, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80805888, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80936960, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81068032, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81199104, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81330176, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81461248, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81592320, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81723392, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81854464, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81985536, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82116608, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82247680, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82378752, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82509824, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82640896, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82771968, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82903040, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83034112, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83165184, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83296256, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83427328, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83558400, length=131072)]error = 28
> g_vfs_done():md0[WRITE(poafnicf: kmem_maslleoct(16=3884)3: kmem_6m8ap 9t4o7o 
> 2sm,all : 3354l74e6n88 tgottalh all=oc1ated3
> 21puid 0= 73
> )]error = 28
> gU_vfs_done():md0[WRITE(offset=83820544, length=131072)]error = 28
> ptime: 5m47s
> Physical memory: 3831 MB
> Dumping 521 MB: 506 490 474 458g_vfs_done():md0[WRITE(offset=76087296, 
> length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76218368, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76349440, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76480512, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76611584, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76742656, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76873728, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77004800, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77135872, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77266944, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77398016, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77529088, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77660160, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77791232, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77922304, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78053376, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78184448, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78315520, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78446592, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78577664, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=192708608, length=32768)]error = 28
> g_vfs_done():md0[WRITE(offset=192741376, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=385400832, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=385417216, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=385433600, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=578093056, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=578109440, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=78708736, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78839808, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78970880, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79101952, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79233024, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79364096, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79495168, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79626240, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79757312, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79888384, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80019456, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80150528, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80281600, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80412672, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80543744, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80674816, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80805888, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80936960, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81068032, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81199104, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81330176, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81461248, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81592320, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81723392, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81854464, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81985536, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82116608, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82247680, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82378752, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82509824, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82640896, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82771968, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82903040, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83034112, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83165184, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83296256, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83427328, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83558400, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83689472, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83820544, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76087296, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76218368, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76349440, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76480512, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76611584, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76742656, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=76873728, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77004800, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77135872, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77266944, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77398016, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77529088, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77660160, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77791232, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=77922304, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78053376, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78184448, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78315520, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78446592, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78577664, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=192708608, length=32768)]error = 28
> g_vfs_done():md0[WRITE(offset=192741376, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=385400832, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=385417216, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=385433600, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=578093056, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=578109440, length=16384)]error = 28
> g_vfs_done():md0[WRITE(offset=78708736, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78839808, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=78970880, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79101952, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79233024, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79364096, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79495168, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79626240, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79757312, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=79888384, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80019456, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80150528, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80281600, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80412672, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80543744, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80674816, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80805888, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=80936960, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81068032, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81199104, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81330176, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81461248, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81592320, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81723392, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81854464, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=81985536, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82116608, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82247680, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82378752, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82509824, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82640896, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82771968, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=82903040, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83034112, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83165184, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83296256, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83427328, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83558400, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83689472, length=131072)]error = 28
> g_vfs_done():md0[WRITE(offset=83820544, length=131072)]error = 28
> Error dumping block 0x0
>
> ** DUMP FAILED (ERROR 5) **
> aac0: shutting down controller...done
> Automatic reboot in 15 seconds - press a key on the console to abort
>
> -- 
>
> Best Wishes,
> Stefan Lambrev
> ICQ# 24134177
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Mon Aug 20 2007 - 15:54:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC