Subject: port-sgimips/32123: NetBSD 2.1 sgimips does not install on SGI O2 R10k
To: None <port-sgimips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <herzog@phys.ethz.ch>
List: netbsd-bugs
Date: 11/19/2005 18:50:00
>Number:         32123
>Category:       port-sgimips
>Synopsis:       NetBSD 2.1 sgimips does not install on SGI O2 R10k
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-sgimips-maintainer
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 19 18:50:00 +0000 2005
>Originator:     Christian Herzog
>Release:        2.1
>Organization:
Swiss Federal Institute of Technology
>Environment:
cannot install -> no uname
>Description:
we have 2 SGI O2 R10k we'd like to install NetBSD 2.1 on. On both machines I can partition the disk and write the label, but then the installer fails with

     Status: Command failed
    Command: /usr/mdec/sgivol -f -w boot /usr/mdec/ip3xboot sd0
     Hit enter to continue
----------------------------------------------------------------
DIOCGDINFO: No such file or directory


partition table and boot messages:

    Start  MB   End  MB  Size  MB FS type    Newfs Mount Mount point
    --------- --------- --------- ---------- ----- ----- -----------
 a:         4      4003      4000 FFSv1      Yes   Yes   /
 b:      4004      4333       330 swap
 c:         0      4338      4339 Whole disk
 d:         0         3         4 Boot partition 
 e:         0         0         0 unused 



NetBSD 2.1 (INSTALL32_IP3x) #0: Tue Oct 25 00:50:25 UTC 2005
        builds@b3.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/sgimips/200510241747Z-obj/home/
builds/ab/netbsd-x
total memory = 256 MB

(6848 KB reserved for ARCS)
avail memory = 234 MB
mainbus0 (root): SGI-IP32 [SGI, 4], 1 processor
cpu0 at mainbus0: MIPS R10000 CPU (0x927) Rev. 2.7 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
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:0c:89:64
nsphy0 at mec0 phy 15: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 100baseT4, 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
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
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
md0: internal 4096 KB image area
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 2 lun 0: <SGI, SEAGATE ST34572W, 0878> disk fixed
sd0: 4340 MB, 6300 cyl, 8 head, 176 sec, 512 bytes/sect x 8888543 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: cd0
root on md0a dumps on md0b
WARNING: clock gained 25 days -- CHECK AND RESET THE DATE!
root file system type: ffs


>How-To-Repeat:
try to install 2.1 on an SGI O2 R10k, problem also observed by this guy:
http://mail-index.netbsd.org/port-sgimips/2004/12/19/0000.html
>Fix: