Subject: Asante Ethernet Card Problem
To: None <port-mac68k@NetBSD.ORG>
From: Ugo Delchini <delchini@lpnhp3.in2p3.fr>
List: port-mac68k
Date: 10/21/1995 16:59:48
Hi,

I've got a problem with my network on my SE30 :

** Ethernet Card : Asante MC+30IE64 for Mac IISI & SE30.
                   National Semiconductor 8390 chip on it.

** Messages at boot time :
NetBSD 1.0A (GENERIC) #15: Mon Oct  2 07:52:36 EDT 1995
    briggs@puma.bevd.blacksburg.va.us:/u/home/briggs/bsd/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh SE/30  (68030)
real mem = 8388608
avail mem = 5468160
using 128 buffers containing 524288 bytes of memory
mrg: 'Mac II class ROMs' rom glue, tracing off, debug off, silent traps
adb: bus subsystem
Got following HwCfgFlags: 0xfc00, 0xffffdfff, 0xffffffff, 0x       0
mrg: Not setting up egret.
mrg: ADB interrupts enabled.
adb: mapped device (4) at 2
adb: extended mouse <LT01> 3-button 400 dpi mouse at 3
mainbus0 (root)
ite0 at mainbus0 (minimal console)
adb0 at mainbus0 (ADB event device)
ser0 at mainbus0
ser1 at mainbus0
nubus0 at mainbus0
ae0 at nubus0: address 00:00:94:31:35:a6, type MacNIC II/E, 32k mem.
ae0: length does not match next packet pointer
ae0: len 0000 nlen ff00 start 0c first 00 curr 3f next 00 stop 80
ae0: NIC memory corrupt - invalid packet length 65280
grf0 at nubus0: 512 x 342 monochrome QD-compatible (Macintosh SE/30 Internal Video) display
ncrscsi0 at mainbus0
scsibus0 at ncrscsi0
ncrscsi0 targ 0 lun 0: <QUANTUM, P40S 940-40-94xx, A.2> SCSI1 0/direct fixed
sd0 at scsibus0: 40MB, 834 cyl, 3 head, 32 sec, 512 bytes/sec
ncrscsi0 targ 1 lun 0: <DEC, RZ56     (C) DEC, 0300> SCSI1 0/direct fixed
sd1 at scsibus0: 634MB, 1632 cyl, 15 head, 53 sec, 512 bytes/sec
ncrscsi0 targ 2 lun 0: <QUANTUM, LPS540S, 5900> SCSI2 0/direct fixed
sd2 at scsibus0: 516MB, 2740 cyl, 4 head, 96 sec, 512 bytes/sec
ncrscsi0 targ 3 lun 0: <ARCHIVE, VIPER 60   21116, -007> SCSI1 1/sequential removable
st0 at scsibus0: density code 0x0, 512-byte blocks, write-enabled
ncr96scsi0 at mainbus0 not configured
asc0 at mainbus0 Apple sound chip.
fpu0 at mainbus0 (mc68882)
floppy0 at mainbus0 not configured
Changing root device to sd2a.
I/O map kludge for old ROMs that use hardware addresses directly.
PRAM: 0x3088b5f3, macos_boottime: 0x3088b5e7.

** Network binaries (route,ifconfig,netstat) are from ftp.eskimo.com tarballs.

** Other binaries are from the 1.0 dist.
for example : ls -l /bin/cat :
-r-xr-xr-x  1 bin  bin  49152 Apr 29 02:45 /bin/cat

** /etc/hosts :
127.1             localhost
193.48.100.89     lpnm18
193.48.100.1      Paris2

** /etc/resolv.conf (it is a good nameserver for our network) :
nameserver 193.48.100.6

** /etc/defaultdomain (this is our domain) :
in2p3.fr

** I configure the network interface ae0 using /etc/hostname.ae0 with :
inet 193.48.100.89 255.255.255.0 193.48.100.255

** There is no routed running.

** In /etc/netstart there is (with standard netinit) :
route add lpnm18 localhost
route add default Paris2

** here are the results for several commands :
** ifconfig -a :
ae0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
	inet 193.48.100.89 netmask 0xffffff00 broadcast 193.48.100.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST>
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=10<POINTOPOINT>
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST>

** netstat -r :
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          Paris2             UGS         0       22  ae0
localhost        localhost          UH          0        5  lo0
193.48.100       link#1             UC          0        0  ae0
Paris2           link#1             UHRL        1        0  ae0
193.48.100.6     link#1             UHRL        0       24  ae0
193.48.100.40    link#1             UHRL        3       48  ae0
193.48.100.89    0:0:94:31:35:a6    UHL         1       41  lo0
lpnm18           0:0:94:31:35:a6    UHL         6      304  lo0

XNS:
Destination      Gateway            Flags     Refs     Use  Interface

** netstat -i :
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ae0   1500  <Link>      0.0.94.31.35.a6     7617     2      244     0     2
ae0   1500  193.48.100  lpnm18              7617     2      244     0     2
lo0   32768 <Link>                           355     0      355     0     0
lo0   32768 127         localhost            355     0      355     0     0
ppp0* 1500  <Link>                             0     0        0     0     0
sl0*  296   <Link>                             0     0        0     0     0

** I don't think there is another system with my IP address (193.48.100.89).

** Ping and telnet are not working correctly :
The resolver doesn't work (Using telnet and ping with dot notation addresses).
Ping tells that every host is down (this is not the case).
Telnet cannot connect to any host (Trying ...).
Ping lpnm18 from another host is not woking.
Telnet lpnm18 neither.

** If you need more info just ask me.

I don't understand why the network doesn't work.
Thanx for any help.

Ugo. (delchini@lpnhp3.in2p3.fr)