Re: HELP!!! Can't boot!


Subject: Re: HELP!!! Can't boot!
From: Jeff Galyan (talisman@anamorphic.com)
Date: Wed Dec 19 2001 - 19:49:10 MST


Okay, that's starting to make some sense... what I don't understand, though,
is why would this drive be seen as a secondary master when it's jumpered as
a slave and the CDRW (on the same IDE chain) is jumpered as master?

--Jeff

----- Original Message -----
From: "Keary Suska" <hierophant@pcisys.net>
To: "Jeff Galyan" <talisman@anamorphic.com>;
<yellowdog-general@lists.yellowdoglinux.com>
Sent: Wednesday, December 19, 2001 7:17 PM
Subject: Re: HELP!!! Can't boot!

> > Okay, this is just plain weird. Finally got CMD-OPT-O-F to drop me into
OF,
> > firmware sees the third HD as "ultra0" (don't know why).
>
> Therein, is probably the problem. "ultra0" is another name for "hda" it
> essentially means the master drive of the IDE chain. If you also have an
> "hda" it means that you have two separate IDE chains with masters. The YDL
> installer probably does not know how to handle an additional master, so it
> is being confused and confusing the boot process. YDL recommends only
> installing on a slave drive, likely for this reason. Although they don't
> specifically say, that slave probably has to be part of the primary IDE
> chain. This problem is likely why you are getting the srr error (OF forth
> error).
>
> To get everything working, you need to edit the ofboot script and
> yaboot.conf in /etc. You will probably have to boot from the cd. In
ofboot,
> look for the linux boot section, and change the line/part that looks like:
> boot hdd:x,\\yaboot
> to:
> boot ultra0:x,\\yaboot
> where x is the boot partition.
>
> In yaboot.conf, edit the image= lines such that they look like:
> ultra0:x,/boot/vmlinux
> where x is the root partition number. Make sure your root is correct--
> /dev/hdax is probably fine.
>
> Use ybin or mkofboot to reset your boot partition. It has been a while
since
> I futzed with yaboot, so I don't recall whether ofboot will be written
> properly as edited. Check the installed file (in /boot) to make sure it
> shows as above. You have have to specify parameters to ybin/mkofboot to
get
> the ofboot the way you need it.
>
> Keary Suska
> Esoteritech, Inc.
> "Leveraging Open Source for a better Internet"
>
> > From: "Jeff Galyan" <talisman@anamorphic.com>
> > Date: Wed, 19 Dec 2001 16:40:55 -0700
> > To: "Keary Suska" <hierophant@pcisys.net>,
> > yellowdog-general@lists.yellowdoglinux.com
> > Subject: Re: HELP!!! Can't boot!
> >
> > Okay, this is just plain weird. Finally got CMD-OPT-O-F to drop me into
OF,
> > firmware sees the third HD as "ultra0" (don't know why).
> >
> > Used Mac OS 9.2 Drive Setup to repartition/initialize the disk -- fine.
> > Boot from YDL CD, start install -- fine. Repartition disk with Parted,
per
> > YDL instructions (same as before) -- fine. Install goes smoothly, no
errors
> > or other messages, not even from ybin. Reboot -- no boot menu. Boot
> > cd-linux with my root partition specified -- fine. ofpath *still*
refuses
> > to recognize the drive it's running from! Firmware sees the drive, Mac
OS
> > drive utils can see the drive, why can't yaboot/ybin/ofpath see the
drive?
> >
> > I'm still stuck with only being able to boot from the CD, Mac OS still
tries
> > to mount the disk (which isn't supposed to be visible to Mac OS?) and
gives
> > the message: "You have inserted a disk containing no volumes that Mac OS
X
> > can read...." with buttons to initialize the disk or continue without
> > initializing. Even if I try to boot directly from OF, I can only boot
Mac
> > OS.
> >
> > This is a 2001 AGP G4 (Graphite - the model immediately prior to the
silver
> > ones), which YDL 2.1 supposedly "officially" supports.
> >
> > I've tried booting the 2.2 kernel, but it dies with a panic about
"unknown
> > values in srr1".
> >
> > --Jeff
> >
> >
> > ----- Original Message -----
> > From: "Keary Suska" <hierophant@pcisys.net>
> > To: <yellowdog-general@lists.yellowdoglinux.com>; "Jeff Galyan"
> > <talisman@anamorphic.com>
> > Sent: Wednesday, December 19, 2001 12:01 AM
> > Subject: Re: HELP!!! Can't boot!
> >
> >
> >>> ultra1 is my secondary IDE HD (/dev/hdb). And Cmd-Opt-O-F combo
didn't
> > do
> >>> anything - the box just booted right into Mac OS X.
> >>
> >> Unless the B&W doesn't support CMD-OPT-O-F, that should always work.
> > Perhaps
> >> you held it down too late or not long enough (you did press the letter
> > 'O',
> >> and not the number, right?)
> >>
> >>> According to OF, I have hd (/dev/hda), ultra1 (/dev/hdb) and cd
> > (/dev/hdc --
> >>> cdrw). No other drives show up in the device tree (though Mac OS has
no
> >>> problem finding the third HD and tries to mount it, then complains
that
> > it
> >>> can't read the disk).
> >>
> >> This is clearly your problem. If you partitioned the third drive
properly,
> >> mac OS should not even see it under any circumstances, unless you
created
> > a
> >> proper HFS partition, which doesn't appear to be the case, or the Mac
OS
> >> wouldn't have a problem mounting it. Additionally, the fact that open
> >> firmware doesn't even know it is there shows that there is something
wrong
> >> with the drive or its installation. It has nothing to do with
Linux--and
> >> yaboot/ybin only knows what OF tells it.
> >>
> >>>>> Booting from a third HD should be fine, since it works on *every*
> > other
> >>>>> platform Linux runs on.
> >>
> >> And it works on PPC with YDL 2.1, a least for everyone else. Have you
> >> searched the archives for people who have had similar issues? If you
don't
> >> find anything, it's a good sign that you did something wrong.
> >>
> >> Have you tried reformatting the drive as HFS only, and see if OF sees
it
> > as
> >> /dev/hdd? If so, follow the YDL installation instructions carefully
making
> >> sure that the partitioning is correct. Remember that you must partition
> >> first with HD setup per instructions, and then have the installer
finish
> > the
> >> partitioning. If not, you have a bigger problem than installing Linux.
> >>
> >> Keary Suska
> >> Esoteritech, Inc.
> >> "Leveraging Open Source for a better Internet"
> >>
> >>> From: "Jeff Galyan" <talisman@anamorphic.com>
> >>> Reply-To: yellowdog-general@lists.yellowdoglinux.com
> >>> Date: Tue, 18 Dec 2001 23:09:25 -0700
> >>> To: yellowdog-general@lists.yellowdoglinux.com, "Robert Story"
> >>> <rstory-l@revelstone.com>
> >>> Subject: Re: HELP!!! Can't boot!
> >>>
> >>> ultra1 is my secondary IDE HD (/dev/hdb). And Cmd-Opt-O-F combo
didn't
> > do
> >>> anything - the box just booted right into Mac OS X. I tried just Opt,
> > but
> >>> that only shows me Mac OS X (doesn't show Mac OS 9, which it seems
like
> > it
> >>> should, since both are installed). According to OF, I have hd
> > (/dev/hda),
> >>> ultra1 (/dev/hdb) and cd (/dev/hdc -- cdrw). No other drives show up
in
> > the
> >>> device tree (though Mac OS has no problem finding the third HD and
tries
> > to
> >>> mount it, then complains that it can't read the disk).
> >>>
> >>> I'm starting to remember why I stopped using Linux (after eight years)
> > in
> >>> the first place...
> >>>
> >>> Thanks anyway! :)
> >>>
> >>> --Jeff
> >>>
> >>>
> >>> ----- Original Message -----
> >>> From: "Robert Story" <rstory-l@revelstone.com>
> >>> To: <yellowdog-general@lists.yellowdoglinux.com>
> >>> Cc: <talisman@anamorphic.com>
> >>> Sent: Tuesday, December 18, 2001 10:44 PM
> >>> Subject: Re: HELP!!! Can't boot!
> >>>
> >>>
> >>>> Hold down <cmd><opt><o><f> after turning on your mac and you should
> > drop
> >>>> into open firmware. then type devalias and see if you can pick out a
> > few
> >>>> candidates.
> >>>>
> >>>> for example, on my B&W G3, I have ide0, cd, zip, ide1, hd, ultra0 and
> >>> ultra1.
> >>>> I'm guessing you'll end up with something like ultra1...
> >>>>
> >>>> Then try booting from these images from the ybin prompt. For example
to
> >>>> boot from the partition 10 of the ultra1 drive,
> >>>>
> >>>> ultra1:10,/vmlinux
> >>>>
> >>>> Once you've found one that works, update /etc/yaboot.conf and re-run
> > ybin.
> >>>>
> >>>> At 8:50 PM -0700 12/18/01, Jeff Galyan wrote:
> >>>>> After fighting with YDL 2.0 install (and getting kernel panics
before
> > it
> >>>>> even enumerated devices), I've gotten YDL 2.1 to install on my
G4/466
> > AGP
> >>>>> box. Unfortunately, it won't boot. I can boot it using cd-linux
> >>>>> root=/dev/hdd9, but that's a bit of a pain to have to do *every*
time
> > I
> >>>>> boot the machine.
> >>>>>
> >>>>> So, I followed the directions in the Engineers' Notes at the end of
> > the
> >>>>> install guide, and ybin projectile-vomits with a message about
> > "/dev/hdd
> >>>>> is not supported" and "Unable to find OpenFirmware path for
> >>>>> boot=/dev/hdd10" and fails to write the bootloader stuff. Now,
before
> >>>>> anyone suggests repartitioning my other hard drives, understand that
> >>>>> repartitioning my other two drives *is not an option*. Booting from
a
> >>>>> third HD should be fine, since it works on *every* other platform
> > Linux
> >>>>> runs on.
> >>>>
> >>>>
> >>>
> >>>
> >>
> >
> >
>
>



This archive was generated by hypermail 2a24 : Wed Dec 19 2001 - 20:02:37 MST