Re: endlesst loop/panic while attaching SATA disk on the fly

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Sun, 24 Jun 2007 18:34:04 +0400 (MSD)
On Sun, 24 Jun 2007, Dmitry Morozovsky wrote:

DM> Dear colleagues,
DM> 
DM> (HEAD/i386 from 22 June, WITNESS and INVARIANTS disabled)
DM> 
DM> attaching SATA disk to ASUS k8n-lr (SMP on Athlon64 X2) while system is running 
DM> leads to endless attach-detach loop:
DM> 
DM> Will try to do the same with WITNESS+INVARIANTS...

Slightly different backtrace:

ad6: 76319MB <Seagate ST380811AS 3.AAE> at ata3-master SATA150
ad6: detached
panic: vm_fault: fault on nofault entry, addr: deadc000
cpuid = 0
KDB: enter: panic
[thread pid 18 tid 100016 ]
Stopped at      kdb_enter+0x32: leave
db> bt
Tracing pid 18 tid 100016 td 0xc4d01600
kdb_enter(c0662a79,0,c0678549,e38b3814,0,...) at kdb_enter+0x32
panic(c0678549,deadc000,1,e38b38f4,e38b38e4,...) at panic+0x124
vm_fault(c1071000,deadc000,1,0,deadc126,...) at vm_fault+0x178
trap_pfault(5,0,c06819b7,0,c4d9a2ac,...) at trap_pfault+0x165
trap(e38b3a30) at trap+0x3c2
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04fa256, esp = 0xe38b3a70, ebp = 0xe38b3a70 ---
device_get_softc(deadc0de,201,1,c105c018,c4dbe908,...) at device_get_softc+0x6
ata_queue_request(c522bb40,0,101,2c700,c,...) at ata_queue_request+0x58
ata_controlcmd(c551c700,ef,2,0,0,...) at ata_controlcmd+0x88
ad_init(c551c700,c56405a0,101,c10729a8,e38b3b74,...) at ad_init+0xd5
ad_attach(c551c700,c51da220,ffffffff,c0664e51,80000000,...) at ad_attach+0x22e
device_attach(c551c700,c551c700,c0664daf,917,c551c700,...) at 
device_attach+0x36f
device_probe_and_attach(c551c700,c4dbe800,e38b3c78,c04378b0,c4deeb00,...) at 
device_probe_and_attach+0x100
bus_generic_attach(c4deeb00,c068aa00,101,c5710000,c551c700,...) at 
bus_generic_attach+0x19
ata_identify(c4deeb00,0,c065555b,11f,c0661898,...) at ata_identify+0x1d0
ata_sata_phy_event(c56403e0,1,c066661d,52,c4d4eb1c,...) at 
ata_sata_phy_event+0xa5
taskqueue_run(c4d4eb00,c4d4eb1c,0,c0658ffe,0,...) at taskqueue_run+0x10b
taskqueue_thread_loop(c06d1354,e38b3d38,c065f43a,315,c4d9a2ac,...) at 
taskqueue_thread_loop+0x68
fork_exit(c050b300,c06d1354,e38b3d38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe38b3d70, ebp = 0 ---
db> 

Any hints?

Additional problem is that I'm unable to write kernel dump due to ATA lockup...


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru ***
------------------------------------------------------------------------
Received on Sun Jun 24 2007 - 12:34:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC