Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131356 - install cd won't boot headless Xserve G5, hangs at 'DO-QUIESCE finished'
Summary: install cd won't boot headless Xserve G5, hangs at 'DO-QUIESCE finished'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: PPC64 Linux
: High critical (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 09:14 UTC by Toni Harbaugh
Modified: 2008-07-28 11:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Harbaugh 2006-04-26 09:14:52 UTC
attempt to boot headless Xserve G5 from external firewire drive
with 2006.0 install cd hangs very early.  Below is the console log.
Note that Debian etch kernel 2.6.15-1 is able to get past this point.

0 > boot cd:,\boot\yaboot
sbp2:Open ->login?
speed=ffffffff 2 2 load-size=247ec adler32=dcfe1f25 

Loading ELF


sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 Config file read, 445 bytes
Config file warning: Duplicate entry 'read-write' near line 7 in file \boot\yaboot.conf
Config file warning: Duplicate entry 'read-write' near line 8 in file \boot\yaboot.conf
Config file warning: Duplicate entry 'read-write' near line 10 in file \boot\yaboot.conf

sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 Welcome to the Gentoo 2006 PPC64 install-cd.  This cd allows you to
install on 64 bit Apple and IBM hardware either a 32 or 64 bit user 
land, running on top of a 64 bit kernel. Please read the README(s) 
on the cd to learn more about this install-cd.

Gentoo Installation Handbook: http://www.gentoo.org/
Further info : http://ppc64.gentoo.org/ 
Bugs : bugs.gentoo.org (CC ppc64@gentoo.org)
IRC : #gentoo-ppc64 on irc.freenode.net.

Press <tab> to show the kernels.Welcome to yaboot version 1.3.11
Enter "help" to get some basic usage information

sbp2:Open ->login?
speed=ffffffff 2 2 boot: 
  G5                         G5-ttyS0,57600           
boot: G5-ttyS0,57600
Please wait, loading kernel...

sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2    Elf64 kernel loaded...
Loading ramdisk...

sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 
sbp2:Open ->login?
speed=ffffffff 2 2 ramdisk loaded at 01e00000, size: 1376 Kbytes

DO-QUIESCE finished
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-26 09:19:19 UTC
Not a GLI bug
Comment 2 Brent Baude (RETIRED) gentoo-dev 2006-04-26 14:18:35 UTC
Toni,  Please join me on #gentoo-ppc64 and I would be happy to help you through this. In fact, I think I already have the fix for it but I cannot post it to a public forum....yet.
Comment 3 Brent Baude (RETIRED) gentoo-dev 2006-04-26 14:22:44 UTC
Also, did you read the README.* files?  They discuss this boot process specifically but you might need an experimental CD that I have as well.  As I urged earlier, please jump onto the irc channel and I would be happy to help you out.
Comment 4 Toni Harbaugh 2006-04-26 15:50:09 UTC
I am not IRC savvy, can you give me a brief snippet of what the
problem might be?
Comment 5 Brent Baude (RETIRED) gentoo-dev 2006-04-27 07:58:21 UTC
Hi Toni,

As for IRC, download something like xchat and connect to irc.freenode.net.  Then join our channel by doing something like: /join #gentoo-ppc64 where the /join and # are required.  It will be worth your while.

As for the problem.  I recommend you read the README.KERNEL file on the cd.  It describes this process.  I am also speculating that perhaps you have an older xserve; and the current cd is missing some serial drivers for older xserves.  You can download a fix xserv-specific iso at:

http://dev.gentoo.org/~ranger/install-ppc64-minimal-newxserv-2006.0.iso
Comment 6 Toni Harbaugh 2006-04-27 08:18:53 UTC
http://dev.gentoo.org/ seems to be having a problem.  It can't find
anything on it's site, including

  http://dev.gentoo.org/~ranger/install-ppc64-minimal-newxserv-2006.0.iso

Is there somewhere else I can download this from?

A firewall at work is preventing me from connecting to IRC, and that is where
my Xserve G5 is.  I could connect from home later, but then I don't have
access to the Xserve.

Thanks,
Toni

Comment 7 Brent Baude (RETIRED) gentoo-dev 2006-04-27 11:00:58 UTC
Toni, we are going through some server migration today.  I do not have another place to put it.  It started at 1500 UTC and is supposed to just take three hours to complete.  Our email is down too... If, for any reason, the migration goes snafu, I'll find another home for it.

ps. often irc through the http proxy is acceptable...
Comment 8 Toni Harbaugh 2006-04-27 11:47:49 UTC
dev.gentoo.org is ok now, so I will try out that test iso

Thanks,
Toni
Comment 9 Toni Harbaugh 2006-04-27 14:56:57 UTC
install-ppc64-minimal-newxserv-2006.0.iso works; it gets past the
'DO-QUIESCE finished' message.

Out of curiosity, I booted this off a pen drive but it "can't find my cd".
The install gives me the option of specifying the cd device or
going into a shell, so I went into a shell and see all the devices
I expect listed in /proc/scsi/scsi:

/ # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Hitachi HDS72258 Rev: V32B
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: ST316021 Model: 2A               Rev: 2AAA
  Type:   Direct-Access-RBC                ANSI SCSI revision: 04
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor: MATSHITA Model: DVD-RAM SW-9571  Rev: A112
  Type:   CD-ROM                           ANSI SCSI revision: ffffffff
Host: scsi5 Channel: 00 Id: 00 Lun: 00
  Vendor: Corsair  Model: Flash Voyager    Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02

but there is no /dev/sd* file for the flash voyager.

I mounted sysfs, then did a udevstart which created the /dev/sdc device
file for my cdrom

Is there a way to accomplish the same thing without falling into the shell?

I'll try to contact the irc channel.

Thanks,
Toni

Comment 10 Toni Harbaugh 2006-04-27 15:44:59 UTC
I did manage to get the install-ppc64-minimal-newxserv-2006.0.iso all
the way up from a usb stick, after some trial and error

I restarted the install by booting with the debug flag on.  Then
in the debug shell I created the /dev/sdc device file by hand with
mknod (using the settings provided by udevstart in a previous attempt).
Then after leaving the debug shell the installation boot continued normally
and found the 'cd'.  This only worked from the debug shell, not the emergency
shell.

Thanks,
Toni
Comment 11 Brent Baude (RETIRED) gentoo-dev 2006-04-28 07:10:18 UTC
Toni,

So it looks like we are wrestling with two problems.  It looks like the new iso fixed the console problem.  Now, wrt the cdrom device, the KERNEL.README file states:

"If you are attempting to install over a firewire drive to a
xserve (or any apple hardware) set in target disk mode and you 
receive kernel errors such as "sbp2: aborting sbp2 command..."
then please also pass the following option to the kernel from
the yaboot command line:

'sbp2.serialize_io=1'              "

Have you tried booting the install kernel and pass that above bit? 

Or is this just a true, pure external firewire drive?  If so, we have historically have had problems with those but needed a tester to help us debug it.  Willing to help?
Comment 12 Toni Harbaugh 2006-04-28 07:45:35 UTC
Although I have a firewire cd attached, I am actually installing from a
usb pen drive.  The problem is that devices are not *automatically* created
for the firewire cd and the usb pen.  *BUT* I have an external firewire
hard drive attached also, and a device file *IS* created automatically for
that device.

Once I create the usb pen drive device file by hand, then installation goes
just fine.  There does not appear to be any problem with the IO.  In fact,
the boot messages indicate that the sbp2.serialize is already being
without me having to state it.

the issue really seems to be why was no device file created for the usb pen
drive, even though it appeared in /proc/scsi/scsi.

Thanks,
Toni


Comment 13 Toni Harbaugh 2006-04-28 07:50:40 UTC
would it be better to consider the lack-of-usb-device-file issue a separate bug?
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-01 11:50:18 UTC
Try adding the "dobladecenter" option to the command line when booting.  This adds some extra pauses into the boot process at some key points before the device detection.
Comment 15 Toni Harbaugh 2006-05-02 03:20:38 UTC
yes, by adding 'dobladecenter' the devices I need in order to boot are seen.

So basically 

  http://dev.gentoo.org/~ranger/install-ppc64-minimal-newxserv-2006.0.iso

solved all my problems.  Will the fix for the hang at 'DO-QUIESCE finished'
make it into a standard cd install in the near future?

Thanks,
Toni
Comment 16 Brent Baude (RETIRED) gentoo-dev 2006-05-02 09:27:33 UTC
Yup, I've got it earmarked...  Please close if you feel the bug is resolved.
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-02 11:38:50 UTC
Umm... release bugs don't get RESOLVED until we get a release out that has the fixes in it.  =]
Comment 18 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-01 13:38:06 UTC
OK, on 2006.1+ the option has been renamed to "slowusb" but this should be FIXED in that version.
Comment 19 t35t0r 2008-07-11 00:54:51 UTC
This problem still exists for my newworld mac xserve g5. I installed yaboot-static (using ppc64 userland) using the 2008 universal CD. Everything works, the system boots, unless I pull the video card (ATI Radeon 7000) out of it. I've setup /usr/lib/yaboot/ofboot by changing " screen" to " scca" so that everything up to and including the yaboot prompt where one can choose which kernel to boot shows up as well as the entire linux boot process (console=ttyS0,57600) via the serial console as long as the video card is in the box. If I pull the video card the yaboot prompt never shows up in the serial console and the system never boots. I only have one video card and another xserve that I need to run Linux on so if there is a fix for this it would be great, otherwise I'll have to go search ebay for another Radeon 7000 for my second xserve.
Comment 20 t35t0r 2008-07-11 17:59:48 UTC
The system can boot OSX 10.4 or 10.5 without a video card so it's a problem with yaboot.
Comment 21 Brent Baude (RETIRED) gentoo-dev 2008-07-27 17:11:47 UTC
does the iso mentioned in comment #15 work?
Comment 22 t35t0r 2008-07-28 11:32:31 UTC
I used the 2008 livecd. I don't think I have the same problem since it's some other strange problem with yaboot. I posted to the yaboot user's list but received no replies. Doesn't matter anyways, purchased another R7K, flashed it to work on a mac, and I've been up and running for a few days.