Benjamin Cama wrote:
Hi,
I just found by looking around that yabootconfig, the script used by the
yaboot package (very important distinction) to generate /etc/yaboot.conf
actually _knows_ how to handle LABEL and UUID; see
http://svn.debian.org/wsvn/debootloaders/trunk/yaboot/ybin/yabootconfig . Furthermore,
the yaboot package didn't change in 4 years, so everything is "correct" in
yaboot !
But, as we recently saw again on the debian-ppc ML (see
http://lists.debian.org/debian-powerpc/2010/09/msg00013.html ) _some_
script from _some other_ package does modify /etc/yaboot.conf ! And add
spaces (very wrong) and does not interpret labels/uuids. The only other
script I know that generates yaboot.conf is the postinst one in the
yaboot-installer udeb (from the debian-installer) but I don't see how it
could add spaces, looking at its code.
So, that's now 3 people including you that stumble upon this, but this
doesn't come from yaboot. So, could you please join the _full_ yaboot te
see if the program that generates it leaves some traces, and please tell
if you think you have any particular package installed that could affect
that. I Cc the list, too, in case someone could look at that.
Thanks,
benjamin
Hi Benjamin,
I just tried an installation using the latest daily sid_d-i netinst image[1]
It failed. The last few lines of the syslog are:
Sep 19 06:48:58 50mounted-tests: debug: running
/usr/lib/linux-boot-probes/mounted/40yaboot /dev/sda3 /dev/sda3
/var/lib/os-prober/mount ext3
Sep 19 06:48:58 40yaboot: debug: parsing yaboot.conf
Sep 19 06:48:58 40yaboot: debug: parsing: ## yaboot.conf generated by
debian-installer
Sep 19 06:48:58 40yaboot: debug: parsing: ##
Sep 19 06:48:58 40yaboot: debug: parsing: ## run: "man yaboot.conf"
for details. Do not make changes until you have!!
Sep 19 06:48:58 40yaboot: debug: parsing: ## see also:
/usr/share/doc/yaboot/examples for example configurations.
Sep 19 06:48:58 40yaboot: debug: parsing: ##
Sep 19 06:48:58 40yaboot: debug: parsing: ## For a dual-boot menu, add
one or more of:
Sep 19 06:48:58 40yaboot: debug: parsing: ## bsd=/dev/hdaX,
macos=/dev/hdaY, macosx=/dev/hdaZ
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing: # boot = /dev/hdc2
Sep 19 06:48:58 40yaboot: debug: parsing: boot =
"/dev/disk/by-label/bootstrap"
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing:
device=/p...@80000000/pci-bri...@d/pci-...@1/@0/d...@0:
Sep 19 06:48:58 40yaboot: debug: parsing: partition=3
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing: # root = /dev/hdc3
Sep 19 06:48:58 40yaboot: debug: parsing: root =
"UUID=f988ecea-a347-4580-ab0f-56c4bda7c5cb"
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing: timeout=50
Sep 19 06:48:58 40yaboot: debug: parsing: install=/usr/lib/yaboot/yaboot
Sep 19 06:48:58 40yaboot: debug: parsing: magicboot=/usr/lib/yaboot/ofboot
Sep 19 06:48:58 40yaboot: debug: parsing: enablecdboot
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing: image=/boot/vmlinux
Sep 19 06:48:58 40yaboot: debug: parsing: label=Linux
Sep 19 06:48:58 40yaboot: debug: parsing: read-only
Sep 19 06:48:58 40yaboot: debug: parsing: initrd=/boot/initrd.img
Sep 19 06:48:58 40yaboot: debug: parsing:
Sep 19 06:48:58 40yaboot: debug: parsing: image=/boot/vmlinux.old
Sep 19 06:48:58 40yaboot: result:
/dev/sda3:/dev/sda3:Linux:/boot/vmlinux:/boot/initrd.img:root=UUID ro
Sep 19 06:48:58 yaboot-installer: info: linux-boot-probed:
/dev/sda3:/dev/sda3:Linux:/boot/vmlinux:/boot/initrd.img:root=UUID ro
Sep 19 06:48:58 40yaboot: debug: parsing: label=old
Sep 19 06:48:58 40yaboot: debug: parsing: read-only
Sep 19 06:48:58 40yaboot: debug: parsing: initrd=/boot/initrd.img.old
Sep 19 06:48:58 40yaboot: result:
/dev/sda3:/dev/sda3:old:/boot/vmlinux.old:/boot/initrd.img.old:root=UUID
ro
Sep 19 06:48:58 50mounted-tests: debug:
/usr/lib/linux-boot-probes/mounted/40yaboot succeeded
Sep 19 06:48:58 linux-boot-prober: debug: linux detected by
/usr/lib/linux-boot-probes/50mounted-tests
Sep 19 06:48:58 yaboot-installer: info: linux-boot-probed:
/dev/sda3:/dev/sda3:old:/boot/vmlinux.old:/boot/initrd.img.old:root=UUID:ro::::
Sep 19 06:48:59 yaboot-installer: info: ofpath returned nothing;
leaving out device= line and praying
Sep 19 06:48:59 yaboot-installer: mkofboot: Finding OpenFirmware
device path to `/dev/sda2'...
Sep 19 06:48:59 yaboot-installer: ofpath: /proc/scsi/scsi does not exist
Sep 19 06:48:59 yaboot-installer: ofpath: Make sure you compiled your
kernel with CONFIG_SCSI_PROC_FS=y
Sep 19 06:48:59 yaboot-installer: mkofboot: Unable to find
OpenFirmware path for boot=/dev/sda2
Sep 19 06:48:59 yaboot-installer: mkofboot: Please add ofboot=<path>
where <path> is the OpenFirmware path to /dev/sda2 to /etc/yaboot.conf
Sep 19 06:48:59 yaboot-installer: error: mkofboot failed with exit
status 1
Sep 19 06:49:56 main-menu[223]: (process:7376): ofpath:
/proc/scsi/scsi does not exist
Sep 19 06:49:56 main-menu[223]: (process:7376): ofpath: Make sure you
compiled your kernel with CONFIG_SCSI_PROC_FS=y
Sep 19 06:49:56 main-menu[223]: (process:7376): ofpath:
/proc/scsi/scsi does not exist
Sep 19 06:49:56 main-menu[223]: (process:7376): ofpath: Make sure you
compiled your kernel with CONFIG_SCSI_PROC_FS=y
Sep 19 06:49:56 main-menu[223]: (process:7376): ofpath:
/proc/scsi/scsi does not exist
Sep 19 06:49:56 main-menu[223]: (process:7376): ofpath: Make sure you
compiled your kernel with CONFIG_SCSI_PROC_FS=y
Sep 19 06:49:56 main-menu[223]: WARNING **: Configuring
'yaboot-installer' failed with error code 1
Sep 19 06:49:56 main-menu[223]: WARNING **: Menu item
'yaboot-installer' failed.
Sep 19 06:50:08 grub-installer: GRUB not yet usable on PowerPC systems
other than Pegasos/Efika
Sep 19 06:50:25 main-menu[223]: INFO: Menu item 'save-logs' selected
I'll upload the full install logs (and /target/etc/fstab and
/target/etc/yaboot.conf) to this bugreport #580455. But I won't fill up
your mailbox by attaching it here.
I suspect that Joseph's Jezak's re-write of ofpath will fix this...
Rick
[1]
http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/powerpc/iso-cd/debian-testing-powerpc-businesscard.iso
The boiler-plate declares "This build finished at Sun Sep 19 03:26:28
UTC 2010."
--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c95c2df.80...@pobox.com