Re: BUG: scheduling while atomic

2011-05-10 Thread Dave Hylands
Hi Sandeep, Sending to the list this time... On Mon, May 9, 2011 at 10:51 PM, sandeep kumar coolsandyfor...@gmail.com wrote: Here is the following logs i got when i collected ramdump from my development mobile after going to kernel panic Kernel version is 2.6.35.7, Android version

Re: How does the kernel chooses the 'vfat' module for fat32 partitions?

2011-05-10 Thread Mulyadi Santosa
hi Sudheer... On Tue, May 10, 2011 at 11:48, Sudheer Divakaran inbox1.sudh...@gmail.com wrote: Hi List, I have one doubt regarding the component which determines that 'vfat' module is the correct module to be used for accessing fat32 file systems and how does vfat.ko  became the ideal

Re: How does the kernel chooses the 'vfat' module for fat32 partitions?

2011-05-10 Thread Sudheer Divakaran
Hi Mulyadi, On Tue, May 10, 2011 at 12:10 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: hi Sudheer... On Tue, May 10, 2011 at 11:48, Sudheer Divakaran inbox1.sudh...@gmail.com wrote: Hi List, I have one doubt regarding the component which determines that 'vfat' module is the

Re: How does the kernel chooses the 'vfat' module for fat32 partitions?

2011-05-10 Thread Sudheer Divakaran
Hi, vfat module was not loaded before, it got loaded only after I issued the mount command. We can see this info in the udev log. Moreover there was no entry for the usbstick partition in /etc/fstab. So someone kernel/userspace takes the decision that vfat.ko should be used for managing

do all kobjects in a kset need to be the same ktype?

2011-05-10 Thread Robert P. J. Day
in the current version of the header file kobject.h, there's this comment: /** * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem. * * A kset defines a group of kobjects. They can be individually * different types but overall these kobjects all want

Re: do all kobjects in a kset need to be the same ktype?

2011-05-10 Thread Greg KH
On Tue, May 10, 2011 at 07:07:18AM -0400, Robert P. J. Day wrote: in the current version of the header file kobject.h, there's this comment: /** * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem. * * A kset defines a group of kobjects. They

Re: do all kobjects in a kset need to be the same ktype?

2011-05-10 Thread Robert P. J. Day
On Tue, 10 May 2011, Greg KH wrote: On Tue, May 10, 2011 at 07:07:18AM -0400, Robert P. J. Day wrote: can someone clarify this? Have you read Documentation/kobjects.txt first? ah, quite so, thanks. rday --

Re: How does the kernel chooses the 'vfat' module for fat32 partitions?

2011-05-10 Thread Mulyadi Santosa
Hi... On Tue, May 10, 2011 at 14:47, Sudheer Divakaran inbox1.sudh...@gmail.com wrote: 'mount' itself was responsible for guessing the vfat driver. Running mount with -v gave the following output we both are partly correct, from man mount: If no -t option is given, or if the auto type is

Re: confused by char dev registration in a gpio driver

2011-05-10 Thread Jim Cromie
On Tue, May 3, 2011 at 4:06 PM, Greg KH g...@kroah.com wrote: On Tue, May 03, 2011 at 05:21:11PM -0400, Robert P. J. Day wrote:   i always thought both of those routines returned a simple zero to indicate success.  but look at those last few lines -- that return code is assigned to major, at

Seeing symbols of modules in kgdb setup

2011-05-10 Thread Spiro Trikaliotis
Hello, I have a question on setting up kgdb. I searched the web and found some tutorials. Unfortunately, it seems many are out of date, especially taking into account that kgdb has been (partially?) integrated into the main kernel. For example, I had to find out that the parameter for kgdb are

Re: Seeing symbols of modules in kgdb setup

2011-05-10 Thread Thayumanavar S
I think the tutorial on Linsyssoft helped me a lot (but only after combining it with other resources): http://kgdb.linsyssoft.com/quickstart.htm. I have built a custom kernel with kgdb. kgdboc and kgdbwait are set up, I can break into my machine over serial. I can single step through the