Bug#586143: Same problem

Salvatore Bonaccorso salvatore.bonaccorso at gmail.com
Fri Jun 18 11:59:15 UTC 2010


Hi Colin

I'm not the original reporter but experience the similar problem,
getting 'unaligned pointer 0x4c1b0297'. I tried to collect the
information you requested for that:

On Fri, Jun 18, 2010 at 12:04:15PM +0100, Colin Watson wrote:
> On Thu, Jun 17, 2010 at 09:44:26PM -0300, André Nunes wrote:
> > Same problem here, bur a little bit worse: I can't get my system back! I
> > tryed to aptitude downgrade grub-pc and grub-common to 1.98-1 and also to
> > grub-legacy, but I keep getting the same error:
> 
> Even though everyone in this bug log seems to be doing this, it's
> unlikely actually to be the best idea, and it certainly won't help to
> resolve this bug.  Try upgrading again; record the output from the
> upgrade, and send it to me; and if you see the problem again, get the
> value of grub-pc/install_devices using 'debconf-show grub-pc', and try
> running 'grub-install /dev/sda' (replacing /dev/sda with the value of
> grub-pc/install_devices') to see if that fixes it, as others have
> reported.

Here is the output of the upgrade:

---(upgrade)------------------------------------------------------------
eldamar:~# aptitude -D -V -v --purge-unused install grub-pc grub-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done       
Reading task descriptions... Done  
The following packages will be upgraded:
  grub-common [1.98+20100602-2 -> 1.98+20100614-2]  grub-pc [1.98+20100602-2 -> 1.98+20100614-2]  
2 packages upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
Need to get 0B/2,532kB of archives. After unpacking 1,282kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of grub-pc (1.98+20100602-2 -> 1.98+20100614-2) <unfixed>
 #586143 - Doesn't boot: Unaligned pointer 4c191bea
Summary:
 grub-pc(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...]  y
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 159789 files and directories currently installed.)
Preparing to replace grub-pc 1.98+20100602-2 (using .../grub-pc_1.98+20100614-2_i386.deb) ...
Unpacking replacement grub-pc ...
Preparing to replace grub-common 1.98+20100602-2 (using .../grub-common_1.98+20100614-2_i386.deb) ...
Unpacking replacement grub-common ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up grub-common (1.98+20100614-2) ...
Installing new version of config file /etc/grub.d/00_header ...
Installing new version of config file /etc/grub.d/10_linux ...
Setting up grub-pc (1.98+20100614-2) ...
Installing new version of config file /etc/grub.d/05_debian_theme ...
Generating core.img
Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst
Running update-grub Legacy to hook our core.img in it
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
    Searching for splash image ... none found, skipping ...
    Found GRUB 2: /boot/grub/core.img
    Found kernel: /boot/vmlinuz-2.6.32-5-686
    Found kernel: /boot/vmlinuz-2.6.32-4-686
    Found kernel: /boot/vmlinuz-2.6.32-2-686
    Updating /boot/grub/menu.lst ... done
    
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-4-686
Found initrd image: /boot/initrd.img-2.6.32-4-686
Found linux image: /boot/vmlinuz-2.6.32-2-686
Found initrd image: /boot/initrd.img-2.6.32-2-686
done
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done       
Reading task descriptions... Done  

Current status: 0 broken [+0], 33 updates [-2], 29436 new [+0].
eldamar:~# 
------------------------------------------------------------------------

The debconf values are the following:

---(debconf)------------------------------------------------------------
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/sda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:
------------------------------------------------------------------------

The machine bootet up showing the above error message. Then I bootet
into live-cd, moutet proc, /dev/sda1 and /dev into chroot and
re-run dpkg-reconfigure -plow grub-pc and run grub-install /dev/sda:

grub-install on /dev/sda in a chroot says 'Installation finished. No
error reported'. 

After that the machine bootet correctly! Do you need some other
information? 

Bests
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100618/e0a9555b/attachment.pgp>


More information about the Pkg-grub-devel mailing list