svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

Ruslan Bukin br at freebsd.org
Mon Nov 24 18:06:47 UTC 2014


On Mon, Nov 24, 2014 at 07:37:33PM +0200, Konstantin Belousov wrote:
> On Mon, Nov 24, 2014 at 11:05:37AM +0000, Ruslan Bukin wrote:
> > Hi, Gleb,
> > 
> > I get some problems with it: I'm working on block device emulation
> > using virtio(4) in heterogeneous environment (FreeBSD/ARM frontend
> > provide block to FreeBSD/MIPS64 soft core). On a MIPS side I now
> > permanently receive panic below
> > 
> > Any idea ?
> > 
> > [...]
> > crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0
> > crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
> > crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
> > Device configuration finished.
> > Timecounters tick every 5.000 msec
> > crypto: <crypto device>
> > tcp_init: net.inet.tcp.tcbhashsize auto tuned to 4096
> > random: unblocking device.
> > GEOM: new disk vtbd0
> > MAP: No valid partition found at vtbd0
> > Trying to mount root from ufs:vtbd0 []...
> > WARNING: / was not properly dismounted
> > warning: no time-of-day clock registered, system time will not be set accurately
> > start_init: trying /sbin/init
> > mtlctl: open mtl_reg0: No such file or directory
> > Entropy harvesting:sysctl: unknown oid 'kern.ranndom.sys.harvest.interrupt': No such file or directory
> >  interruptssysctl: unknown oid 'kern.random.sys.harvest.ethernet': No such file or directory
> >  ethernetpanic: Bad link elm 0x980000000f9a0090 next->prev != elm
> > KDB: enter: panic
> > [ thread pid 31 tid 100028 ]
> > Stopped at      kdb_enter+0x8c: lui     at,0x0
> > db> 
> 
> I this on stock kernel or on kernel with your modifications ?

Stock one. I also checked with no virtio but MDROOT - same problems.

> What is the backtrace ?

[...]
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
panic: vm_page_insert_after: msucc doesn't succeed pindex
KDB: enter: panic
[ thread pid 14 tid 100026 ]
Stopped at      kdb_enter+0x8c: lui     at,0x0
db> bt
Tracing pid 14 tid 100026 td 0x98000000008854d0
db_trace_thread+40 (?,?,?,?) ra ffffffff80117654 sp c0000000056b10f0 sz 16
ffffffff801174c8+18c (0,?,ffffffff,?) ra ffffffff80116730 sp c0000000056b1100 sz 48
ffffffff801162a8+488 (?,?,?,?) ra ffffffff801169fc sp c0000000056b1130 sz 192
db_command_loop+f4 (?,?,?,?) ra ffffffff8011a570 sp c0000000056b11f0 sz 16
ffffffff8011a3c8+1a8 (?,?,?,?) ra ffffffff8027c678 sp c0000000056b1200 sz 816
kdb_trap+188 (?,?,?,?) ra ffffffff804ab424 sp c0000000056b1530 sz 64
trap+1114 (?,?,?,?) ra ffffffff804969bc sp c0000000056b1570 sz 288
MipsKernGenException+154 (0,4,804f5340,12f) ra ffffffff8027c214 sp c0000000056b1690 sz 368
kdb_enter+8c (?,?,?,?) ra ffffffff8022e808 sp c0000000056b1800 sz 16
ffffffff8022e658+1b0 (?,?,?,?) ra ffffffff8022e938 sp c0000000056b1810 sz 32
kassert_panic+c8 (?,4,851600,3d7) ra ffffffff80476900 sp c0000000056b1830 sz 96
ffffffff804767e0+120 (?,?,?,?) ra ffffffff8047a2a8 sp c0000000056b1890 sz 64
vm_page_alloc+7f8 (?,?,?,?) ra ffffffff8045e8a4 sp c0000000056b18d0 sz 80
ffffffff8045dd80+b24 (?,?,?,?) ra 0 sp c0000000056b1920 sz 272
pid 14
db> 

[...]
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
panic: Bad list head 0x9800000000851c30 first->prev != head
KDB: enter: panic
[ thread pid 14 tid 100026 ]
Stopped at      kdb_enter+0x8c: lui     at,0x0
db> bt
Tracing pid 14 tid 100026 td 0x98000000008854d0
db_trace_thread+40 (?,?,?,?) ra ffffffff80117654 sp c0000000056b10d0 sz 16
ffffffff801174c8+18c (0,?,ffffffff,?) ra ffffffff80116730 sp c0000000056b10e0 sz 48
ffffffff801162a8+488 (?,?,?,?) ra ffffffff801169fc sp c0000000056b1110 sz 192
db_command_loop+f4 (?,?,?,?) ra ffffffff8011a570 sp c0000000056b11d0 sz 16
ffffffff8011a3c8+1a8 (?,?,?,?) ra ffffffff8027c678 sp c0000000056b11e0 sz 816
kdb_trap+188 (?,?,?,?) ra ffffffff804ab424 sp c0000000056b1510 sz 64
trap+1114 (?,?,?,?) ra ffffffff804969bc sp c0000000056b1550 sz 288
MipsKernGenException+154 (0,4,804f5340,12f) ra ffffffff8027c214 sp c0000000056b1670 sz 368
kdb_enter+8c (?,?,?,?) ra ffffffff8022e808 sp c0000000056b17e0 sz 16
ffffffff8022e658+1b0 (?,?,?,?) ra ffffffff8022e870 sp c0000000056b17f0 sz 32
panic+30 (?,851c30,8051e990,8051e990) ra ffffffff80470ee8 sp c0000000056b1810 sz 96
vm_object_shadow+178 (?,?,?,?) ra ffffffff804694c8 sp c0000000056b1870 sz 48
vm_map_lookup+2f0 (56b1a68,ffffe000,?,?) ra ffffffff8045de28 sp c0000000056b18a0 sz 128
ffffffff8045dd80+a8 (?,?,?,?) ra 0 sp c0000000056b1920 sz 272
pid 14
db> 

> What is the file/line where the panic occured ?
> Can mips dump vmcore ?

not sure yet

Ruslan


More information about the svn-src-head mailing list