Re: Porting v4l-dvb back to 2.6.12.6 ("class_create" replacement)

2009-06-17 Thread JohnQ
On Wed, Jun 17, 2009 at 2:55 PM, JohnQ wrote: > >>On Tue, May 05, 2009 at 02:42:18PM +0200, Moritz Horstmann wrote: > >>> And this is what dmesg says when I try to load the dvb-core module on > >>> the NAS: > >>> > >>> dvb_core: Unknown symbol class_destroy > >>> dvb_core: Unknown symbol class_cr

Re: Porting v4l-dvb back to 2.6.12.6 ("class_create" replacement)

2009-06-17 Thread JohnQ
>On Tue, May 05, 2009 at 02:42:18PM +0200, Moritz Horstmann wrote: >> And this is what dmesg says when I try to load the dvb-core module on >> the NAS: >> >> dvb_core: Unknown symbol class_destroy >> dvb_core: Unknown symbol class_create >> dvb_core: Unknown symbol class_device_create >> dvb_core:

Re: put_task_struct and RCU

2009-06-17 Thread Mulyadi Santosa
On 6/17/09, GoatZilla wrote: > Can someone explain what the normal path for freeing a task's task_struct > resources after it's finished? I'm working on a 2.6.26.6 kernel which > doesn't seem to free these resources after a task is finished. > > Apparently, release_task() is called which at least

Re: stop mount/read/write

2009-06-17 Thread Pei Lin
^-^, delete these commands from your computer or make a "fake" command instead of them. disable network,usb,cdrom, never let anybody to copy these command in your computerLOL hijack the glibc or the dynamic library which these commands depend. 2009/6/16 Sandu Popa Marius : >> isn't chmod use

Re: stop mount/read/write

2009-06-17 Thread Sandu Popa Marius
On Wed, Jun 17, 2009 at 5:53 PM, Pei Lin wrote: > ^-^, delete these commands from your computer or make a "fake" command > instead of them. > disable network,usb,cdrom, never let anybody to copy these command in > your computerLOL > > hijack the glibc or the dynamic library which these comman

Re: Linux ksoftirq

2009-06-17 Thread Tharindu Rukshan Bamunuarachchi
for 1G we are using intel 1000 adapter. AFAIK, it is NAPI driver. but we saw same behavior even with different network card. it is s2io based Neterion 10G card. So i thought this behaviour is hardware/driver independent. packet generator is company application, which just uses tcp/ip to send 400

Re: Linux ksoftirq

2009-06-17 Thread Tharindu Rukshan Bamunuarachchi
with Oprofile, due to performance hit, we did not see the issue. at least we could not pump desired transaction rate. however, i could find workaround for 100% issue. i have installed two 1G network cards and used bondding with balance-rr (round robin). now i do not see 100% utilization of ksoft

Re: Is CD-DA supported in kernel 2.6

2009-06-17 Thread SandeepKsinha
Hi Adam, For personal use only: mnt = alloc_vfsmnt(name); if (!mnt) goto out; The name here is your mount point. Re-check. This should solve your issue. If you just want to get away with it. The intention of the above function ( get_sb_bdev) also includes to set the mou

Re: UIDs and GIDs in struct task_struct

2009-06-17 Thread Matthias Kaehlcke
El Wed, Jun 17, 2009 at 07:53:32AM +0530 Onkar ha dit: >Why are there so many uids and gids in > >struct task_struct { > >What is the significance and in which situation we use uid,euid,suid,fsuid >and gid,egid,sgid,fsgid ? >any pointers on this ... real, effective, saved an

Re: UIDs and GIDs in struct task_struct

2009-06-17 Thread SandeepKsinha
Hey Tharindu, On Wed, Jun 17, 2009 at 12:39 PM, Tharindu Rukshan Bamunuarachchi wrote: > What is the kernel version you are referring to  ... > > i thought all uid/gid etc ... are moved to "struct cred" ... > > http://lxr.linux.no/linux+v2.6.29/include/linux/cred.h#L114 > > No issues with the ker

Re: UIDs and GIDs in struct task_struct

2009-06-17 Thread Razvan Deaconescu
On Wed, 2009-06-17 at 12:39 +0530, Tharindu Rukshan Bamunuarachchi wrote: > What is the kernel version you are referring to ... I wasn't referring to a specific kernel version. I gave you a hint where you could find detailed information related to uid, euid & friends. Razvan -- To unsubscribe

Re: Is CD-DA supported in kernel 2.6

2009-06-17 Thread Adam Jiang
On Wed, Jun 17, 2009 at 4:30 PM, SandeepKsinha wrote: > Hi Adam, > > For personal use only: > >  mnt = alloc_vfsmnt(name); >        if (!mnt) >                goto out; > > The name here is your mount point. Re-check. > This should solve your issue. If you just want to get away with it. > > The int

Re: UIDs and GIDs in struct task_struct

2009-06-17 Thread Tharindu Rukshan Bamunuarachchi
What is the kernel version you are referring to ... i thought all uid/gid etc ... are moved to "struct cred" ... http://lxr.linux.no/linux+v2.6.29/include/linux/cred.h#L114 cheers On Wed, Jun 17, 2009 at 10:04 AM, Razvan Deaconescu wrote: > On Wed, 2009-06-17 at 07:53 +0530, Onkar wrote: >>