Date: Sat, 27 Feb 1999 22:36:07 -0500 From: "Mark S. Reichman" <mark@borg.com> To: jef53313@bayou.uh.edu Cc: questions@FreeBSD.ORG Subject: Re: Modem ceased to work following 2.2.8 -> 3.1 upgrade Message-ID: <36D8B9A7.47AF81C9@borg.com> References: <Pine.BSF.4.05.9902271439370.6528-100000@dorm-36314.rh.uh.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <USR3070> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D8B9A7.47AF81C9>