IRIX and Software

[Onyx2] Warning: cannot initialize primary network interface

Hello,

While trying to set my Onyx2 to network boot, I have encountered the following issue, which I wasn't able to resolve:

Code:
>> printenv
AutoLoad=No
dbgtty=/dev/tty/ioc30
root=dks0d1s0
nonstop=0
rbaud=19200
OSLoadFilename=unix
TimeZone=PST8PDT
console=d
ConsolePath=default
gConsoleIn=default
gConsoleOut=default
scsihostid=00
ProbeAllScsi=n
RestorePartEnv=y
dbaud=9600
volume=80
sgilogo=y
netaddr=192.168.1.113
diskless=1
SystemPartition=bootp()192.168.1.4:/
OSLoader=janek/unix
OSLoadPartition=192.168.1.4:/diskless/root/janek


Code:
>> boot
Setting $netaddr to 192.168.1.113 (from server ripley)
Obtaining //janek/unix from server ripley
4526359+880360+955088 entry: 0xa80000000001a750
IRIX Release 6.5 IP27 Version 07202013 System V - 64 Bit
Copyright 1987-2006 Silicon Graphics, Inc.
All Rights Reserved.

Setting rbaud to 19200
Warning: cannot initialize primary network interface.

Kernel mount failed, check server, bootparams
or press reset button !!!
Warning: cannot initialize primary network interface.

Kernel mount failed, check server, bootparams
or press reset button !!!


The appropriate path is correctly exported from the nfs server (here: 192.168.1.4), although, the issue here is that it seems that the system can't properly initialize the primary network interface; perhaps due to the fact that they are two network interfaces in the same system, with the following hinv:

Code:
IP27 Node Board, Module 1, Slot n2
ASIC HUB Rev 6, 100 MHz, (nasid 0)
Processor A: 400 MHz R12000 Rev 3.5
Secondary Cache 8MB 266MHz Tap 0xa , (cpu 0)
R12010FPC Rev 3.5
Processor B: 400 MHz R12000 Rev 3.5
Secondary Cache 8MB 266MHz Tap 0xa , (cpu 1)
R12010FPC Rev 3.5
Memory on board, 4096 MBytes (Standard)
Bank 0, 512 MBytes (Standard)  <-- (Software Bank 0)
Bank 1, 512 MBytes (Standard)
Bank 2, 512 MBytes (Standard)
Bank 3, 512 MBytes (Standard)
Bank 4, 512 MBytes (Standard)
Bank 5, 512 MBytes (Standard)
Bank 6, 512 MBytes (Standard)
Bank 7, 512 MBytes (Standard)
IP27 Node Board, Module 1, Slot n1
ASIC HUB Rev 6, 100 MHz, (nasid 1)
Processor A: 400 MHz R12000 Rev 3.5
Secondary Cache 8MB 266MHz Tap 0xa , (cpu 2)
R12010FPC Rev 3.5
Processor B: 400 MHz R12000 Rev 3.5
Secondary Cache 8MB 266MHz Tap 0xa , (cpu 3)
R12010FPC Rev 3.5
Memory on board, 4096 MBytes (Standard)
Bank 0, 512 MBytes (Standard)  <-- (Software Bank 0)
Bank 1, 512 MBytes (Standard)
Bank 2, 512 MBytes (Standard)
Bank 3, 512 MBytes (Standard)
Bank 4, 512 MBytes (Standard)
Bank 5, 512 MBytes (Standard)
Bank 6, 512 MBytes (Standard)
Bank 7, 512 MBytes (Standard)
XTALK_PCI IO Board, Module 1, Slot io5
ASIC BRIDGE Rev 4, (widget 13)
adapter ID (Vendor 10a9 Device 9 class 2 subclass 2)
(pci id 1)
MSCSI IO Board, Module 1, Slot io3
ASIC BRIDGE Rev 4, (widget 14)
adapter PCI-SCSI Rev 5
(pci id 0)
adapter PCI-SCSI Rev 5
(pci id 1)
adapter PCI-SCSI Rev 5
(pci id 2)
adapter PCI-SCSI Rev 5
(pci id 3)
BASEIO IO Board, Module 1, Slot io1
ASIC BRIDGE Rev 3, (widget 15)
adapter PCI-SCSI Rev 5
(pci id 0)
peripheral SCSI CDROM, ID 6, TOSHIBA CD-ROM XM-6201TA
adapter PCI-SCSI Rev 5
(pci id 1)
adapter IOC3 Rev 1
(pci id 2)
controller multi function SuperIO
controller Ethernet Rev 1
adapter IOC3 Rev 1
(pci id 6)
controller multi function SuperIO
controller Keyboard/Mouse
controller Parallel Port
adapter RAD
(pci id 7)
MIDPLANE, Module 1 Frequency 390 MHz
ASIC XBOW Rev 4, on midplane of Module 1



I have prom disabled the secondary network interface, but haven't observed a different behavior. My bootparams seems correct, it seems, more likely that the system cannot initialize the interface properly; although it can retrieve the kernel from the bootp server properly.

Quote:
>> disable -m 1 -s io5 -pci 1
>> boot
Setting $netaddr to 192.168.1.113 (from server ripley)
Obtaining //janek/unix from server ripley
4526359+880360+955088 entry: 0xa80000000001a750
IRIX Release 6.5 IP27 Version 07202013 System V - 64 Bit
Copyright 1987-2006 Silicon Graphics, Inc.
All Rights Reserved.

Setting rbaud to 19200
WARNING: pcibr_slot_call_device_attach: /hw/module/1/slot/io5/xtalk_pci/pci/1 disabled
Warning: cannot initialize primary network interface.

Kernel mount failed, check server, bootparams
or press reset button !!!


Any pointers would be greatly appreciated; I believe that the nfs+bootp server is properly setup, as multiple Irix machines boot from it.

_________________
:Onyx2:
Adding some verbosity:

Code:

>> setenv verbose on
>> setenv showconfig istrue
>>
>> boot -f bootp()192.168.1.4:/janek/unix
Setting $netaddr to 192.168.1.113 (from server ripley)
NOTICE: The BTE is enabled.
Master processor is 0x0
Master node is NASID 0x0
IRIX Release 6.5 IP27 Version 07202013 System V - 64 Bit
Copyright 1987-2006 Silicon Graphics, Inc.
All Rights Reserved.

Total real memory  = 8388608 kbytes
CPU Frequency = 400Mhz
4 CPU(s)

/hw/module/1/slot/io1/baseio/pci/0: /hw/module/1/slot/io1/baseio/pci/1: Setting rbaud to 19200
Eabled SRAM parity checking.
Enabled SRAM parity checking.
/hw/module/1/slot/io1/baseio/pci/1/scsi_ctlr/0: /hw/module/1/slot/io1/baseio/pci/0/scsi_ctlr/0: Firmware version: 2.55.0
Firmware version: 2.55.0
/hw/module/1/slot/io1/baseio/pci/1: pckm_attach : Enabled SRAM parity checking.
/hw/module/1/slot/io1/baseio/pci/4 no keyboard found
/hw/module/1/slot/io3/mscsi/pci/1: pckm_attach : Enabled SRAM parity checking.
/hw/module/1/slot/io1/baseio/pci/4 no mouse found
/hw/module/1/slot/io3/mscsi/pci/0: /hw/module/1/slot/io3/mscsi/pci/3: /hw/module/1/slot/io3/mscsi/pci/2: Enabled SRAM parity checking.
Enabled SRAM parity checking.
Enabled SRAM parity checking.
/hw/module/1/slot/io1/baseio/pci/0: Enabled SRAM parity checking.
/hw/module/1/slot/io1/baseio/pci/2/ef: hardware ethernet address 08:00:69:05:09:fe
/hw/module/1/slot/io1/baseio/pci/1/scsi_ctlr/0: Probing SCSI bus
/hw/module/1/slot/io1/baseio/pci/0/scsi_ctlr/0: Probing SCSI bus
/hw/module/1/slot/io3/mscsi/pci/1/scsi_ctlr/0: Firmware version: 2.55.0
/hw/module/1/slot/io3/mscsi/pci/1: Enabled SRAM parity checking.
/hw/module/1/slot/io3/mscsi/pci/0/scsi_ctlr/0: Firmware version: 2.55.0
/hw/module/1/slot/io3/mscsi/pci/0: Enabled SRAM parity checking.
/hw/module/1/slot/io3/mscsi/pci/3/scsi_ctlr/0: Firmware version: 2.55.0
/hw/module/1/slot/io3/mscsi/pci/2/scsi_ctlr/0: Firmware version: 2.55.0
/hw/module/1/slot/io3/mscsi/pci/3: Enabled SRAM parity checking.
/hw/module/1/slot/io3/mscsi/pci/2: Enabled SRAM parity checking.
/hw/module/1/slot/io3/mscsi/pci/1/scsi_ctlr/0: Probing SCSI bus
/hw/module/1/slot/io3/mscsi/pci/0/scsi_ctlr/0: Probing SCSI bus
/hw/module/1/slot/io3/mscsi/pci/3/scsi_ctlr/0: /hw/module/1/slot/io3/mscsi/pci/2/scsi_ctlr/0: Probing SCSI bus
Probing SCSI bus
/hw/module/1/slot/io1/baseio/pci/0/scsi_ctlr/0/target/6/lun/0: SCSI CDROM (targ = 6)
/hw/module/1/slot/io1/baseio/pci/0/scsi_ctlr/0: SCSI Adapter 1020 in bus mode : 1
/hw/module/1/slot/io1/baseio/pci/1/scsi_ctlr/0: SCSI Adapter 1020 in bus mode : 1
/hw/module/1/slot/io3/mscsi/pci/1/scsi_ctlr/0: SCSI Adapter 1020 in bus mode : 2
/hw/module/1/slot/io3/mscsi/pci/0/scsi_ctlr/0: SCSI Adapter 1020 in bus mode : 2
/hw/module/1/slot/io3/mscsi/pci/3/scsi_ctlr/0: SCSI Adapter 1020 in bus mode : 2
/hw/module/1/slot/io3/mscsi/pci/2/scsi_ctlr/0: SCSI Adapter 1020 in bus mode : 2
52528 buffers
Warning: cannot initialize primary network interface.

Kernel mount failed, check server, bootparams
or press reset button !!!
Warning: cannot initialize primary network interface.



_________________
:Onyx2:
i guess you don't have any installed disk at hand to test both nics?

_________________
r-a-c.de
foetz wrote:
i guess you don't have any installed disk at hand to test both nics?


Well, it gets the kernel through tftp, so I guess they must be okay :)

_________________
:Onyx2:
not necessarily. sometimes small stuff gets through, or small packet sizes or ... you get the idea. the point is that nics are sometimes not either dead or not but something in between. same goes for switches btw. so that's also worth a check ...

_________________
r-a-c.de
Yes, the nics work fine, I've xfsdump'd | xfsrestor'd using those.
I will verify the switch tonight, as I'm remote at this time.

_________________
:Onyx2:
I have verified the nics work fine.

Any idea? I have removed one nic (the gigE one) and now have only one interface, the one of IOC6.

Code:
Setting $netaddr to 192.168.1.113 (from server ripley)
Obtaining //janek/unix from server ripley
4526359+880360+955088 entry: 0xa80000000001a750
IRIX Release 6.5 IP27 Version 07202013 System V - 64 Bit
Copyright 1987-2006 Silicon Graphics, Inc.
All Rights Reserved.

Setting rbaud to 19200
Warning: cannot initialize primary network interface.

Kernel mount failed, check server, bootparams
or press reset button !!!
Warning: cannot initialize primary network interface.

_________________
:Onyx2:
what seems awkward however is that no "eaddr" line appears in the printenv.
Although adding it "setenv -f eaddr 08:00:69:05:09:fe" didn't change the game, just added eaddr, but same issue.

What it feels like, is that the default "unix" kernel doesn't have nfs root capabilities; could this be the case on onyx2 by default?

_________________
:Onyx2:
just in case, how about trying a different irix version?
and for the record, i take it your netboot setup is proven? meaning that it worked before?

_________________
r-a-c.de
foetz wrote:
just in case, how about trying a different irix version?
and for the record, i take it your netboot setup is proven? meaning that it worked before?


I have about 20 other SGIs netbooting from the same server. There's something I'm not doing right with the Onyx2. But I don't know what it is.

_________________
:Onyx2:
Code:
Obtaining //janek/unix from server ripley

usually it's unix.IP27 but i guess you renamed them or so?

_________________
r-a-c.de
correct, it does get the kernel accordingly, it just fails to initialize the network interface for reasons I ignore.

In prom I can "ping" (7/tcp = echo really) the bootserver, so it's not a connectivity issue. The netaddr is set accordingly, along with dlserver and dlif. I'm missing something, but I don't understand what this could be.

_________________
:Onyx2:
Diskless or remote install? If diskless, I note that IP27 is conspicuously absent from the supported list per SGI:
http://techpubs.sgi.com/library/tpl/cgi ... ml#id26076

_________________
Damn the torpedoes, full speed ahead!

There are those who say I'm a bit of a curmudgeon. To them I reply: "GET OFF MY LAWN!"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)
SAQ

Great find, this explains that.

So here's a possible alternative to make it work, tell me what you think about it.

Most IP27 have a cdrom; a possible alternative would be to place a kernel and miniroot on a cdrom and hack the miniroot in such way that it would remount / from a nfs server on top of its own miniroot. This would make the IP27/SN0 "diskless".

http://www.nekochan.net/wiki/Bootable_EFS_Images

Has anyone made a bootable irix cd? I'm fairly sure it's doable, unless if you can think of a better way to make the IP27 diskless.

What do you think?

_________________
:Onyx2: