Bug#689270: grub-ieee1275: DEFAULT CATCH! code=300 as the result of "ls"

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Oct 1 01:08:23 UTC 2012


Package: grub-ieee1275
Version: 2.00-7
Severity: normal

This powerpc machine (a Mac Cube) is now booting from grub 2.00-7.  I
can interrupt the boot process and ask for a grub command line.  From
the command line, if i type:

 ls

i get the following message, followed by an OpenFirmware prompt (see
attached crappy webcam image):

DEFAULT CATCH!  code=300 at %SRR0: 00000000  %SRR1: 00083030

Thanks for maintaining grub in debian!

	--dkg

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/dca56d69-14fe-457b-90bb-95d49692ff60 / ext3 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/mapper/vg_togrul0-debusr /usr ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/mapper/vg_togrul0-debvar /var ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/mapper/vg_togrul0-home /home ext3 rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/mapper/vg_togrul0-sidchroot /srv/sidchroot ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/sda4 /boot/grub hfs rw,nosuid,nodev,noexec,relatime,uid=0,gid=0 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_apple
insmod lvm
insmod ext2
set root='lvm/vg_togrul0-debusr'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvm/vg_togrul0-debusr'  8b38f8f2-5da9-4261-b4e1-002df8769229
else
  search --no-floppy --fs-uuid --set=root 8b38f8f2-5da9-4261-b4e1-002df8769229
fi
    font="/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_apple
insmod lvm
insmod ext2
set root='lvm/vg_togrul0-debusr'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvm/vg_togrul0-debusr'  8b38f8f2-5da9-4261-b4e1-002df8769229
else
  search --no-floppy --fs-uuid --set=root 8b38f8f2-5da9-4261-b4e1-002df8769229
fi
insmod png
if background_image /share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-dca56d69-14fe-457b-90bb-95d49692ff60' {
	insmod gzio
	insmod part_apple
	insmod ext2
	set root='hd0,apple3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0,apple3' --hint-bios=hd0,apple3 --hint-efi=hd0,apple3 --hint-baremetal=ahci0,apple3  dca56d69-14fe-457b-90bb-95d49692ff60
	else
	  search --no-floppy --fs-uuid --set=root dca56d69-14fe-457b-90bb-95d49692ff60
	fi
	echo	'Loading Linux 3.2.0-3-powerpc ...'
	linux	/boot/vmlinux-3.2.0-3-powerpc root=UUID=dca56d69-14fe-457b-90bb-95d49692ff60 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-3-powerpc
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-dca56d69-14fe-457b-90bb-95d49692ff60' {
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-powerpc' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-powerpc-advanced-dca56d69-14fe-457b-90bb-95d49692ff60' {
		insmod gzio
		insmod part_apple
		insmod ext2
		set root='hd0,apple3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0,apple3' --hint-bios=hd0,apple3 --hint-efi=hd0,apple3 --hint-baremetal=ahci0,apple3  dca56d69-14fe-457b-90bb-95d49692ff60
		else
		  search --no-floppy --fs-uuid --set=root dca56d69-14fe-457b-90bb-95d49692ff60
		fi
		echo	'Loading Linux 3.2.0-3-powerpc ...'
		linux	/boot/vmlinux-3.2.0-3-powerpc root=UUID=dca56d69-14fe-457b-90bb-95d49692ff60 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.2.0-3-powerpc
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-powerpc (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-powerpc-recovery-dca56d69-14fe-457b-90bb-95d49692ff60' {
		insmod gzio
		insmod part_apple
		insmod ext2
		set root='hd0,apple3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0,apple3' --hint-bios=hd0,apple3 --hint-efi=hd0,apple3 --hint-baremetal=ahci0,apple3  dca56d69-14fe-457b-90bb-95d49692ff60
		else
		  search --no-floppy --fs-uuid --set=root dca56d69-14fe-457b-90bb-95d49692ff60
		fi
		echo	'Loading Linux 3.2.0-3-powerpc ...'
		linux	/boot/vmlinux-3.2.0-3-powerpc root=UUID=dca56d69-14fe-457b-90bb-95d49692ff60 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.2.0-3-powerpc
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Sep 30 21:01 ata-AMSTIHATVD-DOR_MRS8-81_6 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Sep 30 21:01 ata-UQNAUT_MIFERABLL_PML03_810660346471-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-debusr -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-debvar -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-home -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-sidchroot -> ../../dm-3
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-testa -> ../../dm-5
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-testb -> ../../dm-6
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-name-vg_togrul0-vtest -> ../../dm-4
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBd7Jk6BRmyrnX3VAgnAUi3GwfsmQQbZtPK -> ../../dm-4
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBdAVGsLk23F4oY3k9I69AVHIrkpNj4Fa7s -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBdDZkkOxThcalRY3XQQPo39k68hhXCBB1p -> ../../dm-6
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBdFmZ7GDzr2Ci23XneN3h7YeujPz5o0mrI -> ../../dm-3
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBdQ48dtg9zuQIX4gc7G2HaSbbtPgxtbnOt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBdQbW37130TuID6ol3RckFEGU86Uj2qVfg -> ../../dm-5
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dm-uuid-LVM-Fwv5OG4TFd8KyXTktY48RERzMWPsdWBdc7qdJ6dV3g313i6l9ONoxPjbC1LsS11U -> ../../dm-2
lrwxrwxrwx 1 root root  9 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Sep 30 21:01 scsi-SATA_QUANTUM_FIREBAL186006434617-part8 -> ../../sda8
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Sep 30 21:01 17088b17-fbbe-4c73-9d95-7e3b5fe13786 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 30 21:01 47bb0c32-0830-3e73-b56a-3ce7caf2e453 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 30 21:01 6b9e2487-e1c9-4797-b074-7d7ac3900417 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 30 21:01 8b38f8f2-5da9-4261-b4e1-002df8769229 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 30 21:01 b15a48d0-347c-4cf5-94cc-a3309f942243 -> ../../dm-3
lrwxrwxrwx 1 root root 10 Sep 30 21:01 b5524803-1ac7-4671-9773-43e0609834be -> ../../sda7
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dacf9593-d408-4b06-84b9-fd7dcd50df85 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep 30 21:01 dca56d69-14fe-457b-90bb-95d49692ff60 -> ../../sda3
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-3-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-ieee1275 depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  grub-common            2.00-7
ii  grub-ieee1275-bin      2.00-7
ii  grub2-common           2.00-7
ii  ucf                    3.0025+nmu3

grub-ieee1275 recommends no packages.

grub-ieee1275 suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline_default: quiet
  grub2/linux_cmdline_default: quiet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-catch-from-ls.jpg
Type: image/jpeg
Size: 51506 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20120930/1a6c7e5f/attachment-0001.jpg>


More information about the Pkg-grub-devel mailing list