Re: Division involving u64 : undefined reference to __udivdi3

2009-02-12 Thread Sukanto Ghosh
On Thu, Feb 12, 2009 at 7:59 AM, Daniel Widyanto wrote: > Hi, > > If I'm not mistaken, there were several reports on Ubuntu forum > regarding kernel vs GCC version compatibility. The error was same as > yours: fail at __udivdi3 (and several floating point functions) linking > stage. Maybe that's t

About tasklet and workqueue

2009-02-12 Thread Peter Chen
Hi, all, I read the code about tasklet (softirq.c) and workqueue (workqueue.c), and there are two points I can't understand, Hope you can tell me why, and point out if i made any errors below.Thank you. 1. Both tasklet and workqueue are created by kthread_create, it's default priority is the same

How to get 'nameidata' structure from inode_permission()

2009-02-12 Thread OopsLee
Hi, Everyone. I have a question. Removed 'nameidata' passing to inode_permission() in kernel 2.6.27, but I need 'nameidata'. Does anyone knows how to get 'nameidata' or 'path' from inode_permission()? -- kernel/include/linux/security.h int (*inode_permission) (struct inode *inode, int mask, struc

OT : ping test

2009-02-12 Thread Microbit_P43000
Just a ping test, to see if I still get "double" posts... Best Regards, Kris -- 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: reverse-engineering a usb device

2009-02-12 Thread Microbit_P43000
I haven't used SnoopyPro in ages, but IIRC (not sure) you could filter on certain protocols. If so, a lot of the mass storage uses RBC commands (scsi), if you can suppress those, the log would be dramatically reduced I think. Else you would need to wait till enum and all RBC traffic has settled a

RE: wifi usb

2009-02-12 Thread Microbit_P43000
If monitor mode is not supported from Linux, then it could be for a reason. AFAIK Linux should allow monitoring on apps like ethereal/wireshark et al. (Unlike WIN). First of all you will need the source of the driver for this tp-link device. Secondly you will need to know what MAC controller/chipse

reverse-engineering a usb device

2009-02-12 Thread Christoph Gysin
I recently got a SanDisk SDDR-189 card reader. It features a small button and comes with a small Windows tool that lets you launch a choosen application. Since there is support in the linux kernel for the button on Maxtor OneTouch harddisk enclosures I figured this would be an interesting task imp

Re: simple module

2009-02-12 Thread Mandeep Sandhu
> Makefile: > > obj-m += hello-1.o > all: > make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules > clean: > make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean > There's a problem wit your make command...try this instead obj-m += hello-1.o all: make -C /li

simple module

2009-02-12 Thread Venkatesh Rao
i am trying to compile a simple module hello-1.c #include #include MODULE_LICENSE("Dual BSD/GPL"); static int hello_init(void) { printk(KERN_ALERT "Hello, world\n"); return 0; } static void hello_exit(void) { printk(KERN_ALERT "Goodbye, cruel world\n"); } module_init(hello_init); mod

traced or stopped process

2009-02-12 Thread Hinko Kocevar
Hi, On my embedded target system ps shows: # ps PID USER VSZ STAT COMMAND 1 root 792 Sinit 2 root 0 SW< [kthreadd] 3 root 0 SW< [ksoftirqd/0] 4 root 0 SW< [events/0] 5 root 0 SW< [khelper] 27 root 0 SW< [kbl

Re: uninstalling a kernel

2009-02-12 Thread Bernd Petrovitsch
On Thu, 2009-02-12 at 18:47 +0530, Venkatesh Rao wrote: [...] > then did make clean > make mrproper Just for the archives: `make clean` is a true subset of `make mrproper` Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +

Re: uninstalling a kernel

2009-02-12 Thread Venkatesh Rao
thank you all i have deleted the system map, initrd and vmlinuz files , edited the grub.conf file also deleted the /lib/modules/linux-2.6.15.1 files then did make clean make mrproper thanks a lot On Thu, Feb 12, 2009 at 6:38 PM, Bernd Petrovitsch wrote: > > On Thu, 2009-02-12 at 18:23 +0530,

Re: uninstalling a kernel

2009-02-12 Thread Bernd Petrovitsch
On Thu, 2009-02-12 at 18:23 +0530, Raseel Bhagat wrote: > On Thu, Feb 12, 2009 at 6:10 PM, Venkatesh Rao > wrote: > i have the following kernels on my machine > > [r...@localhost boot]# ls -lsa > total 18481 >2 drwxr-xr-x 4 root root1024 2009-02-1

Re: uninstalling a kernel

2009-02-12 Thread Raseel Bhagat
On Thu, Feb 12, 2009 at 6:10 PM, Venkatesh Rao wrote: > i have the following kernels on my machine > > [r...@localhost boot]# ls -lsa > total 18481 >2 drwxr-xr-x 4 root root1024 2009-02-11 21:25 . >8 drwxr-xr-x 23 root root4096 2009-02-12 16:40 .. > 80 -rw-r--r-- 1 root root

uninstalling a kernel

2009-02-12 Thread Venkatesh Rao
i have the following kernels on my machine [r...@localhost boot]# ls -lsa total 18481 2 drwxr-xr-x 4 root root1024 2009-02-11 21:25 . 8 drwxr-xr-x 23 root root4096 2009-02-12 16:40 .. 80 -rw-r--r-- 1 root root 79210 2007-10-30 23:30 config-2.6.23.1-42.fc8 2 drwxr-xr-x 2 roo

uninstalling a kernel

2009-02-12 Thread Venkatesh Rao
i have the following kernels on my machine [r...@localhost boot]# ls -lsa total 18481 2 drwxr-xr-x 4 root root1024 2009-02-11 21:25 . 8 drwxr-xr-x 23 root root4096 2009-02-12 16:40 .. 80 -rw-r--r-- 1 root root 79210 2007-10-30 23:30 config-2.6.23.1-42.fc8 2 drwxr-xr-x 2 roo

Re: Modprobe/Insmod Internals

2009-02-12 Thread Daniel Baluta
On Thu, Feb 12, 2009 at 7:25 AM, Tom Sparrow wrote: > > Hi All, > > sorry for wrong subject in previous mail. > > > I have just started module programming.Keen to know about the internals > while doing insmod/modprobe. > > Please check if u may give some points regarding the steps behind > ins