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

Bug#718761: marked as done (flash-kernel: 'root=' kernel param ignored when flash-kernel package is installed)



Your message dated Thu, 23 Jan 2014 09:19:11 +0000
with message-id <E1W6GRL-00038G-1n@franck.debian.org>
and subject line Bug#718761: fixed in flash-kernel 3.13
has caused the Debian Bug report #718761,
regarding flash-kernel: 'root=' kernel param ignored when flash-kernel package is installed
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.)


-- 
718761: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718761
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: flash-kernel
Severity: critical
Justification: breaks the whole system

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

Steps which led to the problem:
1. Installed a new kernel package on a functioning system.
2. Generated a new uImage and uInitrd using mkimage.
3. Rebooted system.

Result: System shutdown but didn't become available on network.

Steps to diagnose:
1. Obtained access to a serial console.
2. Discovered that boot was interrupted because it timed out when trying to mount the root filesystem, which was reported to be /dev/root.
3. Restored the previous uImage and uInitrd and successfully rebooted.
4. Adjusted "rootdelay=60"  and tried rebooting again with the problematic uImage and uInitrd again. Rootfs still unavailable.
5. Other stuff that didn't help.
6. Found that the root= kernel param was being ignored by the initrams init scripts, even though other parameters, like rootdelay were being honored.
7. Read through startup scripts and found that the incorrect value for "root" seemed to originate in conf/param.con
8. Read through mkinitramfs scripts and found that a hook installed by the flash-kernel package was responsible for the hook script that was setting "root=/dev/root" in conf/param.con.

Steps to correct:
1. Uninstalled flash-kernel.
2. Updated problematic initramfs.
3. Confirmed that conf/param.conf wasn't in the updated initramfs.
4. Updated uInitrd image.
5. Rebooted.
6. Success!

Expected behavior:
I expect my machine to (re)boot successfully and without intervention after the installation of a new kernel.

If flash-kernel isn't necessary/required on my device, I would expect it to detect that fact rather than rendering my system in an unbootable state.

I realize that my system (a ZyXel NSA320 modified to boot debian) isn't particularly common, but I also know that there is a community of people running debain on Kirkwood devices using the same technique, and I doubt I am the only one to think that flash-kernel might be a useful package to have installed.

Unfortunately, I don't have enough knowledge to suggest a remedy. Perhaps the logic needs to be more sophisticated, or perhaps people porting debian to these devices should be doing something so the scripts know that the bootloader provided value is trustworthy.

Thanks.

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 3.9.11-kirkwood-tld-1 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flash-kernel depends on:
pn  devio            <none>
ii  initramfs-tools  0.112~bpo70+1
ii  linux-base       3.5

flash-kernel recommends no packages.

Versions of packages flash-kernel suggests:
ii  u-boot-tools  2012.04.01-2

--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 3.13

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.

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 718761@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@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@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 23 Jan 2014 08:26:59 +0100
Source: flash-kernel
Binary: flash-kernel flash-kernel-installer
Architecture: source armel
Version: 3.13
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 flash-kernel - utility to make certain embedded devices bootable
 flash-kernel-installer - Make the system bootable (udeb)
Closes: 683329 718761
Changes: 
 flash-kernel (3.13) unstable; urgency=low
 .
   [ Ian Campbell ]
   * Correctly handle probing for android boot partition (Closes: #683329).
   * Rename Bootloader-Sets-Root to Bootloader-Sets-Incorrect-Root which better
     reflects its usage.
   * Forcibly override root only if Bootloader-Sets-Incorrect-Root is yes,
     rather than when it is not no. Avoids overridding root on unknown platforms
     (Closes: #718761).
   * Transition additinal kirkwood systems to DT from v3.12 onwards. Board
     support for these was removed in that release:
     - Globalscale Technologies eSATA SheevaPlug
     - LaCie Internet Space v2
     - LaCie Network Space v2
   * Consistently install DTB file next to uImage where the latter is on a
     filesystem rather than partition.
Checksums-Sha1: 
 2057ad0e0d82b156b712cb865c2f94cd1c6906dd 1785 flash-kernel_3.13.dsc
 07a3afead4b28ff44a264a39fe5e7eaf316986b3 49684 flash-kernel_3.13.tar.xz
 9e9b903be13178e348e19376db2ff0e7ca3afa58 25994 flash-kernel_3.13_armel.deb
 cd3a72431b932a79a583d7b0a061a42a43b14160 21442 flash-kernel-installer_3.13_armel.udeb
Checksums-Sha256: 
 6685fabaa53afaea50dae62496312296086618278231693433c8682c8a2aea0f 1785 flash-kernel_3.13.dsc
 1fd2c37b12a31543ec633a080e02f96a8c42bde6a10f4e58258a8eca193239ef 49684 flash-kernel_3.13.tar.xz
 c7a04049999aa3a6751b1fba22bed0dc3c4f1aaa40ae642ad35ba95ce9daa0d9 25994 flash-kernel_3.13_armel.deb
 c6b5ccfec917b8464f3d86982d45efd6ef9956e873f6c578a625a3cbe8f57627 21442 flash-kernel-installer_3.13_armel.udeb
Files: 
 a664c38dcc3954a5e0abd0a2f8524e66 1785 utils optional flash-kernel_3.13.dsc
 fad82908c1c6278cd98d767c9df3e391 49684 utils optional flash-kernel_3.13.tar.xz
 e637dfec40dd50eb9298fd167904fc17 25994 utils optional flash-kernel_3.13_armel.deb
 0bf214caa82d2939fe4fb11ca6964da8 21442 debian-installer standard flash-kernel-installer_3.13_armel.udeb

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

iQIVAwUBUuDK3ocvcCxNbiWoAQLOXBAAtqMgIH8lsshWfS14jwzYvket+weeAqUq
J1K7dD4ey3wOWEcHXe9MlpXLc13Cs4dKNIINzUvJ85WtXZUcDHxGraJ2zer7SnnU
ak8VQv8IUJAtj9fVn1iYx1eVEkeYyWkuP3sc2PxcB2q6dH+CvxdLvpv8un495kjN
ZlLPqMFIGVA/6bB9TLuqihbZ8TfW9cebpoqkmsJ+mMW+/W8gzZpKlfK0+cHt3Cqq
JHwLkPshtrOPkO9hZd06f4P0xjxydPZMpjVB7H8CdVRM29T9BC5avWRk5ev9EXQm
nJ8FVBwURPpThx0cny3N7ox4Q6JjLsvWmWZtX39svM1eqQyz7j57J09nHSMYCU42
nviyL1w5Yl09uZBP5AFpukd2OisWxQCnl7K57r5HlrZtlGnQRq8a6ePWeZ4u6YLp
BzmtdjEEfbp7921Cfct4qJZCSJEXAnZrcSUOoIYU7l+kzn477Yzbw860Uy2TNlhw
oOKE4ErSmdtd6QBCqulha3Y4J04Mc0eCrkNLsrZV6Drn48wW2YRpDOn0Q5M2MjV2
sJ0ucyWEfKvkkh+/C4frs1eiG3EXJq9FtNsnP76RaUV/QB+PiGhpVlG10X7fLEng
80/O7ou7jKuo4ZL3NzVUIg2O4d6Ruh2bVnhfbve/1ZQc51BHzaDiTmte0B5v/shy
sxSl1ZL+oT4=
=ks2+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: