DragonFly BSD
DragonFly bugs List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: kernel trap 12


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jul 2004 10:13:07 +0200

On Mon, Jul 19, 2004 at 06:33:27AM +0200, Jeroen Ruigrok/asmodai wrote:
> -On [20040718 18:42], Matthew Dillon (dillon@xxxxxxxxxxxxxxxxxxxx) wrote:
> >    I almost have it working in Bochs.
> 
> The kernel trap 12 one isn't in Bochs, but my AMD / nForce 2 box.  Hope that
> was clear. :)

Can you give me the output of the attached patch?

Joerg

> 
> -- 
> Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
> Free Tibet! http://www.savetibet.org/ | http://www.tibet.nu/
> http://www.tendra.org/   | http://diary.in-nomine.org/
> Truth is one; the wise call it by different names...
> 
Index: nexus.c
===================================================================
RCS file: /home/joerg/wd/repo/dragonflybsd/src/sys/i386/i386/nexus.c,v
retrieving revision 1.10
diff -u -r1.10 nexus.c
--- nexus.c	1 Mar 2004 06:33:16 -0000	1.10
+++ nexus.c	20 Jul 2004 08:02:56 -0000
@@ -245,6 +245,17 @@
 	    || rman_manage_region(&mem_rman, 0, ~0))
 		panic("nexus_probe mem_rman");
 
+	{
+		device_t *devlist;
+		int i, numdevs;
+
+		device_get_children(dev, &devlist, &numdevs);
+		printf("nexus children (%d):\n", numdevs);
+		for (i = 0; i < numdevs; i++)
+			BUS_PRINT_CHILD(dev, devlist[i]);
+		printf("--------------------\n");
+		free(devlist, M_TEMP);
+	}
 	return bus_generic_probe(dev);
 }
 


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]