ATA problems again ... (was: Re: GEOM problems again...)

Johan Ström johan at stromnet.org
Thu Jul 13 17:19:36 UTC 2006


On 13 jul 2006, at 14.26, Robert Watson wrote:

>
> On Thu, 13 Jul 2006, Johan Ström wrote:
>
>> And now again... raid gone degraded only 2 days after reboot!
>>
>> Jul 12 22:22:50 elfi kernel: ad4: FAILURE - device detached
>> Jul 12 22:22:50 elfi kernel: subdisk4: detached
>> Jul 12 22:22:50 elfi kernel: ad4: detached
>> Jul 12 22:22:50 elfi kernel: GEOM_MIRROR: Device gm0s1: provider  
>> ad4s1 disconnected.
>> Jul 12 22:22:50 elfi kernel: g_vfs_done():mirror/gm0s1f[READ 
>> (offset=120776474624, length=32768)]error = 6
>>
>> $ uname -a
>> FreeBSD elfi.stromnet.org 6.1-RELEASE FreeBSD 6.1-RELEASE #3: Tue  
>> May  9 20:40:23 CEST 2006 johan at elfi.stromnet.org:/usr/obj/usr/src/ 
>> sys/GENERIC  i386
>>
>> Still no luck with atacontrol...
>>
>> Is there any way to debug this further ?? I've tested the disk,  
>> the SATA cables are new... I've had similar problems with other  
>> motherboard... I dont think this is related to hw problems, but  
>> rather a softwareproblem that needs to be solved, this is not  
>> something one can call stable ;)
>>
>> So, any pointers how to enable more debugging or anything that  
>> could give some clues?
>
> I don't have a whole lot to add to this thread, but have changed  
> the subject to make sure that the right people are reading this.   
> This is likely either a hardware problem (motherboard/cable/drive)  
> or driver problem.  GEOM and the mirror driver seems to be behaving  
> as desired (it detaches a drive reported by the driver as being  
> bad).  Could you post the dmesg -v output for the probing of the  
> ata controller and driver?

dmesg -v?

I got the full dmesg from dmesg.boot (this has been posted earlier in  
this thread too)

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 6.1-RELEASE #3: Tue May  9 20:40:23 CEST 2006
     johan at elfi.stromnet.org:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: <A M I  OEMAPIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP  (1200.01-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
    
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
   AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow+,3DNow>
real memory  = 536674304 (511 MB)
avail memory = 515805184 (491 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
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 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xf8000000-0xfbffffff at  
device 0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfebfb000-0xfebfbfff irq  
20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfebfc000-0xfebfcfff irq  
21 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0: <NVIDIA nForce2 Ultra 400 USB 2.0 controller> mem  
0xfebfdc00-0xfebfdcff irq 22 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <NVIDIA nForce2 Ultra 400 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
nve0: <NVIDIA nForce MCP5 Networking Adapter> port 0xdc00-0xdc07 mem  
0xfebfe000-0xfebfefff irq 20 at device 4.0 on pci0
nve0: Ethernet address 00:13:d4:bf:5b:79
miibus0: <MII bus> on nve0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nve0: Ethernet address: 00:13:d4:bf:5b:79
pci0: <multimedia, audio> at device 6.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pci2: <display, VGA> at device 6.0 (no driver attached)
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem  
0xfeafec00-0xfeafec7f irq 17 at device 9.0 on pci2
miibus1: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:ef:c6:36
atapci0: <nVidia nForce2 Pro UDMA133 controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 9.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce2 Pro SATA150 controller> port  
0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0x7f00-0x7f0f, 
0x7c00-0x7c7f irq 22 at device 11.
0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib2
acpi_button0: <Power Button> on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6  
drq 2 on acpi0
fdc0: [FAST]
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f 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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10  
on acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff on isa0
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
Timecounter "TSC" frequency 1200007723 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM <CD-ROM CDU701-F/1.0q> at ata0-master PIO4
ad4: 286188MB <Maxtor 7L300S0 BANC1G10> at ata2-master SATA150
ad6: 286188MB <Maxtor 7L300S0 BANC1G10> at ata3-master SATA150
GEOM_MIRROR: Device gm0s1 created (id=4118114647).
GEOM_MIRROR: Device gm0s1: provider ad4s1 detected.
GEOM_MIRROR: Device gm0s1: provider ad6s1 detected.
GEOM_MIRROR: Device gm0s1: provider ad6s1 activated.
GEOM_MIRROR: Device gm0s1: provider mirror/gm0s1 launched.
GEOM_MIRROR: Device gm0s1: rebuilding provider ad4s1.
Trying to mount root from ufs:/dev/mirror/gm0s1a
nve0: device timeout (6)

The mobo is an Asus A7N8X-XE NF ULTRA 400, onboard SATA controller used.

Johan



More information about the freebsd-stable mailing list