Re: iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Theo de Raadt
> On Mon, Dec 11, 2017 at 06:22:29PM +0100, Martin Pieuchot wrote: > > The only difference I see is that the MAC address has to be read from > > the EEPROM. It's not clear to me if Linux does that for all models, > > hence my question. > > As the comment in the code where this mountroot hook is i

Re: iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Stefan Sperling
On Mon, Dec 11, 2017 at 06:22:29PM +0100, Martin Pieuchot wrote: > The only difference I see is that the MAC address has to be read from > the EEPROM. It's not clear to me if Linux does that for all models, > hence my question. As the comment in the code where this mountroot hook is installed imp

Re: iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Theo de Raadt
> On 11/12/17(Mon) 10:01, Theo de Raadt wrote: > > > On 11/12/17(Mon) 17:44, Stefan Sperling wrote: > > > > When the root filesystem is mounted, the iwm(4) driver will try to > > > > load firmware from the root filesystem in order to read the MAC > > > > address. > > > > > > > > This has never wor

Re: iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Martin Pieuchot
On 11/12/17(Mon) 10:01, Theo de Raadt wrote: > > On 11/12/17(Mon) 17:44, Stefan Sperling wrote: > > > When the root filesystem is mounted, the iwm(4) driver will try to > > > load firmware from the root filesystem in order to read the MAC > > > address. > > > > > > This has never worked in bsd.rd

Re: iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Theo de Raadt
> On 11/12/17(Mon) 17:44, Stefan Sperling wrote: > > When the root filesystem is mounted, the iwm(4) driver will try to > > load firmware from the root filesystem in order to read the MAC > > address. > > > > This has never worked in bsd.rd and results in a bogus "could not > > load firmware" erro

Re: iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Martin Pieuchot
On 11/12/17(Mon) 17:44, Stefan Sperling wrote: > When the root filesystem is mounted, the iwm(4) driver will try to > load firmware from the root filesystem in order to read the MAC > address. > > This has never worked in bsd.rd and results in a bogus "could not > load firmware" error being displa

iwm: don't try to load firmware from ramdisk

2017-12-11 Thread Stefan Sperling
When the root filesystem is mounted, the iwm(4) driver will try to load firmware from the root filesystem in order to read the MAC address. This has never worked in bsd.rd and results in a bogus "could not load firmware" error being displayed during every upgrade. With this diff, when the driver