dev/psm0 not found

Ivan Klymenko fidaj at ukr.net
Mon Dec 20 18:14:43 UTC 2010


В Mon, 20 Dec 2010 12:49:53 -0500
John Baldwin <jhb at freebsd.org> пишет:

> On Monday, December 20, 2010 11:53:34 am Ivan Klymenko wrote:
> > В Mon, 20 Dec 2010 09:58:57 -0500
> > John Baldwin <jhb at freebsd.org> пишет:
> > 
> > > On Saturday, December 18, 2010 1:30:20 pm Ivan Klymenko wrote:
> > > > http://svn.freebsd.org/viewvc/base/head/sys/dev/atkbdc/psm.c?view=log
> > > > 
> > > > after updating svn revision => 216491 system is not detecting
> > > > the device psm
> > > > http://svn.freebsd.org/viewvc/base?view=revision&revision=216491
> > > 
> > > Can you please get verbose dmesg's from before and after?
> > > 
> > 
> > Voila.
> 
> Please boot with this and capture the output:
> 
> Index: psm.c
> ===================================================================
> --- psm.c	(revision 216591)
> +++ psm.c	(working copy)
> @@ -1100,11 +1100,17 @@
>  	 */
>  	psmc = device_find_child(device_get_parent(parent),
>  	    PSMCPNP_DRIVER_NAME, unit);
> -	if (psmc == NULL)
> +	if (psmc == NULL) {
> +		printf("psm%d: could not find %s%d\n", unit,
> +		    PSMCPNP_DRIVER_NAME, unit);
>  		return;
> +	}
>  	irq = bus_get_resource_start(psmc, SYS_RES_IRQ, 0);
> -	if (irq <= 0)
> +	if (irq <= 0) {
> +		printf("psm%d: no IRQ from %s%d\n", unit,
> PSMCPNP_DRIVER_NAME,
> +		    unit);
>  		return;
> +	}
>  	bus_delete_resource(psmc, SYS_RES_IRQ, 0);
>  	bus_set_resource(psm, SYS_RES_IRQ, KBDC_RID_AUX, irq, 1);
>  }
> 




С уважением, Иван!
------------------------------------------
Мы можем все - что можем себе представить!

jabber: fidaj at jabber.ru
skype: freedom_fidaj
youtube channel: http://www.youtube.com/freedomfidaj
mob.: +380938326345
http://lurkmore.ru/95%25
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg-patch_psm.r216524M
Type: application/octet-stream
Size: 60700 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20101220/f67dc254/dmesg-patch_psm.obj


More information about the freebsd-current mailing list