From owner-freebsd-i386@FreeBSD.ORG Thu Aug 2 18:10:02 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EB2516A41B for ; Thu, 2 Aug 2007 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3E113C4F2 for ; Thu, 2 Aug 2007 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l72IA15S041877 for ; Thu, 2 Aug 2007 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l72IA18P041876; Thu, 2 Aug 2007 18:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 2 Aug 2007 18:10:01 GMT Resent-Message-Id: <200708021810.l72IA18P041876@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, Alex Povolotsky Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF14316A41B for ; Thu, 2 Aug 2007 18:08:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B322F13C457 for ; Thu, 2 Aug 2007 18:08:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l72I8ImQ046376 for ; Thu, 2 Aug 2007 18:08:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l72I8Hv1046374; Thu, 2 Aug 2007 18:08:17 GMT (envelope-from nobody) Message-Id: <200708021808.l72I8Hv1046374@www.freebsd.org> Date: Thu, 2 Aug 2007 18:08:17 GMT From: Alex Povolotsky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: i386/115152: Sil 3512 SATA controller panics on 6.2 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: Thu, 02 Aug 2007 18:10:02 -0000 >Number: 115152 >Category: i386 >Synopsis: Sil 3512 SATA controller panics on 6.2 >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 02 18:10:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alex Povolotsky >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD dbill.test.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Jul 26 10:27:14 MSD 2007 root@dbill.test.ru:/usr/obj/usr/src/sys/DBILL i386 >Description: SATA disk connected to SiL 3512 SATA controller causes panic under moderate load. Here is my coredump backtrace: Unread portion of the kernel message buffer: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=18829695 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x28 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0695b74 stack pointer = 0x28:0xd568ec28 frame pointer = 0x28:0xd568ec30 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 = 18 (thread taskq) trap number = 12 panic: page fault Uptime: 38m41s Dumping 511 MB (2 chunks) chunk 0: 1MB (160 pages) ... ok chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc06827ea in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0682a80 in panic (fmt=0xc08f6895 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc08985f4 in trap_fatal (frame=0xd568ebe8, eva=40) at /usr/src/sys/i386/i386/trap.c:837 #4 0xc089835b in trap_pfault (frame=0xd568ebe8, usermode=0, eva=40) at /usr/src/sys/i386/i386/trap.c:745 #5 0xc0897f99 in trap (frame= {tf_fs = -1064435704, tf_es = -714604504, tf_ds = -1064239064, tf_edi = -1004877952, tf_esi = 0, tf_ebp = -714544080, tf_isp = -714544108, tf_ebx = -1004877952, tf_edx = 2, tf_ecx = -1019514112, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066837132, tf_cs = 32, tf_eflags = 590406, tf_esp = -1004877952, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:435 #6 0xc08856ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0695b74 in devclass_sysctl_init (dc=0x0) at /usr/src/sys/kern/subr_bus.c:215 #8 0xc0695cf0 in device_sysctl_init (dev=0xc41ac780) at /usr/src/sys/kern/subr_bus.c:280 #9 0xc0697b7a in device_attach (dev=0xc41ac780) at /usr/src/sys/kern/subr_bus.c:2375 #10 0xc0697b64 in device_probe_and_attach (dev=0xc41ac780) at /usr/src/sys/kern/subr_bus.c:2346 #11 0xc069844a in bus_generic_attach (dev=0x0) at /usr/src/sys/kern/subr_bus.c:2883 #12 0xc04c6814 in ata_identify (dev=0xc3404080) at /usr/src/sys/dev/ata/ata-all.c:718 #13 0xc04c7462 in ata_sata_phy_event (context=0xc3cc6de0, dummy=1) at /usr/src/sys/dev/ata/ata-chipset.c:273 #14 0xc06a1e9b in taskqueue_run (queue=0xc3301d00) at /usr/src/sys/kern/subr_taskqueue.c:257 #15 0xc06a22d6 in taskqueue_thread_loop (arg=0x0) at /usr/src/sys/kern/subr_taskqueue.c:376 #16 0xc066c9d4 in fork_exit (callout=0xc06a2268 , arg=0xc09f8ba8, frame=0xd568ed38) at /usr/src/sys/kern/kern_fork.c:830 #17 0xc088572c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 dmesg.boot: Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Thu Jul 26 10:27:14 MSD 2007 root@dbill.test.ru:/usr/obj/usr/src/sys/DBILL ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2411.60-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff real memory = 536805376 (511 MB) avail memory = 515887104 (491 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x40bf on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0xb800-0xb81f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb000-0xb01f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xb400-0xb41f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xe4000000-0xe40003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 rl0: port 0x9000-0x90ff mem 0xe3000000-0xe30000ff irq 22 at device 2.0 on pci2 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:22:82:db:6c atapci0: port 0x9400-0x9407,0x9800-0x9803,0x9c00-0x9c07,0xa000-0xa003,0xa400-0xa40f mem 0xe3001000-0xe 30011ff irq 18 at device 4.0 on pci2 ata2: on atapci0 ata3: on atapci0 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0 ata0: on atapci1 ata1: on atapci1 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] 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 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode 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 0xcc000-0xd07ff 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 Timecounter "TSC" frequency 2411602732 Hz quality 800 Timecounters tick every 1.000 msec ad0: 38166MB at ata0-master UDMA100 ad6: 476940MB at ata3-master SATA150 >How-To-Repeat: Connect disk and start to fill it with data >Fix: Use other hardware >Release-Note: >Audit-Trail: >Unformatted: