From owner-freebsd-hardware@FreeBSD.ORG Thu Mar 24 13:26:21 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 379DF1065670 for ; Thu, 24 Mar 2011 13:26:21 +0000 (UTC) (envelope-from steven_nikkel@ertyu.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7E58FC13 for ; Thu, 24 Mar 2011 13:26:20 +0000 (UTC) Received: from pd6ml2no-ssvc.prod.shaw.ca ([10.0.153.163]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 24 Mar 2011 07:26:20 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=Mj7okGGiyvljez8nourwAOSCyIXzraNcHEi86Qy5a+Y= c=1 sm=1 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=97yHE6Nv0E5rBv82QpB2FA==:17 a=tZan19wuAAAA:8 a=fGO4tVQLAAAA:8 a=DIEMiuRX3Rnvz9Zx5bYA:9 a=veIj2jBcTEeC2biFdmNXRt9DSrUA:4 a=CjuIK1q_8ugA:10 a=YY1X9cfHHtQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ertyu.org) ([24.78.45.129]) by pd6ml2no-dmz.prod.shaw.ca with ESMTP; 24 Mar 2011 07:26:16 -0600 Date: Thu, 24 Mar 2011 08:26:16 -0500 (CDT) From: Steven Nikkel To: John Baldwin In-Reply-To: <201103230817.07347.jhb@freebsd.org> Message-ID: References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103221100.30082.jhb@freebsd.org> <201103230817.07347.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hardware@freebsd.org Subject: Re: 8.x and Modems X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 13:26:21 -0000 On Wed, 23 Mar 2011, John Baldwin wrote: > On Wednesday, March 23, 2011 1:34:54 am Steven Nikkel wrote: >> On Tue, 22 Mar 2011, John Baldwin wrote: >>>>> On Monday, March 21, 2011 5:17:19 pm steven_nikkel@ertyu.org wrote: >>>>>> I recently upgraded my trusty old 4.x system to 8.1 and the one little >>> bit >>>>>> I can't get working is the internal ISA modem in the system. On 4.x it >>> was >>>>>> detected automatically by the sio driver: >>>>>> >>>>>> /kernel: sio4: <U.S. Robotics Sportster 33600 FAX/Voice Int> at >>> port >>>>>> 0x3e8-0x3ef irq 5 on isa0 >>>>>> /kernel: sio4: type 16550A >>>>> >> >> Ok, here's the proper verbose dump: http://pastebin.com/DJ1z0k4D >> I've set it back to PnP mode and taken out all the specific hints. > > Hmm, no helpful bootverbose messages in the pnp.c code it seems. > > Can you take a hand at adding printfs to sys/isa/pnp.c? Specifically, > something like this: > > Index: pnp.c > =================================================================== > --- pnp.c (revision 219740) > +++ pnp.c (working copy) > @@ -743,10 +743,10 @@ pnp_isolation_protocol(device_t parent) > printf("A Normal-ISA-PnP card (%s).\n", > pnp_eisaformat(id.vendor_id)); > } > +#endif > if (bootverbose) > printf("Reading PnP configuration for %s.\n", > pnp_eisaformat(id.vendor_id)); > -#endif > error = pnp_read_resources(&resources, &space, &len); > if (error) > break; > > That should at least list each card it finds in a verbose boot. If you get > a message showing your card, then the next step is probably to see if > pnp_read_resources() is failing. If it is you'd want to narrow down where it > fails. If not then you'd want to trace pnp_create_devices() to see if it > fails. > > Oh, and a 'devinfo -v' to make sure your device doesn't already exist might > be a good sanity check as well. > > -- > John Baldwin > I updated to 8.2 and patched pnp.c as you proposed. Here's the result: http://pastebin.com/AWpiBxRA It is the modem that is causing those 'PnP device failed to report resource data' and I don't see it appear in devinfo. --- Steven Nikkel steven_nikkel@ertyu.org