*BSD News Article 34726


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!barrnet.net!oz.cdrom.com!oz.cdrom.com!jkh
From: jkh@freefall.cdrom.com (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.development
Subject: Re: FreeBSD 1.1.5 and sio1 (Seems like a bug)
Date: 20 Aug 1994 08:35:56 GMT
Organization: Walnut Creek CD-ROM
Lines: 28
Message-ID: <JKH.94Aug20013557@freefall.cdrom.com>
References: <3309ds$5sn@nyx.cs.du.edu>
NNTP-Posting-Host: freefall.cdrom.com
In-reply-to: jcroall@nyx.cs.du.edu's message of 18 Aug 1994 14:31:24 -0400

In article <3309ds$5sn@nyx.cs.du.edu> jcroall@nyx.cs.du.edu (James Croall) writes:

   I have an internal modem (0x2f8 (COM2), IRQ 3, with a 16450 UART). This
   works perfectly fine under MS-DOS, SCO Unix, and Linux. But FreeBSD 
   dosen't want to recognize it. My kernel config file's sio1 line looks like:

   device sio1 at isa? port 0x2f8 tty irq 3 vector siointr

This is very strange.  You're right, 0x2f8 and IRQ 3 are the general
defaults for COM2 and should work just fine.  I assume your COM1 is
also at 0x3f8 and IRQ 4, yes?

   it finds sio0 just fine, but then says "sio1 not found at 0x2f8". 

Yeah, that means it looked at that address and didn't find anything
resembling its notion of a serial port there.  Another thing to do if
this persists might be to progressively make the sio_probe() routine
in sio.c less fussy until you get a match, then tell us which test(s)
failed for your card.  We can then at least take a good look at the
problem and see if it's a bug in our code or your hardware setup.

You can also make sio_probe() simply dummy-probe the second port and
always enable it if you're anxious to use your modem right away while
you debug the problem further..

Thanks!

				Jordan