Bug#560823: grub-ieee1275: Error "Memory Address not Alligned" when trying to boot any menu entry

Axel Beckert abe at deuxchevaux.org
Sat Dec 12 15:20:58 UTC 2009


Package: grub-ieee1275
Version: 1.97+20091210-1
Severity: grave

Hi,

this is basically a followup bug to #550160. I haven't updated much on
the box since then (except grub2 itself of course and replaced
2.6.30-1 by 2.6.31-1) and the box is still offline since I only can
boot it from CD over serial console currently.

So I copied the package information at the end of the bug report from
#550160, just added the recently appeared double slashes at path
beginnings in in grub.cfg and updated the grub-common version
manually.

If you think, even small changes in there could be the source of the
bug, feel free to tell me, and I'll try to get current data or update
some other packages if you think it could help.

Since #550160 has been fixed, the grub menu appears, I can edit the
entries on the console, etc.

But as soon as I want to boot one entry, I get the error message
"Memory Address not Alligned" and I'm back to the boot prompt "ok" of
OpenPROM/OpenBoot.

This didn't help:

* update-grub
* update-initramfs -u -k all
* Removing one of the two slashes at path beginning
* Removing the backslashes from set root=...
* Replacing "linux" with "linux16", "linux32" or other variants with
  numbers. (They don't seem to be present on Sparc as they are on
  i386.)

The installed and tried kernels are 2.6.31, 2.6.30, both from
sid/squeeze, and 2.6.26 from lenny). 2.6.30 and 2.6.26 did work fine
before with SILO.

So the box still can't boot normally again.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hdc /cdrom iso9660 ro 0 0
/dev/vg0/root / ext2 rw 0 0
/dev/mapper/vg0-usr /usr ext3 rw,data=ordered 0 0
/dev/mapper/vg0-tmp /tmp ext3 rw,data=ordered 0 0
/dev/mapper/vg0-var /var ext3 rw,data=ordered 0 0
/dev/hda1 /boot ext3 rw,data=ordered 0 0
/dev/mapper/vg0-home /home ext3 rw,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
()	/dev/fd0
(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0)	/dev/hda
*********************** END /boot/grub/device.map

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

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-2-sparc64" {
	insmod ext2
	set root=(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0,1)
	search --no-floppy --fs-uuid --set 1c7c095d-32f5-4701-b443-a0047fd24221
	linux	//vmlinuz-2.6.30-2-sparc64 root=/dev/mapper/vg0-root ro  
	initrd	//initrd.img-2.6.30-2-sparc64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-2-sparc64 (recovery mode)" {
	insmod ext2
	set root=(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0,1)
	search --no-floppy --fs-uuid --set 1c7c095d-32f5-4701-b443-a0047fd24221
	linux	//vmlinuz-2.6.30-2-sparc64 root=/dev/mapper/vg0-root ro single 
	initrd	//initrd.img-2.6.30-2-sparc64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-sparc64" {
	insmod ext2
	set root=(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0,1)
	search --no-floppy --fs-uuid --set 1c7c095d-32f5-4701-b443-a0047fd24221
	linux	//vmlinuz-2.6.30-1-sparc64 root=/dev/mapper/vg0-root ro  
	initrd	//initrd.img-2.6.30-1-sparc64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-sparc64 (recovery mode)" {
	insmod ext2
	set root=(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0,1)
	search --no-floppy --fs-uuid --set 1c7c095d-32f5-4701-b443-a0047fd24221
	linux	//vmlinuz-2.6.30-1-sparc64 root=/dev/mapper/vg0-root ro single 
	initrd	//initrd.img-2.6.30-1-sparc64
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-sparc64" {
	insmod ext2
	set root=(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0,1)
	search --no-floppy --fs-uuid --set 1c7c095d-32f5-4701-b443-a0047fd24221
	linux	//vmlinuz-2.6.26-2-sparc64 root=/dev/mapper/vg0-root ro  
	initrd	//initrd.img-2.6.26-2-sparc64
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-sparc64 (recovery mode)" {
	insmod ext2
	set root=(/pci at 1f\,0/pci at 1\,1/ide at 3/disk at 0,1)
	search --no-floppy --fs-uuid --set 1c7c095d-32f5-4701-b443-a0047fd24221
	linux	//vmlinuz-2.6.26-2-sparc64 root=/dev/mapper/vg0-root ro single 
	initrd	//initrd.img-2.6.26-2-sparc64
}
### END /etc/grub.d/10_linux ###

### 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 ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.24-1-sparc64
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.27          Debian configuration management sy
ii  grub-common                 1.97+20091210-1 GRand Unified Bootloader, version 
ii  libc6                       2.9-27          GNU C Library: Shared libraries
ii  ucf                         3.0022          Update Configuration File: preserv

grub-ieee1275 recommends no packages.

Versions of packages grub-ieee1275 suggests:
pn  genisoimage                   <none>     (no description available)
ii  os-prober                     1.34       utility to detect other OSes on a 

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:





More information about the Pkg-grub-devel mailing list