Bug#541737: grub-pc: long delay before menu

Johan Kullstam kullstj-nn at comcast.net
Sun Aug 23 21:14:01 UTC 2009


Package: grub-pc
Version: 1.96+20090808-1
Severity: normal

I have fixed my reportbug issue.  I see that I not quite alone in this
issue as Nyizsnyik Ferenc has chimed in on this very bug and Michael
Musenbrock seems to be trying to reopen Bug#541145: grub-pc: menu and
kernels load extremely slow.  These two bugs can probably be merged as
they seem to be the same thing.

As only a few people have filed this bug, I reckon it is probably
something to do with the particulars of my machine configuration.

I am sending this to add information which was lacking the first time
around.  This gives my grub.cfg file.  See further down.

One thing which may be of interest is that usr is on another partition
and the "unicode.pf2" file is found there.

Here is the output of "df -hT"
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda1      jfs    969M   74M  895M   8% /
tmpfs        tmpfs   1006M     0 1006M   0% /lib/init/rw
udev         tmpfs     10M  112K  9.9M   2% /dev
tmpfs        tmpfs   1006M     0 1006M   0% /dev/shm
/dev/sda9      jfs    112G   63G   49G  57% /home
/dev/sda6      jfs    1.9G  2.5M  1.9G   1% /tmp
/dev/sda5      jfs     38G  2.5G   35G   7% /usr
/dev/sda8      jfs    3.8G  1.7G  2.1G  45% /usr/src
/dev/sda7      jfs    1.9G  248M  1.7G  14% /var


I am using AHCI to talk to the harddrive.  Legacy IDE mode is
disabled in the BIOS.

FWIW Here is the output of "lspci -v"

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>

00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000a000-0000afff
	Memory behind bridge: e4000000-e5ffffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	Capabilities: [88] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [140] Root Complex Link <?>
	Kernel driver in use: pcieport-driver

00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at e000 [size=32]
	Capabilities: [50] PCI Advanced Features
	Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at e100 [size=32]
	Capabilities: [50] PCI Advanced Features
	Kernel driver in use: uhci_hcd

00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at e500 [size=32]
	Capabilities: [50] PCI Advanced Features
	Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 (prog-if 20 [EHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 18
	Memory at e9205000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
	Subsystem: Giga-byte Technology Device a002
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at e9200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [130] Root Complex Link <?>
	Kernel driver in use: HDA Intel

00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver

00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 4 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: e9100000-e91fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver

00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5 (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: e6000000-e6ffffff
	Prefetchable memory behind bridge: 00000000e9000000-00000000e90fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver

00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 23
	I/O ports at e200 [size=32]
	Capabilities: [50] PCI Advanced Features
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at e300 [size=32]
	Capabilities: [50] PCI Advanced Features
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 (prog-if 00 [UHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at e400 [size=32]
	Capabilities: [50] PCI Advanced Features
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 (prog-if 20 [EHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at e9204000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: e7000000-e8ffffff
	Prefetchable memory behind bridge: 0000000080000000-00000000800fffff
	Capabilities: [50] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard

00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>

00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller (prog-if 01 [AHCI 1.0])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 28
	I/O ports at e600 [size=8]
	I/O ports at e700 [size=4]
	I/O ports at e800 [size=8]
	I/O ports at e900 [size=4]
	I/O ports at ea00 [size=32]
	Memory at e9206000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA <?>
	Capabilities: [b0] PCI Advanced Features
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: medium devsel, IRQ 18
	Memory at e9207000 (64-bit, non-prefetchable) [size=256]
	I/O ports at 0500 [size=32]
	Kernel driver in use: i801_smbus

01:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (rev 9a) (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited Device e190
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at e5000000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at a000 [size=256]
	[virtual] Expansion ROM at e4000000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Express Endpoint, MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+

01:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary) (rev 9a)
	Subsystem: PC Partner Limited Device e191
	Flags: bus master, fast devsel, latency 0
	Memory at e5010000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Express Endpoint, MSI 00

03:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at e9100000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [68] Power Management version 2
	Capabilities: [50] Express Legacy Endpoint, MSI 01
	Kernel driver in use: ahci

03:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02) (prog-if 85 [Master SecO PriO])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, fast devsel, latency 0, IRQ 15
	I/O ports at b000 [size=8]
	I/O ports at b100 [size=4]
	I/O ports at b200 [size=8]
	I/O ports at b300 [size=4]
	I/O ports at b400 [size=16]
	Capabilities: [68] Power Management version 2

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, fast devsel, latency 0, IRQ 15
	I/O ports at c000 [size=256]
	Memory at e9010000 (64-bit, prefetchable) [size=4K]
	Memory at e9000000 (64-bit, prefetchable) [size=64K]
	[virtual] Expansion ROM at e9020000 [disabled] [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
	Capabilities: [d0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel <?>
	Capabilities: [160] Device Serial Number 12-34-56-78-12-34-56-78

05:02.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
	Subsystem: Intel Corporation PRO/1000 GT Desktop Adapter
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at e8020000 (32-bit, non-prefetchable) [size=128K]
	Memory at e8000000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at d000 [size=64]
	[virtual] Expansion ROM at 80000000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
	Capabilities: [e4] PCI-X non-bridge device
	Kernel driver in use: e1000

05:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Flags: bus master, medium devsel, latency 32, IRQ 23
	Memory at e8044000 (32-bit, non-prefetchable) [size=2K]
	Memory at e8040000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: firewire_ohci



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/root / jfs rw,noatime 0 0
/dev/sda9 /home jfs rw,noatime 0 0
/dev/sda6 /tmp jfs rw,noatime 0 0
/dev/sda5 /usr jfs rw,noatime 0 0
/dev/sda8 /usr/src jfs rw,noatime 0 0
/dev/sda7 /var jfs rw,noatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** 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
set root=(hd0,5)
search --no-floppy --fs-uuid --set aaaf9257-e5ae-4782-a1b4-8db1312d294f
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output.gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,1)
search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
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, Linux 2.6.31-rc7" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.31-rc7 root=/dev/sda1 ro  quiet
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc7 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.31-rc7 root=/dev/sda1 ro single 
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc6" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.31-rc6 root=/dev/sda1 ro  quiet
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc6 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.31-rc6 root=/dev/sda1 ro single 
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc5" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.31-rc5 root=/dev/sda1 ro  quiet
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc5 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.31-rc5 root=/dev/sda1 ro single 
}
menuentry "Debian GNU/Linux, Linux 2.6.30.3" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.30.3 root=/dev/sda1 ro  quiet
}
menuentry "Debian GNU/Linux, Linux 2.6.30.3 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6c4ecf54-9eb6-47b2-928d-078f460a7ea6
	linux	/boot/vmlinuz-2.6.30.3 root=/dev/sda1 ro single 
}
### 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 is an example on how to add custom entries
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_winxp ###
menuentry "Microsoft Windows XP Professional" {
	set root=(hd0,3)
	chainloader +1
}
### END /etc/grub.d/41_winxp ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc7 (SMP w/2 CPU cores)
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-pc depends on:
ii  debconf [debconf-2.0]    1.5.27          Debian configuration management sy
ii  grub-common              1.96+20090808-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-25          GNU C Library: Shared libraries
ii  ucf                      3.0019          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
* grub-pc/install_devices:
  grub-pc/postrm_purge_boot_grub: false





More information about the Pkg-grub-devel mailing list