Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2010 12:49:53 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Ivan Klymenko <fidaj@ukr.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: dev/psm0 not found
Message-ID:  <201012201249.53159.jhb@freebsd.org>
In-Reply-To: <20101220185334.4685a5f5@ukr.net>
References:  <20101218203020.1cec8dc7@ukr.net> <201012200958.57926.jhb@freebsd.org> <20101220185334.4685a5f5@ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, December 20, 2010 11:53:34 am Ivan Klymenko wrote:
> =D0=92 Mon, 20 Dec 2010 09:58:57 -0500
> John Baldwin <jhb@freebsd.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>=20
> > 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=3Dl=
og
> > >=20
> > > after updating svn revision =3D> 216491 system is not detecting the
> > > device psm
> > > http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D216491
> >=20
> > Can you please get verbose dmesg's from before and after?
> >=20
>=20
> Voila.

Please boot with this and capture the output:

Index: psm.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- psm.c	(revision 216591)
+++ psm.c	(working copy)
@@ -1100,11 +1100,17 @@
 	 */
 	psmc =3D device_find_child(device_get_parent(parent),
 	    PSMCPNP_DRIVER_NAME, unit);
=2D	if (psmc =3D=3D NULL)
+	if (psmc =3D=3D NULL) {
+		printf("psm%d: could not find %s%d\n", unit,
+		    PSMCPNP_DRIVER_NAME, unit);
 		return;
+	}
 	irq =3D bus_get_resource_start(psmc, SYS_RES_IRQ, 0);
=2D	if (irq <=3D 0)
+	if (irq <=3D 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);
 }

=2D-=20
John Baldwin



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