From owner-freebsd-mobile Sun Dec 8 22:17:31 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA07173 for mobile-outgoing; Sun, 8 Dec 1996 22:17:31 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id WAA07164 for ; Sun, 8 Dec 1996 22:17:28 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id QAA07837; Mon, 9 Dec 1996 16:47:18 +1030 (CST) From: Michael Smith Message-Id: <199612090617.QAA07837@genesis.atrad.adelaide.edu.au> Subject: Re: Installation: still not perfect In-Reply-To: <199612051555.QAA18105@freebie.lemis.de> from Greg Lehey at "Dec 5, 96 04:30:23 pm" To: grog@lemis.de (Greg Lehey) Date: Mon, 9 Dec 1996 16:47:18 +1030 (CST) Cc: mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Greg Lehey stands accused of saying: > > > These aren't available on the normal boot floppy for space reasons. > > Then there should be another boot floppy. I know, there are good > reasons to oppose this, but it shouldn't be at the expense of not > being able to install on certain configurations. I think that an > ethernet-based install on a laptop should be relatively common. This is the PAO boot floppy. Those few of us? them? that have the gear to test this sort of thing often don't have the time 8( > I have two cards: one is the 3C589C, which I can't configure because > the diagnostic doesn't work. It seems that there might have been card You should be able to get the diagnostic off 3com's FTP site to work. > services installed on the machine before I wiped out the Windoze 95% > partition, but they didn't give me a diskette, and it seems that card > services relate to the machine and not the board, so I don't have any > card services at all any more. Without card services, the diagnostic > just doesn't run. If somebody out there can send me a copy of > CardWizard or whatever for the AcerNote Light, I'd be grateful. I seem to recall that the 3c589 diagnostics have to be run _without_ any Card Services drivers in place. If you really need that sort of thing though, we have a pile of "generic" Card Services disks here that came with some PCC modems we bought that I could squirt your way. > There's also a very minimal "manual" (a folded sheet of paper) which > tells me that it has drivers for every machine under the Sun, is > Ethernet compliant, has a 16 kB data buffer. I've tried booting with > the PAO boot floppy, and it recognizes the card, but claims it can't > find card type (from memory) " ()" in the card database. This also > happens, including the same name, with the 3C589, so I assume this > doesn't relate to the board. If you build a kernel with PCCARD support (pcic0 and crd0 per LINT), make the /dev/card0 and /dev/card1 devices (50/0, 50/1), and then say 'pccardc dumpcis', you should be able to find the manufacturer and version strings. For some stupid reason, 'pccardd' only mentions the manuf. string when it can't find a card in the database, and it seems that more than a few don't actually put anything there at all. > If your fixes will work on -current, tell me about them. I'm > currently interfacing via PLIP (which, to my surprise, gets FTP > transfers at about 58 kB/s, but seems to have trouble with NFS), so I > can try it out easily enough. I am currently running 2.2-ALPHA unmodified on my NE2000-compatible PCCARD; the 'ed' driver now correctly probes for both NE-style and WD-style PCCARDS. I have a very simple /etc/pccard.conf : # Generally available IO ports io 0x340-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 5 10 # Available memory slots memory 0xd0000 64k # Accton 2216 card "ACCTON" "EN2216-PCMCIA-ETHER" config 0x22 "ed0" 5 0x10 ether 0x1c0 insert /etc/pccard_ether ed0 remove /sbin/ifconfig ed0 delete # X-Streama modem card " " "X-Streama" config 0x22 "sio1" 10 insert echo Ouch, another crappy modem card... remove echo and don't come back... You'll notice that the modem card has an empty Manufacturer string... Sorry about being so slow with this reply; please let me know how you go. > Greg -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Mon Dec 9 02:38:37 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA27388 for mobile-outgoing; Mon, 9 Dec 1996 02:38:37 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id CAA27382 for ; Mon, 9 Dec 1996 02:38:34 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id VAA09371; Mon, 9 Dec 1996 21:08:22 +1030 (CST) From: Michael Smith Message-Id: <199612091038.VAA09371@genesis.atrad.adelaide.edu.au> Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612090927.BAA00316@precipice.shockwave.com> from Paul Traina at "Dec 9, 96 01:27:36 am" To: pst@shockwave.com (Paul Traina) Date: Mon, 9 Dec 1996 21:08:21 +1030 (CST) Cc: mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Paul Traina stands accused of saying: > I'm at IETF and I've just brought up -current on my laptop and am > running into a bit of a jam. pccardd is recognising my card and > configuration, but then giving me an allocation error. Are you using stock -current. or have you added the PAO patches over the top? > Sigh. 2 days getting FreeBSD installed and now my brain is totally fried. > Can you/anyone shed some light? > > My .conf files reads: > > card "PMX " "PE-200" > config 0x1 "ed0" 11 > ether 0xff0 Try removing the "ether" line if you are running stock -current. This tells the PAO code to look in the CIS for the hardware address, while my modifications to the 'ed' driver dig it out from the normal location hung off the 8390 as per the NE-2000. > When I insert the card: > > Code 240 not found I've never seen this message before. Try paring your /etc/pccardd.conf file right down to the bone, in case this is a syntax error there. > I've set up ed0 and ed1 in my kernel config as follows (just in case the > card wanted to be at fixed places or have fixed irq's): As long as you have a message coming up after the 'ed0' signon saying "pccard driver ed0 added", there's a free 'ed' device for the card probe to attach to. > Version = 4.1, Manuf = [PMX ],card vers = [PE-200] That's the only really critical bit at this point, and it looks OK. You could also look at the ed_probe_pccard() function in /sys/i386/isa/if_ed.c, and add a few quick debugging printfs to see whether the NE2000 probe is being called and whether it is finding the card. Also check that the resources you advertise at the top of /etc/pccardd.cond actually match those available in your system. Keep in touch 8) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Mon Dec 9 03:06:35 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA28645 for mobile-outgoing; Mon, 9 Dec 1996 03:06:35 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id DAA28640 for ; Mon, 9 Dec 1996 03:06:31 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vX3X9-000QXSC; Mon, 9 Dec 96 12:06 MET Received: (grog@localhost) by freebie.lemis.de (8.8.4/8.6.12) id MAA05173; Mon, 9 Dec 1996 12:05:54 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199612091105.MAA05173@freebie.lemis.de> Subject: Re: Installation: still not perfect In-Reply-To: <199612090617.QAA07837@genesis.atrad.adelaide.edu.au> from Michael Smith at "Dec 9, 96 04:47:18 pm" To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Mon, 9 Dec 1996 12:05:53 +0100 (MET) Cc: freebsd-mobile@FreeBSD.org (FreeBSD mobile Mailing List) X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Michael Smith writes: > Greg Lehey stands accused of saying: >> >>> These aren't available on the normal boot floppy for space reasons. >> >> Then there should be another boot floppy. I know, there are good >> reasons to oppose this, but it shouldn't be at the expense of not >> being able to install on certain configurations. I think that an >> ethernet-based install on a laptop should be relatively common. > > This is the PAO boot floppy. Those few of us? them? that have the > gear to test this sort of thing often don't have the time 8( I don't really even care if they test them, but it should be possible to put the floppy on the CD. >> I have two cards: one is the 3C589C, which I can't configure because >> the diagnostic doesn't work. It seems that there might have been card > > You should be able to get the diagnostic off 3com's FTP site to work. No. From my (angered) message to 3Com: > After installing the target operating system (UNIX) on the notebook, > the diagnostic does not work at all. It stops immediately with the > message > > Can't Run Install, files missing. Make sure you have INSTALL.EXE, INST1.SAC > and STRINGS.BIN in your directory (-1, 2) > > These files are, of course, all there, on the original, > write-protected diskette. I re-created a second diskette from the > backup, and I downloaded the file 3C589.EXE from your web site, but > the results were the same. > > I suspect that the problem lies in another bug I have observed: the > diagnostic program is unbelievably slow. To get as far as starting > a test takes about two minutes, while the program tries to emulate > Windows 95, redrawing the screen endlessly at a snail's pace. While > doing so, it frequently accesses the hard disk, something that it > should have no reason to do. The message mentioned above first > occurred after installing UNIX on the hard disk, after which point > it presumably didn't find something it thought it should look for. > > This kind of software is useless. I can't imagine that you use it > yourselves. If your customer base is of interest to you, please > reply and tell me where I can find a real diagnostic program. I've since had a reply and a toll-free number from 3Com. I called the toll-free number, and they took lots of information and promised to ring back. I'll be interested to see what they have to say. >> services installed on the machine before I wiped out the Windoze 95% >> partition, but they didn't give me a diskette, and it seems that card >> services relate to the machine and not the board, so I don't have any >> card services at all any more. Without card services, the diagnostic >> just doesn't run. If somebody out there can send me a copy of >> CardWizard or whatever for the AcerNote Light, I'd be grateful. > > I seem to recall that the 3c589 diagnostics have to be run _without_ > any Card Services drivers in place. No, this isn't correct. They say they should be in place (*stupid*). The diagnostic prints an error message and attempts to continue if they are not, but it will fail unless you first write the configuration before running the test. > If you really need that sort of thing though, we have a pile of > "generic" Card Services disks here that came with some PCC modems we > bought that I could squirt your way. I'm looking for something for an AcerNote Light. According to the documentation, it's called CardWizard. Anybody have it? >> There's also a very minimal "manual" (a folded sheet of paper) which >> tells me that it has drivers for every machine under the Sun, is >> Ethernet compliant, has a 16 kB data buffer. I've tried booting with >> the PAO boot floppy, and it recognizes the card, but claims it can't >> find card type (from memory) " ()" in the card database. This also >> happens, including the same name, with the 3C589, so I assume this >> doesn't relate to the board. > > If you build a kernel with PCCARD support (pcic0 and crd0 per LINT), > make the /dev/card0 and /dev/card1 devices (50/0, 50/1), and then say > 'pccardc dumpcis', you should be able to find the manufacturer and > version strings. Good information. Is it written down anywhere? I've just checked the FAQ, and it looks like I'm missing some important information which the FAQ assumes. I'll add the information to "The (now even more) Complete FreeBSD". Anyway, I didn't have the /dev/card? devices, so I created them. I also created an /etc/pccard.conf, with an entry for the 3C589C from the laptop survey, and started pccardd, then: === root@papillon (/dev/ttyp0) /etc 139 -> pccardc dumpcis Configuration data for card in slot 0 Tuple #1, code = 0xff (Terminator), length = 0 Configuration data for card in slot 1 Tuple #1, code = 0xff (Terminator), length = 0 2 slots found === root@papillon (/dev/ttyp0) /etc 145 -> pccardc enabler 0 ep0 -a 0x300 -i 10 drv ep0, mem 0x0, size 0, io 768, irq 0x400, flags 0x0 set driver: Device not configured === root@papillon (/dev/ttyp0) /etc 146 -> pccardc pccardmem PCCARD Memory address set to 0xd0000 === root@papillon (/dev/ttyp0) /etc 147 -> pccardc rdmap Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x014 port 0x300 size 32 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes === root@papillon (/dev/ttyp0) /etc 148 -> pccardc rdreg Registers for slot 0 00: 82 ff d0 60 00 3f 60 02 00 03 1f 03 00 00 00 00 10: 00 00 00 00 00 00 01 80 00 00 00 00 00 00 00 fc 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Registers for slot 1 00: 82 ff d0 60 00 3f 20 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 01 80 00 00 00 00 00 00 00 3c 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I get the feeling that there is some memory conflict in the notebook, but before I wiped Windog 95% it ran the diagnostic correctly modulo the problems with the config. Does anybody have any ideas? Here's the pccard.conf entry: # 3Com Etherlink III 3C589B, 3C589C card "3Com Corporation" "3C589" config 0x1 "ep0" 10 insert echo 3Com Etherlink III inserted insert /etc/pccard_ether $device remove echo 3Com Etherlink III removed remove /etc/pccard_ether_remove $device BTW, two problems about this entry: first, I don't find any file called pccard_ether_remove, and secondly the original 'config' line contained the keyword 'default', which pccardd definitely did not like. I'm running 3.0-current as of Friday, so I wouldn't think my pccardd is too old. In general, I think my strategy should be: 1. Find out whether the information from pccard makes sense. You guys can help me on that one. 2. Find out what the manufacturer string is for the second card (for the benefit of those who haven't seen the beginning of the thread, the sum total of manufacturer information on this board is "Made in Taiwan R.O.C." and "P/N: 18-0A040BC S/N: QK007360". The diagnostic looks like it's for an NE2000 clone. 3. See if I can enable either card. If anybody has any other suggestions, I'd be glad to hear of them. I'd also be interested to hear from anybody running an AcerNote Light. Greg From owner-freebsd-mobile Mon Dec 9 05:57:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA03911 for mobile-outgoing; Mon, 9 Dec 1996 05:57:24 -0800 (PST) Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA03906 for ; Mon, 9 Dec 1996 05:57:20 -0800 (PST) Received: from Gmarco (ts1port6d.masternet.it [194.184.65.28]) by scotty.masternet.it (8.7.5/8.7.3) with SMTP id OAA15487; Mon, 9 Dec 1996 14:56:26 +0100 (MET) Message-Id: <3.0.32.19961209145136.00683bcc@scotty.masternet.it> X-Sender: gmarco@scotty.masternet.it X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Mon, 09 Dec 1996 14:52:40 +0100 To: Greg Lehey From: Gianmarco Giovannelli Subject: Re: Installation: still not perfect Cc: msmith@atrad.adelaide.edu.au (Michael Smith), freebsd-mobile@freebsd.org (FreeBSD mobile Mailing List) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 12.05 09/12/96 +0100, Greg Lehey wrote: >>> just doesn't run. If somebody out there can send me a copy of >>> CardWizard or whatever for the AcerNote Light, I'd be grateful. I have a copy of system soft cardwizard that I received with my Oyster Brahama, who need it ? I am lost in the chain of replies.... :-) >> I seem to recall that the 3c589 diagnostics have to be run _without_ >> any Card Services drivers in place. Nope, My card 3com 3c589c isn't found without card services. When they are in, it is found the 3com setup software said to me it can change the parameter, but they will not work until card service is running... Btw mine defaults settings were 0x300, irq 10. I spoke with 3com tech support in Netherland, but they seem don't know anything else that windows 95 :-( >I'm looking for something for an AcerNote Light. According to the >documentation, it's called CardWizard. Anybody have it? I'll send you a copy of mine, any other persons need it ... It is to big (976kb zip file) to put it on the list, I suppose... Regards... +-------------------------------------+--------------------+ | Internet: gmarco@masternet.it | ,,, | | Internet: gmarco@fi.nettuno.it | (o o) | | http://www2.masternet.it/~gmarco | ---oo0-(_)-0oo--- | | http://www2.masternet.it/ | Gianmarco | +-------------------------------------+--------------------+ From owner-freebsd-mobile Mon Dec 9 06:32:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA05512 for mobile-outgoing; Mon, 9 Dec 1996 06:32:38 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id GAA05506 for ; Mon, 9 Dec 1996 06:32:34 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vX6ko-000QY9C; Mon, 9 Dec 96 15:32 MET Received: (grog@localhost) by freebie.lemis.de (8.8.4/8.6.12) id PAA06790; Mon, 9 Dec 1996 15:02:27 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199612091402.PAA06790@freebie.lemis.de> Subject: Re: Installation: still not perfect In-Reply-To: <3.0.32.19961209145136.00683bcc@scotty.masternet.it> from Gianmarco Giovannelli at "Dec 9, 96 02:52:40 pm" To: gmarco@scotty.masternet.it (Gianmarco Giovannelli) Date: Mon, 9 Dec 1996 15:02:26 +0100 (MET) Cc: freebsd-mobile@FreeBSD.org (FreeBSD mobile Mailing List) X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Gianmarco Giovannelli writes: > At 12.05 09/12/96 +0100, Greg Lehey wrote: >>>> just doesn't run. If somebody out there can send me a copy of >>>> CardWizard or whatever for the AcerNote Light, I'd be grateful. > > I have a copy of system soft cardwizard that I received with my Oyster > Brahama, who need it ? I am lost in the chain of replies.... :-) I do. >>> I seem to recall that the 3c589 diagnostics have to be run _without_ >>> any Card Services drivers in place. > > Nope, My card 3com 3c589c isn't found without card services. When they are > in, it is found the 3com setup software said to me it can change the > parameter, but they will not work until card service is running... Btw > mine defaults settings were 0x300, irq 10. That ties in with what I saw. > I spoke with 3com tech support in Netherland, but they seem don't know > anything else that windows 95 :-( I was afraid of that. I'll report if they ever call me back. >> I'm looking for something for an AcerNote Light. According to the >> documentation, it's called CardWizard. Anybody have it? > > I'll send you a copy of mine, any other persons need it ... It is to big > (976kb zip file) to put it on the list, I suppose... That's big for a .zip file of a floppy. Or is it several? Why not ftp it to ftp://freefall.freebsd.org/pub/incoming/cardwizard.zip? Alternatively, if you can give me an URL, I can pick it up. Thanks in advance Greg From owner-freebsd-mobile Mon Dec 9 07:09:15 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA08319 for mobile-outgoing; Mon, 9 Dec 1996 07:09:15 -0800 (PST) Received: from edelweb.fr (edelweb.fr [193.51.12.16]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id HAA08311 for ; Mon, 9 Dec 1996 07:09:09 -0800 (PST) Received: from champagne.edelweb.fr (champagne.edelweb.fr [193.51.14.161]) by edelweb.fr (8.7.5/8.6.9) with ESMTP id QAA22636; Mon, 9 Dec 1996 16:03:44 +0100 (MET) Received: from mercier.gctech.edelweb.fr (mercier.gctech.edelweb.fr [193.51.14.7]) by champagne.edelweb.fr (8.6.10/8.6.6) with ESMTP id QAA13871; Mon, 9 Dec 1996 16:03:43 +0100 Received: from localhost (ben@localhost) by mercier.gctech.edelweb.fr (8.6.10/8.6.6) with SMTP id QAA07342; Mon, 9 Dec 1996 16:03:43 +0100 Date: Mon, 9 Dec 1996 16:03:43 +0100 (MET) From: Ben X-Sender: ben@mercier.gctech.edelweb.fr To: Greg Lehey cc: Gianmarco Giovannelli , FreeBSD mobile Mailing List Subject: Re: Installation: still not perfect In-Reply-To: <199612091402.PAA06790@freebie.lemis.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > Nope, My card 3com 3c589c isn't found without card services. When they are > > in, it is found the 3com setup software said to me it can change the > > parameter, but they will not work until card service is running... Btw > > mine defaults settings were 0x300, irq 10. > > That ties in with what I saw. My 3c589B with a Thinkpad 701 is seen by 3c589cfg after a perfectly clean boot to DOS 6.0. Ben. hmmm..This is really a European thread isn't it? ____ Ben Samman.................................................ben@edelweb.fr Paris, France Illudium Q36 Explosive Space Modulator From owner-freebsd-mobile Mon Dec 9 08:20:18 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA13248 for mobile-outgoing; Mon, 9 Dec 1996 08:20:18 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id IAA13132 for ; Mon, 9 Dec 1996 08:19:57 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vX8Qf-000QXzC; Mon, 9 Dec 96 17:19 MET Received: (grog@localhost) by freebie.lemis.de (8.8.4/8.6.12) id QAA18000; Mon, 9 Dec 1996 16:35:17 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199612091535.QAA18000@freebie.lemis.de> Subject: Re: Installation: still not perfect In-Reply-To: from Ben at "Dec 9, 96 04:03:43 pm" To: ben@edelweb.fr (Ben) Date: Mon, 9 Dec 1996 16:35:17 +0100 (MET) Cc: freebsd-mobile@FreeBSD.org (FreeBSD mobile Mailing List) X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Ben writes: >>> Nope, My card 3com 3c589c isn't found without card services. When they are >>> in, it is found the 3com setup software said to me it can change the >>> parameter, but they will not work until card service is running... Btw >>> mine defaults settings were 0x300, irq 10. >> >> That ties in with what I saw. > > My 3c589B with a Thinkpad 701 is seen by 3c589cfg after a perfectly clean > boot to DOS 6.0. Sounds interesting. What diagnostic software do you have? I have: /allegro/home/src/flop/Diag/3c589: total 556 drwxrwxrwx 2 root wheel 512 Dec 4 09:59 . drwxrwxrwx 5 root wheel 512 Dec 9 12:20 .. -rw-rw-rw- 1 root wheel 47872 May 13 1996 3c589.com -rw-rw-rw- 1 root wheel 514 Aug 10 1995 3c589.ins -rw-rw-rw- 1 root wheel 155501 Sep 12 1995 3c589cfg.exe -rw-rw-rw- 1 root wheel 6587 Aug 11 1995 autolink.cfg -rw-rw-rw- 1 root wheel 19511 Sep 13 1995 autolink.exe -rw-rw-rw- 1 root wheel 279394 Sep 12 1995 inst1.sac -rw-rw-rw- 1 root wheel 12288 Sep 12 1995 install.exe -rw-rw-rw- 1 root wheel 861 Aug 11 1995 oemsetup.inf -rw-rw-rw- 1 root wheel 6722 Sep 20 1995 readme.txt -rw-rw-rw- 1 root wheel 11101 Sep 12 1995 strings.bin If you have something else (in particular, the files install.exe, inst1.sac, strings.bin, and 3c589.com seem important), please let me know. > hmmm..This is really a European thread isn't it? Mike's in Australia. I wouldn't think so. Greg From owner-freebsd-mobile Mon Dec 9 10:17:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA19607 for mobile-outgoing; Mon, 9 Dec 1996 10:17:23 -0800 (PST) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id KAA19599; Mon, 9 Dec 1996 10:17:05 -0800 (PST) Received: from precipice.shockwave.com (ppp-206-170-5-206.rdcy01.pacbell.net) by mail.crl.com with SMTP id AA21591 (5.65c/IDA-1.5); Mon, 9 Dec 1996 10:17:31 -0800 Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.4/8.7.3) with ESMTP id KAA01333; Mon, 9 Dec 1996 10:04:26 -0800 (PST) Message-Id: <199612091804.KAA01333@precipice.shockwave.com> To: Michael Smith , Andrew.Gordon@net-tel.co.uk, nate@freebsd.org Cc: mobile@freebsd.org, hackers@freebsd.org, pst@jnx.com Subject: Re: need help with a PC CARD NE2000 clone... Date: Mon, 09 Dec 1996 10:04:26 -0800 From: Paul Traina Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [This is a response to Michael and Andrew's suggestions (thanks) with a comprehensive debugging session and some observations about the dumpcis output at the end.] > Are you using stock -current. or have you added the PAO patches over the top? -current > Try removing the "ether" line if you are running stock -current. This > tells the PAO code to look in the CIS for the hardware address, while > my modifications to the 'ed' driver dig it out from the normal > location hung off the 8390 as per the NE-2000. Tried both ways. > > Code 240 not found > I've never seen this message before. Try paring your /etc/pccardd.conf > file right down to the bone, in case this is a syntax error there. Tried it. > > I've set up ed0 and ed1 in my kernel config as follows (just in case the > > card wanted to be at fixed places or have fixed irq's): > > As long as you have a message coming up after the 'ed0' signon saying > "pccard driver ed0 added", there's a free 'ed' device for the card probe to > attach to. Yep, that's OK. It seems to be bailing out long before we even play driver games. > I can't find an "allocate_memory" in any of the -current pccard-related > sources, so I have to assume that you've applied the PAO patches. No, I did /not/. Sorry, gdb trace will explain all > Note that if this really is an NE2000 clone, it doesn't need any > memory address space (the on-card RAM is driven by i/o) - unlike some > of the other cards supported by the ed driver. Yeah, I agree. Why does it have two blocks of memory? > On the other hand, the card claims to have memory on it (from dumpcis). > Perhaps its an "enhanced" NE2000 which can be memory-addressed in > some proprietary way? This could cause confusion, where pccardd > knows the card has memory and that ed usually wants to use memory, > but in this case has probed it as an NE2000 and decided that it > doesn't need any. I agree with you, but it's bailing long before it even decides to play ed0 games (I think). It's failing in assign_io() which is calling the memory alloc block check routine with 1024 bytes, which is smaller than MEMUNIT. urk? Here are all the details.... I did some more debugging on my ethernet card problem. It looks like we're failing long before we even start to play driver games. To recap, here's the data, plus a gdb trace: # cat /etc/pccard.conf # Sample PCCARD configuration file # # Removing all IRQ conflicts from this file can't be done because of some # IRQ-selfish PC-cards. So if you want to use some of these cards in # your machine, you will be forced to modify their IRQ parameters from # the following list. # # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # # $Id: pccard.conf.sample,v 1.4 1996/06/19 01:28:07 nate Exp $ # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 5 10 11 13 15 # Available memory slots memory 0xd0000 96k (I've tried this at d4000) card "PMX " "PE-200" config 0x1 "ed0" 11 # ether 0xff0 (I've tried it with & without) insert echo PMX PE-200 Ethernet inserted insert /etc/pccard_ether ed0 remove echo PMX PE-200 Ethernet removed remove /sbin/ifconfig ed0 delete dmesg: Copyright (c) 1992-1996 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2-961208-SNAP #1: Mon Dec 9 00:40:47 1996 root@foo.shockwave.com:/usr/src/sys/compile/LAP Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193312 Hz CPU: i486DX (486-class CPU) real memory = 8388608 (8192K bytes) FreeBSD Kernel Configuration Utility - Version 1.1 Type "help" for help or "visual" to go to the visual configuration interface (requires MGA/VGA display or serial terminal capable of displaying ANSI graphics). config> ls Device port irq drq iomem iosize unit flags enabled fdc0 0x3f0 6 2 0x0 0 0 0x0 Yes wdc0 0x1f0 14 -1 0x0 0 0 0x80ff80ff Yes sc0 0x60 1 -1 0x0 0 0 0x0 Yes sio0 0x3f8 4 -1 0x0 0 0 0x0 Yes sio1 0x2f8 3 -1 0x0 0 1 0x0 Yes pca0 0x40 -1 -1 0x0 0 0 0x0 Yes lpt0 0xffffffff 7 -1 0x0 0 0 0x0 Yes psm0 0x60 12 -1 0x0 0 0 0x0 Yes ed0 0x300 11 -1 0xd8000 0 0 0x0 Yes ed1 0x310 5 -1 0xd8000 0 1 0x0 Yes npx0 0xf0 13 -1 0x0 0 0 0x0 Yes apm0 0x0 -1 -1 0x0 0 0 0x0 Yes config> iomem ed0 0xd4000 config> ls Device port irq drq iomem iosize unit flags enabled fdc0 0x3f0 6 2 0x0 0 0 0x0 Yes wdc0 0x1f0 14 -1 0x0 0 0 0x80ff80ff Yes sc0 0x60 1 -1 0x0 0 0 0x0 Yes sio0 0x3f8 4 -1 0x0 0 0 0x0 Yes sio1 0x2f8 3 -1 0x0 0 1 0x0 Yes pca0 0x40 -1 -1 0x0 0 0 0x0 Yes lpt0 0xffffffff 7 -1 0x0 0 0 0x0 Yes psm0 0x60 12 -1 0x0 0 0 0x0 Yes ed0 0x300 11 -1 0xd4000 0 0 0x0 Yes ed1 0x310 5 -1 0xd8000 0 1 0x0 Yes npx0 0xf0 13 -1 0x0 0 0 0x0 Yes apm0 0x0 -1 -1 0x0 0 0 0x0 Yes config> q avail memory = 6819840 (6660K bytes) PC-Card Intel 82365 (5 mem & 2 I/O windows) pcic: controller irq 3 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> pccard driver ed added ed0 not found at 0x300 ed1: disabled, not probed. pccard driver sio added sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 not found at 0x2f8 pca0 on motherboard pca0: PC speaker audio driver lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0, 2 buttons? fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa wdc0: unit 0 (wd0): , multi-block-16 wd0: 516MB (1058400 sectors), 1050 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.1 Card inserted, slot 1 # cat /etc/motd FreeBSD 2.2-961208-SNAP (LAP) #1: Mon Dec 9 00:40:47 1996 (-current as of yesterday, no PAO patches) # gdb pccardd GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... (gdb) break assign_io Breakpoint 1 at 0x1b39: file cardd.c, line 464. (gdb) run -d -v Starting program: /usr/src/usr.sbin/pccard/pccardd/pccardd -d -v Card manuf PMX , vers PE-200 Configuration entries: Index code = 0x1, driver name = ed0 Insert commands are: echo PMX PE-200 Ethernet inserted /etc/pccard_ether ed0 Remove commands are: echo PMX PE-200 Ethernet removed /sbin/ifconfig ed0 delete Code 240 not found Code 240 not found code Unknown ignored Breakpoint 1, assign_io (sp=0x19100) at cardd.c:464 464 cis = sp->cis; (gdb) n 465 defconf = cis->def_config; (gdb) print *cis $1 = {tlist = 0x18160, manuf = "PMX ", '\000' , vers = "PE-200", '\000' , add_info1 = "ETHERNET", '\000' , add_info2 = "R01", '\000' , maj_v = 4 '\004', min_v = 1 '\001', last_config = 1 '\001', ccrs = 1 '\001', reg_addr = 256, attr_mem = {valid = 1 '\001', type = 5 '\005', speed = 3 '\003', wps = 0 '\000', addr = 0 '\000', units = 1 '\001'}, common_mem = { valid = 1 '\001', type = 13 '\r', speed = 4 '\004', wps = 1 '\001', addr = 0 '\000', units = 3 '\003'}, def_config = 0x1d080, conf = 0x1d080} (gdb) n 466 for (cisconf = cis->conf; cisconf; cisconf = cisconf->next) (gdb) n 467 if (cisconf->id == sp->config->index) (gdb) print *cisconf $2 = {next = 0x0, pwr = 0, timing = 0, iospace = 1, irq = 1, memspace = 1, misc_valid = 0, id = 1 '\001', io_blks = 2 '\002', io_addr = 10 '\n', io_bus = 2 '\002', io = 0x1a1c0, irqlevel = 0 '\000', irq_flags = 48 '0', irq_mask = 48892, memwins = 2 '\002', mem = 0x1a1e0, misc = 0 '\000'} (gdb) print *sp $3 = {next = 0x19080, fd = 8, mask = 0, slot = 1, name = 0x1a0d0 "/dev/card1", state = filled, cis = 0x19180, card = 0x180a0, config = 0x180c0, card_config = 0x0, devname = '\000' , eaddr = "\000\000\000\000\000", io = {next = 0x0, addr = 0, size = 0, flags = 0, cardaddr = 0}, mem = {next = 0x0, addr = 0, size = 0, flags = 0, cardaddr = 0}, irq = 0} (gdb) print *sp->config $4 = {next = 0x0, index = 1 '\001', driver = 0x180e0, irq = 11, flags = 0, inuse = 1 '\001'} (gdb) n 469 if (cisconf == 0) (gdb) n 471 sp->card_config = cisconf; (gdb) n 477 if (cisconf->memspace || (defconf && defconf->memspace)) { (gdb) n 480 mp = cisconf->mem; (gdb) print cisconf->memspace $5 = 1 (gdb) print defconf $6 = (struct cis_config *) 0x1d080 (gdb) print defconf->memspace $7 = 1 (gdb) print cisconf $8 = (struct cis_config *) 0x1d080 NOTE: cisconf and defconf are the same??? (gdb) n 481 if (!cisconf->memspace) (gdb) n 483 sp->mem.size = mp->length; (gdb) n 484 sp->mem.cardaddr = mp->address; (gdb) n 487 sp->mem.addr = sp->config->driver->mem; (gdb) n 492 if (sp->mem.size && sp->mem.addr == 0) { (gdb) print *sp $9 = {next = 0x19080, fd = 8, mask = 0, slot = 1, name = 0x1a0d0 "/dev/card1", state = filled, cis = 0x19180, card = 0x180a0, config = 0x180c0, card_config = 0x1d080, devname = '\000' , eaddr = "\000\000\000\000\000", io = {next = 0x0, addr = 0, size = 0, flags = 0, cardaddr = 0}, mem = {next = 0x0, addr = 0, size = 1024, flags = 0, cardaddr = 0}, irq = 0} NOTE: why is sp->mem.size == 1024? <---------------------------- (gdb) n 493 sp->mem.addr = alloc_memory(mp->length); (gdb) s alloc_memory (size=-272639028) at util.c:125 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); (gdb) print *mem_avail @200 (oops, should have just printed 12 bytes) $10 = {"\000\000\000\000\000\000\000\000\000\000\000\000\000PMX \000\000\000\000\000\000\000\000\000\000PE-200\000\000\000\000\000\000\000\000\000\000ed0", '\000' , "ed", '\000' , "\220 \001\000\000P\001", '\000' , " \201\001\000\000\000\000\000\000\000\000\0000 \001\000@P\001", '\000' , "@\201\001\000\000\000\000\000\000\000\000\000/dev/card0\000\000\000\000\000\000/dev/card1\000\000\000\000\000\000\000!\001\000\001\000\000\000\003\000\000\000p \001\000\\003\000\000\000\000"} (gdb) s bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:106 106 int found = 0; (gdb) where #0 bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:106 #1 0x341f in alloc_memory (size=1024) at util.c:125 #2 0x1bb6 in assign_io (sp=0x19100) at cardd.c:493 #3 0x18b5 in card_inserted (sp=0x19100) at cardd.c:323 #4 0x1696 in slot_change (sp=0x19100) at cardd.c:246 #5 0x15ec in readslots () at cardd.c:216 #6 0x1257 in main (argc=3, argv=0xefbfdd04) at cardd.c:105 (gdb) up #1 0x341f in alloc_memory (size=1024) at util.c:125 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); (gdb) print size $12 = 1024 (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) print nbits $13 = 96 (gdb) n 109 if (bit_test(nm, i)) { (gdb) print 96 / 8 $14 = 12 (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) print i $15 = 0 (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) print i $16 = 6 (gdb) fin Run till exit from #0 bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:108 0x341f in alloc_memory (size=1024) at util.c:125 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); Value returned is $17 = -1 (gdb) n 126 if (i < 0) (gdb) n 127 return (0); (gdb) n 130 } (gdb) n assign_io (sp=0x19100) at cardd.c:494 494 if (sp->mem.addr == 0) (gdb) print sp->mem.addr $18 = 0 (gdb) n 536 return (-1); (gdb) c Continuing. cardd: Resource allocation failure for PMX Here's the pccardc dumpcis output again (look where I put arrows): Code 240 not found Code 240 not found code Unknown ignored Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 03 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 32Kb, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 53 01 ff Attribute memory device information: Device number 1, type FLASH EEPROM, WPS = OFF Speed = 150nS, Memory block size = 2Kb, 1 units Tuple #3, code = 0x21 (Functional ID), length = 2 000: 06 03 Network/LAN adapter - POST initialize - Card has ROM Tuple #4, code = 0x15 (Version 1 info), length = 30 000: 04 01 50 4d 58 20 20 20 00 50 45 2d 32 30 30 00 010: 45 54 48 45 52 4e 45 54 00 52 30 31 00 ff Version = 4.1, Manuf = [PMX ],card vers = [PE-200] Addit. info = [ETHERNET],[R01] Tuple #5, code = 0x1a (Configuration map), length = 5 000: 01 01 00 01 01 Reg len = 2, config register addr = 0x100, last config = 0x1 Registers: X------- Tuple #6, code = 0x1b (Configuration entry), length = 25 000: c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04 010: 00 00 40 0d 40 40 00 40 0d Config index = 0x1(default) Interface byte = 0x81 (I/O) wait signal supported Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x10 I/O address # 2: block start = 0x310 block length = 0x10 IRQ modes: Level IRQs: 4 5 10 11 12 13 14 15 -> why? what could this be for? It's 1k long? -> Memory descriptor 1 -> blk length = 0x400 card addr = 0x000 host addr = 0xd4000 Memory descriptor 2 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 Tuple #7, code = 0x0 (Null tuple), length = 9 000: 57 42 20 4c 41 4e 20 20 ff Tuple #8, code = 0x14 (No link), length = 0 Tuple #9, code = 0xff (Terminator), length = 0 2 slots found From owner-freebsd-mobile Mon Dec 9 16:06:12 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA17020 for mobile-outgoing; Mon, 9 Dec 1996 16:06:12 -0800 (PST) Received: from precipice.shockwave.com (ppp-206-170-5-206.rdcy01.pacbell.net [206.170.5.206]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA16973; Mon, 9 Dec 1996 16:05:56 -0800 (PST) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.4/8.7.3) with ESMTP id QAA02009; Mon, 9 Dec 1996 16:04:56 -0800 (PST) Message-Id: <199612100004.QAA02009@precipice.shockwave.com> To: Michael Smith , Andrew.Gordon@net-tel.co.uk, nate@freebsd.org cc: mobile@freebsd.org, hackers@freebsd.org, pst@jnx.com Subject: Re: need help with a PC CARD NE2000 clone... Date: Mon, 09 Dec 1996 16:04:56 -0800 From: Paul Traina Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Appologies if this never made it out. I never received a copy at work and got no responses, so I'll try again. ------- Forwarded Message [This is a response to Michael and Andrew's suggestions (thanks) with a comprehensive debugging session and some observations about the dumpcis output at the end.] > Are you using stock -current. or have you added the PAO patches over the top? -current > Try removing the "ether" line if you are running stock -current. This > tells the PAO code to look in the CIS for the hardware address, while > my modifications to the 'ed' driver dig it out from the normal > location hung off the 8390 as per the NE-2000. Tried both ways. > > Code 240 not found > I've never seen this message before. Try paring your /etc/pccardd.conf > file right down to the bone, in case this is a syntax error there. Tried it. > > I've set up ed0 and ed1 in my kernel config as follows (just in case the > > card wanted to be at fixed places or have fixed irq's): > > As long as you have a message coming up after the 'ed0' signon saying > "pccard driver ed0 added", there's a free 'ed' device for the card probe to > attach to. Yep, that's OK. It seems to be bailing out long before we even play driver games. > I can't find an "allocate_memory" in any of the -current pccard-related > sources, so I have to assume that you've applied the PAO patches. No, I did /not/. Sorry, gdb trace will explain all > Note that if this really is an NE2000 clone, it doesn't need any > memory address space (the on-card RAM is driven by i/o) - unlike some > of the other cards supported by the ed driver. Yeah, I agree. Why does it have two blocks of memory? > On the other hand, the card claims to have memory on it (from dumpcis). > Perhaps its an "enhanced" NE2000 which can be memory-addressed in > some proprietary way? This could cause confusion, where pccardd > knows the card has memory and that ed usually wants to use memory, > but in this case has probed it as an NE2000 and decided that it > doesn't need any. I agree with you, but it's bailing long before it even decides to play ed0 games (I think). It's failing in assign_io() which is calling the memory alloc block check routine with 1024 bytes, which is smaller than MEMUNIT. urk? Here are all the details.... I did some more debugging on my ethernet card problem. It looks like we're failing long before we even start to play driver games. To recap, here's the data, plus a gdb trace: # cat /etc/pccard.conf # Sample PCCARD configuration file # # Removing all IRQ conflicts from this file can't be done because of some # IRQ-selfish PC-cards. So if you want to use some of these cards in # your machine, you will be forced to modify their IRQ parameters from # the following list. # # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # # $Id: pccard.conf.sample,v 1.4 1996/06/19 01:28:07 nate Exp $ # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 5 10 11 13 15 # Available memory slots memory 0xd0000 96k (I've tried this at d4000) card "PMX " "PE-200" config 0x1 "ed0" 11 # ether 0xff0 (I've tried it with & without) insert echo PMX PE-200 Ethernet inserted insert /etc/pccard_ether ed0 remove echo PMX PE-200 Ethernet removed remove /sbin/ifconfig ed0 delete dmesg: Copyright (c) 1992-1996 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2-961208-SNAP #1: Mon Dec 9 00:40:47 1996 root@foo.shockwave.com:/usr/src/sys/compile/LAP Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193312 Hz CPU: i486DX (486-class CPU) real memory = 8388608 (8192K bytes) FreeBSD Kernel Configuration Utility - Version 1.1 Type "help" for help or "visual" to go to the visual configuration interface (requires MGA/VGA display or serial terminal capable of displaying ANSI graphics). config> ls Device port irq drq iomem iosize unit flags enabled fdc0 0x3f0 6 2 0x0 0 0 0x0 Yes wdc0 0x1f0 14 -1 0x0 0 0 0x80ff80ff Yes sc0 0x60 1 -1 0x0 0 0 0x0 Yes sio0 0x3f8 4 -1 0x0 0 0 0x0 Yes sio1 0x2f8 3 -1 0x0 0 1 0x0 Yes pca0 0x40 -1 -1 0x0 0 0 0x0 Yes lpt0 0xffffffff 7 -1 0x0 0 0 0x0 Yes psm0 0x60 12 -1 0x0 0 0 0x0 Yes ed0 0x300 11 -1 0xd8000 0 0 0x0 Yes ed1 0x310 5 -1 0xd8000 0 1 0x0 Yes npx0 0xf0 13 -1 0x0 0 0 0x0 Yes apm0 0x0 -1 -1 0x0 0 0 0x0 Yes config> iomem ed0 0xd4000 config> ls Device port irq drq iomem iosize unit flags enabled fdc0 0x3f0 6 2 0x0 0 0 0x0 Yes wdc0 0x1f0 14 -1 0x0 0 0 0x80ff80ff Yes sc0 0x60 1 -1 0x0 0 0 0x0 Yes sio0 0x3f8 4 -1 0x0 0 0 0x0 Yes sio1 0x2f8 3 -1 0x0 0 1 0x0 Yes pca0 0x40 -1 -1 0x0 0 0 0x0 Yes lpt0 0xffffffff 7 -1 0x0 0 0 0x0 Yes psm0 0x60 12 -1 0x0 0 0 0x0 Yes ed0 0x300 11 -1 0xd4000 0 0 0x0 Yes ed1 0x310 5 -1 0xd8000 0 1 0x0 Yes npx0 0xf0 13 -1 0x0 0 0 0x0 Yes apm0 0x0 -1 -1 0x0 0 0 0x0 Yes config> q avail memory = 6819840 (6660K bytes) PC-Card Intel 82365 (5 mem & 2 I/O windows) pcic: controller irq 3 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> pccard driver ed added ed0 not found at 0x300 ed1: disabled, not probed. pccard driver sio added sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 not found at 0x2f8 pca0 on motherboard pca0: PC speaker audio driver lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0, 2 buttons? fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa wdc0: unit 0 (wd0): , multi-block-16 wd0: 516MB (1058400 sectors), 1050 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.1 Card inserted, slot 1 # cat /etc/motd FreeBSD 2.2-961208-SNAP (LAP) #1: Mon Dec 9 00:40:47 1996 (-current as of yesterday, no PAO patches) # gdb pccardd GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... (gdb) break assign_io Breakpoint 1 at 0x1b39: file cardd.c, line 464. (gdb) run -d -v Starting program: /usr/src/usr.sbin/pccard/pccardd/pccardd -d -v Card manuf PMX , vers PE-200 Configuration entries: Index code = 0x1, driver name = ed0 Insert commands are: echo PMX PE-200 Ethernet inserted /etc/pccard_ether ed0 Remove commands are: echo PMX PE-200 Ethernet removed /sbin/ifconfig ed0 delete Code 240 not found Code 240 not found code Unknown ignored Breakpoint 1, assign_io (sp=0x19100) at cardd.c:464 464 cis = sp->cis; (gdb) n 465 defconf = cis->def_config; (gdb) print *cis $1 = {tlist = 0x18160, manuf = "PMX ", '\000' , vers = "PE-200", '\000' , add_info1 = "ETHERNET", '\000' , add_info2 = "R01", '\000' , maj_v = 4 '\004', min_v = 1 '\001', last_config = 1 '\001', ccrs = 1 '\001', reg_addr = 256, attr_mem = {valid = 1 '\001', type = 5 '\005', speed = 3 '\003', wps = 0 '\000', addr = 0 '\000', units = 1 '\001'}, common_mem = { valid = 1 '\001', type = 13 '\r', speed = 4 '\004', wps = 1 '\001', addr = 0 '\000', units = 3 '\003'}, def_config = 0x1d080, conf = 0x1d080} (gdb) n 466 for (cisconf = cis->conf; cisconf; cisconf = cisconf->next) (gdb) n 467 if (cisconf->id == sp->config->index) (gdb) print *cisconf $2 = {next = 0x0, pwr = 0, timing = 0, iospace = 1, irq = 1, memspace = 1, misc_valid = 0, id = 1 '\001', io_blks = 2 '\002', io_addr = 10 '\n', io_bus = 2 '\002', io = 0x1a1c0, irqlevel = 0 '\000', irq_flags = 48 '0', irq_mask = 48892, memwins = 2 '\002', mem = 0x1a1e0, misc = 0 '\000'} (gdb) print *sp $3 = {next = 0x19080, fd = 8, mask = 0, slot = 1, name = 0x1a0d0 "/dev/card1", state = filled, cis = 0x19180, card = 0x180a0, config = 0x180c0, card_config = 0x0, devname = '\000' , eaddr = "\000\000\000\000\000", io = {next = 0x0, addr = 0, size = 0, flags = 0, cardaddr = 0}, mem = {next = 0x0, addr = 0, size = 0, flags = 0, cardaddr = 0}, irq = 0} (gdb) print *sp->config $4 = {next = 0x0, index = 1 '\001', driver = 0x180e0, irq = 11, flags = 0, inuse = 1 '\001'} (gdb) n 469 if (cisconf == 0) (gdb) n 471 sp->card_config = cisconf; (gdb) n 477 if (cisconf->memspace || (defconf && defconf->memspace)) { (gdb) n 480 mp = cisconf->mem; (gdb) print cisconf->memspace $5 = 1 (gdb) print defconf $6 = (struct cis_config *) 0x1d080 (gdb) print defconf->memspace $7 = 1 (gdb) print cisconf $8 = (struct cis_config *) 0x1d080 NOTE: cisconf and defconf are the same??? (gdb) n 481 if (!cisconf->memspace) (gdb) n 483 sp->mem.size = mp->length; (gdb) n 484 sp->mem.cardaddr = mp->address; (gdb) n 487 sp->mem.addr = sp->config->driver->mem; (gdb) n 492 if (sp->mem.size && sp->mem.addr == 0) { (gdb) print *sp $9 = {next = 0x19080, fd = 8, mask = 0, slot = 1, name = 0x1a0d0 "/dev/card1", state = filled, cis = 0x19180, card = 0x180a0, config = 0x180c0, card_config = 0x1d080, devname = '\000' , eaddr = "\000\000\000\000\000", io = {next = 0x0, addr = 0, size = 0, flags = 0, cardaddr = 0}, mem = {next = 0x0, addr = 0, size = 1024, flags = 0, cardaddr = 0}, irq = 0} NOTE: why is sp->mem.size == 1024? <---------------------------- (gdb) n 493 sp->mem.addr = alloc_memory(mp->length); (gdb) s alloc_memory (size=-272639028) at util.c:125 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); (gdb) print *mem_avail @200 (oops, should have just printed 12 bytes) $10 = {"\000\000\000\000\000\000ÿÿÿ\000\000\000\000\000\000\000PMX \000\000\000\ 000\000\000\000\000\000\000PE-200\000\000\000\000\000\000\000\000\000\000ed0", '\000' , "ed", '\000' , "\220 \001\000\000Ð\0 01", '\000' , " \201\001\000\000\000\000\000\000\000\000\000° \ 001\000@Ð\001", '\000' , "@\201\001\000\000\000\000\000\000\00 0\000\000/dev/card0\000\000\000\000\000\000/dev/card1\000\000\000\000\000\000\0 00¡\001\000\001\000\000\000\003\000\000\000ð \001\000Ü\003ÿ\000\000\000\000"} (gdb) s bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:106 106 int found = 0; (gdb) where #0 bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:106 #1 0x341f in alloc_memory (size=1024) at util.c:125 #2 0x1bb6 in assign_io (sp=0x19100) at cardd.c:493 #3 0x18b5 in card_inserted (sp=0x19100) at cardd.c:323 #4 0x1696 in slot_change (sp=0x19100) at cardd.c:246 #5 0x15ec in readslots () at cardd.c:216 #6 0x1257 in main (argc=3, argv=0xefbfdd04) at cardd.c:105 (gdb) up #1 0x341f in alloc_memory (size=1024) at util.c:125 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); (gdb) print size $12 = 1024 (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) print nbits $13 = 96 (gdb) n 109 if (bit_test(nm, i)) { (gdb) print 96 / 8 $14 = 12 (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) print i $15 = 0 (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) n 109 if (bit_test(nm, i)) { (gdb) n 113 found = 0; (gdb) n 108 for (i = 0; i < nbits; i++) (gdb) print i $16 = 6 (gdb) fin Run till exit from #0 bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:108 0x341f in alloc_memory (size=1024) at util.c:125 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); Value returned is $17 = -1 (gdb) n 126 if (i < 0) (gdb) n 127 return (0); (gdb) n 130 } (gdb) n assign_io (sp=0x19100) at cardd.c:494 494 if (sp->mem.addr == 0) (gdb) print sp->mem.addr $18 = 0 (gdb) n 536 return (-1); (gdb) c Continuing. cardd: Resource allocation failure for PMX Here's the pccardc dumpcis output again (look where I put arrows): Code 240 not found Code 240 not found code Unknown ignored Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 03 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 32Kb, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 53 01 ff Attribute memory device information: Device number 1, type FLASH EEPROM, WPS = OFF Speed = 150nS, Memory block size = 2Kb, 1 units Tuple #3, code = 0x21 (Functional ID), length = 2 000: 06 03 Network/LAN adapter - POST initialize - Card has ROM Tuple #4, code = 0x15 (Version 1 info), length = 30 000: 04 01 50 4d 58 20 20 20 00 50 45 2d 32 30 30 00 010: 45 54 48 45 52 4e 45 54 00 52 30 31 00 ff Version = 4.1, Manuf = [PMX ],card vers = [PE-200] Addit. info = [ETHERNET],[R01] Tuple #5, code = 0x1a (Configuration map), length = 5 000: 01 01 00 01 01 Reg len = 2, config register addr = 0x100, last config = 0x1 Registers: X------- Tuple #6, code = 0x1b (Configuration entry), length = 25 000: c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04 010: 00 00 40 0d 40 40 00 40 0d Config index = 0x1(default) Interface byte = 0x81 (I/O) wait signal supported Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x10 I/O address # 2: block start = 0x310 block length = 0x10 IRQ modes: Level IRQs: 4 5 10 11 12 13 14 15 -> why? what could this be for? It's 1k long? -> Memory descriptor 1 -> blk length = 0x400 card addr = 0x000 host addr = 0xd4000 Memory descriptor 2 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 Tuple #7, code = 0x0 (Null tuple), length = 9 000: 57 42 20 4c 41 4e 20 20 ff Tuple #8, code = 0x14 (No link), length = 0 Tuple #9, code = 0xff (Terminator), length = 0 2 slots found ------- End of Forwarded Message From owner-freebsd-mobile Mon Dec 9 17:34:47 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA22632 for mobile-outgoing; Mon, 9 Dec 1996 17:34:47 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA22573; Mon, 9 Dec 1996 17:34:30 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id MAA11963; Tue, 10 Dec 1996 12:04:00 +1030 (CST) From: Michael Smith Message-Id: <199612100134.MAA11963@genesis.atrad.adelaide.edu.au> Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612091804.KAA01333@precipice.shockwave.com> from Paul Traina at "Dec 9, 96 10:04:26 am" To: pst@shockwave.com (Paul Traina) Date: Tue, 10 Dec 1996 12:03:59 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org, pst@jnx.com X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by freefall.freebsd.org id RAA22586 Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk (It made it OK Paul, I just had to go to sleep at some point 8) > > Note that if this really is an NE2000 clone, it doesn't need any > > memory address space (the on-card RAM is driven by i/o) - unlike some > > of the other cards supported by the ed driver. > > Yeah, I agree. Why does it have two blocks of memory? Not entirely sure. It looks like the card might have a boot ROM on it; I can't find any other justification for this, which is a write-protected 32K region : > Tuple #1, code = 0x1 (Common memory descriptor), length = 3 > 000: dc 03 ff > Common memory device information: > Device number 1, type Function specific, WPS = ON > Speed = 100nS, Memory block size = 32Kb, 1 units I can only assume that pccardd is trying to DTRT and map this in somewhere. > # cat /etc/pccard.conf ... > # Generally available IO ports > io 0x240-0x360 > # Generally available IRQs (Built-in sound-card owners remove 5) > irq 3 5 10 11 13 15 Does your notebook really have all these resources available? (Lots have onboard peripherals scattered around. I'd have expected the PCIC to be given IRQ 3...) > # Available memory slots > memory 0xd0000 96k (I've tried this at d4000) Should be plenty of space anyway. > PC-Card Intel 82365 (5 mem & 2 I/O windows) > pcic: controller irq 3 As I thought, the PCIC is getting IRQ 3. You will want to remove this from the list of available IRQs (no, I know this isn't your problem). > Code 240 not found > Code 240 not found > code Unknown ignored There's a tuple in the card with an unknown (0xf0) code; no idea what it's supposed to be. > Breakpoint 1, assign_io (sp=0x19100) at cardd.c:464 > 464 cis = sp->cis; > (gdb) n > 465 defconf = cis->def_config; > (gdb) print *cis > $1 = {tlist = 0x18160, manuf = "PMX ", '\000' , > vers = "PE-200", '\000' , > add_info1 = "ETHERNET", '\000' , > add_info2 = "R01", '\000' , maj_v = 4 '\004', > min_v = 1 '\001', last_config = 1 '\001', ccrs = 1 '\001', reg_addr = 256, > attr_mem = {valid = 1 '\001', type = 5 '\005', speed = 3 '\003', > wps = 0 '\000', addr = 0 '\000', units = 1 '\001'}, common_mem = { > valid = 1 '\001', type = 13 '\r', speed = 4 '\004', wps = 1 '\001', > addr = 0 '\000', units = 3 '\003'}, def_config = 0x1d080, conf = 0x1d080} > (gdb) n > 466 for (cisconf = cis->conf; cisconf; cisconf = cisconf->next) > (gdb) n > 467 if (cisconf->id == sp->config->index) > (gdb) print *cisconf > $2 = {next = 0x0, pwr = 0, timing = 0, iospace = 1, irq = 1, memspace = 1, > misc_valid = 0, id = 1 '\001', io_blks = 2 '\002', io_addr = 10 '\n', > io_bus = 2 '\002', io = 0x1a1c0, irqlevel = 0 '\000', irq_flags = 48 '0', > irq_mask = 48892, memwins = 2 '\002', mem = 0x1a1e0, misc = 0 '\000'} > (gdb) print *sp > $3 = {next = 0x19080, fd = 8, mask = 0, slot = 1, name = 0x1a0d0 "/dev/card1", > state = filled, cis = 0x19180, card = 0x180a0, config = 0x180c0, > card_config = 0x0, devname = '\000' , > eaddr = "\000\000\000\000\000", io = {next = 0x0, addr = 0, size = 0, > flags = 0, cardaddr = 0}, mem = {next = 0x0, addr = 0, size = 0, > flags = 0, cardaddr = 0}, irq = 0} > (gdb) print *sp->config > $4 = {next = 0x0, index = 1 '\001', driver = 0x180e0, irq = 11, flags = 0, > inuse = 1 '\001'} > (gdb) n > 469 if (cisconf == 0) > (gdb) n > 471 sp->card_config = cisconf; > (gdb) n > 477 if (cisconf->memspace || (defconf && defconf->memspace)) { > (gdb) n > 480 mp = cisconf->mem; > (gdb) print cisconf->memspace > $5 = 1 > (gdb) print defconf > $6 = (struct cis_config *) 0x1d080 > (gdb) print defconf->memspace > $7 = 1 > (gdb) print cisconf > $8 = (struct cis_config *) 0x1d080 > > NOTE: cisconf and defconf are the same??? Some cards have more than one Configuration Entry tuple; one can be nominated as the 'default' in the card, but this can be overridden with an explicit index entry in the /etc/pccard.conf file. > (gdb) n > 481 if (!cisconf->memspace) > (gdb) n > 483 sp->mem.size = mp->length; > (gdb) n > 484 sp->mem.cardaddr = mp->address; > (gdb) n > 487 sp->mem.addr = sp->config->driver->mem; > (gdb) n > 492 if (sp->mem.size && sp->mem.addr == 0) { > (gdb) print *sp > $9 = {next = 0x19080, fd = 8, mask = 0, slot = 1, name = 0x1a0d0 "/dev/card1", > state = filled, cis = 0x19180, card = 0x180a0, config = 0x180c0, > card_config = 0x1d080, devname = '\000' , > eaddr = "\000\000\000\000\000", io = {next = 0x0, addr = 0, size = 0, > flags = 0, cardaddr = 0}, mem = {next = 0x0, addr = 0, size = 1024, > flags = 0, cardaddr = 0}, irq = 0} > > NOTE: why is sp->mem.size == 1024? <---------------------------- It's trying to allocate a mapping for the EEPROM (tuple #2, aka memory region 1). > (gdb) n > 493 sp->mem.addr = alloc_memory(mp->length); > (gdb) s > alloc_memory (size=-272639028) at util.c:125 > 125 i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); > > (gdb) print *mem_avail @200 (oops, should have just printed 12 bytes) > > $10 = {"\000\000\000\000\000\000\000\000\000 Ok. Looks like you have some memory there. > (gdb) s > bit_fns (nm=0x1a030 "", nbits=96, count=0) at util.c:106 And there's your problem; alloc_memory should be rounding 'size' up to MEMUNIT, as bit_fns can't handle a request for an allocation of 0. unsigned long alloc_memory(int size) { int i; /* Add Me */ if (size < MEMUNIT) size = MEMUNIT; i = bit_fns(mem_avail, MEMBLKS, size / MEMUNIT); if (i < 0) return (0); bit_nclear(mem_avail, i, size / MEMUNIT); return (BIT2MEM(i)); } (commentary on your CIS follows) > Configuration data for card in slot 1 > Tuple #1, code = 0x1 (Common memory descriptor), length = 3 > 000: dc 03 ff > Common memory device information: > Device number 1, type Function specific, WPS = ON > Speed = 100nS, Memory block size = 32Kb, 1 units > Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 > 000: 53 01 ff > Attribute memory device information: > Device number 1, type FLASH EEPROM, WPS = OFF > Speed = 150nS, Memory block size = 2Kb, 1 units > Tuple #3, code = 0x21 (Functional ID), length = 2 > 000: 06 03 > Network/LAN adapter - POST initialize - Card has ROM > Tuple #4, code = 0x15 (Version 1 info), length = 30 > 000: 04 01 50 4d 58 20 20 20 00 50 45 2d 32 30 30 00 > 010: 45 54 48 45 52 4e 45 54 00 52 30 31 00 ff > Version = 4.1, Manuf = [PMX ],card vers = [PE-200] > Addit. info = [ETHERNET],[R01] > Tuple #5, code = 0x1a (Configuration map), length = 5 > 000: 01 01 00 01 01 > Reg len = 2, config register addr = 0x100, last config = 0x1 > Registers: X------- > Tuple #6, code = 0x1b (Configuration entry), length = 25 > 000: c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04 > 010: 00 00 40 0d 40 40 00 40 0d > Config index = 0x1(default) > Interface byte = 0x81 (I/O) wait signal supported > Card decodes 10 address lines, limited 8/16 Bit I/O > I/O address # 1: block start = 0x300 block length = 0x10 > I/O address # 2: block start = 0x310 block length = 0x10 > IRQ modes: Level > IRQs: 4 5 10 11 12 13 14 15 > -> why? what could this be for? It's 1k long? > -> Memory descriptor 1 > -> blk length = 0x400 card addr = 0x000 host addr = 0xd4000 Not entirely sure. This may match tuple #2, the flash EEPROM. > Memory descriptor 2 > blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 This almost certainly matches tuple #1. It's interesting to note that the sizes of both of these mismatch; it appears that the spec doesn't provide for 1K or 16K as legitimate values for memory regions. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Mon Dec 9 18:34:13 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA27050 for mobile-outgoing; Mon, 9 Dec 1996 18:34:13 -0800 (PST) Received: from red.jnx.com (red.jnx.com [208.197.169.254]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA27039; Mon, 9 Dec 1996 18:34:08 -0800 (PST) Received: from base.jnx.com (base.jnx.com [208.197.169.238]) by red.jnx.com (8.8.3/8.8.3) with ESMTP id SAA17179; Mon, 9 Dec 1996 18:33:37 -0800 (PST) Received: from base.jnx.com (localhost.jnx.com [127.0.0.1]) by base.jnx.com (8.7.6/8.7.3) with ESMTP id SAA00372; Mon, 9 Dec 1996 18:33:37 -0800 (PST) Message-Id: <199612100233.SAA00372@base.jnx.com> To: Michael Smith cc: Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org Subject: Re: need help with a PC CARD NE2000 clone... In-reply-to: Your message of "Tue, 10 Dec 1996 12:03:59 +1030." <199612100134.MAA11963@genesis.atrad.adelaide.edu.au> Date: Mon, 09 Dec 1996 18:33:37 -0800 From: Paul Traina Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thanks for all the help. Sorry if I sounded rather frantic, I'm desparately trying to get this laptop working for a conference and then two weeks holiday. I'll fix the pcic irq address. On the memory stuff, I think your change is good, but I think it should actually be: units = (size + MEMUNITS - 1) / MEMUNITS; and do the rest with units. because of the 16k allocation blocks too. This will cause us to always round up properly. I wonder why my card is so weird? :-( From owner-freebsd-mobile Mon Dec 9 18:42:59 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA27885 for mobile-outgoing; Mon, 9 Dec 1996 18:42:59 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA27859; Mon, 9 Dec 1996 18:42:49 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id NAA12469; Tue, 10 Dec 1996 13:12:27 +1030 (CST) From: Michael Smith Message-Id: <199612100242.NAA12469@genesis.atrad.adelaide.edu.au> Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612100233.SAA00372@base.jnx.com> from Paul Traina at "Dec 9, 96 06:33:37 pm" To: pst@jnx.com (Paul Traina) Date: Tue, 10 Dec 1996 13:12:26 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Paul Traina stands accused of saying: > Thanks for all the help. Sorry if I sounded rather frantic, I'm > desparately trying to get this laptop working for a conference and > then two weeks holiday. That's OK; I understand franticity entirely 8) > On the memory stuff, I think your change is good, but I think it should > actually be: > > units = (size + MEMUNITS - 1) / MEMUNITS; > > and do the rest with units. Of course; it was stupid of me to assume that any allocation over 4K would be a multiple of 4K. > I wonder why my card is so weird? :-( I don't necessarily think that it is; you're just coming into contact with PC hardware again 8) Please to be keeping us informed! -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Tue Dec 10 00:00:41 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA26968 for mobile-outgoing; Tue, 10 Dec 1996 00:00:41 -0800 (PST) Received: from precipice.shockwave.com (ppp-206-170-5-197.rdcy01.pacbell.net [206.170.5.197]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id AAA26943; Tue, 10 Dec 1996 00:00:28 -0800 (PST) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.4/8.7.3) with ESMTP id AAA00750; Tue, 10 Dec 1996 00:00:02 -0800 (PST) Message-Id: <199612100800.AAA00750@precipice.shockwave.com> To: Michael Smith cc: Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org Subject: Re: need help with a PC CARD NE2000 clone... In-reply-to: Your message of "Tue, 10 Dec 1996 12:03:59 +1030." <199612100134.MAA11963@genesis.atrad.adelaide.edu.au> Date: Tue, 10 Dec 1996 00:00:01 -0800 From: Paul Traina Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Well, the good news is that fixing the logic to round up did fix my allocation problems. Now pccardd sets up the card and calls the ed driver to initialize. Unfortunately, at this point, the system hangs (seting a breakpoint at edinit shows the call occuring). My next step will be to remote-gdb the kernel... or I could just get a big hammer and smash this cruddy ethernet card into pieces. I should have known $100 for a PCMCIA ethernet card last xmas was too good to be true. :-) I'm thinking of going out and getting one of the 3COM 3c589 cards and a Megahertz 3811 cellular modem, but the combo is /not/ cheap. I noticed that Fry's is selling IBM's old 14.4k modem+Ethernet cards for $69. I'm going to yell at the manufacturer of my ethernet card, as I noticed even they needed a special driver under w95 for this card. Maybe they'll cough up some dirt on how it differs. Paul From owner-freebsd-mobile Tue Dec 10 00:04:03 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA27166 for mobile-outgoing; Tue, 10 Dec 1996 00:04:03 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id AAA27125; Tue, 10 Dec 1996 00:03:56 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id SAA14925; Tue, 10 Dec 1996 18:33:41 +1030 (CST) From: Michael Smith Message-Id: <199612100803.SAA14925@genesis.atrad.adelaide.edu.au> Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612100800.AAA00750@precipice.shockwave.com> from Paul Traina at "Dec 10, 96 00:00:01 am" To: pst@shockwave.com (Paul Traina) Date: Tue, 10 Dec 1996 18:33:40 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Paul Traina stands accused of saying: > Well, the good news is that fixing the logic to round up did fix my > allocation problems. Now pccardd sets up the card and calls the ed > driver to initialize. > > Unfortunately, at this point, the system hangs (seting a breakpoint > at edinit shows the call occuring). My next step will be to > remote-gdb the kernel... or I could just get a big hammer and > smash this cruddy ethernet card into pieces. I should have known > $100 for a PCMCIA ethernet card last xmas was too good to be true. :-) Hmm. Great, even. 8( > I'm thinking of going out and getting one of the 3COM 3c589 cards > and a Megahertz 3811 cellular modem, but the combo is /not/ cheap. I would strongly advise against the 3c589 if stress is not your friend; see Greg Lehey's current running battle for reference there. I can assue you that the Accton EN2216 card _does_ work, and it shouldn't bust the bank. Accton should be available in your neck of the woods. > I'm going to yell at the manufacturer of my ethernet card, as I noticed > even they needed a special driver under w95 for this card. Maybe they'll > cough up some dirt on how it differs. Heh. Hopeful 8( > Paul -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Tue Dec 10 00:31:29 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA28118 for mobile-outgoing; Tue, 10 Dec 1996 00:31:29 -0800 (PST) Received: from precipice.shockwave.com (ppp-206-170-5-197.rdcy01.pacbell.net [206.170.5.197]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id AAA28093; Tue, 10 Dec 1996 00:31:21 -0800 (PST) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.4/8.7.3) with ESMTP id AAA00864; Tue, 10 Dec 1996 00:24:52 -0800 (PST) Message-Id: <199612100824.AAA00864@precipice.shockwave.com> To: Michael Smith cc: Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org Subject: Re: need help with a PC CARD NE2000 clone... In-reply-to: Your message of "Tue, 10 Dec 1996 18:33:40 +1030." <199612100803.SAA14925@genesis.atrad.adelaide.edu.au> Date: Tue, 10 Dec 1996 00:24:52 -0800 From: Paul Traina Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: Michael Smith Subject: Re: need help with a PC CARD NE2000 clone... I can assue you that the Accton EN2216 card _does_ work, and it shouldn't bust the bank. Accton should be available in your neck of the woods. Yes, I saw them, and disregarded them because I didn't want to get stung by another dinky vendor. However, the only problem is getting support, so if it already works, then I'm golden. Thanks. Does anyone have any opinions about the Megahertz combo or modem-only cards? I have yet to see anyone say they have the combo-ether/modem card working, so I'm thinking of just doing a Megahertz modem card. Cellular One was kind enough to send me a Megahertz<->Nokia cable for my nokia 2160 cellphone for free (Megahertz is putting on a promo). So, I'm kinda leaning towards a Megahertz modem (unless I can find a better modem card with cellular capability for less than the cost of purchasing a cable for real). From owner-freebsd-mobile Tue Dec 10 00:40:48 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA28407 for mobile-outgoing; Tue, 10 Dec 1996 00:40:48 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id AAA28387; Tue, 10 Dec 1996 00:40:43 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id AAA12555; Tue, 10 Dec 1996 00:33:17 -0800 (PST) To: Paul Traina cc: Michael Smith , Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org Subject: Re: need help with a PC CARD NE2000 clone... In-reply-to: Your message of "Tue, 10 Dec 1996 00:00:01 PST." <199612100800.AAA00750@precipice.shockwave.com> Date: Tue, 10 Dec 1996 00:33:16 -0800 Message-ID: <12551.850206796@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm thinking of going out and getting one of the 3COM 3c589 cards > and a Megahertz 3811 cellular modem, but the combo is /not/ cheap. I've had excellent luck with National's "InfoMover" card, though it's probably years out of date by now. Jordan From owner-freebsd-mobile Tue Dec 10 00:46:19 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA28555 for mobile-outgoing; Tue, 10 Dec 1996 00:46:19 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id AAA28535; Tue, 10 Dec 1996 00:46:13 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id TAA15232; Tue, 10 Dec 1996 19:09:44 +1030 (CST) From: Michael Smith Message-Id: <199612100839.TAA15232@genesis.atrad.adelaide.edu.au> Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612100824.AAA00864@precipice.shockwave.com> from Paul Traina at "Dec 10, 96 00:24:52 am" To: pst@shockwave.com (Paul Traina) Date: Tue, 10 Dec 1996 19:09:43 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Paul Traina stands accused of saying: > > I can assue you that the Accton EN2216 card _does_ work, and it shouldn't > bust the bank. Accton should be available in your neck of the woods. > > Yes, I saw them, and disregarded them because I didn't want to get stung > by another dinky vendor. However, the only problem is getting support, so > if it already works, then I'm golden. Yup. I've beaten on the one here for the last 6 months or so, and we bought a few more to go with some more systems less than three weeks ago, so I'm confident that they work OK. > I have yet to see anyone say they have the combo-ether/modem card working, > so I'm thinking of just doing a Megahertz modem card. There are problems with sharing interrupts on a single card; you would definitely require more hackery. 8( -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Tue Dec 10 05:36:16 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA00910 for mobile-outgoing; Tue, 10 Dec 1996 05:36:16 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA00881; Tue, 10 Dec 1996 05:36:12 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id EAA13262 ; Tue, 10 Dec 1996 04:20:50 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vXR9i-000QXiC; Tue, 10 Dec 96 13:19 MET Received: (grog@localhost) by freebie.lemis.de (8.8.4/8.6.12) id LAA18102; Tue, 10 Dec 1996 11:54:06 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199612101054.LAA18102@freebie.lemis.de> Subject: It works! Solved my problem wih Etherlink III on AcerNote Light To: freebsd-mobile@freebsd.org (FreeBSD mobile Mailing List) Date: Tue, 10 Dec 1996 11:54:05 +0100 (MET) Cc: FreeBSD-current@freebsd.org (FreeBSD current users) X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 For those of you who've been following my tribulations installing -current on an AcerNote Light, the good news: finally it works. I've learnt a number of things on the way, however, so I thought I'd share the story: 1. Initially, I tried installing with the 2.1.5 boot floppy. It recognized the card, but couldn't get it to work. I sent a message off, I think to -current, and got a number of replies, including "set your link0 and link1 correctly", and "you need the PAO floppy". 2. In the meantime, several things happened to muddy the waters: i. I tried the 3Com "diagnostic", which must be the worst piece of junk I have ever seen. It told me that the Ethernet card was defective--it failed every test. So I changed the Ethernet card. ii. At the same time, the hard disk on the notebook died. So I changed the notebook. iii. The handbook for the notebook suggested that the standard settings for the board (I/O 0x300, IRQ 10) wouldn't work. IRQ 10 is "reserved", so they say, though they don't say for what. They also give a map of upper memory showing nothing free at all; obviously a misprint, but another cause for uncertainty. I tried moving the board to 0x320, IRQ 11 (at least they say IRQ 11 is available), but that didn't help. It just meant that, after I could no longer run the diagnostic, I found that I had forgotten how I had last set it. iv. The new notebook and the new diagnostic still claimed that the new Ethernet card was defective. I decided that the diagnostic was defective, and sent off a mail message to 3Com asking for help. Despite their promises of a callback, it hasn't happened yet. The diagnostic appears to want to run under Windoze 95% with card services enabled. If you boot DOS from floppy, it will run, but it will fail the test. In order for it to pass the test in this mode, you need first to read the configuration, store the same configuration back, and then run the diagnostic, which will succeed. Leave the diagnostic program, restart it, and run it again, and it will fail. I can't see a means of distinguishing this behaviour from that of a board which can't keep its configuration. This kind of diagnostic is just one step removed from being completely useless. To be fair (though not necessarily generous), I didn't verify whether the diagnostic worked correctly under Windoze 95%. That would have required finishing the installation and answering all sorts of stupid questions, including serial numbers and such junk. To make matters worse, after I wiped Windoze 95% from the disk, the diagnostic would not even start. Instead, it said Can't Run Install, files missing. Make sure you have INSTALL.EXE, INST1.SAC and STRINGS.BIN in your directory (-1, 2) These files are, of course, all there, on the original, write-protected diskette. I re-created a second diskette from the backup, and I downloaded the file 3C589.EXE from your web site, but the results were the same. I'm pretty sure the real reason is that it didn't find a DOS or Windoze hard disk partition. Summary: the diagnostic software is broke, but bad. 3. I built a number of kernels with a number of different options, set up my /etc/pccard.conf as various people have suggested--all in vain. I suspect that the pccard setup is very version-sensitive. My pccardd didn't even accept the definitions that some people had put in their /etc/pccard.conf, for example. Nevertheless, things looked *very* bad. pccardd couldn't find anything which looked like PCMCIA resources (though the kernel did notice when I inserted and removed the boards). I shelved this and went away for some serious head-scratching. 4. During the head-scratching, I decided to retry the 2.1.5 vanilla boot diskette. Bingo! it found the board. Not much I could do with it, of course, but it was better than what I had had with the PAO diskette. I then attempted it with what I thought was the 2.1.5 generic kernel, only to find it was a 2.1.0-SNAP kernel dated 28 September 1995. It didn't find the board. Subsequent attempts with the generic 2.1.5 kernel showed that it didn't find the board either. Huh? Back to the boot diskette. It no longer found it, either. After power cycling, it did, and so did the generic kernel. So then I built a -current kernel without crd0 and pcic[01]. It FOund the baord. And it was able to correctly configure zp0. But I still couldn't get things to work. On closer examination, there seems to be something wrong with the routing table entry: there was no entry at all for zp0, and I couldn't find a way to put one in. In /etc/sysconfig, I did effectively: ifconfig lp0 192.109.197.159 192.109.197.137 ifconfig zp0 192.109.197.159 This had the strange effect that no entry at all for zp0 appeared in the routing table. I don't understand this: at the other end (freebie) I had an almost completely symmetrical configuration, which worked with no problems. I still don't know what happened here, but I'll take a look once I clean up the backlog that this marathon has caused. So I removed lp0 from /etc/sysconfig and rebooted. Now the routing tables looked OK, but it still didn't work. OK, I've got RG-58, what links do I need? Where's the man page for zp? Nowhere. I played around with the links and found that link1 will do the trick: it works. Not very fast, but it works. The hard disk on this machine seems to be the slowest I've every come across. ftp'ing a 67 MB file gave me a throughput of about 220 kB/s when copying to disk, about 750 kB/s when copying to /dev/null. By comparison, the same file ftp'd to (IDE) disk on freebie at 860 kB/s, and to /dev/null at 940 kB/s. The error rate might explain some of this: on freebie, netstat -in shows: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ep0 1500 00.a0.24.37.0d.2b 3042959 1 3470819 1 0 ep0 1500 192.109.197 192.109.197.137 3042959 1 3470819 1 0 By contrast, on papillon (the notebook), I have: zp0 1500 00.60.97.40.fb.e1 221769 198 52256 3 0 zp0 1500 192.109.197 192.109.197.159 221769 198 52256 3 0 The morals of the story ----------------------- 1. We obviously need to look at the pccard stuff a lot more carefully. The documentation needs to mention this. In fact, we need documentation. I'll see what I can put together. 2. We probably need to document the vagaries of "diagnostic" programs such as the junk that 3Com supplies. You'd think 3Com would be interested, too. After all, I can't be the only person to return hardware because the accompanying software says it's defective. 3. PCMCIA is obviously a good subject for the internals book we're talking about writing. 4. It would be nice to have a general diagnostic utility for snooping around in the PC hardware to see what's there and what isn't. I'll think about writing one. If anybody has any ideas, I'd be interested to hear of them. 5. The probe routines are probably not all they should be. I'd guess that the 2.1-SNAP kernel got the board into a state where no kernel could successfully probe it, and I had to power down to get any improvement. This is partially documented in the kernel config files, but it might be an idea to make it more prominent. 6. We need man pages for all the Ethernet drivers, even if they're substantially clones. It would also be nice to have an overview of what the ifconfig flags mean for the various drivers. Greg From owner-freebsd-mobile Tue Dec 10 07:21:12 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA07800 for mobile-outgoing; Tue, 10 Dec 1996 07:21:12 -0800 (PST) Received: from tahoma.cwu.edu (skynyrd@tahoma.cwu.edu [198.104.65.220]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id HAA07795 for ; Tue, 10 Dec 1996 07:21:10 -0800 (PST) Received: by tahoma.cwu.edu; id AA01069; Tue, 10 Dec 1996 07:21:02 -0800 Date: Tue, 10 Dec 1996 07:21:01 -0800 (PST) From: Chris Timmons To: Greg Lehey Cc: FreeBSD mobile Mailing List Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light In-Reply-To: <199612101054.LAA18102@freebie.lemis.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Greg - Thanks for the report. I'd gotten partway through your thrash on my Versa-6030x and had many of the same things happen with the 3com diagnostics. Glad you got it going! If you are interested in PCMCIA internals, you might want to check out "The PCMCIA Software Developers Handbook" which I obtained from http://www.peer-to-peer.com/. It has the most comprehensive PCMCIA technology overview that I've seen anywhere, as well as sample driver writing code. In the back there is a reprint of the info regarding Linux card services, written by David Hinds at Stanford. -Chris From owner-freebsd-mobile Tue Dec 10 09:12:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA14162 for mobile-outgoing; Tue, 10 Dec 1996 09:12:23 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id JAA14155; Tue, 10 Dec 1996 09:12:15 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA07927; Tue, 10 Dec 1996 10:11:44 -0700 (MST) Date: Tue, 10 Dec 1996 10:11:44 -0700 (MST) Message-Id: <199612101711.KAA07927@rocky.mt.sri.com> From: Nate Williams To: Paul Traina Cc: Michael Smith , Andrew.Gordon@net-tel.co.uk, nate@freebsd.org, mobile@freebsd.org, hackers@freebsd.org Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612100824.AAA00864@precipice.shockwave.com> References: <199612100803.SAA14925@genesis.atrad.adelaide.edu.au> <199612100824.AAA00864@precipice.shockwave.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Does anyone have any opinions about the Megahertz combo or modem-only cards? Combo cards currently don't work under FreeBSD. > Cellular One was kind enough to send me a Megahertz<->Nokia cable for > my nokia 2160 cellphone for free (Megahertz is putting on a promo). So, > I'm kinda leaning towards a Megahertz modem (unless I can find a better > modem card with cellular capability for less than the cost of > purchasing a cable for real). From owner-freebsd-mobile Tue Dec 10 11:27:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA23420 for mobile-outgoing; Tue, 10 Dec 1996 11:27:40 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id LAA23397; Tue, 10 Dec 1996 11:27:30 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA04666; Tue, 10 Dec 1996 12:06:26 -0700 From: Terry Lambert Message-Id: <199612101906.MAA04666@phaeton.artisoft.com> Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light To: grog@lemis.de (Greg Lehey) Date: Tue, 10 Dec 1996 12:06:26 -0700 (MST) Cc: freebsd-mobile@freebsd.org, FreeBSD-current@freebsd.org In-Reply-To: <199612101054.LAA18102@freebie.lemis.de> from "Greg Lehey" at Dec 10, 96 11:54:05 am X-Mailer: ELM [version 2.4 PL24] 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 > For those of you who've been following my tribulations installing > -current on an AcerNote Light, the good news: finally it works. [ ... ] > So then I built a -current kernel without crd0 and pcic[01]. It > FOund the baord. And it was able to correctly configure zp0. But > I still couldn't get things to work. On closer examination, there > seems to be something wrong with the routing table entry: there > was no entry at all for zp0, and I couldn't find a way to put one > in. In /etc/sysconfig, I did effectively: > > ifconfig lp0 192.109.197.159 192.109.197.137 > ifconfig zp0 192.109.197.159 This is incorrect. You have "named" both interfaces the same IP "name". You can't do this, it's not legal. If it works at all, it has more to do with assignment order, and the resulting bogus data in your routing table, and which bogus route is found first during a linear traversal, than anything else. Consider: I am your kernel... I have a packet for 192.109.197.158; do I send it out your parallel port or your ethernet card? > So I removed lp0 from /etc/sysconfig and rebooted. Now the > routing tables looked OK, but it still didn't work. OK, I've got > RG-58, what links do I need? Where's the man page for zp? > Nowhere. I played around with the links and found that link1 will > do the trick: it works. Not very fast, but it works. The hard > disk on this machine seems to be the slowest I've every come > across. ftp'ing a 67 MB file gave me a throughput of about 220 > kB/s when copying to disk, about 750 kB/s when copying to > /dev/null. By comparison, the same file ftp'd to (IDE) disk on > freebie at 860 kB/s, and to /dev/null at 940 kB/s. The error rate > might explain some of this: on freebie, netstat -in shows: I can't explain the error rate. Does it claim that the card is bogus at boot time? There were some rent patches for (589?) which might be applicable. The 3COM stuff is notoriously variable in their detection interface design... moreso than almost any other devices (well, except ATAPI CDROMs). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-mobile Tue Dec 10 12:22:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA26870 for mobile-outgoing; Tue, 10 Dec 1996 12:22:36 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id MAA26865; Tue, 10 Dec 1996 12:22:34 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id NAA08722; Tue, 10 Dec 1996 13:18:49 -0700 (MST) Date: Tue, 10 Dec 1996 13:18:49 -0700 (MST) Message-Id: <199612102018.NAA08722@rocky.mt.sri.com> From: Nate Williams To: Terry Lambert Cc: grog@lemis.de (Greg Lehey), freebsd-mobile@freebsd.org, FreeBSD-current@freebsd.org Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light In-Reply-To: <199612101906.MAA04666@phaeton.artisoft.com> References: <199612101054.LAA18102@freebie.lemis.de> <199612101906.MAA04666@phaeton.artisoft.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > ifconfig lp0 192.109.197.159 192.109.197.137 > > ifconfig zp0 192.109.197.159 > > This is incorrect. Youare correct, but it is allowed on Point-Point interfaces and doesn't cause problems because of host routes. Nate From owner-freebsd-mobile Tue Dec 10 14:00:09 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA05274 for mobile-outgoing; Tue, 10 Dec 1996 14:00:09 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA05247; Tue, 10 Dec 1996 14:00:04 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA04945; Tue, 10 Dec 1996 14:38:17 -0700 From: Terry Lambert Message-Id: <199612102138.OAA04945@phaeton.artisoft.com> Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light To: nate@mt.sri.com (Nate Williams) Date: Tue, 10 Dec 1996 14:38:17 -0700 (MST) Cc: terry@lambert.org, grog@lemis.de, freebsd-mobile@freebsd.org, FreeBSD-current@freebsd.org In-Reply-To: <199612102018.NAA08722@rocky.mt.sri.com> from "Nate Williams" at Dec 10, 96 01:18:49 pm X-Mailer: ELM [version 2.4 PL24] 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 > > > ifconfig lp0 192.109.197.159 192.109.197.137 > > > ifconfig zp0 192.109.197.159 > > > > This is incorrect. > > Youare correct, but it is allowed on Point-Point interfaces and doesn't > cause problems because of host routes. Hmmm... How do I tell the difference between a PPP connection that is a connection to a subnet and a PPP connection that is my connection to the Internet, such that I (as the PPP) will set up the correct host and default routes? This actually bears on the modem/ethernet combo card case, or the case of an undocked laptop with an ethernet in the docking adapter, but an IR connector otherwise: I should have a marked preference for the faster media when equivalent media are available. Windows95 RAS (Remote Access Services) has a checkbox on their properties sheet for this: First: open My computer open Dial-Up Networking right-button(properties) on a connection icon Then: click the "Server Type..." button to open the "Server Types" window click the "TCP/IP Settings..." button to open the "TCP/IP Settings" window Then: "Use default gateway on remote network" is checked: - Deletes the previous default route to the local network adapter card - Adds a default route for all network addresses *except* those for which a subnet route already exists to the Windows95 routing table (use the undocumented "ROUTE PRINT" command in a Windows95 DOS box) "Use default gateway on remote network" is not checked: - Adds a route for the subnet for the network (logical subnetting is not allowed) for the dialed target IP address In other words, if I have a local network connection, and I dial up my pop account at my ISP, then Windows95 tends to screw up the routing while the connection is up. At least it has the checkbox, though... and you *can* hack the routing table manually, if you absolutely need to (though multiple NIC point-to-point routing is not supported without a lot of hacking, running a ported routed, and doing the registry hack that differentiates WindowsNT Worstation from WindowsNT Server (only Win95 doesn't have the thread that runs once a clock tick to hack this value back like Workstation does). In any case, it seems to me that you would have to name them differently in BSD, since in BSD, the interfaces are actually route destinations. Maybe he is running routed? I'll bet that would cause the behaviour, if it's otherwise legal, like you say, to name them the same IP address. Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-mobile Tue Dec 10 14:16:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA06618 for mobile-outgoing; Tue, 10 Dec 1996 14:16:38 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA06613; Tue, 10 Dec 1996 14:16:34 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA09166; Tue, 10 Dec 1996 15:12:49 -0700 (MST) Date: Tue, 10 Dec 1996 15:12:49 -0700 (MST) Message-Id: <199612102212.PAA09166@rocky.mt.sri.com> From: Nate Williams To: Terry Lambert Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org, FreeBSD-current@freebsd.org Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light In-Reply-To: <199612102138.OAA04945@phaeton.artisoft.com> References: <199612102018.NAA08722@rocky.mt.sri.com> <199612102138.OAA04945@phaeton.artisoft.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Terry Lambert writes: > > > > ifconfig lp0 192.109.197.159 192.109.197.137 > > > > ifconfig zp0 192.109.197.159 > > > > > > This is incorrect. > > > > You are correct, but it is allowed on Point-Point interfaces and doesn't > > cause problems because of host routes. > > Hmmm... > > How do I tell the difference between a PPP connection that is a > connection to a subnet and a PPP connection that is my connection > to the Internet, such that I (as the PPP) will set up the correct > host and default routes? Every PPP connection is a connection to a 'network', and you will use a 'default' route to have any unknown packets sent to a machine that knows what to do with them, otherwise you rely on addresses/masks. That's why you have default routes. > This actually bears on the modem/ethernet combo card case, or the case > of an undocked laptop with an ethernet in the docking adapter, but > an IR connector otherwise: I should have a marked preference for > the faster media when equivalent media are available. Then you have a 'dual-homed' setup, which is both non-trivial to setup and non-standard. You have to have something like gateD which exchanges routing information from the 'routers' you are connected to in order to do this correctly. > Windows95 RAS (Remote Access Services) has a checkbox on their > properties sheet for this: > - Deletes the previous default route to the local > network adapter card We don't do this. > - Adds a default route for all network addresses > *except* those for which a subnet route already > exists to the Windows95 routing table (use the > undocumented "ROUTE PRINT" command in a Windows95 > DOS box) A 'default' route is a 'default' route. If you don't know what to do with a packet send it to the default route. IT doesn't add routing entries for every known route, it simply states 'if you don't have an existing routing entry, punt it to the 'default' machine. > "Use default gateway on remote network" is not checked: > > - Adds a route for the subnet for the network > (logical subnetting is not allowed) for the > dialed target IP address If you don't where to send it, drop it. No 'default' route exists. In unix, this would be: # route add default ISP.route.net OR not. (This assumes you aren't running routed which listens for default routes that are broadcast, which Win95 doesn't do.) In freeBSD you either have the defaultroute entry set in /etc/sysconfig or not, which does the above command. > In other words, if I have a local network connection, and I dial > up my pop account at my ISP, then Windows95 tends to screw up the > routing while the connection is up. It certainly shouldn't, and doesn't on any of my boxes. Nate From owner-freebsd-mobile Tue Dec 10 15:30:51 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA11179 for mobile-outgoing; Tue, 10 Dec 1996 15:30:51 -0800 (PST) Received: from usceast.cs.sc.edu (root@usceast.cs.sc.edu [129.252.11.9]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id PAA11174 for ; Tue, 10 Dec 1996 15:30:48 -0800 (PST) Received: from tupelo.cs.sc.edu (tupelo.cs.sc.edu [129.252.11.61]) by usceast.cs.sc.edu (8.6.12/8.6.9) with ESMTP id SAA20176 for ; Tue, 10 Dec 1996 18:30:45 -0500 From: Michael Woo Received: (woo@localhost) by tupelo.cs.sc.edu (8.6.10/8.6.12) id SAA00880 for freebsd-mobile@freebsd.org; Tue, 10 Dec 1996 18:30:44 -0500 Date: Tue, 10 Dec 1996 18:30:44 -0500 Message-Id: <199612102330.SAA00880@tupelo.cs.sc.edu> To: freebsd-mobile@freebsd.org Subject: test Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk test please ignore. test scw From owner-freebsd-mobile Tue Dec 10 16:20:59 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA15382 for mobile-outgoing; Tue, 10 Dec 1996 16:20:59 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA15361; Tue, 10 Dec 1996 16:20:51 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id KAA19960; Wed, 11 Dec 1996 10:49:03 +1030 (CST) From: Michael Smith Message-Id: <199612110019.KAA19960@genesis.atrad.adelaide.edu.au> Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light In-Reply-To: <199612101906.MAA04666@phaeton.artisoft.com> from Terry Lambert at "Dec 10, 96 12:06:26 pm" To: terry@lambert.org (Terry Lambert) Date: Wed, 11 Dec 1996 10:49:01 +1030 (CST) Cc: grog@lemis.de, freebsd-mobile@FreeBSD.ORG, FreeBSD-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] 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 Terry Lambert stands accused of saying: > > in. In /etc/sysconfig, I did effectively: > > > > ifconfig lp0 192.109.197.159 192.109.197.137 > > ifconfig zp0 192.109.197.159 > > This is incorrect. This is perfectly legitimate. The 'lp' interface is p2p, and the routing entry is a host route for the other end of the link. > Consider: I am your kernel... I have a packet for 192.109.197.158; do > I send it out your parallel port or your ethernet card? The ethernet, obviously. > Terry Lambert -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Tue Dec 10 17:09:21 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA18524 for mobile-outgoing; Tue, 10 Dec 1996 17:09:21 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id RAA18482; Tue, 10 Dec 1996 17:09:11 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id RAA05309; Tue, 10 Dec 1996 17:47:27 -0700 From: Terry Lambert Message-Id: <199612110047.RAA05309@phaeton.artisoft.com> Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light To: nate@mt.sri.com (Nate Williams) Date: Tue, 10 Dec 1996 17:47:26 -0700 (MST) Cc: terry@lambert.org, nate@mt.sri.com, freebsd-mobile@freebsd.org, FreeBSD-current@freebsd.org In-Reply-To: <199612102212.PAA09166@rocky.mt.sri.com> from "Nate Williams" at Dec 10, 96 03:12:49 pm X-Mailer: ELM [version 2.4 PL24] 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 > > In other words, if I have a local network connection, and I dial > > up my pop account at my ISP, then Windows95 tends to screw up the > > routing while the connection is up. > > It certainly shouldn't, and doesn't on any of my boxes. Try running *any* proxy server for going from NETBEUI or IPX based winsock.dll or wsock32.dll clients to a Windows95 box running the proxy server to gate the socket calls. If the Win95 box has a local network connection and supports RAS, when a RAS connection is present, all packets will be sent to the RAS connection, even if only one client has specified a RAS port for its connection and all other clients have specified using the local network connection. You would run into this if you have a branch office connected by intermittent connection instead of dedicated line. You don't notice that it's sending all the packets to the wrong place if your test setup also has a local (real) net connection. But it is. As far as why it happens, well, Win95 does not support routing between local cards based on subnet correctly -- ie: a Win95 box is not a router. This relates to the original topic in that a Win95 box with two network interfaces "named" the same network address will act as you described -- IF you do not need it to route. Anyway, this is all very special case, and is probably more interesting to people into nomadic computing that the majority of the people on this list. I was just curious as to what would happen when it was put in this environment (in case that's what he meant when he said he had another machine with a "near identical setup" which worked... it might have been non-FreeBSD. Back to your regularly scheduled postings... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-mobile Tue Dec 10 19:26:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA03734 for mobile-outgoing; Tue, 10 Dec 1996 19:26:40 -0800 (PST) Received: from colby.ixks.com (root@colby.ixks.com [204.77.124.3]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id TAA03723 for ; Tue, 10 Dec 1996 19:26:38 -0800 (PST) Received: from colby11.ixks.com (jlellis@colby11.ixks.com [204.77.96.210]) by colby.ixks.com (8.6.12/96.1.2) with SMTP id VAA24364 for ; Tue, 10 Dec 1996 21:14:51 -0600 Message-Id: <3.0.16.19961210220822.41c7144e@colby.ixks.com> X-Sender: jlellis@colby.ixks.com (Unverified) X-Mailer: Windows Eudora Pro Version 3.0 Demo (16) Date: Tue, 10 Dec 1996 22:08:32 -0400 To: freebsd-mobile@freebsd.org From: Keith Ellis Subject: Running PPP with a PCMCIA modem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to get PPP working on a Lexmark LexBook SE10 (486SLC2 50MHz) running FreeBSD 2.1.5R and an Eiger Labs 28.8 Data/Fax/Cellular PCMCIA modem. All the network configurations *are* correct, and I have followed the instructions at http://www.freebsd.org/handbook/, it just won't recognize my modem for some odd reason. Your suggestions would help. Thanks.. Replies to jlellis@colby.ixks.com please /Keith E. From owner-freebsd-mobile Wed Dec 11 01:08:02 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA27912 for mobile-outgoing; Wed, 11 Dec 1996 01:08:02 -0800 (PST) Received: from shadows.aeon.net (bsdcur@shadows.aeon.net [194.100.41.1]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id BAA27878; Wed, 11 Dec 1996 01:07:50 -0800 (PST) Received: (from bsdcur@localhost) by shadows.aeon.net (8.8.3/8.8.3) id LAA04906; Wed, 11 Dec 1996 11:06:03 +0200 (EET) From: mika ruohotie Message-Id: <199612110906.LAA04906@shadows.aeon.net> Subject: Re: It works! Solved my problem wih Etherlink III on AcerNote Light To: nate@mt.sri.com (Nate Williams) Date: Wed, 11 Dec 1996 11:06:02 +0200 (EET) Cc: terry@lambert.org, nate@mt.sri.com, freebsd-mobile@freebsd.org, FreeBSD-current@freebsd.org In-Reply-To: <199612102212.PAA09166@rocky.mt.sri.com> from Nate Williams at "Dec 10, 96 03:12:49 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] 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 > > In other words, if I have a local network connection, and I dial > > up my pop account at my ISP, then Windows95 tends to screw up the > > routing while the connection is up. > It certainly shouldn't, and doesn't on any of my boxes. hmm? it shouldnt, but does. atleast in some way. i've learned the hard way that win95 have no idea how to do things freebsd does as a "trivia" (example, configuring different interfaces totally separatedly, including the host/domain names known for the interface) but that's why this is freebsd-* and not windows95-*... =) :P that's why i run freebsd on many machines, and win95 only on one desktop at work... my home p133 have never been infected with ms-code. > Nate mickey From owner-freebsd-mobile Fri Dec 13 17:49:21 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA00637 for mobile-outgoing; Fri, 13 Dec 1996 17:49:21 -0800 (PST) Received: from mercury.interpath.com (babbleon@mercury.interpath.com [199.72.1.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id RAA00632; Fri, 13 Dec 1996 17:49:19 -0800 (PST) Received: (from babbleon@localhost) by mercury.interpath.com (8.6.12/v1.0) id UAA07097; Fri, 13 Dec 1996 20:49:17 -0500 From: "Brian T. Schellenberger - Personal Account" Message-Id: <199612140149.UAA07097@mercury.interpath.com> Subject: Zip drive To: freebsd-hardware@freebsd.org (FreeBSD Hardware), freebsd-mobile@freebsd.org Date: Fri, 13 Dec 1996 20:49:16 -0500 (EST) X-Mailer: ELM [version 2.4 PL23] 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 I'm trying to usei Nicolas Souchu's 2.1.0 zip driver from http://www.prism.uvsq.fr/~son/ppa3.html, and I'm not being entirely successful. In fact, after detecting the ppa0 device, it locks up (but only if the drive is in fact on--if it's powered off or disconnected, I get a "probe failed" message and the boot continues). I need to get this working quickly, or send it back. Has anybody else got a zip drive working? If so, did you use this driver, or get a SCSI adaoptor? If the former, can you give me any pointers? If the latter, do you have a laptap (PCMCIA) SCSI adaptor that works? Thanks. -- Brian T. Schellenberger, the Man from Babble-On. "Someday I'll get around to importing all the cool quotes from my other account's .sig files." http://mercury.interpath.com/~babbleon From owner-freebsd-mobile Sat Dec 14 06:28:12 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA01335 for mobile-outgoing; Sat, 14 Dec 1996 06:28:12 -0800 (PST) Received: from passer.osg.gov.bc.ca (0@passer.osg.gov.bc.ca [142.32.110.29]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id GAA01330; Sat, 14 Dec 1996 06:28:10 -0800 (PST) Received: from localhost (15005@localhost [127.0.0.1]) by passer.osg.gov.bc.ca (8.8.4/8.6.10) with SMTP id GAA09908; Sat, 14 Dec 1996 06:28:06 -0800 (PST) From: Cy Schubert - ITSD Open Systems Group Message-Id: <199612141428.GAA09908@passer.osg.gov.bc.ca> X-Authentication-Warning: passer.osg.gov.bc.ca: 15005@localhost [127.0.0.1] didn't use HELO protocol Reply-to: cschuber@uumail.gov.bc.ca X-Mailer: MH X-Sender: cschuber To: "Brian T. Schellenberger - Personal Account" cc: freebsd-hardware@freebsd.org (FreeBSD Hardware), freebsd-mobile@freebsd.org Subject: Re: Zip drive In-reply-to: Your message of "Fri, 13 Dec 96 20:49:16 EST." <199612140149.UAA07097@mercury.interpath.com> Date: Sat, 14 Dec 96 06:28:06 -0800 X-Mts: smtp Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've got a working Zip drive under FreeBSD 2.1.5R, initially on my 486/33 and now on my P5/120. I chose SCSI because I already had an Adaptec 1542CF and three SCSI devices. You may wish to configure AMD to handle mounting of the Zip drive. I've found it reduces the number of instances I need to become root to mount a Zip disk. Regards, Phone: (250)387-8437 Cy Schubert OV/VM: BCSC02(CSCHUBER) Open Systems Support BITNET: CSCHUBER@BCSC02.BITNET ITSD Internet: cschuber@uumail.gov.bc.ca cschuber@bcsc02.gov.bc.ca "Quit spooling around, JES do it." > > I'm trying to usei Nicolas Souchu's 2.1.0 zip driver from > http://www.prism.uvsq.fr/~son/ppa3.html, and I'm not being entirely > successful. In fact, after detecting the ppa0 device, it locks up > (but only if the drive is in fact on--if it's powered off or disconnected, > I get a "probe failed" message and the boot continues). > > I need to get this working quickly, or send it back. Has anybody else > got a zip drive working? If so, did you use this driver, or get a > SCSI adaoptor? If the former, can you give me any pointers? If the > latter, do you have a laptap (PCMCIA) SCSI adaptor that works? > > Thanks. > > -- > Brian T. Schellenberger, the Man from Babble-On. > > "Someday I'll get around to importing all the cool quotes from my other > account's .sig files." http://mercury.interpath.com/~babbleon > From owner-freebsd-mobile Sat Dec 14 23:06:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA26901 for mobile-outgoing; Sat, 14 Dec 1996 23:06:36 -0800 (PST) Received: from lenlen.mt.cs.keio.ac.jp (dhcp2.mt.cs.keio.ac.jp [131.113.32.182]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA26890 for ; Sat, 14 Dec 1996 23:06:32 -0800 (PST) Received: (from hosokawa@localhost) by lenlen.mt.cs.keio.ac.jp (8.8.2/8.8.2) id QAA01074; Sun, 15 Dec 1996 16:06:24 GMT Date: Sun, 15 Dec 1996 16:06:24 GMT Message-Id: <199612151606.QAA01074@lenlen.mt.cs.keio.ac.jp> To: mobile@freebsd.org Subject: PAO-961215 is now available From: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.19PL2] 1996-01/26(Fri) Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk PAO-961215 is now available. ftp://ryukyu.mt.cs.keio.ac.jp/pub/FreeBSD/PAO/PAO-961215.tar.gz ---------------------------------------------------------------------- What's new since 961202: o Fixed many bugs and problems in wd.c (especially suspend/resume problem on some machines) o Fixed bugs in BPF code in if_sn.c o Fixed bugs in suspend/resume code in if_sn.c o Removed a garbage code from aic_detach o etc.... ---------------------------------------------------------------------- -- HOSOKAWA, Tatsumi hosokawa@mt.cs.keio.ac.jp hosokawa@jp.FreeBSD.org