Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 21:23:43 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Steve Sizemore <steve@cmpharm.ucsf.edu>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: xp1000 kernel panics
Message-ID:  <14517.59248.195064.508397@grasshopper.cs.duke.edu>
In-Reply-To: <20000224153843.A147862@cmpharm.ucsf.edu>
References:  <20000224153843.A147862@cmpharm.ucsf.edu>

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

Steve Sizemore writes:
 > On an XP1000, for the last few days I've been unable to boot a kernel
 > built from -current. The message is
 > 
 >     panic: resource_list_alloc: resource entry is busy
 > 
 > The same kernel works fine on a PC164LX, and the XP1000 boots an older
 > kernel built from a cvsup on 2/17.
 > 	FreeBSD 4.0-CURRENT #5: Thu Feb 17 09:59:38 PST 2000
 > 
 > Help?

I was assuming that Soren would commit this sometime soon.
The appended patch is from dfr & fixes the problem.

Drew

Index: ata-all.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v
retrieving revision 1.48
diff -u -r1.48 ata-all.c
--- ata-all.c	2000/02/18 20:57:27	1.48
+++ ata-all.c	2000/02/20 13:12:02
@@ -436,6 +436,15 @@
 	break;
     }
 
+    /*
+     * The Cypress ATA controller on some Alphas is confusing. It has
+     * two ATA functions, the first is a masterdev with two subunits,
+     * and the second pci function has the *same* second subunit as a
+     * standalone device.
+     */
+    if (pci_get_devid(dev) == 0xc6931080 && pci_get_function(dev) > 1)
+	return 0;
+
     ata_pci_add_child(dev, 0);
 
     if (pci_get_progif(dev) & PCIP_STORAGE_IDE_MASTERDEV ||



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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