*BSD News Article 42777


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!paigen
From: paigen@netcom.com (David Paigen)
Subject: Re: How to get FreeBSD to recognize Modem
Message-ID: <paigenD4DI7F.JKy@netcom.com>
Organization: Forte Computer Systems, Brisbane CA
References: <3id7ch$tgv@alfa.ist.utl.pt>
Date: Tue, 21 Feb 1995 23:21:15 GMT
Lines: 58
Sender: paigen@netcom18.netcom.com

l35286@alfa.ist.utl.pt (Joao Carlos Neves Cabral) writes:

>Dear fellows,

>I recentely installed FreeBSD 2.0 on my computer. I'm trying to configure
>it for my hardware, but I've found problems on recognizing the serial ports.

>I have an IDE controler working as a two port serial card (the hardisk 
>controller is disabled, since I have a SCSI hardisk). There ports are
>8250 based. The ports are configured as 0x3f8/4 and 0x2f8/3, as normal.

>When I boot the Kernel, they are regognized as 16450 UARTS, which they are
>not.

>On the other Hand I have a Zoom VFP 24.400 Internal Modem connected to 
>port 3 (0x3e8) with IRQ 9. 

I have a Zoltrix 28.8 internal.  Same problems.  See below for fix.

>I checked the Kernel, and found that port 3 was configured with IRQ5,
>so I changed the configuration file to IRQ9, and compiled a new kernel. 

>My main problem happens when the new kernel probes port 3. It
>doesn't seem to find the modem in 0x3e8. I checked the kernel parameters
>with "/kernel -c" and they are correct (0x3e8/9). The port is recognized
>by the BIOS, and was previously working with other OSs. 

>I tried to remove the IDE card, and set the modem to port 1 (0x3f8/4), but
>it was still not recognized (when port 1 was previousely recognized, even
>thow incorrectely). 

>My gess is that I have to do some hacking in sio.c, to make it recognize my
>modem. 

Yup.

>Did anybody out there ever had a similar problem ? Am I missing
>something very simple ?  If I have to hack a kernel file, can someone tell
>me what I should change ?

Add some printf's to the sioprobe function.  I tried playing with
delay() with no luck.  How many printf's is tricky, add a lot and
test the kernel.  If that doesn't work, add more.

>For what it's worth, I have a 386DX33 with an Adaptec 1542CF controler, 
>a Quantum 700MB hardisk, a math coprocessor, a NE2000 card, a Mitsumi
>CDRom drive and 8MB or RAM.

My system is a 386/25.  I wonder if any 486 or Pentium machines
have this problem?

-David

-- 
----------------------->"Lay on, McDuff,    14th c. ideals in a 21st c. world
David Paigen            and damn'd be he        
San Francisco		who first cries,        Will answer stupid user
paigen@netcom.com       'hold, enough!'"        questions for beer.