linux-mips-fnet
[Top] [All Lists]

Latest kernel on DECstation reports (LONG!)

To: linux-mips@fnet.fr
Subject: Latest kernel on DECstation reports (LONG!)
From: K.H.C.vanHouten@research.kpn.com (Karel van Houten)
Date: Sun, 03 Jan 1999 14:13:14 +0100 (MET)
Cc: K.H.C.vanHouten@research.kpn.com (Houten K.H.C. van )
Happy new year to all Decstation Linux hackers.

A rainy weekend is ideal for hacking, so I tried Haralds latest kernel,
and the new declance.c

My setup:

 DECstation 5000/260 at 139.63.1.12,
 served by a i386 linux box at 139.63.1.4

 NFSROOT_DEBUG,
 TEST_HITS, DEBUG_DRIVER defined, and even ZERO defined as (1) :-)

-----------------------------------------------------------------------------
First try: nfsroot:

KN05 V2.1k    (PC: 0x8005b838, SP: 0x80047e90)
>>boot 3/tftp console=ttyS2 nfsroot=139.63.1.4:/local/export/mips

-tftp boot(3), bootp|139.63.1.4:/tftpboot/nbImage
-tftp load 1094112+115248+236208
Launching kernel...
This DECstation is a DS5000/2x0
Loading R4000 MMU routines.
CPU revision is: 00000440
Primary instruction cache 16kb, linesize 16 bytes)
Primary data cache 16kb, linesize 16 bytes)
Secondary cache sized at 1024K linesize 32
Linux version 2.1.121 (root@turgon) (gcc version 2.7.2) #21 Sun Jan 3 13:25:01 
MET 1999
Calibrating delay loop... 59.90 BogoMIPS
Memory: 192588k/196604k available (936k kernel code, 2680k data)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
TURBOchannel rev. 1 at 25.0 MHz (no parity)
    slot 1: DEC      PMAZ-AA  V5.3d
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
DECstation Z8530 serial driver version 0.03
tty00 at 0xbf900001 (irq = 3) is a Z85C30 SCC
tty01 at 0xbf900009 (irq = 3) is a Z85C30 SCC
tty02 at 0xbf980001 (irq = 3) is a Z85C30 SCC
tty03 at 0xbf980009 (irq = 3) is a Z85C30 SCC
RAM disk driver initialized:  16 RAM disks of 4096K size
loop: registered device at major 7
declance.c: v0.007 by Linux Mips DECstation task force
eth0: IOASIC onboard LANCE, addr = 08:00:2b:37:63:76, irq = 2
IP-Config: Entered.
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
IP-Config: Opened eth0
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
BOOTP: XID=0ba7ae57
BOOTP: Route lookup: 1:00000000 -> 0:ffffffff: Output
Sending BOOTP and RARP requests....[X...............][.._.............]
BOOTP: Route lookup: 2:04013f8b -> 0:0c013f8b: Input
BOOTP: Route lookup: 0:00000000 -> 0:04013f8b: Check
 OK
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
IP-Config: Got RARP answer from 139.63.1.4, my address is 139.63.1.12
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
IP-Config: Unable to set interface netmask (-22).
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).

<HANG, here I had to press the reset button>

???
? PC:  0x8005b7ec <vtr=NMI/SR>
? CR:  0x30002400 <CE=3,IP6,IP3,EXC=INT>
? SR:  0x10500807 <CU0,BEV,SR,IM4,IPL=???,MODE=KNL,ERL,EXL,IE>
? CFG: 0x10410483 <SB=8W,SC=Y,IC=16K,DC=16K,IB=4W,DB=4W,K0=CNC>
? ER: 0xc78f00fc <VALID,CPU,ADR=1E3C03F0>
? CK: 0x87008c00 <VLDHI,CHKHI=7,SYNHI=0,VLDLO,CHKLO=C,SYNLO=0>
?
? MB_CS:  0x00bf8001 <FW,MSK=1F,EE,ECC=0,PF>
? MB_INT: 0x101f0001 <TC>
?
? SIR:  0x00008101
? SIRM: 0xff0101c0
?
? at:00000001 a2:FFFFFC18 t3:FFFFFFF5 s0:00000000 s5:00000003 k1:80047ED0
? v0:00000000 a3:00000002 t4:11000000 s1:000006B2 s6:00000000 gp:80046000
? v1:00000000 t0:80047FE0 t5:8052E800 s2:800482A0 s7:80047E90 sp:80047E90
? a0:00000019 t1:00000800 t6:8052E800 s3:00000F00 t8:00000001 fp:80047E90
? a1:80046000 t2:00000000 t7:805015D8 s4:A000FCEC t9:80509BB8 ra:8004E110

KN05 V2.1k    (PC: 0x8005b7ec, SP: 0x80047e90)

-----------------------------------------------------------------------------
Relevent part of tcpdump output:

<after tftp download>
13:38:34.716956 0.0.0.0.68 > 255.255.255.255.67: xid:0x57aea70b [|bootp] (ttl 
64, id 0)
13:38:34.716956 rarp who-is 8:0:2b:37:63:76 tell 8:0:2b:37:63:76
13:38:34.716956 rarp reply 8:0:2b:37:63:76 at 139.63.1.12
13:38:34.726956 139.63.1.4.67 > 139.63.1.12.68: xid:0x57aea70b Y:139.63.1.12 
S:139.63.1.4 [|bootp] (ttl 64, id 31778)
13:38:37.757034 139.63.1.4.1236 > 139.63.1.12.54119: udp 516 (ttl 64, id 31779)
13:38:41.867137 arp who-has 139.63.1.4 tell 139.63.1.12
13:38:41.867137 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
13:38:42.757163 139.63.1.4.1236 > 139.63.1.12.54119: udp 516 (ttl 64, id 31780)
13:38:45.757241 arp who-has 139.63.1.5 tell 139.63.1.4
13:38:47.757293 139.63.1.4.1236 > 139.63.1.12.54119: udp 516 (ttl 64, id 31781)
13:38:49.227319 139.63.1.12 > 139.63.1.4: icmp: 139.63.1.12 udp port 54119 
unreachable [tos 0xc0] (ttl 255, id 1)
13:38:49.227319 139.63.1.12 > 139.63.1.4: icmp: 139.63.1.12 udp port 54119 
unreachable [tos 0xc0] (ttl 255, id 2)
13:38:49.227319 139.63.1.12 > 139.63.1.4: icmp: 139.63.1.12 udp port 54119 
unreachable [tos 0xc0] (ttl 255, id 3)
13:39:01.987657 139.63.1.12.800 > 139.63.1.4.111: udp 56 (ttl 64, id 4)
13:39:02.017657 139.63.1.4.111 > 139.63.1.12.800: udp 28 (ttl 64, id 31782)
13:39:09.747865 arp who-has 139.63.1.4 tell 139.63.1.12
13:39:09.747865 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
13:39:09.787865 139.63.1.12.800 > 139.63.1.4.111: udp 56 (ttl 64, id 5)
13:39:09.797865 139.63.1.4.111 > 139.63.1.12.800: udp 28 (ttl 64, id 31783)
13:39:11.307910 arp who-has 139.63.1.4 tell 139.63.1.12
13:39:11.307910 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
13:39:12.867942 arp who-has 139.63.1.4 tell 139.63.1.12
13:39:12.867942 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
13:39:13.677968 139.63.1.4 > 139.63.1.12: icmp: echo request (ttl 64, id 31784)
13:39:14.427994 arp who-has 139.63.1.4 tell 139.63.1.12
13:39:14.427994 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
13:39:14.687994 139.63.1.4 > 139.63.1.12: icmp: echo request (ttl 64, id 31785)
13:39:15.688020 139.63.1.4 > 139.63.1.12: icmp: echo request (ttl 64, id 31786)
13:39:15.998020 arp who-has 139.63.1.4 tell 139.63.1.12
13:39:15.998020 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
-----------------------------------------------------------------------------

It seems that the decstation answers all packets as unreachable.
Even ping doesn't work.

=============================================================================
Second try: Ramdisk:

>>boot 3/tftp console=ttyS2 root=/dev/ram

-tftp boot(3), bootp|139.63.1.4:/tftpboot/nbImage/
-tftp load 1094112+115248+236208
Launching kernel...
This DECstation is a DS5000/2x0
Loading R4000 MMU routines.
CPU revision is: 00000440
Primary instruction cache 16kb, linesize 16 bytes)
Primary data cache 16kb, linesize 16 bytes)
Secondary cache sized at 1024K linesize 32
Linux version 2.1.121 (root@turgon) (gcc version 2.7.2) #21 Sun Jan 3 13:25:01 
MET 1999
Calibrating delay loop... 59.90 BogoMIPS
Memory: 192588k/196604k available (936k kernel code, 2680k data)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
TURBOchannel rev. 1 at 25.0 MHz (no parity)
    slot 1: DEC      PMAZ-AA  V5.3d
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
DECstation Z8530 serial driver version 0.03
tty00 at 0xbf900001 (irq = 3) is a Z85C30 SCC
tty01 at 0xbf900009 (irq = 3) is a Z85C30 SCC
tty02 at 0xbf980001 (irq = 3) is a Z85C30 SCC
tty03 at 0xbf980009 (irq = 3) is a Z85C30 SCC
RAM disk driver initialized:  16 RAM disks of 4096K size
loop: registered device at major 7
declance.c: v0.007 by Linux Mips DECstation task force
eth0: IOASIC onboard LANCE, addr = 08:00:2b:37:63:76, irq = 2
IP-Config: Entered.
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
IP-Config: Opened eth0
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
BOOTP: XID=464ed84e
BOOTP: Route lookup: 1:00000000 -> 0:ffffffff: Output
Sending BOOTP and RARP requests....[X...............][.._.............]
BOOTP: Route lookup: 2:04013f8b -> 0:0c013f8b: Input
BOOTP: Route lookup: 0:00000000 -> 0:04013f8b: Check
 OK
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
IP-Config: Got RARP answer from 139.63.1.4, my address is 139.63.1.12
RX ptr: 00000020(00000040)
TX ptr: 000000a0(00000140)
TX rings:
0: 0x00006320(0xa002c640)
1: 0x00006940(0xa002d280)
2: 0x00006f60(0xa002dec0)
RX rings:
0: 0x00000120(0xa0020240)
1: 0x00000740(0xa0020e80)
2: 0x00000d60(0xa0021ac0)
IP-Config: Unable to set interface netmask (-22).
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 56k freed
Unable to handle kernel paging request at virtual address ffffaa9c, epc == 
8012aa38, ra == 8012aa20
Oops: 0000
$0 : 00000000 800e4e0c 00000000 bf980001
$4 : 00000f00 00000001 80509f78 00000000
$8 : 8005f808 8014b5a3 0000003c 30002800
$12: a000fcec 80112f0e 80147bec 00000000
$16: 00000002 00000000 80073124 00000f00
$20: a000fcec 00000003 00000000 ffffffff
$24: a000fcec 80141c7c
$28: 80504000 80505fe0 f7c759fd 8012aa20
epc   : 8012aa38
Status: 10000803
Cause : 80002008
Process swapper (pid: 3, stackpage=80504000)
Stack: 00000000 00000000 8011bfb0 800bdb74 800bdc34 00000488 00000000 8011bfa4

Call Trace: [<8011bfb0>] [<800bdb74>] [<800bdc34>] [<8011bfa4>]
Code: 02602021  24021018  0000000c <10dd0006> 8012aa9c  0240f809  02202021  
00402021  24020fa1
Stand-alone shell (version 1.0)
> [X...............][.X..............]
> [..X.............][...X............][....X...........]
> -mount -t nfs 139.63.1.4:/local/export/mips /mnt
nfs_read_super: missing data argument
mount failed: Invalid argument
> [.....X..........]
> -mount -t nfs 139.63.1.4:/local/export/mips /mnt
nfs_read_super: missing data argument
mount failed: Invalid argument
> -mount -t proc none /proc
> cd /proc
> -more cpuinfo
<< cpuinfo >>
cpu                     : MIPS
cpu model               : R4400SC V4.0
system type             : Digital DECstation 5000/2x0
BogoMIPS                : 59.90
byteorder               : little endian
unaligned accesses      : 0
wait instruction        : no
microsecond timers      : yes
extra interrupt vector  : no
hardware watchpoint     : yes
VCED exceptions         : 15
VCEI exceptions         : 0
>

-----------------------------------------------------------------------------
Relevent part of tcpdump output:


13:49:57.724692 0.0.0.0.68 > 255.255.255.255.67: xid:0x4ed84e46 [|bootp] (ttl 
64, id 0)
13:49:57.724692 rarp who-is 8:0:2b:37:63:76 tell 8:0:2b:37:63:76
13:49:57.724692 rarp reply 8:0:2b:37:63:76 at 139.63.1.12
13:49:57.724692 139.63.1.4.67 > 139.63.1.12.68: xid:0x4ed84e46 Y:139.63.1.12 
S:139.63.1.4 [|bootp] (ttl 64, id 41279)
13:50:00.584770 139.63.1.4.1240 > 139.63.1.12.54119: udp 516 (ttl 64, id 41282)
13:50:00.594770 arp who-has 139.63.1.4 tell 139.63.1.12
13:50:00.594770 arp reply 139.63.1.4 is-at 2:60:8c:7c:3a:6b
13:50:00.614770 139.63.1.12 > 139.63.1.4: icmp: 139.63.1.12 udp port 54119 
unreachable [tos 0xc0] (ttl 255, id 1)
13:50:16.275159 139.63.1.4 > 139.63.1.12: icmp: echo request (ttl 64, id 41285)
13:50:16.295164 139.63.1.12 > 139.63.1.4: icmp: echo reply (ttl 255, id 2)
13:50:17.285185 139.63.1.4 > 139.63.1.12: icmp: echo request (ttl 64, id 41286)
13:50:17.305195 139.63.1.12 > 139.63.1.4: icmp: echo reply (ttl 255, id 3)
13:50:18.285211 139.63.1.4 > 139.63.1.12: icmp: echo request (ttl 64, id 41287)
13:50:18.295216 139.63.1.12 > 139.63.1.4: icmp: echo reply (ttl 255, id 4)

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

But now ping from the server WORKS.

Harald, Florian, does this help you?

Regards,
-- 
Karel van Houten

----------------------------------------------------------
The box said "Requires Windows 95 or better."
I can't understand why it won't work on my Linux computer. 
----------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>