From owner-freebsd-mobile Sun Oct 24 3:24:38 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from va.com.au (va.com.au [203.15.106.1]) by hub.freebsd.org (Postfix) with ESMTP id 874F114BEF for ; Sun, 24 Oct 1999 03:24:21 -0700 (PDT) (envelope-from lizst@va.com.au) Received: from [1.1.1.3] (203.108.19.84) by va.com.au with ESMTP (Eudora Internet Mail Server 2.2); Sun, 24 Oct 1999 19:54:17 +0930 Mime-Version: 1.0 X-Sender: lizst@mail.va.com.au Message-Id: In-Reply-To: <3812C709.19E089D8@kisoft-services.com> References: <199910230809.CAA28033@harmony.village.org> <38120042.D8F1BE5D@kisoft-services.com> <3812C2FB.F273B5E2@kisoft-services.com> <3812C709.19E089D8@kisoft-services.com> Date: Sun, 24 Oct 1999 20:24:05 +1000 To: Eric MASSON , jesse reynolds , FreeBSD Mobile From: Jesse Reynolds Subject: Re: zircom pc-card's on a Fujitsu Lifebook 735Dx Laptop... Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 10:44 AM +0200 24/10/1999, Eric MASSON wrote: >Hi again, > >you have to put pccard_enable=3D"YES" in your /etc/rc.conf. Sorry for >previous answer, it's early in the morning here and i've just get out of >the bed :). :-) No worries. Okay, I had pccardd_enable=3D"YES" - close but no=20 darts. I'm trying the revised syntax now and am rebooting. Okay, the dmesg output is pretty much unchanged, but I see in the=20 messages file that we're getting a bit further - yay! It puts the=20 same entries in when I run "pccardd dumpcis" too (except the process=20 numbers are different), which are: Oct 24 19:56:01 pccardd[369]: No card in database for=20 "Xircom"("CreditCard Ethernet+Modem 33.") Oct 24 19:56:06 pccardd[369]: No card in database for=20 "Xircom"("CreditCard 10Base-T") Oct 24 19:56:06 pccardd[369]: pccardd started Okay, so this is interesting. Perhaps we should take a few steps=20 backwards though, as I'm fairly new to FreeBSD... I'm more familiar=20 with Solaris and Linux, but i've only just done my first kernel=20 compile so I'm a bit of a baby about all this stuff. And I'm=20 completely unfamiliar with the FreeBSD PCMCIA architecture, and the=20 pc-card architecture full stop. I started on this expedition a week ago when I decided to try getting=20 the ethernet cards working in my freebsd laptop, they are both=20 xircom's of different types, as you can see above I have a CEM33=20 (ethernet + modem) and a ethernet only one. So, where should I go from here? According to the xe driver readme I=20 should add some lines to /etc/pccard.conf - now, I didn't have an=20 /etc/pccard.conf untile just now - I copied the .sample into this=20 location and am using this untouched - should I remove anything from=20 it? I think I need to add some lines about the two cards I have to=20 this file, but I'm not sure what to add exactly. I'm guessing=20 something like: card "Xircom" "CreditCard 10Base-T" config 0x1 "xe0" 10 insert ifconfig xe0 up remove ifconfig xe0 down Now, here's where my knowledge of PC architecture lets me down. The=20 readme says I have to choose an IRQ for the card that isn't used by=20 anything else on the system - especially not the PC card=20 controller... so, how do I tell what devices are using what IRQ? I=20 have no idea... And which bit of this entry is the IRQ? Is it the "0x1"? or the "10"? .... Cheers Jesse >For purpose test you can issue a pccardd -d from the command line, it >will cause pccardd to start and not daemonize, useful for debugging. > >you can find syntax for lines in /etc/rc.conf just by searching the >topics you need in /etc/defaults/rc.conf. /etc/rc.conf is an override >for previous file. > >Eric > >Eric MASSON a =E9crit : >> >> Hi, >> >> So could you post the following: >> 1 - uname -a output >> 2 - /etc/rc.conf >> 3 - kernel config file >> 4 - dmesg output >> >> I post the previous answer because, you get this kind of result if >> pccardd isn't started when issueing pccardc dumpcis. >> >> Eric >> >> Ps: Cross posting is not in standard policies of FreeBSD mailing lists. >> >> jesse reynolds a =E9crit : >> > >> > At 8:36 PM +0200 23/10/1999, Eric MASSON wrote: >> > >Hi >> > > >> > >> # pccardc dumpcis >> > >> Read return -1 bytes (expected 2) >> > >> pccardc: CIS code read: Cannot allocate memory >> > >> Read return -1 bytes (expected 10) >> > >> Configuration data for card in slot 1 >> > >> 2 slots found >> > >Enable pccardd start in /etc/rc.conf and then pccardc dumpcis will wor= k >> > >properly. >> > >> > How should I do this? eg: >> > >> > pccardd_start=3D"YES" >> > >> > is this what you mean? It's not working. I get the same output as >> > above, only doubled, as I have both the cards installed (two of >> > them). I'm not sure of the syntax to use here. I also tried the >> > following with no success: >> > >> > pccardd_enable=3D"YES" >> > >> > I actually thought it might be more to do with the order of the >> > drivers starting up in the kernel, as it tries to probe for xe before > > > it's loaded the PC-Card driver, and initialises xe and sio: >> > >> > xe0: probe >> > xe0 not found >> > . >> > . >> > . >> > PC-Card VLSI 82C146 (5 mem & 2 I/O windows) >> > pcic: controller irq 3 >> > Initializing PC-card drivers: xe sio >> > >> > then again I'm probably barking up the wrong tree. Anyone? >> > >> > cheers >> > >> > jesse >> > >> > -- >> > Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au >> > >> > Faxmail: +61 2 9776 3594 Virtual Community Engine >> > Email: jesse (at) va.com.au http://www.vce.net >> > ?: http://jesse.va.com.au huh?: Community Server for >> > ICQ: 4766684 MacOS Servers (W*API) >> > >> > To Unsubscribe: send mail to majordomo@FreeBSD.org >> > with "unsubscribe freebsd-mobile" in the body of the message >> >> -- >> Any opinions expressed above | Murphy's Law Corollary : >> are my own, not Kisoft's | Murphy was an optimist. >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-mobile" in the body of the message > >-- >Any opinions expressed above | Murphy's Law Corollary : >are my own, not Kisoft's | Murphy was an optimist. > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-mobile" in the body of the message -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au - http://virtual.artists To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message