dentry path name lookup

2010-01-27 Thread er krishna
Dear All, Can anybody please help me how does dentry does path resolution. I want to undersatnd the whole process in detail. Any link or comments are most welcome. Just asking for my understanding, Dentry maintains a relationship between file object inode for path name lookup ? Is it right ?

Re: automatic driver loading functionality in Linux

2010-01-27 Thread luca ellero
Ozan Türkyılmaz wrote: 26.01.2010 17:42, Greg KH yazmış: On Sun, Jan 24, 2010 at 10:49:24AM +0530, Joel Fernandes wrote: Hi Peter, Thanks for your message. Actually I'm interested in how modprobe autoloads modules based on the modalias files in sysfs. I read this in Greg KH's great book -

Re: Needs the complete definition user_path_walk()

2010-01-27 Thread waqar afridi
I wasnt expecting that much quick reply, Zellux and specially Manish for for sharing this great Ocean of Knowledge (Google)... On Wed, Jan 27, 2010 at 12:33 PM, Manish Katiyar mkati...@gmail.com wrote: On Wed, Jan 27, 2010 at 12:36 PM, waqar afridi afridi.wa...@gmail.com wrote: Hello Every

Re: Needs the complete definition user_path_walk()

2010-01-27 Thread waqar afridi
Thanx Mulyadi, the Link was Extremely Useful, Now digging up for more, I will Update this thread Sooner... On Wed, Jan 27, 2010 at 12:55 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi. On Wed, Jan 27, 2010 at 2:06 PM, waqar afridi afridi.wa...@gmail.com wrote: Hello Every One

Re: Needs the complete definition user_path_walk()

2010-01-27 Thread Manish Katiyar
On Wed, Jan 27, 2010 at 1:35 PM, waqar afridi afridi.wa...@gmail.com wrote: I wasnt expecting that much quick reply, Zellux and specially Manish for for sharing this great Ocean of Knowledge (Google)... On Wed, Jan 27, 2010 at 12:33 PM, Manish Katiyar mkati...@gmail.com wrote: On Wed, Jan

Re: dentry path name lookup

2010-01-27 Thread Manish Katiyar
On Wed, Jan 27, 2010 at 1:37 PM, er krishna erkris...@gmail.com wrote: Dear All, Can anybody please help me how does dentry does path resolution. I want to undersatnd the whole process in detail. Any link or comments are most welcome. Just asking for my understanding, Have a look at

Re: dentry path name lookup

2010-01-27 Thread Neependra Khare
On Wed, Jan 27, 2010 at 1:37 PM, er krishna erkris...@gmail.com wrote: Dear All, Can anybody please help me how does dentry does path resolution. I want to undersatnd the whole process in detail. Any link or comments are most welcome. I found following useful :-

Re: Needs the complete definition user_path_walk()

2010-01-27 Thread Manish Katiyar
On Wed, Jan 27, 2010 at 12:36 PM, waqar afridi afridi.wa...@gmail.com wrote: Hello Every One This is my First mail to this community, so dont know much about the Rules and Regulations. In general doing google is a good idea. I want the Definition of user_path_walk() function, If any one had,

Re: kernel upgrade woes (possibly SATA/IDE confusion)

2010-01-27 Thread hv
Vaughn E. Clinton vclin...@msn.com wrote: :can you post any boot related messages? There is rather more detail in my original post at http://article.gmane.org/gmane.linux.kernel.kernelnewbies/32979. In particular, it includes the tail of the messages from a failed boot (transcribed by hand), and

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-27 Thread Joel Fernandes
I think the problems were in the way the line information was structured in the kernel module ELF. The line information of all the objects were clubbed together when compiling for x86_64 but the starting numbers were not taken into account. This how the line no.s in the resulting ko ELF objects

Re: kernel upgrade woes (possibly SATA/IDE confusion)

2010-01-27 Thread Srdjan Todorovic
Hi, On 27/01/2010, h...@crypt.org h...@crypt.org wrote: Vaughn E. Clinton vclin...@msn.com wrote: :can you post any boot related messages? There is rather more detail in my original post at http://article.gmane.org/gmane.linux.kernel.kernelnewbies/32979. I saw this earlier, and I thought I

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-27 Thread Joel Fernandes
If you have a different architecture than x86, I would be grateful if you could dump the output of readelf -wL somemodule.ko somewhere so we can see what's happening for other archs. -wL outputs information from .debug_line section of the ELF object. Thanks, -Joel On Wed, Jan 27, 2010 at 4:24

Re: automatic driver loading functionality in Linux

2010-01-27 Thread Greg KH
On Wed, Jan 27, 2010 at 10:58:59AM +0530, Joel Fernandes wrote: Hi Greg. What you want to look at is the modules.alias file. ?That is what makes things so simple, it creates a mapping from a device/product id to the actual module. I get the idea now, thanks. So when a device is

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-27 Thread Mulyadi Santosa
Hi... On Wed, Jan 27, 2010 at 5:54 PM, Joel Fernandes agnel.j...@gmail.com wrote: I think the problems were in the way the line information was structured in the kernel module ELF. The line information of all the objects were clubbed together when compiling for x86_64 but the starting

Re: kernel upgrade woes (possibly SATA/IDE confusion)

2010-01-27 Thread Mulyadi Santosa
On Wed, Jan 27, 2010 at 6:03 PM, Srdjan Todorovic todorovi...@googlemail.com wrote:  2) Remove generic IDE support (I think I had problems with this where the generic IDE driver took over hardware and then didn't quite know how to handle the Nvidia controller) I second the above Srdjan's

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-27 Thread Joel Fernandes
Nice observation :) So, perhaps might question, what the best way to avoid such problem. always use latest gdb? I thought things like this is formally standardized I don't know why ld resets the addresses (or rather doesn't make the addresses continugous in .debug_line) when linking

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-27 Thread Mulyadi Santosa
On Thu, Jan 28, 2010 at 1:38 AM, Joel Fernandes agnel.j...@gmail.com wrote: I don't know why ld resets the addresses (or rather doesn't make the addresses continugous in .debug_line) when linking multiple shared objects (with relocatable code). Anyway I'm going through the DWARF 3.0 spec

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-27 Thread Joel Fernandes
perhaps we can peek into ksplice on how to deal with such thing? i haven't used ksplice by myself, but I guess it will use  DWARF info somehow, right? Sure, there's also elfutils (readelf is a part of that) which contains code that parses dwarf line info.. but line info is fairly non-trivial,