Re: I2c driver crash

2011-09-22 Thread MohanReddy koppula
I think the client->adapter pointer is NULL. Make sure the ds75_attach_adapte() is called before you invoke ioctl(). -Mohan On Fri, Sep 23, 2011 at 6:58 AM, Benjamin Herrenschmidt wrote: > On Thu, 2011-09-22 at 15:25 +, smitha.va...@wipro.com wrote: >> Hi Scott, >> >> When I call if  i2c_mas

Re: Timer interrupt on Linux 3.0.3

2011-09-21 Thread MohanReddy koppula
I had the same issue with an MPC885 board. My kernel was 2.6.33. On that board decrementer exception was not working. I replaced the board, took new board (MPC885 only, just another board) and the same kernel worked fine. I don't know how the problem was solved. -Mohan On 9/22/11, Scott Wood wro

Problem with a driver in Linux-2.6.33

2011-06-30 Thread MohanReddy koppula
Hi, I am writing a device driver for DSP Embedded Line and Port Interface Controller PEB 20570 (Delic) from infineon. I am using MPC885 custom board. First we wrote a driver without OS and tested transmission and reception, they are working fine. But when I port the same code to the Linux-2.6.33,

Re: Problem with Busybox shell

2011-01-19 Thread MohanReddy koppula
what could be the reason for timer interrupt being not called. Thanks, Mohan On Wed, Jan 19, 2011 at 12:37 AM, tiejun.chen wrote: > MohanReddy koppula wrote: >> But, if there is any problem with cable I could not have seen any >> character in the interrupt routine of the drive

Re: Problem with Busybox shell

2011-01-18 Thread MohanReddy koppula
put into the tty buffer by the driver. Will there be any problem with copy_to_user() if there is some problem in the memory? Thanks, Mohan On Tue, Jan 18, 2011 at 12:55 PM, Nicholas Mc Guire wrote: > On Tue, 18 Jan 2011, MohanReddy koppula wrote: > >> Hi All, >> >> I am w

Problem with Busybox shell

2011-01-18 Thread MohanReddy koppula
Hi All, I am working on an MPC885 based custom board. I am able to boot up the linux (linux-2.6.33.7). I could see busybox shell (ash) prompt. But it is not accepting any inputs, I am not able to enter any command, it just hangs there. I am using ttyCPM0 terminal. I suspected if there was any pro