From owner-freebsd-questions Sun Jan 7 10:50:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA00760 for questions-outgoing; Sun, 7 Jan 1996 10:50:29 -0800 (PST) Received: from ug1.plk.af.mil (UG1.PLK.AF.MIL [129.238.20.32]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA00752 for ; Sun, 7 Jan 1996 10:50:24 -0800 (PST) Received: (from mccrory@localhost) by ug1.plk.af.mil (8.7.1/8.7.1) id LAA08993; Sun, 7 Jan 1996 11:50:08 -0700 (MST) From: Roy McCrory Message-Id: <199601071850.LAA08993@ug1.plk.af.mil> Subject: Re: config boca modem problem To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Sun, 7 Jan 1996 11:50:07 -0700 (MST) Cc: questions@freebsd.org In-Reply-To: <199512210654.RAA15007@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Dec 21, 95 05:24:52 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > > Roy A.Mccrory stands accused of saying: > > > > I have a new internal boca mv34i modem which my kernel can't sucessfully probe. > > Does this card have a 'real' 16550 on it, or a custom blob that claims to > emulate one? > > > using -c to probe the modem with "flags sio2 0x82" gives > > "probe test 5 failed > > probe test 6 failed" > > and returns a status of 0x0. > stuff deleted > > If anyone has any ideas how to fix it, I would appreciate hearing from you. > > Various sorts; you could start by looking at the code in /sys/i386/isa/sio.c > and adding DELAY(1000); calls between each of these lines in the sioprobe() > function, to wit: > > if (idev->id_irq != 0) > failures[3] = isa_irq_pending(idev) ? 0 : 1; > DELAY(1000); > failures[4] = (inb(iobase + com_iir) & IIR_IMASK) - IIR_TXRDY; > DELAY(1000); > if (idev->id_irq != 0) > failures[5] = isa_irq_pending(idev) ? 1 : 0; > DELAY(1000); > failures[6] = (inb(iobase + com_iir) & IIR_IMASK) - IIR_NOPEND; > > > > Roy A. McCrory (505) 846-6937 mccrory@plk.af.mil > > -- > ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ > ]] Genesis Software genesis@atrad.adelaide.edu.au [[ > ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ > ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ > ]] "Who does BSD?" "We do Chucky, we do." [[ > Many thanks Mike! This did the trick. It works slipping in to my office, which is set up with a 14.4 modem, using kermit, and I can access various local bbs's at 26k and 28k to another lab. The boca product code is MV.34IM . The dmesg looks like "sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A". I do believe that the board uses emulation since the large chips on the board are labeled "rockwell" and the Boca WWW site indicates that they use emulation on a similar 14.4 modem. No info on this one in the web page that I could find. Boca seems to feel that the cost savings justify not using the 16550. I wish they had the courage to label their packages with this info so dummies like me wouldn't get suckered in like this. Thanks again.