Re: Error flashing initrd after kernel update

2008-08-07 Thread Frans Pop
Martin Michlmayr wrote: > * Frans Pop <[EMAIL PROTECTED]> [2008-08-07 15:26]: >> > Anyway, I think we should go with MODULES=dep on QNAP devices and the >> > HP mv2120. Since we're updating the initramfs in flash-kernel, I >> > think I'll simply add a sed s/MODULES=most/MODULES=dep/ there. Do >>

Re: Error flashing initrd after kernel update

2008-08-07 Thread Kevin Price
Martin Michlmayr schrieb: > I think users will find it counter-intuitive when > /etc/initramfs-tools/initramfs.conf contains MODULES=most but this is > overwritten by a random file in /etc/initramfs-tools/conf.d/ Good point. Either add a comment in everybody's initramfs.conf that says that there m

Re: Error flashing initrd after kernel update

2008-08-07 Thread Kevin Price
Hi Martin Michlmayr schrieb: > Hah, I found an example. finish-install/finish-install.d/90console > modifies /etc/securetty, a file owned by login. If finish-install can > do it, surely I can modify /etc/initramfs-tools/initramfs.conf in d-i, > right? Apart from that, is there an important reas

Re: Error flashing initrd after kernel update

2008-08-07 Thread Martin Michlmayr
* Kevin Price <[EMAIL PROTECTED]> [2008-08-07 17:33]: > > do it, surely I can modify /etc/initramfs-tools/initramfs.conf in d-i, > > right? > > Apart from that, is there an important reason not to do what Frans > suggested, adding a file to /etc/initramfs-tools/conf.d/ ? I think users will find i

Re: Error flashing initrd after kernel update

2008-08-07 Thread Martin Michlmayr
* Martin Michlmayr <[EMAIL PROTECTED]> [2008-08-07 17:01]: > > I'm talking about debian-installer. Surely debian-installer can > > install a package and adapt the config file for the user. > > Hmm, it seems I might be wrong. All the examples I can find of d-i > changing files are not actually co

Re: Error flashing initrd after kernel update

2008-08-07 Thread Martin Michlmayr
* Martin Michlmayr <[EMAIL PROTECTED]> [2008-08-07 16:31]: > > That would be a policy violation (thou shalt not mess with conffiles of > > other packages). The correct solution is to add a configuration file in > > the /etc/initramfs-tools/conf.d/ dir that overrides the value in > > initramfs.conf.

Re: Error flashing initrd after kernel update

2008-08-07 Thread Martin Michlmayr
* Frans Pop <[EMAIL PROTECTED]> [2008-08-07 15:26]: > > Anyway, I think we should go with MODULES=dep on QNAP devices and the > > HP mv2120. Since we're updating the initramfs in flash-kernel, I > > think I'll simply add a sed s/MODULES=most/MODULES=dep/ there. Do you > > think that's okay, or do

Re: Error flashing initrd after kernel update

2008-08-07 Thread Frans Pop
Martin Michlmayr wrote: > * Frans Pop <[EMAIL PROTECTED]> [2008-08-06 01:59]: >> It's not just lvm2. I think it must be a change in initramfs-tools as I >> also get an installation failure when installing current testing and that >> still installs 2.6.25. > > Strange. I did an installation the

Re: Error flashing initrd after kernel update

2008-08-07 Thread Martin Michlmayr
* Frans Pop <[EMAIL PROTECTED]> [2008-08-06 01:59]: > It's not just lvm2. I think it must be a change in initramfs-tools as I > also get an installation failure when installing current testing and that > still installs 2.6.25. Strange. I did an installation the other day (without LVM) and it work

Re: Error flashing initrd after kernel update

2008-08-05 Thread Frans Pop
Martin Michlmayr wrote: > * Frans Pop <[EMAIL PROTECTED]> [2008-07-31 17:08]: >> Both the 'dep' and 'most' versions (last is .bak; both armel) are at; I >> don't have the -6 initrd anymore: >> http://people.debian.org/~fjp/tmp/qnap/ >> >> Note that I'm using lvm2 on the box though it's not needed

Re: Error flashing initrd after kernel update

2008-07-31 Thread Martin Michlmayr
* Frans Pop <[EMAIL PROTECTED]> [2008-07-31 17:08]: > Both the 'dep' and 'most' versions (last is .bak; both armel) are at; I > don't have the -6 initrd anymore: > http://people.debian.org/~fjp/tmp/qnap/ > > Note that I'm using lvm2 on the box though it's not needed for /. Yep, it's because of t

Re: Error flashing initrd after kernel update

2008-07-31 Thread Frans Pop
Martin Michlmayr wrote: > It used to be around 3.5 MB so I'm quite surprised by this size. I'm > not near my QNAP right now but I'll try tonight or tomorrow. In the > meantime, can you make your initrd.img-2.6.25-2-orion5x available > somewhere? Both the 'dep' and 'most' versions (last is .bak;

Re: Error flashing initrd after kernel update

2008-07-31 Thread Martin Michlmayr
* Frans Pop <[EMAIL PROTECTED]> [2008-07-31 14:57]: > As I don't actually use that kernel I'm not really worried about the > failure itself, but it means that new installs will probably also fail. > Wonder what has changed between -6 and -7 that makes the initrd to big. > > -rw-r--r-- 1 root roo

Error flashing initrd after kernel update

2008-07-31 Thread Frans Pop
FYI While updating my QNAP ts-109 today I got the following: Preparing to replace linux-image-2.6.25-2-orion5x 2.6.25-6 (using .../linux-image-2.6.25-2-orion5x_2.6.25-7_armel.deb) ... [...] Setting up linux-image-2.6.25-2-orion5x (2.6.25-7) ... Running depmod. Finding valid ramdisk creators. Usi