From owner-freebsd-questions Sat Feb 27 19:32:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from madcow.borg.com (madcow.borg.com [205.217.206.165]) by hub.freebsd.org (Postfix) with ESMTP id 102FB14E84 for ; Sat, 27 Feb 1999 19:32:16 -0800 (PST) (envelope-from mark@borg.com) Received: from mail.borg.com (mail.borg.com [205.217.206.192]) by madcow.borg.com (8.9.0/8.8.8) with ESMTP id WAA06121; Sat, 27 Feb 1999 22:31:55 -0500 (EST) Received: from borg.com (ip46a.borg.com [208.3.180.46]) by mail.borg.com (8.8.7/8.7.3) with ESMTP id WAA00145; Sat, 27 Feb 1999 22:31:54 -0500 (EST) Message-ID: <36D8B9A7.47AF81C9@borg.com> Date: Sat, 27 Feb 1999 22:36:07 -0500 From: "Mark S. Reichman" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: jef53313@bayou.uh.edu Cc: questions@FreeBSD.ORG Subject: Re: Modem ceased to work following 2.2.8 -> 3.1 upgrade References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathan Fosburgh wrote: > > This perhaps belongs on -stable since I didn't check it until after > upgrading from 3.1-RELEASE to 3.1-STABLE, but I post it here in case this > is of more general interest. My modem worked just fine all through the > 2.2.x, and my upgrade from 2.2.6 -> 2.2.8 was accomplished by modem (due > to lack of a working ethernet card.) Recently, I attempted to install > hylafax and this is when I first noticed the problem. Running the setup > utilities failed to communicate with the modem. I tried using ppp in term > mode and could not send commands to the modem, and I also tried kermit's > equivalent of term mode and had the same problem. My modem is on sio1 and > my ppp is set up for /dev/cuaa1, which is where it has always worked. I > also tried /dev/cuaa0 and had the same lack of success. Here is what my > kernel config has (based on the man sio entry): > > device sio0 at isa? port "IO_COM1" tty irq 4 > device sio1 at isa? port "IO_COM2" tty irq 3 > > And here is dmesg > > sio0: irq maps: 0x1 0x11 0x1 0x1 > sio0 at 0x3f8-0x3ff irq 4 on isa > sio0: type 16550A > sio1: irq maps: 0x1 0x9 0x1 0x1 > sio1 at 0x2f8-0x2ff irq 3 on isa Is your modem a PNP modem ? If it is, did you re-edit your sio.c struct with the vendor code and put something like this in your /kernel.config file. I mean your / directory kernel.config not your kernel config in /usr/src/sys/i386/conf/YOUR_CONFIG_FILE. mark@slugo:/:>cat kernel.config pnp 1 0 os enable irq0 3 drq4 4 port0 0x2f8 There is a different way of doing things now in the 3.+ branch. Here is my kernel config in /usr/src/sys/i386/conf. I actually disable sio1 so my modem's uart can take its place. device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 #device sio1 at isa? port "IO_COM2" tty irq 3 #device sio2 at isa? disable port "IO_COM3" tty irq 5 #device sio3 at isa? disable port "IO_COM4" tty irq 9 Here is my dmesg: CSN 1 Vendor ID: USR3070 [0x70307256] Serial 0xe1f19a9c Comp ID: @@@0000 [0x0000 0000] sio1: type 16550A sio1 (siopnp sn 0xe1f19a9c) at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > > sio0 is where my serial mouse used to be until my MB was upgraded, and the > modem has been used since the upgrade so I doubt it is a hardware/bios > problem. Have I misconfigured the kernel or did I just pick up some bad > sources? > > Jonathan Fosburgh > Geotechnician > Snyder Oil Corporation > Houston, TX > > Home Page: > http://www.geocities.com/vienna/1498 > Manager, FreeBSD Webring: > http://www.geocities.com/vienna/1498/computer/freebsdring.html > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- \|/ (@ @) +----------oOO----(_)------------------+ | Mark S. Reichman FreeBSD | | mark@borg.com Got source? | | | | May the source be with you! | | | +------------------------oOO-----------+ |__|__| || || ooO Ooo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message