Subject: mec0 Not Active?
To: None <port-sgimips@NetBSD.org>
From: None <cdibened@one.net>
List: port-sgimips
Date: 08/07/2006 22:19:35
Hi!

I just insalled NetBSD 3.0 on my SGI O2.  Everything went well except that
the onboard ethernet conroller, mec0, doesn't seem to be active.  I see no
link or activity lights either on the controller or the hub.  I verified
that the hub port and the cable are fine by attaching to another machine.

I use DHCP and after five attempts, dhcpclient reports: "No DHCPOFFERS
received."  I looked on the router and I see no attached devices on my
local network with the unit's MAC address.

Here is the out put of ifconfig for mec0:
mec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:69:02:da:7a
        media: Ethernet autoselect (none)
        status: no carrier
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        inet6 fe80::a00:69ff:fe02:da7a%mec0 prefixlen 64 scopeid 0x1

Here is what I see on the console during boot:
NetBSD/sgimips 3.99.21 Bootstrap, Revision 1.2
(martin@night-porter.duskware.de, Sat Jun 10 00:24:03 CEST 2006)

devopen: scsi(0)disk(2)rdisk(0)partition(0) type scsi file netbsd
[ Kernel symbol table missing! ]
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 (GENERIC32_IP3x) #0: Mon Dec 19 03:48:56 UTC 2005
        builds@b2.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/sgimips/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/
arch/sgimips/compile/GENERIC32_IP3x
total memory = 128 MB
(6848 KB reserved for ARCS)
avail memory = 113 MB
mainbus0 (root): SGI-IP32 [SGI, a], 1 processor
cpu0 at mainbus0: MIPS R10000 CPU (0x926) Rev. 2.6 with built-in FPU Rev. 0.0
cpu0: 32KB/64B 2-way set-associative L1 Instruction cache, 64 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
cpu0: 1024KB/64B 2-way set-associative write-back L2 Data cache
crime0 at mainbus0 addr 0x14000000: rev 1.1 (CRIME_ID: a1)
mace0 at mainbus0 addr 0x1f000000
lpt0 at mace0 offset 0x380000 intr 4 intrmask 0xf0000
mace: established interrupt 4 (level f0000)
com0 at mace0 offset 0x390000 intr 4 intrmask 0x3f00000: ns16550a, working
fifo
com0: console
mace: established interrupt 4 (level 3f00000)
com1 at mace0 offset 0x398000 intr 4 intrmask 0xfc000000: ns16550a,
working fifo
mace: established interrupt 4 (level fc000000)
pckbc0 at mace0 offset 0x320000 intr 5 intrmask 0x0
mcclock0 at mace0 offset 0x3a0000 intrmask 0x0
mec0 at mace0 offset 0x280000 intr 3 intrmask 0x0: MAC-110 Ethernet, rev 1
mec0: Ethernet address 08:00:69:02:da:7a
nsphy0 at mec0 phy 8: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
mace: established interrupt 3 (level 0)
macepci0 at mace0 offset 0x80000 intr 7 intrmask 0x0: rev 1
pci_addr_fixup: 000:01:0 0x9004 0x8078 new address 0x00001000 (size 0x100)
pci_addr_fixup: 000:01:0 0x9004 0x8078 new address 0x80100000 (size 0x1000)
pci_addr_fixup: 000:02:0 0x9004 0x8078 new address 0x00002000 (size 0x100)
pci_addr_fixup: 000:02:0 0x9004 0x8078 new address 0x80200000 (size 0x1000)
mace: established interrupt 7 (level 0)
pci0 at macepci0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ahc0 at pci0 dev 1 function 0: Adaptec aic7880 Ultra SCSI adapter
mace: established interrupt 8 (level 0)
ahc0: interrupting at crime interrupt 8
ahc0: Using left over BIOS settings
ahc0: aic7880: Wide Channel A, SCSI Id=0, 16/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci0 dev 2 function 0: Adaptec aic7880 Ultra SCSI adapter
mace: established interrupt 9 (level 0)
ahc1: interrupting at crime interrupt 9
ahc1: Using left over BIOS settings
ahc1: aic7880: Wide Channel A, SCSI Id=0, 16/253 SCBs
scsibus1 at ahc1: 16 targets, 8 luns per target
biomask 07 netmask 07 ttymask 07 clockmask 87
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 2 lun 0: <SGI, IBM  DGHS09Y, 0190> disk fixed
sd0: 8682 MB, 8152 cyl, 10 head, 218 sec, 512 bytes/sect x 17781520 sectors
sd0: async, 8-bit transfers, tagged queueing
cd0 at scsibus0 target 4 lun 0: <TOSHIBA, CD-ROM XM-5701TA, 0167> cdrom
removable
cd0: async, 8-bit transfers
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
Tue Aug  8 02:05:22 GMT 2006
swapctl: adding /dev/sd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rsd0a: file system is clean; not checking
/dev/rsd0e: file system is clean; not checking
/dev/rsd0f: file system is clean; not checking
/dev/rsd0g: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: traal
IPv6 mode: host
Configuring network interfaces:.
Starting dhclient.
Internet Software Consortium DHCP Client V3.0.1rc11
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on BPF/mec0/08:00:69:02:da:7a
Sending on   BPF/mec0/08:00:69:02:da:7a
Sending on   Socket/fallback
DHCPDISCOVER on mec0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on mec0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on mec0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on mec0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on mec0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Mon Aug  7 22:06:37 EDT 2006

NetBSD/sgimips (traal) (console)

One other thing of note is I see a message periodically on the console:
crime: memory error address 26571e80 status 2040000

Does anyone have any ideas?  Is this a hardware issue?  The last owner of
the box never used the onboard ethernet but opted to use a PCI ethernet
card.

Thanks!

-- 
Cesi DiBenedetto