Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2015-01-02 Thread Uwe Kleine-König
Hello Ian, Uwe, any chance you could try this please: diff --git a/functions b/functions index d45a4e6..a7ff6de 100644 --- a/functions +++ b/functions @@ -41,7 +41,11 @@ error() { mtdblock() { local mtdname="$1" - sed -rn "s,^mtd([^:]*).*\"$mtdname\"\$,/dev/mtdblock\\1,p" "$PRO

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2015-01-02 Thread Ian Campbell
On Fri, 2015-01-02 at 11:09 +0100, Uwe Kleine-König wrote: > Hello Ian, > > > Uwe, any chance you could try this please: > > > > diff --git a/functions b/functions > > index d45a4e6..a7ff6de 100644 > > --- a/functions > > +++ b/functions > > @@ -41,7 +41,11 @@ error() { > > mtdblock() { > >

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2014-12-29 Thread Ian Campbell
On Mon, 2014-12-29 at 13:58 +, Ian Campbell wrote: > On Mon, 2014-12-29 at 14:50 +0100, Ben Hutchings wrote: > > On Mon, 2014-12-29 at 13:24 +, Ian Campbell wrote: > > > On Fri, 2014-12-26 at 20:30 +0100, Uwe Kleine-König wrote: > > > > I wonder if flash-kernel should be smart enough to > >

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2014-12-29 Thread Ian Campbell
On Mon, 2014-12-29 at 14:50 +0100, Ben Hutchings wrote: > On Mon, 2014-12-29 at 13:24 +, Ian Campbell wrote: > > On Fri, 2014-12-26 at 20:30 +0100, Uwe Kleine-König wrote: > > > I wonder if flash-kernel should be smart enough to > > > load the module itself. > > > > I think it should. > > > >

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2014-12-29 Thread Ben Hutchings
On Mon, 2014-12-29 at 13:24 +, Ian Campbell wrote: > On Fri, 2014-12-26 at 20:30 +0100, Uwe Kleine-König wrote: > > I wonder if flash-kernel should be smart enough to > > load the module itself. > > I think it should. > > I think all which is needed is to add "modprobe -q mtdblock" into the >

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2014-12-29 Thread Ian Campbell
On Fri, 2014-12-26 at 20:30 +0100, Uwe Kleine-König wrote: > I wonder if flash-kernel should be smart enough to > load the module itself. I think it should. I think all which is needed is to add "modprobe -q mtdblock" into the mtdblock function. I believe anything which uses an mtdblock device pa

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded

2014-12-26 Thread Uwe Kleine-König
Package: flash-kernel Version: 3.28 Severity: normal Hello, on my ReadyNAS 104 (see database entry included below) a typical run after a fresh reboot looks as follows: $ sudo flash-kernel Installing armada-370-netgear-rn104.dtb into /boot/dtb-3.16.0-4-armmp Taking backup