Subject: port-sparc64/15200: sparc64 savecore makes kernel panic at pciide_dma_init()
To: None <>
From: Antti Kantee <>
List: netbsd-bugs
Date: 01/10/2002 18:06:10
>Number:         15200
>Category:       port-sparc64
>Synopsis:       sparc64 savecore makes kernel panic at pciide_dma_init()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 10 08:07:00 PST 2002
>Originator:     Antti Kantee
>Release:        1.5ZA, beginning of 2002
Architecture: sparc64
Machine: Ultra10

After having crashed once, the sparc64 fails to get back up because
it cannot complete savecore:

savecore: reboot after panic: panic: lockmgr: locking against myself
savecore: system went down at Thu Jan 10 17:58:09 2002
savecore: writing compressed core to /var/crash/netbsd.0.core.gz
pciide_dma: segment 0 physical addr 0xc006d2b0 len 0xd2b0 not properly aligned
panic: pciide_dma: buf align
Begin traceback...
_wdc_ata_bio_start(1e1d960, 1e1e000, 1, 1e1d960, 1021c00, 11b6624) at _wdc_ata_bio_start+0x358
wdc_ata_bio_start(1e1d960, 1e1e000, 11baa2c, 1e1ffb0, 11a7d1c, 1859400) at wdc_ata_bio_start+0x90
wdcstart(1e1d960, 1806800, 1e1e038, 185cb08, 185c908, 4) at wdcstart+0x134
wdc_exec_xfer(1e1d960, 1e1e000, 11bbb28, 10000, 11bb400, 11bb800) at wdc_exec_xfer+0xb0
wdc_ata_bio(1e1d9d8, 1e1d130, 11ba908, 5, ffffffffffffffff, 9435) at wdc_ata_bio+0x104
__wdstart(1e1d000, 1e4a540, 0, 1e4a540, 1e1a880, 0) at __wdstart+0xa4
wdstart(1e1d000, 1, 0, 1e1d960, 2e68, 4e74000) at wdstart+0x94
wddone(1e1d000, 0, 1e1d9e8, 0, 1d, 1dd1b00) at wddone+0x210
wdc_ata_bio_done(1e1d960, 1e1e000, 0, 271, 50, 11b6624) at wdc_ata_bio_done+0x98
wdc_ata_bio_intr(0, 1e1e000, 1, 11bb4c8, 11a7d1c, 1859400) at wdc_ata_bio_intr+0x638
wdcintr(1e1d960, 2, 54, 1d, 1dd1b00, f0080fcc00011800) at wdcintr+0x10c
cmd_pci_intr(1e1d800, 0, e0017ed0, 1e4dfb0, 11aa6b8, 1888000) at cmd_pci_intr+0x90
sparc_intr_retry(0, 0, 120a4dc, 0, ffffffffffffffff, 9435) at sparc_intr_retry+0x48
pmap_enter_pv(9023c20, 23b9, 1871cd0, 0, 0, 0) at pmap_enter_pv+0x1bc
mi_switch(9023c20, 3b, 914c428, 185cd60, 1e4a540, 1e088a4) at mi_switch+0x16c
ltsleep(0, 11, 1219268, 0, 0, 7) at ltsleep+0x278
physio(1219220, 1e4a540, 1219268, 10000, 0, 914fba0) at physio+0x2d8
wdread(1a01, 914fba0, 0, 820, 11b9134, 0) at wdread+0x64
spec_read(914fa90, 108bb70, 58, 1de3200, 0, 0) at spec_read+0xf4
ufsspec_read(914fa90, 58, 11899a8, 1de2c00, 0, 0) at ufsspec_read+0x50
vn_read(0, 90584e8, 914fba0, 1de1f80, 1, 1080c28) at vn_read+0xd8
dofileread(9023c20, 5, 90584b0, 100000, 100000, 90584e8) at dofileread+0x8c
sys_read(9023c20, 914fdd0, 914fdc0, 105c53c, ffffffffffffd3a0, 0) at sys_read+0x74
syscall(914fed0, 3, 0, 124ff8, 400, 7) at syscall+0x36c
syscall_setup(5, 2352b0, 100000, ffffffffffffd5b0, 0, 12b5e8) at syscall_setup+0x12c
End traceback...
syncing disks... pciide0:0:0: missing untimeout


dump, run savecore? First panic most probably occused because of a
non-clean non-fscked filesystem, if that counts.