From owner-freebsd-hardware@FreeBSD.ORG Mon Mar 21 21:32:22 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 A2A611065742 for ; Mon, 21 Mar 2011 21:32:22 +0000 (UTC) (envelope-from steven_nikkel@ertyu.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 75FD28FC16 for ; Mon, 21 Mar 2011 21:32:22 +0000 (UTC) Received: from pd3ml2so-ssvc.prod.shaw.ca ([10.0.141.138]) by pd3mo1so-svcs.prod.shaw.ca with ESMTP; 21 Mar 2011 15:17:20 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=p1E0FbcuapThhG57xomuiJdXW/Q5N45ug4AOcQEGw+Q= c=1 sm=1 a=QwxTMoT1xusA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:10 a=97yHE6Nv0E5rBv82QpB2FA==:17 a=BgEgye70V1aRz3sWi0QA:9 a=7VeOT399PyF9n_9Zz4cA:7 a=6QnRv6oAsqN3lStk125SHlEiBx0A:4 a=wPNLvfGTeEIA:10 a=o7Uyi-Z8PB3wy9FS:21 a=H80wVpX2Ssnu-9Bf:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ertyu.org) ([24.78.45.129]) by pd3ml2so-dmz.prod.shaw.ca with ESMTP; 21 Mar 2011 15:17:20 -0600 Message-ID: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> Date: Mon, 21 Mar 2011 16:17:19 -0500 From: steven_nikkel@ertyu.org To: freebsd-hardware@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: 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: Mon, 21 Mar 2011 21:32:22 -0000 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 But it doesn't show up with the new uart driver. I tried adding the bits for it to device.hints and it shows up, but doesn't appear to be correctly detected and fails to function. I've tried having the modem set to full PnP and to fixed specification with no change in results. dmesg contains a few lines like this which may be related: PnP device failed to report resource data and pnpinfo spews this: Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID USR0011 (0x11007256), Serial Number 0x20300104 PnP Version 1.0, Vendor Version 0 Device Description: U.S. Robotics Sportster 33600 FAX/Voice Int Logical Device ID: USR0006 0x06007256 #0 TAG Start DF Good Configuration FIXED I/O base address 0x2f8 length 0x8 IRQ: 3 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x3f8 length 0x8 IRQ: 4 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x3e8 length 0x8 IRQ: 3 4 5 7 - only one type (true/edge) TAG Start DF Acceptable Configuration FIXED I/O base address 0x2e8 length 0x8 IRQ: 3 4 5 7 - only one type (true/edge) TAG End DF End Tag Successfully got 16 resources, 1 logical fdevs -- card select # 0x0001 CSN USR0011 (0x11007256), Serial Number 0x20300104 Logical device #0 IO: 0x03e8 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 5 0 DMA 4 4 IO range check 0x00 activate 0x01 I checked in the uart driver code and that pnp identifier is included, but doesn't appear to be detected or attached or something. I continued on trying to get a modem working, so I went through my big box of hardware and found several other ISA modems, gave them all a try with similar results. One I was able to get the uart driver to recognize as a 16550 port as opposed to the 8250 when I hardcoded the hints and the resources after disabling PNP. But it still doesn't appear to function correctly. And finally I gathered up collection of friends old PCI modems, tried each one in turn and no drivers would attach. (PUC was compiled in). I discovered that one is supported by the comms/ltmdm port and one by comms/hcfmdm port, neither of which work on 8.x. The other modems I couldn't determine which driver, if any would support them. Can anyone offer suggestions on how to get this going? From owner-freebsd-hardware@FreeBSD.ORG Tue Mar 22 13:57:40 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 D202C106566B for ; Tue, 22 Mar 2011 13:57:39 +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 A9C778FC14 for ; Tue, 22 Mar 2011 13:57:39 +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 4592246B06; Tue, 22 Mar 2011 09:57:39 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BE15F8A01B; Tue, 22 Mar 2011 09:57:38 -0400 (EDT) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Tue, 22 Mar 2011 09:55:30 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> In-Reply-To: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103220955.30890.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 22 Mar 2011 09:57:38 -0400 (EDT) Cc: steven_nikkel@ertyu.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: Tue, 22 Mar 2011 13:57:40 -0000 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 Can you get a verbose dmesg and post it somewhere? -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Tue Mar 22 14:21:50 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 0B349106564A for ; Tue, 22 Mar 2011 14:21:50 +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 D7FC28FC16 for ; Tue, 22 Mar 2011 14:21:49 +0000 (UTC) Received: from pd5ml2no-ssvc.prod.shaw.ca ([10.0.153.164]) by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 22 Mar 2011 08:21:48 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=dyVpuHYQJROgCHwBBw1H+I+7e1rgZIKdHwrI0HSbuo4= c=1 sm=1 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=97yHE6Nv0E5rBv82QpB2FA==:17 a=tZan19wuAAAA:8 a=fGO4tVQLAAAA:8 a=41UURFZ7sZX_4YpT5bsA:9 a=QGI6NB6ZT6TC8TyKMzIkF8CCsa8A:4 a=CjuIK1q_8ugA:10 a=YY1X9cfHHtQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ertyu.org) ([24.78.45.129]) by pd5ml2no-dmz.prod.shaw.ca with ESMTP; 22 Mar 2011 08:21:48 -0600 Date: Tue, 22 Mar 2011 09:21:47 -0500 (CDT) From: Steven Nikkel To: freebsd-hardware@freebsd.org In-Reply-To: <201103220955.30890.jhb@freebsd.org> Message-ID: References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103220955.30890.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Tue, 22 Mar 2011 14:21:50 -0000 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 > > 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 --- Steven Nikkel steven_nikkel@ertyu.org From owner-freebsd-hardware@FreeBSD.ORG Tue Mar 22 15:00:40 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 23FB0106566B for ; Tue, 22 Mar 2011 15:00:40 +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 EFEF68FC1C for ; Tue, 22 Mar 2011 15:00:39 +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 825EF46B09; Tue, 22 Mar 2011 11:00:39 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 1CA368A01B; Tue, 22 Mar 2011 11:00:39 -0400 (EDT) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Tue, 22 Mar 2011 11:00:30 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103220955.30890.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103221100.30082.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 22 Mar 2011 11:00:39 -0400 (EDT) Cc: Steven Nikkel 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: Tue, 22 Mar 2011 15:00:40 -0000 On Tuesday, March 22, 2011 10:21:47 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 > > > > 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 From owner-freebsd-hardware@FreeBSD.ORG Wed Mar 23 05:34:56 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 358C9106567B for ; Wed, 23 Mar 2011 05:34:56 +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 0B12A8FC0C for ; Wed, 23 Mar 2011 05:34:55 +0000 (UTC) Received: from pd7ml3no-ssvc.prod.shaw.ca ([10.0.153.150]) by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 22 Mar 2011 23:34:55 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=H95gfW32JB/XYJSBuOTvJ8IIviFcsPdfxXHbM7LS6jM= c=1 sm=1 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=97yHE6Nv0E5rBv82QpB2FA==:17 a=tZan19wuAAAA:8 a=fGO4tVQLAAAA:8 a=-0Ay06WDOPu4wuMFEkkA:9 a=IgKcHARnpv5GPr6psDDUila5xdQA:4 a=CjuIK1q_8ugA:10 a=YY1X9cfHHtQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ertyu.org) ([24.78.45.129]) by pd7ml3no-dmz.prod.shaw.ca with ESMTP; 22 Mar 2011 23:34:55 -0600 Date: Wed, 23 Mar 2011 00:34:54 -0500 (CDT) From: Steven Nikkel To: freebsd-hardware@freebsd.org In-Reply-To: <201103221100.30082.jhb@freebsd.org> Message-ID: References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103220955.30890.jhb@freebsd.org> <201103221100.30082.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Wed, 23 Mar 2011 05:34:56 -0000 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 >>> >>> 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. --- Steven Nikkel steven_nikkel@ertyu.org From owner-freebsd-hardware@FreeBSD.ORG Wed Mar 23 12:17:08 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 DE653106566C for ; Wed, 23 Mar 2011 12:17:08 +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 B78528FC13 for ; Wed, 23 Mar 2011 12:17:08 +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 6608346B99; Wed, 23 Mar 2011 08:17:08 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id D1FB68A01B; Wed, 23 Mar 2011 08:17:07 -0400 (EDT) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Wed, 23 Mar 2011 08:17:07 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103221100.30082.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103230817.07347.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 23 Mar 2011 08:17:08 -0400 (EDT) Cc: Steven Nikkel 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: Wed, 23 Mar 2011 12:17:09 -0000 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 > >>> > >>> 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 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 From owner-freebsd-hardware@FreeBSD.ORG Thu Mar 24 17:19: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 65674106564A for ; Thu, 24 Mar 2011 17:19:21 +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 368868FC16 for ; Thu, 24 Mar 2011 17:19:21 +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 D794246B0D; Thu, 24 Mar 2011 13:19:20 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5029F8A01B; Thu, 24 Mar 2011 13:19:20 -0400 (EDT) From: John Baldwin To: Steven Nikkel Date: Thu, 24 Mar 2011 13:15:28 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110311; KDE/4.5.5; amd64; ; ) References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103230817.07347.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103241315.28747.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 24 Mar 2011 13:19:20 -0400 (EDT) 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 17:19:21 -0000 On Thursday, March 24, 2011 9:26:16 am Steven Nikkel wrote: > 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. Yes, so the next step would be to instrument pnp_read_resources() to see exactly where it is failing. -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Fri Mar 25 14:17:23 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 0474E1065673 for ; Fri, 25 Mar 2011 14:17:23 +0000 (UTC) (envelope-from steven_nikkel@ertyu.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id C8EF18FC13 for ; Fri, 25 Mar 2011 14:17:22 +0000 (UTC) Received: from pd3ml3so-ssvc.prod.shaw.ca ([10.0.141.149]) by pd3mo1so-svcs.prod.shaw.ca with ESMTP; 25 Mar 2011 08:17:21 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=uT3SUsFrUxSLMLkvWEyF5PJ45gYvcyNzEdQWRoVmi+I= c=1 sm=1 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=97yHE6Nv0E5rBv82QpB2FA==:17 a=tZan19wuAAAA:8 a=fGO4tVQLAAAA:8 a=5JxkDvlXeYdyfi_iGeIA:9 a=mtR9eGNJYM0TJTyUEy8A:7 a=UCAEGRA23jSm2AxP_S7vPlefAXUA:4 a=CjuIK1q_8ugA:10 a=YY1X9cfHHtQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ertyu.org) ([24.78.45.129]) by pd3ml3so-dmz.prod.shaw.ca with ESMTP; 25 Mar 2011 08:17:21 -0600 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) From: Steven Nikkel In-Reply-To: <201103241315.28747.jhb@freebsd.org> Date: Fri, 25 Mar 2011 09:17:21 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3052ba363957ef179b4531ed0362d494.squirrel@www2.ertyu.org> <201103230817.07347.jhb@freebsd.org> <201103241315.28747.jhb@freebsd.org> To: 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: Fri, 25 Mar 2011 14:17:23 -0000 On 2011-03-24, at 12:15 PM, John Baldwin wrote: > On Thursday, March 24, 2011 9:26:16 am Steven Nikkel wrote: >> On Wed, 23 Mar 2011, John Baldwin wrote: >>=20 >>> 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: >>>>>>>>=20 >>>>>>>> /kernel: sio4: <U.S. Robotics Sportster 33600 FAX/Voice = Int> at >>>>> port >>>>>>>> 0x3e8-0x3ef irq 5 on isa0 >>>>>>>> /kernel: sio4: type 16550A >>>>>>>=20 >>>>=20 >>>> 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. >>>=20 >>> Hmm, no helpful bootverbose messages in the pnp.c code it seems. >>>=20 >> I updated to 8.2 and patched pnp.c as you proposed. Here's the = result: >> http://pastebin.com/AWpiBxRA >>=20 >> It is the modem that is causing those 'PnP device failed to report=20 >> resource data' >> and I don't see it appear in devinfo. >=20 > Yes, so the next step would be to instrument pnp_read_resources() to = see > exactly where it is failing. >=20 > --=20 > John Baldwin A first glance tells me the only thing that could be happening is a time = out trying to read resources. So sure enough after a couple hours of = compiling and reboots that is the issue. The first check shows it reads = a few resources then times out trying to read one 45 bytes long. I = updated the time out dramatically in pnp_get_resource_info to verify and = sure enough PNP now successfully initializes the card. Curiously I = looked at pnpinfo and it seems to use pretty much the exact same = process, except it was working previously. (PS: I set the count to 1000 = and delay to 100, extreme overkill, but I didn't want to wait for = several kernel compiles to get it to work) Here are some relevant snippets from dmesg with my debugging bits: = http://pastebin.com/uKRReBc0 Now onto the next bit: uart doesn't seem to identify the card properly. = This was about the same message I was getting when I hard coded the = settings on the board (no-pnp) and put them in device.hints However, it does seem to produce results now when I try to use it. = Different than previous usage, but at least appears to be useful. --- Steven Nikkel steven_nikkel@ertyu.org From owner-freebsd-hardware@FreeBSD.ORG Sat Mar 26 00:12:56 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 5C28C106564A for ; Sat, 26 Mar 2011 00:12:56 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-db02.mx.aol.com (imr-db02.mx.aol.com [205.188.91.96]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1F78FC12 for ; Sat, 26 Mar 2011 00:12:56 +0000 (UTC) Received: from imo-da04.mx.aol.com (imo-da04.mx.aol.com [205.188.169.202]) by imr-db02.mx.aol.com (8.14.1/8.14.1) with ESMTP id p2Q02Pbw017740; Fri, 25 Mar 2011 20:02:25 -0400 Received: from dieterbsd@engineer.com by imo-da04.mx.aol.com (mail_out_v42.9.) id n.1036.2603f35 (34982); Fri, 25 Mar 2011 20:02:21 -0400 (EDT) Received: from smtprly-me03.mx.aol.com (smtprly-me03.mx.aol.com [64.12.95.104]) by cia-da08.mx.aol.com (v129.9) with ESMTP id MAILCIADA087-b30c4d8d2d0c1c6; Fri, 25 Mar 2011 20:02:21 -0400 Received: from web-mmc-d02 (web-mmc-d02.sim.aol.com [205.188.103.68]) by smtprly-me03.mx.aol.com (v129.9) with ESMTP id MAILSMTPRLYME034-b30c4d8d2d0c1c6; Fri, 25 Mar 2011 20:02:20 -0400 To: freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Fri, 25 Mar 2011 20:02:19 -0400 X-MB-Message-Source: WebUI X-AOL-IP: 67.206.163.30 X-MB-Message-Type: User MIME-Version: 1.0 From: dieterbsd@engineer.com Content-Type: text/plain; charset="us-ascii" X-Mailer: Mail.com Webmail 33456-STANDARD Received: from 67.206.163.30 by web-mmc-d02.sysops.aol.com (205.188.103.68) with HTTP (WebMailUI); Fri, 25 Mar 2011 20:02:19 -0400 Message-Id: <8CDB96035A9CEA0-CD0-1378@web-mmc-d02.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Cc: Subject: Does FreeBSD support SB16C1058PCI RS-232 cards? 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: Sat, 26 Mar 2011 00:12:56 -0000 I'm looking at the SYBA SD-PCI15029 8 port RS-232 PCI card http://www.sybausa.com/productInfo.php?iid=3D994 $32.99 from newegg: http://www.newegg.com/Product/Product.aspx?Item=3DN82E16815124099 Chipset: SB16C1058PCI Compatible with 16C550 But... grep doesn't find any reference to the SB16C1058PCI much less SD-PCI15029. I fear that 16C550 isn't enough?