From owner-freebsd-i386@FreeBSD.ORG Thu Jan 3 15:30:03 2008 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 2976A16A41B for ; Thu, 3 Jan 2008 15:30:03 +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 090F213C4EF for ; Thu, 3 Jan 2008 15:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m03FU2fo030431 for ; Thu, 3 Jan 2008 15:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m03FU2H8030428; Thu, 3 Jan 2008 15:30:02 GMT (envelope-from gnats) Resent-Date: Thu, 3 Jan 2008 15:30:02 GMT Resent-Message-Id: <200801031530.m03FU2H8030428@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, Richard Bejtlich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6185916A41A for ; Thu, 3 Jan 2008 15:29:55 +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 509F013C469 for ; Thu, 3 Jan 2008 15:29:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m03FT3FR051116 for ; Thu, 3 Jan 2008 15:29:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m03FT3fb051115; Thu, 3 Jan 2008 15:29:03 GMT (envelope-from nobody) Message-Id: <200801031529.m03FT3fb051115@www.freebsd.org> Date: Thu, 3 Jan 2008 15:29:03 GMT From: Richard Bejtlich To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/119303: SATA HDD missing in 7.0-RC1, ok in 7.0-BETA4; ata issue? 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, 03 Jan 2008 15:30:03 -0000 >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 Features2=0x441d Logical CPUs per core: 2 real memory = 1073479680 (1023 MB) avail memory = 1036886016 (988 MB) ACPI APIC Table: 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 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: 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: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 3.0 on pci0 pci1: on pcib1 em0: 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: at device 28.0 on pci0 pci2: on pcib2 em1: 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: port 0xbce0-0xbcff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbcc0-0xbcdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pci0: at device 29.4 (no driver attached) ehci0: 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: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 4 ports with 4 removable, self powered pcib3: at device 30.0 on pci0 pci3: on pcib3 em2: 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: 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: 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: port 0xc800-0xc8ff mem 0xfc000000-0xfcffffff,0xfde5f000-0xfde5ffff at device 14.0 on pci3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfea0-0xfeaf at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) fdc0: 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: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 ad2: 38146MB 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: