Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Avermedia DVB-T oops



Although that seems like a good change it didn't fix the problem.
I have tried calling printk to see the data in sp887x_firm and the oops happens on the printk line so I am sure it has something to do with that variable.
BTW shouldn't the BUFSIZE problem be causing a seg fault for everyone else? or is kernel mode unprotected or something?

On 09/11/03 09:03:17, Jamie Honan wrote:
> i2c_adapter i2c-0: sendbytes: error - bailout.
> sp887x_initial_setup: firmware upload... <1>Unable to handle kernel
> paging request at virtual address d0b7d040

> EIP is at sp887x_initial_setup+0xbe/0x260 [sp887x]

> I did some debugging and the problem is the access to the
sp887x_firm
> variable on this line
> memcpy(&buf[2], &sp887x_firm[i], c);

Well this isn't my code but it strikes me that in the lines just above
u8 buf [BLOCKSIZE];
should be
u8 buf [BLOCKSIZE+2];

could you try this, let us know if it works?

Jamie


--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe
linux-dvb" as subject.



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index