Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: amd64 panics w/XEN_DOM0, not GENERIC
> OK. I guess it's calling physio_biodone() though stdone() (the stack
> frames got optimized, so stdone() doesn't show up in the stack
> trace). Can you run a kernel with the attached patch (either GENERIC
> of XEN3_DOM0) ? It should give more details about what's going on.
With the GENERIC (+DEBUG+DIAGNOSTIC) kernel, I got:
stdone error 5 count 32768 resid 0
panic: kernel diagnostic assertion "bp->b_error == 0" failed: file
"/amd/guinness/usr/src/os/NetBSD/src/sys/kern/kern_physio.c", line 219
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80523155 cs 8 rflags 246 cr2 7f7ffbb52000 cpl 6
rsp ffff80004ceada60
Stopped in pid 0.18 (system) at netbsd:breakpoint+0x5: leave
more bits below.
-Todd
---<snip>---
db{0}> trace
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x260
__kernassert() at netbsd:__kernassert+0x2d
physio_biodone() at netbsd:physio_biodone+0xa7
biodone2() at netbsd:biodone2+0x95
scsipi_complete() at netbsd:scsipi_complete+0x18a
scsipi_completion_thread() at netbsd:scsipi_completion_thread+0xba
db{0}> ps/l
PID LID S FLAGS STRUCT LWP * NAME WAIT
1463 1 3 84 ffff80004f2cc000 sshd select
2422 1 3 84 ffff80004d955be0 sshd netio
3740 1 3 80 ffff80004f4cebc0 gzip piperd
4108 1 3 84 ffff80004f2cc3e0 chunker netio
1288 1 3 80 ffff80004f141020 pickup kqueue
868 1 3 80 ffff80004f4dc420 dumper netio
888 1 3 80 ffff80004f4dc800 dumper netio
1866 1 3 80 ffff80004f4dcbe0 dumper netio
1685 1 3 84 ffff80004f4ce020 dumper select
1171 141 3 4 ffff80004f2ccba0 taper physio
140 3 84 ffff80004d923bc0 taper parked
1 3 80 ffff80004f4ce400 taper parked
843 1 3 80 ffff80004f4ce7e0 driver select
1642 1 3 80 ffff80004f265040 perl wait
1186 1 3 80 ffff80004f2cc7c0 ksh pause
608 1 3 80 ffff80004f265420 sh wait
1133 1 3 80 ffff80004d955420 cron piperd
947 1 3 80 ffff80004ee327c0 bash ttyraw
1020 1 3 80 ffff80004f02d040 sshd select
404 1 3 80 ffff80004f265800 sshd netio
1141 1 3 80 ffff80004f1417e0 getty ttyraw
366 1 3 80 ffff80004f265be0 qmgr kqueue
447 1 3 80 ffff80004f141400 getty ttyraw
515 2 3 80 ffff80004cff1000 apcupsd socket
1 3 80 ffff80004f141bc0 apcupsd select
461 1 3 84 ffff80004f09c000 cron nanoslp
519 1 3 80 ffff80004f09c7c0 inetd kqueue
486 1 3 80 ffff80004f09c3e0 master kqueue
285 1 3 80 ffff80004f0287e0 smartd nanoslp
296 1 3 84 ffff80004f09cba0 snmpd select
297 1 3 84 ffff80004f02d420 sshd select
279 1 3 84 ffff80004f02d800 ntpd pause
216 5 3 84 ffff80004f02dbe0 slave nfsd
4 3 84 ffff80004f028020 slave nfsd
3 3 84 ffff80004f028400 slave nfsd
2 3 10000084 ffff80004f028bc0 slave nfsd
1 3 80 ffff80004d9237e0 master select
210 1 3 84 ffff80004ee32000 mountd select
180 1 3 80 ffff80004ee323e0 mount_mfs mfsidl
153 1 3 84 ffff80004ee32ba0 rpcbind select
132 1 2 4 ffff80004d923400 syslogd
1 1 3 84 ffff80004b09f3e0 init wait
>0 49 5 204 ffff80004d955800 (zombie)
48 3 204 ffff80004d923020 physiod physiod
47 3 204 ffff80004cff13e0 vmem_rehash vmem_rehash
46 3 204 ffff80004cff17c0 aiodoned aiodoned
45 3 204 ffff80004cff1ba0 ioflush syncer
44 3 204 ffff80004cfed040 pgdaemon pgdaemon
43 3 204 ffff80004cfed420 raidio1 raidiow
42 3 204 ffff80004cfed800 raid1 rfwcond
41 3 204 ffff80004cfedbe0 raidio0 raidiow
40 3 204 ffff80004cfe0020 raid0 rfwcond
39 3 204 ffff80004b09fba0 cryptoret crypto_wait
38 3 204 ffff80004b09e420 usb4 usbevt
37 3 204 ffff80004b09e040 usb2 usbevt
36 3 204 ffff80004b09e800 usb3 usbevt
35 3 204 ffff80004b09ebe0 usb1 usbevt
34 3 204 ffff80004cfe0400 usbtask-dr usbtsk
33 3 204 ffff80004b09f7c0 usbtask-hc usbtsk
32 3 204 ffff80004b09f000 usb0 usbevt
31 3 204 ffff80004cfe07e0 coretemp1 coretemp1
30 3 204 ffff80004cfe0bc0 coretemp0 coretemp0
21 3 204 ffff80004b09c020 iic0 iicintr
20 3 204 ffff80004b09c400 atabus1 atath
19 3 204 ffff80004b09c7e0 atabus0 atath
> 18 7 204 ffff80004b09cbc0 scsibus0
17 3 204 ffff80004b099000 xcall/1 xcall
16 1 204 ffff80004b0993e0 softser/1
15 1 204 ffff80004b0997c0 softclk/1
14 1 204 ffff80004b099ba0 softbio/1
13 1 204 ffff80004b093040 softnet/1
12 7 205 ffff80004b093420 idle/1
11 3 204 ffff80004b093800 sysmon smtaskq
10 3 204 ffff80004b093be0 pmfevent pmfevent
9 3 204 ffff80004b08c020 cachegc cachegc
8 3 204 ffff80004b08c400 vrele vrele
7 3 204 ffff80004b08c7e0 xcall/0 xcall
6 1 204 ffff80004b08cbc0 softser/0
5 1 204 ffff80004b08a000 softclk/0
4 1 204 ffff80004b08a3e0 softbio/0
3 1 204 ffff80004b08a7c0 softnet/0
2 1 205 ffff80004b08aba0 idle/0
1 3 204 ffffffff80bccd60 swapper schedule
db{0}> ps/a
PID COMMAND STRUCT PROC * UAREA * VMSPACE/VM_MAP
1463 sshd ffff80004f1df008 ffff80004ecf6d80 ffff80004cfe95c0
2422 sshd ffff80004d957d50 ffff80004d98bd80 ffff80004cfe9cf0
3740 gzip ffff80004cfe47f8 ffff80004d982d80 ffff80004d9aba18
4108 chunker ffff80004cfe4000 ffff80004f36ed80 ffff80004f358d10
1288 pickup ffff80004f345ab0 ffff80004f1e9d80 ffff80004d9ab738
868 dumper ffff80004f4ddaa0 ffff80004f50ed80 ffff80004f3585e0
888 dumper ffff80004f4ddd48 ffff80004f50bd80 ffff80004f358e80
1866 dumper ffff80004f345010 ffff80004f508d80 ffff80004f2c9018
1685 dumper ffff80004f3452b8 ffff80004f505d80 ffff80004f3588c0
1171 taper ffff80004f345560 ffff80004f58dd80 ffff80004f2c9188
843 driver ffff80004f345808 ffff80004f4fad80 ffff80004f2c92f8
1642 perl ffff80004f1df2b0 ffff80004f292d80 ffff80004f2c9748
1186 ksh ffff80004f345d58 ffff80004f30dd80 ffff80004f358020
608 sh ffff80004f1df558 ffff80004f25bd80 ffff80004f358190
1133 cron ffff80004ef9d2b8 ffff80004d97bd80 ffff80004f358a30
947 bash ffff80004d9572b0 ffff80004ee62d80 ffff80004f358750
1020 sshd ffff80004cfe4aa0 ffff80004f067d80 ffff80004f11c180
404 sshd ffff80004f1df800 ffff80004f24fd80 ffff80004f358300
1141 getty ffff80004f09e2a8 ffff80004f1e2d80 ffff80004f11c8b0
366 qmgr ffff80004f1dfaa8 ffff80004f24ad80 ffff80004f11c460
447 getty ffff80004f09e000 ffff80004f22ad80 ffff80004f11c740
515 apcupsd ffff80004f09e550 ffff80004d8b5d80 ffff80004d9ab2e8
461 cron ffff80004f09e7f8 ffff80004f0ecd80 ffff80004f11ce70
519 inetd ffff80004f09ed48 ffff80004f0e2d80 ffff80004d9ab5c8
486 master ffff80004f09eaa0 ffff80004f136d80 ffff80004d9ab008
285 smartd ffff80004ef9d808 ffff80004f00fd80 ffff80004cfe98a0
296 snmpd ffff80004ef9d010 ffff80004f06bd80 ffff80004d9ab178
297 sshd ffff80004ef9d560 ffff80004f063d80 ffff80004d9ab458
279 ntpd ffff80004ef9dab0 ffff80004f05cd80 ffff80004d9ab8a8
216 nfsd ffff80004cfe4550 ffff80004f059d80 ffff80004d9abe68
210 mountd ffff80004ef9dd58 ffff80004f007d80 ffff80004d9abb88
180 mount_mfs ffff80004d957008 ffff80004ef78d80 ffff80004d9abcf8
153 rpcbind ffff80004d957558 ffff80004ee09d80 ffff80004cfe9450
132 syslogd ffff80004cfe42a8 ffff80004d8bed80 ffff80004cfe9a10
1 init ffff80004cfe4d48 ffff80004cfced80 ffff80004cfe9e60
>0 system ffffffff80bccaa0 ffff80004d978d80 ffffffff80c9fb20
P
Home |
Main Index |
Thread Index |
Old Index