Re: udev device naming

2012-11-28 Thread Sannu K
On Thu, Nov 29, 2012 at 11:43 AM, Mulyadi Santosa wrote: > Hi... > > On Thu, Nov 29, 2012 at 9:04 AM, Prasad Joshi > wrote: >> Hello All, >> >> I have a virtual machine to which I dynamically attach/detach disk >> devices. On this VM the boot device is always '/dev/sda'. >> >> When a attach and

Re: udev device naming

2012-11-28 Thread Mulyadi Santosa
Hi... On Thu, Nov 29, 2012 at 9:04 AM, Prasad Joshi wrote: > Hello All, > > I have a virtual machine to which I dynamically attach/detach disk > devices. On this VM the boot device is always '/dev/sda'. > > When a attach and detach different disk continuously to this virtual > machine, every-time

udev device naming

2012-11-28 Thread Prasad Joshi
Hello All, I have a virtual machine to which I dynamically attach/detach disk devices. On this VM the boot device is always '/dev/sda'. When a attach and detach different disk continuously to this virtual machine, every-time, the same device file '/deb/sdb' is created. Is there anyway I can tell

Re: how to use kgtp in kernel debuging ?

2012-11-28 Thread Mulyadi Santosa
On Wed, Nov 28, 2012 at 8:03 AM, horse_rivers wrote: > hi: > > I want to trace kernel of linux 1.0 version ,and now I have compile > sucessfully a 1.0 kernel with source code . > >but how to use kgtp tools to trace kernel ? kgtp? or kgdb? -- regards, Mulyadi Santosa Freelance Linux tr

Interrupt handling - Linux

2012-11-28 Thread manty kuma
In linux interrupt programming, we do request_irq(...) in this function, the first argument is irq number. If i am not wrong, this is the interrupt line that we are requesting from kernel. For one particular hardware, is this IRQ line fixed or can it register on any line based on the availability?

Re: FIFO

2012-11-28 Thread Bernd Petrovitsch
Hi! On Mit, 2012-11-28 at 09:43 +, Pietro Paolini wrote: [] > I would like use a FIFO to implement a pipe which use is quite the > same of the /proc/fs (for example the net statistics then just read). /proc/fs is a directory hereover. > I would like use the cat command in order to reach

Re: what is tty* in /edv file folder?

2012-11-28 Thread Rami Rosen
Hi, These are character devices for I/O. /dev/tty0 is a special device, representing the current terminal. /dev/tty1 is the first virtual terminal, /dev/tty1 is second virtual terminal (usually there are 6 virtual terminals). The other /dev/tty* are for other purposes. Regards, Rami Rosen ht

what is tty* in /edv file folder?

2012-11-28 Thread horse_rivers
hi:    I find in /dev/ file folder ,there are many tty* , which is like   tty0,ty1,tty7,tty9,and son on.   I do not know what is this ?    my computer may not have so many device thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

FIFO

2012-11-28 Thread Pietro Paolini
Hi all, I would like use a FIFO to implement a pipe which use is quite the same of the /proc/fs (for example the net statistics then just read). I would like use the cat command in order to reach the information, like: Cat /path/to/pipe The problem is that cat expect the EOF of file before exi

Re: Device node at /dev/tty* not getting created for uart serial driver

2012-11-28 Thread Manavendra Nath Manav
On Mon, Nov 26, 2012 at 2:02 PM, Jinqiang Zeng wrote: > > first creat a device class,then register a device to the kernel. using the > following functions: > struct class *class_create(struct module *owner, char *name); > struct class_device *class_device_create(struct class *cls, >