Re: Device node - How does kernel know about it

2007-12-30 Thread Brad Boyer
On Thu, Dec 27, 2007 at 07:27:17PM -0800, Siva Prasad wrote: > What is the kernel routine that is first called when there is, for > example a read() function call from user program? > I would like to start debugging from there and see if any thing at all > happens when there is a call. Appreciate

RE: Device node - How does kernel know about it

2007-12-27 Thread Siva Prasad
ecember 27, 2007 8:16 PM To: Siva Prasad Cc: Nicholas Mc Guire; linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] Subject: Re: Device node - How does kernel know about it On 12/27/07, Siva Prasad <[EMAIL PROTECTED]> wrote: > Thank you Jon and Nicholas. > > I already have "console=ttyS0&quo

Re: Device node - How does kernel know about it

2007-12-27 Thread Jon Smirl
pens when there is a call. Appreciate your help with this question. > > Thanks > Siva > > > -Original Message- > From: Nicholas Mc Guire [mailto:[EMAIL PROTECTED] > Sent: Friday, December 28, 2007 12:39 AM > To: Siva Prasad > Cc: linuxppc-dev@ozlabs

RE: Device node - How does kernel know about it

2007-12-27 Thread Siva Prasad
nt: Friday, December 28, 2007 12:39 AM To: Siva Prasad Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] Subject: Re: Device node - How does kernel know about it -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > * Ramdisk is also executing fine, just that prints are not coming out of > seria

Re: Device node - How does kernel know about it

2007-12-27 Thread Nicholas Mc Guire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > * Ramdisk is also executing fine, just that prints are not coming out of > serial. I can see the execution of various user programs with a printk > in sys_execve() routine. Ramdisk has all the required files like > /dev/console, /dev/ttyS0, etc. > *

Re: Device node - How does kernel know about it

2007-12-26 Thread Jon Smirl
On 12/26/07, Siva Prasad <[EMAIL PROTECTED]> wrote: > Hi, > > I am really interested in finding out how kernel knows about device > nodes and how the whole thing work. This is as part of my debugging > effort on 8641D based PowerPC board. > > * It all started with the problem of "not printing" any

Device node - How does kernel know about it

2007-12-26 Thread Siva Prasad
Hi, I am really interested in finding out how kernel knows about device nodes and how the whole thing work. This is as part of my debugging effort on 8641D based PowerPC board. * It all started with the problem of "not printing" any thing that comes from ramdisk (echo and printf statements), whil