Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread Hideyuki KURASHINA

>>> On Thu, 18 Jul 2002 09:50:54 -0600 (MDT), "M. Warner Losh" <[EMAIL PROTECTED]> said:

> In message: <[EMAIL PROTECTED]>
> Hideyuki KURASHINA <[EMAIL PROTECTED]> writes:
> :   Jul 19 00:34:49 hoge pccardd[1363]: driver allocation failed for MELCO(LPC3-TX): 
>Inappropriate ioctl for device
> 
> recompile pccardd.  The inappropriate ioctl for device is due to a
> slight mismatch between kernel and pccardd.  I recerntly change the
> ioctl interface in current so that I could MFC some changes in a
> binary compatible way in -stable (thus breaking binary compat in
> -current). 

When I use /usr/obj/usr/src/usr.sbin/pccard/pccardd/pccard instead of
/usr/sbin/pccardd, PC Card works again. :-)

  ed0 at port 0x340-0x35f iomem 0xd-0xd0fff irq 3 flags 0x3 slot 1 on pccard1
  ed0: address 00:40:26:xx:xx:xx, type NE2000 (16 bit)

Thanks!

-- rushani

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread M. Warner Losh

In message: <[EMAIL PROTECTED]>
Hideyuki KURASHINA <[EMAIL PROTECTED]> writes:
:   Jul 19 00:34:49 hoge pccardd[1363]: driver allocation failed for MELCO(LPC3-TX): 
:Inappropriate ioctl for device

recompile pccardd.  The inappropriate ioctl for device is due to a
slight mismatch between kernel and pccardd.  I recerntly change the
ioctl interface in current so that I could MFC some changes in a
binary compatible way in -stable (thus breaking binary compat in
-current). 

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread Hideyuki KURASHINA

Hi,

>>> On Thu, 18 Jul 2002 02:06:15 -0600 (MDT), "M. Warner Losh" <[EMAIL PROTECTED]> said:

> In message: <[EMAIL PROTECTED]>
> "Marc G. Fournier" <[EMAIL PROTECTED]> writes:
> : Just upgraded my laptop to the latest -CURRENT ... everything boots fine,
> : but my ethernet no longer exists (it worked great on my June 6th kernel)
> : ...
> 
> Used to work for me, but something seems to have busted it in recent
> versions of the kernel.  So NEWCARD appears to be broken for ata, sio
> and ed.  Wonderful.  These all used to work at one point in the past.

Unfortunately, ed driver does not work here (OLDCARD), too. I cvsup'ed
and built world & kernel yesterday, and installed kernel. it worked
fine on my July 11th kernel.

I use Melco LPC3-TX and now have following error messages;

  Jul 19 00:34:44 hoge pccardd[1363]: Card "MELCO"("LPC3-TX") [] [] matched 
"MELCO"("LPC3-TX") [(null)] [(null)]
  Jul 19 00:34:44 hoge pccardd[1363]: Ether=00:40:26:xx:xx:xx
  Jul 19 00:34:49 hoge pccardd[1363]: driver allocation failed for MELCO(LPC3-TX): 
Inappropriate ioctl for device


-- rushani

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread David W. Chapman Jr.

On Thu, Jul 18, 2002 at 08:52:43AM -0600, M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> Ian Dowse <[EMAIL PROTECTED]> writes:
> : I think the "ed" problem is that without pccardd, the 0x8 flag
> : is no longer being passed to the driver, so it doesn't try probing
> : it as a Linksys card (I haven't checked for sure, but that would
> : be consistent with it being detected as an NE2000).
> 
> That may be true.  I thought I had flags in the table of ne2000 pcmcia
> cards...

Hey, this sounds like it could be my problem as well.  If anyone has 
any patches, I would gladly test them.

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. 
[EMAIL PROTECTED]   FreeBSD Committer 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread M. Warner Losh

In message: <[EMAIL PROTECTED]>
Ian Dowse <[EMAIL PROTECTED]> writes:
: I think the "ed" problem is that without pccardd, the 0x8 flag
: is no longer being passed to the driver, so it doesn't try probing
: it as a Linksys card (I haven't checked for sure, but that would
: be consistent with it being detected as an NE2000).

That may be true.  I thought I had flags in the table of ne2000 pcmcia
cards...

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread Ian Dowse

In message <[EMAIL PROTECTED]>, "M. Warner Losh" writes:
>Used to work for me, but something seems to have busted it in recent
>versions of the kernel.  So NEWCARD appears to be broken for ata, sio
>and ed.  Wonderful.  These all used to work at one point in the past.

I think the "ed" problem is that without pccardd, the 0x8 flag
is no longer being passed to the driver, so it doesn't try probing
it as a Linksys card (I haven't checked for sure, but that would
be consistent with it being detected as an NE2000).

Ian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-18 Thread M. Warner Losh

In message: <[EMAIL PROTECTED]>
"Marc G. Fournier" <[EMAIL PROTECTED]> writes:
: Just upgraded my laptop to the latest -CURRENT ... everything boots fine,
: but my ethernet no longer exists (it worked great on my June 6th kernel)
: ...

Used to work for me, but something seems to have busted it in recent
versions of the kernel.  So NEWCARD appears to be broken for ata, sio
and ed.  Wonderful.  These all used to work at one point in the past.

Time to try to block out a chunk of time for dealing with them.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: NEWCARD support for Linksys Ethernet broken?

2002-07-17 Thread W Gerald Hicks

On Wednesday, July 17, 2002, at 10:24 AM, Marc G. Fournier wrote:

>
> Just upgraded my laptop to the latest -CURRENT ... everything boots 
> fine,
> but my ethernet no longer exists (it worked great on my June 6th kernel)
> ...
>
> I'm using NEWCARD support in the kernel, and if_ed is loaded according 
> to
> kldstat ...
>
> I've searched Google, and nadda there ... known problem, or am I missing
> something that has changed?  Just re-checked UPGRADING and nothing in
> there about it either ...
>
> Thanks ...

Similar situation here.   Oddly, it also reports a different
card than before (and what it's reporting is wrong).

Cheers,

Jerry Hicks
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message