vinum, ,GEOM, ATANG, or bad disk?

From: Daryl Chance <chancedj_at_yahoo.com>
Date: Fri, 17 Oct 2003 08:06:42 -0700 (PDT)
Hi,

I'm trying to setup vinum on 2 identical 30G HD's. 
The MB I'm using has a built in Raid 0 controller, so
i have 6 ATA Slots.  My Main HD is hooked up to the
primary non-raid. and the other 2 are hooked up to
primary 1 and primary 2 on the raid.  I can get vinum
up and running, but when i force a disk failure to see
if it can recover, I start to get errors.

Here are the steps i'm going through:

copy /usr/src to the vinum vol
stop mp3s.p1 (2 plex's - p0, p1)
delete the contents
start mp3s.p1

It starts to recover, then I start getting the
following errors:

Oct 16 23:00:34 mp3 kernel: ad6: TIMEOUT - WRITE_DMA
retrying (2 retries left)
Oct 16 23:00:34 mp3 kernel: ata3: resetting devices ..
Oct 16 23:00:34 mp3 kernel: done
Oct 16 23:00:44 mp3 kernel: ad6: TIMEOUT - WRITE_DMA
retrying (1 retry left)
Oct 16 23:00:44 mp3 kernel: ata3: resetting devices ..
Oct 16 23:00:44 mp3 kernel: done
Oct 16 23:00:54 mp3 kernel: ata3: resetting devices ..
Oct 16 23:00:54 mp3 kernel: done
Oct 16 23:00:54 mp3 kernel: ad6: FAILURE - WRITE_DMA
timed out
Oct 16 23:00:54 mp3 kernel: ad6: FAILURE - WRITE_DMA
status=1<ERROR> error=0
Oct 16 23:00:54 mp3 vinum[517]: can't revive
mp3s.p1.s0: Input/output error
Oct 16 23:04:18 mp3 kernel: vinum: mp3s.p1.s0 is down
by force
Oct 16 23:04:18 mp3 kernel: vinum: mp3s.p1 is faulty
Oct 16 23:04:28 mp3 kernel: ad6: TIMEOUT - WRITE_DMA
retrying (2 retries left)
Oct 16 23:04:28 mp3 kernel: ata3: resetting devices ..
Oct 16 23:04:28 mp3 kernel: done
Oct 16 23:04:38 mp3 kernel: ad6: TIMEOUT - WRITE_DMA
retrying (1 retry left)
Oct 16 23:04:38 mp3 kernel: ata3: resetting devices ..
Oct 16 23:04:38 mp3 kernel: done
Oct 16 23:04:48 mp3 kernel: ata3: resetting devices ..
Oct 16 23:04:48 mp3 kernel: done
Oct 16 23:04:48 mp3 kernel: ad6: FAILURE - WRITE_DMA
timed out
Oct 16 23:04:48 mp3 kernel: ad6: FAILURE - WRITE_DMA
status=1<ERROR> error=0
Oct 16 23:04:48 mp3 kernel: vinum: Can't write config
to /dev/ad6s1d, error 5
Oct 16 23:04:48 mp3 kernel: vinum: drive drive2 is
down

ad6 is the volume trying to get restored.  I'm going
to re-setup the volume once I get done zeroing the
drives out (incase that could help) and see if I can
still reproduce the problem.  I believe (one of the
things I'll document when i get it set back up), when
i type [vinum] info, it identifies the ad4 slice
correctly, but comes back as unknown for the ad6 slice
(which should be /dev/ad6s1d).

FreeBSD 5.1-CURRENT #0: Tue Oct 14 00:33:48 EDT 2003  
  root_at_mp3.earthlink.net:/usr/obj/usr/src/sys/MP3

I've attached my dmesg.

vinum.cfg is below (where i run create -f <file>)

drive drive1 device /dev/ad4s1d
drive drive2 device /dev/ad6s1d
  volume mp3s setupstate
    plex org concat
      sd length 0 drive drive1
    plex org concat
      sd length 0 drive drive2


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Copyright (c) 1992-2003 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.1-CURRENT #0: Tue Oct 14 00:33:48 EDT 2003
    root_at_mp3.earthlink.net:/usr/obj/usr/src/sys/MP3
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a0b000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a0b21c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (1311.69-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 268353536 (255 MB)
avail memory = 251019264 (239 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   A7V     > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00f1750
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
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 12
pcib0: slot 4 INTD is routed to irq 12
pcib0: slot 9 INTA is routed to irq 12
pcib0: slot 12 INTA is routed to irq 11
pcib0: slot 17 INTA is routed to irq 10
agp0: <VIA 82C8363 (Apollo KT133A) 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
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 12 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 12 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 4.4 (no driver attached)
dc0: <82c169 PNIC 10/100BaseTX> port 0xa400-0xa4ff mem 0xe3000000-0xe30000ff irq 12 at device 9.0 on pci0
dc0: Ethernet address: 00:a0:cc:53:6e:57
miibus0: <MII bus> on dc0
bmtphy0: <BCM5201 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <display, VGA> at device 12.0 (no driver attached)
atapci1: <Promise PDC20265 UDMA100 controller> port 0x8800-0x883f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xdb800000-0xdb81ffff irq 10 at device 17.0 on pci0
atapci1: [MPSAFE]
ata2: at 0xa000 on atapci1
ata2: [MPSAFE]
ata3: at 0x9400 on atapci1
ata3: [MPSAFE]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROMs> at iomem 0xc8000-0xca7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
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 1311691070 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
GEOM: create disk ad0 dp=0xc2e8e470
ad0: 9765MB <Maxtor 91024D4> [19841/16/63] at ata0-master UDMA33
acd0: CDROM <BCD 40SB I/OMAGIC CD-ROM> at ata0-slave PIO4
GEOM: create disk ad4 dp=0xc2ea4370
ad4: 29333MB <WDC WD307AA-00BAA0> [59598/16/63] at ata2-master UDMA66
GEOM: create disk ad6 dp=0xc2ea4270
ad6: 29333MB <WDC WD307AA-00BAA0> [59598/16/63] at ata3-master UDMA66
Mounting root from ufs:/dev/ad0s1a
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
Received on Fri Oct 17 2003 - 06:06:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:25 UTC