Debian Bug report logs - #543717
Initramfs firmware loading fail due to udev being started too late

version graph

Package: udev; Maintainer for udev is Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>; Source for udev is src:systemd (PTS, buildd, popcon).

Reported by: Benoit Plessis <benoit@plessis.info>

Date: Wed, 26 Aug 2009 15:48:03 UTC

Severity: normal

Found in version udev/0.125-7+lenny1

Fixed in version udev/153-1

Done: Marco d'Itri <md@linux.it>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Wed, 26 Aug 2009 15:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Benoit Plessis <benoit@plessis.info>:
New Bug report received and forwarded. Copy sent to Marco d'Itri <md@linux.it>. (Wed, 26 Aug 2009 15:48:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Benoit Plessis <benoit@plessis.info>
To: submit@bugs.debian.org
Subject: Initramfs firmware loading fail due to udev being started too late
Date: Wed, 26 Aug 2009 17:37:04 +0200
Package: udev
Version: 0.125-7+lenny1


Hi,

I'm trying to setup an initrd using standard kernel for loading an NFS-Root
system using bonding and bnx2 interface.

I was stopped by the bnx2 driver being unable to load it's firmware when adding 'bnx2' in the 'modules' files,
so i took a little peek at the init sequence of initramfs:


	run_scripts /scripts/init-top
	...
	load_modules
	...
	run_scripts /scripts/init-premount


Since udev is setup in init-premount, it's unavailable when loading modules and so firmware loading fail,
moving udev in init-top fixed the problem so i was wondering if there is a reason for this current location

This has been tested in lenny and the current sid






Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Thu, 27 Aug 2009 00:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Thu, 27 Aug 2009 00:12:03 GMT) (full text, mbox, link).


Message #10 received at 543717@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org
Cc: debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Thu, 27 Aug 2009 02:07:27 +0200
[Message part 1 (text/plain, inline)]
On Aug 26, Benoit Plessis <benoit@plessis.info> wrote:

> I was stopped by the bnx2 driver being unable to load it's firmware when adding 'bnx2' in the 'modules' files,
Why not letting udev load the driver by itself instead?

> Since udev is setup in init-premount, it's unavailable when loading modules and so firmware loading fail,
> moving udev in init-top fixed the problem so i was wondering if there is a reason for this current location
I got the original scripts from somebody else and I do not know much
about the design of initramfs-tools.
Can we start udev earlier? I see that some of the standard scripts
manually run mknod to work around this.

-- 
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Sun, 30 Aug 2009 13:30:09 GMT) (full text, mbox, link).


Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 30 Aug 2009 13:30:09 GMT) (full text, mbox, link).


Message #15 received at 543717@bugs.debian.org (full text, mbox, reply):

From: maximilian attems <max@stro.at>
To: md@Linux.IT, Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Sun, 30 Aug 2009 15:13:59 +0200
On Thu, 27 Aug 2009, Marco d'Itri wrote:

> On Aug 26, Benoit Plessis <benoit@plessis.info> wrote:
> 
> > I was stopped by the bnx2 driver being unable to load it's firmware when adding 'bnx2' in the 'modules' files,
> Why not letting udev load the driver by itself instead?
> 
> > Since udev is setup in init-premount, it's unavailable when loading modules and so firmware loading fail,
> > moving udev in init-top fixed the problem so i was wondering if there is a reason for this current location
> I got the original scripts from somebody else and I do not know much
> about the design of initramfs-tools.
> Can we start udev earlier? I see that some of the standard scripts
> manually run mknod to work around this.

i'll have a look but won't have time before next weekend.
such a big change needs to be well thought.




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Wed, 02 Dec 2009 16:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Wed, 02 Dec 2009 16:51:04 GMT) (full text, mbox, link).


Message #20 received at 543717@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org, max@stro.at
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Wed, 2 Dec 2009 15:11:26 +0100
[Message part 1 (text/plain, inline)]
On Aug 30, maximilian attems <max@stro.at> wrote:

> > Can we start udev earlier? I see that some of the standard scripts
> > manually run mknod to work around this.
> i'll have a look but won't have time before next weekend.
> such a big change needs to be well thought.
Please let me know if you plan to work on this or if I should close the
bug.

-- 
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Wed, 02 Dec 2009 18:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Wed, 02 Dec 2009 18:12:03 GMT) (full text, mbox, link).


Message #25 received at 543717@bugs.debian.org (full text, mbox, reply):

From: maximilian attems <max@stro.at>
To: md@Linux.IT, Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Wed, 2 Dec 2009 19:03:07 +0100
On Wed, Dec 02, 2009 at 03:11:26PM +0100, Marco d'Itri wrote:
> On Aug 30, maximilian attems <max@stro.at> wrote:
> 
> > > Can we start udev earlier? I see that some of the standard scripts
> > > manually run mknod to work around this.
> > i'll have a look but won't have time before next weekend.
> > such a big change needs to be well thought.
> Please let me know if you plan to work on this or if I should close the
> bug.

it has to be started earlier, that is clear.
I haven't had the time to find out how early, aka at which state exactly.





Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Tue, 26 Jan 2010 18:12:06 GMT) (full text, mbox, link).


Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Tue, 26 Jan 2010 18:12:06 GMT) (full text, mbox, link).


Message #30 received at 543717@bugs.debian.org (full text, mbox, reply):

From: maximilian attems <max@stro.at>
To: md@Linux.IT, Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Tue, 26 Jan 2010 19:09:33 +0100
> it has to be started earlier, that is clear.
> I haven't had the time to find out how early, aka at which state exactly.

init-top

so it it will be run early enough that it is present for
/etc/initramfs-tools/modules and no one will need to do
mknoding.




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Tue, 26 Jan 2010 18:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Tue, 26 Jan 2010 18:27:04 GMT) (full text, mbox, link).


Message #35 received at 543717@bugs.debian.org (full text, mbox, reply):

From: maximilian attems <max@stro.at>
To: md@Linux.IT, Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Tue, 26 Jan 2010 19:23:43 +0100
On Tue, 26 Jan 2010, maximilian attems wrote:

> > it has to be started earlier, that is clear.
> > I haven't had the time to find out how early, aka at which state exactly.
> 
> init-top
> 
> so it it will be run early enough that it is present for
> /etc/initramfs-tools/modules and no one will need to do
> mknoding.

hmm there is one subtle wish here,
please add a pre-requisite on all_generic_ide so that it gets
a chance to load bloody IDE device.

of course alternatively the udev init-top script could parse that
boot param on its own?




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Sat, 06 Feb 2010 02:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sat, 06 Feb 2010 02:12:03 GMT) (full text, mbox, link).


Message #40 received at 543717@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Sat, 6 Feb 2010 03:10:38 +0100
[Message part 1 (text/plain, inline)]
On Jan 26, maximilian attems <max@stro.at> wrote:

> so it it will be run early enough that it is present for
> /etc/initramfs-tools/modules and no one will need to do
> mknoding.
I cannot do this without coordination with the initramfs-tool package
because load_modules and init-premount/blacklist must be moved as well
and run before udevadm trigger.
Please advise.

-- 
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#543717; Package udev. (Mon, 22 Feb 2010 22:45:06 GMT) (full text, mbox, link).


Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 22 Feb 2010 22:45:06 GMT) (full text, mbox, link).


Message #45 received at 543717@bugs.debian.org (full text, mbox, reply):

From: maximilian attems <max@stro.at>
To: md@Linux.IT, Benoit Plessis <benoit@plessis.info>, 543717@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#543717: Initramfs firmware loading fail due to udev being started too late
Date: Mon, 22 Feb 2010 23:40:17 +0100
On Sat, 06 Feb 2010, Marco d'Itri wrote:

> On Jan 26, maximilian attems <max@stro.at> wrote:
> 
> > so it it will be run early enough that it is present for
> > /etc/initramfs-tools/modules and no one will need to do
> > mknoding.
> I cannot do this without coordination with the initramfs-tool package
> because load_modules and init-premount/blacklist must be moved as well
> and run before udevadm trigger.
> Please advise.

changed blacklist to load at init-top stage in initramfs-tools git.
plan to upload this or next week.




Reply sent to Marco d'Itri <md@linux.it>:
You have taken responsibility. (Thu, 22 Apr 2010 22:21:05 GMT) (full text, mbox, link).


Notification sent to Benoit Plessis <benoit@plessis.info>:
Bug acknowledged by developer. (Thu, 22 Apr 2010 22:21:05 GMT) (full text, mbox, link).


Message #50 received at 543717-close@bugs.debian.org (full text, mbox, reply):

From: Marco d'Itri <md@linux.it>
To: 543717-close@bugs.debian.org
Subject: Bug#543717: fixed in udev 153-1
Date: Thu, 22 Apr 2010 22:18:29 +0000
Source: udev
Source-Version: 153-1

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

gir1.0-gudev-1.0_153-1_i386.deb
  to main/u/udev/gir1.0-gudev-1.0_153-1_i386.deb
libgudev-1.0-0_153-1_i386.deb
  to main/u/udev/libgudev-1.0-0_153-1_i386.deb
libgudev-1.0-dev_153-1_i386.deb
  to main/u/udev/libgudev-1.0-dev_153-1_i386.deb
libudev-dev_153-1_i386.deb
  to main/u/udev/libudev-dev_153-1_i386.deb
libudev0_153-1_i386.deb
  to main/u/udev/libudev0_153-1_i386.deb
udev-gtk-udeb_153-1_i386.udeb
  to main/u/udev/udev-gtk-udeb_153-1_i386.udeb
udev-udeb_153-1_i386.udeb
  to main/u/udev/udev-udeb_153-1_i386.udeb
udev_153-1.diff.gz
  to main/u/udev/udev_153-1.diff.gz
udev_153-1.dsc
  to main/u/udev/udev_153-1.dsc
udev_153-1_i386.deb
  to main/u/udev/udev_153-1_i386.deb
udev_153.orig.tar.gz
  to main/u/udev/udev_153.orig.tar.gz



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

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated udev 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, 22 Apr 2010 23:42:39 +0200
Source: udev
Binary: udev libudev0 libudev-dev udev-udeb udev-gtk-udeb libgudev-1.0-0 gir1.0-gudev-1.0 libgudev-1.0-dev
Architecture: source i386
Version: 153-1
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <md@linux.it>
Changed-By: Marco d'Itri <md@linux.it>
Description: 
 gir1.0-gudev-1.0 - libgudev-1.0 introspection data
 libgudev-1.0-0 - GObject-based wrapper library for libudev
 libgudev-1.0-dev - libgudev-1.0 development files
 libudev-dev - libudev development files
 libudev0   - libudev shared library
 udev       - /dev/ and hotplug management daemon
 udev-gtk-udeb - libudev shared library (udeb)
 udev-udeb  - /dev/ and hotplug management daemon (udeb)
Closes: 543717 550152 564010 573402 575548 575947 576441 577256 578049
Changes: 
 udev (153-1) unstable; urgency=low
 .
   * New upstream release. Fixes:
     + deletion of symlinks created by some buggy configurations.
       (Closes: #550152)
     + some issues related to CD/DVD burners. (Closes: #573402, #577256)
     + Logitech keyboards broken by the broken fix for #567237.
       (Closes: #575548, #576441)
     + documentation of the WAIT_FOR timeout. (Closes: #578049)
   * Start udev in the initramfs in the init-top instead of the premount
     hook. (Closes: #543717, #564010)
   * Moved 60-persistent-input.rules from udev-gtk-udeb to udev-udeb.
     (Closes: #575947)
Checksums-Sha1: 
 c5fcb07afb6d10c7578cf8feee251e648f2b8a78 1404 udev_153-1.dsc
 e3870e276569ae723016b00699b09060457707d1 638587 udev_153.orig.tar.gz
 408f79a848ae6f0e19299d615ccad71dc9040263 70896 udev_153-1.diff.gz
 2f75f69d71fff0891d0057f98ab7d7aa56a4944a 436388 udev_153-1_i386.deb
 aab44b361f0e15ad21d53cc231c547be8453a2a3 106836 libudev0_153-1_i386.deb
 479902bde51153dc9d479b83d470fc2da60905e9 46430 libudev-dev_153-1_i386.deb
 f776fa9a89ca1ca22052247bb73aee3f41d7fae4 153170 udev-udeb_153-1_i386.udeb
 feed2f361dfbc8d6b4fbaf51fb0f4b8103b5a143 22926 udev-gtk-udeb_153-1_i386.udeb
 000009ef668537c45ec5af06e502622e810062f0 94380 libgudev-1.0-0_153-1_i386.deb
 556977bd3b1b1f08fa1e0b9be953e8717db11ac6 2500 gir1.0-gudev-1.0_153-1_i386.deb
 cead1a9c6e4ede4db07817f772d6b0e8f42e6437 32856 libgudev-1.0-dev_153-1_i386.deb
Checksums-Sha256: 
 1af80bdc1a6ed8c0279b9fd37328926a01283588289bf028a3f8db3cd63ac164 1404 udev_153-1.dsc
 6f7cad8affc5b0288eec862828a6758bc1107451e606ac5f488abe1f430391a2 638587 udev_153.orig.tar.gz
 ad8bf9a6073ccb3468c0ae40006696268b3c0b0a1bd4bdba639c5242b0472d80 70896 udev_153-1.diff.gz
 7bdb62f4a6a8410086daa7f1fdd1965543f02d36269ca815609a8f54b6e3d362 436388 udev_153-1_i386.deb
 609507eeaa065dd155ad78e74a43f92d69d36868a445bab8a80bedc75c755a3f 106836 libudev0_153-1_i386.deb
 699bc6cace254d287932d89013aefde26fff113108f89286e8d12d353e2f3b66 46430 libudev-dev_153-1_i386.deb
 7924a5fc6a45215a8f747386dc3a606127a1b1b24e3737485ce2df87a995637b 153170 udev-udeb_153-1_i386.udeb
 a5177f74c59f28c0d4a8db0bf4cabbf1854d71840b14bdf7c40ba0febd651cd8 22926 udev-gtk-udeb_153-1_i386.udeb
 b4f50ee7e864a2b202a6136ad44f918f2c2cdf9034b01439ebc1779bc74fd036 94380 libgudev-1.0-0_153-1_i386.deb
 eec9a9f26c0a811794dafd5ec81c2394141bd4c41cb9f5b93a089f9acf7d8aa9 2500 gir1.0-gudev-1.0_153-1_i386.deb
 680aa6bc2643306bf0ac70307c6c77f92dc48ba2216c27c410e4d2cbcf6c3099 32856 libgudev-1.0-dev_153-1_i386.deb
Files: 
 96698234bd8a7a9cd6b4d503899c2361 1404 admin important udev_153-1.dsc
 9c0303a31bd26b75aecc3d86fafae9e4 638587 admin important udev_153.orig.tar.gz
 0091fa60cf2d4d46c3d0ab4aa1fcf468 70896 admin important udev_153-1.diff.gz
 08e569e79dab867a4e17053d0d2f881d 436388 admin important udev_153-1_i386.deb
 8ea142a42fea95e43ec346fa5238dcdd 106836 libs optional libudev0_153-1_i386.deb
 202dc379bc4fcafb1d93f56b56820460 46430 libdevel optional libudev-dev_153-1_i386.deb
 9e2ed05163f1906e695abf74023c7d92 153170 debian-installer important udev-udeb_153-1_i386.udeb
 5382c9fa495cb1f80639f33a463562c2 22926 debian-installer optional udev-gtk-udeb_153-1_i386.udeb
 3370698e24ba4a362ae2504857e31dc5 94380 libs optional libgudev-1.0-0_153-1_i386.deb
 d6bd94a19baa2dad91b3eff910aa680f 2500 libs optional gir1.0-gudev-1.0_153-1_i386.deb
 b30eca07703c78d493c4daeb74b67798 32856 libdevel optional libgudev-1.0-dev_153-1_i386.deb
Package-Type: udeb

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

iEYEARECAAYFAkvQxqAACgkQFGfw2OHuP7HwEgCfXPOYlikZqbu/8aSVCALbvBXw
ClQAn2aQOLZK/ee4LBC9kRkHNWJZKq84
=3ueG
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 21 May 2010 07:31:40 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 30 21:13:15 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.