Re: router + kernel networking

2009-12-18 Thread Ilya Dryomov
art (several chapters) devoted to routers. Ilya -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: "irq6: nobody cared" mystery interrupt in embedded kernel running on ARM9

2008-05-23 Thread ilya
Hello, thank you for the information. > The stack trace starts here: > > ./drivers/usb/gadget/file_storage.c: > static int fsg_main_thread(void *fsg_) >fsg->thread_task = kthread_create(fsg_main_thread, fsg, > > Looking at this: > > kernel/irq/spurious.c:int noirqdebug_setup(char *str) > k

"irq6: nobody cared" mystery interrupt in embedded kernel running on ARM9

2008-05-22 Thread ilya
behavior? Any information or suggestions would be highly appreciated. -- ilya Example of a dump: irq6: nobody cared Pid: 664, comm: file-storage-ga CPU: 0 PC is at l800_queue+0x170/0x260 [l800_wudc] LR is at wake_up_process+0x18/0x20 pc : []lr : []Not tainted sp : c10ade44 ip

Re: generic_file_read function for kernel 2.6.23.11

2008-01-10 Thread ilya
tions in the > documentation. I am trying to port a module from 2.4 to 2.6. i did a quick search through 2.6.23 headers and the generic_file_read() is still in fs.h but no generic_file_write(). what about using vfs_read() and vfs_write()? -- ilya -- To unsubscribe from this list: send an email wi

how to cause insmod to return an error?

2008-01-03 Thread ilya
shell script. any ideas? modprobe i guess should be smarter about these things but the module has to be in a special directory, and i need something that can load any module from any arbitrary directory without much setup. any help would be appreciated. -- ilya -- To unsubscribe from this list: se

how to find a file in sysfs created with my module for a pci device

2007-12-07 Thread ilya
this? any help is appreciated. -- ilya -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Inserting module into running kernel

2007-09-18 Thread ilya
also, read the man pages on insmod, rmmod, and lsmod. -- ilya On 9/18/07, jiayinjia1983116 <[EMAIL PROTECTED]> wrote: > just run the command "modeprobe module-name" > > > > > 在2007-09-19,"Sachin Gaikwad" <[EMAIL PROTECTED]> : > > > Hi

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

2007-09-14 Thread ilya
XGRP, show_foo, store_foo); this macro will create: dev_attr_foofilename which you register with: device_create_file(&dev, &dev_attr_foofilename); and unregister with: device_remove_file(&dev, &dev_attr_foofilename); hope this helps. -- ilya -- To unsubscribe from this list: send an email wi

Re: gnome mailer for sending patches ?

2007-08-23 Thread ilya
know about gnome mailers but you can easily install kde on ubuntu machine and turn it into kubuntu :). here is the tutorial i used: http://www.psychocats.net/ubuntu/kde -- ilya -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please r

Re: exposing kernel driver to user space app

2007-08-10 Thread ilya
On 8/10/07, Bizhan Gholikhamseh (bgholikh) <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of kashif saeed > > Sent: Friday, August 10, 2007 2:52 AM > > To: ilya > > C

Re: exposing kernel driver to user space app

2007-08-09 Thread ilya
hello kashif, thank you for your input. i did some reading and seems like netlink sockets should be perfect for my needs. as for kobjects, i understand that sysfs is based on them, is that correct? i had hard time finding any info on how to utilize kobjects directly. -- ilya On 8/8/07, kashif

Re: exposing kernel driver to user space app

2007-08-09 Thread ilya
hello, according to this article: http://lwn.net/Articles/149807/ configfs and sysfs are practically the same thing. i think i am going to give netlink sockets a try instead, if that won't work i'll stick w/ sysfs. thank you for your reply. -- ilya On 8/9/07, pradeep singh <[EM

exposing kernel driver to user space app

2007-08-08 Thread ilya
hello, my name is ilya, i am a kernel newbie, and i just joined the list in hopes of getting some insight on linux device driver development. i am writing a kernel-mode driver for a pci card and i need a mechanism to control the device via user-space application. at first i had an additional