Subject: Booting from disk not working
To: None <port-sgimips@netbsd.org>
From: Hendrik Scholz <hscholz@perikles.toppoint.de>
List: port-sgimips
Date: 10/27/2001 10:37:30
Hi!

First of all thanks for all your help.
As you might know already I'm trying to install NetBSD on my Indy.
I used the sgivol tool to boot from disk. Here is a sample
output:

>> boot

NetBSD/sgimips 1.5Y  Bootstrap, Revision 1.0
(hscholz@phobos, Fri Oct 26 05:04:11 UTC 2001)

Mem block: type 0 base 0x0 size 0x1000
Mem block: type 1 base 0x1000 size 0x1000
Mem block: type 3 base 0x8002000 size 0x73e000
Mem block: type 6 base 0x8740000 size 0xc0000
Mem block: type 3 base 0x8800000 size 0x800000
Mem block: type 5 base 0x9000000 size 0xc000
Mem block: type 3 base 0x900c000 size 0xaff4000
Local storage a87ff168
argv[0]: scsi(0)disk(4)rdisk(0)partition(8)/boot
argv[1]: ConsoleIn=serial(0)
argv[2]: ConsoleOut=serial(0)
argv[3]: SystemPartition=scsi(0)disk(4)rdisk(0)partition(8)
argv[4]: OSLoader=boot
argv[5]: OSLoadPartition=scsi(0)disk(4)rdisk(0)partition(0)
argv[6]: OSLoadFilename=/netbsd
Boot: scsi(0)disk(4)rdisk(0)partition(0)/netbsd
devopen: scsi(0)disk(4)rdisk(0)partition(0) type scsi file /netbsd
diskopen: 0,2,0 scsi(0)disk(4)rdisk(0)partition(0)
1254480+134936 [56480+45678]=0x16c48c
Starting at 0x88002000

nsym 0x1 ssym 0x88155368 esym 0x8816e48c
zs channel 0 had address 0xbfbd9830
IOC rev 1, machine Indy (Guiness), board rev 3
Timer calibration, got 1000000 cycles (1000000, 1000000, 1000000)
CPU clock speed = 100.00Mhz
Mem block 1: type 0, base 0, size 1
Mem block 2: type 1, base 1, size 1
Mem block 3: type 3, base 32770, size 1854
Mem block 4: type 6, base 34624, size 192
Mem block 5: type 3, base 34816, size 2048
Mem block 6: type 5, base 36864, size 12
Mem block 7: type 3, base 36876, size 45044

Here the machine stops for about 60secs and then reboots.
Using the modified bootloader (2 blocks larger), I get almost
the same output:

NetBSD/sgimips 1.5Y  Bootstrap, Revision 1.0
(feyrer@indy, Fri Oct 26 01:49:17 MEST 2001)

Mem block: type 0 base 0x0 size 0x1000
Mem block: type 1 base 0x1000 size 0x1000
Mem block: type 3 base 0x8002000 size 0x73e000
Mem block: type 6 base 0x8740000 size 0xc0000
Mem block: type 3 base 0x8800000 size 0x800000
Mem block: type 5 base 0x9000000 size 0xc000
Mem block: type 3 base 0x900c000 size 0xaff4000
Local storage 887fe558
argv[0]: scsi(0)disk(4)rdisk(0)partition(8)/boot
argv[1]: OSLoadOptions=auto
argv[2]: ConsoleIn=serial(0)
argv[3]: ConsoleOut=serial(0)
argv[4]: SystemPartition=scsi(0)disk(4)rdisk(0)partition(8)
argv[5]: OSLoader=boot
argv[6]: OSLoadPartition=scsi(0)disk(4)rdisk(0)partition(0)
argv[7]: OSLoadFilename=/netbsd
Boot: scsi(0)disk(4)rdisk(0)partition(0)/netbsd
devopen: scsi(0)disk(4)rdisk(0)partition(0) type scsi file /netbsd
diskopen: 0,2,0 scsi(0)disk(4)rdisk(0)partition(0)
1254480+134936 [56480+45678]=0x16c48c
Starting at 0x88002000

nsym 0x1 ssym 0x88155368 esym 0x8816e48c
zs channel 0 had address 0xbfbd9830
IOC rev 1, machine Indy (Guiness), board rev 3
Timer calibration, got 1000000 cycles (1000000, 1000000, 1000000)
CPU clock speed = 100.00Mhz
Mem block 1: type 0, base 0, size 1
Mem block 2: type 1, base 1, size 1
Mem block 3: type 3, base 32770, size 1854
Mem block 4: type 6, base 34624, size 192
Mem block 5: type 3, base 34816, size 2048
Mem block 6: type 5, base 36864, size 12
Mem block 7: type 3, base 36876, size 45044

What could I do here ? Does compiling gdb support into the kernel
help at that point to track down the problem ?

Thanks, Hendrik

--
Hendrik Scholz <hendrik@scholz.net>
http://www.toppoint.de/~hscholz/
Where do you want to be tomorrow ?