Sun Box will not auto boot
Tim Fadden
plug-discuss@lists.PLUG.phoenix.az.us
Sun, 06 May 2001 22:01:36 +0000
Oops I was thinking you were running Solaris. the eeprom command is
for solaris.
The boot-device must be set for the scsi target of the disk you are
booting from.
on a sparc 5 disk=target3, disk1=target 1, disk2=target2, and
disk3=target0
The default is to try to boot off of the first partition (0)
as in sd@3,0 target3, partition0
Not sure about linux, but for solaris, the boot loader is on the first
sector of the disk, and points to the vmunix file on the boot partion.
from the OK prompt type
ok probe-scsi this will print out the scsi devices on the internal
scsi controller. I think linux sets the lowest scsi id to a, and the
next higher b, etc etc....
if you have multiple scsi controllers on the system, use
ok probe-scsi-all
I'm a system service engineer for Sun, so know solaris and sun hardware.
I have never loaded linux un a sparc5, so not exactly shure how the boot
strap gets started... lilo I assume.. any way find the scsi id of the
"a" disk and set the boot-device to that one. My guess is that sdb is
target 3, which the variable disk points to... therefore the illegal
instruction.
David Demland wrote:
>
> Here is what I have so far:
>
> At boot time I get the following message on the screen:
>
> /iommu/sbus/espdma@5,8400000/esp@5,800000/sd@3,0 File and Args: illegal
> instruction
>
> There are two disks on the system. The boot disk looks like this in fdisk:
>
> Device Flag Start End Blocks ID System
> /dev/sda1 0 997 2070769 83 Linux native
> /dev/sda2 997 1021 49848 82 Linux swap
> /dev/sda3 0 1021 2120617 5 whole disk
>
> The second disk looks like:
>
> Device Flag Start End Blocks ID System
> /dev/sdb1 0 2036 1026144 83 Linux native
>
> The eprom environment shows the boot-device as disk followed by net for
> default setting. The boot-file is blank for both the set and default values.
>
> Also after I boot up and the computer get running I get the following
> message every so often:
>
> esp0: SCSI bus reset interrupt
>
> Does this have anything to do with the not being able to boot from the disk?
>
> I am not sure I understand what "specifics about your boot device" means
> other than this. Let me know if I need to give you more info.
>
> David
> -----Original Message-----
> From: plug-discuss-admin@lists.PLUG.phoenix.az.us
> [mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Tim
> Fadden
> Sent: Sunday, May 06, 2001 1:31 AM
> To: plug-discuss@lists.PLUG.phoenix.az.us
> Subject: Re: Sun Box will not auto boot
>
> David Demland wrote:
> >
> > I have my Sparc 5 up and running now. I have a Debian distro of Linux
> > running on it. I want to make it a firewall but I have one problem. When I
> > boot it up there is a message about a bad argument from the boot prom. If
> I
> > boot it from the boot floppy I made it boots. This means that I must type
> > the command "boot floppy" every time I boot up. If I do not type the
> command
> > it can not boot. What to I have to do to boot from the hard drive
> > automatically at boot up time?
> >
> > David
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> >From the ok prompt type in:
>
> ok printenv
>
> you will see a vairiable called boot-device
> normally it should be set to disk with the command
>
> ok setenv boot-device disk
>
> depending on what scsi id your boot disk is.
>
> you can also see/set these vairiables with the os up with the command
>
> eeprom
>
> the syntax for setting vairables is
>
> # eeprom boot-device=disk
>
> Give me specifics about your boot device, and I can set you up.
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
> to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss