Re: Kernel Config file for Debian Squeeze Install Disc
Sven, AFAIK the kernel in the installer is split into many small packages from the regular linux-image package. So the possible differences are version skews when a newer kernel hits the archive, and missing modules that are not packaged for the installer. You are right. I discovered that the pata-modules-* package that ships with Debian Install disc, did not have the driver module for my RDC PATA controller and hence it failed to detect it. The thing that I find surprising is that the kernel itself (2.6.32-5-486) has the support for the controller: CONFIG_PATA_RDC=m So why does it have to depend on packages like pata-modules to detect the IDE interface. Can't the kernel detect the type (deviceid) of IDE interface and load the appropriate module (from it's initrd?) I guess may be I do not fully understand the installation mechanism. -- 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/calxxvm555wpfa73wemrccnwo2ynt3hjohchdens84qzvurj...@mail.gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
On 2011-07-11 21:52 +0200, Tech Geek wrote: AFAIK the kernel in the installer is split into many small packages from the regular linux-image package. So the possible differences are version skews when a newer kernel hits the archive, and missing modules that are not packaged for the installer. You are right. I discovered that the pata-modules-* package that ships with Debian Install disc, did not have the driver module for my RDC PATA controller and hence it failed to detect it. The thing that I find surprising is that the kernel itself (2.6.32-5-486) has the support for the controller: CONFIG_PATA_RDC=m So why does it have to depend on packages like pata-modules to detect the IDE interface. Can't the kernel detect the type (deviceid) of IDE interface and load the appropriate module (from it's initrd?) I guess may be I do not fully understand the installation mechanism. I do not claim to understand it either, but I suppose the installer is actually running from an initramfs, and if a full-blown kernel with all its modules were put there, the memory requirements for installing Debian would increase considerably. Sven -- 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/87wrfo8tb0@turtle.gmx.de
Re: Kernel Config file for Debian Squeeze Install Disc
On Fri, 08 Jul 2011 13:41:32 -0700, Tech Geek wrote: It should be available at /boot/config-`uname -r` That would be true after the system installation finishes. What I am looking for is the config file for the kernel runs the installation process. For some reasons I suspect that there might be some difference between the kernel that installs Debian and the kernel that gets installed on the hard drive. (...) You can compare both by downloading the kernel package and browsing the .deb file using MC, for instance: http://packages.debian.org/squeeze/linux-image-2.6.32-5-686 Greetings, -- Camaleón -- 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/pan.2011.07.09.10.30...@gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
On 2011-07-08 22:41 +0200, Tech Geek wrote: It should be available at /boot/config-`uname -r` That would be true after the system installation finishes. What I am looking for is the config file for the kernel runs the installation process. For some reasons I suspect that there might be some difference between the kernel that installs Debian and the kernel that gets installed on the hard drive. This might indeed be the case, however you will generally not be able to tell that from the kernel config. AFAIK the kernel in the installer is split into many small packages from the regular linux-image package. So the possible differences are version skews when a newer kernel hits the archive, and missing modules that are not packaged for the installer. Sven -- 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/87aacnwv83@turtle.gmx.de
Re: Kernel Config file for Debian Squeeze Install Disc
On 07/08/2011 03:58 PM, Tech Geek wrote: Hello, I was wondering where can I find (or view) the .config file for the kernel (vmlinuz) that comes on the Debian Squeeze install discs. I tried searching on the internet but nothing came up. It should be available at /boot/config-`uname -r` -- The algorithm to do that is extremely nasty. You might want to mug someone with it. -- M. Devine, Computer Science 340 Eduardo M KALINOWSKI edua...@kalinowski.com.br -- 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/4e1763bc.6060...@kalinowski.com.br
Re: Kernel Config file for Debian Squeeze Install Disc
It should be available at /boot/config-`uname -r` That would be true after the system installation finishes. What I am looking for is the config file for the kernel runs the installation process. For some reasons I suspect that there might be some difference between the kernel that installs Debian and the kernel that gets installed on the hard drive. To see what I am talking about, please see the bug report [1]. Thanks. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633128 -- 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/calxxvm7+tuvemvmc3pwxzvon0ty-q6g+rqqyhigmnmkm-ev...@mail.gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
On Fri 08 Jul 2011 at 11:58:00 -0700, Tech Geek wrote: Hello, I was wondering where can I find (or view) the .config file for the kernel (vmlinuz) that comes on the Debian Squeeze install discs. I tried searching on the internet but nothing came up. It is in the boot directory of the linux-image package, which is on the first disk or in the packages section at www.debian.org. -- 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/20110708203014.GE15615@desktop
Re: Kernel Config file for Debian Squeeze Install Disc
It is in the boot directory of the linux-image package, which is on the first disk or in the packages section at www.debian.org. So, from what you just said, it means that both the kernels, one that runs from the install disc and the one that gets installed on the hard drive are exactly the same, am I correct in my understanding? If yes, then the problem (about install kernel failing to detect my IDE controller) is somewhere else. Thanks. -- 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/CALXXvm76abPX=bhws_ug1fxxzuihssn9lksgcmcqrzqu8_b...@mail.gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
On Fri 08 Jul 2011 at 14:26:25 -0700, Tech Geek wrote: It is in the boot directory of the linux-image package, which is on the first disk or in the packages section at www.debian.org. So, from what you just said, it means that both the kernels, one that runs from the install disc and the one that gets installed on the hard drive are exactly the same, am I correct in my understanding? If yes, then the problem (about install kernel failing to detect my IDE controller) is somewhere else. For the list of files on the first cd (i386) there is: http://cdimage.debian.org/debian-cd/6.0.2.1/i386/list-cd/ For the kernels available in Squeeze: http://packages.debian.org/stable/kernel/ You can compare and confirm your understanding. -- 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/20110708224126.GF15615@desktop
Re: Kernel Config file for Debian Squeeze Install Disc
On 07/08/11 at 02:26pm, Tech Geek wrote: It is in the boot directory of the linux-image package, which is on the first disk or in the packages section at www.debian.org. So, from what you just said, it means that both the kernels, one that runs from the install disc and the one that gets installed on the hard drive are exactly the same, am I correct in my understanding? If yes, then the problem (about install kernel failing to detect my IDE controller) is somewhere else. Correct. The debian-installer CD for i386 is currently using the kernel from linux-image-2.6.32-5-486. You can download that package and mount/extract the ISO and compare files. ./boot/vmlinuz-2.6.32-5-486 from the package should match install.i386/vmlinuz from the ISO. The debian-installer image is automatically generated from current packages, not a custom kernel build, probably to alleviate the very concern you were talking about. -- Liam signature.asc Description: Digital signature
Re: kernel config q
On Monday, 13.10.2008 at 09:46 -0500, Hugo Vanwoerkom wrote: I am under the impression that for a kernel function, like a driver, to be present and function correctly one has to mark it either 'Y' or 'M' in the kernel .config. But that the combination of 'Y's and 'M's is immaterial as to the functioning of the driver. Am I correct? Broadly-speaking, that's correct. Compiled-in modules and stand-alone modules should behave similarly, but ... This in regard to trying to get smartctl to work with my external USB ATA drive. Which works OK with the debian kernel but not in my own compiled one. ... I've sometimes found that for ad-hoc devices which you attach during use (such as USB-stuff), using a kernel module seems to behave better. Not sure why. Why are you compiling your own kernel, if the Debian kernel works? Dave. -- Dave Ewart [EMAIL PROTECTED] Computing Manager, Cancer Epidemiology Unit University of Oxford / Cancer Research UK PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370 Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc N 51.7518, W 1.2016 signature.asc Description: Digital signature
Re: kernel config q
Dave Ewart wrote: On Monday, 13.10.2008 at 09:46 -0500, Hugo Vanwoerkom wrote: I am under the impression that for a kernel function, like a driver, to be present and function correctly one has to mark it either 'Y' or 'M' in the kernel .config. But that the combination of 'Y's and 'M's is immaterial as to the functioning of the driver. Am I correct? Broadly-speaking, that's correct. Compiled-in modules and stand-alone modules should behave similarly, but ... This in regard to trying to get smartctl to work with my external USB ATA drive. Which works OK with the debian kernel but not in my own compiled one. ... I've sometimes found that for ad-hoc devices which you attach during use (such as USB-stuff), using a kernel module seems to behave better. Not sure why. Why are you compiling your own kernel, if the Debian kernel works? It works regarding smartctl but *not* using vga=x or uvesafb, which is a severe problem compared to using smartctl. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config q
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hugo Vanwoerkom schrieb: Dave Ewart wrote: On Monday, 13.10.2008 at 09:46 -0500, Hugo Vanwoerkom wrote: [...] It works regarding smartctl but *not* using vga=x or uvesafb, which is a severe problem compared to using smartctl. For me the debian kernel works with vga=x, while x is a number chosen from the menu occuring by use vga=ask as kernel parameter. About uvesafb I don't know anything. Hugo Robert - -- ** IRTFM - -BEGIN GEEK CODE BLOCK- Version: 3.12 GS dx s: a- C++ UL++ P--- L++ E W++ N+ o K- w O-- M-- V-- PS+ PE-- Y+ PGP++ t+ 5 X- R !tv b+ DI+ D+ G e+++ h+ r++ y++ - --END GEEK CODE BLOCK-- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI84I8AhMNa+PFqP0RAqkfAJ9vRMWr5RLwJ/uNiBEosh4PmlTs4QCeJAEP m8Bik1JEkrZfi8xNkMnx5Ws= =Ezhw -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config q
Hugo Vanwoerkom: But that the combination of 'Y's and 'M's is immaterial as to the functioning of the driver. Am I correct? Generally yes. There are modules which are better compiled statically (IDE/S-ATA, filesystems) but they work either way. This in regard to trying to get smartctl to work with my external USB ATA drive. Which works OK with the debian kernel but not in my own compiled one. Are you sure you could successfully run smartctl no a drive attached via USB? As fas as I know, SMART values cannot be read from a device if it is attached to a USB port. J. -- I think the environment will be okay. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: kernel config q
Jochen Schulz wrote: Hugo Vanwoerkom: But that the combination of 'Y's and 'M's is immaterial as to the functioning of the driver. Am I correct? Generally yes. There are modules which are better compiled statically (IDE/S-ATA, filesystems) but they work either way. This in regard to trying to get smartctl to work with my external USB ATA drive. Which works OK with the debian kernel but not in my own compiled one. Are you sure you could successfully run smartctl no a drive attached via USB? As fas as I know, SMART values cannot be read from a device if it is attached to a USB port. Got the graphs to prove it. It's been discussed. I have 2 USB exterior disk enclosures, one with an ATA drive, one with a SATA drive. Under 2.6.26-1-686 (sid) I can do: smartctl -d sat /dev/sda --all -T permissive and get good data. I *cannot* do that with the SATA drive. Unfortunately I cannot determine what in the Debian .config made that work. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config: where is libata?
Hugo Vanwoerkom wrote: Hi, I can't use the Debian (Sid) kernels because VGA=nnn does not work on my box: gets 'invalid videomode'. I can use Debian kernels with uvesafb but its companion v86d dies with my new GeForce 6200 AGP after a while. But all works well when I roll my own kernel. Except then I cannot use smart with an external USB ATA disk I have. It seems the libata kernel module is missing: I see that with 2.6.26-1-686 and not with my kernel. But what CONFIG_ parm turns it on? Or where in make menuconfig does one enable it? It's this: Serial ATA (prod) and Parallel ATA (experimental) drivers but that is configured 'Y' and gets me no closer. Anybody has a link to what to turn on for smart use of external USB disks? Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel config uevent path
On 2008-07-11 09:58 +0200, David Baron wrote: Trying to compile a 2.6.25.8 kernel. The make oldconfig asks numerous questions, mostly about newly supported new hardware and options that are probably not relevant or helpful to me. However, it did ask for a uevent driver path which wants to default to /sbin/hotplug This does not exist since udev is being used. So ... Do we leave it alone to default and Doesn't do harm. When udev starts up, it overwrites that value with the empty string anyway. 1. The kernel puts something there 2. or make a symlink there to udevtrigger or something else Or do I set it directly to /sbin/udevtrigger CONFIG_UEVENT_HELPER_PATH=/sbin/udevtrigger The man for udevtrigger seems to imply that this is what would be used. A symlink might be better than compiling this in directly? Note that /sbin/udevtrigger has been removed from the udev package in the latest uploads to sid. If you want to change the value, set it to the empty string, see http://lkml.org/lkml/2007/10/12/415. Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config for AMD Athlon 64 X2 4200+ Manchester
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/08 09:42, Bernd Prager wrote: Hi, I am running kernel 2.6.23.12 and compiled with SMP on. Home-rolled or built-by-Debian? Are you sure SMP is enabled? What does uname -v say? Unfortunately the kernel doesn't recognize my dual core processor: $ dmesg | grep -i cpu CPU has 2 num_cores Processor #0 (Bootup-CPU) SMP: Allowing 1 CPUs, 0 hotplug CPUs PERCPU: Allocating 34344 bytes of per cpu data Initializing CPU#0 CPU 0: aperture @ 61000 size 32 MB CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) CPU 0/0 - Node 0 Brought up 1 CPUs $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 43 [snip] cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp Any ideas how I can configure the kernel to fix that? $ zgrep SMP /proc/config.gz CONFIG_SMP=y # CONFIG_X86_BIGSMP is not set CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_SMP=y - -- Ron Johnson, Jr. Jefferson LA USA I'm not a vegetarian because I love animals, I'm a vegetarian because I hate vegetables! unknown -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHfQYkS9HxQb37XmcRAnQVAKCSzaQevLt/p/Ldlk6zHHGtQhJhZgCfUCVt ZkngtA35rVdrRaftmjF6Xnw= =B2p5 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config for AMD Athlon 64 X2 4200+ Manchester
On Thu, 03 Jan 2008 09:58:28 -0600, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/08 09:42, Bernd Prager wrote: Hi, I am running kernel 2.6.23.12 and compiled with SMP on. Home-rolled or built-by-Debian? Home-rolled Are you sure SMP is enabled? What does uname -v say? Linux gertrud 2.6.23.12 #1 SMP Wed Jan 2 11:21:26 EST 2008 x86_64 GNU/Linux Unfortunately the kernel doesn't recognize my dual core processor: $ dmesg | grep -i cpu CPU has 2 num_cores Processor #0 (Bootup-CPU) SMP: Allowing 1 CPUs, 0 hotplug CPUs PERCPU: Allocating 34344 bytes of per cpu data Initializing CPU#0 CPU 0: aperture @ 61000 size 32 MB CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) CPU 0/0 - Node 0 Brought up 1 CPUs $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 43 [snip] cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp Any ideas how I can configure the kernel to fix that? $ zgrep SMP /proc/config.gz CONFIG_SMP=y # CONFIG_X86_BIGSMP is not set CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_SMP=y - -- Ron Johnson, Jr. Jefferson LA USA I'm not a vegetarian because I love animals, I'm a vegetarian because I hate vegetables! unknown -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHfQYkS9HxQb37XmcRAnQVAKCSzaQevLt/p/Ldlk6zHHGtQhJhZgCfUCVt ZkngtA35rVdrRaftmjF6Xnw= =B2p5 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Bernd Prager -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config besorgen ohne installieren des kernel-image
Quoting Andy Beuth [EMAIL PROTECTED]: Hi Leute, hat jemand ne Idee zu folgendem Problem. ich möchte z.B. die .config Datei vom Kernel image 2.6.10 seperieren um meinen eigenen Kernel zu backen. Allerdings möchte ich nicht erst das kernel-image-2.6.10 installieren. Hat da jemand ne gute Idee?? Wenn Du einen schon laufenden Kernel hast, dann gibt's da: zcat /proc/config.gz oder wenn Dir eine default-Konfiguration reicht, gibt's im Kernel-source unter arch/i386/defconfig.* mehrere default-Konfigurationen. Diese default-configs werden beim Kernel bauen mit make oldconfig verwendet. Die config-Dateien kannst Du Dir auch von www.bitkeeper.com holen, z.B. hier: http://linux.bkbits.net:8080/linux-2.6/src/arch/i386?nav=index.html|src/|src/arch Ciao, Georg -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config besorgen ohne installieren des kernel-image
Gruesse! * Andy Beuth [EMAIL PROTECTED] schrieb am [16.03.05 13:34]: Hi Leute, hat jemand ne Idee zu folgendem Problem. ich möchte z.B. die .config Datei vom Kernel image 2.6.10 seperieren um meinen eigenen Kernel zu backen. Allerdings möchte ich nicht erst das kernel-image-2.6.10 installieren. Hat da jemand ne gute Idee?? Du meinst die .config, die in den jeweiligen Debian kernel-images verwendet wird? Diese steht auch in den jweiligen kernel-headers-2.X Paketen drin. Du kann ja z.B. mit apt-get auch nur das Paket downloaden, ohne zu installieren. Siehe man apt-get Grüsse Andy Gruß Gerhard -- MSCI - M$cro Soft Certificated Installer
Re: Kernel .config
Marcos Vinicius Lazarini wrote: Olá, posso estar enganado, mas por algum motivo obscuro, quando vc Também posso estar enganado, mas ... instala o kernel source ele grava no diretorio /boot (!?) o arquivo .config com o nome de config-2.x.y. Acho que esse é o default. Notei que este config-xxx, é instalado quando você instala uma nova imagem do kernel e não um source. Já instalei várias vezes o fonte e nada foi alterado no meu /boot, mas depois que compilava, gerava um .deb e instalava, aí tinha um novo config no /boot. Tanto que quando vou compilar um novo, de mesma versão, faço cp /boot/config-xxx /usr/src/linux/.config , pois as vezes apago o kernel-source pra liberar espaço. Abraços. -- jupercio juliano Jabber: jupercio at jabber.org Debian-BR-CDD, Debian para desktop com a cara do Brasil http://cdd.debian-br.org
Re: Kernel .config
--- Equipe de Suporte Aberium [EMAIL PROTECTED] escreveu: Olá. Eu estou procurando o .config original do kernel do Debian (Sarge, Kernel 2.6.6), eu lembro que antes eu podia fazer: zcat /proc/config.gz /usr/src/kernel-source-2.6.6/.config Que funcionava, mas agora não encontro o /proc/config.gz, alguém tem o arquivo ou alguma dica de como encontrá-lo? Imagino que , infelizmente, o Kernel .config support, não esteja habilitado neste kernel. [] 's = Rauklei P.S. Guimarães -- Powered by Debian/GNU/Linux ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/
Re: Kernel .config
Equipe de Suporte Aberium wrote: Olá. Eu estou procurando o .config original do kernel do Debian (Sarge, Kernel 2.6.6), eu lembro que antes eu podia fazer: zcat /proc/config.gz /usr/src/kernel-source-2.6.6/.config Que funcionava, mas agora não encontro o /proc/config.gz, alguém tem o arquivo ou alguma dica de como encontrá-lo? Obrigado. Olá, posso estar enganado, mas por algum motivo obscuro, quando vc instala o kernel source ele grava no diretorio /boot (!?) o arquivo .config com o nome de config-2.x.y. Acho que esse é o default. Agora nao me pergunte o que o /boot tem a ver com o .config do kernel... Esse lance do /proc/config.gz é o esquema, eu sempre habilito ele nos que eu compilo; não sei pq isso não vem habilitado - é muito útil. -- Marcos Lazarini
Re: Kernel config will nicht
On Thu, Jun 24, 2004 at 02:02:04PM +0200, Thomas Grieder wrote: Habe ein Problem bei Kernel konfigurieren. Ich möchte einen 2.4.19er backen, Warum einen so alten Kernel mit bekannten Sicherheitslücken? In file included from checklist.c:24: dialog.h:22: sys/types.h: No such file or directory dialog.h:23: fcntl.h: No such file or director Dir fehlt libc6-dev. Grüße, Torsten -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config will nicht
apt-get install libncurses5-de...?! gruss lars På 24. jun. 2004 kl. 14.02 skrev Thomas Grieder: Hallo Liste Habe ein Problem bei Kernel konfigurieren. Ich möchte einen 2.4.19er backen, bekomme aber folgende Fehlermeldung wenn ich make menuconfig aufrufe. Im Internet habe ich leider nichts vernünftiges gefunden. Ich habe es mit gcc-2.95 und gcc-3.3 versucht. moon:/usr/src/linux# make menuconfig 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.4.19/scripts/lxdialog' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC=ncurses.h -c -o checklist.o checklist.c In file included from checklist.c:24: dialog.h:22: sys/types.h: No such file or directory dialog.h:23: fcntl.h: No such file or directory dialog.h:24: unistd.h: No such file or directory dialog.h:25: ctype.h: No such file or directory dialog.h:26: stdlib.h: No such file or directory dialog.h:27: string.h: No such file or directory In file included from dialog.h:29, from checklist.c:24: /usr/include/ncurses.h:101: stdio.h: No such file or directory make[1]: *** [checklist.o] Error 1 make[1]: Leaving directory `/usr/src/kernel-source-2.4.19/scripts/lxdialog' make: *** [menuconfig] Error 2 moon:/usr/src/linux# Danke Thomas -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config will nicht
Torsten Schneider wrote: On Thu, Jun 24, 2004 at 02:02:04PM +0200, Thomas Grieder wrote: Habe ein Problem bei Kernel konfigurieren. Ich möchte einen 2.4.19er backen, Warum einen so alten Kernel mit bekannten Sicherheitslücken? Mit 2.6.x habe ich es auch probiert: Ohne erfolg. Aber einen 2.4.x Kernel benötige ich für die Compaq Health Tools. Die lassen sich nicht mit 2.6.x'er Kernel kompilieren. In file included from checklist.c:24: dialog.h:22: sys/types.h: No such file or directory dialog.h:23: fcntl.h: No such file or director Dir fehlt libc6-dev. Habe ich scho istalliert mit Version 2.3.2.ds1-12 Grüße, Torsten Thomas -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config will nicht
Lars Behrens wrote: apt-get install libncurses5-de...?! ist mit Version 5.4-4 installiert. gruss lars [...] Thomas -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config will nicht
On Thu, Jun 24, 2004 at 02:15:55PM +0200, Thomas Grieder wrote: Warum einen so alten Kernel mit bekannten Sicherheitslücken? Mit 2.6.x habe ich es auch probiert: Ohne erfolg. Aber einen 2.4.x Kernel benötige ich für die Compaq Health Tools. Die lassen sich nicht mit 2.6.x'er Kernel kompilieren. Es gibt aber auch wesentlich neuere Kernel als den .19, aktuell ist 2.4.26. dialog.h:22: sys/types.h: No such file or directory dialog.h:23: fcntl.h: No such file or director Dir fehlt libc6-dev. Habe ich scho istalliert mit Version 2.3.2.ds1-12 Kann nicht sein. Liegen die gesuchten Files in /usr/include? Grüße, Torsten -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config will nicht
Torsten Schneider wrote: On Thu, Jun 24, 2004 at 02:15:55PM +0200, Thomas Grieder wrote: Warum einen so alten Kernel mit bekannten Sicherheitslücken? Mit 2.6.x habe ich es auch probiert: Ohne erfolg. Aber einen 2.4.x Kernel benötige ich für die Compaq Health Tools. Die lassen sich nicht mit 2.6.x'er Kernel kompilieren. Es gibt aber auch wesentlich neuere Kernel als den .19, aktuell ist 2.4.26. dialog.h:22: sys/types.h: No such file or directory dialog.h:23: fcntl.h: No such file or director Dir fehlt libc6-dev. Habe ich scho istalliert mit Version 2.3.2.ds1-12 Kann nicht sein. Liegen die gesuchten Files in /usr/include? Ja, da waren files vom 2.4.19er Kernel. Gelinkt von /usr/src/linux. Ich habe libc6-dev und ncurses5-dev und alle kernel-sources deinstalliert. Versuche es nochmals von null auf. Grüße, Torsten Gruss Thomas -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config will nicht - gelst
Thomas Grieder wrote: Torsten Schneider wrote: [...] Ja, da waren files vom 2.4.19er Kernel. Gelinkt von /usr/src/linux. Ich habe libc6-dev und ncurses5-dev und alle kernel-sources deinstalliert. Versuche es nochmals von null auf. Hmmm. Habe den Fehler gefunden, aber manchmal muss man jemanden von aussen haben. Ich hatte unter /usr ein Verzeichnis include.old. Da sind alle nötigen Dateien drin. Den Link auf /usr/src/linux/include war falsch Herzlichen Dank für eure Hilfe ! Gruss Thomas -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config
On 05.Apr 2004 - 13:47:52, Elmar W. Tischhauser wrote: Hallo! On 05 Apr 2004 at 11:52 +0200, Torsten Pfahl wrote: Ansonsten ist FTP für alles außer das öffentliche Bereitstellen von Daten via anonymous ftp ungeeignet. Es existieren bessere Alternativen; welche für dich am besten passt, hängt davon ab, was du mit dem FTP-Server genau erreichen willst. Hmm, vielleicht kannst du mir nen Tipp geben: Folgenden Anforderungen: Hier Debian sid, ein Haufen Digi-Pics. Dort Windows Clients, einiges an digitalem Bloedsinn. Ich will den Bloedsinn gegen die Digi-Pics tauschen. Sprich die Leute am anderen Ende ziehen sich meine Bilder und hin und wieder legen die mir Murphy's Laws oder so auf den FTP (oder auch wichtigeres). proftpd mit gnutls geht muesste ich nur nochmals mit den Clients testen. winscp+ssh kommt nicht in die Tuete, ich will naemlich kein $HOME extra dafuer anlegen und die User sollen auch keinen Zugriff auf meines. Andreas -- I look at life as being cruise director on the Titanic. I may not get there, but I'm going first class. -- Art Buchwald -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config
Hallo! On 05 Apr 2004 at 23:25 -0700, Andreas Pakulat wrote: On 05.Apr 2004 - 13:47:52, Elmar W. Tischhauser wrote: Ansonsten ist FTP für alles außer das öffentliche Bereitstellen von Daten via anonymous ftp ungeeignet. Es existieren bessere Alternativen; welche für dich am besten passt, hängt davon ab, was du mit dem FTP-Server genau erreichen willst. [Debian-Server, Windows-Clients] Sprich die Leute am anderen Ende ziehen sich meine Bilder und hin und wieder legen die mir Murphy's Laws oder so auf den FTP (oder auch wichtigeres). Vorschläge: HTTPS mit Clientzertifikaten, WebDAV over SSL, sftp/scp, rsync over ssh. proftpd mit gnutls geht muesste ich nur nochmals mit den Clients testen. Solang das (wie ich herauszuhören meine) nur das interne Netz betrifft, wäre FTP over SSL schon eher noch eine Möglichkeit, weil da sämtliche Probleme mit dem Firewalling wegfallen dürften, es sei denn, es sind gegeneinander abgeschirmte Teilnetze des LANs im Spiel. Wenn Clients aber doch z.B. aus dem WAN kommen dürfen, hätte ich nicht die Nerven dazu; durch die Trennung von Daten- und Kontrollkanal ist FTP (aus Firewallsicht) an sich schon schwierig zu handhaben, der Einsatz von TLS macht das natürlich nicht besser. winscp+ssh kommt nicht in die Tuete, ich will naemlich kein $HOME extra dafuer anlegen und die User sollen auch keinen Zugriff auf meines. Verständlich. Es gibt allerdings sowohl einen chroot-Patch für den sshd als auch spezielle Shells wie z.B. scponly oder rssh, welche kein interaktives Login erlauben. Vielleicht wäre das ja was für dich. Gruß, Elmar -- [ GnuPG: D8A88C0D / 2407 063C 1C92 90E9 4766 B170 5E95 0D7F D8A8 8C0D ] ··· Friends don't let friends use windows. pgp0.pgp Description: PGP signature
Re: Kernel config
On 06.Apr 2004 - 12:25:13, Elmar W. Tischhauser wrote: Hallo! On 05 Apr 2004 at 23:25 -0700, Andreas Pakulat wrote: On 05.Apr 2004 - 13:47:52, Elmar W. Tischhauser wrote: Ansonsten ist FTP für alles außer das öffentliche Bereitstellen von Daten via anonymous ftp ungeeignet. Es existieren bessere Alternativen; welche für dich am besten passt, hängt davon ab, was du mit dem FTP-Server genau erreichen willst. [Debian-Server, Windows-Clients] Sprich die Leute am anderen Ende ziehen sich meine Bilder und hin und wieder legen die mir Murphy's Laws oder so auf den FTP (oder auch wichtigeres). Vorschläge: HTTPS mit Clientzertifikaten, WebDAV over SSL, sftp/scp, webdav, https??? ok, das erstere ermoeglicht den Upload das 2. den Download. Aber den Kram extra aufsetzen um ein paar private Files zu verschieben? Overkill wuerde ich sagen. sftp/scp kommt wie gesagt nicht in Frage, da die Clients keinen Zugriff auf ein $HOME kriegen sollen. rsync over ssh. Noe, nicht komfortabel genug. proftpd mit gnutls geht muesste ich nur nochmals mit den Clients testen. Solang das (wie ich herauszuhören meine) nur das interne Netz betrifft, wäre FTP over SSL schon eher noch eine Möglichkeit, weil da sämtliche Probleme mit dem Firewalling wegfallen dürften, es sei denn, es sind gegeneinander abgeschirmte Teilnetze des LANs im Spiel. Hmm, welche Probleme ergeben sich denn bitte wenn ich FTP/TLS nehme und dass dann fuers I-Net bereitstelle? Also bisher klappt das (ohne TLS) ganz gut und die Testlaeufe mit TLS gingen auch?? Wenn Clients aber doch z.B. aus dem WAN kommen dürfen, hätte ich nicht die Nerven dazu; durch die Trennung von Daten- und Kontrollkanal ist FTP (aus Firewallsicht) an sich schon schwierig zu handhaben, der Einsatz von TLS macht das natürlich nicht besser. Hmm, wieso? Ok, mein Rechner ist nicht abgeschirmt wie ein Atombunker... Mein Router laesst ftp und ssh durch, die iptables auf dem lokalen Rechner ebenfalls nur dass und Verbindungen die auf bereits existierenden aufsetzen (state:RELATED,ESTABLISHED). Und Verbindungen nach aussen hab ich nicht weiter eingeschraenkt. winscp+ssh kommt nicht in die Tuete, ich will naemlich kein $HOME extra dafuer anlegen und die User sollen auch keinen Zugriff auf meines. Verständlich. Es gibt allerdings sowohl einen chroot-Patch für den sshd als auch spezielle Shells wie z.B. scponly oder rssh, welche kein interaktives Login erlauben. Vielleicht wäre das ja was für dich. chroot-Patch == Selberbauen des sshd == zu viel Arbeit. Spezielle Loginshells - ne Moeglichkeit wenn ich sehe das ftp/tls wirklich ein Scheunentor ist. Andreas -- Many are called, few volunteer. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config
ich möchte mir einen kleinen Server unter Debian aufsetzen. Er soll folgende Dienste bereitstellen: SMB, Mail, Web, FTP und eine auf IPTables basierende Firewall haben. Auch möchte ich ihn als DSL-Router einsetzen, sodass mein internes Netzwerk über ihn auf das Internet zugreifen kann. Denk' drann, dass es besser wäre die Router/Firewall funktionalität davon zu trennen. Aber das war ja nicht die Frage ;-) Meine Frage lautet nun, was wäre eine sinnvolle Kernel config um das alles zu ermöglichen? Was ist unbedingt notwendig und was kann ich getrost raus schmeißen? Ich würde mich freuen, wenn jemand ein paar nützliche Infos dazu hat. Kernel Version kann ein 2.4.25 oder ein 2.6.5 sein. Wenn es für dich so 'ne Eierlegende Wollmilchsau werden soll, würde einen Standardkernel nehmen. SO viel Ram/Geschwindigkeit kann man nun auch wieder nicht sparen/herauskitzeln. Hat auch den Vorteil, dass ggf. ein Update des Kernels ohne viel Stress machen kannst. Ansonsten gilt: Die beim booten benötigten Treiber rein, der Rest als Modul (z.B ISDN, SCSI Emulation oder die exotischen Filesystemtreiber) Naja, ich mag eben Debian auf so 08/15 Servern, weils einfach läuft. Hab' genug Stress mit Debian auffm Desktop *g* Gruss, JT -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config
Torsten Pfahl schrieb: Ich würde mich freuen, wenn jemand ein paar nützliche Infos dazu hat. Kernel Version kann ein 2.4.25 oder ein 2.6.5 sein. Und wie oft willst Du diese Nachricht jetzt ncoh hier rauspusten? Chris -- This message was ROT-13 encrypted twice for extra security. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel config
Am Dienstag, 6. April 2004 21:18 schrieb Torsten Pfahl: Hallo Liste, ich möchte mir einen kleinen Server unter Debian aufsetzen. Er soll folgende Dienste bereitstellen: SMB, Mail, Web, FTP und eine auf IPTables basierende Firewall haben. Auch möchte ich ihn als DSL-Router einsetzen, sodass mein internes Netzwerk über ihn auf das Internet zugreifen kann. Meine Frage lautet nun, was wäre eine sinnvolle Kernel config um das alles zu ermöglichen? Was ist unbedingt notwendig und was kann ich getrost raus schmeißen? Das einzige, wofür du in der Kernel-config beachten mußt, um das zu ermöglichen, sind die Netfilter für iptables. Dabei, falls du Masquerading haben willst (mehrere Rechner gehen über den Debian-Server ins Netz) auch die Masquerading Option. Alles andere sind Programme, die du installieren kannst, die haben aber mit dem Kernel nichts zu tun. Die restliche Config hängt von deiner Hardware (board, Netzwerkkarten, usw.) ab. Ich würde mich freuen, wenn jemand ein paar nützliche Infos dazu hat. Kernel Version kann ein 2.4.25 oder ein 2.6.5 sein. Zu 2.6.X kann ich nicht viel sagen, habe aber in der Shorewall Mailingliste gelesen, das iptables unter 2.4 besser sein sollen. (irgendein IPSEC..., weiß nicht genau, wass das ist, aber du kannst ja mal die Achives auf http://www.shorewall.net durchsuchen. Thread: Support for kernel 2.6? Vielen Dank schon mal im Voraus. mfg Torsten Pfahl MfG Jan -- OpenPGP public key available: http://home.arcor.de/jan.kohnert/gnupg_publickey.asc Key-Fingerprint: BA8E 11D1 FE7C 9353 7276 5375 486E 9BED 2B03 DF29 pgp0.pgp Description: signature
Re: Kernel config
Hallo! On 05 Apr 2004 at 11:52 +0200, Torsten Pfahl wrote: ich möchte mir einen kleinen Server unter Debian aufsetzen. Er soll folgende Dienste bereitstellen: SMB, Mail, Web, FTP und eine auf IPTables basierende Firewall haben. Auch möchte ich ihn als DSL-Router einsetzen, sodass mein internes Netzwerk über ihn auf das Internet zugreifen kann. Weder externe noch interne Dienste gehören auf einen Router, das würde ich unbedingt auftrennen. Ansonsten ist FTP für alles außer das öffentliche Bereitstellen von Daten via anonymous ftp ungeeignet. Es existieren bessere Alternativen; welche für dich am besten passt, hängt davon ab, was du mit dem FTP-Server genau erreichen willst. Meine Frage lautet nun, was wäre eine sinnvolle Kernel config um das alles zu ermöglichen? Was ist unbedingt notwendig und was kann ich getrost raus schmeißen? Der Kernel hat damit, ob ein Rechner als Mailserver oder als Workstation eingesetzt wird, noch recht wenig zu tun, viel wichtiger ist eine sichere Konfiguration der angebotenen Dienste. Einfach wie üblich nur das einkompilieren, was deine Hardware und deine Dateisysteme erfordern und natürlich an die iptables-Module denken. Oft wird für exponierte Server die Verwendung des Grsecurity-Patches empfohlen. Der genauso oft zu hörende Tipp, auf Modulunterstützung zu verzichten, schafft hingegen wenig mehr als Scheinsicherheit (Stichwort /dev/kmem). Wenn du zusätzlich zum Unix-Rechtemodell role-based oder mandatory access control willst, könnten rsbac oder SELinux was für dich sein. Ansonsten ist noch das Securing Debian Manual (Paket harden-doc) zu nennen, da sind viele nützliche Tipps enthalten. Gruß und viel Erfolg, Elmar -- [ GnuPG: D8A88C0D / 2407 063C 1C92 90E9 4766 B170 5E95 0D7F D8A8 8C0D ] ··· A mouse is a device used to point at the xterm you want to type in. pgp0.pgp Description: PGP signature
Re: Kernel config
Hallo Torsten, Torsten Pfahl, 05.04.2004 (d.m.y): Meine Frage lautet nun, was wäre eine sinnvolle Kernel config um das alles zu ermöglichen? Das kannst vermutlich nur Du selbst entscheiden, denn wir wissen nicht, was fuer Hardware usw. Du einsetzt. - Kernelbau hat immer ein wenig von Learning by doing. ;-) Mit dem Paket kernel-package und Lektuere der zugehoerigen Doku kannst Du auf recht einfache Weise mit dpkg installierbare .deb-Pakete erzeugen - die wird man dann ggf. auch einfach wieder los... Gruss viel Erfolg, Christian -- Mikee hat Melanie getriggert. -- Klaus Knopper pgp0.pgp Description: PGP signature
Re: kernel config files
Tom Allison wrote: Is there some way to capture the .config file of my currently runing system. /boot/config-`uname -r` has the config of the running kernel. pgp0.pgp Description: PGP signature
Re: kernel config files
Travis Crump wrote: Tom Allison wrote: Is there some way to capture the .config file of my currently runing system. /boot/config-`uname -r` has the config of the running kernel. So I can copy this to /usr/src/linux/.config and I'm off to the races? -- What are we going to do tonight, Bill? Same thing we do every night Steve, try to take over the world! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config files
Travis Crump wrote: Tom Allison wrote: Is there some way to capture the .config file of my currently runing system. /boot/config-`uname -r` has the config of the running kernel. As it turns out I don't need to build a new kernel or do I? I thought I had to build a new kernel in order to load up the via82cxxx module so that I could use DMA on my hard drives. But it seems that it's already loaded as a module: via82cxxx 10696 1 (autoclean) ide-core 97656 4 (autoclean) [usb-storage ide-scsi ide-detect via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old opti621 ns87415 hpt366 ide-disk hpt34x generic cy82c693 cs5530 cmd64x cmd640 amd74xx alim15x3 aec62xx adma100 pdc202xx_new] However, it doesn't work at all. I tried turning on DMA and the system went to pieces in seconds. -- This sentence no verb. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config files
On Fri, 2003-09-12 at 18:34, Tom Allison wrote: I think I have to build my own kernel because I have problems with my motherboard. When I turn on dma, the hard drive starts having errors like crazy. lspci says this: IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP]) I'm pretty sure that's problematic. IIRC the kernel-source is based on the kernel.org source. I would like to be able to capture the current configuration and patch-levels for the kernel-image-2.4.22-1-k7 and make the one modification that I require, rather than starting over from scratch and hoping I get it right the first time. Is there some way to capture the .config file of my currently runing system. Yes: /boot/config-2.4.18-1-k7 Then do the subwiki thing: http://subwiki.honeypot.net/cgi-bin/view/Main/DebianKernelBuilding Cheers! -- greg, [EMAIL PROTECTED] REMEMBER ED CURRY! http://www.iwethey.org/ed_curry Dear Tom, You seemed nice at first, and spoiled me with unconsciencable fruits, but now, y ou have gone too far! Assalting and recremending me in signature.asc Description: This is a digitally signed message part
Re: Kernel-config
Juergen Bausa [EMAIL PROTECTED] wrote: Ich habe woody mit dem 2.4.18-bf2.4 Kernel installiert und wollte mir jetzt einen eigenen 2.4.21-Kernel übersetzen, der dann auf mein System angepasst ist. Ich hab jetzt schon mehrmals übersetzt, aber genau das, was ich möchte hab ich noch nicht hinbekommen, da es einfach zu viele Optionen gibt, deren Wirkungsweise ich nicht genau kenne. Da der 2.4.18-bf2.4 Kernel bei mir sehr gut gelaufen ist, würde ich ihn gerne als Startpunkt nehmen, von dem aus ich dann einige Änderungen einbauen kann (Anpassung an Prozessor, nicht benötigte Treiber raus, was ich wirklich brauche nicht als Modul, sondern fest einkompilieren). Dazu brauchte ich die config von dem 2.4.18-bf2.4 Kernel, der als kernel-image auf den cds (bzw. unter debian.security) zu finden ist. Wie kann man da ran kommen? hm, gibt's da nicht immer sowas wie /boot/config-2.4.18-bf2.4? gruß Frank -- There are no threads in alt.binaries.pictures.erotica, so there's no gain in using a threaded news reader. -- unknown source -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Kernel-config
On 11.Aug 2003 - 13:19:51, Juergen Bausa wrote: Ich habe woody mit dem 2.4.18-bf2.4 Kernel installiert und wollte mir jetzt einen eigenen 2.4.21-Kernel übersetzen, der dann auf mein System angepasst ist. Ich hab jetzt schon mehrmals übersetzt, aber genau das, was ich möchte hab ich noch nicht hinbekommen, da es einfach zu viele Optionen gibt, deren Wirkungsweise ich nicht genau kenne. mach ein make menuconfig und du bekommst bei so ziemlich jeder Option mit ? eine kurze Erklärung. Zum Teil wird dort dann auf Dokumentation des Kernels verwiesen, die in $kernel-src/Documentation liegt. Da der 2.4.18-bf2.4 Kernel bei mir sehr gut gelaufen ist, würde ich ihn gerne als Startpunkt nehmen, von dem aus ich dann einige Änderungen einbauen kann (Anpassung an Prozessor, nicht benötigte Treiber raus, was ich wirklich brauche nicht als Modul, sondern fest einkompilieren). Dazu brauchte ich die config von dem 2.4.18-bf2.4 Kernel, der als kernel-image auf den cds (bzw. unter debian.security) zu finden ist. Wie kann man da ran kommen? [EMAIL PROTECTED]:~ls /boot/config-2.* /boot/config-2.4.18-bf2.4 /boot/config-2.4.21 /boot/config-2.4.20 /boot/config-2.6.0-test2-1-386 /boot/config-2.4.20newalsa Alles klar?! Andreas -- Ein Hacker macht einen Fehler nur einmal versehentlich. Dann immer mit Absicht. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
Eric Marchionni wrote: hi liste wo krieg ich meine kernel config her? ich habe gar keine kernel-sourcen in /usr/src geschweige denn ein .conf! hat jemand einen tip? thx eric Je nach Prozessortyp gibt es .config auch in entsprechenden kernel header Paketen. gw -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
Andreas Pakulat schrieb: wo krieg ich meine kernel config her? Aus dem Source-Paket zum entsprechenden Kernel-Image-Paket. Falsch, die .config ist in den kernel-image-* Paketen enthalten und Flasch verstanden (ok, zu knapp formuliert ;-). Ich rede vom Source des Paketes, nicht vom Kernel-Source-Paket. In Debianisch (auf woody): cd /tmp apt-get source kernel-image-2.4.18-1-386 ls -la kernel-image-2.4.18-1-i386-2.4.18/config/ Dort liegen alle Configs. Das Paket hat nur um die 80KiB. -- [EMAIL PROTECTED] -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
Eric Marchionni schrieb: wo krieg ich meine kernel config her? ich habe gar keine kernel-sourcen in /usr/src geschweige denn ein .conf! Aus dem Source-Paket zum entsprechenden Kernel-Image-Paket. -- [EMAIL PROTECTED] -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
On 15.Jun 2003 - 22:53:04, Rainer Ellinger wrote: Eric Marchionni schrieb: wo krieg ich meine kernel config her? ich habe gar keine kernel-sourcen in /usr/src geschweige denn ein .conf! Aus dem Source-Paket zum entsprechenden Kernel-Image-Paket. Falsch, die .config ist in den kernel-image-* Paketen enthalten und liegt dann wie schon erwähnt unter /boot In den kernel-source Paketen ist keine .config drin Andreas -- Ihr seid alle durchgeknallt. -- Olaf Titz zu Mail Wars zwischen P. Mandrella und R. Babel -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
Eric Marchionni schrieb/wrote: wo krieg ich meine kernel config her? ls -a /boot ich habe gar keine kernel-sourcen in /usr/src geschweige denn ein .conf! apt-get install kernel-source-gewuenschteVersion cp /boot/config-DeineVersion /usr/src/linux/.config make oldconfig usw. Gruss, Christian -- Christian Schmidt | Germany | [EMAIL PROTECTED] PGP Key ID: 0x28266F2C -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
Hi, On Fri, Jun 06, 2003 at 05:33:19PM +0200, Eric Marchionni wrote: hi liste wo krieg ich meine kernel config her? ich habe gar keine kernel-sourcen in /usr/src geschweige denn ein .conf! hat jemand einen tip? Ich nehme mal an, du hasst keinen selbst kompilierten Kernel. Dann ist /boot/config-kernelversion das was du suchst. Gruß Micha -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel config
On Fri, 06 Jun 2003 17:33:19 +0200 Eric Marchionni [EMAIL PROTECTED] wrote: hi liste wo krieg ich meine kernel config her? ich habe gar keine kernel-sourcen in /usr/src geschweige denn ein .conf! hat jemand einen tip? thx eric Hallo, gucke ma unter /boot. Bye Mario -- mmuellerss \\:// [EMAIL PROTECTED] Mario Mueller(o -) http://forum.winner.de Barbarastrasse 6 ---ooO-(_)-Ooo--- tel 01212 / 511568109 99752 BleicherodeSylpheed-Claws auf Debian -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: kernel .config file
dizma said: Hi there When I make: apt-get install kernel-source-2.4.18 debian woody install in /usr/src: kernel-source-2.4.18.tar.bz2 after that I bzip2 this archive... So my question is how to load the current kernel and modules configuration in .config file dizma You want the config that came with the stock Debian kernel that's currently running on your machine? If so, copy /boot/config-current-kernel-name to /usr/src/kernel-source-2.4.18/.config. -- Kurt Yoder Sport Health network administrator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel .config file
Exactly!!! Thanks man...I didn't notice that I have config in /boot dizma - Original Message - From: Kurt Yoder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, October 25, 2002 4:57 PM Subject: Re: kernel .config file dizma said: Hi there When I make: apt-get install kernel-source-2.4.18 debian woody install in /usr/src: kernel-source-2.4.18.tar.bz2 after that I bzip2 this archive... So my question is how to load the current kernel and modules configuration in .config file dizma You want the config that came with the stock Debian kernel that's currently running on your machine? If so, copy /boot/config-current-kernel-name to /usr/src/kernel-source-2.4.18/.config. -- Kurt Yoder Sport Health network administrator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[solved]Re: kernel config from kernel_image
iain d broadfoot wrote: arse. i backed up my kernel_image.deb, and my ~, but i forgot about my kernel config file... :( is there ANY way to get it from the image I have? it'd really really suck if i had to go through all the guesswork again. will hunt alone for now... ;-) love, iain dpkg-query -L kernel-image-2.4.19 (list all files owned by package) . .. /boot/config-2.4.19 .. . ;-) i love debian... iain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel config
Le lun 12/08/2002 à 14:34, Vranckx Patrick a écrit : Bonjour, J'ai installé les sources du kernel mais où puis-je trouver le fichier de config du kernel qui est utilisé dans la distrib pour bf24 ? Je crois qu'il est dans /boot/config-bf24 ou quelque chose comme ça. Régis.
Re: kernel config
On 12 Aug 2002, Régis Grison wrote: Le lun 12/08/2002 à 14:34, Vranckx Patrick a écrit : Bonjour, J'ai installé les sources du kernel mais où puis-je trouver le fichier de config du kernel qui est utilisé dans la distrib pour bf24 ? Je crois qu'il est dans /boot/config-bf24 ou quelque chose comme ça. Régis. Merci ! C'est pas facile de retrouver les fichiers quand on vient d'une autre distrib. Patrick -- VRANCKX Patrick [EMAIL PROTECTED] Service d'Informatique Administrative - SIA Universite Catholique de Louvain - UCL +32 10 47 38 70
Re: kernel config file (was Re: Upgrade to kernel 2.4.* on woody - easy?)
Christoffer Quest, Wed, Mar 20, 2002 at 07:19:27PM +0100: Could you tell me where I find the config file for the kernel-image? I also want to compile my own custom kernel for debugging proposes, but don't want to configure it totally myself. IIRC it's included in the kernel-image* debs. usually as boot/config-X.Y.Z g -- Brought to you by Debian 3.0 Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown pgpqV5g5M6YpH.pgp Description: PGP signature
Re: kernel config file (was Re: Upgrade to kernel 2.4.* on woody - easy?)
Am Mittwoch, 20. März 2002 16:54 schrieb Tony Crawford: It was pretty painless for me. I started with the kernel- image_2.4.17-bf... package, which is intended to run on most equipment, then I started with its config file when I needed a custom 2.4.x kernel. Could you tell me where I find the config file for the kernel-image? I also want to compile my own custom kernel for debugging proposes, but don't want to configure it totally myself. Thanks, For an installed kernel-image you can find the config file in /boot. For a non installed (only downloaded) kernel-image package, the easiest way might be to unpack it in a temporary place and look for the boot sub directory. Christoffer -- Christoffer Quest e-Mail: [EMAIL PROTECTED] HP: http://www.christoffer-quest.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Shaul Karl email: shaulka(at-no-spam)bezeqint.net Please substitute (at-no-spam) with an at - @ - character. (at-no-spam) is meant for unsolicitate mail senders only.
Re: Kernel config: make menuconfig: cannot find ncurses
You'll need to install the -dev package as well, in order to use menuconfig. On Fri, Dec 14, 2001 at 11:26:43PM -0300, Daniel Toffetti wrote: Hi all ! I'm trying to compile a new (2.4.13) kernel on an old 486 box. When I try to configure it with make menuconfig I get the following error: = Start of the error message = rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux/scripts/lxdialog' /usr/bin/ld: cannot find -Incurses collect2: ld returned 1 exit status Unable to find the Ncurses libraries. You must have Ncurses installed in order to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog' make: *** [menuconfig] Error 2 = End of the error message = So, 'make menuconfig' claims that ncurses is not installed. Searching for 'ncurses' in dselect shows that libncurses5, ncurses-base, ncurses-bin and ncurses-term are installed. libncurses5-dev and libncurses5-dbg are not installed. The box is a recent potato installation upgraded to woody, running as a proxy. This is the first time I try to compile the kernel on this machine, and I never had problems compiling the kernel before on other boxes. I use kernel-package. Any help on this ?? Thanks in advance !! Daniel -- There is no spoon... - The Matrix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel config: make menuconfig: cannot find ncurses
Unable to find the Ncurses libraries. You must have Ncurses installed in order to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog' make: *** [menuconfig] Error 2 = End of the error message = So, 'make menuconfig' claims that ncurses is not installed. Searching for 'ncurses' in dselect shows that libncurses5, ncurses-base, ncurses-bin and ncurses-term are installed. libncurses5-dev and libncurses5-dbg are not installed. you need libncurses5-dev The box is a recent potato installation upgraded to woody, running as a proxy. This is the first time I try to compile the kernel on this machine, and I never had problems compiling the kernel before on other boxes. I use kernel-package. Any help on this ?? Thanks in advance !! Daniel -- There is no spoon... - The Matrix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] = S.KIEU http://greetings.yahoo.com.au - Yahoo! Greetings - Send your festive greetings online!
Re: kernel .config
On Wed, Nov 07, 2001 at 12:30:25PM +1100, Richardson, Martin wrote: Greetings everybody, is there a template or a default .config for compiling a Debian kernel from source, keeping the binary's defaults. /boot/config-2.4.12-686 on my machine. kernel version and arch would be different on your machine probably. I just do a cp /boot/config-2.4.12-686 /usr/src/kernel-2.4.12/.config or something similar. Andy
Re: kernel .config
On Tuesday 06 November 2001 04:30 pm, Richardson, Martin wrote: Greetings everybody, is there a template or a default .config for compiling a Debian kernel from source, keeping the binary's defaults. What I mean to say is, when I run make xconfig/menuconfig, is there a template with the Debian binary default options set? This will just make it easier for me to compile a kernel, I can just remove un-wanted packages. I know when I hade Mandrake 7.2 installed, and I ran make xconfig all the defaults were there, and RH7.1 had a directory with templates for different architectures. TIA, Martin :-) The configuration file for each installed kernel is in /boot. i.e. kernel version.config Greg
Re: Kernel config questions: SCSI, Tux and letters
On December 5, 2000 07:20 pm, Ignasi Tura wrote: I have a SCSI card Symbios Logic 53c400. Searching list archives I read that the kernel option for my card was the NCR 5380. But if I look the kernel options in SCSI low-level drivers I find the following options: NCR53c7,8xx SCSI support NCR53C8XX SCSI support and a final SYM53C8XX SCSI support What one should I choose? The symbios 53c416 no, isn't it? I have one that came with an HP scanner and have had no luck with it. The drive you want is Generic NCR53800/53c400. Read /usr/src/linux/drivers/scsi/README.g_NCR5380 for some info. The card I have has only 1 jumper with no marking, but doen't show up in a pnpdump. I found an FAQ from HP that said the card automatically gets an address and gives a list of possible addresses. None of these work. The machine locks up with a message about bus timeout. Even stranger is the way it does the same thing if the card is not installed. I was hoping to hook the scanner up to this to share across the network with SANE, but a SCSI card would cost more than the machine is worth. -- Shawn D'Alimonte [EMAIL PROTECTED]
Re: Kernel Config
Bart Szyszka [EMAIL PROTECTED] wrote: Alec Smith wrote: Actually, /usr/src/linux is the default -- Linus ships the tree in a format to go in a directory called linux. I don't use any shipping version of Linux. I think Alec meant the kernel tarballs. In general, you want to symlink /usr/src/linux to the actual location of your kernel sources. Why? Most instructions expect the kernel source to be in /usr/src/linux, so that way is easier for newbies. If it's just a symlink then all you need to do to unpack a tarball is remove the symlink, unpack, rename the created directory to something else (like linux-2.2.15), and drop the symlink back in again. Things end up at their most consistent that way, I think. -- Colin Watson [EMAIL PROTECTED]
Re: Kernel Config
If I want to edit my kernel what command do I use. I tried make menuconfig but that doesnt work. Any help would be great... Im using slink could you say _precisely_ what you have done (commands, output)? the normal procedure to configure and compile a kernel is: - download the kernel source - cd /usr/src/linux - make menuconfig dep install modules modules_install or something similar. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- If Windows is the answer, I want the problems back!
Re: Kernel Config
On Thu, 25 May 2000, Jay Kelly wrote: If I want to edit my kernel what command do I use. I tried make menuconfig but that doesnt work. Any help would be great... Im using slink make menuconfig works fine... when you have the libncurses4-dev package installed. make config requires nothing extra make xconfig needs tk/tcl installed, IIRC If it is some other problem, post the error messages to the list (use the script command to capture all messages). later, Bruce
RE: Kernel Config
When I cd to /usr/src there is no linux in there. So it looks like I dont have the source tree needed to run make menuconfig. What would I need to do from here? -Original Message- From: Oswald Buddenhagen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2000 1:06 PM To: Jay Kelly Cc: debian-user@lists.debian.org Subject: Re: Kernel Config If I want to edit my kernel what command do I use. I tried make menuconfig but that doesnt work. Any help would be great... Im using slink could you say _precisely_ what you have done (commands, output)? the normal procedure to configure and compile a kernel is: - download the kernel source - cd /usr/src/linux - make menuconfig dep install modules modules_install or something similar. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- If Windows is the answer, I want the problems back! -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Kernel Config
Make sure in /usr/src/linux and do make menuconfig. Ron Rademaker On Thu, 25 May 2000, Jay Kelly wrote: If I want to edit my kernel what command do I use. I tried make menuconfig but that doesnt work. Any help would be great... Im using slink -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Kernel Config
Download the sources ;) Ron Rademaker On Thu, 25 May 2000, Jay Kelly wrote: When I cd to /usr/src there is no linux in there. So it looks like I dont have the source tree needed to run make menuconfig. What would I need to do from here? -Original Message- From: Oswald Buddenhagen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2000 1:06 PM To: Jay Kelly Cc: debian-user@lists.debian.org Subject: Re: Kernel Config If I want to edit my kernel what command do I use. I tried make menuconfig but that doesnt work. Any help would be great... Im using slink could you say _precisely_ what you have done (commands, output)? the normal procedure to configure and compile a kernel is: - download the kernel source - cd /usr/src/linux - make menuconfig dep install modules modules_install or something similar. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- If Windows is the answer, I want the problems back! -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Kernel Config
to get the current kernel you have : cd /usr/src wget ftp://ftp.kernel.org/pub/linux/kernel/v2.2/linux-`uname -r`.tar.gz if you are running 2.2.10 (i think you are since i installed that box?) it will get linux-2.2.10.tar.gz then extract it with tar -zxvf linux-`uname -r`.tar.gz the ` key is right next to the 1 key not to be confused with a single quote on the right side of the KB nate On Thu, 25 May 2000, Jay Kelly wrote: neutec When I cd to /usr/src there is no linux in there. So it looks like I dont neutec have the source tree needed to run make menuconfig. What would I need to do neutec from here? neutec neutec -Original Message- neutec From: Oswald Buddenhagen [mailto:[EMAIL PROTECTED] neutec Sent: Thursday, May 25, 2000 1:06 PM neutec To: Jay Kelly neutec Cc: debian-user@lists.debian.org neutec Subject: Re: Kernel Config neutec neutec neutec If I want to edit my kernel what command do I use. I tried make menuconfig neutec but that doesnt work. Any help would be great... Im using slink neutec neutec could you say _precisely_ what you have done (commands, output)? neutec neutec the normal procedure to configure and compile a kernel is: neutec - download the kernel source neutec - cd /usr/src/linux neutec - make menuconfig dep install modules modules_install neutec or something similar. neutec neutec -- neutec Hi! I'm a .signature virus! Copy me into your ~/.signature, please! neutec -- neutec If Windows is the answer, I want the problems back! neutec neutec neutec -- neutec Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] neutec /dev/null neutec neutec neutec -- neutec Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null neutec ::: http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED] 1:26pm up 1 day, 19:26, 1 user, load average: 1.00, 1.00, 1.01
Re: Kernel Config
When I cd to /usr/src there is no linux in there. So it looks like I dont have the source tree needed to run make menuconfig. What would I need to do from here? I don't think it's really supposed to be 'linux'. Just a folder that the kernel source was bunzip2 and tar -xvf into. Mine's usually /usr/src/kernel-source-... -- Bart Szyszka [EMAIL PROTECTED] ICQ:4982727 GigaBee Interactive http://www.gigabee.com PayPal - Securely send money to an e-mail user! https://secure.paypal.com/refer/[EMAIL PROTECTED]
Re: Kernel Config
Actually, /usr/src/linux is the default -- Linus ships the tree in a format to go in a directory called linux. In general, you want to symlink /usr/src/linux to the actual location of your kernel sources. If you use a .deb of the source, then you'd end up with /usr/src/kernel-source-2.2.15 or similar. On Thu, 25 May 2000, Bart Szyszka wrote: When I cd to /usr/src there is no linux in there. So it looks like I dont have the source tree needed to run make menuconfig. What would I need to do from here? I don't think it's really supposed to be 'linux'. Just a folder that the kernel source was bunzip2 and tar -xvf into. Mine's usually /usr/src/kernel-source-... -- Bart Szyszka [EMAIL PROTECTED] ICQ:4982727 GigaBee Interactive http://www.gigabee.com PayPal - Securely send money to an e-mail user! https://secure.paypal.com/refer/[EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Kernel Config
Actually, /usr/src/linux is the default -- Linus ships the tree in a format to go in a directory called linux. I don't use any shipping version of Linux. Prefer getting a base Debian system and them building up on it. No /usr/src/linux there. In general, you want to symlink /usr/src/linux to the actual location of your kernel sources. Why? If you use a .deb of the source, then you'd end up with /usr/src/kernel-source-2.2.15 or similar. Or if you get the source, bunzip2 it and the tar -xvf it. -- Bart Szyszka [EMAIL PROTECTED] ICQ:4982727 GigaBee Interactive http://www.gigabee.com PayPal - Securely send money to an e-mail user! https://secure.paypal.com/refer/[EMAIL PROTECTED]
RE: kernel config question(s)
Why do you think you need this? No box I have running 2.2.14 have I had to deal with this.
Re: kernel config question(s)
Sean 'Shaleh' Perry wrote: Why do you think you need this? No box I have running 2.2.14 have I had to deal with this. Just curious as to why the ip_always_defrag choice was removed from configuration list and buried in the sysctl stuff. What this means to me I'm not quite sure. I picked ip_always_defrag as an example because the documentation suggests there is some advantage to having this switched on. Also, the firewall configuration tool at http://linux-firewall-tools.com/linux/firewall/index.html generated a file with lines such as: # Enable always defragging Protection sysctl -w net.ipv4.ip_always_defrag=1 The utility states that the firewall will work on Redhat boxes. Is that sysctl line a utility that is common only to Redhat? To use this on Debian I would assume that the line changes to echo 1 /proc/sys/net/ipv4/ip_always_defrag Is this correct, or am I missing something? There are other config lines like this, not only the ip_always_defrag. Overall, I'm just trying to understand what might affect my machines after any upgrades, especially kernel upgrades. Wading through all the docs gets somewhat tedious at times. Thanks for the one and only reply, -- tony mollica [EMAIL PROTECTED]
Re: kernel config question(s)
Also, the firewall configuration tool at http://linux-firewall-tools.com/linux/firewall/index.html generated a file with lines such as: # Enable always defragging Protection sysctl -w net.ipv4.ip_always_defrag=1 The utility states that the firewall will work on Redhat boxes. Is that sysctl line a utility that is common only to Redhat? To use this on Debian I would assume that the line changes to echo 1 /proc/sys/net/ipv4/ip_always_defrag I have sysctl on my Debian box running potato. It is only available to root. Is this correct, or am I missing something? There are other config lines like this, not only the ip_always_defrag. Overall, I'm just trying to understand what might affect my machines after any upgrades, especially kernel upgrades. Wading through all the docs gets somewhat tedious at times. Frankly I dont play with firewalling. Perhaps another mail with a more direct subject will help. Like what is ip_always_defrag in the kernel and do I want it? People scan debian-user and respond to subjects that catch their eye. The volume here is fairly high.
Re: kernel config question(s)
Subject: kernel config question(s) Date: Sun, Mar 26, 2000 at 03:07:44PM -0800 In reply to:tjm Quoting tjm([EMAIL PROTECTED]): | After looking through much documentation, I'm | still not sure whether I have the info I need. | Going through the config stuff to build a new | 2.2.14 kernel (up from 2.2.11) I notice that the | previous parameter of 'CONFIG_IP_ALWAYS_DEFRAG' | is now missing or not offered in this 2.2.14 | kernel config. I have found that it is in the sysctl | docs and directory (/proc/sys/net/ipv4/ip_always_defrag) | and is off by default. My questions are these: | | Is it true that this now needs to be set 'manually' | somewhere in the startup scripts ? | | Is there some utility other than | 'echo 1 /proc/sys/...{etc}' that can be used? | | and | I may have overlooked the docs for this sysctl | feature. Where might I find the clearest explanation | of how and what parameters are the most important and | what the default settings are compared to the previous | kernel configs. | uname -a Linux mtntop 2.2.14 #10 Wed Mar 22 12:28:34 EST 2000 i586 unknown rgrep -r ip_always_defrag /usr/src/linux/Doc*/* /usr/src/linux/Documentation/Configure.help: Enabling masquerading automagically enables ip_always_defrag too. HTH -- Keyboard not connected, press to continue. ___
Re: kernel config question(s)
Sean 'Shaleh' Perry wrote: I have sysctl on my Debian box running potato. It is only available to root. Thanks, I found it in the procps package in unstable, compiled it on my slink system and it seems to work. thanks, -- tony mollica [EMAIL PROTECTED]
Re: kernel config
On Mon, Nov 29, 1999 at 10:25:30AM +1300, [EMAIL PROTECTED] wrote: Hi, i have a few questions : is there any way to find out the configuration settings of an active kernel other than using the .config file.? Do a make xconfig (Or whatever) and read the settings. they will be the same as that of the current kernel. Does the kernel for Debian have to be Debian specific or are Linux kernels used generically? ie. kernel used for Debian can be used for RedHat. is kernel 2.0.37 a stable kernel? Yes. Old, but stable. are kernels version specific? ie... can a 2.2.x kernel work on debian 1.3(bo)? No, each kernel has certain requirements, at 2.2.x kernel needs a version of pppd that isn't available, and probably won't compile for 1.3. go to kernelnotes.org and / or read the kernel how-to for more info. -- Ben Lutgens http://cybercreep.mosquitonet.com icq#10836629 There are two things that are infinite; Human stupidity and the universe. And I'm not sure about the universe. - Albert Einstein
Re: kernel config
On Mon, 29 Nov 1999 [EMAIL PROTECTED] wrote: zdrysd is there any way to find out the configuration settings of an active kernel zdrysd other than using the .config file.? no easy way, i read discussion on ideas that would store a copy of the config in /proc but i dont think it ever got out the door. zdrysd Does the kernel for Debian have to be Debian specific or are Linux kernels zdrysd used generically? ie. kernel used for Debian can be used for RedHat. the kernel is virtually identical accross the distributions, some minor patches bring minor differences, but rarely anything that would affect basic functionality. zdrysd is kernel 2.0.37 a stable kernel? 2.0 is an even number (the '0' part) so it is part of the stable tree. I use 2.0.36+securelinux(its over a year old) and am not planning on upgrading anytime soon despite the fact that i run dual processors. zdrysd are kernels version specific? ie... can a 2.2.x kernel work on debian zdrysd 1.3(bo)? it probably can, but it would take quite a bit of software updats, read the Changes file in the Documentation subdir to see a list of equired packages and where to get the newest (surce) versions. I was running 2.1 on a slackware3.2 system for some time, i think that is about as old as a debian 1.3 system. nate [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 3:26pm up 101 days, 3:05, 1 user, load average: 1.38, 1.58, 1.62
Re: kernel config
On Sun, 28 Nov 1999, Ben Lutgens wrote: blutge Do a make xconfig (Or whatever) and read the settings. they will be the same blutge as that of the current kernel. that is, assuming you have not rm -rf /usr/src/linux and uncompressed a new kernel :/ nate [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 3:26pm up 101 days, 3:05, 1 user, load average: 1.38, 1.58, 1.62
Re: Kernel config
On Thu, Apr 23, 1998 at 11:13:56PM +1200, Michael Beattie wrote: A quick question, If I install a kernel source package, and copy an older .config (2.0.30 -- 2.0.33) into the src tree, and rerun make [x|menu]config , will it cause problems??? No. You might want to run make oldconfig though, which only asks you about options that weren't in your old .config . HTH, Ray -- Obsig: developing a new sig -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel config
On Thu, 23 Apr 1998 [EMAIL PROTECTED] wrote: On Thu, Apr 23, 1998 at 11:13:56PM +1200, Michael Beattie wrote: A quick question, If I install a kernel source package, and copy an older .config (2.0.30 -- 2.0.33) into the src tree, and rerun make [x|menu]config , will it cause problems??? No. You might want to run make oldconfig though, which only asks you about options that weren't in your old .config . thanks :) just what I was hoping... One thing, If I do a make [x|menu]config, It will give me all the options though right?? (You have confused me over make oldconfig) Oh and I am compiling it for the fat32 support which is in 2.0.33 right? I didn't misread a post somewhere? YAFQ: I got the .deb from the hamm tree, It will work in bo?? (I love acronyms... esp. when you make them up yourself.. :) ) I am only asking these questions to confirm my beliefs which I have read from the list. :) thanks again :) Michael Beattie ([EMAIL PROTECTED]) --- BIT: Past tense of BYTE. --- Debian GNU/Linux Ooohh You are missing out! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel config
On Fri, Apr 24, 1998 at 12:51:28AM +1200, Michael Beattie wrote: [kernel config] No. You might want to run make oldconfig though, which only asks you about options that weren't in your old .config . thanks :) just what I was hoping... One thing, If I do a make [x|menu]config, It will give me all the options though right?? (You have confused me over make oldconfig) Yes; it'll just take the defaults from your old config. Oh and I am compiling it for the fat32 support which is in 2.0.33 right? It's not in 2.0.33 as distributed on ftp.kernel.org; it has been patched into the Debian 2.0.33 kernel source package. YAFQ: I got the .deb from the hamm tree, It will work in bo?? I don't know. bo is fairly old; a lot of things have changed in hamm. However, it doesn't hurt to try. Ray -- Cyberspace, a final frontier. These are the voyages of my messages, on a lightspeed mission to explore strange new systems and to boldly go where no data has gone before. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel-config
I'm d/l'ing 2.0.29 now, will tell you in a day or so if it helped me. Thanks for the tip Tim... Richard Morin [EMAIL PROTECTED] On Mon, 10 Mar 1997, Tim Sailer wrote: On Mon, 10 Mar 1997, Mikael Hallendal wrote: I try to get the sound working i linux and when I do make config in th kernel-source I'm aksed to enter the I/O-base but the only thing that happens is that it says 'no help is available. Can anyone help me, please! I find your question not very clear: .. Nope.. this is a known bug (I think). No matter what you enter, it gives the 'no help' message. A newer version of the kernel-source package will help (I think again). Tim -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps Very Pete Townshendish. Who? Exactly.
Re: kernel-config
Tim Sailer wrote: On Mon, 10 Mar 1997, Mikael Hallendal wrote: I try to get the sound working i linux and when I do make config in th kernel-source I'm aksed to enter the I/O-base but the only thing that happens is that it says 'no help is available. Can anyone help me, please! Nope.. this is a known bug (I think). No matter what you enter, it gives the 'no help' message. A newer version of the kernel-source package will help (I think again). This is nearly a FAQ ;-) You may want to read /usr/doc/kernel-package/Problems.gz about what happens. I include the patch from Manoj Srivastava that you'll find there. --- scripts/Configure.dist Mon Jan 20 14:43:24 1997 +++ scripts/Configure Tue Jan 21 05:41:30 1997 @@ -288,7 +288,7 @@ def=${old:-$3} while :; do readln $1 ($2) [$def] $def $old - if expr $ans : '0$\|-?[1-9][0-9]*$' /dev/null; then + if expr $ans : '0$\|-\?[1-9][0-9]*$' /dev/null; then define_int $2 $ans break else @@ -319,7 +319,7 @@ while :; do readln $1 ($2) [$def] $def $old ans=${ans#*[x,X]} -if expr $ans : '[0-9a-fA-F]+$' /dev/null; then +if expr $ans : '[0-9a-fA-F]\+$' /dev/null; then define_hex $2 $ans break else HTH, Ulf -- #include signature
Re: kernel-config
On Mon, 10 Mar 1997, Mikael Hallendal wrote: Hi! I try to get the sound working i linux and when I do make config in th kernel-source I'm aksed to enter the I/O-base but the only thing that happens is that it says 'no help is available. Can anyone help me, please! I find your question not very clear: Do you mean to say that the config script hangs at the point where you should be able to enter the address of your soundcard's IO-port? What version of the source do you use? Or do you mean that you need help finding the right address number to enter for your card? What soundcard do you have? It's neither of the above .. BTW i use kernel 2.0.29 with a SB AWE32 (SB16) The problem is: When I come to the point where I'm supposed to enter the I/O-base adress for the SB-card I choose the default-value (which is 220). But no matter what I enter the only response is 'No help page for this option yet' .. /Micke -- --- E-mail : [EMAIL PROTECTED] : [EMAIL PROTECTED] HomePage : http://mds.mdh.se/~cel95mhl PGP-Key available from : http://www.mds.mdh.se/~cel95mhl or finger [EMAIL PROTECTED] ---
Re: kernel-config
On Tue, 11 Mar 1997, Mikael Hallendal wrote: I try to get the sound working i linux and when I do make config in th kernel-source I'm aksed to enter the I/O-base but the only thing that happens is that it says 'no help is available. Can anyone help me, please! The problem is: When I come to the point where I'm supposed to enter the I/O-base adress for the SB-card I choose the default-value (which is 220). But no matter what I enter the only response is 'No help page for this option yet' .. Just a workaround, I'm afraid, but you might never go back. Install ncurses-dev and then make menuconfig. I certainly managed to configure my mobo soundcard like that. -- David Wright, Open University, Earth Science Department, Milton Keynes MK7 6AA U.K. email: [EMAIL PROTECTED] tel: +44 1908 653 739 fax: +44 1908 655 151
Re: kernel-config
On Mon, 10 Mar 1997, Mikael Hallendal wrote: Hi! I try to get the sound working i linux and when I do make config in th kernel-source I'm aksed to enter the I/O-base but the only thing that happens is that it says 'no help is available. Can anyone help me, please! I find your question not very clear: Do you mean to say that the config script hangs at the point where you should be able to enter the address of your soundcard's IO-port? What version of the source do you use? Or do you mean that you need help finding the right address number to enter for your card? What soundcard do you have? Joost
Re: kernel-config
In your email to me, J.P.D. Kooij, you wrote: On Mon, 10 Mar 1997, Mikael Hallendal wrote: Hi! I try to get the sound working i linux and when I do make config in th kernel-source I'm aksed to enter the I/O-base but the only thing that happens is that it says 'no help is available. Can anyone help me, please! I find your question not very clear: Do you mean to say that the config script hangs at the point where you should be able to enter the address of your soundcard's IO-port? What version of the source do you use? Or do you mean that you need help finding the right address number to enter for your card? What soundcard do you have? Nope.. this is a known bug (I think). No matter what you enter, it gives the 'no help' message. A newer version of the kernel-source package will help (I think again). Tim -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps Very Pete Townshendish. Who? Exactly. -- Anon ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**