6.1 and ATA problems

Jaime Bozza jbozza at qlinksmedia.com
Thu Jun 29 19:57:13 UTC 2006


Hello,

It seems that I'm having problems with 6.1 (6-STABLE) and ATA.  This
particular system is an ASUS P3V4X, which is a VIA (Apollo Pro) chipset.
I installed 6.0 (From CD) on the system just fine, then I built a
gmirror using ad0 and ad2.  I then proceeded to update to 6-STABLE.

One I rebooted, ad2 just "disappeared."  I tried all sorts of things.
If I removed all devices except ad2, the system would boot the kernel
and then when it went to mount root it wouldn't find any drives.  If I
move ad2 to ad1 (slave on ata0), the drive shows up fine.  I currently
have my two mirrored drives on ad0/ad1 and I put a cdrom drive on ata1.
ata1 is detected just fine but nothing is probed on that channel.

Here's my dmesg:

FreeBSD 6.1-STABLE #0: Thu Jun 29 13:37:27 CDT 2006
    root at neptune.thinkburst.com:/usr/obj/usr/src/sys/NEPTUNE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (752.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073725440 (1023 MB)
avail memory = 1045999616 (997 MB)
kbd1 at kbdmux0
acpi0: <ASUS P3V_4X> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem
0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 4.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, USB> at device 4.2 (no driver attached)
pci0: <bridge, HOST-PCI> at device 4.3 (no driver attached)
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xd000-0xd0ff mem
0xe0800000-0xe08000ff at device 9.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:e0:29:54:ae:da
pci0: <multimedia, audio> at device 11.0 (no driver attached)
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq
3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff 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
Timecounter "TSC" frequency 752826072 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding
disabled, default to deny, logging disabled
ad0: 9787MB <WDC AC310200R 17.01J17> at ata0-master UDMA66
ad1: 9787MB <WDC WD102AA 80.10A80> at ata0-slave UDMA66
GEOM_MIRROR: Device gm0 created (id=291540166).
GEOM_MIRROR: Device gm0: provider ad0 detected.
GEOM_MIRROR: Device gm0: provider ad1 detected.
GEOM_MIRROR: Device gm0: provider ad0 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
GEOM_MIRROR: Device gm0: rebuilding provider ad1.
Trying to mount root from ufs:/dev/mirror/gm0a
Accounting enabled


Basically, no matter what device I put on ata1, it disappears until 6.1.
When booting under 6.0, everything shows up fine.

I'd be happy to forward additional information as needed.  Please let me
know.


Thanks,


Jaime Bozza



More information about the freebsd-stable mailing list