Re: Kernel compilation problem

2018-08-02 Thread Taren
I did finally get the 4.17.11 kernel to compile so that my large drives 
are visible now, but I had to use a 'shotgun' approach in including as 
many SCSI/SATA/etc variables as possible.



I do intend on comparing the non-functioning config for 4.17.11 against 
both the functioning config, as well as against the config for 4.9.0-7-amd.



Thanks.


Taren


On 08/02/2018 10:30 AM, David Wright wrote:

On Wed 01 Aug 2018 at 23:37:33 (-0600), Taren wrote:

I'm running Stretch, with kernel 4.9.0.7, and am trying to compile a
new kernel (preferably 4.17.11) into which I can boot.
The kernel builds successfully, but whenever I try booting into the
new kernel, I end up in emergency mode, with the error

 Unit dev-disk-by\x2duuid-.device has failed.

 The result is timeout.

This device is anmd device, with two mirrors (each 2.7T in size).
The submirrors are present when I boot into 4.9.0.7 (installed when
the system was built).
However, they do not appear to be visible under any kernel which I
build and try to boot into.

I've tried setting LBDAF in the kernel configuration, but that
requires that a 32bit kernel be built (and x64 deselected), and I'm
running on an AMD 8350 chip, which is x86_64.
Kernel 4.9.0.7 does not have LBDAF set (and x64 is set), yet it's
able to see my 2.7T drives, and my raid device mounts with no
problem.

I think this is a red herring. 32bit kernels need LBDAF for large
disks because they have to be told to use 64bit addressing for
them. Obviously 64bit kernels don't need telling, so that option
is made unavailable.


Would someone point me in the correct direction for configuring a
new kernel, so that my 2T+ drives are visible?

In the absence of other replies, I can only suggest
(a) comparing /boot/config-4.9.0-7-amd64 with the one you've
 built to see whether something is missing,
(b) compare the output of lsinitramfs /boot/initrd.img-4.9.0-7-amd64
 with the one you've built to see likewise.
I'm assuming with (b) that the disks have to be found by using the
initramfs before the system can continue booting with the filesystem
contained on those disks.

Cheers,
David.






Re: Kernel compilation problem

2018-08-02 Thread David Wright
On Wed 01 Aug 2018 at 23:37:33 (-0600), Taren wrote:
> I'm running Stretch, with kernel 4.9.0.7, and am trying to compile a
> new kernel (preferably 4.17.11) into which I can boot.
> The kernel builds successfully, but whenever I try booting into the
> new kernel, I end up in emergency mode, with the error
> 
> Unit dev-disk-by\x2duuid-.device has failed.
> 
> The result is timeout.
> 
> This device is anmd device, with two mirrors (each 2.7T in size).
> The submirrors are present when I boot into 4.9.0.7 (installed when
> the system was built).
> However, they do not appear to be visible under any kernel which I
> build and try to boot into.
> 
> I've tried setting LBDAF in the kernel configuration, but that
> requires that a 32bit kernel be built (and x64 deselected), and I'm
> running on an AMD 8350 chip, which is x86_64.
> Kernel 4.9.0.7 does not have LBDAF set (and x64 is set), yet it's
> able to see my 2.7T drives, and my raid device mounts with no
> problem.

I think this is a red herring. 32bit kernels need LBDAF for large
disks because they have to be told to use 64bit addressing for
them. Obviously 64bit kernels don't need telling, so that option
is made unavailable.

> Would someone point me in the correct direction for configuring a
> new kernel, so that my 2T+ drives are visible?

In the absence of other replies, I can only suggest
(a) comparing /boot/config-4.9.0-7-amd64 with the one you've
built to see whether something is missing,
(b) compare the output of lsinitramfs /boot/initrd.img-4.9.0-7-amd64
with the one you've built to see likewise.
I'm assuming with (b) that the disks have to be found by using the
initramfs before the system can continue booting with the filesystem
contained on those disks.

Cheers,
David.



Re: Kernel compilation problem

2018-08-02 Thread Taren

Correction:


The kernel version I'm using (which sees my 2.7T drives) is 4.9.0-7-amd, 
not 4.9.0.7.


I can provide the .config file for 4.17.11, if needed.

On 08/01/2018 11:37 PM, Taren wrote:
I'm running Stretch, with kernel 4.9.0.7, and am trying to compile a 
new kernel (preferably 4.17.11) into which I can boot.



The kernel builds successfully, but whenever I try booting into the 
new kernel, I end up in emergency mode, with the error



Unit dev-disk-by\x2duuid-.device has failed.

The result is timeout.


This device is anmd device, with two mirrors (each 2.7T in size). The 
submirrors are present when I boot into 4.9.0.7 (installed when the 
system was built).


However, they do not appear to be visible under any kernel which I 
build and try to boot into.



I've tried setting LBDAF in the kernel configuration, but that 
requires that a 32bit kernel be built (and x64 deselected), and I'm 
running on an AMD 8350 chip, which is x86_64.



Kernel 4.9.0.7 does not have LBDAF set (and x64 is set), yet it's able 
to see my 2.7T drives, and my raid device mounts with no problem.



Would someone point me in the correct direction for configuring a new 
kernel, so that my 2T+ drives are visible?



Thanks


Taren





RE: kernel compilation (was ... Re: Building computer)

2013-09-29 Thread Beco
On 29 September 2013 02:41, Chris Bannister cbannis...@slingshot.co.nz wrote:

 On Thu, Sep 26, 2013 at 11:57:43PM -0300, Beco wrote:
  On 26 September 2013 22:22, Tom H tomh0...@gmail.com wrote:
 
 
   (I've compiled a kernel on a netbook; you'd better have a few hours to
   spare...)
  
  
  
  
  Questions for people who compile kernel and their machines:

 You are better off starting a new thread. You could create a subtopic by
 changing the subject.

 Now unfortunately, information about compiling a kernel is buried in
 a thread about building a computer. :(




From the thread Building computer, I've asked:

 On Thu, 2013-09-26 at 23:57 -0300, Beco wrote:
  How long a considered fast kernel compilation would last? I'd like
  to have a clue. And in what kind of computer (processor / RAM /
  anything else relevant)?

And I got some good answers that is better to join this thread:

Just to dig it:

Answer from Ralf:
https://lists.debian.org/debian-user/2013/09/msg01204.html

From Stan:
https://lists.debian.org/debian-user/2013/09/msg01212.html

From Johnatan:
https://lists.debian.org/debian-user/2013/09/msg01213.html

From Tom:
https://lists.debian.org/debian-user/2013/09/msg01214.html

From Stephen:
https://lists.debian.org/debian-user/2013/09/msg01245.html

From Stan:
https://lists.debian.org/debian-user/2013/09/msg01285.html


Also, the thread

Building a computer for compiling and CPU emulation (Re: Building computer)

https://lists.debian.org/debian-user/2013/09/msg01317.html

Started by Joel Rees now looks like a duplicate. Please, join here.

Thanks.
Beco.





--
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2zBs+KqpPAwf5T-FzgzjiZq8Vnrq8aMgBCohJUM1i=2...@mail.gmail.com



Re: Kernel Compilation

2006-02-05 Thread Digby Tarvin
Hello Roman,

Just been through the exercise of building my first Debian kernel
myself. If you have never built a Debian kernel before, the
'Debian way' of doing it seems quite different to that on most other
Linux's.

The method I used to reproduce my stock stable kernel-source-2.6.8
after a new install was as follows:

 apt-get install kernel-tree-2.6.8
 cd /usr/src
 tar jxf kernel-source-2.6.8.tar.bz2
 cd kernel-source-2.6.8
 cp /boot/config-2.6.8-2-386 .config
 make-kpkg clean
 make-kpkg --revision=libretto.1.0 --initrd  kernel_image
 dpkg -i ../kernel-image-2.6.8_libretto.1.0_i386.deb

It is presumably possible to do build a kernel the 'traditional'
way, but you may want to try doing it the 'Debian way' first
before trying anything more maverick.

Your error message suggests to me that your initrd is not loading
the correct driver modules. 

On Sun, Feb 05, 2006 at 11:49:54AM +, Roman Kouzmenko wrote:
 Hello,
 
 After being stuck for 3 days trying to recompile my kernel, I'm seeking 
 help. Guess the answer should be quite simple.
 
 I've managed after some work to install debian on my new Dell machine 
 (ICH7 controller + SATA): I debootstrapped the system from Knoppix and 
 then installed the latest kernel 2.6.15-1-686-smp from the backports 
 with initramfs-tools. I need to recompile it to add support for some 
 hardware (not relevant here).
 
 Unfortunately, it seems that I can't even recompile the 2.6.15-1-686 
 kernel with the same configuration my machine uses. The step I'm making:
 
 apt-get install linux-source-2.6.15
 
 unpack the sources, go to kernel sources directory
 copy /boot/config-2.6.15-1-686 to .config
 make bzImage
 make modules
 make modules_install
 
 I copy the bzImage and System.map to boot, generate an initrd.img file using
 initramfs -o /boot/initrd.img
 
 and then reboot the machine with the new initrd image and bzImage.
 The system reports it can't find my root device /dev/sda1 (which is SATA 
 on ICH7)
 
 But it works with the debian kernel presumably built with the same 
 config file!!!
 
 I've tried many things including compiling SATA support directly into 
 the kernel, using the latest build from kernel.org, but the problem 
 remains the same Sad(
 
 Can someone tell me what I am doing wrong? I haven't compiled a kernel 
 in a couple of years, maybe that's the reason...
 
 Thanks
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]

-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: Kernel Compilation

2006-02-05 Thread Andreas Janssen
Hello

Roman Kouzmenko ([EMAIL PROTECTED]) wrote:

 I've managed after some work to install debian on my new Dell machine
 (ICH7 controller + SATA): I debootstrapped the system from Knoppix and
 then installed the latest kernel 2.6.15-1-686-smp from the backports
 with initramfs-tools. I need to recompile it to add support for some
 hardware (not relevant here).
 
 Unfortunately, it seems that I can't even recompile the 2.6.15-1-686
 kernel with the same configuration my machine uses. The step I'm
 making:
 
 apt-get install linux-source-2.6.15
 
 unpack the sources, go to kernel sources directory
 copy /boot/config-2.6.15-1-686 to .config

= This is when you should have run make oldconfig to apply the new
configuration from your Debian Kernel.

 make bzImage

= And this is where I suggest you use kernel-package/make-kpkg instead,
e.g. `fakeroot make-kpkg --revision 1.0 kernel_image`. This will create
a Debian package with the kernel and modules in /usr/src. Use dpkg -i
to install it.

 make modules
 make modules_install

 I copy the bzImage and System.map to boot, generate an initrd.img file
 using initramfs -o /boot/initrd.img
 
 and then reboot the machine with the new initrd image and bzImage.
 The system reports it can't find my root device /dev/sda1 (which is
 SATA on ICH7)

Did you reconfigure your bootloader accordingly? Did you tell it where
the initrd is? Btw, if you use kernel-package, this will be done
automatically.

best regards
Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


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



Re: Kernel compilation

2006-01-27 Thread Andi Drebes
Hi!

 For some reason I seem to be getting the following message when type make
 menuconfig
 scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu'
 follows non-static declaration scripts/kconfig/lkc.h:63: error: previous
 declaration of 'current_menu' was here make[1]: ***
 [scripts/kconfig/mconf.o] Error 1 make: *** [menuconfig] Error 2
 ukgate:/usr/src/linux#
Which Kernel-Version do you want to compile? Is it a kernel that you've
directly downloaded from kernel.org? Which version of gcc do you use?

Regards,
Andi


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



Re: Kernel compilation

2006-01-27 Thread Brent Clark

Andi Drebes wrote:

Hi!



For some reason I seem to be getting the following message when type make
menuconfig
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu'
follows non-static declaration scripts/kconfig/lkc.h:63: error: previous
declaration of 'current_menu' was here make[1]: ***
[scripts/kconfig/mconf.o] Error 1 make: *** [menuconfig] Error 2
ukgate:/usr/src/linux#


Which Kernel-Version do you want to compile? Is it a kernel that you've
directly downloaded from kernel.org? Which version of gcc do you use?

Regards,
Andi



Hi Andi

Thanks for replying, no its from the debian repositry.


ukgate:/usr/src/linux# dpkg -l | grep -i gcc
ii  gcc  4.0.2-2The GNU C compiler
ii  gcc-2.95 2.95.4-22  The GNU C compiler
ii  gcc-3.3  3.3.6-10   The GNU C compiler
ii  gcc-3.3-base 3.3.6-10   The GNU Compiler 
Collection (base package)
ii  gcc-4.0  4.0.2-5The GNU C compiler
ii  gcc-4.0-base 4.0.2-5The GNU Compiler 
Collection (base package)
ii  lib64gcc14.0.2-5GCC support library 
(64bit)
ii  libgcc1  4.0.2-5GCC support library
ukgate:/usr/src/linux#

TIA

Brent Clark


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




Re: Kernel compilation

2006-01-27 Thread Andi Drebes
Hi Brent!

 Thanks for replying, no its from the debian repositry.
ok. But which version did you obtain?

 ukgate:/usr/src/linux# dpkg -l | grep -i gcc
 ii  gcc  4.0.2-2The GNU C compiler
 ii  gcc-2.95 2.95.4-22  The GNU C compiler
 ii  gcc-3.3  3.3.6-10   The GNU C compiler
 ii  gcc-3.3-base 3.3.6-10   The GNU Compiler
 Collection (base package)
 ii  gcc-4.0  4.0.2-5The GNU C compiler
 ii  gcc-4.0-base 4.0.2-5The GNU Compiler
 Collection (base package)
 ii  lib64gcc14.0.2-5GCC support
 library (64bit)
 ii  libgcc1  4.0.2-5GCC support
 library ukgate:/usr/src/linux#
Nice list. but which version are you actually using? just type:

gcc --version

to find out which version of gcc is actually used.

Andi


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



Re: Kernel compilation

2006-01-27 Thread AbhiSawa
If its from debian repository

try to compile it with make-kpkg

first say
# apt-get install kernel-package  fakeroot  libncurses5-dev

may be this will solve your dependacy problem

get into kernel source directory

# make-kpkg clean
# fakeroot make-kpkg   --config menuconfig --revision=custom.1.0
kernel_image

for more details google with debian kernel compilation

Regards,
Abhisawa


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



Re: kernel compilation buggy?

2005-05-24 Thread Alberto Bert
On May 23, 2005 at 10:03:13PM -0700, Marc Wilson wrote:
 On Mon, May 23, 2005 at 07:06:31PM +0200, Alberto Bert wrote:
  I just tryed to compile the 2.6.22 kernel with make-kpkg and the default
  config file.
 
 Is there any indication whatsoever that the default configuration file is
 appropriate for your hardware?

The debian kernel 2.6.11-686 works, so I supposed the .config file
should be ok...  Am I wrong?

It's not the first time I compile the kernel in the debian way. I always
used a custom kernel...

Alberto


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



Re: kernel compilation buggy?

2005-05-24 Thread Anthony Campbell
On 23 May 2005, Ionut Georgescu wrote:
 Hello Alberto,
 
 I run 2.6.11-ck8 and 2.6.11.2 with no issues. Both compiled with
 make-kpkg.
 
 Could it be a wrong .config file ?
 
 Regards,
 Ionut
 

Is this the vanilla kernel source or the Debian kernel-source package?

Anthony

-- 
[EMAIL PROTECTED]||  http://www.acampbell.org.uk for
using Linux GNU/Debian ||  blog, book reviews, electronic  
Windows-free zone  ||  books and skeptical articles


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



Re: kernel compilation buggy?

2005-05-24 Thread Alberto Bert
On May 24, 2005 at 09:02:59AM +0100, Anthony Campbell wrote:
 On 23 May 2005, Ionut Georgescu wrote:
  Hello Alberto,
  
  I run 2.6.11-ck8 and 2.6.11.2 with no issues. Both compiled with
  make-kpkg.
  
  Could it be a wrong .config file ?
  
  Regards,
  Ionut
  
 
 Is this the vanilla kernel source or the Debian kernel-source package?

It's the kernel-source. Today I see there's an update to the
initrd-tools, I'm now recompiling after the installation.
I'll let you know.

Alb


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



Re: kernel compilation buggy?

2005-05-24 Thread Ionut Georgescu
I usually run vanilla sources. For the 2.6.11.-ck8 I wanted to give the
much praised -ck patch a try, but for now I haven't seen any difference
yet :-)

Ionut

On Tue, May 24, 2005 at 09:02:59AM +0100, Anthony Campbell wrote:
 On 23 May 2005, Ionut Georgescu wrote:
  Hello Alberto,
  
  I run 2.6.11-ck8 and 2.6.11.2 with no issues. Both compiled with
  make-kpkg.
  
  Could it be a wrong .config file ?
  
  Regards,
  Ionut
  
 
 Is this the vanilla kernel source or the Debian kernel-source package?
 
 Anthony
 
 -- 
 [EMAIL PROTECTED]||  http://www.acampbell.org.uk for
 using Linux GNU/Debian ||  blog, book reviews, electronic  
 Windows-free zone  ||  books and skeptical articles
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 
-- 
***
* Ionu Georgescu
* Max-Planck-Institut fr Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: kernel compilation buggy?

2005-05-24 Thread Alberto Bert
Got it!

I update the system and it upgraded initrd-tools, plus I updated the
kernel-2.6.11 also. Then I copyed the new default config from /boot and
I'm now running it.

So, I suppose initrd-tools was buggy...


thanks anyway,
bye
Alberto


On May 24, 2005 at 10:01:16AM +0200, Alberto Bert wrote:
 On May 23, 2005 at 10:03:13PM -0700, Marc Wilson wrote:
  On Mon, May 23, 2005 at 07:06:31PM +0200, Alberto Bert wrote:
   I just tryed to compile the 2.6.22 kernel with make-kpkg and the default
   config file.
  
  Is there any indication whatsoever that the default configuration file is
  appropriate for your hardware?
 
 The debian kernel 2.6.11-686 works, so I supposed the .config file
 should be ok...  Am I wrong?
 
 It's not the first time I compile the kernel in the debian way. I always
 used a custom kernel...
 
 Alberto
 
 
 -- 
 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]



Re: kernel compilation buggy?

2005-05-23 Thread Alberto Bert
Sorry, I forgot to say that I'm running sid

Alberto

On May 23, 2005 at 07:06:31PM +0200, Alberto Bert wrote:
 Hi,
 
 I just tryed to compile the 2.6.22 kernel with make-kpkg and the default
 config file.
 
 I doesn't boot giving endless loop with and error apparently related
 to proc and init. I cannot be more precise cause I don't know where to find 
 back
 what it was on the console...
 
 Is that a known problem of this moment?
 
 Do you think 2.6.10 should be more stable?
 
 thanks
 Alberto
 
 
 -- 
 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]



Re: kernel compilation buggy?

2005-05-23 Thread Ionut Georgescu
Hello Alberto,

I run 2.6.11-ck8 and 2.6.11.2 with no issues. Both compiled with
make-kpkg.

Could it be a wrong .config file ?

Regards,
Ionut

On Mon, May 23, 2005 at 07:11:00PM +0200, Alberto Bert wrote:
 Sorry, I forgot to say that I'm running sid
 
 Alberto
 
 On May 23, 2005 at 07:06:31PM +0200, Alberto Bert wrote:
  Hi,
  
  I just tryed to compile the 2.6.22 kernel with make-kpkg and the default
  config file.
  
  I doesn't boot giving endless loop with and error apparently related
  to proc and init. I cannot be more precise cause I don't know where to find 
  back
  what it was on the console...
  
  Is that a known problem of this moment?
  
  Do you think 2.6.10 should be more stable?
  
  thanks
  Alberto
  
  
  -- 
  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]
 
 
 
-- 
***
* Ionu Georgescu
* Max-Planck-Institut fr Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: kernel compilation buggy?

2005-05-23 Thread Marc Wilson
On Mon, May 23, 2005 at 07:06:31PM +0200, Alberto Bert wrote:
 I just tryed to compile the 2.6.22 kernel with make-kpkg and the default
 config file.

Is there any indication whatsoever that the default configuration file is
appropriate for your hardware?

If you don't know what you're doing, stick to packaged kernels.

-- 
 Marc Wilson | Psychology.  Mind over matter.  Mind under matter?
 [EMAIL PROTECTED] | It doesn't matter.  Never mind.


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



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
Yes I have, with the latest provided by debian : 2.6.9
The problem seems to be unrelated to the version of the kernel because even 
module compilation fails, as I stated before.

Thanks for helping

Hi
Have you tried to compile another 2.6.x kernel with your 2.6.5/.config
? Moreover you will have an up to date kernel.
 Good luck,
 Rem
_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

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



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
I do have all the necessary packages. The thing is that I configured my 
kernel a couple of months ago (when 2.6.5 was the latest stable kernel 
version). It worked fine. Yesterday I found shfs module, and while trying to 
compile it I got this error message.

It isn't a normal compilation error, all the more, the message says 
SEGMENTATION FAULT, which means that something goes wrong, really wrong. I'm 
wondering if it's my gcc that's having problems. Might have to reinstall it, 
if that's possible.

What can I do to force the compilation with another version of GCC, I seem 
to have 3 of 4 versions installed (2.9something, 3.3 and 3.4 I think) ?


and of course you have all the packages needed to compile a kernel ?
gcc
kernel-package
libncurses5-dev
module-init-tools ( pour 2.6 uniquement )
binutils
modutils
And yes, I saw that the compilation processus failed really early,
it's strange, it doesn't look like a wrong configuration with make
menuconfig, it's like a bug.

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
I removed some of my gcc's, keeping the gcc-x.x-base files though, they 
seemed necessary. I tried again, same error. The funny thing, even 'make 
clean' fails :

...
/bin/sh: line 1: 15413 Segmentation fault  gcc -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-pipe -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -S -o 
/dev/null -xc /dev/null /dev/null 21
/bin/sh: line 1: 15420 Segmentation fault  gcc -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-pipe -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -S -o 
/dev/null -xc /dev/null /dev/null 21
...

That's really weird, and starts to worry me a little bit... Something's 
wrong and I really can't find what it might be... (since apparently it isn't 
a general gcc bug, I wouldn't be the only one having it...)

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
And it seems all my gcc-3.x packages don't work... gcc-2.95 is fine, but too 
old...

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

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



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
I've managed to reinstall gcc-3.3 (with aptitude), after having cleared my 
apt cache (apt-get clean) so as to be sure that a correct version would be 
downloaded...
Same problem, segmentation fault when I do 'gcc -v'

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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



Re: Kernel compilation error

2005-01-09 Thread Wayne Topa
Alex Papadopoulos([EMAIL PROTECTED]) is reported to have said:
 I've managed to reinstall gcc-3.3 (with aptitude), after having cleared my 
 apt cache (apt-get clean) so as to be sure that a correct version would 
 be downloaded...
 Same problem, segmentation fault when I do 'gcc -v'
 
I have installed
gcc-3.3 3.3.5-5
gcc-3.3-base   3.3.5-5
gcc  3.3.5-1
gcc-3.4-base   3.4.3-6 

~# gcc -v
eading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm 
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-5)

HTH
-- 
Don't hit the keys so hard, it hurts.
___


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



Re: Kernel Compilation

2004-12-20 Thread Kevin Coyner


On Mon, Dec 20, 2004 at 07:39:01AM -0800, Sergio Basurto Juarez wrote..

 Hello,
 
 Anyone can tell me howto install kernel sources under
 Debian Testing, I already try:
 
 apt-cache search kernel sources
 
 and things like that, I also install a kerne-image and
 it  just install a kernel but already compiled.
 
 I will appreciate any advice.


A good place to start:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html.en

or

http://www.debian.org/doc/manuals/reference/ch-kernel.en.html

Kevin

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941  http://rustybear.com/pubkey.php


signature.asc
Description: Digital signature


Re: Kernel Compilation

2004-12-20 Thread Antonio Rodriguez
On Mon, Dec 20, 2004 at 07:39:01AM -0800, Sergio Basurto Juarez wrote:
 Hello,
 
 Anyone can tell me howto install kernel sources under
 Debian Testing, I already try:
 
 apt-cache search kernel sources
 
 and things like that, I also install a kerne-image and
 it  just install a kernel but already compiled.
 
 I will appreciate any advice.
 

Once you have done
apt-get install kernel-source-whateverversionhere

You must position yourself at /usr/src
Also, apt-get install kernel-package

Then read the docs for it. In my system:

[EMAIL PROTECTED]:~$ info kernel-package
[EMAIL PROTECTED]:~$ ls /usr/share/doc/kernel-package
changelog.gz  HOWTO-Linux-2.6-Woody.gz  README.doc  README.modules
copyright Multi-Arch.gz README.gz   README.source
examples  Problems.gz   README.headers  README.tecra
Flavours.gz   Rationale.gz  README.image


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



Re: Kernel Compilation

2004-12-20 Thread James Vahn
In article [EMAIL PROTECTED] you wrote:
 Anyone can tell me howto install kernel sources under
 Debian Testing, I already try:
 
 apt-cache search kernel sources

Try:  apt-cache search ^kernel-source

I prefer the sources from kernel.org for reasons I have forgotten. If I
recall, make-kpkg required more effort. So anyway, download 2.6.9, untar
under /usr/src, make a symlink linux to it and:

cd /usr/src/linux
make menuconfig
make deb-pkg
dpkg --purge linux-2.6.9
dpkg -i ../linux-2.6.9*.deb
lilo (first time? edit /etc/lilo.conf first)
reboot

I've read warnings about /usr/src/linux but they don't seem to apply to 
Debian, whom may use a smarter approach. I am blissfully unaware. :-)



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



Re: Kernel Compilation

2004-12-20 Thread Sergio Basurto Juarez

--- James Vahn [EMAIL PROTECTED] wrote:

 In article [EMAIL PROTECTED] you
 wrote:
  Anyone can tell me howto install kernel sources
 under
  Debian Testing, I already try:
  
  apt-cache search kernel sources
 
 Try:  apt-cache search ^kernel-source
 
 I prefer the sources from kernel.org for reasons I
 have forgotten. If I
 recall, make-kpkg required more effort. So anyway,
 download 2.6.9, untar
 under /usr/src, make a symlink linux to it and:
 
 cd /usr/src/linux
 make menuconfig
 make deb-pkg
 dpkg --purge linux-2.6.9
 dpkg -i ../linux-2.6.9*.deb
 lilo (first time? edit
 /etc/lilo.conf first)
 reboot
 
 I've read warnings about /usr/src/linux but they
 don't seem to apply to 
 Debian, whom may use a smarter approach. I am
 blissfully unaware. :-)
 
 
First of all I want ot thank allof you who reply, I am
on my way right now, I prefer the old method too, but
I will try the make-kpkg too just for fun and learn.


Thanks again.
Good Bless You All, Merry Christmas and a very Happy
New Year.
Regards.

=
--
Sergio Basurto J.

If I have seen further it is by standing on the 
shoulders of giants. (Isaac Newton)
--

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: kernel compilation on sid

2004-09-15 Thread Frédéric Dreier
Eric Gaumer wrote:
On Mon, 2004-09-13 at 23:36, Frédéric Dreier wrote:
 

Hi,
I re-installed my laptop (dell inspiron 8100) with the new installer 
(kernel 2.6).

Then I apt-get the newer kernel source and compile it (make-kpkg 
--initrd kernel_image; dpkg -i kernel-image...). but it hangs randomly 
during the boot (sometimes at ide detection or when setting system 
clock,..).

   

Try booting with acpi=off. We have a bunch of Dell servers that hang at
boot because of hwclock (hangs right after loading rtc driver). 

We had to hack the hwclock rc script and pass --directisa to hwclock. 

You could simply not use ACPI but we needed it to enable hyperthreading.
I don't really know about the IDE detection stuff. Everything here is
SCSI.
 

I tried again with 'acpi=off' without success.
Then I made a 'make-kpkg clean; make-kpkg --initrd kernel_image' and now 
it boots and run stable.

I think I failed to understand something.. ;-)
Regards,
Frédéric





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



Re: kernel compilation on sid

2004-09-14 Thread Paolo Alexis Falcone
On Tue, 14 Sep 2004 08:36:39 +0200, Frédéric Dreier [EMAIL PROTECTED] wrote:
 Hi,
 
 I re-installed my laptop (dell inspiron 8100) with the new installer
 (kernel 2.6).
 
 Then I apt-get the newer kernel source and compile it (make-kpkg
 --initrd kernel_image; dpkg -i kernel-image...). but it hangs randomly
 during the boot (sometimes at ide detection or when setting system
 clock,..).


Looks like bad hardware already. Have it checked soon.


-- 
Paolo Alexis Falcone
[EMAIL PROTECTED]



Re: kernel compilation on sid

2004-09-14 Thread Frédéric Dreier
Paolo Alexis Falcone wrote:
On Tue, 14 Sep 2004 08:36:39 +0200, Frédéric Dreier [EMAIL PROTECTED] wrote:
 

Hi,
I re-installed my laptop (dell inspiron 8100) with the new installer
(kernel 2.6).
Then I apt-get the newer kernel source and compile it (make-kpkg
--initrd kernel_image; dpkg -i kernel-image...). but it hangs randomly
during the boot (sometimes at ide detection or when setting system
clock,..).
   


Looks like bad hardware already. Have it checked soon.
 

actually, the compiled kernel  shipped with the installer run stable. so 
it should not be an hardware issue.

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



Re: kernel compilation on sid

2004-09-14 Thread Justin Guerin
On Tuesday 14 September 2004 00:36, Frédéric Dreier wrote:
 Hi,

 I re-installed my laptop (dell inspiron 8100) with the new installer
 (kernel 2.6).

 Then I apt-get the newer kernel source and compile it (make-kpkg
 --initrd kernel_image; dpkg -i kernel-image...). but it hangs randomly
 during the boot (sometimes at ide detection or when setting system
 clock,..).

 I removed unnecessary (IMHO) kernel drivers but at this time I do not
 solved  my problem this way.

 I also tried to compile without 'initrd' but then kernel could not mount
 root anymore ( could not mount unknown-block(0,1)), even with builtin
 reiserfs drivers, ide drivers,..

 Thanks,

 Frédéric

Have you tried taking the config from the installed kernel and using it for 
your custom compiled kernel?  It's always possible you enabled something 
that is causing a resource conflict.  If you already started from the 
installed kernel config (or if you just want to take this route instead), 
compile everything as a module, and start with the most bare ram disk you 
can.  Add only what you know you need, until it boots.

If you can't boot without an initrd, then your kernel is missing something.  
Look in the initrd config directory, and make sure that all modules listed 
there are built in to your kernel.  If you think that's the case and it 
still isn't working, tell us what your / and /boot drives look like, what 
modules you've built into the kernel, and where you get the error message.

Justin Guerin



Re: kernel compilation on sid

2004-09-14 Thread Eric Gaumer
On Mon, 2004-09-13 at 23:36, Frédéric Dreier wrote:
 Hi,
 
 I re-installed my laptop (dell inspiron 8100) with the new installer 
 (kernel 2.6).
 
 Then I apt-get the newer kernel source and compile it (make-kpkg 
 --initrd kernel_image; dpkg -i kernel-image...). but it hangs randomly 
 during the boot (sometimes at ide detection or when setting system 
 clock,..).
 

Try booting with acpi=off. We have a bunch of Dell servers that hang at
boot because of hwclock (hangs right after loading rtc driver). 

We had to hack the hwclock rc script and pass --directisa to hwclock. 

You could simply not use ACPI but we needed it to enable hyperthreading.

I don't really know about the IDE detection stuff. Everything here is
SCSI.



signature.asc
Description: This is a digitally signed message part


Re: kernel compilation

2004-09-02 Thread Jean-Luc Coulon (f5ibh)

Le 02.09.2004 22:20:43, Pierre Ancelot a écrit :

Bonjour bonjour,
question, (oui j'ai bien cherché dans google mais tout le monde a une
maniere
differente de faire ca)
j'ai apt-getted kernel-source et kernel-headers
seleument, kernel-headers apparait dans un autre dossier que la source
elle
meme, pourquoi ? Est-ce comme un patch a appliquer avec un script a
executer ? (si oui..)
Merci beaucoup


Si vous chargez les sources, vous récupérez les headers dans  
l'arborescence des sources.


Le paquet des headers est fait pour ceux qui on besoin de compiler des  
applications qui ont besoin des headers du noyau et qui ne veulent pas  
s'encombreer des sources complètes.


Jean-Luc








pgpnWF1W8wOd2.pgp
Description: PGP signature


Re: kernel compilation

2004-09-02 Thread Pierre Ancelot


Merci Jean-Luc :)



On Thursday 02 September 2004 22:25, Jean-Luc Coulon (f5ibh) wrote:
 Le 02.09.2004 22:20:43, Pierre Ancelot a écrit :
 Bonjour bonjour,
 question, (oui j'ai bien cherché dans google mais tout le monde a une
 maniere
 differente de faire ca)
 j'ai apt-getted kernel-source et kernel-headers
 seleument, kernel-headers apparait dans un autre dossier que la source
 elle
 meme, pourquoi ? Est-ce comme un patch a appliquer avec un script a
 executer ? (si oui..)
 Merci beaucoup

 Si vous chargez les sources, vous récupérez les headers dans
 l'arborescence des sources.

 Le paquet des headers est fait pour ceux qui on besoin de compiler des
 applications qui ont besoin des headers du noyau et qui ne veulent pas
 s'encombreer des sources complètes.

 Jean-Luc



Re: Kernel compilation question

2004-08-24 Thread Thomas Adam
On Tue, Aug 24, 2004 at 09:21:59AM +0200, Magnus Therning wrote:
 Howcome? (Is it related to '.config support' being compiled into the
 standard Debian kernels?)
 How do prevent it from happening? (I unmounted /boot, but that that's
 less than elegant.)

You copy whatever config you want to /path/to/kernel/src/.config, and 'make
oldconfig'.

-- Thomas Adam

--
Frankly, Mr. Shankly, since you ask. You are a flatulent pain in 
the arse. -- Morrissey.


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



Re: Kernel compilation question

2004-08-24 Thread Magnus Therning
On Tue, Aug 24, 2004 at 12:23:57PM +0100, Thomas Adam wrote:
On Tue, Aug 24, 2004 at 09:21:59AM +0200, Magnus Therning wrote:
 Howcome? (Is it related to '.config support' being compiled into the
 standard Debian kernels?)
 How do prevent it from happening? (I unmounted /boot, but that that's
 less than elegant.)

You copy whatever config you want to /path/to/kernel/src/.config, and
'make oldconfig'.

Well, that wasn't really what I was looking for. I don't have a
'.config' I want to use, I want the defaults! This is what I do:

 $ cd /usr/src
 $ tar -x -j -f linux-source.tar.bz2
 $ cd linux-2.6.7
 $ make menuconfig

And it pulls in /boot/config-2.6.8-1-k7 as my oldconfig.

Why is this happening?
How do I prevent it from happening?

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]
http://magnus.therning.org/

Storing is like eating. You can eat cheaper, but you can't not eat.
 -- Colin Ferenbach


signature.asc
Description: Digital signature


Re: Kernel compilation question

2004-08-24 Thread CW Harris
On Tue, Aug 24, 2004 at 05:45:02PM +0200, Magnus Therning wrote:
 On Tue, Aug 24, 2004 at 12:23:57PM +0100, Thomas Adam wrote:
 On Tue, Aug 24, 2004 at 09:21:59AM +0200, Magnus Therning wrote:
  Howcome? (Is it related to '.config support' being compiled into the
  standard Debian kernels?)
  How do prevent it from happening? (I unmounted /boot, but that that's
  less than elegant.)
 
 You copy whatever config you want to /path/to/kernel/src/.config, and
 'make oldconfig'.
 
 Well, that wasn't really what I was looking for. I don't have a
 '.config' I want to use, I want the defaults! This is what I do:

make defconfig

this will generate a .config file with all default answers

make help for other options

HTH


-- 
Chris Harris [EMAIL PROTECTED]
---
GNU/Linux --- The best things in life are free.


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



Re: Kernel compilation woes

2004-02-07 Thread Paul Morgan
On Sat, 07 Feb 2004 12:09:10 -0600, Joel Konkle-Parker wrote:

 I'm trying to compile my own 2.4.24 kernel using the sources from
 kernel.org and the .config from Sarge, and I'm getting some errors:
 
 # make-kpkg kernel_image
 
 compiling...
 
 if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
 /usr/src/linux-2.4.
 24/debian/tmp-image -r 2.4.24; fi
 depmod: *** Unresolved symbols in
 /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
 ules/2.4.24/kernel/drivers/ide/ide-core.o depmod: init_cmd640_vlb
 depmod: *** Unresolved symbols in
 /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
 ules/2.4.24/kernel/drivers/net/wan/comx.o depmod: proc_get_inode
 make[2]: *** [_modinst_post] Error 1
 make[2]: Leaving directory `/usr/src/linux-2.4.24' make[1]: ***
 [real_stamp_image] Error 2 make[1]: Leaving directory
 `/usr/src/linux-2.4.24' #
 
 Anyone have any idea what could cause something like this?

One suggestion:  either use the Debian 2.4.24 kernel source, or ditch the
config and make a new one.  Debian kernel sources contain patches which
may affect the config.

Whether this specifically is your problem or not I don't know.  I've
never had problems compiling 2.4.* kernels from Debian source and configs,
including 2.4.24.

-- 
paul

It is important to realize that any lock can be picked with a big
enough hammer.
   -- Sun System  Network Admin manual



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



Re: Kernel compilation woes

2004-02-07 Thread Andy Firman
On Sat, Feb 07, 2004 at 12:09:10PM -0600, Joel Konkle-Parker wrote:
 I'm trying to compile my own 2.4.24 kernel using the sources from 
 kernel.org and the .config from Sarge, and I'm getting some errors:
 
 # make-kpkg kernel_image
 
 compiling...
 
 if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b 
 /usr/src/linux-2.4.
 24/debian/tmp-image -r 2.4.24; fi
 depmod: *** Unresolved symbols in 
 /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
 ules/2.4.24/kernel/drivers/ide/ide-core.o
 depmod:   init_cmd640_vlb
 depmod: *** Unresolved symbols in 
 /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
 ules/2.4.24/kernel/drivers/net/wan/comx.o
 depmod:   proc_get_inode
 make[2]: *** [_modinst_post] Error 1
 make[2]: Leaving directory `/usr/src/linux-2.4.24'
 make[1]: *** [real_stamp_image] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.4.24'
 #
 
 Anyone have any idea what could cause something like this?

Just went through something similar as I was building kernels
today.  You are missing some sort of dependency in the config.

For example, I pulled out a bunch of stuff like pcmcia, irda,
wireless, scsi, isdn, etc... from a kernel config today and got the
same kind of error.  I tracked it down to sound and once I put
oss and aci(something) back into the config, it worked fine.

So go to http://groups.google.com/ and type in:

/drivers/ide/ide-core.oor /drivers/net/wan/comx.o

and you will get some ideas of what you need.


-Andy


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



Re: kernel compilation for ethernet connection

2004-01-26 Thread Adam Aube
On Monday 26 January 2004 07:01 pm, j smith wrote:
 i have Debian 3.0, with default kernel, my ethernet
 connection works, but with my customized kernel, the
 connection fails.

I'm going to guess (since you didn't indicate one way or another) that 
you're using DHCP.

A mistake I have made with custom kernels is not including both 
CONFIG_PACKET and CONFIG_FILTER in my custom kernel, and I see you're 
missing CONFIG_FILTER. This will make the DHCP client (dhclient) fail.

Check /var/log/daemon.log - you will see descriptive errors from dhclient 
if this is the case.

Adam


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



RE: kernel compilation question

2003-07-28 Thread Preston Boyington
Title: RE: kernel compilation question





 Now that I'm fully moved over to Debian :-), I'm looking at start
 tinkering with kernel compilation.
 
 I would assume I'd need the kernel-source package of my 
 choice? But it
 are there any other package(s) I'd need to download to get started?
 


also take a look at:


http://www.debianuniverse.com/


there is a step-by-step on building a kernel. i haven't had time to check it, but it should help.


Preston





Re: kernel compilation question

2003-07-28 Thread Rodney D. Myers
Thanks to all that answered. More than enough info to get me started,
and completed.
-- 
Rodney D. Myers [EMAIL PROTECTED] Registered Linux User #96112
ICQ#: AIM#:   YAHOO:
18002350  mailman452  mailman42_5

They that can give up essential liberty to obtain a 
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759


pgp0.pgp
Description: PGP signature


Re: kernel compilation question

2003-07-27 Thread Marino Fernandez
On Sunday 27 July 2003 9:47 pm, Rodney D. Myers wrote:
 Now that I'm fully moved over to Debian :-), I'm looking at start
 tinkering with kernel compilation.

 I would assume I'd need the kernel-source package of my choice? But it
 are there any other package(s) I'd need to download to get started?

 Thanks
I am not trying to say RTFM but read Debian Reference 
(http://www.debian.org/doc/). There is a chapter about compiling the 
kernel... Really, you need to read this.

Once said that, I do not use Debians packages to compile the kernel... they do 
everything for you... I feel that if you are going to compile your own kernel 
you should be aware of every step, but that's just me... and it is really 
easy either way (Debians way or the manual way).

So the only package I need is the kernel per se, and gcc (2.95 or 3.2, I 
always have problems with 3.3, and I seem to remember that this is a known 
issue).

Also, not relying on Debian packagest allows you to use really up to date 
versions of the kernel. For example I am running with a 2.6.0-test2 kernel, 
released just a few hours!!

In Debian Reference there is an explanation for compiling the kernel the 
debian way and for compiling it manually... and to be honest, I think both 
ways are very easy... the hard part is not the compilation per se, or 
making the proper changes so your system boots OK (ALWAYS REMEMBER TO UPDATE 
LILO OR GRUB), but to configure the kernel (make menuconfig or however you do 
it) properly... but this, like everything, is a trial an error thing... and 
very instructive about the innards of the kernel.


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



Re: kernel compilation question

2003-07-27 Thread Nick Hastings
Hi,


* Rodney D. Myers [EMAIL PROTECTED] [030728 11:48]:
 Now that I'm fully moved over to Debian :-), I'm looking at start
 tinkering with kernel compilation.
 
 I would assume I'd need the kernel-source package of my choice? 

Need is not strictly true since you could just get the source from
kernel.org. However I would recommend using the Debian kernel-source
packages which have a had a few security patched applied.

 But it are there any other package(s) I'd need to download to get
 started?

Anything that is needed will be in the Depends field for the
kernel-source package, so it will be installed automatically if you
apt-get install your kernel source. 

Look at the Suggests and Recommends of the kernel-source.
eg apt-cache show kernel-source-2.4.21.

You will need gcc, make and libc-dev to compile the kernel.
Additionally you may want libncurses-dev to use menuconfig and I
highly recommend using make-kpkg from the kernel-package package when
doing the compilation. Have a look in /usr/share/doc/kernel-package,
and I believe there is a good Debian kernel howto at newbiedoc on the
web (sorry not exactly sure where).

Good luck,

Nick.



-- 
Debian testing/unstable
Linux twofish 2.6.0-test1-looxt93c6 #1 Thu Jul 17 16:49:12 JST 2003


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



Re: kernel compilation question

2003-07-27 Thread Greg Folkert
On Sun, 2003-07-27 at 22:47, Rodney D. Myers wrote:
 Now that I'm fully moved over to Debian :-), I'm looking at start
 tinkering with kernel compilation.
 
 I would assume I'd need the kernel-source package of my choice? But it
 are there any other package(s) I'd need to download to get started

Take a look at these Very Very good References for doing it the Debian
Way

http://subwiki.honeypot.net/cgi-bin/view/Main/DebianKernelBuilding

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

If those two don't answer your questions complete... I am sure someone
here would be MORE than happy to tell you where to go... :) err What to
do... err :) Well anyway Answer your questions.
-- 
greg, [EMAIL PROTECTED]
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry


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



Re: kernel compilation question

2003-07-27 Thread Andrew McGuinness
Marino Fernandez wrote:
On Sunday 27 July 2003 9:47 pm, Rodney D. Myers wrote:

Now that I'm fully moved over to Debian :-), I'm looking at start
tinkering with kernel compilation.
I would assume I'd need the kernel-source package of my choice? But it
are there any other package(s) I'd need to download to get started?
Thanks

[...]
In Debian Reference there is an explanation for compiling the kernel the 
debian way and for compiling it manually... and to be honest, I think both 
ways are very easy... the hard part is not the compilation per se, or 
making the proper changes so your system boots OK (ALWAYS REMEMBER TO UPDATE 
LILO OR GRUB), but to configure the kernel (make menuconfig or however you do 
it) properly... but this, like everything, is a trial an error thing... and 
very instructive about the innards of the kernel.


The nice thing about GRUB is you don't need to update it for a new 
kernel, you can set it to boot /vmlinuz, and you only need to change the 
symlink /vmlinuz to point to the new kernel.  GRUB reads the filesystem, 
so it can follow the symlink

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



RE: Kernel compilation and modules and stuff

2003-04-05 Thread Ben Whyte
Jeff, 

If you simply download and install kernel headers 2.4.18-bf2.4 and recompile
following the instructions in /usr/share/doc/nvidia-kernel and glx, you
should find it works.

Ben


-Original Message-
From: Jeff Tickle [mailto:[EMAIL PROTECTED] 
Sent: 05 April 2003 18:39
To: Debian-User
Subject: Kernel compilation and modules and stuff

sorry, I'm doing this with telnet to port 25.. I meant kernel-source-2.4.18.
Anyways, if I download my kernel source, and compile the nvidia drivers with
that, it doesn't work with my current kernel, because that has an
append-to-version on it.  So, if I compile the kernel source and make my own
kernel, I lose all the modules that came with -bf2.4, which is very bad.


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



Re: Kernel compilation and modules and stuff

2003-04-05 Thread Kevin McKinley
On Sat, 05 Apr 2003 11:39:29 -0600
Jeff Tickle [EMAIL PROTECTED] wrote:

 Hello...
 
 I have just finally gotten around to trying Debian out.  Installation has
 been fun...  it's not until one tries out Debian that they understand how
 bad user-friendliness elsewhere has been.  But it's all finally installed,
 and I am trying to get it to work with my video card.
 
 I have an NVidia GeForce 4 Ti4400.  Here's my problem.  If I download ker
 
 sorry, I'm doing this with telnet to port 25.. I meant
 kernel-source-2.4.18.  Anyways, if I download my kernel source, and
 compile the nvidia drivers with that, it doesn't work with my current
 kernel, because that has an append-to-version on it.  So, if I compile the
 kernel source and make my own kernel, I lose all the modules that came
 with -bf2.4, which is very bad.

1. copy /boot/config-2.4.18-bf2.4 to /usr/src/linux/.config.
2. do make oldconfig dep.
3. Edit /usr/src/Makefile. Change the EXTRAVERSION line to read:
 EXTRAVERSION=-bf2.4.
4. in /usr/src/modules/NVIDIA_kernelwhatever do make.
5. in /usr/src/modules/NVIDIA_GLXwhatever do make.
6. edit /etc/X11/XF86Config-4 per the nvidia instructions.

That should get you up and running for now.

For future use, check out the Building Custom Kernels newbiedoc:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

Install Debian's nvidia-kernel-src and nvidia-glx-src packages, and read
their instructions. You can use the kernel-src package together with
make-kpkg to make a matching nvidia driver .deb whenever you rebuild the
kernel.

Kevin


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



Re: [KERNEL] compilation bttv a la mode debian

2003-02-18 Thread Christian Marillat
ARTUS Guillaume [EMAIL PROTECTED] writes:

 Salut la liste,

Salut,

[...]

 2/ bttv recupere en tar.gz compiler 'a la main'
 uname -r  driver/.version
  #sinon il plante a l'installation en compilant pour un 2.4.20 tout court
 su -c make install

Il y a-t-il une bonne raison de ne pas utiliser le bttv déjà présent
dans le 2.4.20 ?

Christian



Re: [KERNEL] compilation bttv a la mode debian

2003-02-18 Thread Frédéric Bothamy
* Christian Marillat [EMAIL PROTECTED] [2003-02-18 11:58] :
 ARTUS Guillaume [EMAIL PROTECTED] writes:
 
  Salut la liste,
 
 Salut,
 
 [...]
 
  2/ bttv recupere en tar.gz compiler 'a la main'
  uname -r  driver/.version
   #sinon il plante a l'installation en compilant pour un 2.4.20 tout court
  su -c make install
 
 Il y a-t-il une bonne raison de ne pas utiliser le bttv déjà présent
 dans le 2.4.20 ?

Moi, perso, j'en vois une : c'est une version pas très récente (0.7.96
contre la 0.7.105 sur http://www.bytesex.org/bttv) qui est présente
dans le noyau. Par contre, je recommenderais de tester v4l2 qui
apporte pas mal d'améliorations (je sais, une fuite en avant n'est pas
souvent pas la bonne solution à un pb donné).

Fred



Re: [KERNEL] compilation bttv a la mode debian

2003-02-18 Thread ARTUS Guillaume
le Tue, Feb 18, 2003 at 11:58:35AM +0100, Christian Marillat a ecrit:
  2/ bttv recupere en tar.gz compiler 'a la main'
 Il y a-t-il une bonne raison de ne pas utiliser le bttv déjà présent
 dans le 2.4.20 ?

Euh en fait il y AVAIT une bonne raison, qui remonte a pas loin de 5 ans
quand ma carte tele n'etait pas encore gerer par le bttv du noyau mais
l'etait par la branche developpement ;-)

Maintenant que les 2 branches se sont quasiment fusionnees (quelques
versions de retard pour le noyau quand meme, vu qu'il sort moins de noyau
que de release de bttv ;-)), je devrais effectivement pouvoir recompiler le 
module officiel. Merci pour le coup de pouce, ca m'ouvre de nouvelles voies 
;-)

Par contre ma question reste entiere pour l'intergration d'un modules a un
noyau 'ala debian', meme si maintenant ca risque d'etre purement pour ma
culture ;-)

Tus _ note pour plus tard: arrete de bosser avec 5 ans de retard ;-) _
-- 
Unix IS user friendly , it is just selective about who his friends are.

   ARTUS Guillaume
  [EMAIL PROTECTED]


pgpwskZ4S7vbd.pgp
Description: PGP signature


Re: [KERNEL] compilation bttv a la mode debian

2003-02-18 Thread ARTUS Guillaume
le Tue, Feb 18, 2003 at 01:23:42PM +0100, Frédéric Bothamy a ecrit:
 * Christian Marillat [EMAIL PROTECTED] [2003-02-18 11:58] :
  Il y a-t-il une bonne raison de ne pas utiliser le bttv déjà présent
  dans le 2.4.20 ?
 Moi, perso, j'en vois une : c'est une version pas très récente (0.7.96
 contre la 0.7.105 sur http://www.bytesex.org/bttv) qui est présente
 dans le noyau.

Indeed, sauf que danc mon cas les modifs depuis le 0.7.96 n'ont pas l'ai de
porter sur ma carte (si je me refere au changelogi de bttv)

 Par contre, je recommenderais de tester v4l2 qui
 apporte pas mal d'améliorations

Oui mais alors je retombe -- peut-etre -- dans mon probleme de rajout de
module a un noyau fait avec un make-kpkg...

Tus _ qui hesite _
-- 
Unix IS user friendly , it is just selective about who his friends are.

   ARTUS Guillaume
  [EMAIL PROTECTED]



Re: Kernel Compilation and Keyboard

2003-02-16 Thread Seneca
On Sun, Feb 16, 2003 at 11:33:00PM -, Kevin Smith wrote:
 I'm running Debian Woody 3.0r1 on a powerpc (AppleMac G3 beige) and have
 used the precompiled Kernels in the past.
 
 I decided to compile a Kernel from source (2.4.20) and everything works
 perfect apart from the keyboard, where the mapping is completely
 wrong... in fact, every key is different.  What do I need to do in order
 for the keyboard mapping to be correct for my location? (UK).
 
 BTW, this is before I boot into X, this is at the console that the
 keyboard mapping is wrong.

install-keymap foo, where foo is a valid keymap, will set the default
keymap on the console to foo.  loadkeys foo will change the currently
used keymap to foo, but will not change the default.  Keymaps are found
in /usr/share/keymaps, try with loadkeys the layouts that look like they
may be the one you want (perhaps mac-uk).

-- 
Seneca
[EMAIL PROTECTED]


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




Re: kernel compilation et UDF-files (on y est presque ..)

2002-12-08 Thread claude.parisot
Bon, j'ai recompilé le noyau avec toues les options exigées, j'avais 
fini par trouver avant que ton message arrive, j'ai lancé la commande 
listée plus bas, ça a eu l'air de fonctionner, ça m'a effectivement créé 
un répertoire /udfmnt, mais je ne peux toujours pas lire ces maudits 
cd-rw - et je ne comprends pas pourquoi, j'ai parcouru qqs FAQ sans 
trouver de réponse claire - sinon que c'est encore en phase de 
maturation (???).

J'ai regardé : #dmesg | more = il me dit   voir pièce jointe

   
   Merci de toutes façons


   
  Claude


Frédéric Bothamy wrote:


* claude.parisot [EMAIL PROTECTED] [2002-12-07 21:04] :
 

Bon, je commence à me dépatouiller de ces histoires de lecture / 
écriture sur CD-RW, à la dernière commande je reçois un message 
d'erreur, et j'ai besoin d'éclaircissements.


En configurant UDFTOOLS , je lance en final : #   mount -o loop -t udf 
udfimage udfmnt


REPONSE : Couldn't find any loop device, and according to /proc/devices, 
this kernel does not know about the loop device.


(If so , then recompile, or'modprobe loop'  - ce 
que j'ai essayé sans succès -


Je vais donc me retaper une compilation de noyau, mais j'aimerais 
quel'on m'explique ce qu'est un 'loop device' et où  active t-on la 
chose dans make xconfig ???
 



Section Block devices, option Loopback device support qui est pas
mal décrit dans la documentation associée. En simplifié, cela permet
de faire croire au noyau qu'un bête fichier est un périphérique de
type bloc (comme un /dev/hda) et donc de le monter en spécifiant un
système de fichier à utiliser. Très pratique pour tester des isos (ou
encore des images disquettes de boot de Debian) que l'on a récupérées
avant de les graver.

Fred


 

UDF-fs DEBUG lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported
: rc=-5
UDF-fs DEBUG super.c:1413:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:1149:udf_check_valid: Failed to read byte 32768. Assuming o
pen disc. Skipping validity check
UDF-fs DEBUG misc.c:322:udf_read_tagged: location mismatch block 256, tag 18 !=
256
UDF-fs DEBUG super.c:1203:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)

Re: kernel compilation et UDF-files (on y est presque ..)

2002-12-07 Thread Frédéric Bothamy
* claude.parisot [EMAIL PROTECTED] [2002-12-07 21:04] :
 Bon, je commence à me dépatouiller de ces histoires de lecture / 
 écriture sur CD-RW, à la dernière commande je reçois un message 
 d'erreur, et j'ai besoin d'éclaircissements.
 
 En configurant UDFTOOLS , je lance en final : #   mount -o loop -t udf 
 udfimage udfmnt
 
 REPONSE : Couldn't find any loop device, and according to /proc/devices, 
 this kernel does not know about the loop device.
 
  (If so , then recompile, or'modprobe loop'  - ce 
 que j'ai essayé sans succès -
 
 Je vais donc me retaper une compilation de noyau, mais j'aimerais 
 quel'on m'explique ce qu'est un 'loop device' et où  active t-on la 
 chose dans make xconfig ???

Section Block devices, option Loopback device support qui est pas
mal décrit dans la documentation associée. En simplifié, cela permet
de faire croire au noyau qu'un bête fichier est un périphérique de
type bloc (comme un /dev/hda) et donc de le monter en spécifiant un
système de fichier à utiliser. Très pratique pour tester des isos (ou
encore des images disquettes de boot de Debian) que l'on a récupérées
avant de les graver.

Fred



Re: Kernel compilation

2002-11-25 Thread Rob Weir
On Thu, Nov 21, 2002 at 08:22:14AM +0700, Oki DZ wrote:
 BTW, would there be any problems in using 2.5.x on Debian systems?

2.5.47, iirc, completely changed the module loading code.  The modutils
in sid _does not work_.   You'll have to go get the source for Rusty's
new version from kernel.org.

Aside from that, it should work...

-rob



msg15141/pgp0.pgp
Description: PGP signature


Re: Kernel compilation

2002-11-21 Thread Thomas Kallenberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!!

I used 2.5.x some months ago. 2.5.30 was the last one I know. There were some 
problems with the serial ports, but this was a kernel problem and not a 
debian Problem. At the moment there is a Acpi-problem but I dont know if this 
is a debian problem or not. I think is also not so much more unstable than 
stable.
For wlan or pcmcia you need the stable kernel anyway. So if it doesn't matter 
for you that sometimes something does not work or you get a little error 
message, ok...

Thomas

On Thursday 21 November 2002 02:22, Oki DZ wrote:
 BTW, would there be any problems in using 2.5.x on Debian systems?

 TIA,
 Oki

- -- 
Thomas Kallenberg
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE93QElBT2mMyABc7YRAn2VAJsGNn86WyGoPlee1uI7IMPY6aTdswCgr8nF
0vbSVreu3epD9dTrhwXF7Ug=
=u+sU
-END PGP SIGNATURE-


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




Re: Kernel compilation

2002-11-20 Thread Oki DZ
BTW, would there be any problems in using 2.5.x on Debian systems?

TIA,
Oki


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




Re: Kernel compilation

2002-11-20 Thread Vineet Kumar
* Oki DZ ([EMAIL PROTECTED]) [021120 17:15]:
 Hi,
 
 I was trying to compile the kernel version 2.5.44, and then compilation
 stopped at the following:
 net/ipv4/raw.c: In function `raw_send_hdrinc': net/ipv4/raw.c:297:
 `NF_IP_LOCAL_OUT' undeclared (first use in this function)
 net/ipv4/raw.c:297: (Each undeclared identifier is reported only once
 net/ipv4/raw.c:297: for each function it appears in.) 
 make[2]: *** [net/ipv4/raw.o] Error 1 make[1]: *** [net/ipv4] Error 2 
 make: *** [net] Error 2
 
 I have looked for NF_IP_LOCAL_OUT in the source (raw.c) and the header
 files, but no file mentions it. Have you experienced this? What is the
 value of NF_IP_LOCAL_OUT? Is it a macro or what?

in the 2.4.x series, it was defined in /include/linux/netfilter_ipv4.h
and used in all the conntrack and nat modules in /net/ipv4/netfilter .
I don't know anything about the 2.5 code, though.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.aclu.org/It's all about Freedom.



msg14287/pgp0.pgp
Description: PGP signature


Re: Kernel compilation

2002-11-02 Thread pd3
On Mon, Dec 30, 2002 at 01:24:15PM -0600, cobb wrote:
 I have not been able to find a document specific to Debian on upgrading the
 kernel.  I am running 2.2.20, but would like to use a 2.4 or better kernel.
 
 Can anyone explain it, or point me to a document SPECIFIC to Debian?

Hello

http://newbiedoc.sourceforge.net/system/kernel-pkg.en.html

Surprised that no-one has mentionned the above. It might be just what
you are looking for.

t.irvine


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




Re: Kernel compilation

2002-11-01 Thread judd
On 30 Dec, cobb wrote:
 I have not been able to find a document specific to Debian on upgrading the
 kernel.  I am running 2.2.20, but would like to use a 2.4 or better kernel.
 
 Can anyone explain it, or point me to a document SPECIFIC to Debian?  I keep
 finding Redhat-specific information.
 
 - Jimmy
 

 Sure.  Install the kernel-package package and read the docs.

-Chris


|   Christopher Judd, Ph. D.   |
|   Research Scientist III |
|   NYS Dept. of Health   [EMAIL PROTECTED]   | 
|   Wadsworth Center - ESP |
|   P. O. Box 509518 486-7829  |
|   Albany, NY 12201-0509  |



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




Re: Kernel compilation

2002-11-01 Thread Rupert
On Mon, 30 Dec 2002 13:24:15 -0600
cobb [EMAIL PROTECTED] wrote:

 Can anyone explain it, or point me to a document SPECIFIC to Debian? 

http://www.debian.org//doc/manuals/reference/ch-kernel.en.html

Rupert


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




Re: Kernel compilation

2002-10-30 Thread Mike Egglestone
Quoting cobb [EMAIL PROTECTED]:

 I have not been able to find a document specific to Debian on upgrading the
 kernel.  I am running 2.2.20, but would like to use a 2.4 or better kernel.
 
 Can anyone explain it, or point me to a document SPECIFIC to Debian?  I keep
 finding Redhat-specific information.

Hi,
apt-get is your friend,

Nate just made a good post about debian kernels.

#apt-cache search kernel-image
#apt-get install kernelimagethatyouchoose

If your into customizing your own kernel, I believe you want to install
kernel-package   (which gives you a neat command called make-kpkg)

Then read /usr/share/doc/kernel-package for more info.

Cheers,
Mike

-
This mail sent through IMP: http://horde.org/imp/


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




Re: Kernel compilation

2002-10-30 Thread Bob Nielsen
To upgrade your kernel, you can probably just use one of the packaged
kernel-image versions.  Type 'apt-cache search kernel-image'.  Pick the
latest 2.4 version which matches your type of processor and install it
with apt-get.  You may have to edit either /etc/lilo.conf or
/boot/grub/menu.lst, depending on which boot loader you are using and
whether you have it configured to automatically update your boot menu
when a new kernel is installed.

The Debian kernel packages use initrd, so you may need to configure
your boot loader for that, as well.  As an example, my
/boot/grub/menu.lst shows the following:

title   Debian GNU/Linux, kernel 2.4.19-686
root(hd0,1)
kernel  /boot/vmlinuz-2.4.19-686 root=/dev/hda2 ro vga=5
initrd  /boot/initrd.img-2.4.19-686
savedefault
boot

On the other hand, if you need/want to compile a new kernel, install
the kernel-package and the appropriate kernel-source packages.  Read
/usr/share/doc/kernel-package/README.gz and you will learn everything
you need to know about compiling and creating a Debian kernel package.

Also take a look at 'man kernel-img.conf' and 'man kernel-pkg.conf',
which are installed as part of kernel-package.

On Mon, Dec 30, 2002 at 01:24:15PM -0600, cobb wrote:
 I have not been able to find a document specific to Debian on upgrading the
 kernel.  I am running 2.2.20, but would like to use a 2.4 or better kernel.
 
 Can anyone explain it, or point me to a document SPECIFIC to Debian?  I keep
 finding Redhat-specific information.
 
 - Jimmy
 
 ps: hi, I'm new to the list. ;D


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




Re: Kernel compilation

2002-10-30 Thread Hugh Saunders
30/12/2002 19:24:15, cobb [EMAIL PROTECTED] wrote:
Can anyone explain it, or point me to a document SPECIFIC to Debian? 
install ncurses-dev

im not an expert but if i were to build a new kernel, this is how i would do it...

1. apt-get install libncurses5
2. apt-get install kernel-source-2.4.18 [or whatever]
2.1 this should go to /usr/src, untar/zip if its archived
3. make menuconfig [my preference, im sure other people prefer other ways]
4. make dep [never seen any use in make clean -comments anyone?]
5. make bzImage [use -j3 if you are using SMP -much quicker]
6. find bZimage [usually in ./arch/i386/boot]
7. cp bzimage to /boot [anywhere would do but /boot seems logical]
8. edit /etc/lilo.conf -add section image=/boot/bzImage
alias=3
[blahblah]
9. execute lilo

hope that helps,

hugh



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




Re: Kernel compilation

2002-10-30 Thread nate
cobb said:
 I have not been able to find a document specific to Debian on upgrading
 the kernel.  I am running 2.2.20, but would like to use a 2.4 or better
 kernel.

 Can anyone explain it, or point me to a document SPECIFIC to Debian?  I
 keep finding Redhat-specific information.

if you want the debian-way(tm)

apt-get install kernel-package

after thats installed read the files in
/usr/share/doc/kernel-package

nate
(happily running 2.2.19)



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




Re: Kernel compilation

2001-12-28 Thread Jens Müller
Daniel Freedman [EMAIL PROTECTED] writes:

 Make sure you have the proper 'initrd=/boot/initrd.img-2.4.16' (or similar 
 path
 to your initrd image) in your 'lilo.conf' and rerun lilo.
 
 Are you using kernel-package to compile your kernel (I'd suggest you
 do, if you're not)?

Yes, I am. So I thought make-kpkg would also give me an initrd.img.

 Have you installed initrd-tools?

Yes, I have.



Re: Kernel compilation

2001-12-28 Thread k l u r t
On Friday 28 December 2001 03:56 am, Jens Müller wrote:
 Daniel Freedman [EMAIL PROTECTED] writes:
  Make sure you have the proper 'initrd=/boot/initrd.img-2.4.16' (or
  similar path to your initrd image) in your 'lilo.conf' and rerun lilo.
 
  Are you using kernel-package to compile your kernel (I'd suggest you
  do, if you're not)?

 Yes, I am. So I thought make-kpkg would also give me an initrd.img.

  Have you installed initrd-tools?

 Yes, I have.

you'll want to use the --initrd option with make-kpkg :

make-kpkg --initrd --revision=blaaablaa.1.0 kernel_image

check out   man make-kpkgfor more details.

- k l u r t



Re: Kernel compilation

2001-12-27 Thread Daniel Freedman
On Thu, Dec 27, 2001, Jens Müller wrote:
 I have tried to compile my own kernel 2.4.16. I took the config file
 k7 from the Debian kernel source, and just activated acpi
 additionally.

Hi Jens!

 When I installed it, that kernel complained about not being able to
 mount the root device.
 
 Maybe it has something to do with that the Debian kernel has an initrd
 and mine hasn't? Is an initrd necessary?

No, it's not necessary but if your config files assume initrd (in
other words, you've compiled it in), you have to make it work, or
compile with alternate config files that don't assume initrd.

Make sure you have the proper 'initrd=/boot/initrd.img-2.4.16' (or similar path
to your initrd image) in your 'lilo.conf' and rerun lilo.

Are you using kernel-package to compile your kernel (I'd suggest you
do, if you're not)?

Have you installed initrd-tools?

HTH,

Daniel


-- 
Daniel A. Freedman
Laboratory for Atomic and Solid State Physics
Department of Physics
Cornell University



Re: Kernel compilation error.......

2001-12-18 Thread Paul Mackinney
C muttered:
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2
I saw this too when compiling 2.4.16, running an up-to-date Woody
system. I'll wait for 2.4.17. 

While I'm waiting, I have 2 questions for kernel-hackers:

1. I'm currently running 2.4.12, which I built and installed using the
kernel package system (very cool!). Now how can I compile and install a 
single moduler? The docs cover how to rebuild  resinstall all the
modules, but that seems like overkill...

2. Where can I get a config file that matches the build options for one
of the pre-compiled kernel packages? I'd like to be able to start with
one of those configs as a base for customization.

TIA, Paul
-- 
Paul Mackinney   |   Who profited from Sept 11?
[EMAIL PROTECTED]   |   http://www.copvcia.com/



Re: Kernel compilation error.......

2001-12-12 Thread J.A.Serralheiro
well I had trouble like those some times, and I assume that is something
related with a misconfigured kernel configuration file. I reinstalled the
source ( lazy ) and reconfigured the kernel to compile, and everything
went just fine.


On Wed, 12 Dec 2001, C wrote:

 Hi there
 
 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously compileit
 fails at this point every time
 
 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2
 
 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10
 
 Any offered assistance in how to acertain further information about this bug
 would be apreciated
 
 Many thanks
 CraigT
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Kernel compilation error.......

2001-12-12 Thread Dragos
On Wednesday 12 December 2001 01:38 pm, C wrote:
 Hi there

 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously
 compileit fails at this point every time

 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2

 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10

 Any offered assistance in how to acertain further information about this
 bug would be apreciated

 Many thanks
 CraigT
hello,
exactly the same behaviour here!
the difference being it barks at drivers/char/char.o (not drivers/net.o, like 
in your case)
woody installed today, kernel 2.2.19, I was compiling kernel 2.4.16 (debian 
source)
the source was just unarhived...

anybody on this?

dragos



Re: Kernel compilation error.......

2001-12-12 Thread C
I have tried with same options as installed kernelalso with kernels .14
and .16 sourcealso got another person to check...see i wasnt
madlol..
this is why i think it might be the C libs

c^

- Original Message -
From: J.A.Serralheiro [EMAIL PROTECTED]
To: C [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Sent: Wednesday, December 12, 2001 12:07 PM
Subject: Re: Kernel compilation error...


 well I had trouble like those some times, and I assume that is something
 related with a misconfigured kernel configuration file. I reinstalled the
 source ( lazy ) and reconfigured the kernel to compile, and everything
 went just fine.


 On Wed, 12 Dec 2001, C wrote:

  Hi there
 
  I recently upgraded my machinevia apt.this included a
glibc6/-dev
  upgrade amongst other things.
  now when compiling a kernel...even one known to previously
compileit
  fails at this point every time
 
  drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
  discarded section .text.exit'
  make[1]: *** [vmlinux] Error 1
  make[1]: Leaving directory `/usr/src/linux'
  make: *** [stamp-build] Error 2
 
  The versions of my curreent packages are:
  libc6  2.2.4-7
  libc6-dev  2.2.4-7
  kernel-package 7.75
  gcc2.95.4-9
  gcc-2.95   2.95.4-0.01100
  make   3.79.1-10
 
  Any offered assistance in how to acertain further information about this
bug
  would be apreciated
 
  Many thanks
  CraigT
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]
 
 




Re: Kernel compilation error.......

2001-12-12 Thread G. Soyez
Hi CraigT

On Merkidi 12 Decimbe 2001 12:38, C wrote:
 Hi there

 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously
 compileit fails at this point every time

 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2

 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10

 Any offered assistance in how to acertain further information about this
 bug would be apreciated

It seems that the bug comes from the binutils package and can be solved by 
downgrading binutils.
It also seems that it will be fixed in the kernel 2.4.17.

Gregor

-- 
Grégory Soyez
Université de Liège
Institut de Physique 
Allée du VI Août, Bât B5
B-4000 Sart-Tilman LIEGE 1
Tel : +32 (0)4 366 36 04
Fax: +32 (0)4 366 36 72



Re: Kernel compilation error.......

2001-12-12 Thread Dragos
On Wednesday 12 December 2001 03:19 pm, C wrote:
 I have tried with same options as installed kernelalso with kernels .14
 and .16 sourcealso got another person to check...see i wasnt
 madlol..
 this is why i think it might be the C libs

 c^

 - Original Message -
 From: Dragos [EMAIL PROTECTED]
 To: C [EMAIL PROTECTED]; debian-user@lists.debian.org
 Sent: Wednesday, December 12, 2001 1:18 PM
 Subject: Re: Kernel compilation error...

  On Wednesday 12 December 2001 01:38 pm, C wrote:
   Hi there
  
   I recently upgraded my machinevia apt.this included a

 glibc6/-dev

   upgrade amongst other things.
   now when compiling a kernel...even one known to previously
   compileit fails at this point every time
  
   drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
   discarded section .text.exit'
   make[1]: *** [vmlinux] Error 1
   make[1]: Leaving directory `/usr/src/linux'
   make: *** [stamp-build] Error 2
  
   The versions of my curreent packages are:
   libc6  2.2.4-7
   libc6-dev  2.2.4-7
   kernel-package 7.75
   gcc2.95.4-9
   gcc-2.95   2.95.4-0.01100
   make   3.79.1-10
  
   Any offered assistance in how to acertain further information about
   this bug would be apreciated
  
   Many thanks
   CraigT
 
  hello,
  exactly the same behaviour here!
  the difference being it barks at drivers/char/char.o (not drivers/net.o,

 like

  in your case)
  woody installed today, kernel 2.2.19, I was compiling kernel 2.4.16

 (debian

  source)
  the source was just unarhived...
 
  anybody on this?
 
  dragos
and now, what?
maybe compiling it with gcc-3.0?

dragos



Re: Kernel compilation error.......

2001-12-12 Thread J.H.M. Dassen \(Ray\)
On Wed, Dec 12, 2001 at 14:21:53 +0100, G. Soyez wrote:
 It seems that the bug comes from the binutils package and can be solved by
 downgrading binutils.

No it doesn't. The bug is in the kernel sources, and older versions of
binutils just happened not to fail on it whereas the newer one does.

Ray
-- 
Friends don't send friends HTML email
Declan McCullagh on the features of Javascript in email,
http://www.lwn.net/2001/0208/a/htmlprivacy.php3



Re: kernel compilation and ncurses problem

2001-10-20 Thread Hartmut Figge
Bambang Purnomosidi D. P. wrote:

 I already have (from unstable) libncurses5, ncurses-bin, ncurses-term, and
 ncurses-base.
 
 DId I miss something??

[EMAIL PROTECTED]:~$ COLUMNS=120 dpkg -l \*ncurses\* | grep ^ii | cut -b -70
ii  libncurses4  4.2-9Shared libraries
ii  libncurses5  5.2.20010318-1   Shared libraries
ii  libncurses5-dbg  5.2.20010318-1   Debugging/profil
ii  libncurses5-dev  5.2.20010318-1   Developer's libr
ii  ncurses-base 5.2.20010318-1   Descriptions of 
ii  ncurses-bin  5.2.20010318-1   Terminal-related
ii  ncurses-term 5.2.20010318-1   Additional termi

cu
-- 
hafi



Re: kernel compilation and ncurses problem

2001-10-20 Thread Marc Wilson
On Sat, Oct 20, 2001 at 11:16:28AM +0700, Bambang Purnomosidi D. P. wrote:

failed 'make menuconfig' snipped

 I already have (from unstable) libncurses5, ncurses-bin, ncurses-term, and 
 ncurses-base.
 
 DId I miss something??

In order to compile something against ncurses, you need libncurses5-dev
installed as well as the regular libncurses5.

-- 
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]



pgpTSv727M2GC.pgp
Description: PGP signature


Re: kernel compilation and ncurses problem

2001-10-20 Thread Bambang Purnomosidi D. P.

Thank you all.
Everything's clear n work now.

--
bpdp



Re: kernel compilation LILO

2001-08-18 Thread Peter Palmreuther
Hello Steve,

Saturday, August 18, 2001, 5:48:02 AM, you wrote:

 This way you're able
 Boot them? Who said anything about booting them? :-)

I was just writing 'bout the _ability_ :-)

-- 
Best regards,
 Petermailto:[EMAIL PROTECTED]



Re: kernel compilation LILO

2001-08-17 Thread Peter Palmreuther
Hello burningclown,

On Friday, August 17, 2001 at 5:35:49 PM, 
you wrote (at least in part):

 given this [working] addition to /etc/lilo.conf, should I be relatively safe
 to go ahead and futz?

You are!
This [working] addition is a simple demonstration of multi-boot capabilities
lilo offers.
This is no 'secret new kernel - you've to use before you try new features' 
backdoor :-)

This way you're able to archive even the last 10 kernels you build just for
fun and boot them to see _what da he**_ you changed since then :-)

Ciao Pit
-- 
Best regards
 Peter



Re: kernel compilation LILO

2001-08-17 Thread Michael Heldebrant
On 17 Aug 2001 10:35:49 -0500, [EMAIL PROTECTED]
wrote:
 
 Hi,
 
 Yesterday I had an interesting conversation with someone on the #debian
 IRC channel re: compiling a custom kernel. He urged me to add the
 following lines to my /etc/lilo.conf file:
 
 image=/boot/vmlinuz-2.2.17
 label=prev2217
 
 ... and make sure I could boot the system from this choice. It worked
 fine.
 
 Now I am slogging through the documentation on kernel-package, prepping to
 compile 2.4.8. To make matters short, I guess I'd like to know: given this
 [working] addition to /etc/lilo.conf, should I be relatively safe to go
 ahead and futz? Of course I'll keep reading and prep best I can, but
 experience tells me I usually flub *something* and I'd like to make sure I
 can get back to trusty my 2.2.17 before going much further.

Installing a deb of your custom kenel-package compiled kernel should be
fine.  Assuming you don't forget to compile in your root disk access
drivers (scsi or ide) like I've done more times that I'd care to admit.
If you're really worried make a bootfloppy from the running 2.2.17
kernel with mkboot after reading the man pages.  The deb package should
automagically update your lilo.conf for you.

--mike



Re: kernel compilation LILO

2001-08-17 Thread George Karaolides
On Fri, 17 Aug 2001 [EMAIL PROTECTED] wrote:

 Yesterday I had an interesting conversation with someone on the #debian
 IRC channel re: compiling a custom kernel. He urged me to add the
 following lines to my /etc/lilo.conf file:
 
 image=/boot/vmlinuz-2.2.17
 label=prev2217
 
 ... and make sure I could boot the system from this choice. It worked
 fine.

One way this could go pear-shaped is if /boot/vmlinuz-2.2.17 is
actually a symbolic link to a *real* image /vmlinuz or /boot/vmlinuz,
which the kernel install procedure may cheerfully over-ride with the new
image.  In such a case your fallback points to the new image, as does the
new lilo entry.  So if the new image doesn't work you're in trouble.

Usually /vmlinuz and /vmlinuz.old, or /boot/vmlinuz and /boot/vmlinuz.old
(depending on whether you like to have vmlinuz in / or /boot) are links to
actual image files /boot/vmlinuz-version-flavour, but it
is possible for a Debian system to be configured the other way around
(there is an option reverse-symlinks or something in make-kpkg).

If your fallback entry isn't such a reverse symlink, and you run lilo
successfully, then you shouldn't have any problem booting with your
fallback choice.

In any case, if your Debian system is fairly standard, when you install an
image package made with make-kpkg your running kernel is installed
automatically as choice LinuxOLD, with a link /vmlinuz.old (or
/boot/vmlinuz.old) to /boot/vmlinuz-runningversion.

Your preference for links in the root filesystem ir in /boot is set in
/etc/kernel-img.conf.

If your fallback choice uses an initial ramdisk (initrd), you should make
sure that's OK too.  If not (you can't see any initrd files in /boot or
initrd = file entries in /etc/lilo.conf) then don't bother.

Another tip: make sure you use flavours, this automates the installation
of modules into a different directory
/lib/modules/version-flavour every time you re-compile (provided 
you specify a different flavour, of course).  Unless you do
this, when you re-compile a kernel of the same version, the modules
usually installed in /lib/modules/version (no flavour) will be
cheerfully overwritten and will (generally) no longer work with your
previous image of the same version.  You will be re-compiling the same
version of kernel, trust me; it's routine.

The rewards are worth perusing the documentation, believe me.   Debian
offers three-line (and that's including the clean command) hassle-free
recompilation and installation of the kernel, with a scheme for an
automatically installed fallback.

man make-kpkg
man kernel-image.conf
man kernel-pkg.conf
/usr/doc/kernel-package/files

example:

prompt# make-kpkg clean
prompt# make-kpkg --revision=3:2.2.19-custom.2001.08.15 
--flavour=custom.2001.08.15 kernel_image
prompt# dpkg -i package-file

Happy compiling and upgrading,

George Karaolides   8, Costakis Pantelides St.,
tel:   +35 79 68 08 86   Strovolos, 
email: [EMAIL PROTECTED]   Nicosia CY 2057,
web:   www.karaolides.com  Republic  of Cyprus





Re: kernel compilation LILO

2001-08-17 Thread Steve Kowalik
On Fri, Aug 17, 2001 at 06:00:39PM +0200, Peter Palmreuther uttered:
 This way you're able to archive even the last 10 kernels you build just for
 fun and boot them to see _what da he**_ you changed since then :-)
 
Boot them? Who said anything about booting them? :-)
If you used kernel-package, the .config is in /boot/config-version
That's what grep is for. :-)

-- 
Steve
Synthetic Transforming Entity Viable for Exploration and Nocturnal Killing


pgpBPtgZSbc1Z.pgp
Description: PGP signature


Re: Kernel Compilation Error

2001-07-16 Thread Joost Kooij
On Mon, Jul 16, 2001 at 12:57:04PM -0400, Case, Benjamin wrote:
 I just apt-got the kernel-source-2.4.6. I make menuconfiged it and then I
 make-kpkg cleaned it, and ran make-kpkg --revision custom.1 kernel_image.
 About 10 minutes in to the compilation it stops with this message:
 
 install: cannot stat 'debian/README.debian': No such file or directory
 debian/tmp-source/usr/share/doc/kernel-image-2.4.6/Readme.Debian.1st: No
 such file or directory
 make: *** [kernel-image-deb] Error 1
 
 What have I done wrong ?

Used a buggy version of kernel-package.  ;-)

There are three bugs registered for this already.

http://bugs.debian.org/kernel-package

Workaround described at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=105275repeatmerged=yes

Cheers,


Joost



Re: kernel compilation error

2001-07-06 Thread Colin Watson
J.A.Serralheiro [EMAIL PROTECTED] wrote:
hi. I already posted a question, but got any replies.

You did. I've cc'ed you directly this time; you might want to check the
web archives at http://lists.debian.org/ if you aren't subscribed to
debian-user, as the convention here is usually to send replies only to
the mailing list.

Once I had a power fail, and on reboot, there were some errors. So, after
fsck some files in /lib were missing. 

Now im trying to compile kernel 2.4.5 and in keep getting errors
about undefined labels, and unknown variables and things like that.

My previous reply was:

| Reinstall libc6 and libc6-dev, and so on? Can't help more without some
| real error messages ...
| 
|   # apt-get --reinstall install libc6 libc6-dev

And Joost Kooij followed up to that with:

| And if that does not work, try make mrproper in the top-level kernel
| source directory.  It is just a wild stab, but the combination of I'm
| using arch-specific options to rebuild my kernel and I get these weird
| errors about undeclared variables somehow strikes a bell with me.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]



Re: kernel compilation in Potato...

2001-04-09 Thread Tim Kelley
On Sunday 08 April 2001 14:01, Marcin Landowski wrote:

to get everything you need just fire up tasksel and choose C development, 
install that, and additionally get bin86 (if you using intel) and 
libncurses5 and libncurses5-dev (for make menuconfig)

 Hejka

   I've reinstalled my Potato (changed partition) and I
 can't recompile kernel.
 The output of make manuconfig is:

 rm -f include/asm
 ( cd include ; ln -sf asm-i386 asm)
 make -C scripts/lxdialog all
 make[1]: Entering directory
 `/usr/src/kernel-source-2.2.17/scripts/lxdialog'
 gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
 -DCURSES_LOC=curses.h   -c -o lxdialog.o lxdialog.c
 In file included from lxdialog.c:22:
 dialog.h:29: curses.h: No such file or directory
 make[1]: *** [lxdialog.o] Error 1
 make[1]: Leaving directory
 `/usr/src/kernel-source-2.2.17/scripts/lxdialog'
 make: *** [menuconfig] Error 2

 I've installed packages kernel-headers-2.2.17  and
 kernel-source-2.2.17. I can't find what other packages are missed
 to perform compilation.

 regards

-- 
Tim Kelley
[EMAIL PROTECTED]



Re: kernel compilation in Potato...

2001-04-08 Thread ktb
On Sun, Apr 08, 2001 at 09:01:42PM +0200, Marcin Landowski wrote:
   Hejka
 
   I've reinstalled my Potato (changed partition) and I
 can't recompile kernel.
 The output of make manuconfig is:
 
 rm -f include/asm
 ( cd include ; ln -sf asm-i386 asm)
 make -C scripts/lxdialog all
 make[1]: Entering directory
 `/usr/src/kernel-source-2.2.17/scripts/lxdialog'
 gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
 -DCURSES_LOC=curses.h   -c -o lxdialog.o lxdialog.c
 In file included from lxdialog.c:22:
 dialog.h:29: curses.h: No such file or directory
 make[1]: *** [lxdialog.o] Error 1
 make[1]: Leaving directory
 `/usr/src/kernel-source-2.2.17/scripts/lxdialog'
 make: *** [menuconfig] Error 2
 
 I've installed packages kernel-headers-2.2.17  and
 kernel-source-2.2.17. I can't find what other packages are missed 
 to perform compilation.
 

Install libncurses5-dev

deb:~$ dpkg -S curses.h
libncurses5-dev: /usr/include/curses.h
libncurses5-dev: /usr/include/ncurses.h
kent
 
-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: kernel compilation in Potato...

2001-04-08 Thread Mario Vukelic
On 08 Apr 2001 21:01:42 +0200, Marcin Landowski wrote:

 I've installed packages kernel-headers-2.2.17  and
 kernel-source-2.2.17. I can't find what other packages are missed 
 to perform compilation.

ncurses-dev. Also get kernel-package and read the kernel section in the
debian faq

-- 

I did not vote for the Austrian government



Re: kernel compilation guide?

2001-02-11 Thread Sven Hoexter
On Sun, Feb 11, 2001 at 02:49:10PM -0500, Glenn Becker wrote:
 
 All,
 
 I try to tune in to any discussions of how to compile a new / custom
 kernel on the list, but I was wondering ... is there a convenient doc on
 how to do this the Debian way? I am currently running 2.2.17  don't feel
 any great *need* to upgrade/date, but would like the know-how.
hm, read a little bit /usr/src/linux/Documentation (IIRC)
there are several docs for you. One important ist the changes file.

A normal way to compile a new Kernel ist:

cd /usr/src/linux (linux ist offten a symlink to your latest kernel
sources)
make config/menuconfig/xconfig (choose one)
make dep clean bzImage modules modules_install

Then you've to wait some time.
cp System.map /boot/System.map-your-kernel-version
then link to /boot/System.map with ln -s
Now it's time to copy your Kernel
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-your-kernel-version
O.K. know link your Kernel to /boot/vmlinuz with ln -s

So your kernel should know be in a good position. Now read man
lilo.conf and edit /etc/lilo.conf.
Reinstall lilo with the lilo command on the commandline and reboot.

That's the shortest way to a new kernel.

If you don't like to recompile your modutils etc. for Kernel 2.4.x
stay with a 2.2.x Kernel (latest 2.2.18)

Cu,
Sven

-- 
Ich weiß nicht, wieso ihr euch so echauffiert. Die Warnung ist doch
wirklich deutlich zu lesen auf der Packung. Da steht in großen,
deutlichen Lettern: Microsoft. NATÜRLICH funktioniert das nicht.
Mehr als warnen können sie euch nicht. [Fefe in de.alt.sysadmin.recovery]



Re: kernel compilation guide?

2001-02-11 Thread ktb
On Sun, Feb 11, 2001 at 02:49:10PM -0500, Glenn Becker wrote:
 
 All,
 
 I try to tune in to any discussions of how to compile a new / custom
 kernel on the list, but I was wondering ... is there a convenient doc on
 how to do this the Debian way? I am currently running 2.2.17  don't feel
 any great *need* to upgrade/date, but would like the know-how.
 

I would recommend doing it the debian way.  Read the documentation at the
site -
http://www.debian.org/doc/FAQ/ch-kernel.html

Install kernel-package and then read the documentation in -
$ zless /usr/doc/kernel-package/README.gz

Once you unpack and cd to the kernel source it is almost as simple as -

make menuconfig
make-kpkg clean
make-kpkg --revision=custom.1.0 kernel_image
dpkg -i new_kernel.deb
fix lilo and reboot

See the documentation for a more thorough explanation.  I left a couple
things out.
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: Kernel compilation -- Error 127 after trying Make bzImage

2000-10-09 Thread John McBride
Ulrich wrote:
 
 I tried to compile a kernel from the 2.2.17-source.
 Up to 'make dep' and 'make clean', everything went fine.
 Make bzImage stops with following error-message:
as86 -0 -a -o bbootsect.o bbootsect.s
Make(1): as86: Command not found
Make(1): *** [bbootsect.o] Error 127
Make: *** [bzImage] error 2
 
 For the configuration, I have used my 2.2.14 config-file, and went
 through the configuration process by checking whether everything is stil
 up to date.
 
 Does anybody know what's wrong ?
 
 P.S. I'm no longer subscribed to this list (due to huge amount of
 traffic), so please send a copy of your reply (thank you, thank you :-)
 to my e-mail adress.
 
 Ulrich
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

apt-get install bin86



RE: Kernel Compilation Trouble

2000-02-10 Thread Cameron Matheson
Thanks for the tip, that worked perfectly

Cameron Matheson



-Original Message-
From:   Phil Brutsche [SMTP:[EMAIL PROTECTED]
Sent:   Tuesday, February 08, 2000 9:28 PM
To: Cameron Matheson
Cc: 'debian-user@lists.debian.org'
Subject:Re: Kernel Compilation Trouble

A long time ago, in a galaxy far, far way, someone said...

 Hey,
 
 I'm trying to compile my kernel (to enable sound).  So I installed the
 2.0.36 source, ran make config, make dep, and make clean (everything
 was successful).

A tip: 'make menuconfig' is quite a bit more user-friendly than 'make
config'.

 Unfortunately, when I run make zImage I get an error:
 
   snip
   Non-GCC header of 'system'
   compressed size 20.
   ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
^^ 
You're building an a.out kernel.  I don't know how well it's tested that
late in the 2.0 series; try reconfiguring the kernel to be ELF, then run
'make clean zImage', and see what you get.

However, the undefined references don't look right; I don't ever remember
seeing them, although it's been over a year since I've run 2.0, so my
memory could be faulty.

   ld: warning: cannot find entry symbol _start; defaulting to 0fe0
   misc.o:  In function 'fill_inbuf':
   misc.o(.text+0x1ebc): undefined reference to 'input_data'
   misc.o(.text+0x1ec1): undefined reference to 'input_len'
   misc.o(.text+0x1ed7): undefined reference to 'input_data'
   make[2]: *** [vmlinux] Error 1
   make[2]: Leaving Directory 
 '/usr/src/linux/kernel-source-2.0.36/arch/i386/boot/c
   ompressed'
   make[1]: *** [compressed/vmlinux] Error 2
   make[1]: Leaving Directory 
 ''/usr/src/linux/kernel-source-2.0.36/arch/i386/boot/c
   ompressed'  
   make: *** [zImage] Error 2

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe. - Albert Einstein


Re: Kernel Compilation Trouble

2000-02-09 Thread Eric G . Miller
On Tue, Feb 08, 2000 at 09:00:14PM -0700, Cameron Matheson wrote:
 Hey,
 
 I'm trying to compile my kernel (to enable sound).  So I installed the 
 2.0.36 source, ran make config, make dep, and make clean (everything was 
 successful).  Unfortunately, when I run make zImage I get an error:
 

I highly suggest using the Debian kernel-package. It's much easier.
$ make menuconfig
$ make-kpkg clean
$ make-kpkg --revision=2:mykernel.1 kernel_image
$ make-kpkg --revision=2:mykernel.1 modules_image #optional 3rd party
$ dpkg -i ../kernel-image*.deb  #replace * as appropriate

Add the --zimage flag if that's really what you want.
-- 
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
++


Re: Kernel compilation straight from the base install...

2000-02-03 Thread da Bobstopper
 Hi, I recently installed the potato base system, and wanted to compile my
 own kernel straight from there. I was wodering what all packages I'd need
 to download from the debian home page to be able to do this. The reason I
 have to get them from the debian home page is becuase all I have right now
 is a win modem, therefore I can't apt-get them. I'll be replacing the
 modem soon, but for now I'd like to compile the kernel. Please respond 
 soon, thanks in advance.
 
get kernel-source-2.2.XX_blah.blah.blah.deb
get kernel-package (cuz it makes life a lil easier)

uh, i think that's it from memory.

good luck!

from

da Bobstopper


Re: Kernel Compilation Error?

1999-08-18 Thread Mark Wagnon
On Wed 08/18/99 01:01AM, Heikki Vatiainen wrote:

 My guess is that your gcc is too new. In my potato system I have 
 these too compilers installed:
 
 % gcc --version
 2.95.1
 % gcc272 --version
 2.7.2.3

for me:

# gcc --version
egcs-2.91 (something like that)

I installed the gcc and gcc272 packages and made the changes in
the top Makefile and the kernel compiled without a hiccup.

 I hope this helps,

It sure did :)
-- 
 (   __   _
Mark Wagnon   ) Debian GNU/ -o) / /  (_)__  __   __
Chula Vista, CA  (  /\\/ /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED] ) www.debian.org _\_v/_/_//_/\_,_/ /_/\_\


Re: Kernel Compilation Error?

1999-08-17 Thread Heikki Vatiainen
Mark Wagnon [EMAIL PROTECTED] wrote:
 I'm trying to compile a 2.0.36 kernel on my potato system, but I
 keep getting this error:
 
   init/main.c: In function `get_options':
   init/main.c:272: warning: subscript has type `char'
   make: *** [init/main.o] Error 1

My guess is that your gcc is too new. In my potato system I have 
these too compilers installed:

% gcc --version
2.95.1
% gcc272 --version
2.7.2.3

When I just tried compiling 2.0.36 kernel, I had to edit the 
toplevel kernel Makefile and replace all the instances of string 
gcc with gcc272 to get the compile going.

You might want to do the same thing and install the gcc272 package.
Read /usr/doc/gcc272/README.Debian for more info about the old and 
new gcc.

 I've downloaded the sources from several places, but it still
 bails.

Your source is probably correct, you just need the correct 
compiler.
 
 I am able to compile a 2.2.* kernel (at least I was a couple
 weeks ago).

Same here. 2.2.* compiles with the newer gcc, but the older 
kernels need older gcc.
 
 Any ideas?
 
 TIA

I hope this helps,

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



Re: Kernel compilation problem

1999-06-16 Thread Manoj Srivastava
Hi,
Johann == Johann Spies [EMAIL PROTECTED] writes:

 Johann I am trying to compile a kernel with 
 Johann make-kpkg --revision=custom.1.0 kernel_image

 Johann dpkg-deb - error: (upstream) version (`scsi') doesn't contain any 
digits
 Johann dpkg-deb: 1 errors in control file
 
For some reason, the system thinks you said --revision=scsi
 (maybe an older run?) In any case, make-kpkg clean, make-kpkg --revision...
 should clear things up.

manoj
-- 
 There are never any bugs you haven't found yet.
Manoj Srivastava   [EMAIL PROTECTED]  http://www.debian.org/%7Esrivasta/
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


RE: Kernel compilation

1999-03-01 Thread Shaleh
 
 For information, the network card is a standard PCI NE2000 (Netvin NV5000,
 to be exact). Like I say, it's definitely possible to get it working
 because it works with the default kernel! I want to get this sorted out so
 I can upgrade to kernel 2.2 with some confidence it'll work.
 

Well, the 2.2.x compilation uses rather different setup in the network section.
 Try compiling a 2.2.x and see if it works for ya.  Then let us know what
fails.


  1   2   >