IPsec, kernel, kara_am

2008-02-12 Thread am kara
I have questions about the linux kernel and IPsec at the layer 3, the files 'net/ipv4/ipip.c' and 'net/ipv4/tunnel4.c': Are these files necessary to implement IPsec? What are their main functionalities? I see many input and output files at net/ipv4 like: ip_input.c/ip_outpu

Re: Porting linux kernel on Xilinx FPGA board

2008-01-24 Thread Arthur Nascimento
Well, if I remember well the basics, if you load an FPGA with the core of a PowerPC (which you seem to already have at your disposal) then it will (should) process things exactly as a PPC would. So you could just have it load any precompiled binaries for PPC such as a Linux kernel and things

Porting linux kernel on Xilinx FPGA board

2008-01-24 Thread Rick Brown
Hi, I need to port a customized linux kernel on the latest Xilinx Virtex-5 FPGA based board (PowerPC architecture). However, my question relates more to the Xilinx FPGA technology (EDK etc.) than the kernel. Considering that this is a completely new board, what all EDK related things I'll

Re: Kernel .config and kconfig general question

2007-11-22 Thread Max
First of all many thanks for your help. And very useful information. >From: Kristof Provost >To: Max >Hi, >I've moved this discussion to kernel newbies as Robert suggested. Many thanks Kristof. Now I know where to post my newbie questions ;-) Although linux-newbie traff

Re: Kernel .config and kconfig general question

2007-11-21 Thread Kristof Provost
Hi, I've moved this discussion to kernel newbies as Robert suggested. On 2007-11-21 01:16:37 (-0800), Max <[EMAIL PROTECTED]> wrote: > Is it the same to comment out a variable in .config than assigning 'N' to it? No and yes. I guess that doesn't help, so I'll

Re: kernel module

2007-11-13 Thread Kristof Provost
On 2007-11-13 17:53:11 (+0530), Rajeh kuri <[EMAIL PROTECTED]> wrote: > Well it means there is no way to achieve compiled kernel calling > compiled kernel module. OR The direction of communication from kernel > to kernel module can not be possible? It is possible and it's d

Re: kernel module

2007-11-13 Thread Rodrigo Rubira Branco (BSDaemon)
Export the symbol in the kernel and then hook it in your module ;) cya, Rodrigo (BSDaemon). -- http://www.kernelhacking.com/rodrigo Kernel Hacking: If i really know, i can hack GPG KeyID: 1FCEDEA1 - Mensagem Original De: Rajeh kuri <[EMAIL PROTECTED]> Para: K

Re: kernel module

2007-11-13 Thread Rajeh kuri
Well it means there is no way to achieve compiled kernel calling compiled kernel module. OR The direction of communication from kernel to kernel module can not be possible? I believe there must be a way around to get this work. If i find it will update here. --Regards, rajesh On Nov 13, 2007 3

Re: kernel module

2007-11-13 Thread Kristof Provost
Hi, On 2007-11-12 19:29:17 (+0530), Rajeh kuri <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any ways to invoke/call the function (kernel module > functions) from compiled base kernel. Well that statement sounds > strange. > > I will try to simplify that statement

kernel module

2007-11-12 Thread Rajeh kuri
Hi, Is there any ways to invoke/call the function (kernel module functions) from compiled base kernel. Well that statement sounds strange. I will try to simplify that statement, with problem I faced. I have written a kernel module but it is of no use till I call one of its function from kernel

RE: kernel 2.6 for Xscale IXP42x platform

2007-06-27 Thread Rajat Jain
Hi, | |I would like to load kernel 2.6 on my customised Target board |having IXP422. |I have u-boot 1.1.6 bootloader. | |For this, I would like to know which kernel version can i |decide on? How can |i determine which version of 2.6 to go in for? Also do i need |any patch? |which ones ? and

Re: kernel 2.6 for Xscale IXP42x platform

2007-06-27 Thread Kristof Provost
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Queenie wrote: > Hi Everybody, > > I would like to load kernel 2.6 on my customised Target board > having IXP422. I have u-boot 1.1.6 bootloader. > > For this, I would like to know which kernel version can i decide > on? How

kernel 2.6 for Xscale IXP42x platform

2007-06-27 Thread Queenie
Hi Everybody, I would like to load kernel 2.6 on my customised Target board having IXP422. I have u-boot 1.1.6 bootloader. For this, I would like to know which kernel version can i decide on? How can i determine which version of 2.6 to go in for? Also do i need any patch? which ones ? and how

Re: kernel thread ?

2007-06-19 Thread Rajat Jain
I know some of them. [migration/0] Per CPU threads to migrate processes between processors. [ksoftirqd/0] Per CPU threads to execute softirqs & tasklets (bottom half mechanisms), if they are not executed upon return of interrupt. [migration/1] [ksoftirqd/1] [events/0] [events/1] [khelpe

Multithreaded debugging of kernel using kgdb

2007-05-10 Thread Rick Brown
Hi List, I am debugging Linux kernel using gdb (KGDB patch). I am successsfully able to set breakpoints in the kernel and step though the code as far as a single thread of execution is concerned. However, I was curious so as to how can I simulate and debug a race condition that involves

[newbie]socket in kernel land

2007-04-30 Thread gallon sylvestre
hello, Since yesterday I have been trying to make a kernel module who use sockets. But I have got an error on my accept when I made a telnet on localhost with the good port my computer freeze :'( this is my code : #include #include #include #include #include #include #include #in

Re: Floating point in kernel

2007-04-24 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 24, 2007 at 02:07:38PM +0530, Daniel Rodrick wrote: > I've always read that although it isn't completely forbidden, but > kernel code shouldn't use floating point arithmetic. It is not > recommended, but surely look

Floating point in kernel

2007-04-24 Thread Daniel Rodrick
Hello, I've always read that although it isn't completely forbidden, but kernel code shouldn't use floating point arithmetic. It is not recommended, but surely looks possible. So just for curosity purposes (and without getting into the debate of "You shouldn't be doin

Re: vmalloc and page faults (was: memory descriptor and kernel threads)

2007-04-19 Thread pradeep singh
On 4/19/07, Rajat Jain <[EMAIL PROTECTED]> wrote: Hi, > ... the kernel thread is as sensitive as the kernel itself > for the page faults. It _should not_ fault, unless ofcourse if its a > vmalloc'ed area .. and that happens every other kernel path anyway I have a doubt

vmalloc and page faults (was: memory descriptor and kernel threads)

2007-04-19 Thread Rajat Jain
Hi, ... the kernel thread is as sensitive as the kernel itself for the page faults. It _should not_ fault, unless ofcourse if its a vmalloc'ed area .. and that happens every other kernel path anyway I have a doubt about the vmalloc'ed memory. Is the vmalloced chunk of memory all

Re: kernel stack problem

2007-04-03 Thread Fabiano Ramos
On Tue, 2007-04-03 at 21:51 -0400, John Anthony Kazos Jr. wrote: > > This is wrong. Although the scope is at _block_ level, all variables are > > allocated on the stack at _function_ level. So, when entering func() all > > variables within it, including x and y, are allocated. > > But this doesn't

Re: kernel stack problem

2007-04-03 Thread Fabiano Ramos
On Tue, 2007-04-03 at 21:51 -0400, John Anthony Kazos Jr. wrote: > > This is wrong. Although the scope is at _block_ level, all variables are > > allocated on the stack at _function_ level. So, when entering func() all > > variables within it, including x and y, are allocated. > > But this doesn't

Re: kernel stack problem

2007-04-03 Thread John Anthony Kazos Jr.
This is wrong. Although the scope is at _block_ level, all variables are allocated on the stack at _function_ level. So, when entering func() all variables within it, including x and y, are allocated. But this doesn't make sense. Why would the compiler not immediately optimize both variables in

Re: kernel stack problem

2007-04-03 Thread Fabiano Ramos
> Hi List, > > Recently I got into the problem that I think relates to the small size > of kernel stack. I had a function of the following form: > > void func() > { > ... > //Block1 >

kernel stack problem

2007-04-03 Thread Rajat Jain
Hi List, Recently I got into the problem that I think relates to the small size of kernel stack. I had a function of the following form: void func() { ... //Block1 { struct huge_var x; } //Block2 { struct huge_var y

Re: Automatically loading kernel modules at bootup

2007-03-29 Thread Rodrigo Rubira Branco
You can also use initrd (or initramfs)... Cya, rodrigo (BSDaemon). On Thu, 2007-03-29 at 21:22 +0530, Daniel Rodrick wrote: > Hi, > > How do I make sure that my kernel module gets loaded automatically on > system bootup? > > Thanks, > > Dan > - > To unsubscribe

Re: Automatically loading kernel modules at bootup

2007-03-29 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Mar 29, 2007 at 09:22:45PM +0530, Daniel Rodrick wrote: > How do I make sure that my kernel module gets loaded automatically on > system bootup? Depends. Hotplug/udev will automatically load modules for devices in plug-and-play busse

Re: regarding kernel preemption

2007-03-29 Thread Scott Wood
On Thu, Mar 29, 2007 at 09:35:13PM +0530, Rick Brown wrote: > When we preempt_enable() / preempt_disable(), is the kernel preemption > enabled or disabled for ALL the processors or just the local > processor? Just the local processor. -Scott - To unsubscribe from this list: send

regarding kernel preemption

2007-03-29 Thread Rick Brown
Hi list, I had posted this on kernelnewbies, but did not get much response, and hence trying here. When we preempt_enable() / preempt_disable(), is the kernel preemption enabled or disabled for ALL the processors or just the local processor? TIA, Rick - To unsubscribe from this list: send the

Automatically loading kernel modules at bootup

2007-03-29 Thread Daniel Rodrick
Hi, How do I make sure that my kernel module gets loaded automatically on system bootup? Thanks, Dan - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.h

kernel preemption

2007-03-20 Thread Rick Brown
Hi list, When we preempt_enable() / preempt_disable(), is the kernel preemption enabled or disabled for ALL the processors or just the local processor? TIA, Rick - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTE

Re: How does boot loader tell the kernel, the location of initrd?

2007-03-15 Thread Rajat Jain
> I am experimenting with initrd and my initrd fails to mount. My > bootloader (U-BOOT) coorectly loads the initrd into RAM as I can see. > > I am wondering how does the kernel get to know the address at which > the initrd is loaded by boot loader? How does the boot loader > c

Re: How does boot loader tell the kernel, the location of initrd?

2007-03-15 Thread Rajendra
Every bootloader has different mechanism for loading the kernel image. I am talking of Grub boot loader here. Grub uses something called a multiboot specification. The specification documents the mechanism for passing data to and from the kernel image. Search for multiboot specification and i

How does boot loader tell the kernel, the location of initrd?

2007-03-14 Thread Rajat Jain
Hi, I am experimenting with initrd and my initrd fails to mount. My bootloader (U-BOOT) coorectly loads the initrd into RAM as I can see. I am wondering how does the kernel get to know the address at which the initrd is loaded by boot loader? How does the boot loader communicate this to the

Debugging kernel with KGDB

2007-03-06 Thread Daniel Rodrick
Hi list, I am debugging linux kernel (2.6.15) remotely using gdb and want to debug an area that involves synchronization / timing between two kernel threads. I was wondering if it is possible to debug multiple kernel threads at the same time by manually switching between the two? For instance

RE: kernel porting query

2007-02-16 Thread Bernd Petrovitsch
... Sometimes some devices may be > moved to some other locations in the memory map (Look at memory map of > your SoC on your board). You may have different boot loaders (or none at all). You also may have different storage media like FlashRAM, IDE, network, for boot loader/kern

RE: kernel porting query

2007-02-15 Thread Ajay Singh \(ajaysi\)
-Original Message- From: Rizvan [mailto:[EMAIL PROTECTED] Sent: Friday, February 16, 2007 10:13 AM To: Ajay Singh (ajaysi) Subject: Re: kernel porting query On 2/16/07, Ajay Singh (ajaysi) <[EMAIL PROTECTED]> wrote: > > > > 1) Can any one please shed some ligh

RE: kernel porting query

2007-02-15 Thread Ajay Singh \(ajaysi\)
1) Can any one please shed some light on precisely and exactly what are differences in different boards for which we need to port linux? The differences depends on the boards ... Mostly if they belong to the same family the differences could be mainly in the peripherials ... Interrupt mapping

kernel porting query

2007-02-15 Thread Rick Brown
Hi, I have a very basic query regarding kernel porting on different boards. I understand that even if two boards have the very same processor core (say MIPS 4KE), we need to port linux for them seperately. I have heard things like it is because of certain "board level differences",

Determining amout a physical RAM my kernel needs?

2007-02-07 Thread Rick Brown
Hi list, I have a kernel image about 600 KB in size that I intend to program to flash memory on my target board (hence size required in flash=600 KB). 1) But how do I determine the size of the RAM required to run that image? (Since I believe the image will be uncompressed in RAM, plus will also

Re: after effects of a kernel API change

2007-01-18 Thread Ahmed S. Darwish
On Thu, Jan 18, 2007 at 11:05:53AM +0530, Rajat Jain wrote: > >> > >> Is there any way volunteers like me can help in this exercise? > > > >See the /APIchanges in the Kernel Janitors TODO list > >http://kernelnewbies.org/KernelJanitors/Todo > > > [..

Re: after effects of a kernel API change

2007-01-18 Thread Eric W. Biederman
"Rajat Jain" <[EMAIL PROTECTED]> writes: >> > >> > Is there any way volunteers like me can help in this exercise? >> >> See the /APIchanges in the Kernel Janitors TODO list >> http://kernelnewbies.org/KernelJanitors/Todo >> > > Hi, &

Re: after effects of a kernel API change

2007-01-17 Thread Rajat Jain
> > Is there any way volunteers like me can help in this exercise? See the /APIchanges in the Kernel Janitors TODO list http://kernelnewbies.org/KernelJanitors/Todo Hi, This is regarding the link posted above. 1) How do I make sure if some one is NOT working on any of the mentioned

Re: after effects of a kernel API change

2007-01-17 Thread Ahmed S. Darwish
On Thu, Jan 18, 2007 at 09:45:04AM +0530, Daniel Rodrick wrote: > Hi list, > > Whenever there is a change in the kernel API (or a new API is > introduced), all of the drivers that use the older API need to be > changed (or recommended to be changed). I believe it is the > res

Re: after effects of a kernel API change

2007-01-17 Thread Greg KH
On Thu, Jan 18, 2007 at 09:45:04AM +0530, Daniel Rodrick wrote: > Hi list, > > Whenever there is a change in the kernel API (or a new API is > introduced), all of the drivers that use the older API need to be > changed (or recommended to be changed). I believe it is the > res

after effects of a kernel API change

2007-01-17 Thread Daniel Rodrick
Hi list, Whenever there is a change in the kernel API (or a new API is introduced), all of the drivers that use the older API need to be changed (or recommended to be changed). I believe it is the responsibility of the person changing the kernel API, to change all the drivers that have found

Kernel read/write Blocksize

2006-12-07 Thread Neal Morrison
Hello everybody, some of my colleagues told me that the internel Buffsize ist 4k. Yesterday I saw in the Kernelconfigurations that the default value for the stacksize is 8k and you can set it to 4k. Kernel hacking -> Use 4Kb for kernel stacks instead of 8Kb So my question is: Is

Re: kernel log messages and disk space

2005-09-01 Thread Ray Olszewski
ith messages of this sort (I'm picking a representative example): Aug 18 07:38:18 mithrandir kernel: attempt to access beyond end of device Aug 18 07:38:18 mithrandir kernel: 03:01: rw=0, want=2031123176, limit=13277691 Heres all the info

Re: kernel log messages and disk space

2005-09-01 Thread Karthik Vishwanath
On Sun, 21 Aug 2005, at 09:52, Ray Olszewski wrote: > [cut] > Wel, device 03:01 is /dev/hda1, and this time (I mean in contrast to > James' recent posting) the reports do sound like an emerging hardware > failure, especially if you are getting this many of them. So you *may* > need a new hard

Re: kernel log messages and disk space

2005-08-21 Thread Ray Olszewski
so, what? I'm assuming you'd have mentioned any recent changes (a kernel upgrade is the most obvious) associated with this problem, so I'm not considering that sort of cause. The file contents follow: [# tail -n3 /var/log/kern.log.0] Aug 18 07:38:18 mithrandir kernel: attempt

kernel log messages and disk space

2005-08-20 Thread Karthik Vishwanath
8 07:38:18 mithrandir kernel: attempt to access beyond end of device Aug 18 07:38:18 mithrandir kernel: 03:01: rw=0, want=2031123176, limit=13277691 Aug 18 07:38:18 mithrandir kernel: attempt to access beyond end of device [# tail -n3 var/log/messages] Aug 20 07:38:23 mithrandir kernel: attempt to access

Re: HOW TO HAVE GOOD KERNEL UNDERSTANDING

2005-08-19 Thread osk
To start kernel recompilation tr learning try http://www.linuxhomenetworking.com/linux-adv/kernel.htm regards osk On 8/18/05, Vikas <[EMAIL PROTECTED]> wrote: > Can anyone tell me what would be the best way to have good kernel > understanding as I am a newbie in this field .. >

Re: HOW TO HAVE GOOD KERNEL UNDERSTANDING

2005-08-19 Thread _z33
Vikas wrote: Can anyone tell me what would be the best way to have good kernel understanding as I am a newbie in this field .. Where to start which book to prefer And how to update urself for latest kernel changes - To unsubscribe from this list: send the line "unsubscribe linux-n

Re: I cannot build a new kernel image when I add a assembly module to It

2005-08-08 Thread Stephen Ray
mhb wrote: Hi I had added an assembly program to the networking section of kernel linux 2.2.16 without any problem. But when I add it to kerenel 2.4.1 I could build that kernel, but I faced with kernel panic error when I boot system with new builded image. ... As you can see test3.s is an

I cannot build a new kernel image when I add a assembly module to It

2005-08-08 Thread mhb
Hi I had added an assembly program to the networking section of kernel linux 2.2.16 without any problem. But when I add it to kerenel 2.4.1 I could build that kernel, but I faced with kernel panic error when I boot system with new builded image. I use the following Make file to build It in the

Re: kernel version problem

2005-08-01 Thread gautam borad
On 7/30/05, rekha vn <[EMAIL PROTECTED]> wrote: > i've tried both the methods: > > 1.modprobe --force ./hello.o > 2.-I in gcc (/usr/src/linux/include) > > i'm getting "kernel will get tainted" warnings. > > anyother better way? > In my /usr/s

Re: kernel version problem

2005-07-30 Thread rekha vn
i've tried both the methods: 1.modprobe --force ./hello.o 2.-I in gcc (/usr/src/linux/include) i'm getting "kernel will get tainted" warnings. anyother better way? In my /usr/src/ I have two folders one as LINUX and also LINUX2.4.21-4.EL how is it possible? moreover, the

using 2.6 kernel timespec nano sec?

2005-07-21 Thread Mukund JB.
Dear all, I have timing issue in my code powering up my socket device. I want use the current_kernel_time() and wait in terms of nano seconds. The tv_nsec (nano) of timespec structure will be overflowing every second. So, how do I handle it? Regards, Mukund Jampala - To unsubscribe from this li

Re: linux kernel print to file problem

2005-07-15 Thread simon
hello Mukund JB. wrote: Dear Linux-lovers. I am trying to build a 2.6.10 linux kernel module to print messages to a file. I have done this 2.4 and I was successful but I am failing here. I am using the sys_open, sys_write calls to do so. I am getting a compilation warning and I find no .ko

linux kernel print to file problem

2005-07-15 Thread Mukund JB.
Dear Linux-lovers. I am trying to build a 2.6.10 linux kernel module to print messages to a file. I have done this 2.4 and I was successful but I am failing here. I am using the sys_open, sys_write calls to do so. I am getting a compilation warning and I find no .ko file created finally instead

Kernel init messages

2005-07-04 Thread Spack
Hi, I'm using Slackware 10.1 and everybody know the initialization messages given by the kernel when we launch the system... I would like to change these messages to make them more comprehensible as we can see in some distributions : Detecting har

Re: kernel recompile quests; was Re: help on dmesg output

2005-04-12 Thread caszonyi
On Tue, 12 Apr 2005, James Miller wrote: On Tue, 12 Apr 2005 [EMAIL PROTECTED] wrote: Modules often require "helper modules" or have other modules associated with them. I assume such modules need to be incorporated into the kernel one compiles as well, or at least made available as mod

kernel recompile quests; was Re: help on dmesg output

2005-04-12 Thread James Miller
On Tue, 12 Apr 2005 [EMAIL PROTECTED] wrote: I'm a slackware user and usually compile the kernel myself so what i sugest to you is to compile the kernel yourself (if know how to do it) and put the modules for your sound card in kernel without using modules for sound to see if ther

Re: why [permanent] modules on kernel 2.6.11-rc2?

2005-04-10 Thread Tobias Hirning
Hi Max! On Saturday, 9. April 2005 08:19 Maximiliano Rioseco wrote: > I'm playing with kernel 2.6.11-rc2 and see that some kernel modules > are marked [permanent] when I make lsmod. This topic was treated in > linux-kernel mailing list but I quest if somebody can explain in >

why [permanent] modules on kernel 2.6.11-rc2?

2005-04-08 Thread Maximiliano Rioseco
Hi: I'm playing with kernel 2.6.11-rc2 and see that some kernel modules are marked [permanent] when I make lsmod. This topic was treated in linux-kernel mailing list but I quest if somebody can explain in more detail the reason for permanent modules (is it only for debugging reasons and wi

RE: investingating kernel :Cnx error

2005-03-10 Thread Mukund JB.
Do u get any kernel messages just before hanging? Is it kernel default kernel that comes with RedHat 8? Mukund jampala > -Original Message- > From: [EMAIL PROTECTED] [mailto:linux-newbie- > [EMAIL PROTECTED] On Behalf Of bj > Sent: Wednesday, March 02, 2005 9:37 AM > T

investingating kernel :Cnx error

2005-03-02 Thread bj
Hi ! I am using Red Hat 8 with kernel 2.4.20-30.8.legacy I am facing the following error some times . It hangs my computer when I am doing a make or am using x-windows . How do I go about investigating the cause of it ? Thank you for your help. Cheers, bj Feb 25 10:14:20 HOME kernel

Re: reconfiguring sound after kernel upgrade

2005-03-01 Thread Eric Bambach
nfiguring sound after kernel upgrade > > On Sunday 27 February 2005 11:17 pm, bj wrote: > > Hi ! > > --snip-- > > > cd alsa-driver-1.0.8 > > ./configure -->no error > > ./make > the following error > > > > make[1]: *** No rule to ma

RE: reconfiguring sound after kernel upgrade

2005-03-01 Thread bj
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Bambach Sent: Monday, February 28, 2005 11:13 PM To: [EMAIL PROTECTED] Cc: linux-newbie@vger.kernel.org Subject: Re: reconfiguring sound after kernel upgrade On Sunday 27 February 2005 11:17 pm, bj

Re: reconfiguring sound after kernel upgrade

2005-02-28 Thread Eric Bambach
loc.o'. Stop. > make: *** [compile] Error 1 It looks like you are running 2.4.18 kernel version and trying to compile programs for another vesion. Boot into your 2.4.20 legacy kernel and try again. Uname -a will show you what you are currently running. The problem is that the configure s

reconfiguring sound after kernel upgrade

2005-02-28 Thread bj
Hi ! I am using Red Hat 8.0 . When I installed it , it had kernel 2.4.18-14 . I downloaded and did a rpm -uvh . Currently is has kernel version 2.4.20-30.8 legacy . Now as I try to re-install sound by install the following , I get library error . I have downloaded and unzipped the below

kernel errors on boot

2005-02-27 Thread Jeremy Abbott
I am getting strange error messages from the kernel as I boot ever since I upgraded from 2.6.10-gentoo-r5 to 2.6.10-gentoo-r6. Here is a sample from my log: Feb 26 15:33:40 [kernel] devfs_mk_dev: could not append to parent for vcc/2 Feb 26 15:33:40 [devfsd] action_compat: error unlinking: "

Hot-plugging Support in kernel 2.6.8 ??

2005-02-04 Thread Rajat Jain, Noida
Hi list, I'm new to Linux / SCSI so please help me out on this one. I'm investigating the "Hot Plugging" support in SCSI subsystem of linux kernel 2.6.8. I am working at the LLD level. I went through the "Hot Plug Initialisation Model" in Doumentation/scsi/scsi_mi

RE: Kernel 2.6.10 Can't Open Initial Console on FC3

2005-01-02 Thread Colin Charles
On Sat, 2005-01-01 at 10:05 -0600, Joseph D. Wagner wrote: > They tell me there's a way to make it work without initrd, but it's > ugly, messy, and not recommended: > > http://fedora.redhat.com/docs/udev/ > > I haven't yet tested to see if it works with initrd and without > support for hotplug de

RE: Kernel 2.6.10 Can't Open Initial Console on FC3

2005-01-01 Thread Joseph D. Wagner
RESOLVED. I enabled support for hotplug devices and installed an initrd; then it works. They tell me there's a way to make it work without initrd, but it's ugly, messy, and not recommended: http://fedora.redhat.com/docs/udev/ I haven't yet tested to see if it works with initrd and without supp

Re: Kernel 2.6.10 Can't Open Initial Console on FC3

2004-12-31 Thread Mike Houston
ht need an initrd. Your mkinitrd script in FC3 will take care of these matters for you. Mike On Thu, 30 Dec 2004 23:00:14 -0600 "Joseph D. Wagner" <[EMAIL PROTECTED]> wrote: > The newly compiled kernel gets through everything OK including > mounting the root file system as read-o

Kernel 2.6.10 Can't Open Initial Console on FC3

2004-12-30 Thread Joseph D. Wagner
The newly compiled kernel gets through everything OK including mounting the root file system as read-only EXT3. However, it freezes on the very last line, which says: Warning: unable to open an initial console If I switch back over to the kernel that came with the distribution

kernel version mismatch peculiarity.

2004-12-20 Thread Mukund JB.
hello,     I have compiled simple netfilter linux modules and when am trying to run it, i get the following error on saying:   insmod capture.o   capture.o was compiled for kernel version 2.4.9-9     while this kernel is version 2.4.18-14.   I have encountered with this problem only

Re: Forking in kernel

2004-11-22 Thread Manish Regmi
On Mon, 22 Nov 2004 14:30:46 +0530, Jagadeesh Bhaskar P <[EMAIL PROTECTED]> wrote: > > BTW: > > Linux Kernel is better discussed in kernelnewbies site. > > www.kernelnewbies.org > > I had seen this site. But didnt get which address to subscribe for and > which t

Re: Forking in kernel

2004-11-22 Thread Jagadeesh Bhaskar P
, Manish Regmi wrote: > On Mon, 22 Nov 2004 12:53:49 +0530, Jagadeesh Bhaskar P > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > How can I fork a new process at the kernel level, say, as in a module? > > why would you want that >

Forking in kernel

2004-11-21 Thread Jagadeesh Bhaskar P
Hi, How can I fork a new process at the kernel level, say, as in a module? When compiling a module with a fork() function inside it, it will get complied as gcc -o ... -c ... -D__KERNEL__ But it says unresolved symbol fork() during insmod-ing. Is there a kernel level compliment for fork and

Re: No Sound with Kernel 2.6.7

2004-11-12 Thread Peter
Thanks! Peter said: >> In kernel 2.4.26 all the settings are the same in /etc/rc.d as well as for >> modprobe.conf and modules.conf and the sound is no problem. >> What would be the next step? [EMAIL PROTECTED] > Probably try enabling the following in your kernel (either

Re: No Sound with Kernel 2.6.7

2004-11-11 Thread Adam Luchjenbroers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I did what you have recommended but the sound continues to be elusive with > kernel 2.6.7. On boot I get the following messages: > > Loading ALSA mixer settings: /usr/sbin/alsactl restore > No state is present for card Dummy Shoul

Re: No Sound with Kernel 2.6.7

2004-11-08 Thread Adam Luchjenbroers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 5 Nov 2004 07:29, you wrote: > Hi, > > Slackware10 > > When I installed the kernel 2.6.7 my sound was lost, the error message > claiming it can not find module via82cxxx_audio.c. Checking > /lib/modules/2.6.7/kernel/driver

Re: No Sound with Kernel 2.6.7

2004-11-04 Thread Richard Adams
On Thursday 04 November 2004 22:59, Peter wrote: > Hi, > > Slackware10 > > When I installed the kernel 2.6.7 my sound was lost, the error message > claiming it can not find module via82cxxx_audio.c. Checking > /lib/modules/2.6.7/kernel/drivers there was no /sound folder. Ke

Re: No Sound with Kernel 2.6.7

2004-11-04 Thread Beolach
Hi Peter, The 2.4 & 2.6 kernels use different, incompatible module formats, so you can't just copy the 2.4 modules over to 2.6. Instead you will need to install a 2.6 kernel module for your soundcard. If your kernel was already configured to build your soundcards drivers as modules

No Sound with Kernel 2.6.7

2004-11-04 Thread Peter
Hi, Slackware10 When I installed the kernel 2.6.7 my sound was lost, the error message claiming it can not find module via82cxxx_audio.c. Checking /lib/modules/2.6.7/kernel/drivers there was no /sound folder. I then copied ../2.4.26/../sound into ../2.6.7../drivers/ it did not change it still

Re: Unable to make kernel 2.6.8 up

2004-10-21 Thread Richard Adams
On Thursday 21 October 2004 08:40, kernel kernel wrote: > Hi Richard. > > I had a kernel patch and i need to test in the latest kernel. > Before that i am trying to bring the kernel 2.6.x up and running. > That is all i want to do. Providing the patch you intend to use is for your

Re: Unable to make kernel 2.6.8 up

2004-10-20 Thread kernel kernel
Hi Richard. I had a kernel patch and i need to test in the latest kernel. Before that i am trying to bring the kernel 2.6.x up and running. That is all i want to do. By the way vmlinux -- is the kernel vmlinuz --- is the boot sector. Why initrd is needed ? While mkinitrd, I am getting the

Re: Unable to make kernel 2.6.8 up

2004-10-20 Thread Richard Adams
On Thursday 21 October 2004 05:57, kernel kernel wrote: > Hi Richard, > I was able to build it. > But while, boot up it is giving the error message init not found. This could be cause by many things, but considering you mentioned SATA and then SCSI leads me to belive your new kernel i

Re: Unable to make kernel 2.6.8 up

2004-10-20 Thread kernel kernel
Hi Richard, I was able to build it. But while, boot up it is giving the error message init not found. Thanks Amrith On Wed, 20 Oct 2004 07:40:47 +0200, Richard Adams <[EMAIL PROTECTED]> wrote: > On Wednesday 20 October 2004 05:52, kernel kernel wrote: > > Hi Richard, > >

Re: Unable to make kernel 2.6.8 up

2004-10-19 Thread Richard Adams
On Wednesday 20 October 2004 05:52, kernel kernel wrote: > Hi  Richard, > Thanks for your fast response. > > I am furnishing the following details. > Motherboard : Intel 865 > Processor    : P4 2.4GHz > SCSI           : Samsung Hard disk > > I am trying to use 2.6.8 kern

Re: Unable to make kernel 2.6.8 up

2004-10-19 Thread kernel kernel
Hi Richard, Thanks for your fast response. I am furnishing the following details. Motherboard : Intel 865 Processor: P4 2.4GHz SCSI : Samsung Hard disk I am trying to use 2.6.8 kernel from the GNU (downloaded from kernel.org) Thanks Amrith On Tue, 19 Oct 2004 21:36:58 +0200

Re: Unable to make kernel 2.6.8 up

2004-10-19 Thread Richard Adams
On Tuesday 19 October 2004 18:17, kernel kernel wrote: > Hi all > While booting with 2.6.8 kernel. giving error no ata_piix module found. Unless you have an Intel SATA contoler on your mobo, (and possably SATA disks) then i would imagen you could ignore this message, if you do have the

Unable to make kernel 2.6.8 up

2004-10-19 Thread kernel kernel
Hi all While booting with 2.6.8 kernel. giving error no ata_piix module found. How to solve it. Thank kh - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

Re: Mutual Exclusion in Kernel

2004-10-06 Thread kernel kernel
Hi All, Spin lock is a mutual exclusion strategy which is used in Multiprocessor machanies. When i resource is not available for a particular thread, it wont be removed from TASK_RUNNING status and put into the corresponding event Q. Instead it will loop around the processor, in closed cycles u

Re: Mutual Exclusion in Kernel

2004-10-06 Thread Robin Doer
No! You have to write your own busy-waiting-algorithm while the operating system provides you a semaphore. A busy-waiting-algorithm can be compared with a two-state-semaphore (lock or unlock) but the concept of the semaphore is must more powerful. In theory an infinite number of states is poss

RE: Mutual Exclusion in Kernel

2004-10-06 Thread Robin Doer
Good morning! Ankit Jain ([EMAIL PROTECTED]) schrieb: > > hi > > what is spin lock? http://en.wikipedia.org/wiki/Spin_lock aka "busy waiting". A thread is polling until says "ok" and the thread continues working. > > thanks > > ankit Have fun, Robin - To unsubscribe from this list: send the

RE: Mutual Exclusion in Kernel

2004-10-05 Thread Ankit Jain
On Behalf > Of Rakesh Jagota > Sent: Wednesday, October 06, 2004 9:03 AM > To: kernelnewbies > Subject: Mutual Exclusion in Kernel > > Hello All, > > I have defined one array of structures in the kernel > which can be seen > by > all the modules. Now I would lik

Re: Invalid kernel header included in userspace; multi-line string literals are deprecated

2004-10-01 Thread Richard Adams
1) What is the output of the command uname -r > > in my compilation machine, it is 2.4.21-4.EL. Then you are using a kernel named 2.4.21-4.EL >- and i was cross-compiling with 2.4.18-SH. I doubt _very much_ that you were cross compiling, Simply because the linux symlink points

  1   2   3   4   >