Re: linux kernel headers

2007-09-14 Thread Nikolay N. Ivanov
Hi, Jesper! On Птн, Сен 14, 2007 at 10:27:58 +0200, Jesper Juhl wrote: > On 14/09/2007, Nikolay N. Ivanov <[EMAIL PROTECTED]> wrote: > > But why my modules uses headers from KSRC/include/linux instead of > > /usr/include/linux? I clarify it because my OLD version of > > /usr/include/linux/version.

Re: linux kernel headers

2007-09-14 Thread Jesper Juhl
On 14/09/2007, Nikolay N. Ivanov <[EMAIL PROTECTED]> wrote: > But why my modules uses headers from KSRC/include/linux instead of > /usr/include/linux? I clarify it because my OLD version of > /usr/include/linux/version.h has UTS_RELEASE macro, whereas > KSRC/include/linux/version.h (NEW kernel) has

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-14 Thread K.R. Foley
Dan Stromberg wrote: > On Tue, 11 Sep 2007 23:34:14 -0400, Radhesh Muralidhar wrote: >> Wouldn't you be better off using suse source rpms? I don't know >> specifically about suse,but on fedora i work with the rpmbuild tools >> and the fedora source rpm. man rpmbuild should help you if you want to

Re: linux kernel headers

2007-09-14 Thread Nikolay N. Ivanov
Hi, Konstantin! On Птн, Сен 14, 2007 at 09:09:25 +0200, Konstantin Boyanov wrote: > Hi, > > First of all, no the version.h in $KSRC/linux/include/ doesnt get generated > when you compile the kernel. I didin't get your point, what are you trying > to do actually with this file? I'm trying to play

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-14 Thread Dan Stromberg
On Tue, 11 Sep 2007 23:34:14 -0400, Radhesh Muralidhar wrote: > On 9/11/07, Dan Stromberg <[EMAIL PROTECTED]> wrote: >> >> I'm on a SuSE system. >> >> I'm working on automating the install of said system, but it needs a Linus >> kernel - 2.6.21.7 specifically, and it needs kernel source too so tha

Re: Passing arguments/parameters to a kernel module via sysfs

2007-09-14 Thread ilya
hello ron, > On 9/12/07, Ron Lee <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > I would like to pass arguments/parameters to a kernel module. My current > > method is to use the proc file system but I was told that sysfs would be > > a cleaner way. Does anyone have an example for how to do this

Difference between ppc and powerpc architectures

2007-09-14 Thread Konstantin Boyanov
Hello list, I was wondering what is the main difference between this two architecture types, so there are two include for each of them in the kernel source tree under include/ ? Can someone shed some light on this issue please? With best regards, Konstantin Boyanov

initrd, initramfs and the chicken and the egg

2007-09-14 Thread Robert P. J. Day
moving on to picking apart the initrd/initramfs mechanism, i'm confused (what else is new?) by this portion of drivers/block/Kconfig: ... config BLK_DEV_RAM tristate "RAM disk support" ---help--- Saying Y here will allow you to use a portion of your RAM memory as

Re: Passing arguments/parameters to a kernel module via sysfs

2007-09-14 Thread Vassil Panayotov
On 9/12/07, Ron Lee <[EMAIL PROTECTED]> wrote: > Hello all, > > I would like to pass arguments/parameters to a kernel module. My current > method is to use the proc file system but I was told that sysfs would be > a cleaner way. Does anyone have an example for how to do this? Is there > a way to re