Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2012 00:37:04 GMT
From:      "M." <michael.schuh@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/173251: ACHI/ATA_CAM doesn't find any SATA Disk on ICH7 - Dell SC430
Message-ID:  <201211010037.qA10b4pV022866@red.freebsd.org>
Resent-Message-ID: <201211010040.qA10e0KX090143@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe43d<SSE3,DTES64,MON,DS_CPL,VMX,CNXT-ID,CX16,xTPR,PDCM>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3856138240 (3677 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <DELL   PESC430>
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 <Version 2.0> irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
Cuse4BSD v0.1.26 @ /dev/cuse
kbd1 at kbdmux0
acpi0: <DELL PESC430> 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: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x5f irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> 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: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection 7.3.2> 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: <Intel(R) PRO/1000 Network Connection 7.3.2> 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: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> 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: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> 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: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x004001> mem 0xfe6f0000-0xfe6fffff irq 17 at device 0.0 on pci4
bge0: CHIP ID 0x00004001; ASIC REV 0x04; CHIP REV 0x40; PCI-E
miibus1: <MII bus> on bge0
brgphy0: <BCM5750 1000BASE-T media interface> 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: <Intel 82801G (ICH7) USB controller USB-A> port 0xff80-0xff9f irq 21 at device 29.0 on pci0
usbus0 on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xff60-0xff7f irq 22 at device 29.1 on pci0
usbus1 on uhci1

uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xff40-0xff5f irq 18 at device 29.2 on pci0
usbus2 on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xff20-0xff3f irq 23 at device 29.3 on pci0
usbus3 on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4 on ehci0
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
emu10kx0: <Creative SBLive! [CT4620]> port 0xbc60-0xbc7f irq 18 at device 2.0 on pci5
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <TriTech TR28023 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
pci5: <input device> at device 2.1 (no driver attached)
vgapci0: <VGA-compatible display> port 0xbc80-0xbcff mem 0xfc000000-0xfdffffff,0xfe4c0000-0xfe4fffff at device 7.0 on pci5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
atapci1: <Intel ICH7 SATA300 controller> port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0
ata2: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff,0xca000-0xcbfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
ctl: CAM Target Layer loaded
p4tcc0: <CPU Frequency Thermal Control> on cpu0
p4tcc1: <CPU Frequency Thermal Control> 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: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ad0: 190782MB <WDC WD2000BB-55GUA0 08.02D08> at ata0-master UDMA100 
ad1: 476940MB <Hitachi HDS725050KLAT80 K2AOAB0A> 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: <Microsoft> at usbus0
ums0: <Microsoft Microsoft Basic Optical Mouse, class 0/0, rev 1.10/3.90, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen2.2: <GASIA> at usbus2
ukbd0: <GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 2> on usbus2
ugen0.3: <vendor 0x046a> at usbus0
kbd2 at ukbd0
ukbd2: <vendor 0x046a product 0x0023, class 0/0, rev 2.00/2.20, addr 3> on usbus0
ums1: <GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 2> on usbus2
kbd3 at ukbd2
ums1: 5 buttons and [XYZ] coordinates ID=1
uhid0: <vendor 0x046a product 0x0023, class 0/0, rev 2.00/2.20, addr 3> 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211010037.qA10b4pV022866>