Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 00:07:09 +0200
From:      "Simon L. Nielsen" <simon@nitro.dk>
To:        freebsd-current@freebsd.org
Subject:   Inaccessible ad devices
Message-ID:  <20030404220708.GE378@nitro.dk>

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

--3Gf/FFewwPeBMqCJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
=66rom 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@trillian.nitro.dk:/usr/obj/data/FreeBSD/CURRENT/sy=
s/GENERIC  i386

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

atapci0: <VIA 82C686A UDMA66 controller> port 0xffa0-0xffaf at device 4.1 o=
n 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-0x=
d003,0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07 mem 0xefffc000-0xefffffff ir=
q 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-0x=
b003,0xb400-0xb407,0xb800-0xb803,0xbc00-0xbc07 mem 0xefff8000-0xefffbfff ir=
q 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

--=20
Simon L. Nielsen

--3Gf/FFewwPeBMqCJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+jgIM8kocFXgPTRwRAnqBAKCVFhDs5YsOfqxCHM1ZeIupW+AYEgCg1NB8
+6Pe7sN27wNdi7sMQ0O2SQ4=
=tMc7
-----END PGP SIGNATURE-----

--3Gf/FFewwPeBMqCJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030404220708.GE378>