Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 08:17:07 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hardware@freebsd.org
Cc:        Steven Nikkel <steven_nikkel@ertyu.org>
Subject:   Re: 8.x and Modems
Message-ID:  <201103230817.07347.jhb@freebsd.org>
In-Reply-To: <M.O.0.1103230033190.21311@ertyu.org>
References:  <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103221100.30082.jhb@freebsd.org> <M.O.0.1103230033190.21311@ertyu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: &lt;U.S. Robotics Sportster 33600 FAX/Voice Int&gt; at
> > port
> >>>> 0x3e8-0x3ef irq 5 on isa0
> >>>> /kernel: sio4: type 16550A
> >>>
> >>> Can you get a verbose dmesg and post it somewhere?
> >>>
> >>
> >> I think I got it into verbose mode, but it doesn't look any different, so
> >> I'm not sure I did that right, but here it is:
> >> http://pastebin.com/BbFevvt6
> >
> > Hmm, you need to use 'boot -v' at the loader prompt.  If you can't get to the
> > loader prompt easily you can try using 'nextboot -o "-v" -k kernel' before
> > rebooting.
> >
> > -- 
> > John Baldwin
> 
> 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



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