What's up with 6.1 and ATA????

Mike Meyer mwm-keyword-freebsdquestions.8c5a2e at mired.org
Fri May 19 12:47:23 PDT 2006


In <20060519183606.GA96122 at xor.obsecurity.org>, Kris Kennaway <kris at obsecurity.org> typed:
> On Thu, May 18, 2006 at 09:05:54PM -0400, Mike Meyer wrote:
> > Um, someone want to tell me what happened to the ATA drivers in
> > 6.1-RELEASE? I tried to upgrade my desktop box from 5.4 to
> > 6.1-RELEASE, only to have the CDROM fail to find the SATA drive. I
> > wind up upgrading to 5-STABLE from CVS instead, which works fine.
> > 
> > Today, I tried upgrading an old appliance from 4.X to 6.1. Same thing
> > - the 6.1 CDROM boots, then fails to find the drive.
> > 
> > Have the ATA drivers been mangled in some way? Or is this a problem
> > with the CDROM, and if I install 5.X and then upgrade via CVS to 6.1,
> > it'll work?
> I know you're upset, but try to avoid being emotional when reporting
> bugs.

Actually, I'm not upset, as nothing critical is busted. I'm just a
little frustrated - two failed installs in one day does that to
me. I'm sorry you felt I was being emotional. I certainy wasn't
feeling that way, and rereading what you quoted makes me wonder what
caused you to think that I was. But I apologize for whatever gave you
that impression in any case.

> You also forgot to give any details of your hardware, which is
> surely the most important fact.

Yup. I was trying to find out if I was just plain unlucky enough to
see a double failure, or if there was a general problem with ATA in
6.1, similar to the one that showed up with 5.2.

I haven't done anything with the box that's now running
5.5-PRERELEASE. That upgrade fixed the problem I was having, so
upgrading it is on hold while I figure out what's wrong with the other
system.

Here's the dmesg from it:

Copyright (c) 1992-2006 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 5.5-PRERELEASE #14: Tue May 16 15:42:03 EDT 2006
    mwm at bhuda.mired.org:/usr/src/sys/i386/compile/BHUDA
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.70-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  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>
  Hyperthreading: 2 logical CPUs
real memory  = 536543232 (511 MB)
avail memory = 515473408 (491 MB)
ACPI APIC Table: <A M I  OEMAPIC >
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <A M I OEMRSDT> on motherboard
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
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 964 UDMA133 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: <SiS 7012> port 0xec00-0xec7f,0xe800-0xe8ff irq 18 at device 2.7 on pci0
pcm0: <Avance Logic ALC655 AC97 Codec>
ohci0: <SiS 5571 USB controller> mem 0xdfff8000-0xdfff8fff irq 20 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xdfff9000-0xdfff9fff irq 21 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2: <SiS 5571 USB controller> mem 0xdfffa000-0xdfffafff irq 22 at device 3.2 on pci0
usb2: OHCI version 1.0, legacy support
usb2: <SiS 5571 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 3.3 (no driver attached)
atapci1: <SiS 964 UDMA133 controller> port 0xef90-0xef9f,0xefe0-0xefe3,0xefa8-0xefaf,0xefe4-0xefe7,0xeff0-0xeff7 irq 17 at device 5.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xe000-0xe0ff mem 0xdfff7000-0xdfff7fff irq 17 at device 9.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0xef00-0xef3f mem 0xdffa0000-0xdffbffff,0xdffc0000-0xdffdffff irq 18 at device 10.0 on pci0
em0: Ethernet address: 00:07:e9:0f:53:d0
rl0: <RealTek 8139 10/100BaseTX> port 0xee00-0xeeff mem 0xdfff6c00-0xdfff6cff irq 19 at device 11.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:11:d8:79:44:b5
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
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
orm0: <ISA Option ROMs> at iomem 0xd7800-0xd87ff,0xcf800-0xd3fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
ulpt0: Belkin Components F5U002 Parallel printer adapter, rev 1.00/1.04, addr 2, iclass 7/1
ulpt0: using bi-directional mode
Timecounter "TSC" frequency 2992700895 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging unlimited
ad0: 76319MB <WDC WD800JD-60LUA0/07.01D07> [155061/16/63] at ata2-master UDMA100
ad1: 76319MB <WDC WD800JD-00MSA1/10.01E01> [155061/16/63] at ata3-master UDMA133
Waiting 15 seconds for SCSI devices to settle
GEOM_MIRROR: Device gm0 created (id=2619497527).
GEOM_MIRROR: Device gm0: provider ad0 detected.
GEOM_MIRROR: Device gm0: provider ad0 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39236LW 0004> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST39173W 5958> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA ODD-DVD SD-R5272 1030> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [7184 x 2048 byte records]
GEOM_MIRROR: Device gm1 created (id=1619107150).
GEOM_MIRROR: Device gm1: provider da0 detected.
GEOM_MIRROR: Device gm1: provider da1 detected.
GEOM_MIRROR: Device gm1: provider da1 activated.
GEOM_MIRROR: Device gm1: provider da0 activated.
GEOM_MIRROR: Device gm1: provider mirror/gm1 launched.
Mounting root from ufs:/dev/mirror/gm0s1a

The 6.1-release CDROM fails to find ad0 after I boot. ad1 wasn't in
the system when I last tried to install 6.1 on this system; I had
planned on setting up that mirror after installing 6.1, but it didn't
happen that way.

The other system doesn't have an OS on it. I'll start another thread
for that one once I have some hard information. Unless I get it sovled
in the process of getting an OS on it, of course.

	Thanks,
	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-questions mailing list