Uniquely Identify Machine

2011-09-05 Thread Gaurav Mahajan
Hi, I wan to recognize a particular machine uniquely. I would like to know which attribute of any machine can uniquely identify a particular machine. The machine may be a Virtual machine. Are BIOS information for machine are unique Is processor id is unique or we can form unique

Re: analysis of kernel panic logs.

2011-09-05 Thread sandeep kumar
Hi Dave, I want to share what is the problem and how it got fixed. The problem goes like this, The init process(init.c) of ANDROID parses init.rc file which specifies the actions to be done on a specific trigger. In our case mistakenly we specified the trigger,but no action. Due to which the

Re: Uniquely Identify Machine

2011-09-05 Thread ajit mote
I would prefer to combine 2 different attribute from system details like MAC ADDR of any in-built interface with dmidecode output like system serial number or system UUID. //snippet from dmidecode System Information Manufacturer: LENOVO Product Name: 2537CT1 Version:

Re: Uniquely Identify Machine

2011-09-05 Thread Greg KH
On Mon, Sep 05, 2011 at 02:07:35PM +0530, Gaurav Mahajan wrote:   I wan to recognize a particular machine uniquely. This can be done from userspace using the proper dbus api call. It's not a kernel issue. ___ Kernelnewbies mailing list

Re: Regarding threaded irq and normal irq

2011-09-05 Thread Peter Teoh
On Thu, Sep 1, 2011 at 5:48 PM, sandeep kumar coolsandyfor...@gmail.com wrote: HI all, I want to know whether threaded_irq will be in interrupt context or process context. I heard they replace workqueues. But i dont know which context they will be running in. Any furthur references

Re: Regarding threaded irq and normal irq

2011-09-05 Thread sandeep kumar
Hi peter, we can immediately deduced that threaded IRQ handler is sleepable/blocking-allowed, and therefore process context. Correct? Hmm..But when i tried to take a mutex lock in threaded_irq, it is throwing a warning message BUG: sleeping function called from invalid context... So i was

Re: Parallel IO port conflict (driver problem)

2011-09-05 Thread Greg KH
On Tue, Sep 06, 2011 at 08:58:34AM +0800, Shenli Zhu wrote: Hi all, I am reading Linux device driver 3rd. I try to insmod the short example(a example use parallel port). But the port 0x378 is allocated to parport. And parport is used by ppdev, parport_pc and lp. Shall I rmmod all these

Re: Re: Regarding threaded irq and normal irq

2011-09-05 Thread Mulyadi Santosa
Hi :) On 06/09/2011, sandeep kumar coolsandyfor...@gmail.com wrote: Hmm..But when i tried to take a mutex lock in threaded_irq, it is throwing a warning message BUG: sleeping function called from invalid context... So i was wondering which way it is.. Please don't top post :) Anyway,

Re: Re: Regarding threaded irq and normal irq

2011-09-05 Thread anish singh
On Tue, Sep 6, 2011 at 10:51 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi :) On 06/09/2011, sandeep kumar coolsandyfor...@gmail.com wrote: Hmm..But when i tried to take a mutex lock in threaded_irq, it is throwing a warning message BUG: sleeping function called from invalid