Bug#341535: grub 0.97 doesn't work on IBM ThinkPad T23

Martin Steigerwald Martin at lichtvoll.de
Thu Dec 1 09:11:59 UTC 2005


Package: grub
Version: 0.97-1
Severity: important

Hello,

yesterday I updated grub to 0.97-1 (from 0.95+cvs20040624-19).
I did update-grub to regenerate menu.lst and then I installed the
new grub as follows:

> grub
> find /boot/grub/menu.lst
(hd0,4)
> root (hd0,4)
...
> setup (hd0)
... the usual output indicating that all went well ...

(hd0,4) aka /dev/hda5 is an XFS filesystem. I heard several times
that GRUB can have problems to use an XFS filesystem but I use
this setup for more than a year already.

(I did not use grub-install as I had problems with it several times,
probably worth further investigation and extra bug reports. Some of
those problems might be GRUB <-> XFS incompatibilities.)

When I rebooted, the GRUB splash screen did not come up. Instead I just
got an empty screen with a blinking cursor right after the IBM ThinkPad
BIOS splash screen disappeared.

I then booted an older Knoppix (Version 3.7) and installed the GRUB 
from that KNOPPIX version. Then GRUB worked again like before.

I have no idea on how to debug this, cause I do not get any error
message or any other output. I can try with different options
tough. Maybe removing the splash screen option might help. Anyway
there are many other important things to do for me right now, so this will
have to wait a while.

Well update-grub seems to have a problem with splash screen handling as
well. It added the options a dozen times in that file. Well GRUB
doesn't seem to have a problem with that. At least GRUB as of
KNOPPIX 3.7. Will file an extra bug report about this one.

Regards,
Martin

Here is my grub configuration:

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, 
and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default 
entry
# is the entry saved with the command 'savedefault'.           
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default 
entry
# (normally the first entry defined).
timeout		5

# Set colors for foreground and background:
# (RRGGBB, in hex)
#
# These are optional it will still work without them
#
foreground  = ffffff
background  = 000000

# The splash image location (doesn't need to be the root partition, BTW,
# since grub can read your filesystem):
#
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive 
editing
# control (menu entry editor and command-line)  and entries protected by 
the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
password --md5 [...]

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST


### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda5 ro resume=/dev/hda7

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with 
the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## ## End Default Options ##

splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz

title		Debian GNU/Linux, kernel 2.6.14.2-tp23
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.14.2-tp23 root=/dev/hda5 ro resume=/dev/hda7 
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.14.2-tp23 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.14.2-tp23 root=/dev/hda5 ro resume=/dev/hda7 
single
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.14-2-686
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.14-2-686 root=/dev/hda5 ro resume=/dev/hda7 
initrd		/boot/initrd.img-2.6.14-2-686
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.14-2-686 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.14-2-686 root=/dev/hda5 ro resume=/dev/hda7 
single
initrd		/boot/initrd.img-2.6.14-2-686
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.13.4-tp23
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.13.4-tp23 root=/dev/hda5 ro resume=/dev/hda7 
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.13.4-tp23 (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.13.4-tp23 root=/dev/hda5 ro resume=/dev/hda7 
single
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# OpenSUSE
title OpenSUSE
    kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x314 splash=verbose 
desktop resume=/dev/hda7 showopts
    initrd (hd0,5)/boot/initrd


# OpenSUSE (Failsafe)
title OpenSUSE (Failsafe)
    kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off 
acpi=off vga=normal noresume nosmp 
noapic maxcpus=0  3
    initrd (hd0,5)/boot/initrd

# Windows 2000    
title Windows 2000
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

# FreeDOS
title FreeDOS
    rootnoverify (hd0,2)
    makeactive
    chainloader +1  


This is my hardware:

martin at deepdance:~ -> lspci
0000:00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge 
(rev 04)
0000:00:01.0 PCI bridge: Intel Corporation 82830 830 Chipset AGP Bridge 
(rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) 
(rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) 
(rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) 
(rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 
42)
0000:00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 
02)
0000:00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)
0000:00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 
02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM 
AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: S3 Inc. SuperSavage IX/C SDR (rev 
05)
0000:02:00.0 CardBus bridge: Texas Instruments PCI1420
0000:02:00.1 CardBus bridge: Texas Instruments PCI1420
0000:02:02.0 Communication controller: Agere Systems WinModem 56k (rev 01)
0000:02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) 
PRO/100 VE (LOM) Ethernet Controller (rev 
42)
0000:03:00.0 USB Controller: NEC Corporation USB (rev 43)
0000:03:00.1 USB Controller: NEC Corporation USB (rev 43)
0000:03:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

martin at deepdance:~ -> lspci  -n
0000:00:00.0 0600: 8086:3575 (rev 04)
0000:00:01.0 0604: 8086:3576 (rev 04)
0000:00:1d.0 0c03: 8086:2482 (rev 02)
0000:00:1d.1 0c03: 8086:2484 (rev 02)
0000:00:1d.2 0c03: 8086:2487 (rev 02)
0000:00:1e.0 0604: 8086:2448 (rev 42)
0000:00:1f.0 0601: 8086:248c (rev 02)
0000:00:1f.1 0101: 8086:248a (rev 02)
0000:00:1f.3 0c05: 8086:2483 (rev 02)
0000:00:1f.5 0401: 8086:2485 (rev 02)
0000:01:00.0 0300: 5333:8c2e (rev 05)
0000:02:00.0 0607: 104c:ac51
0000:02:00.1 0607: 104c:ac51
0000:02:02.0 0780: 11c1:0449 (rev 01)
0000:02:08.0 0200: 8086:1031 (rev 42)
0000:03:00.0 0c03: 1033:0035 (rev 43)
0000:03:00.1 0c03: 1033:0035 (rev 43)
0000:03:00.2 0c03: 1033:00e0 (rev 04)

Tell me when you need more verbose output.      

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2-tp23
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages grub depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared 
libraries an
ii  libncurses5                   5.5-1      Shared libraries for terminal 
hand

grub recommends no packages.

-- no debconf information

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de




More information about the Pkg-grub-devel mailing list