Inaccessible ad devices

From: Simon L. Nielsen <simon_at_nitro.dk>
Date: Sat, 5 Apr 2003 00:07:09 +0200
Hello

I have 4 IDE disks that I'm going to use for a small RAID.  During my
testing with the ata(4) software RAID I had created a RAID0 on two of
the disks.  I then deleted it and tried to create a new array (different
interleave) but I had forgotten to unmounted the filesystem on the RAID
I just deleted and I got a kernel panic - at least i think that was the
sequence of events.

The problem is that the RAID configuration was apparently left in a
somewhat undefined state so now there is neither a configured RAID (no
ar device) or any normal ad devices for the two disks.

When I got the panic I was running a older 4.7-RC but I now run -CURRENT
from today on it (dual boot). I have the same problem with the "missing"
disks under 4.7-RC and 4.8-RELEASE.

I can still create a new RAID on the two remaining disk.  Since updating
the -CURRENT today I get a panic when creating the array (on ad8 and
ad10) but after reboot the array is configured and works. I'm currently
trying to create a proper crash dump for this but i'm rather sure this
is unreleated to the "missing" disks.

More information (the missing disks are ad4 and and6) :

# uname -a
FreeBSD ford.nitro.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Apr  4 16:57:56 CEST 2003     FreeBSD_at_trillian.nitro.dk:/usr/obj/data/FreeBSD/CURRENT/sys/GENERIC  i386

Part of dmesg (full boot -v at http://simon.nitro.dk/temp/ataraid/dmesg.boot-verbose) :

atapci0: <VIA 82C686A UDMA66 controller> port 0xffa0-0xffaf at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
[CUT]
atapci1: <Promise PDC20268 UDMA100 controller> port 0xcc00-0xcc0f,0xd000-0xd003,0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07 mem 0xefffc000-0xefffffff irq 11 at device 13.0 on pci0
ata2: at 0xdc00 on atapci1
ata3: at 0xd400 on atapci1
atapci2: <Promise PDC20268 UDMA100 controller> port 0xac00-0xac0f,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xbc00-0xbc07 mem 0xefff8000-0xefffbfff irq 12 at device 14.0 on pci0
ata4: at 0xbc00 on atapci2
ata5: at 0xb400 on atapci2
[CUT]
ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master UDMA66
ad8: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata4-master UDMA100
ad10: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata5-master UDMA100
Waiting 15 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad6 -> 16
Opened disk ad6 -> 16
Mounting root from ufs:/dev/ad0s3a
[CUT]

# atacontrol list
ATA channel 0:
    Master:  ad0 <IBM-DTLA-307030/TX4OA60A> ATA/ATAPI rev 5
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:       no device present
ATA channel 2:
    Master:  ad4 <WDC WD800JB-00CRA1/17.07W17> ATA/ATAPI rev 5
    Slave:       no device present
ATA channel 3:
    Master:  ad6 <WDC WD800JB-00CRA1/17.07W17> ATA/ATAPI rev 5
    Slave:       no device present
ATA channel 4:
    Master:  ad8 <WDC WD800JB-00CRA1/17.07W17> ATA/ATAPI rev 5
    Slave:       no device present
ATA channel 5:
    Master: ad10 <WDC WD800JB-00CRA1/17.07W17> ATA/ATAPI rev 5
    Slave:       no device present

# atacontrol status 0
atacontrol: ioctl(ATARAIDSTATUS): Device not configured

-- 
Simon L. Nielsen

Received on Fri Apr 04 2003 - 12:07:12 UTC

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