From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 1 00:40:00 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A542C3B4 for ; Thu, 1 Nov 2012 00:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 77AA58FC0A for ; Thu, 1 Nov 2012 00:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA10e0oT090144 for ; Thu, 1 Nov 2012 00:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA10e0KX090143; Thu, 1 Nov 2012 00:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 1 Nov 2012 00:40:00 GMT Resent-Message-Id: <201211010040.qA10e0KX090143@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "M." Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9542C37E for ; Thu, 1 Nov 2012 00:37:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4948FC12 for ; Thu, 1 Nov 2012 00:37:04 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA10b4gU022867 for ; Thu, 1 Nov 2012 00:37:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qA10b4pV022866; Thu, 1 Nov 2012 00:37:04 GMT (envelope-from nobody) Message-Id: <201211010037.qA10b4pV022866@red.freebsd.org> Date: Thu, 1 Nov 2012 00:37:04 GMT From: "M." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/173251: ACHI/ATA_CAM doesn't find any SATA Disk on ICH7 - Dell SC430 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 00:40:00 -0000 >Number: 173251 >Category: kern >Synopsis: ACHI/ATA_CAM doesn't find any SATA Disk on ICH7 - Dell SC430 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 01 00:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: M. >Release: 9-STABLE/9.1-RC2/9.1-PRERELEASE >Organization: http://michael-schuh.net >Environment: FreeBSD blaster.michael-schuh.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Thu Nov 1 01:01:29 CET 2012 root@blaster.michael-schuh.net:/usr/obj/usr/src/sys/MYGENERIC amd64 >Description: The (default) AHCI/ATA_CAM or ata-ich drivers doesn't see any SATA-Disk or Optical drive at the Controller. The Machine is an DELL SC430. For more on the HArdware see the dmesg. This got tested with the following Kinds of FreeBSD: 9.0 RELEASE i386 9.0 RELEASE amd64 9-STABLE i386 9-STABLE amd64 May be also 8.3-RELEASE will be affected? The above uname is from a GENERIC Kernel reverted to the old ATA drivers, like described in UPDATING entry 20110424for ATA/AHCI. This behavior is valid for both configs, GENERIC with AHCI and ATA_CAM and the one without those options asa described in the UPDATING file. The drives get properly detected by the Systems BIOS. The Systems BIOS is already updated to the last Version. The drives get detected and can get accessed by other Operating Systems. the drives get detected and can get accessed by drive diagnostic tools under FreeDOS and unter Linux. The entire machien is known to working very well. Until today the Machine was running under Linux debian. No Hardware Errors known. If more testing/help is needed to figure the source of this error, please let me know. Another sideeffect: #glabel create swap ad0s1b or resp. # glabel create swap ada0s1b is not persistend written to the disk, after a reboot the label is gone. i tested this with exactly the same Disk on another System that is exactly the same way installed and configure but newer hardware. etract of #pciconf -lv isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:1: class=0x01018a card=0x01ae1028 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) IDE Controller' class = mass storage subclass = ATA atapci1@pci0:0:31:2: class=0x01018f card=0x01ae1028 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH7 Family SATA IDE Controller' class = mass storage subclass = ATA none0@pci0:0:31:3: class=0x0c0500 card=0x01ae1028 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family SMBus Controller' class = serial bus #dmesg Copyright (c) 1992-2012 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 9.1-PRERELEASE #1: Thu Nov 1 01:01:29 CET 2012 root@blaster.michael-schuh.net:/usr/obj/usr/src/sys/MYGENERIC amd64 can't re-use a leaf (geom_label)! module_register: module g_label already exists! Module g_label failed to register: 17 CPU: Intel(R) Pentium(R) D CPU 3.00GHz (2992.56-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf62 Family = 0xf Model = 0x6 Stepping = 2 Features=0xbfebfbff Features2=0xe43d AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3856138240 (3677 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger Cuse4BSD v0.1.26 @ /dev/cuse kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, eee8cc00 (3) failed cpu0: on acpi0 cpu1: on acpi0 atrtc0: port 0x70-0x7f irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x5f irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 em0: port 0xdcc0-0xdcdf mem 0xfea80000-0xfea9ffff,0xfeaa0000-0xfeabffff irq 16 at device 0.0 on pci1 em0: Using an MSI interrupt em0: Ethernet address: 00:15:17:bb:22:f4 em1: port 0xdce0-0xdcff mem 0xfeac0000-0xfeadffff,0xfeae0000-0xfeafffff irq 17 at device 0.1 on pci1 em1: Using an MSI interrupt em1: Ethernet address: 00:15:17:bb:22:f5 pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 16 at device 28.4 on pci0 pci3: on pcib3 re0: port 0xcc00-0xccff mem 0xfe7ff000-0xfe7fffff irq 16 at device 0.0 on pci3 re0: Using 1 MSI message re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 74:ea:3a:80:26:74 pcib4: irq 17 at device 28.5 on pci0 pci4: on pcib4 bge0: mem 0xfe6f0000-0xfe6fffff irq 17 at device 0.0 on pci4 bge0: CHIP ID 0x00004001; ASIC REV 0x04; CHIP REV 0x40; PCI-E miibus1: on bge0 brgphy0: PHY 1 on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:13:72:18:a6:11 uhci0: port 0xff80-0xff9f irq 21 at device 29.0 on pci0 usbus0 on uhci0 uhci1: port 0xff60-0xff7f irq 22 at device 29.1 on pci0 usbus1 on uhci1 uhci2: port 0xff40-0xff5f irq 18 at device 29.2 on pci0 usbus2 on uhci2 uhci3: port 0xff20-0xff3f irq 23 at device 29.3 on pci0 usbus3 on uhci3 ehci0: mem 0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib5: at device 30.0 on pci0 pci5: on pcib5 emu10kx0: port 0xbc60-0xbc7f irq 18 at device 2.0 on pci5 pcm0: on emu10kx0 pcm0: pcm1: on emu10kx0 pci5: at device 2.1 (no driver attached) vgapci0: port 0xbc80-0xbcff mem 0xfc000000-0xfdffffff,0xfe4c0000-0xfe4fffff at device 7.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: at channel 0 on atapci0 atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0 ata2: at channel 0 on atapci1 ata3: at channel 1 on atapci1 pci0: at device 31.3 (no driver attached) uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff,0xca000-0xcbfff 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 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range ctl: CAM Target Layer loaded p4tcc0: on cpu0 p4tcc1: on cpu1 Timecounters tick every 1.000 msec vboxdrv: fAsync=0 offMin=0x2ee offMax=0x6ea usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 The GEOM class LABEL is already loaded. ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ad0: 190782MB at ata0-master UDMA100 ad1: 476940MB at ata0-slave UDMA100 lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 11689688 Hz quality 1000 Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered Root mount waiting for: usbus4 Trying to mount root from ufs:/dev/ufsid/50911449207a744a [rw]... ugen0.2: at usbus0 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen2.2: at usbus2 ukbd0: on usbus2 ugen0.3: at usbus0 kbd2 at ukbd0 ukbd2: on usbus0 ums1: on usbus2 kbd3 at ukbd2 ums1: 5 buttons and [XYZ] coordinates ID=1 uhid0: on usbus0 >How-To-Repeat: Install/boot with any provided (9.0 RELEASE onwards) CD/Memstick image and try to find any SATA Drive. >Fix: No idea - fix the source code for ?ata-ich? or according sources for SATA drive detection and recompile kernel - reboot - look what you get. :-) >Release-Note: >Audit-Trail: >Unformatted: