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

Bug#637024: marked as done (linux-image-2.6.39-2-ixp4xx: Unable to upgrade with package as released)



Your message dated Fri, 11 Nov 2011 00:17:29 +0000
with message-id <E1ROeoD-0005PF-6i@franck.debian.org>
and subject line Bug#550584: fixed in flash-kernel 3.0~rc.2
has caused the Debian Bug report #550584,
regarding linux-image-2.6.39-2-ixp4xx: Unable to upgrade with package as released
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
550584: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550584
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-2.6
Version: 2.6.39-3
Severity: important

There appears to be a race condition in the installation of this package.  I believe that
the same issue was present in the 2.6.38 package as well.  The package will fail to install
because the postinst hook attempts to flash the kernel and initramfs before the initramfs
has been created.  We may be seeing a variance in the way that this platform handles
the kernel and ramdisk as compared to the mainstream releases.

The error reported is that the kernel/ramdisk flash operation aborts because the initramfs
is not found.  Indeed, there is no initramfs in /boot when the postinst hook runs.  When I
reinstall the previously installed kernel I can see that the update-initramfs script is
called *after* the kernel and initramfs are flashed.

I can work around the issue by unpacking the package, calling depmod and update-initramfs
manually and then reinstalling the kernel package.


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
Processor	: XScale-IXP42x Family rev 1 (v5l)
Hardware	: Linksys NSLU2
Revision	: 0000

** PCI devices:
00:01.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 43) (prog-if 10 [OHCI])
	Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
	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: 8 (250ns min, 10500ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 28
	Region 0: Memory at 48000000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: ohci_hcd
	Kernel modules: ohci-hcd

00:01.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 43) (prog-if 10 [OHCI])
	Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
	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: 8 (250ns min, 10500ns max), Cache Line Size: 32 bytes
	Interrupt: pin B routed to IRQ 27
	Region 0: Memory at 48001000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: ohci_hcd
	Kernel modules: ohci-hcd

00:01.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 04) (prog-if 20 [EHCI])
	Subsystem: NEC Corporation USB 2.0 [1033:00e0]
	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: 68 (4000ns min, 8500ns max), Cache Line Size: 32 bytes
	Interrupt: pin C routed to IRQ 26
	Region 0: Memory at 48002000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0dc4:0000 Macpower Peripherals, Ltd 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.39-2-ixp4xx depends on:
ii  debconf [debconf-2.0]         1.5.40     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.99       tools for generating an initramfs
ii  linux-base                    3.3        Linux image base package
ii  module-init-tools             3.16-1     tools for managing Linux kernel mo

Versions of packages linux-image-2.6.39-2-ixp4xx recommends:
ii  firmware-linux-free           3          Binary firmware for various driver

Versions of packages linux-image-2.6.39-2-ixp4xx suggests:
pn  fdutils                       <none>     (no description available)
pn  linux-doc-2.6.39              <none>     (no description available)

Versions of packages linux-image-2.6.39-2-ixp4xx 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)
pn  firmware-linux-nonfree        <none>     (no description available)
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)
pn  xen-hypervisor                <none>     (no description available)

-- debconf information:
  linux-image-2.6.39-2-ixp4xx/postinst/missing-firmware-2.6.39-2-ixp4xx:
  linux-image-2.6.39-2-ixp4xx/prerm/removing-running-kernel-2.6.39-2-ixp4xx: true
  linux-image-2.6.39-2-ixp4xx/postinst/depmod-error-initrd-2.6.39-2-ixp4xx: false
  linux-image-2.6.39-2-ixp4xx/postinst/ignoring-ramdisk:



--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 3.0~rc.2

We believe that the bug you reported is fixed in the latest version of
flash-kernel, which is due to be installed in the Debian FTP archive:

flash-kernel-installer_3.0~rc.2_armel.udeb
  to main/f/flash-kernel/flash-kernel-installer_3.0~rc.2_armel.udeb
flash-kernel_3.0~rc.2.dsc
  to main/f/flash-kernel/flash-kernel_3.0~rc.2.dsc
flash-kernel_3.0~rc.2.tar.gz
  to main/f/flash-kernel/flash-kernel_3.0~rc.2.tar.gz
flash-kernel_3.0~rc.2_armel.deb
  to main/f/flash-kernel/flash-kernel_3.0~rc.2_armel.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 550584@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loïc Minier <lool@debian.org> (supplier of updated flash-kernel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 10 Nov 2011 23:59:24 +0100
Source: flash-kernel
Binary: flash-kernel flash-kernel-installer
Architecture: source armel
Version: 3.0~rc.2
Distribution: experimental
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Loïc Minier <lool@debian.org>
Description: 
 flash-kernel - utility to make certain embedded devices bootable
 flash-kernel-installer - Make the system bootable (udeb)
Closes: 550584
Changes: 
 flash-kernel (3.0~rc.2) experimental; urgency=low
 .
   * New kernel and initramfs hooks, new logic: flash-kernel always installs
     the latest version according to linux-version and ignores other calls.
     - Fixes installation of new kernel ABIs; closes: #550584.
     - NEWS, man page: document new behavior.
     - flash-kernel depends on linux-base >= 3.2 for linux-version.
   * Add support for triggers; see #550584 for discussion.
   * Misc syntax fixes / cleanups / refactoring; tweak output.
     - Fix some bogus messages in error conditions.
     - Refactor flash-kernel-installer and initramfs-tools hook to use shared
       function and database.
     - Split code and testsuite out.
   * Toshiba AC100 / Android handling; thanks to Julian Andres Klode for his
     input (and patience :-)
     - abootimg would now be installed via flash-kernel-installer.
     - set default root= in initrd.
     - drop Android-Boot-Config hurts more than it helps
     - don't try checking for a specific size; instead let abootimg handle size
       checks for us; size checks were meant to identify the largest partition,
       instead just scan all partitions from MMC and chose the largest one.
   * Add OMAP4 Pandaboard support.
   * Split out database in its own file under /usr/share/flash-kernel/db/;
     document format in README.
   * Drop Extra-Cmdline used in EfikaMX boot scripts; instead rely on initrd to
     set root= (as for other boards).
   * Drop accidental support for Thecus N4100 in f-k-i.
Checksums-Sha1: 
 d79d7dd9605c169b6db0b6d86f340b433d7da227 1132 flash-kernel_3.0~rc.2.dsc
 6a1fd0936fe4924f92984111a7c9afc7273a6f43 52883 flash-kernel_3.0~rc.2.tar.gz
 b12e586c916dd768f9cedc0cf3608c89bd46c673 23356 flash-kernel_3.0~rc.2_armel.deb
 20a1d4703a84c6fb2af980dff107f1316bc8df0c 18598 flash-kernel-installer_3.0~rc.2_armel.udeb
Checksums-Sha256: 
 af338fe1b2f37ebc617e06eb8e0330917ee02183d2453a62d502238aab98cc72 1132 flash-kernel_3.0~rc.2.dsc
 9db4ca641cc4f621bde0a74924d54994dc8493ea8314bcc07c53969e2f798c95 52883 flash-kernel_3.0~rc.2.tar.gz
 979602639833ba989807307a17122a50ca1c282790fd860b61be6824f8bc0c70 23356 flash-kernel_3.0~rc.2_armel.deb
 aedf78888a54afe2555e0890ba0cdacebdbec7cd9a6140fdc1332b7e3af10237 18598 flash-kernel-installer_3.0~rc.2_armel.udeb
Files: 
 a27f62b8eb51c2b71d57a603d1cc62d3 1132 utils optional flash-kernel_3.0~rc.2.dsc
 6eaf4492aca918ac0e92d5f920fbf093 52883 utils optional flash-kernel_3.0~rc.2.tar.gz
 76651d4bb24d58136edf7905c717e688 23356 utils optional flash-kernel_3.0~rc.2_armel.deb
 d5f9258f0f4d38ea398684efece2ad98 18598 debian-installer standard flash-kernel-installer_3.0~rc.2_armel.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEUEARECAAYFAk68ZYkACgkQ4VUX8isJIMC3TwCfdKlrOgHSexD+GS1DlCxJhszT
nH0AmOXj/qHRy2mavw0pyJyhkwpaS7E=
=1W33
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: