Re: mounted partitions and use

2007-09-18 Thread Erik Mouw
On Tue, Sep 18, 2007 at 10:01:36AM -0300, Alan Menegotto wrote: David Santos escreveu: Hi, im triying to make a lkm that check mounted partitions and if anyone of this partitios hace 90% used send a signal to dmesg (printk...). Someone know any api or library from where i would take this info

Re: mounted partitions and use

2007-09-18 Thread Alan Menegotto
David Santos escreveu: Hi, im triying to make a lkm that check mounted partitions and if anyone of this partitios hace 90% used send a signal to dmesg (printk...). Someone know any api or library from where i would take this info from the system? Thanks. Why code this in kernelspace when

Re: compilng and booting new kernel

2007-09-18 Thread Alan McKinnon
On Tuesday 18 September 2007, Onkar wrote: I am new to Linux Kernel. I have complied the kernel ;I have created a initrd.img-2.6.22-6-686 file of size 43MB. I am unable to boot the kernel.Please help me !!. Can anyone please give me some reliable documentation as to how to compile and boot

Re: compilng and booting new kernel

2007-09-18 Thread Erik Mouw
On Tue, Sep 18, 2007 at 08:27:21PM +0530, Onkar wrote: I am new to Linux Kernel. I have complied the kernel ;I have created a initrd.img-2.6.22-6-686 file of size 43MB. I am unable to boot the kernel.Please help me !!. Can anyone please give me some reliable documentation as to how to compile

Re: mounting usb endpoints

2007-09-18 Thread Greg KH
On Fri, Sep 14, 2007 at 10:58:11AM +0530, Sendhilraj T wrote: ls /dev |grep usb shows the below one after i insert my usb device usbdev1.1_ep00 usbdev1.1_ep81 usbdev1.4_ep00 usbdev1.4_ep05 usbdev1.4_ep87 usbdev2.1_ep00 usbdev2.1_ep81 ls /dev |grep usb shows the below one after i

Inserting module into running kernel

2007-09-18 Thread Sachin Gaikwad
Hi all, I have built my kernel from source, installed and booted in it. Now I have written a small module. Can I insert this module into the runningn kernel ? Is there anything which I should take care of while compiling this module, as we have to insert it into the running kernel ? Thanks in

Hi

2007-09-18 Thread Sachin Gaikwad
Hi all, I have built my kernel from source, installed and booted in it. Now I have written a small module. Can I insert this module into the runningn kernel ? Is there anything which I should take care of while compiling this module, as we have to insert it into the running kernel ? Thanks in

Problem regarding copy_to_user

2007-09-18 Thread Rajendra Stalekar
Hi, I am encountering problem while using copy_to_user in my program pasted below. Can you tell me where I am going wrong? My objective here is to pass the values of page_address(bvec-bv_page), bvec-bv_len, bvec-bv_offset, bio_sectors(bio) to the user application above. Right now I am just

Re:Inserting module into running kernel

2007-09-18 Thread jiayinjia1983116
just run the command modeprobe module-name 在2007-09-19,Sachin Gaikwad [EMAIL PROTECTED] : Hi all, I have built my kernel from source, installed and booted in it. Now I have written a small module. Can I insert this module into the runningn kernel ? Is there anything which I should take care