From owner-freebsd-current Fri Feb 15 22:18:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id E5A2237B416 for ; Fri, 15 Feb 2002 22:18:27 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1G6IPZ87314; Fri, 15 Feb 2002 22:18:25 -0800 (PST) (envelope-from dillon) Date: Fri, 15 Feb 2002 22:18:25 -0800 (PST) From: Matthew Dillon Message-Id: <200202160618.g1G6IPZ87314@apollo.backplane.com> To: current@FreeBSD.ORG, sos@freebsd.dk Subject: followup w/patch... current kernel crashing in ata_raid_attach at boot Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : : This is on a DELL2550. I do not have any ATA hard drives, let alone ata : raid drives or, in fact, any raid drives of any kind. I do have an ata : CDROM. : : A Feb 5 -current kernel boots fine. : : -Matt : Matthew Dillon : I believe this will fix the problem (I'll leave it to Soren to commit it or the appropriate fix): -Matt Index: ata-raid.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-raid.c,v retrieving revision 1.24 diff -u -r1.24 ata-raid.c --- ata-raid.c 12 Feb 2002 11:35:15 -0000 1.24 +++ ata-raid.c 16 Feb 2002 06:12:07 -0000 @@ -119,6 +119,9 @@ dev_t dev; int array, disk; + if (ar_table == NULL) /* no devices to scan */ + return; + for (array = 0; array < MAX_ARRAYS; array++) { if (!(raid = ar_table[array]) || !raid->flags) continue; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message