Date: Thu, 3 Jan 2008 15:29:03 GMT From: Richard Bejtlich <taosecurity@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/119303: SATA HDD missing in 7.0-RC1, ok in 7.0-BETA4; ata issue? Message-ID: <200801031529.m03FT3fb051115@www.freebsd.org> Resent-Message-ID: <200801031530.m03FU2H8030428@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119303 >Category: i386 >Synopsis: SATA HDD missing in 7.0-RC1, ok in 7.0-BETA4; ata issue? >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 Jan 03 15:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Richard Bejtlich >Release: 7.0-RC1 >Organization: TaoSecurity >Environment: FreeBSD 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: FreeBSD 7.0-RC1 doesn't detect the hard drive installed in a Dell PowerEdge 750. FreeBSD 7.0-BETA4 does. This is dmesg from 7.0-BETA4 which detects the HDD properly. 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 7.0-BETA4 #0: Sun Dec 2 19:19:04 UTC 2007 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3200.13-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 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=0x441d<SSE3,RSVD2,MON,DS_CPL,CNXT-ID,xTPR> Logical CPUs per core: 2 real memory = 1073479680 (1023 MB) avail memory = 1036886016 (988 MB) ACPI APIC Table: <DELL PE750 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <DELL PE750> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU> on acpi0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0 pci1: <ACPI PCI bus> on pcib1 em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xece0-0xecff mem 0xfe3e0000-0xfe3fffff irq 18 at device 1.0 on pci1 em0: Ethernet address: 00:11:43:cd:4d:04 em0: [FILTER] pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 em1: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xdcc0-0xdcff mem 0xfe1e0000-0xfe1fffff,0xfe1c0000-0xfe1dffff irq 24 at device 1.0 on pci2 em1: Ethernet address: 00:07:e9:19:f0:e1 em1: [FILTER] uhci0: <UHCI (generic) USB controller> port 0xbce0-0xbcff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: <UHCI (generic) USB controller> port 0xbcc0-0xbcdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <UHCI (generic) USB controller> on uhci1 usb1: USB revision 1.0 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered pci0: <base peripheral> at device 29.4 (no driver attached) ehci0: <Intel 6300ESB USB 2.0 controller> mem 0xfe500000-0xfe5003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: <Intel 6300ESB USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 uhub2: 4 ports with 4 removable, self powered pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci3: <ACPI PCI bus> on pcib3 em2: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xccc0-0xccff mem 0xfdee0000-0xfdefffff irq 21 at device 2.0 on pci3 em2: Ethernet address: 00:11:43:cd:4d:05 em2: [FILTER] em3: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xcc80-0xccbf mem 0xfdec0000-0xfdedffff,0xfde80000-0xfdebffff irq 22 at device 3.0 on pci3 em3: Ethernet address: 00:11:25:a5:1c:78 em3: [FILTER] em4: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xcc40-0xcc7f mem 0xfde60000-0xfde7ffff,0xfde00000-0xfde3ffff irq 21 at device 3.1 on pci3 em4: Ethernet address: 00:11:25:a5:1c:79 em4: [FILTER] vgapci0: <VGA-compatible display> port 0xc800-0xc8ff mem 0xfc000000-0xfcffffff,0xfde5f000-0xfde5ffff at device 14.0 on pci3 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel 6300ESB SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfea0-0xfeaf at device 31.2 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] 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 sio0: [FILTER] pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff pnpid ORM0000 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] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM <TEAC CD-ROM CD-224E/K.9A> at ata0-master UDMA33 ad2: 38146MB <Seagate ST340014AS 8.05> at ata1-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad2s1a em0: link state changed to UP >How-To-Repeat: Try to install 7.0-RC1. It will not detect the HDD. Originally submitted to freebsd-current as http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-01/msg00029.html >Fix: I suspect changes to ata-chipset.c between 7.0-BETA4 and 7.0-RC1 may be the culprit but I do not have the technical knowledge to be sure. ata-chipset.c Revision 1.202.2.5 Sun Dec 9 19:26:56 2007 UTC (3 weeks, 3 days ago) by delphij Changes since revision 1.202.2.4: +131 -41 lines Sync up ata(4) work by sos@ on -HEAD: * Add preliminary SATA ATAPI support for sii 3132/3124 chips. * Fix speed report on Intel SATA chips in compat mode. * Fix broken detect of JMicron 368. Related revisions: - ata-chipset.c: 1.208, 1.210 - ata-disk.c.c: 1.205 Approved by: re (kensmith), sos http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/?sortby=date;only_with_tag=RELENG_7_0#dirlist Thank you for looking at this! >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801031529.m03FT3fb051115>