Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 14:52:52 -0400
From:      Shiao Yeh <shiao@terra.es>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        hackers@FreeBSD.ORG, John Baldwin <jhb@FreeBSD.ORG>
Subject:   Re: Help saving 4.7 kernel dump to disk
Message-ID:  <1034535172.3da9c1042710c@bcn.dyndns.org>
In-Reply-To: <200210132126.g9DLQ0w9056844@apollo.backplane.com>
References:  <1034418683.3da7f9fb445ce@bcn.dyndns.org> <200210132126.g9DLQ0w9056844@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The patch works for me.

dmesg: 
...
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2
pcm0: <Intel 82801BA (ICH2)> port 0x1880-0x18bf,0x1c00-0x1cff irq 9 at device
31.5 on pci0
pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 9
eisa0: <EISA bus> on motherboard
eisa0: unknown card @H@0000 (0x01000000) at slot 1
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xd8000-0xdbfff,0xdc000-0xdffff on isa0
...


Thanks

Shiao


Quoting Matthew Dillon <dillon@apollo.backplane.com>:

> :..
> :uhub1: 2 ports with 2 removable, self powered
> :umass0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2
> :pci0: <unknown card> (vendor=0x8086, dev=0x2445) at 31.5 irq 9
> :pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 9
> :eisa0: <EISA bus>
> :
> :Fatal trap 12: page fault while in kernel mode
> :fault virtual address	= 0x0
> :fault code		= supervisor read, page not present
> 
>     This appears to be the same problem.  Please try John Baldwin's
>     patch below and tell us if it fixes it.
> 
>     Note to John:  I sent that patch to my friend Dave but he hasn't
>     tested it yet.  Hopefully some of the other people getting the 
>     crash-and-boot can test it!  It looks like a bunch of people are
>     hitting the same issue.
> 
> 						-Matt
> 
> Index: nexus.c
> ===================================================================
> RCS file: /usr/cvs/src/sys/i386/i386/nexus.c,v
> retrieving revision 1.26.2.6
> diff -u -r1.26.2.6 nexus.c
> --- nexus.c	3 Mar 2002 05:42:49 -0000	1.26.2.6
> +++ nexus.c	11 Oct 2002 18:07:45 -0000
> @@ -219,21 +219,21 @@
>  	 * connection points now so they show up "on motherboard".
>  	 */
>  	if (!devclass_get_device(devclass_find("eisa"), 0)) {
> -		child = device_add_child(dev, "eisa", 0);
> +		child = BUS_ADD_CHILD(dev, 0, "eisa", 0);
>  		if (child == NULL)
>  			panic("nexus_attach eisa");
>  		device_probe_and_attach(child);
>  	}
>  #if NMCA > 0
>  	if (!devclass_get_device(devclass_find("mca"), 0)) {
> -        	child = device_add_child(dev, "mca", 0);
> -        	if (child == 0)
> +        	child = BUS_ADD_CHILD(dev, 0, "mca", 0);
> +        	if (child == NULL)
>                  	panic("nexus_probe mca");
>  		device_probe_and_attach(child);
>  	}
>  #endif
>  	if (!devclass_get_device(devclass_find("isa"), 0)) {
> -		child = device_add_child(dev, "isa", 0);
> +		child = BUS_ADD_CHILD(dev, 0, "isa", 0);
>  		if (child == NULL)
>  			panic("nexus_attach isa");
>  		device_probe_and_attach(child);
> 




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




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