Re: PReP support for mkvmlinuz & kernel-image 2.6

2004-07-08 Thread Sven Luther
Damn, forgot to attach the files, here they are. Friendly, Sven Luther #!/bin/sh # usage information usage() { echo 'usage:' echo ' -o - path to output file for compressed kernel image' echo ' -a - PowerPC sub-architecture' echo ' -k - path to kernel image file in ELF fo

Re: PReP support for mkvmlinuz & kernel-image 2.6

2004-07-08 Thread Sven Luther
Ok, i had the oportunity to try this out with real packages now, and noticed some stuff needed fixing, which i did. Here is the new mkvmlinuz attached. Still the powerpc kernels i built behave strangely, and don't generate the initrd, which probably means i should not reboot until this is fixed.

Re: PReP support for mkvmlinuz & kernel-image 2.6

2004-07-07 Thread Joerg Morbitzer
Sven Luther wrote: Hello Jens, Find here attached both a new mkvmlinuz and the diff to mkvmlinuz-6 for adding PReP support. This needs some modification of the powerpc kernel package to include the needed file for this, which can be found at revision 811 on the subversion repo. That said

Re: PReP support for mkvmlinuz & kernel-image 2.6

2004-07-07 Thread Sven Luther
On Wed, Jul 07, 2004 at 01:01:35PM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > since there is a filename conflict between the openfirmware and prep > > objs files, i moved them both into subdirectories, which means that > > the future 2.6.7-3 will conflict with mkvmlinuz <=

Re: PReP support for mkvmlinuz & kernel-image 2.6

2004-07-07 Thread Jens Schmalzing
Hi, Sven Luther writes: > since there is a filename conflict between the openfirmware and prep > objs files, i moved them both into subdirectories, which means that > the future 2.6.7-3 will conflict with mkvmlinuz <= 6. As far as I can see, the only conflicting file is misc.o. By installing si

PReP support for mkvmlinuz & kernel-image 2.6

2004-07-07 Thread Sven Luther
Hello Jens, Find here attached both a new mkvmlinuz and the diff to mkvmlinuz-6 for adding PReP support. This needs some modification of the powerpc kernel package to include the needed file for this, which can be found at revision 811 on the subversion repo. That said, since there is a

Re: PReP support

2004-06-23 Thread Jens Schmalzing
Hi, Sven Luther writes: > Yeah, fine, and will we set this by default, or not ? As long as we do not run the risk of accidentally clobbering any existing /boot/vmlinuz- files, fine. That could be done through more elaborate checks in the script itself or through a debconf question, do it as yo

Re: PReP support

2004-06-23 Thread Sven Luther
On Wed, Jun 23, 2004 at 07:43:16PM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > Yeah, fine, and will we set this by default, or not ? > > As long as we do not run the risk of accidentally clobbering any > existing /boot/vmlinuz- files, fine. That could be done through > mo

Re: PReP support

2004-06-23 Thread Jens Schmalzing
Hi, Sven Luther writes: > > Do you mean that by doing : > > > > mkvmlinuz /boot/vmlinux-2.6.7-powerpc 2.6.7-powerpc > > > > The right thing will happen, and that is creation of a > > /boot/vmlinuz-2.6.7-powerpc ? Yes, provided /etc/mkvmlinuz/output sets the variable output to /boot/vmlinuz

Re: PReP support

2004-06-23 Thread Sven Luther
On Wed, Jun 23, 2004 at 06:04:39PM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > > Do you mean that by doing : > > > > > > mkvmlinuz /boot/vmlinux-2.6.7-powerpc 2.6.7-powerpc > > > > > > The right thing will happen, and that is creation of a > > > /boot/vmlinuz-2.6.7-powe

Re: PReP support

2004-06-23 Thread Sven Luther
On Wed, Jun 23, 2004 at 05:52:11PM +0200, Sven Luther wrote: > On Wed, Jun 23, 2004 at 05:27:05PM +0200, Jens Schmalzing wrote: > > Hi, > > > > Sven Luther writes: > > > > > BTW, could you add a mkvmlinuz calling script to the next version of > > > mkvmlinuz ? > > > > A calling script for a shel

Re: PReP support

2004-06-23 Thread Jens Schmalzing
Hi, Sven Luther writes: > BTW, could you add a mkvmlinuz calling script to the next version of > mkvmlinuz ? A calling script for a shell script? > Something like : > > #!/bin/sh > mkvmlinuz -k $2 -o /boot/vmlinuz-$1 > > Should do just fine. This is already there, right in mkvmlinuz

Re: PReP support

2004-06-23 Thread Sven Luther
On Wed, Jun 23, 2004 at 05:27:05PM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > BTW, could you add a mkvmlinuz calling script to the next version of > > mkvmlinuz ? > > A calling script for a shell script? :) > > Something like : > > > > #!/bin/sh > > mkvmlinuz -k

Re: PReP support

2004-06-23 Thread Jens Schmalzing
Hi, Sven Luther writes: > Did you already work on the mkvmlinuz support ? No. > If not, i will start on that right now, and you can merge this stuff > once i commit it. Thanks. But mkvmlinuz is not in the svn repository, so just send me the patches. > BTW, you also need to add the needed stu

Re: PReP support

2004-06-23 Thread Sven Luther
On Wed, Jun 23, 2004 at 05:10:28PM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > Did you already work on the mkvmlinuz support ? > > No. Ok. BTW, could you add a mkvmlinuz calling script to the next version of mkvmlinuz ? Something like : #!/bin/sh mkvmlinuz -k $2 -

Re: PReP support (was: powerpc kernel-patch 2.6.6-5 in incoming since over a month !!!)

2004-06-23 Thread Sven Luther
On Wed, Jun 23, 2004 at 04:19:13PM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > unbootable kernels on non pmac systems, > > Speaking of which. Anybody got a PReP system they don't need and > could throw at me? As I said, I got a bunch of RS/6000 boxen > recently, only to f

PReP support (was: powerpc kernel-patch 2.6.6-5 in incoming since over a month !!!)

2004-06-23 Thread Jens Schmalzing
Hi, Sven Luther writes: > unbootable kernels on non pmac systems, Speaking of which. Anybody got a PReP system they don't need and could throw at me? As I said, I got a bunch of RS/6000 boxen recently, only to find out they're MCA. Regards, Jens. -- J'qbpbe, le m'en fquz pe j'qbpbe! Le veux