From owner-freebsd-mobile Wed Jun 26 00:24:51 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA14480 for mobile-outgoing; Wed, 26 Jun 1996 00:24:51 -0700 (PDT) Received: from cats.ucsc.edu (root@cats-po-1.UCSC.EDU [128.114.129.22]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA14475 for ; Wed, 26 Jun 1996 00:24:49 -0700 (PDT) Received: from scruz.ucsc.edu by cats.ucsc.edu with SMTP id AAA04983; Wed, 26 Jun 1996 00:24:47 -0700 Received: from osprey by scruz.ucsc.edu id aa07724; 26 Jun 96 0:20 PDT Received: (from markd@localhost) by Grizzly.COM (8.7.5/8.6.9) id XAA11896; Tue, 25 Jun 1996 23:27:06 -0700 (PDT) Date: Tue, 25 Jun 1996 23:27:06 -0700 (PDT) Message-Id: <199606260627.XAA11896@Grizzly.COM> From: Mark Diekhans To: hosokawa@mt.cs.keio.ac.jp, freebsd-mobile@freebsd.org Subject: sio interrupt problems with PAO-960616 [pccard-test] Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am unable to get a modem to work with PAO-960616 on top of 2.2-960612-SNAP in interrupt mode. I can get it working with poll I/O. The same results occur with two difference modems, one of which is on the supported car list (Megahertz XJ2288). I suspect this is either a configuration mistake or a problem with pcic or sio drivers: /kernel: PC-Card Cirrus Logic PD6710 (5 mem & 2 I/O windows) /kernel: pcic: controller irq 10 /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa /kernel: sio0: type 16550A /kernel: sio1 not found at 0x2f8 WHen the kernel is booting I get the message: /kernel: sio0: 64 events for device with no tp although there is not device attached to sio0. When I start pccardd, I get the errors: pccardd[162]: mem=d0000 pccardd[162]: Card "Cardinal Technologies" ("MVP288C2") matched "Cardinal Technologies" ("MVP288C2") pccardd[162]: Using I/O addr 0x2f8, size 8 pccardd[162]: Setting config reg at offs 0x200 to 0x61 pccardd[162]: Reset time = 100 ms pccardd[162]: Assigning I/O window 0, start 0x2f8, size 0x8 flags 0x1 pccardd[162]: Assign sio1, io 0x2f8, mem 0x0, 0 bytes, irq 3, flags 80 /kernel: sio1: probe test 3 failed /kernel: Return IRQ=3 pccardd[162]: driver allocation failed for Cardinal Technologies If I increase the reset time, I can get by the probe error sometimes: pccardd[196]: Using I/O addr 0x2f8, size 8 pccardd[196]: Setting config reg at offs 0x200 to 0x61 pccardd[196]: Reset time = 10000 ms pccardd[196]: Assigning I/O window 0, start 0x2f8, size 0x8 flags 0x1 pccardd[196]: Assign sio1, io 0x2f8, mem 0x0, 0 bytes, irq 3, flags 80 /kernel: sio1: type 16550A /kernel: Slot 0, unfielded interrupt (3) but the modem is still not usable. Any ideas? Mark From owner-freebsd-mobile Wed Jun 26 00:52:00 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA17056 for mobile-outgoing; Wed, 26 Jun 1996 00:52:00 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA17051 for ; Wed, 26 Jun 1996 00:51:55 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id RAA04918; Wed, 26 Jun 1996 17:08:19 +0930 From: Michael Smith Message-Id: <199606260738.RAA04918@genesis.atrad.adelaide.edu.au> Subject: Re: sio interrupt problems with PAO-960616 [pccard-test] To: markd@grizzly.com (Mark Diekhans) Date: Wed, 26 Jun 1996 17:08:19 +0930 (CST) Cc: hosokawa@mt.cs.keio.ac.jp, freebsd-mobile@FreeBSD.ORG In-Reply-To: <199606260627.XAA11896@Grizzly.COM> from "Mark Diekhans" at Jun 25, 96 11:27:06 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mark Diekhans stands accused of saying: > > The same results occur with two difference modems, one of which is on > the supported car list (Megahertz XJ2288). I suspect this is either a > configuration mistake or a problem with pcic or sio drivers: > > /kernel: PC-Card Cirrus Logic PD6710 (5 mem & 2 I/O windows) > /kernel: pcic: controller irq 10 > /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa > /kernel: sio0: type 16550A > /kernel: sio1 not found at 0x2f8 > > WHen the kernel is booting I get the message: > /kernel: sio0: 64 events for device with no tp > > although there is not device attached to sio0. This sounds like the card doesn't have a 'real' UART in it, but rather a micro pretending to be one. This is pretty tragic. You could look the places in sioprobe() where the EXTRA DELAY comments are, and try adding 'DELAY(500)' in these places. > /kernel: sio1: probe test 3 failed The card failed to generate an interrupt when it should have. > /kernel: sio1: type 16550A > /kernel: Slot 0, unfielded interrupt (3) ... but it's generated it later. > Mark -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Wed Jun 26 09:02:37 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA16722 for mobile-outgoing; Wed, 26 Jun 1996 09:02:37 -0700 (PDT) Received: from cats.ucsc.edu (root@cats-po-1.UCSC.EDU [128.114.129.22]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA16717 for ; Wed, 26 Jun 1996 09:02:35 -0700 (PDT) Received: from scruz.ucsc.edu by cats.ucsc.edu with SMTP id JAA25639; Wed, 26 Jun 1996 09:02:31 -0700 Received: from osprey by scruz.ucsc.edu id aa11603; 26 Jun 96 9:01 PDT Received: (from markd@localhost) by Grizzly.COM (8.7.5/8.6.9) id IAA12749; Wed, 26 Jun 1996 08:11:51 -0700 (PDT) Date: Wed, 26 Jun 1996 08:11:51 -0700 (PDT) Message-Id: <199606261511.IAA12749@Grizzly.COM> From: Mark Diekhans To: msmith@atrad.adelaide.edu.au CC: hosokawa@mt.cs.keio.ac.jp, freebsd-mobile@freebsd.org In-reply-to: <199606260738.RAA04918@genesis.atrad.adelaide.edu.au> (message from Michael Smith on Wed, 26 Jun 1996 17:08:19 +0930 (CST)) Subject: Re: sio interrupt problems with PAO-960616 [pccard-test] Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Mike, Thanks for the response.... >Mark Diekhans stands accused of saying: >> >> The same results occur with two difference modems, one of which is on >> the supported car list (Megahertz XJ2288). I suspect this is either a >> configuration mistake or a problem with pcic or sio drivers: >> >> /kernel: PC-Card Cirrus Logic PD6710 (5 mem & 2 I/O windows) >> /kernel: pcic: controller irq 10 >> /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa >> /kernel: sio0: type 16550A >> /kernel: sio1 not found at 0x2f8 >> >> WHen the kernel is booting I get the message: >> /kernel: sio0: 64 events for device with no tp >> >> although there is not device attached to sio0. >This sounds like the card doesn't have a 'real' UART in it, but rather >a micro pretending to be one. This is pretty tragic. Don't know for sure, but these are both two well know cards: Cardinal MPV288C2 Megahertz XJ2288 >You could look the places in sioprobe() where the EXTRA DELAY comments >are, and try adding 'DELAY(500)' in these places. Didn't help. I got the passed the probe error on the cardinal but then go the unfielded interrupt later. >> /kernel: sio1: probe test 3 failed > >The card failed to generate an interrupt when it should have. > >> /kernel: sio1: type 16550A >> /kernel: Slot 0, unfielded interrupt (3) > >... but it's generated it later. Actually one or the other occurs depending on the reset delay: probe 3 fails or the fielded interrupt. An then there is the 64 stray strange interrups on sio0.. Thanks for the suggestions, Mark From owner-freebsd-mobile Wed Jun 26 21:05:59 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA21720 for mobile-outgoing; Wed, 26 Jun 1996 21:05:59 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA21713 for ; Wed, 26 Jun 1996 21:05:56 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id NAA09810; Thu, 27 Jun 1996 13:22:07 +0930 From: Michael Smith Message-Id: <199606270352.NAA09810@genesis.atrad.adelaide.edu.au> Subject: Re: sio interrupt problems with PAO-960616 [pccard-test] To: markd@grizzly.com (Mark Diekhans) Date: Thu, 27 Jun 1996 13:22:06 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, hosokawa@mt.cs.keio.ac.jp, freebsd-mobile@freebsd.org In-Reply-To: <199606261511.IAA12749@Grizzly.COM> from "Mark Diekhans" at Jun 26, 96 08:11:51 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mark Diekhans stands accused of saying: > > Actually one or the other occurs depending on the reset delay: > probe 3 fails or the fielded interrupt. An then there is the > 64 stray strange interrups on sio0.. Hmm. What IRQ is the PCIC in your system on? In the Sharp I'm using it actually overlays IRQ 3 (thus making sio1, the IRDA port, unreachable 8( ) > Mark -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Thu Jun 27 10:21:37 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA11792 for mobile-outgoing; Thu, 27 Jun 1996 10:21:37 -0700 (PDT) Received: from saul7.u.washington.edu (junkins@saul7.u.washington.edu [140.142.82.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA11787 for ; Thu, 27 Jun 1996 10:21:35 -0700 (PDT) Received: from localhost by saul7.u.washington.edu (5.65+UW96.04/UW-NDC Revision: 2.33 ) id AA12924; Thu, 27 Jun 96 10:21:33 -0700 Date: Thu, 27 Jun 1996 10:21:33 -0700 (PDT) From: "D. Junkins" To: freebsd-mobile@freebsd.org, hosokawa@mt.cs.keio.ac.jp Subject: PAO-960616 and PractiCARD 144 Modem Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am running FreeBSD 2.2-960612-SNAP on a Toshiba T2115CS and am trying to get a Practical Peripherals "PractiCARD 144" modem to work with PAO-960616. I have tried all of the serial wildcard config lines and continue to get a console error stating: pccardd[PID]: Resource allocation failure for Practical Peripherals, Inc. pccardd[PID]: Reason: CIS not found I have used the command "pccardc dumpcis" to look at the available tuples and haven't found any configuration entries. Unfortunately the laptop can't be connected to the 'net until the modem works so I can't provide the whole dumpcis output. The tuples listed by dumpcis are: Tuple #1, code = 0x1 (Common memory descriptor), length = 3 Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 Tuple #3, code = 0x15 (Version 1 info), length = 67 Tuple #4, code = 0x0 (Null tuple), length = 224 Tuple #5, code = 0x0 (Null tuple), length = 0 Tuple #6, code = 0x0 (Null tuple), length = 0 Tuple #7, code = 0x0 (Null tuple), length = 0 Tuple #8, code = 0x0 (Null tuple), length = 0 Tuple #9, code = 0x0 (Null tuple), length = 0 Tuple #10, code = 0x0 (Null tuple), length = 0 Tuple #11, code = 0x40 (Version 2 info), length = 224 My configuration in /etc/pccard.conf looks like this. I have tried all of the config indices listed in the serial wildcard section along with others that were listed for other modems. # Practical Peripherals PractiCARD 14.4 card "Practical Peripherals, Inc\." "PractiCARD 144" config 0x23 "sio2" any reset 1000 insert echo PractiCARD 14.4 Modem inserted remove echo PractiCARD 14.4 Modem removed Can anyone offer any hints on what to try next to get this modem working? Thanks for any help you can provide. - Doug +------------------------------+------------------------------------------+ | Doug Junkins | See my home page for my PGP Public Key | | Network Engineer +------------------------------------------+ | Computers & Communications | junkins@u.washington.edu | | University of Washington | http://weber.u.washington.edu/~junkins | +------------------------------+------------------------------------------+ From owner-freebsd-mobile Thu Jun 27 10:59:51 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14130 for mobile-outgoing; Thu, 27 Jun 1996 10:59:51 -0700 (PDT) Received: from cats.ucsc.edu (root@cats-po-1.UCSC.EDU [128.114.129.22]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA14124 for ; Thu, 27 Jun 1996 10:59:49 -0700 (PDT) Received: from scruz.ucsc.edu by cats.ucsc.edu with SMTP id KAA16734; Thu, 27 Jun 1996 10:59:34 -0700 Received: from osprey by scruz.ucsc.edu id aa26354; 27 Jun 96 10:59 PDT Received: (from markd@localhost) by Grizzly.COM (8.7.5/8.6.9) id KAA09700; Thu, 27 Jun 1996 10:21:52 -0700 (PDT) Date: Thu, 27 Jun 1996 10:21:52 -0700 (PDT) Message-Id: <199606271721.KAA09700@Grizzly.COM> From: Mark Diekhans To: msmith@atrad.adelaide.edu.au CC: msmith@atrad.adelaide.edu.au, hosokawa@mt.cs.keio.ac.jp, freebsd-mobile@freebsd.org In-reply-to: <199606270352.NAA09810@genesis.atrad.adelaide.edu.au> (message from Michael Smith on Thu, 27 Jun 1996 13:22:06 +0930 (CST)) Subject: Re: sio interrupt problems with PAO-960616 [pccard-test] Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Mark Diekhans stands accused of saying: >> >> Actually one or the other occurs depending on the reset delay: >> probe 3 fails or the fielded interrupt. An then there is the >> 64 stray strange interrups on sio0.. > >Hmm. What IRQ is the PCIC in your system on? In the Sharp I'm using it >actually overlays IRQ 3 (thus making sio1, the IRDA port, unreachable 8( ) Yuk. From the rather meager doc, it appears to be software configurable. I have compiled the pccard driver to use IRQ 10. The kernel does appear to be functioning correctly in this respect. Card insertions and removals are recognized. I will play around with this a bit. Many thanks, Mark From owner-freebsd-mobile Fri Jun 28 14:57:27 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02369 for mobile-outgoing; Fri, 28 Jun 1996 14:57:27 -0700 (PDT) Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.110.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA02364 for ; Fri, 28 Jun 1996 14:57:25 -0700 (PDT) Received: from munin.fnal.gov ("port 2206"@munin.fnal.gov) by FNAL.FNAL.GOV (PMDF V5.0-5 #3998) id <01I6G6SW3106000EW5@FNAL.FNAL.GOV>; Fri, 28 Jun 1996 16:56:48 -0600 (CST) Received: from localhost.fnal.gov by munin.fnal.gov (8.7.3/SMI-4.1-m) id QAA18557; Fri, 28 Jun 1996 16:55:35 -0500 (CDT) Date: Fri, 28 Jun 1996 16:54:51 -0500 From: Matt Crawford Subject: Re: roamabout driver pointer In-reply-to: "23 Jun 1996 19:04:02 -0000." <"199606231904.TAA03563"@whydos.lkg.dec.com> To: Matt Thomas Cc: ekr@terisa.com, jrb@CS.PDX.EDU, mobile@FREEBSD.org Message-id: <199606282155.QAA18557@munin.fnal.gov> Content-transfer-encoding: 7BIT X-Face: /RKQi"kntyd}7l)d8n%'Dum<~(aMW3,5g&'NiH5I4Jj|wT:j;Qa$!@A<~/*C:{:MmAQ:o%S /KKi}G4_.||4I[9!{%3]Hd"a*E{ #include #include + #ifdef INET6 + #include + #endif #endif #ifdef NS *************** *** 1839,1844 **** --- 1842,1855 ---- arp_ifinit((struct arpcom *)ifp, ifa); splx(opri); break; + #ifdef INET6 + case AF_INET6: + opri = splimp(); + arp_ifinit((struct arpcom *)ifp, ifa); + splx(opri); + ndp6_ifinit(&wlp_ac[unit], ifa); + break; + #endif /* INET6 */ #endif #ifdef NS case AF_NS: