From owner-freebsd-current@FreeBSD.ORG Fri Apr 4 14:07:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C65837B401; Fri, 4 Apr 2003 14:07:12 -0800 (PST) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F4B743F3F; Fri, 4 Apr 2003 14:07:11 -0800 (PST) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id BC07110BF94; Sat, 5 Apr 2003 00:07:09 +0200 (CEST) Date: Sat, 5 Apr 2003 00:07:09 +0200 From: "Simon L. Nielsen" To: freebsd-current@freebsd.org Message-ID: <20030404220708.GE378@nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Gf/FFewwPeBMqCJ" Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Inaccessible ad devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 22:07:12 -0000 --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: 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: 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: 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 [59560/16/63] at ata0-master UDMA66 ad8: 76319MB [155061/16/63] at ata4-master UDMA100 ad10: 76319MB [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 ATA/ATAPI rev 5 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ATA/ATAPI rev 5 Slave: no device present ATA channel 4: Master: ad8 ATA/ATAPI rev 5 Slave: no device present ATA channel 5: Master: ad10 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--