Subject: Re: booting from cdrom
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Scott G. Akmentins-Taylor <staylor@mrynet.com>
List: port-sgimips
Date: 11/14/2001 21:05:25
Hubert,

The first thing that comes to mind is checking the sector size of
the CD drive.  I don't recall what sector size SHOULD be used (either
512 or 2048) but this may make a difference.

Is this the HP 6020 CD writer drive?  I've never tested writers
on an INDY before.  If so, do you have a CD-ROM to test with?

I don't know how to interpret the error messages received, so I can't
suggest what they might mean either.

Perhaps someone else on the list has more experience or information
with such a drive.

Sorry I can't suggest anything further :/

-scott

> I did
>  * grab .../INDY/cdimage/NetBSD-1.5.2-sgimips.bootable.gz
>  * unzipped it
>  * wrote to CD-R: cdrecord dev=/dev/cd1d -v NetBSD-1.5.2-sgimips.bootable
>  * fix my Indy's PROM variables:
>      setenv systempartition scsi(0)disk(6)rdisk(0)partition(8)
>      setenv osloadpartition scsi(0)disk(6)rdisk(0)partition(0)
>      setenv osloadfilename netbsd.ram
>      setenv OSLoader boot
>  * Run "dir":
> 	>> ls
> 	scsi(0)disk(6)rdisk(0)partition(8)/:
> 	boot
>    => works!
>  * Try booting:
> 	>> boot
> 	sc0,6,0: cmd=0x3 disconnected on non-word boundary (addr=a8748d82, 0x6 left).  Resetting SCSI bus
> 	dks0d6s8: error 2 status 0 on disk status check
> 	sc0,6,0: cmd=0x3 disconnected on non-word boundary (addr=a8748d82, 0x6 left).  Resetting SCSI bus
> 	dks0d6s8: error 2 status 0 on disk status check
> 	
> 	Cannot load scsi(0)disk(6)rdisk(0)partition(8)/boot.
> 	Illegal f_magic number 0x1, expected MIPSELMAGIC or MIPSEBMAGIC.
> 	Unable to load scsi(0)disk(6)rdisk(0)partition(8)/boot: execute format error
> 	>>
> 
>    :-(
> 
> 
> There's some CD light blinking and head moving right after the
> "boot" command and before the errors. The CD-ROM is a HP SureStore 6020,
> and it works fine on my i386 machine, the bus is terminated properly.