Re: [OOT] System forensic

2010-04-19 Thread Michael Blizek
Hi! On 11:49 Tue 20 Apr , Mulyadi Santosa wrote: > On Tue, Apr 20, 2010 at 11:23, Kousik Maiti wrote: > > Hi list, > > This may be irrelevant question. > > I have a system which was successfully  attached by some hackers . I want > > to diagnostics it. I tried to google it but don't get any d

Re: why INITIAL_JIFFIES is -300 * HZ?

2010-04-19 Thread Simon Kitching
On Tue, 2010-04-20 at 11:09 +0530, Nagaprabhanjan Bellari wrote: > I am curious to know why jiffies is initialized with INITIAL_JIFFIES > which is -300 * HZ? It is mentioned in the source that jiffies, when > initialized with this value, will make it overflow in 5 minutes. > > Can somebody tell m

Problem with applying Gcov tool to kernel module

2010-04-19 Thread boy tlay
Hi Forks, I tried to use gcov tool for a coverage test of my kernel module, but it didn't work. My environment is follows... kernel : 2.6.31.12 arch : ARM Cortex-A8 board : beagleboard tool : CodeSourcery 2009q1-203 mount : file system on SD card My attempt process is follows... 1. make director

why INITIAL_JIFFIES is -300 * HZ?

2010-04-19 Thread Nagaprabhanjan Bellari
I am curious to know why jiffies is initialized with INITIAL_JIFFIES which is -300 * HZ? It is mentioned in the source that jiffies, when initialized with this value, will make it overflow in 5 minutes. Can somebody tell me how it helps in dealing with jiffy overflow issues at a later point in tim

Re: device driver debugging : help required

2010-04-19 Thread Michael Blizek
Hi! On 23:13 Mon 19 Apr , yogeshwar sonawane wrote: > hi list, > > I am doing some trial related to device driver programming. > During one such trial, my test node is getting rebooted. > I am using netconsole to observe messages. Now, generally we get some > oops messages > related to either

Re: device driver debugging : help required

2010-04-19 Thread Mulyadi Santosa
On Tue, Apr 20, 2010 at 00:43, yogeshwar sonawane wrote: > hi list, > > I am doing some trial related to device driver programming. > During one such trial, my test node is getting rebooted. > I am using netconsole to observe messages. Now, generally we get some > oops messages > related to either

Re: [OOT] System forensic

2010-04-19 Thread Mulyadi Santosa
On Tue, Apr 20, 2010 at 11:23, Kousik Maiti wrote: > Hi list, > This may be irrelevant question. > I have a system which was successfully  attached by some hackers . I want > to diagnostics it. I tried to google it but don't get any doc . Is there any > documentation so that I can check the system

System forensic

2010-04-19 Thread Kousik Maiti
Hi list, This may be irrelevant question. I have a system which was successfully attached by some hackers . I want to diagnostics it. I tried to google it but don't get any doc . Is there any documentation so that I can check the system? Thanks in advanced. -- Kousik Maiti India

Re: suggestion on writing driver

2010-04-19 Thread Tapas Mishra
I also had this problem and was suggested to real O Reilly Book . I have found one more interesting book see if it suits you http://www.amazon.com/Essential-Device-Drivers-Sreekrishnan-Venkateswaran/dp/0132396556 then you may have a copy of it. I am currently stuck up with init/calibrate.c that is

Re: Question on SDIO driver

2010-04-19 Thread selvamuthukumar v
On Mon, Apr 19, 2010 at 7:27 PM, dinesh bhaskar wrote: > Hello all, > > I am porting the driver for the SDIO WLAN Spectec card. > > The module is getting inserted properly but the probe method is not > getting called. > probe method will get called when bus driver is able to match a device with a

Re: suggestion on writing driver

2010-04-19 Thread Greg Freemyer
On Mon, Apr 19, 2010 at 10:29 AM, Niamathullah sharief wrote: > Hello, >     I am newbie to programming. I want to write some USB driver for any USB > device. Can anyone suggest me what will be better one to start programming > drivers. I know only c programming. > The vast majority of the kernel

device driver debugging : help required

2010-04-19 Thread yogeshwar sonawane
hi list, I am doing some trial related to device driver programming. During one such trial, my test node is getting rebooted. I am using netconsole to observe messages. Now, generally we get some oops messages related to either NULL pointer reference OR CPU stuck or any other reason. But, i am not

Re: Difference between various superblock methods

2010-04-19 Thread Himanshu Aggarwal
All, Thanks for clearing the doubts. Today I found that there is a fifth API by the name : get_sb_mtd() which is used for mtd based devices. I found its usage while going through some code of JFFS2. This API is not covered by ULK - ch12. ~Himanshu Aggarwal On Mon, Apr 19, 2010 at 1:56 PM, Onk

suggestion on writing driver

2010-04-19 Thread Niamathullah sharief
Hello, I am newbie to programming. I want to write some USB driver for any USB device. Can anyone suggest me what will be better one to start programming drivers. I know only c programming.

Question on SDIO driver

2010-04-19 Thread dinesh bhaskar
Hello all, I am porting the driver for the SDIO WLAN Spectec card. The module is getting inserted properly but the probe method is not getting called. The SDIO is on the PCI bus, do we need to call the pci_register_driver for registering the sdio card besides calling the sdio_register_driver? wh

Re: prefetch(x)

2010-04-19 Thread Mulyadi Santosa
Hi Onkar... On Mon, Apr 19, 2010 at 17:59, Onkar Mahajan wrote: > More specifically : > > What is the benefit of using prefetch(x) ? IMHO, it will told the CPU to prefetch the data from memory...or in other word, reading them before it is really needed. AFAIK, by doing so, we reduce processor ge

prefetch(x)

2010-04-19 Thread Onkar Mahajan
How does #define hlist_for_each_entry(tpos, pos, head, member)\ for (pos = (head)->first;\ pos && ({ pos->next ; 1;}) && \ ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;})