[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-12-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/initramfs-tools

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-11-18 Thread Steve Langasek
I'm reopening this bug.  This is not a wishlist at all; it's a
significant regression for users of this hardware, that will affect both
new installs and LTS-LTS upgrades.  While I agree that doubling the
size of all initramfses unreasonably penalizes users without this
hardware, we do need to have a solution that works out of the box for
users /with/ this hardware - if always including this firmware in the
initramfs isn't reasonable, then we should entertain other options, such
as using a different policy for server kernels or opportunistically
adding the firmware to the initramfs *if* it's detected that the module
is needed on the hardware where the initramfs is built (or if it's
detected that the root device uses it).

Now, in the udev in Ubuntu 9.10, I see that /usr/share/initramfs-
tools/hooks/udev *does* include the following code:

for rules in 50-udev-default.rules 50-firmware.rules 
60-persistent-storage.rules 61-persistent-storage-edd.rules 
64-device-mapper.rules 80-drivers.rules 95-udev-late.rules; do
cp -p /lib/udev/rules.d/$rules ${DESTDIR}/lib/udev/rules.d
done
[...]
copy_exec /lib/udev/firmware.sh /lib/udev

So I don't believe udev in 9.10 is actually buggy - the firmware loading
hooks are present in the initramfs!

It looks like only initramfs-tools itself has a bug, because only
firmware for modules that are explicitly singled out in /usr/share
/initramfs-tools/hook-functions are included in the initramfs.  There,
firmware is *only* copied if it's found in the /lib/modules/$(uname -r)
directory - not if it's found in /lib/firmware.  This is inconsistent,
and appears to be a straightforward bug due to an oversight rather than
a design decision.

Correcting this pulls in only 6 more firmware files, adds 684k
(unpacked; 315k packed) to the initramfs size, and the change is also
included already in the newer version of the update-initramfs package
upstream in Debian.  So I think this is the obviously correct change to
make here.

** Package changed: udev (Ubuntu) = initramfs-tools (Ubuntu)

** Changed in: initramfs-tools (Ubuntu)
   Importance: Medium = High

** Changed in: initramfs-tools (Ubuntu)
   Status: Won't Fix = In Progress

** Changed in: initramfs-tools (Ubuntu)
 Assignee: (unassigned) = Steve Langasek (vorlon)

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-11-18 Thread Steve Langasek
** Also affects: initramfs-tools (Ubuntu Lucid)
   Importance: High
 Assignee: Steve Langasek (vorlon)
   Status: In Progress

** Also affects: linux-firmware (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Tags added: regression-release

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-11-18 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.92bubuntu54

---
initramfs-tools (0.92bubuntu54) lucid; urgency=low

  * hook-functions: check both /lib/firmware/$(uname -r) and /lib/firmware
for the firmware that we wish to copy; in any cases where we want to
suppress a firmware-using module from the initramfs, we should do that
explicitly and not by accidentally failing to include the firmware.
LP: #328550.
  * hook-functions: cherry pick fix from Debian upstream version to not warn
about missing firmware for modules whose names are merely /like/ those of
modules listed in /proc/modules.
 -- Steve Langasek steve.langa...@ubuntu.com   Thu, 19 Nov 2009 00:47:55 -0600

** Changed in: initramfs-tools (Ubuntu Lucid)
   Status: In Progress = Fix Released

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-10-20 Thread Rob Dyke
RE: Comment #11. Jens Langner. Many thanks Jens for your helpful script.
I've not quite got it integrated with my preseed, but I confirm your
script works well for me.

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-10-20 Thread Rob Dyke
My pressed late_command for including Jens's script

d-i preseed/late_command string mkdir -p /target/etc/initdramfs-
tools/hooks/ql2xxx ; wget http://my webserver/files/ql2xxx -o
/target/etc/initdramfs-tools/hooks/ql2xxx ; chmod +x  /target/etc
/initdramfs-tools/hooks/ql2xxx ; in-target update-initramfs -u

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 328550] Re: qla2xxx takes ~one minute to initialize per device

2009-10-19 Thread Rob Dyke
RE: Comment #11. Thanks Jens. I'm adding this into my preseed for 9.x
server builds this evening.

I'd like to add my voice to this bug as 'me too'. It is pesky and
frustrating to have to work this out for  the 'minor' releases. I hope
we'll see the firmware included in the next LTS... or perhaps some hooks
in advanced/server builds for specific/detected cards?

-- 
qla2xxx takes ~one minute to initialize per device
https://bugs.launchpad.net/bugs/328550
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs