Panic in today's current, UFS problem?

From: Daniel Eriksson <daniel_k_eriksson_at_telia.com>
Date: Tue, 3 Aug 2004 02:45:45 +0200
I was trying out the new patch from Ville-Pertti Keinonen that might fix my
interrupt storm problems with SATA when I ran into a panic. The dmesg is
attached.

OS: CURRENT, 2004.08.02.16.00.00
    + VIA/SATA patch from Ville-Pertti Keinonen
(http://docs.freebsd.org/cgi/getmsg.cgi?fetch=505643+0+current/freebsd-curre
nt)
    + libdisk patch from Lukas Ertl
(http://docs.freebsd.org/cgi/getmsg.cgi?fetch=526964+0+current/freebsd-curre
nt)


What I did:
1. fdisk/label two 250GB discs hooked up to the on-board SATA controller
(using sysinstall)
2. copy ~20GB of data to both discs
3. successfully run the stress-test mentioned in Ville-Pertti Keinonen's
mail (above)
4. unmount both discs
5. run "atacontrol create RAID0 128 ad20 ad22" (the two SATA discs)
6. fdisk/label the striped array (using sysinstall, forcing it to UFS1)
7. mount the new partition, and create three empty dirs
8. *boom*

The panic:
----------
panic: initiate_write_filepage: dir inum 0 != new 1254481
KDB: enter: panic
[thread 100029]
Stopped at      kdb_enter+0x30: leave
db> trace
kdb_enter(c075f5bf,c07be420,c076e0eb,dbca7b64,100) at kdb_enter+0x30
panic(c076e0eb,c076e0d3,0,132451,c3010980) at panic+0xcc
initiate_write_filepage(c3010980,cf18b440,200200a4,0,cf18b440) at
initiate_write_filepage+0x8c
softdep_disk_io_initiation(cf18b440,dbca7bd0,cf18b440,c2b1da50,dbca7c00) at
softdep_disk_io_initiation+0x5c
softdep_disk_prewrite(c2b1da50,cf18b440,cf18b440,c4028108,dbca7bf0) at
softdep_disk_prewrite+0x82
ufs_strategy(dbca7c28,dbca7c44,c05abfa7,dbca7c28,1) at ufs_strategy+0x113
ufs_vnoperate(dbca7c28,1,dbca7c48,1000040,80012) at ufs_vnoperate+0x18
ibwrite(cf18b440,dbca7c5c,c05ac968,cf18b440,dbca7ca0) at ibwrite+0x557
bwrite(cf18b440,dbca7ca0,c06b3b6e,cf18b440,80012) at bwrite+0x15
bawrite(cf18b440,80012,0,c26e99a0,4) at bawrite+0x18
ffs_fsync(dbca7cdc,30002,c26e99a0,0,0) at ffs_fsync+0x31e
sched_sync(0,dbca7d48,0,0,0) at sched_sync+0x45d
fork_exit(c05bfa40,0,dbca7d48) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xdbca7d7c, ebp = 0 ---


Misc info:
----------
geom_vinum used (raid-0 and raid-1 arrays)
ataraid used (raid-0 arrays)
compiled with "CPUTYPE?=athlon-xp" but no CFLAGS/COPTFLAGS

/Daniel Eriksson

Received on Mon Aug 02 2004 - 22:45:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC