Subject: Re: patch for generic software interrupts
To: None <port-newsmips@netbsd.org>
From: Emmanuel Chaput <Emmanuel.Chaput@enseeiht.fr>
List: port-newsmips
Date: 05/05/2003 21:12:25
Izumi Tsutsui wrote:

>Ok, now I've got some clue. It seems interrupt handling
>problem on news3400 (HB based system).
>
>Both z8530 serial and LANCE Ethernet on news3400 use
>the same interrupt level, and it's handled i
>
   It seems I'm facing a similar problem. But I'm afraid my
ethernet device has been locked ! The transceiver's LED
don't even light up ! This is the same thing on the switch.

   Most of all, the problem remains while I'm trying to boot
the NWS over the network !!

   I own a couple of 3410, lots of different transceiver (RJ45
as well as 10BaseT) so I am quite sure that this is not a
hardware problem ...

   As usual, any hint would be greatly apreciated !!

----------------------------------------------------------------------------------
NetBSD/newsmips Primary Boot
NetBSD/newsmips Secondary Boot, Revision 1.7
(tsutsui@mirage, Sun Apr 13 10:41:00 JST 2003)
Booting fh(0,0,0)
3883504+136952=0x3d5afc

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    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 1.6R (INSTALL) #9: Sat Apr 19 20:49:23 JST 2003
        tsutsui@mirage:/sys/arch/newsmips/compile/INSTALL
total memory = 16352 KB
avail memory = 10992 KB
using 230 buffers containing 920 KB of memory
SONY NET WORK STATION, Model NWS-3410, Machine ID #50146
mainbus0 (root)
cpu0 at mainbus0: MIPS R3000 CPU (0x220) Rev. 2.0 with MIPS R3010 FPC 
Rev. 2.0
cpu0: 64KB/4B direct-mapped Instruction cache, 64 TLB entries
cpu0: 64KB/4B direct-mapped write-through Data cache
hb0 at mainbus0
le0 at hb0 addr 0xbff80000 level 1: address 08:00:46:00:68:ae
le0: 8 receive buffers, 2 transmit buffers
mkclock0 at hb0 addr 0xbff407f8
zsc0 at hb0 addr 0xbfec0000 level 1
zstty0 at zsc0 channel 0 (console i/o)
zstty1 at zsc0 channel 1
kb0 at hb0 addr 0xbfd00000 level 2
wskbd0 at kb0 (mux ignored)
fb0 at hb0 addr 0x88000000: NWE-501, 1024 x 768, 1bpp
wsdisplay0 at fb0 (kbdmux ignored)
sc0 at hb0 addr 0xbfe00100 level 0
scsibus0 at sc0: 8 targets, 8 luns per target
md0: internal 2560 KB image area
scsibus0: waiting 2 seconds for devices to settle...
boot device: <unknown>
root on md0a dumps on md0b
WARNING: clock gained 8472 days -- CHECK AND RESET THE DATE!
root file system type: ffs
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100]
Erase is backspace.
(I)nstall, (S)hell or (H)alt ? s


# ifconfig le0 192.168.19.84 netmask 255.255.255.224
le0: lost carrier
 ifconfig -a
le0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:46:00:68:ae
        media: Ethernet manual
        status: active
        inet 192.168.19.84 netmask 0xffffffe0 broadcast 192.168.19.95
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 33196


# route -v show
Routing tables

Internet:
Destination       Gateway            Flags
192.168.19.64     link#1             U


# ping -c 1 192.168.19.95
PINGle0: lost carrier
 192.168.19.95 (192.168.19.95): 56 data bytes
64 bytes from 192.168.19.84: icmp_seq=0 ttl=255 time=20.001 ms

----192.168.19.95 PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 20.001/20.001/20.001/0.000 ms