[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588433: linux-image-2.6.32-5-686: tries to run update-grub, although grub isn't installed anymore



Package: linux-2.6
Version: 2.6.32-16
Severity: normal

Hi,

today the linux-image-2.6.32-5-686 (2.6.32-16) package failed for me during the
configuration phase. When the postinst script is run manually, the following
happens:

$ sudo LANG=C /var/lib/dpkg/info/linux-image-`uname -r`.postinst configure
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
initrd.img(/boot/initrd.img-2.6.32-5-686
) points to /boot/initrd.img-2.6.32-5-686
 (/boot/initrd.img-2.6.32-5-686) -- doing nothing at /var/lib/dpkg/info/linux-
image-2.6.32-5-686.postinst line 379.
vmlinuz(/boot/vmlinuz-2.6.32-5-686
) points to /boot/vmlinuz-2.6.32-5-686
 (/boot/vmlinuz-2.6.32-5-686) -- doing nothing at /var/lib/dpkg/info/linux-
image-2.6.32-5-686.postinst line 379.
Running update-grub.
User postinst hook script [update-grub] failed to execute: No such file or
directory

So it fails to start update-grub, which is expected as I have purged all grub
packages from my system and replaced it with the extlinux bootloader instead.
However, grub-pc is still set as postinst_hook in /etc/kernel-img.conf:

$ grep grub /etc/kernel-img.conf
postinst_hook = update-grub
postrm_hook   = update-grub

Please note that I have never ever touched this file. It should not blindly
rely the existance of update-grub.

Cheers,
Fabian



-- Package-specific info:
** Version:
Linux version 2.6.32-5-686 (Debian 2.6.32-16) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-1) ) #1 SMP Tue Jul 6 14:57:57 UTC 2010

** Command line:
initrd=/boot/initrd.img-2.6.32-5-686 root=UUID=e6445315-c5bf-4e2c-b011-3ed84748fd53 ro quiet BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 

** Not tainted

** Kernel log:
[    1.267887] ehci_hcd 0000:00:0b.0: irq 19, io mem 0xf0805000
[    1.273371] libata version 3.00 loaded.
[    1.276165] ehci_hcd 0000:00:0b.0: USB 2.0 started, EHCI 1.00
[    1.276207] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.276208] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.276210] usb usb1: Product: EHCI Host Controller
[    1.276212] usb usb1: Manufacturer: Linux 2.6.32-5-686 ehci_hcd
[    1.276213] usb usb1: SerialNumber: 0000:00:0b.0
[    1.276533] usb usb1: configuration #1 chosen from 1 choice
[    1.276596] hub 1-0:1.0: USB hub found
[    1.276602] hub 1-0:1.0: 8 ports detected
[    1.278578] ata_piix 0000:00:01.1: version 2.13
[    1.278925] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.283457] scsi0 : ata_piix
[    1.283803] scsi1 : ata_piix
[    1.284000] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
[    1.284002] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
[    1.284297] ohci_hcd 0000:00:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    1.284348] ohci_hcd 0000:00:06.0: OHCI Host Controller
[    1.284366] ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2
[    1.284443] ohci_hcd 0000:00:06.0: irq 22, io mem 0xf0804000
[    1.340199] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.340202] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.340203] usb usb2: Product: OHCI Host Controller
[    1.340205] usb usb2: Manufacturer: Linux 2.6.32-5-686 ohci_hcd
[    1.340206] usb usb2: SerialNumber: 0000:00:06.0
[    1.340284] usb usb2: configuration #1 chosen from 1 choice
[    1.340302] hub 2-0:1.0: USB hub found
[    1.340360] hub 2-0:1.0: 8 ports detected
[    1.440679] ata2.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[    1.440943] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[    1.440945] ata1.00: 16777216 sectors, multi 128: LBA 
[    1.441587] ata2.00: configured for UDMA/33
[    1.441766] ata1.00: configured for UDMA/33
[    1.441985] scsi 0:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    1.442390] scsi 1:0:0:0: CD-ROM            VBOX     CD-ROM           1.0  PQ: 0 ANSI: 5
[    1.478171] sd 0:0:0:0: [sda] 16777216 512-byte logical blocks: (8.58 GB/8.00 GiB)
[    1.478202] sd 0:0:0:0: [sda] Write Protect is off
[    1.478204] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.478216] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.478336]  sda: sda1 sda2 <sr0: scsi3-mmc drive: 32x/32x xa/form2 tray
[    1.481173] Uniform CD-ROM driver Revision: 3.20
[    1.481428] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.485832]  sda5 sda6 >
[    1.493719] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.533184] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.533486] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    1.765793] PM: Starting manual resume from disk
[    1.765795] PM: Resume from partition 8:5
[    1.765796] PM: Checking hibernation image.
[    1.765982] PM: Error -22 checking image file
[    1.765983] PM: Resume from disk failed.
[    1.802971] kjournald starting.  Commit interval 5 seconds
[    1.802979] EXT3-fs: mounted filesystem with ordered data mode.
[    2.812132] udev: starting version 158
[    3.528405] pci 0000:00:04.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[    3.530095] vboxguest: major 0, IRQ 20, I/O port d040, MMIO at 00000000f0400000 (size 0x400000)
[    3.530098] vboxguest: Successfully loaded version 3.2.2 (interface 0x00010004)
[    3.530701] input: PC Speaker as /devices/platform/pcspkr/input/input1
[    3.536741] ACPI: AC Adapter [AC] (on-line)
[    3.539764] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    3.539767] ACPI: Power Button [PWRF]
[    3.539896] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input3
[    3.539898] ACPI: Sleep Button [SLPF]
[    3.551673] parport_pc 00:05: reported by Plug and Play ACPI
[    3.581994] piix4_smbus 0000:00:07.0: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
[    3.592721] processor LNXCPU:00: registered as cooling_device0
[    3.595793] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
[    4.385565] Intel ICH 0000:00:05.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    4.708109] intel8x0_measure_ac97_clock: measured 55694 usecs (9915 samples)
[    4.708111] intel8x0: measured clock 178026 rejected
[    5.068082] intel8x0_measure_ac97_clock: measured 55042 usecs (7739 samples)
[    5.068084] intel8x0: measured clock 140601 rejected
[    5.428081] intel8x0_measure_ac97_clock: measured 55880 usecs (7693 samples)
[    5.428083] intel8x0: measured clock 137670 rejected
[    5.428084] intel8x0: clocking to 48000
[    6.096787] Adding 329292k swap on /dev/sda5.  Priority:-1 extents:1 across:329292k 
[    6.273279] EXT3 FS on sda1, internal journal
[    6.399830] loop: module loaded
[    7.155785] kjournald starting.  Commit interval 5 seconds
[    7.156075] EXT3 FS on sda6, internal journal
[    7.156078] EXT3-fs: mounted filesystem with ordered data mode.
[    7.182150] vboxsf: Successfully loaded version 3.2.2 (interface 0x00010004)
[    9.483847] Bluetooth: Core ver 2.15
[    9.492068] NET: Registered protocol family 31
[    9.492070] Bluetooth: HCI device and connection manager initialized
[    9.492071] Bluetooth: HCI socket layer initialized
[    9.557754] Bluetooth: L2CAP ver 2.14
[    9.557756] Bluetooth: L2CAP socket layer initialized
[    9.706885] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.706887] Bluetooth: BNEP filters: protocol multicast
[    9.730550] Bridge firewalling registered
[    9.744947] eth0: link up
[    9.911442] Bluetooth: SCO (Voice Link) ver 0.6
[    9.911444] Bluetooth: SCO socket layer initialized
[   12.999521] [drm] Initialized drm 1.1.0 20060810
[   13.001043] pci 0000:00:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   13.001401] [drm] Initialized vboxvideo 1.0.0 20090303 for 0000:00:02.0 on minor 0
[   19.825250] eth0: no IPv6 routers present
[ 1761.884014] hrtimer: interrupt took 7998187 ns

** Model information
not available

** Loaded modules:
Module                  Size  Used by
vboxvideo               1073  1 
drm                   112020  2 vboxvideo
cpufreq_powersave        602  0 
cpufreq_stats           1940  0 
cpufreq_conservative     4018  0 
cpufreq_userspace       1480  0 
sco                     5857  2 
bridge                 32987  0 
stp                      996  1 bridge
bnep                    7444  2 
l2cap                  21705  3 bnep
crc16                   1027  1 l2cap
bluetooth              36327  5 sco,bnep,l2cap
rfkill                 10264  3 bluetooth
vboxsf                 25952  1 
loop                    9757  0 
snd_intel8x0           19523  0 
snd_ac97_codec         79148  1 snd_intel8x0
ac97_bus                 710  1 snd_ac97_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47214  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_midi            3576  0 
snd_rawmidi            12505  1 snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
snd_timer              12258  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34363  9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_piix4               7076  0 
soundcore               3450  1 snd
parport_pc             15799  0 
processor              26599  0 
button                  3598  0 
evdev                   5609  7 
ac                      1640  0 
parport                22554  1 parport_pc
pcspkr                  1207  0 
i2c_core               12696  2 drm,i2c_piix4
snd_page_alloc          5045  2 snd_intel8x0,snd_pcm
psmouse                44657  0 
vboxguest              97409  7 vboxsf
serio_raw               2916  0 
ext3                   94204  2 
jbd                    32169  1 ext3
mbcache                 3762  1 ext3
sg                     15968  0 
sr_mod                 10770  0 
cdrom                  26487  1 sr_mod
sd_mod                 25869  4 
crc_t10dif              1012  1 sd_mod
ata_generic             2019  0 
ohci_hcd               16880  0 
ata_piix               17640  3 
ehci_hcd               27851  0 
thermal                 9206  0 
libata                115721  2 ata_generic,ata_piix
floppy                 40923  0 
thermal_sys             9378  2 processor,thermal
pcnet32                22226  0 
mii                     2714  1 pcnet32
usbcore                98402  3 ohci_hcd,ehci_hcd
nls_base                4541  2 vboxsf,usbcore
scsi_mod              101401  4 sg,sr_mod,sd_mod,libata

** Network interface configuration:

auto lo
iface lo inet loopback



** Network status:
*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:    1104       8    0    0    0     0          0         0     1104       8    0    0    0     0       0          0
  eth0:   25950     106    0    0    0     0          0         0    15607     142    0    0    0     0       0          0
  pan0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    72 total packets received
    2 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    70 incoming packets delivered
    131 requests sent out
    32 dropped because of missing route
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    0 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
Tcp:
    5 active connections openings
    0 passive connection openings
    0 failed connection attempts
    0 connection resets received
    0 connections established
    39 segments received
    38 segments send out
    0 segments retransmited
    0 bad segments received.
    1 resets sent
Udp:
    31 packets received
    0 packets to unknown port received.
    0 packet receive errors
    91 packets sent
UdpLite:
TcpExt:
    2 delayed acks sent
    14 packet headers predicted
    5 acknowledgments not containing data payload received
    5 predicted acknowledgments
IpExt:
    InMcastPkts: 9
    OutMcastPkts: 11
    InOctets: 25693
    OutOctets: 11232
    InMcastOctets: 2469
    OutMcastOctets: 2549

*** Device features:
eth0: 0x0
lo: 0x13865
pan0: 0xff3865

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:01.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 8a [Master SecP PriP])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at d000 [size=16]
	Kernel driver in use: ata_piix

00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef] (prog-if 00 [VGA controller])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=32M]
	Expansion ROM at <unassigned> [disabled]

00:03.0 Ethernet controller [0200]: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] [1022:2000] (rev 10)
	Subsystem: Advanced Micro Devices [AMD] PCnet - Fast 79C971 [1022:2000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (1500ns min, 63750ns max)
	Interrupt: pin A routed to IRQ 19
	Region 0: I/O ports at d020 [size=32]
	Region 1: Memory at f0000000 (32-bit, non-prefetchable) [size=4K]
	Region 2: Memory at f0080000 (32-bit, non-prefetchable) [size=512K]
	Kernel driver in use: pcnet32

00:04.0 System peripheral [0880]: InnoTek Systemberatung GmbH VirtualBox Guest Service [80ee:cafe]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 0: I/O ports at d040 [size=32]
	Region 1: Memory at f0400000 (32-bit, non-prefetchable) [size=4M]
	Region 2: Memory at f0800000 (32-bit, prefetchable) [size=16K]

00:05.0 Multimedia audio controller [0401]: Intel Corporation 82801AA AC'97 Audio Controller [8086:2415] (rev 01)
	Subsystem: Intel Corporation Device [8086:0000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin A routed to IRQ 21
	Region 0: I/O ports at d100 [size=256]
	Region 1: I/O ports at d200 [size=64]
	Kernel driver in use: Intel ICH

00:06.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at f0804000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 08)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin ? routed to IRQ 9

00:0b.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (prog-if 20 [EHCI])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at f0805000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ehci_hcd


** USB devices:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-5-686 depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.97.2     tools for generating an initramfs
ii  linux-base                    2.6.32-16  Linux image base package
ii  module-init-tools             3.12-1     tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-5-686 recommends:
ii  firmware-linux-free           2.6.32-16  Binary firmware for various driver
ii  libc6-i686                    2.11.2-2   GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.32-5-686 suggests:
pn  grub | lilo                   <none>     (no description available)
pn  linux-doc-2.6.32              <none>     (no description available)

Versions of packages linux-image-2.6.32-5-686 is related to:
pn  firmware-bnx2                 <none>     (no description available)
pn  firmware-bnx2x                <none>     (no description available)
pn  firmware-ipw2x00              <none>     (no description available)
pn  firmware-ivtv                 <none>     (no description available)
pn  firmware-iwlwifi              <none>     (no description available)
pn  firmware-linux                <none>     (no description available)
ii  firmware-linux-nonfree        0.26       Binary firmware for various driver
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)
pn  xen-hypervisor                <none>     (no description available)

-- debconf information:
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.32-5-686/prerm/removing-running-kernel-2.6.32-5-686: true
  linux-image-2.6.32-5-686/prerm/would-invalidate-boot-loader-2.6.32-5-686: true
  linux-image-2.6.32-5-686/postinst/bootloader-test-error-2.6.32-5-686:
  linux-image-2.6.32-5-686/postinst/bootloader-error-2.6.32-5-686:
  linux-image-2.6.32-5-686/postinst/depmod-error-initrd-2.6.32-5-686: false
  linux-image-2.6.32-5-686/postinst/missing-firmware-2.6.32-5-686:



Reply to: