Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-13 Thread Manoj Srivastava
On Mon, Oct 13 2008, Lachlan wrote:


 i am also running amd64

 i got 2.6.27 running this morning but that's about it.
 booted into gnome and didn't really know what to do after that. i used:

 kernel source# make menuconfig
 (made sure iwl stuff was added etc. saved as .config)
 kernel source# fakeroot make-kpkg --revision=custom.1.0 kernel_image
 kernel source# dpkg -i /home/user/src/linux-image-2.6.27_custom.1.0_amd64.deb
 kernel source# mkinitramfs -o /boot/initrd.img-2.6.27 2.6.27

That last should not be required if you had added --initrd to
 the make-kpkg line.

Here is my compile command:
--8---cut here---start-8---
#!/bin/sh

export MODULE_LOC=/usr/local/src/kernel/modules

#make-kpkg --rootcmd=fakeroot --initrd --append-to-version=-oscar clean
make-kpkg --rootcmd=fakeroot --initrd --append-to-version=-oscar kernel_image
fakeroot make-kpkg --initrd  --append-to-version=-oscar modules_image
--8---cut here---end---8---

(Yes, this is my 15th test compile for 2.6.27)

manoj

-- 
Think of your family tonight.  Try to crawl home after the computer
crashes.
Manoj Srivastava [EMAIL PROTECTED] http://www.golden-gryphon.com/  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Eugene V. Lyubimkin
Adrian Levi wrote:
 I'm having troubles compiling a vanilla 2.6.27 kernel using
 kernel-package. Looks like there is a new iwl4965 driver and I'd like
 to try it out.
 
 The kernel compiles correctly using the usual toolchain provided with
 the sources but fails on the packaging part using make-kpkg.
 
 The compile process gets all the way to the end and fails with
 debian/stamp/Install: Is a directory
 The exact command line I'm using at the top level linux-2.6.27 direcory is:
 fakeroot make-kpkg --initrd --arch amd64 kernel_image
 
 have tried to compile this in etch and lenny with no luck, can someone
 else confirm that it works for them?
New kernel-package with many recent improvements are in Sid now, try it.

-- 
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.



signature.asc
Description: OpenPGP digital signature


Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Adrian Levi
2008/10/12 thveillon.debian [EMAIL PROTECTED]:
 I've used Lenny default for the kernel I'm currently running
 (11.001-something I think), and then tried 11.007 from Sid with good
 results.
 The .config is from my previously home-rolled 2.6.26-6, gcc is Lenny 4.3.2,
 config is nothing fancy, enabled most of the new stuff, except the
 kexec/kdump hibernation method, and optimize_inlining which I didn't set.
 But I don't think many config options could prevent the package creation.

 Tom

I have since tried compiling the kernel in a clean lenny debootstrap
chroot sucessfully.
Strangely is was called,
linux-xenu-2.6.27_2.6.27-10.00.Custom_amd64.deb

But it boots and works, must be a version incompatibility somewhere, I
still have etch repositories in my sources list so something must be
held but not reported.

This install was a test install to iron all the bugs out of my new
laptop and I always intended on a fresh final install as soon as I
figure out how to get everything working.

Adrian
-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Adrian Levi
2008/10/12 thveillon.debian [EMAIL PROTECTED]:
 Adrian Levi a écrit :

 I have since tried compiling the kernel in a clean lenny debootstrap
 chroot sucessfully.
 Strangely is was called,
 linux-xenu-2.6.27_2.6.27-10.00.Custom_amd64.deb

 Maybe you enabled xen support in the config : CONFIG_XEN

[EMAIL PROTECTED]:~/linux-2.6.27$ cat .config|grep XEN
# CONFIG_XEN is not set
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_NETXEN_NIC=m
[EMAIL PROTECTED]:~/linux-2.6.27$


 But it boots and works, must be a version incompatibility somewhere, I
 still have etch repositories in my sources list so something must be
 held but not reported.


 Remove Etch sources then ? Aptitude should do the rest.

Thanks, done.

 Tom

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Adrian Levi
I'm having troubles compiling a vanilla 2.6.27 kernel using
kernel-package. Looks like there is a new iwl4965 driver and I'd like
to try it out.

The kernel compiles correctly using the usual toolchain provided with
the sources but fails on the packaging part using make-kpkg.

The compile process gets all the way to the end and fails with
debian/stamp/Install: Is a directory
The exact command line I'm using at the top level linux-2.6.27 direcory is:
fakeroot make-kpkg --initrd --arch amd64 kernel_image

have tried to compile this in etch and lenny with no luck, can someone
else confirm that it works for them?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread thveillon.debian

Adrian Levi a écrit :


I have since tried compiling the kernel in a clean lenny debootstrap
chroot sucessfully.
Strangely is was called,
linux-xenu-2.6.27_2.6.27-10.00.Custom_amd64.deb


Maybe you enabled xen support in the config : CONFIG_XEN


But it boots and works, must be a version incompatibility somewhere, I
still have etch repositories in my sources list so something must be
held but not reported.



Remove Etch sources then ? Aptitude should do the rest.

[snip]


Adrian


Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Adrian Levi
2008/10/12 thveillon.debian [EMAIL PROTECTED]:
 Hi,

 I'm using a 2.6.27 compiled from kernel.org sources since the day it was
 released, running fine. I compiled it with Lenny default kernel-package, the
 Debian way, and had no trouble.
 I then compiled it with Sid newly revised kernel-package for testing (aka
 fun !) purpose, the compilation went smoothly, including creation of
 kernel-headers, but I didn't actually try the resulting kernel yet.

 I'm on Lenny amd64.

 Basically command is :

 make-kpkg --initrd --append-to-version -vanilla64 --revision 2 kernel-image
 kernel-headers

But you ended up with a .deb package at the end, Mine is failing
before creating the package.
My installed kernel-package version is 11.007 what was yours?

What did you use for a .config file? Mine is from linux-image-2.6.26
in lenny, answered the few new questions and went with that.
I will try your command but can't see how the --append-to-version and
--revision options would stop it from working.

As soon as it stops compiling again, I'll post the exact error message.

Adrian



-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread thveillon.debian

Adrian Levi a écrit :

I'm having troubles compiling a vanilla 2.6.27 kernel using
kernel-package. Looks like there is a new iwl4965 driver and I'd like
to try it out.

The kernel compiles correctly using the usual toolchain provided with
the sources but fails on the packaging part using make-kpkg.

The compile process gets all the way to the end and fails with
debian/stamp/Install: Is a directory
The exact command line I'm using at the top level linux-2.6.27 direcory is:
fakeroot make-kpkg --initrd --arch amd64 kernel_image

have tried to compile this in etch and lenny with no luck, can someone
else confirm that it works for them?

Adrian


Hi,

I'm using a 2.6.27 compiled from kernel.org sources since the day it was 
released, running fine. I compiled it with Lenny default kernel-package, 
the Debian way, and had no trouble.
I then compiled it with Sid newly revised kernel-package for testing 
(aka fun !) purpose, the compilation went smoothly, including creation 
of kernel-headers, but I didn't actually try the resulting kernel yet.


I'm on Lenny amd64.

Basically command is :

make-kpkg --initrd --append-to-version -vanilla64 --revision 2 
kernel-image kernel-headers


Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Sven Joachim
On 2008-10-12 10:43 +0200, Adrian Levi wrote:

 I'm having troubles compiling a vanilla 2.6.27 kernel using
 kernel-package. Looks like there is a new iwl4965 driver and I'd like
 to try it out.

 The kernel compiles correctly using the usual toolchain provided with
 the sources but fails on the packaging part using make-kpkg.

Have you tried kernel-package 11.007 from sid?

 The compile process gets all the way to the end and fails with
 debian/stamp/Install: Is a directory
 The exact command line I'm using at the top level linux-2.6.27 direcory is:
 fakeroot make-kpkg --initrd --arch amd64 kernel_image

 have tried to compile this in etch and lenny with no luck, can someone
 else confirm that it works for them?

I haven't tried to build a 64-bit kernel yet, but without --arch amd64
kernel-package 11.007 worked for me with 2.6.27.

Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread thveillon.debian

Adrian Levi a écrit :


But you ended up with a .deb package at the end, Mine is failing
before creating the package.
My installed kernel-package version is 11.007 what was yours?

What did you use for a .config file? Mine is from linux-image-2.6.26
in lenny, answered the few new questions and went with that.
I will try your command but can't see how the --append-to-version and
--revision options would stop it from working.

As soon as it stops compiling again, I'll post the exact error message.

Adrian




I've used Lenny default for the kernel I'm currently running 
(11.001-something I think), and then tried 11.007 from Sid with good 
results.
The .config is from my previously home-rolled 2.6.26-6, gcc is Lenny 
4.3.2, config is nothing fancy, enabled most of the new stuff, except 
the kexec/kdump hibernation method, and optimize_inlining which I 
didn't set. But I don't think many config options could prevent the 
package creation.


Tom



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Manoj Srivastava
On Sun, Oct 12 2008, Adrian Levi wrote:

 I'm having troubles compiling a vanilla 2.6.27 kernel using
 kernel-package. Looks like there is a new iwl4965 driver and I'd like
 to try it out.

 The kernel compiles correctly using the usual toolchain provided with
 the sources but fails on the packaging part using make-kpkg.

 The compile process gets all the way to the end and fails with
 debian/stamp/Install: Is a directory
 The exact command line I'm using at the top level linux-2.6.27 direcory is:
 fakeroot make-kpkg --initrd --arch amd64 kernel_image

Have you tried without the --arch option? with --arch, I think
 you might be getting into all kinds of cross compilation nastiness. or
 else try
  --arch amd64  --cross-compile  -

manoj

-- 
The decision doesn't have to be logical, it is unanimous.
Manoj Srivastava [EMAIL PROTECTED] http://www.golden-gryphon.com/  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Manoj Srivastava
On Sun, Oct 12 2008, Adrian Levi wrote:


 I have since tried compiling the kernel in a clean lenny debootstrap
 chroot sucessfully.
 Strangely is was called,
 linux-xenu-2.6.27_2.6.27-10.00.Custom_amd64.deb

 But it boots and works, must be a version incompatibility somewhere, I
 still have etch repositories in my sources list so something must be
 held but not reported.

If you try a newer Sid version, I think the idiosyncracy with
 XEN would go away.

manoj
-- 
patent: A method of publicizing inventions so others can copy them.
Manoj Srivastava [EMAIL PROTECTED] http://www.golden-gryphon.com/  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compile vanilla 2.6.27 using make-kpkg

2008-10-12 Thread Lachlan
2008/10/13 Manoj Srivastava [EMAIL PROTECTED]:
 On Sun, Oct 12 2008, Adrian Levi wrote:

 I'm having troubles compiling a vanilla 2.6.27 kernel using
 kernel-package. Looks like there is a new iwl4965 driver and I'd like
 to try it out.

 The kernel compiles correctly using the usual toolchain provided with
 the sources but fails on the packaging part using make-kpkg.

 The compile process gets all the way to the end and fails with
 debian/stamp/Install: Is a directory
 The exact command line I'm using at the top level linux-2.6.27 direcory is:
 fakeroot make-kpkg --initrd --arch amd64 kernel_image

Have you tried without the --arch option? with --arch, I think
  you might be getting into all kinds of cross compilation nastiness. or
  else try
  --arch amd64  --cross-compile  -

manoj


i am also running amd64

i got 2.6.27 running this morning but that's about it.
booted into gnome and didn't really know what to do after that. i used:

kernel source# make menuconfig
(made sure iwl stuff was added etc. saved as .config)
kernel source# fakeroot make-kpkg --revision=custom.1.0 kernel_image
kernel source# dpkg -i /home/user/src/linux-image-2.6.27_custom.1.0_amd64.deb
kernel source# mkinitramfs -o /boot/initrd.img-2.6.27 2.6.27

doublechecked menu.lst and rebooted.

i assumed that the wireless modules were in by default but i couldn't
see anything in the few minutes i've had a look around. (had to go to
work)

i also have no idea if my make-kpg is wrong but that's how it worked for me.


 --
 The decision doesn't have to be logical, it is unanimous.
 Manoj Srivastava [EMAIL PROTECTED] http://www.golden-gryphon.com/
 1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]