grub-pc lpia instantly reboots netbook

Bug #444562 reported by lokað
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: grub2

1) Release
Description: Ubuntu karmic (development branch)
Release: 9.10

2) Package version
grub-pc:
  Installiert: 1.97~beta3-1ubuntu7
But earlyer versions were also affected.

3) What should happen
grub-pc should load the menu specified in grub.cfg and let me boot my netbook.

4) What happens
grub-pc shows "GRUB loading" for the fraction of a second, then my netbook reboots.

This does not happen with forcibly installed i386 packages (several tested from debian lenny/sid and ubuntu karmic) but only with lpia packages.

ProblemType: Bug
Architecture: lpia
Date: Tue Oct 6 15:34:22 2009
DistroRelease: Ubuntu 9.10
Package: grub-pc 1.97~beta3-1ubuntu7
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-lpia
SourcePackage: grub2
Uname: Linux 2.6.31-11-lpia i686

Revision history for this message
lokað (lokad) wrote :
Revision history for this message
lokað (lokad) wrote :

Just rechecked with latest (1.97~beta3-1ubuntu8) - nothing changed. The i386 version works, lpia not.

Revision history for this message
lokað (lokad) wrote :

If it is relevant: My system is asus eee 1000h with intel atom n270 with hyperthreading (cpuinfo attached).

If there is other information I should provide or things I can do and test I would be happy to do so.

Revision history for this message
lokað (lokad) wrote :

Sadly 1.97~beta4-1ubuntu1 does not work either. I will again try i386 package and recompile from source to see whats happening. Does someone know what's the setup for ubuntu-ports? Is the standard configure run or something special?

Revision history for this message
lokað (lokad) wrote :

So, after looking at the code I found some things:
The message "GRUB loading." consists of four parts:
boot/i386/pc/boot.S:388
notification_string: .asciz "GRUB "

(modifications A,B,C by me to see where it really gets to)
boot/i386/pc/diskboot.S:323
notification_string: .asciz "loadingA"

notification_step: .asciz ".B"
notification_done: .asciz "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\r\n"

I found that the last message printed is notification_done (originally only "\r\n") in the following piece of code:

LOCAL(bootit):
 /* print a newline */
 MSG(notification_done)
 popw %dx /* this makes sure %dl is our "boot" drive */
 ljmp $0, $(GRUB_BOOT_MACHINE_KERNEL_ADDR + 0x200)

This is all the information I can provide. I have no idea what could be wrong with this long jump under lpia that works under i386 and hope that someone more capable will jump in.

Revision history for this message
lokað (lokad) wrote :

Note1: I rebuilt the package with dpg-buildpackage so I guess this should match with the process used by ubuntu-ports.
Note2: Packages grub2 and grub-common play no role in this, I only had to mess around with grub-pc.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 1.97~beta4-1ubuntu2

---------------
grub2 (1.97~beta4-1ubuntu2) karmic; urgency=low

  * debian/patches/967_no_mmx_sse.diff: Build with -mno-mmx -mno-sse
    -mno-sse2 on i386/lpia, since otherwise lpia is unbootable (LP:
    #444562).

 -- Colin Watson <email address hidden> Fri, 16 Oct 2009 16:31:12 +0100

Changed in grub2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.