Subject: Re: Problems with quad ethernet card
To: None <eeh@netbsd.org>
From: de SAINT LEGER Rodolphe <rslr@free.fr>
List: port-sparc
Date: 05/02/2002 01:25:46
On 1 May 2002 21:30:24 -0000
eeh@netbsd.org wrote:

> 
> | Sorry for posting on the two lists at the same time.
> |
> | I've got a SparcStation5 and a Ultra-1E.
> |
> | When the Sparcstation5 boots, no problems, everything works fine.
> | However, the Ultra-1E freezes during boot, when printing information about the card...
> |
> | Here is a sample, the sources are from the April, 24th
> |
> | ...
> | SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
> | dma0 at sbus0 slot 14 offset 0x8400000: dma rev 2
> | esp0 at dma0 slot 14 offset 0x8800000 vector 20 ipl 3: ESP200, 40MHz, SCSI ID 7
> | scsibus0 at esp0: 8 targets, 8 luns per target
> | ledma0 at sbus0 slot 14 offset 0x8400010: dma rev 2
> | le0 at ledma0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:86:a2:a0
> | le0: 8 receive buffers, 2 transmit buffers
> | bpp0 at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2: dma rev 2
> | qec0 at sbus0 slot 0 offset 0x20000 vector 4 ipl 2: 128K memory
> | qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:86:a2:a0
> | qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:86:a2:a0
> | qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:86:a2:a0
> | qe3 at qec0 slot 3 offset 0x0 rev 1
> 
> qec has had problems on sparc64 in the past and I would not be
> surprised if that's true again.
> 
> Are you using a 32-bit or 64-bit kernel?
> 

I tryied the two ones, and I got the same results

> Can you get to the PROM with a BREAK or L1-A when it hangs?
> 

I didn't manage to get the PROM prompt after this problem,,
I have to switch off the machine

> What happens if you change:
> 
> qe*		at qec?
> 
> to:
> 
> qe0		at qec?
> qe1		at qec?
> qe2		at qec?
> 

The sources have been supped 4 hours ago

after sometime compiling on the SS5.... :)
OK, The machine boots (I've try a 32 bits kernel)
It's too late for me (1h17am) to try a 64 bits kernel,
I'll try tommorow
However I give you my dmesg output
Boot device: /sbus/ledma@e,8400010/le@e,8c00000  File and args: 
17200 >> NetBSD/sparc64 OpenFirmware Boot, Revision 
>> (root@u2, Wed Mar 27 16:31:58 UTC 2002)
Using BOOTPARAMS protocol: ip address: 192.168.31.6, hostname: deedlit
root addr=192.168.31.4 path=/export/diskless/client/deedlit-32
loadfile: reading header
elf32_exec: Booting /sbus@1f,0/ledma@e,8400010/le@e,8c00000/netbsd
2431080@0x1000000+71904@0x1800000+4122400@0x18118e0 
symbols @ 0xfff4c1ec 74+148016+111795 start=0x1000000
chain: calling OF_chain(800000, 10a08, 1000000, fffb5a80, 18)
[ using 260380 bytes of netbsd ELF symbol table ]
console is /sbus@1f,0/zs@f,1100000:a
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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.5ZC (build) #1: Thu May  2 01:09:37 CEST 2002
    root@temp3:/root/build
total memory = 65536 KB
avail memory = 53496 KB
using 422 buffers containing 3376 KB of memory
bootpath: /sbus@1f,0/ledma@e,8400010/le@e,8c00000
mainbus0 (root): SUNW,Ultra-1
cpu0 at mainbus0: SUNW,UltraSPARC @ 166.991 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
timer0 at mainbus0 addr 0xfffc7c00 irq vectors 7f0 and 7f1
sbus0 at mainbus0 addr 0xfffcc000: clock = 25 MHz
DVMA map: ff800000 to ffffe000
IOTSB: 474000 to 476000
audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13: CS4231A
audio0 at audiocs0: full duplex
auxio0 at sbus0 slot 15 offset 0x1900000
flashprom at sbus0 slot 15 offset 0x0 not configured
SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured
clock0 at sbus0 slot 15 offset 0x1200000: mk48t59: hostid 8086a2a0
zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
zstty2 at zs1 channel 0
kbd0 at zstty2
zstty3 at zs1 channel 1
ms0 at zstty3
sc at sbus0 slot 15 offset 0x1300000 not configured
SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
dma0 at sbus0 slot 14 offset 0x8400000: dma rev 2
esp0 at dma0 slot 14 offset 0x8800000 vector 20 ipl 3: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 14 offset 0x8400010: dma rev 2
le0 at ledma0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:86:a2:a0
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2: dma rev 2
qec0 at sbus0 slot 0 offset 0x20000 vector 4 ipl 2: 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:86:a2:a0
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:86:a2:a0
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:86:a2:a0
qe at qec0 slot 3 offset 0x0 not configured
pcons at mainbus0 not configured
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DCAS32160SUN2.1G, S65A> SCSI2 0/direct fixed
sd0: 2063 MB, 8188 cyl, 3 head, 172 sec, 512 bytes/sect x 4226725 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM5701TASUN12XCD, 0997> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 8), 8-bit (10.000MB/s) transfers
IPsec: Initialized Security Association Processing.
root on le0
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=192.168.31.6 (RARP from 192.168.31.4)
nfs_boot: server_addr=192.168.31.4
nfs_boot: hostname=deedlit