:
:    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 
:                                       <[EMAIL PROTECTED]>

    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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to