Date: Thu, 18 Mar 1999 19:35:33 -0500 From: "Oleg Ogurok" <oleg@ogurok.com> To: "Sean O'Connell" <sean@stat.Duke.EDU> Cc: <freebsd-mobile@freebsd.org> Subject: RE: Etherlink III 3C589C and pcic Message-ID: <000201be71a0$66737020$ba96d0d1@birch.ogurok.com> In-Reply-To: <19990318135126.C610@stat.Duke.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
I am running 4-CURRENT and bug with pcic loading twice is fixed already. The
problem is pccardd tells me it cannot allocate driver for this card. I know
that zp0 and pcic don't work together. For some reason pcic can't work with
my card, but zp0 works fine. But I need to use pcic because I have a PCMCIA
modem which I think is only supported by pcic. And by the way, ep0 is not
what I need, it's driver for some other card.
Oleg.
-----Original Message-----
From: Sean O'Connell [mailto:sean@stat.Duke.EDU]
Sent: Thursday, March 18, 1999 1:51 PM
To: Oleg Ogurok
Subject: Re: Etherlink III 3C589C and pcic
On 1999 Mar 18, Oleg Ogurok (aka oleg@ogurok.com) wrote:
> Hi there.
>
> I have a laptop with such card. The zp0 driver works fine with this card,
> but when I enable pcic and pccardd instead, I get "driver allocation
failed
> for 3Com Corporation". Have anyone had such problem?
You cannot use zp0 w/ pccardd. You need to ep0 and have it built
into the kernel. You also need to make sure that nothing else is
running on irq 10 (or whatever you set it to in the kernel). Also
probaby need to remove the ifconfig_zp0 entry and replace it with
a pccard_ifconfig entry and make sure that /etc/pccard.conf exists
and has an entry for your card. As a second point, are you running
2.2x or 3.1 or 4.x ? If you are running either 3 or 4 and have the
pcic support built into the kernel, you will want to change /etc/rc.pccard
to prevent the pcic support from being loaded twice:
#!/bin/sh -
#
# PC-card startup script
# HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
#
# $Id: rc.pccard,v 1.6.2.2 1999/03/17 17:41:35 nate Exp $
#
if [ "X$pccard_enable" = X"YES" ] ; then
builtin=`kldstat -v -i 1 | grep pcic | awk '{print $2}'`
if [ "$builtin" = "pcic" ] ; then
echo "PCIC module compiled in"
else
if kldload pcic; then
echo "Kernel pcic module loaded."
fi
fi
if [ "x$pccard_mem" != "xDEFAULT" ] ; then
pccardc pccardmem $pccard_mem
else
pccardc pccardmem 0xd0000
fi
echo -n "Enable PC-card."
pccardd 2>&1 > /var/log/pccardd.debug &
fi
Also, make sure that /etc/pccardd.conf has sensible entries for avaialble
irq's.
Good luck
S
--
-------------------------------------------------------------------------
Sean O'Connell Email: sean@stat.Duke.EDU
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University Fax: (919) 684-8594
Not only am I highly allergic to perfume; it is an environmental toxin!
http://www.supernet.net/~jackibar/perfume.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201be71a0$66737020$ba96d0d1>
