[parisc-linux] How to Boot CD on C110
Paul Bame
bame@riverrock.org
Fri, 26 Oct 2001 00:11:27 -0600
>
> For making a boot CD, what exactly has to be done to make it boot? How
> does the firmware recognize that a particular media is bootable and what
> steps does it then take to load the bootstrap code into memory and from
> where on the media does that bootstrap code come? Can the kernel be
> loaded from a plain ISO or does there need to be special 'first block
> magic code' that will do the rest?
Yes there's a special first block, and our ISO images always have it.
The details of the block are well described. Check the palo README.html,
or the palo data structure 'struct firstblock', or the PDC (firmware)
documents accessable from parisc-linux.org.
But I bet you didn't really want to know how to calculate checksums
and poke magic values into the first block :-)
> If I try to boot of 'core.SCSI.2.0' it comes back and says ENTRY_INIT,
> nextline STATUS=-7, and then a couple of rows of 8 digit numbers, the
> first being 00000080. What's it trying to do here?
Another part of the firmware is called IODC, and I think there's
an iodc.pdf on line. In there you can search for ENTRY_INIT, which is
a firmware procedure call, and look for the return status of -7 (If you
can't search PDF, look for something like ENTRY_IO and BOOTDEV_READ.
Sorry I don't recall what -7 is, but I'm guessing with your other symptoms
it's saying it can't even initialize the device, because it can't see it.
Until your 'search' command sees something I don't think booting
is going to work. 'Search' cycles through SCSI addresses
and while it's running you should see flashing access lights on
SCSI devices which have them like the CD. 'search' will display
the bootable devices despite what's on the media, though may not
show removable-media devices which are unloaded. I'm betting on a
cable, connector, or termination problem -- hopefully not a fried
SCSI controller.
Good luck!
-Paul Bame