tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: disappointing upgrade to NetBSD 5.0

Dan Engholm wrote:
xvif2.0: Ethernet address aa:00:00:51:02:f0
May 26 18:39:11 xxxxxx routed[227]: Send bcast sendto(xvif2.0, Network is down
xbd backend: attach device wd1b (size 2097152) for domain 2
xbd backend: attach device raid2f (size 209715200) for domain 2
xbd backend: attach device raid1f (size 4194304) for domain 2
xvif2.0 using event channel 17
xbd backend 0 for domain 2 using event channel 18

Hmmn, typical console message, nothing of value for us here.

Any chance we could get a backtrace?

For that, edit the /etc/sysctl.conf of domU, set the ddb.onpanic to 1. Then "bt" from ddb prompt.

panic: Unable to reduce memory reservation

fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c039504c cs 9 eflags 246 cr2 0 ilevel 4
Stopped in pid 579.1 (Xvnc) at  netbsd:breakpoint+0x4:  popl    %ebp
db> BT
No such command: BT
db> bt
breakpoint(c044097b,cb5cdae8,c0455bc0,c03a0011,ca217000,c049f440,cb5cdb1c,c049f440,1,2) at netbsd:breakpoint+0x4 panic(c04431b4,5108,5a8,c03a905a,c9d3e6ca,cb5cdc7c,cb371280,c02e3a06,caa4d043,bfbfe30d) at netbsd:panic+0x1a6 xen_network_handler(0,0,cb5cdb4c,c02ccedb,4,caa3b000,caa4d000,c0b96600,c03b0400,c0b8aa2c) at netbsd:xen_network_handler xennet_rx_mbuf_free(c0b96600,caa4d000,4c,ca217f10,50435051,0,cb5cdb7c,13a8fa7,c0b96600,c0b8aae4) at netbsd:xennet_rx_mbuf_free+0x44

Sorry, I was talking about the Xen 3 index error. I am not familiar with Xen 2 enough to help on that one.

Looks weird though, network_handler seems to be called with a null argument. I don't quite understand how it could happen here in the stack, especially at ilevel 4 (IIRC, it is softnet level). Maybe the backtrace from ddb is incorrect?

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index