Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-15 Thread Petter Reinholdtsen
[Ben Hutchings] Again, this is not a workaround, this is the only fix there will be for that bug. The only thing that may change in the kernel to make this easier is that it will do structured logging so in theory you don't need to use grep, cut, etc. In practice, as this is all shell

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-15 Thread Joey Hess
Petter Reinholdtsen wrote: Here is another draft, this time also providing the module name. I dropped the code looking in /proc/modules, as three ways to find firmware seem a bit too much. Looking at dmesg might fail if something is spamming it and the message drops out of the ring buffer.

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-15 Thread Petter Reinholdtsen
[Joey Hess] Looking at dmesg might fail if something is spamming it and the message drops out of the ring buffer. Maybe it would be better to look in syslog? I am aware of it. I do believe the new method is a huge step forward and am unsure if it is worth it to use the syslog instead. If

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-15 Thread Ben Hutchings
On Wed, 2014-10-15 at 22:39 +0200, Petter Reinholdtsen wrote: [Ben Hutchings] Again, this is not a workaround, this is the only fix there will be for that bug. The only thing that may change in the kernel to make this easier is that it will do structured logging so in theory you don't need

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-14 Thread Petter Reinholdtsen
Here is another draft, this time also providing the module name. I dropped the code looking in /proc/modules, as three ways to find firmware seem a bit too much. I added similar code to the isenkram-cli package to install needed firmware packages into /target/, and it seem to work well there. :)

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-14 Thread Ben Hutchings
On Tue, 2014-10-14 at 17:07 +0200, Petter Reinholdtsen wrote: Here is another draft, this time also providing the module name. I dropped the code looking in /proc/modules, as three ways to find firmware seem a bit too much. I added similar code to the isenkram-cli package to install needed

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-07 Thread Petter Reinholdtsen
Here is another draft patch for hw-detect. This one is tested, and find the missing firmware on my X200 test laptop. This approach keep the non-functioning code and add two new approaches, one looking at the meta information for loadmed modules, and one parsing the dmesg output. The union from

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-07 Thread Ben Hutchings
On Tue, 2014-10-07 at 15:52 +0200, Petter Reinholdtsen wrote: Here is another draft patch for hw-detect. This one is tested, and find the missing firmware on my X200 test laptop. This approach keep the non-functioning code The firmware agent is never coming back, so please do remove the

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-07 Thread Petter Reinholdtsen
Thank you for the code review. :) [Ben Hutchings] The firmware agent is never coming back, so please do remove the related code. I know and agree, but URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725714#163 asked for the non-working code to be kept to work with older kernels. I do

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-07 Thread Ben Hutchings
On Tue, 2014-10-07 at 17:09 +0200, Petter Reinholdtsen wrote: Thank you for the code review. :) [Ben Hutchings] The firmware agent is never coming back, so please do remove the related code. I know and agree, but URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725714#163

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-06 Thread Petter Reinholdtsen
I noticed this bug was mentioned as a regression in the Jessie installer, and thought I should have a look at how this could be improved from the hw-detect side. The following patch replaces the code looking in /dev/.udev/firmware-missing and /run/udev/firmware-missing for firmware wanted by the

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-06 Thread Cyril Brulebois
Petter Reinholdtsen p...@hungry.com (2014-10-06): I noticed this bug was mentioned as a regression in the Jessie installer, and thought I should have a look at how this could be improved from the hw-detect side. The following patch replaces the code looking in /dev/.udev/firmware-missing

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-06 Thread Petter Reinholdtsen
[Cyril Brulebois] The idea is to parse kernel logs. OK, that might work too. Is the idea to use the output from 'dmesg'? Who is implementing it? Is there a draft patch somewhere? -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-06 Thread Cyril Brulebois
Petter Reinholdtsen p...@hungry.com (2014-10-06): [Cyril Brulebois] The idea is to parse kernel logs. OK, that might work too. No, it does. Is the idea to use the output from 'dmesg'? Who is implementing it? Is there a draft patch somewhere? I am working on it, when I'm not busy fixing

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-06 Thread Ben Hutchings
On Mon, 2014-10-06 at 15:37 +0200, Petter Reinholdtsen wrote: I noticed this bug was mentioned as a regression in the Jessie installer, and thought I should have a look at how this could be improved from the hw-detect side. The following patch replaces the code looking in

Bug#725714: Partial fix using hw-setup for the missing firmware problem in d-i?

2014-10-06 Thread Cyril Brulebois
Ben Hutchings b...@decadent.org.uk (2014-10-06): On Mon, 2014-10-06 at 15:37 +0200, Petter Reinholdtsen wrote: I noticed this bug was mentioned as a regression in the Jessie installer, and thought I should have a look at how this could be improved from the hw-detect side. The following