Date: Sun, 9 Sep 2007 13:58:01 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: current@freebsd.org Subject: Re: Possible 7.0 showstopper: SATA/eSATA are unable to init hot-plugs Message-ID: <20070909135036.X86138@woozle.rinet.ru> In-Reply-To: <20070907192152.V98273@woozle.rinet.ru> References: <20070907192152.V98273@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Sep 2007, Dmitry Morozovsky wrote: DM> on most (possibly all, but I'm not fully sure and a bit limited in testing) DM> motherboard/controller configuration I've tested so far -current is unable to DM> properly attach hot-plugged disks. Sometimes even atacontrol detach/atacontrol DM> attach sequence can't bring disk into working state (only reboot does). DM> Another one (i386 on ASUS M2N-LR/SATA): atapci2: <nVidia nForce MCP55 SATA300 controller> port 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f mem 0xefbbc000-0xefbbcfff irq 20 at device 5.1 on pci0 atapci2: [ITHREAD] ata4: <ATA channel 0> on atapci2 ata5: <ATA channel 1> on atapci2 ata5: [ITHREAD] # # ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached ad10: 381554MB <Seagate ST3400620AS 3.AAK> at ata5-master SATA150 ad10: detached Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x5d891cf0 fault code = supervisor read, page not present instruction pointer = 0x20:0xc049e2b1 stack pointer = 0x28:0xe507dc90 frame pointer = 0x28:0xe507dcac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) [thread pid 2 tid 100011 ] Stopped at g_wither_washer+0x61: movl 0x4(%eax),%ebx db> bt Tracing pid 2 tid 100011 td 0xc64c0cc0 g_wither_washer(c06ce06c,c066c481,c680f658,0,ffffffff,...) at g_wither_washer+0x61 g_run_events(c06ce180,0,4c,c0669d05,64,...) at g_run_events+0x428 g_event_procbody(0,e507dd38,0,0,0,...) at g_event_procbody+0x69 fork_exit(c049a750,0,e507dd38) at fork_exit+0x97 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xe507dd70, ebp = 0 --- db> Effect is not 100% reproducible; I think there are some races in SATA init code... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070909135036.X86138>