Martin Carpenter | 23 Jan 2008 22:29
Picon
Favicon

Seeking hpcsh kernel binary with ep driver


Hello,

The subject pretty much says it all: I'm looking for a (preferably
recent) kernel image with the ep* devices enabled (for my 3Com 3c589D
pcmcia ethernet card in a Jornada 680). From what I see here:

http://mail-index.netbsd.org/port-hpcsh/2002/11/06/0000.html

and more recently here:

http://mail-index.netbsd.org/port-hpcsh/2006/01/02/0002.html

this once was the case for GENERIC, but from what I see here:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hpcsh/conf/GENERIC?rev=HEAD&content-type=text/x-cvsweb-markup

---snip---
# PCMCIA network interfaces
mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)

# MII/PHY support
---snip---

it is no longer so. (I wonder why not?).

I have a 4.0 kernel working on the Jornada, and it recognises the card
correctly, but of course it's "not configured". It seems a reasonable
(Continue reading)

Jared D. McNeill | 23 Jan 2008 23:43
Picon

Re: Seeking hpcsh kernel binary with ep driver

Martin Carpenter wrote:
> The subject pretty much says it all: I'm looking for a (preferably
> recent) kernel image with the ep* devices enabled (for my 3Com 3c589D
> pcmcia ethernet card in a Jornada 680). From what I see here:

Please try the following kernel:

ftp://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/netbsd-4.0-GENERIC-hpcsh.gz

Cheers,
Jared

Martin Carpenter | 24 Jan 2008 00:24
Picon
Favicon

Re: Seeking hpcsh kernel binary with ep driver

On Wed, 2008-01-23 at 17:43 -0500, Jared D. McNeill wrote:

> Please try the following kernel:
> 
> ftp://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/netbsd-4.0-GENERIC-hpcsh.gz

Wow, thanks!

The card is recognised and configured now, but as soon as dhclient tries
to do it's thing I see this repeatedly on the console:

	ep0: adapter failure (2003)

I seem to be experiencing the same problem as described here by M
Ramakers:

http://mail-index.netbsd.org/netbsd-bugs/2005/12/21/0023.html

including the same error (sendto: host down) if I try static IP
configuration and pinging my gateway. The gateway never sees any packets
from the Jornada. I have exactly the same card (3Com Etherlink III,
3C589D-TP) as described in the above mailing list message.

This is PR 32356:

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32356

Martin.

(Continue reading)

Michai Ramakers | 24 Jan 2008 11:08
Picon

Re: Seeking hpcsh kernel binary with ep driver

Hello,

> I seem to be experiencing the same problem as described here by M
> Ramakers:
>
> http://mail-index.netbsd.org/netbsd-bugs/2005/12/21/0023.html

fwiw, let me say I am still using that particular card in a
netbsd-4_rc5 system, but haven't tried in the jornada after submitting
this bug (no idea how it would work in 4.x)

Michai

Jared D. McNeill | 24 Jan 2008 00:58
Picon

Re: Seeking hpcsh kernel binary with ep driver

Martin Carpenter wrote:
> On Wed, 2008-01-23 at 17:43 -0500, Jared D. McNeill wrote:
> 
>> Please try the following kernel:
>>
>> ftp://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/netbsd-4.0-GENERIC-hpcsh.gz
> 
> Wow, thanks!
> 
> The card is recognised and configured now, but as soon as dhclient tries
> to do it's thing I see this repeatedly on the console:
> 
> 	ep0: adapter failure (2003)
> 
> I seem to be experiencing the same problem as described here by M
> Ramakers:
> 
> http://mail-index.netbsd.org/netbsd-bugs/2005/12/21/0023.html
> 
> including the same error (sendto: host down) if I try static IP
> configuration and pinging my gateway. The gateway never sees any packets
> from the Jornada. I have exactly the same card (3Com Etherlink III,
> 3C589D-TP) as described in the above mailing list message.
> 
> This is PR 32356:
> 
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32356

That's a bummer :/ I think the last time I used ep was in the pre-3.0 
days, before tripping over the network cable and breaking the clips on 
(Continue reading)

Martin Carpenter | 24 Jan 2008 01:01
Picon
Favicon

Re: Seeking hpcsh kernel binary with ep driver

On Wed, 2008-01-23 at 18:58 -0500, Jared D. McNeill wrote:

> If you remove and re-insert the card after bootup has completed, do you 
> see the same behaviour?

Yes, I do. Also, the LEDs on the dongle are not lit.

I might have a poke at the source tomorrow, but my knowledge of device
driver programming being what it is, I wouldn't expect a miracle.

Thanks for the help!

Martin.

Martin Carpenter | 29 Jan 2008 18:06
Picon
Favicon

Re: Seeking hpcsh kernel binary with ep driver


Following up to myself:

On Thu, 2008-01-24 at 01:01 +0100, Martin Carpenter wrote:
> I might have a poke at the source

I had a poke at the souce: CARD_FAILURE, underrun, blah blah. Then I
wondered if... if maybe... and sure enough the card is recognised by XP
(Device Manager is happy) but won't play properly with that OS either
(no ARP, no lit lights on the dongle). Consequently, I suppose that the
card (dongle?) really is dead :( and Occam is alive and well :)

Jared D. McNeill | 23 Jan 2008 23:33
Picon

Re: Seeking hpcsh kernel binary with ep driver

Martin Carpenter wrote:
> Hello,
> 
> The subject pretty much says it all: I'm looking for a (preferably
> recent) kernel image with the ep* devices enabled (for my 3Com 3c589D
> pcmcia ethernet card in a Jornada 680). From what I see here:
> 
> http://mail-index.netbsd.org/port-hpcsh/2002/11/06/0000.html
> 
> and more recently here:
> 
> http://mail-index.netbsd.org/port-hpcsh/2006/01/02/0002.html
> 
> this once was the case for GENERIC, but from what I see here:
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hpcsh/conf/GENERIC?rev=HEAD&content-type=text/x-cvsweb-markup
> 
> ---snip---
> # PCMCIA network interfaces
> mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
> ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
> wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
> 
> # MII/PHY support
> ---snip---
> 
> it is no longer so. (I wonder why not?).
> 
> I have a 4.0 kernel working on the Jornada, and it recognises the card
> correctly, but of course it's "not configured". It seems a reasonable
(Continue reading)

Martin Carpenter | 23 Jan 2008 23:44
Picon
Favicon

Re: Seeking hpcsh kernel binary with ep driver

On Wed, 2008-01-23 at 17:33 -0500, Jared D. McNeill wrote:

> I can confirm that the ep driver does work on hpcsh, as I have used it 
> in the past on a Jornada 690.

Excellent, at least I'm not heading down a blind alley :)

>  Let me setup a cross build environment for 
> 4.0/hpcsh and I will get back to you shortly with a modified kernel that 
> includes the ep driver.
> 
> Are there any other options you need while I'm here?

Jared, that's very kind, thank you - if you have the time then just a
plain old kernel with ep is all I need.

Martin.


Gmane