From owner-freebsd-i386@FreeBSD.ORG Mon Aug 29 19:00:54 2005 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64A9216A421 for ; Mon, 29 Aug 2005 19:00:54 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8261143D6D for ; Mon, 29 Aug 2005 19:00:41 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7TJ0fQf087220 for ; Mon, 29 Aug 2005 19:00:41 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7TJ0ekg087218; Mon, 29 Aug 2005 19:00:40 GMT (envelope-from gnats) Resent-Date: Mon, 29 Aug 2005 19:00:40 GMT Resent-Message-Id: <200508291900.j7TJ0ekg087218@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bas van Dorp Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C5AC16A41F for ; Mon, 29 Aug 2005 18:59:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id F172743D46 for ; Mon, 29 Aug 2005 18:59:38 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j7TIxc3V058303 for ; Mon, 29 Aug 2005 18:59:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j7TIxc9x058302; Mon, 29 Aug 2005 18:59:38 GMT (envelope-from nobody) Message-Id: <200508291859.j7TIxc9x058302@www.freebsd.org> Date: Mon, 29 Aug 2005 18:59:38 GMT From: Bas van Dorp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/85450: panic: subdisk6 detached (appears to be a sata problem, SiI 3112) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 19:00:54 -0000 >Number: 85450 >Category: i386 >Synopsis: panic: subdisk6 detached (appears to be a sata problem, SiI 3112) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 29 19:00:40 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bas van Dorp >Release: 6.0 BETA3 i386 >Organization: >Environment: FreeBSD fons.arnhem.chello.nl 6.0-BETA3 FreeBSD 6.0-BETA3 #0: Mon Aug 22 22:59:46 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When under load (installing packages from CD, or compiling ports, and at one time even during installation), the machine panics after a few minutes with the following message: subdisk6: detached ad6: detached panic: vm_fault: fault on nofault entry addr: deadc000 cpuid = 0 KDB: enter: panic [thread pid 28 tid 100024] Stopped at kdb_enter +0x2b: nop db> The hardware of the machine appears ok. Both Linux and Windows have been working for 2 years without problems. However, FreeBSD 5.4 has problems as well, see at the bottom of this PR. Here's the dmesg of the machine: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-BETA3 #0: Mon Aug 22 22:59:46 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 2500+ (1830.01-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400800 real memory = 1073676288 (1023 MB) avail memory = 1041616896 (993 MB) mptable_probe: Unable to map end of MP Config Table npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 10 on acpi0 pci_link1: irq 5 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 12 on acpi0 pci_link4: on acpi0 pci_link5: irq 12 on acpi0 pci_link6: irq 10 on acpi0 pci_link7: on acpi0 pci_link8: on acpi0 pci_link9: on acpi0 pci_link10: on acpi0 pci_link11: irq 5 on acpi0 pci_link12: irq 11 on acpi0 pci_link13: on acpi0 pci_link14: on acpi0 pci_link15: on acpi0 pci_link16: irq 16 on acpi0 pci_link17: irq 17 on acpi0 pci_link18: irq 18 on acpi0 pci_link19: irq 19 on acpi0 pci_link20: irq 16 on acpi0 pci_link21: irq 0 on acpi0 pci_link22: irq 0 on acpi0 pci_link23: irq 0 on acpi0 pci_link24: irq 0 on acpi0 pci_link25: irq 0 on acpi0 pci_link26: irq 0 on acpi0 pci_link27: irq 23 on acpi0 pci_link28: irq 0 on acpi0 pci_link29: irq 0 on acpi0 pci_link30: irq 0 on acpi0 pci_link31: irq 0 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd8000000-0xdbffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xe0000000-0xe0000fff irq 12 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xe0001000-0xe0001fff irq 10 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xe0002000-0xe00020ff irq 11 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered pcib1: at device 8.0 on pci0 pci1: on pcib1 pci1: at device 9.0 (no driver attached) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa000-0xa07f mem 0xdf000000-0xdf00007f irq 10 at device 10.0 on pci1 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:75:f4:49:79 atapci0: port 0xa400-0xa407,0xa800-0xa803,0xac00-0xac07,0xb000-0xb003,0xb400-0xb40f mem 0xdf001000-0xdf0011ff irq 11 at device 11.0 on pci1 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0 ata0: on atapci1 ata1: on atapci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd47ff,0xd5000-0xd97ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. Timecounter "TSC" frequency 1830011195 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDRW at ata0-master UDMA33 acd1: DVDR at ata1-master UDMA33 ad4: 152627MB at ata2-master SATA150 ad6: 117246MB at ata3-master SATA150 Trying to mount root from ufs:/dev/ad6s3a taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex xl0 (network driver) r = 0 (0xc24440a4) locked @ /usr/src/sys/pci/if_xl.c:2796 KDB: stack backtrace: kdb_backtrace(1,c24440c8,c2442000,c2322000,e911c904) at kdb_backtrace+0x29 witness_warn(5,0,c085a668,c2442000,c2442000) at witness_warn+0x18e taskqueue_drain(c2322000,c24440c8,c24440a4,1,c086da1f,cc7) at taskqueue_drain+0x1a xl_stop(c2442000,c24440a4,1,c086da1f,af9) at xl_stop+0x44 xl_init_locked(c2442000,c24440a4,0,c086da1f,aec) at xl_init_locked+0x33 xl_init(c2442000) at xl_init+0x26 ether_ioctl(c242a800,8020690c,c26a5000,0,1) at ether_ioctl+0x64 xl_ioctl(c242a800,8020690c,c26a5000,0,c26a5000) at xl_ioctl+0x2be in6_ifinit(c242a800,c26a5000,e911cb1c,1,40) at in6_ifinit+0x90 in6_update_ifa(c242a800,e911cb0c,0) at in6_update_ifa+0x456 in6_ifattach_linklocal(c242a800,0) at in6_ifattach_linklocal+0xe5 in6_ifattach(c242a800,0,c23db400,0,0) at in6_ifattach+0xb9 in6_if_up(c242a800,c242a800,80206910,c25c3a80,0) at in6_if_up+0x13 if_route(c242a800,1,0,e911cc4c,c0696f87) at if_route+0x55 if_up(c242a800) at if_up+0xf ifhwioctl(80206910,c242a800,c25c3a80,c246d600,c0920c40) at ifhwioctl+0x29b ifioctl(c2692b20,80206910,c25c3a80,c246d600,0) at ifioctl+0xc3 soo_ioctl(c25fd798,80206910,c25c3a80,c22d3a80,c246d600) at soo_ioctl+0x2db ioctl(c246d600,e911cd04,3,1,257) at ioctl+0x370 syscall(3b,3b,3b,4,1) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe56c, ebp = 0xbfbfe5b8 --- taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex xl0 (network driver) r = 0 (0xc24440a4) locked @ /usr/src/sys/pci/if_xl.c:2796 KDB: stack backtrace: kdb_backtrace(1,c24440c8,c2442000,c2322000,e911cb04) at kdb_backtrace+0x29 witness_warn(5,0,c085a668,c2442000,c2442000) at witness_warn+0x18e taskqueue_drain(c2322000,c24440c8,c24440a4,1,c086da1f,cc7) at taskqueue_drain+0x1a xl_stop(c2442000,c24440a4,1,c086da1f,af9) at xl_stop+0x44 xl_init_locked(c2442000,c24440a4,0,c086da1f,aec) at xl_init_locked+0x33 xl_init(c2442000,8020690c,c25edb00,c2442000,e911cbc0) at xl_init+0x26 ether_ioctl(c242a800,8020690c,c25edb00,0,c25edb00) at ether_ioctl+0x50 xl_ioctl(c242a800,8020690c,c25edb00,1,0) at xl_ioctl+0x2be in_ifinit(c242a800,c25edb00,c25ee090,0,e911cc38) at in_ifinit+0x206 in_control(c2692b20,8040691a,c25ee080,c242a800,c246d600) at in_control+0x882 ifioctl(c2692b20,8040691a,c25ee080,c246d600,0) at ifioctl+0x198 soo_ioctl(c25fd798,8040691a,c25ee080,c22d3a80,c246d600) at soo_ioctl+0x2db ioctl(c246d600,e911cd04,3,8,286) at ioctl+0x370 syscall(3b,3b,3b,8056a80,8058d60) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe5bc, ebp = 0xbfbfee08 --- taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex xl0 (network driver) r = 0 (0xc24440a4) locked @ /usr/src/sys/pci/if_xl.c:2796 KDB: stack backtrace: kdb_backtrace(1,c24440c8,c2442000,c2322000,e90feb04) at kdb_backtrace+0x29 witness_warn(5,0,c085a668,c2442000,c2442000) at witness_warn+0x18e taskqueue_drain(c2322000,c24440c8,c24440a4,1,c086da1f,cc7) at taskqueue_drain+0x1a xl_stop(c2442000,c24440a4,1,c086da1f,af9) at xl_stop+0x44 xl_init_locked(c2442000,c24440a4,0,c086da1f,aec) at xl_init_locked+0x33 xl_init(c2442000,8020690c,c2741c00,c2442000,e90febc0) at xl_init+0x26 ether_ioctl(c242a800,8020690c,c2741c00,0,c2741c00) at ether_ioctl+0x50 xl_ioctl(c242a800,8020690c,c2741c00,1,c0a8016e) at xl_ioctl+0x2be in_ifinit(c242a800,c2741c00,c25e8710,0,e90fec38) at in_ifinit+0x206 in_control(c2692164,8040691a,c25e8700,c242a800,c246b600) at in_control+0x882 ifioctl(c2692164,8040691a,c25e8700,c246b600,0) at ifioctl+0x198 soo_ioctl(c25fd2d0,8040691a,c25e8700,c22d3a80,c246b600) at soo_ioctl+0x2db ioctl(c246b600,e90fed04,3,0,282) at ioctl+0x370 syscall(3b,3b,3b,8056a80,8058d60) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe43c, ebp = 0xbfbfec88 --- ***************** ***************** ***************** Just FYI, on FreeBSD 5.4 RELEASE, I'm experiencing the following problems: ad6: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=159447088 ad6: FAILURE - ATA_IDENTIFY timed out (this happens under load, but the machine keeps running). Here's the dmesg of 5.4 RELEASE on the same machine: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC mptable_probe: Unable to map end of MP Config Table Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 2500+ (1830.02-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400000 real memory = 1073676288 (1023 MB) avail memory = 1041121280 (992 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd8000000-0xdbffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xe0000000-0xe0000fff irq 12 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xe0001000-0xe0001fff irq 10 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: at device 2.2 (no driver attached) pcib1: at device 8.0 on pci0 pci1: on pcib1 pci1: at device 9.0 (no driver attached) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa000-0xa07f mem 0xdf000000-0xdf00007f irq 10 at device 10.0 on pci1 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:75:f4:49:79 atapci0: port 0xb400-0xb40f,0xb000-0xb003,0xac00-0xac07,0xa800-0xa803,0xa400-0xa407 mem 0xdf001000-0xdf0011ff irq 11 at device 11.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 orm0: at iomem 0xd5000-0xd97ff,0xd4000-0xd47ff,0xd0000-0xd3fff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. Timecounter "TSC" frequency 1830017557 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDRW at ata0-master PIO4 acd1: DVDR at ata1-master PIO4 ad4: 152627MB [310101/16/63] at ata2-master SATA150 ad6: 117246MB [238216/16/63] at ata3-master SATA150 Mounting root from ufs:/dev/ad6s3a >How-To-Repeat: I guess, install FreeBSD 6.0 BETA 3 on a machine with an Asus A7N8X mobo (or another SiI 3112 Sata controller) with a sata disk. Then put it under load. >Fix: >Release-Note: >Audit-Trail: >Unformatted: