NetBSD Problem Report #32356

From www@netbsd.org  Wed Dec 21 23:49:32 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 3BA5363B8E9; Wed, 21 Dec 2005 23:49:32 +0000 (UTC)
Message-Id: <20051221234932.3BA5363B8E9@narn.netbsd.org>
Date: Wed, 21 Dec 2005 23:49:32 +0000 (UTC)
From: m.ramakers@gmail.com
Reply-To: m.ramakers@gmail.com
To: gnats-bugs@netbsd.org
Subject: etherlink III 3c589D-TP PC card failure
X-Send-Pr-Version: www-1.0

>Number:         32356
>Category:       port-hpcsh
>Synopsis:       etherlink III 3c589D-TP PC card failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcsh-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 21 23:50:00 +0000 2005
>Last-Modified:  Thu Jan 24 01:02:54 +0000 2008
>Originator:     Michai Ramakers
>Release:        3.0RC6 (and tried with 2.0.1 but no info available)
>Organization:
>Environment:
NetBSD 3.0_RC6 (JORNADA) #0: Wed Dec 21 23:44:30 CET 2005
root@roy:/usr/3-0-RC6/src/sys/arch/hpcsh/compile/JORNADA

>Description:
either when inserting card before power-on or afterwards, after
bringing interface (ep0 in my case) up, network would not work (dmesg
pasted below).

The pc card card works in a PC laptop running netbsd2.1. I have tested
no other pc cards in the faulty system, because I don't have any
other. The card in question has a dongle to RJ45 connector with a LED;
which is off after card insertion. After ifconfig up, the LED stays on
for about 2 seconds, then starts blinking with approx 1Hz rate, on/off
each 50% of the time.

Trying to ping to host A on the LAN (i386 netbsd2.0.1) always failed
("ping: sendto: Host is down"), although I did get 2 reply packets
from another host B (i386 netbsd1.6.2), with 84% packet loss, and
approx. 4 second delay between screenupdates (however, round trip time
was still in the 200ms range). Pinging from host A to faulty system

My LAN traffic was extremely low at the time. The PC laptop used the
same network cable and same pc card, with 0% packet loss. I have tried
ejecting/inserting the card, ifconfig down/up, forcing media to
10baseT ("ifconfig ep0 media 10baseT"), to no avail.

--------------

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.0_RC6 (JORNADA) #0: Wed Dec 21 23:44:30 CET 2005
  root@roy:/usr/3-0-RC6/src/sys/arch/hpcsh/compile/JORNADA
HP Jornada 680 (US/UK) 
total memory = 16384 KB
avail memory = 12712 KB
mainbus0 (root)
cpu0 at mainbus0: HITACHI SH3 132.694MHz PCLOCK 22.102 MHz
16KB/16B 4-way set-associative I/D-unified cache.  
P0, U0, P3 write-back P1 write-back
4-way set-associative 128 TLB entries 
VPN mode, multiple virtual storage mode
btnmgr0 at mainbus0
wskbd2 at btnmgr0 mux 1
shb0 at mainbus0
scif0 at shb0 
adc0 at shb0 
j6x0pwr0 at adc0 
j6x0tp0 at adc0 
wsmouse0 at j6x0tp0 mux 0
wskbd1 at j6x0tp0 mux 1
j6x0lcd0 at shb0: brightness 160, contrast 11
hd64461if0 at shb0
hd64461video0 at hd64461if0: frame buffer = 512 KB , console
hpcfb0 at hd64461video0: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0 at hpcfb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wskbd1: connecting to wsdisplay0
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 1-3 added (std, vt100 emulation)
hd64461pcmcia0 at hd64461if0
pcmcia0 at hd64461pcmcia0
ep0 at pcmcia0 function 0: <3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002>
ep0: address 00:10:4b:7e:c4:fa, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10baseT)
pcmcia1 at hd64461pcmcia0
wdc0 at pcmcia1 function 0: <SAMSUNG, Rev 5.0   , >
wdc0: memory mapped mode
atabus0 at wdc0 channel 0
hd64461gpio at hd64461if0 not configured
hd64461afe at hd64461if0 not configured
com0 at hd64461if0: device problem. don't attach.
hd64461fir at hd64461if0 not configured
pfckbd0 at mainbus0
hpckbd0 at pfckbd0
wskbd0 at hpckbd0: console keyboard, using wsdisplay0
hpcapm0 at mainbus0: pseudo power management module
apmdev0 at hpcapm0: Power Management spec V1.2
wd0 at atabus0 drive 0: <SAMSUNG CF/ATA>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 491 MB, 999 cyl, 16 head, 63 sec, 512 bytes/sect x 1006992 sectors
wd0: drive supports PIO mode 4
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
ep0: adapter failure (2003)
ep0: adapter failure (2003)
ep0: adapter failure (2003)

(the 'failure' messages are at some point after bringing interface up, or when pinging - I have seen both.)
>How-To-Repeat:
power off
insert card
power on
login
ifconfig ep0 10.1.1.20 netmask 255.255.255.0
ping 10.1.1.1   # another host


>Fix:

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.