From owner-freebsd-current@FreeBSD.ORG Mon Dec 20 17:49:55 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27455106566B for ; Mon, 20 Dec 2010 17:49:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id EC20D8FC17 for ; Mon, 20 Dec 2010 17:49:54 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 8B71E46B3B; Mon, 20 Dec 2010 12:49:54 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A8D738A009; Mon, 20 Dec 2010 12:49:53 -0500 (EST) From: John Baldwin To: Ivan Klymenko Date: Mon, 20 Dec 2010 12:49:53 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20101102; KDE/4.4.5; amd64; ; ) References: <20101218203020.1cec8dc7@ukr.net> <201012200958.57926.jhb@freebsd.org> <20101220185334.4685a5f5@ukr.net> In-Reply-To: <20101220185334.4685a5f5@ukr.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201012201249.53159.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 20 Dec 2010 12:49:53 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: freebsd-current@freebsd.org Subject: Re: dev/psm0 not found X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 17:49:55 -0000 On Monday, December 20, 2010 11:53:34 am Ivan Klymenko wrote: > =D0=92 Mon, 20 Dec 2010 09:58:57 -0500 > John Baldwin =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