Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 19:19:48 +0200
From:      =?ISO-8859-1?Q?Johan_Str=F6m?= <johan@stromnet.org>
To:        freebsd-stable@freebsd.org
Cc:        Robert Watson <rwatson@FreeBSD.org>
Subject:   Re: ATA problems again ... (was: Re: GEOM problems again...)
Message-ID:  <D23C3AF6-A726-4FD5-84D3-F41462F355EE@stromnet.org>
In-Reply-To: <20060713132357.Y61840@fledge.watson.org>
References:  <DAFCD4DC-D2D4-4574-ACBF-367D642D9729@stromnet.org> <8D08DDB6-6AC1-45B6-B2CE-08782F54968A@stromnet.org> <884C01BC-3E97-46EC-AA8B-E70C3931F3A4@stromnet.org> <36895211-2796-4213-B336-6279AB3AC3CB@stromnet.org> <20060713132357.Y61840@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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

>
> On Thu, 13 Jul 2006, Johan Str=F6m 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 =20
>> ad4s1 disconnected.
>> Jul 12 22:22:50 elfi kernel: g_vfs_done():mirror/gm0s1f[READ=20
>> (offset=3D120776474624, length=3D32768)]error =3D 6
>>
>> $ uname -a
>> FreeBSD elfi.stromnet.org 6.1-RELEASE FreeBSD 6.1-RELEASE #3: Tue =20
>> May  9 20:40:23 CEST 2006 johan@elfi.stromnet.org:/usr/obj/usr/src/=20=

>> sys/GENERIC  i386
>>
>> Still no luck with atacontrol...
>>
>> Is there any way to debug this further ?? I've tested the disk, =20
>> the SATA cables are new... I've had similar problems with other =20
>> motherboard... I dont think this is related to hw problems, but =20
>> rather a softwareproblem that needs to be solved, this is not =20
>> something one can call stable ;)
>>
>> So, any pointers how to enable more debugging or anything that =20
>> could give some clues?
>
> I don't have a whole lot to add to this thread, but have changed =20
> the subject to make sure that the right people are reading this.  =20
> This is likely either a hardware problem (motherboard/cable/drive) =20
> or driver problem.  GEOM and the mirror driver seems to be behaving =20=

> as desired (it detaches a drive reported by the driver as being =20
> bad).  Could you post the dmesg -v output for the probing of the =20
> ata controller and driver?

dmesg -v?

I got the full dmesg from dmesg.boot (this has been posted earlier in =20=

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 =20
reserved.
FreeBSD 6.1-RELEASE #3: Tue May  9 20:40:23 CEST 2006
     johan@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 =3D "AuthenticAMD"  Id =3D 0x662  Stepping =3D 2
   =20
Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
=20
MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
   AMD Features=3D0xc0480800<SYSCALL,MP,MMX+,3DNow+,3DNow>
real memory  =3D 536674304 (511 MB)
avail memory =3D 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 =20
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
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 =20
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 =20
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 =20
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 =20
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 =20
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 =20
0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0x7f00-0x7f0f,=20=

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 =20
drq 2 on acpi0
fdc0: [FAST]
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 =20
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 =20
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=3D0x300>
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 =20
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=3D4118114647).
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D23C3AF6-A726-4FD5-84D3-F41462F355EE>