From owner-freebsd-current@FreeBSD.ORG Sun Jun 24 14:34:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2672F16A400 for ; Sun, 24 Jun 2007 14:34:06 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 8B9EA13C4BE for ; Sun, 24 Jun 2007 14:34:05 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l5OEY4dl044123 for ; Sun, 24 Jun 2007 18:34:04 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 24 Jun 2007 18:34:04 +0400 (MSD) From: Dmitry Morozovsky To: current@freebsd.org In-Reply-To: <20070624180338.J30415@woozle.rinet.ru> Message-ID: <20070624183240.F30415@woozle.rinet.ru> References: <20070624180338.J30415@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Sun, 24 Jun 2007 18:34:04 +0400 (MSD) Cc: Subject: Re: endlesst loop/panic while attaching SATA disk on the fly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2007 14:34:06 -0000 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 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@rinet.ru *** ------------------------------------------------------------------------