Kernel freeze when writing e1000 driver

2013-02-26 Thread Phani Vadrevu
Hi list, I am writing a network driver for the e1000 card. While doing the receive part, I saw that the kernel freezes whenever it reaches the netif_rx(skb) call. I was able to reproduce the same error when using a bare bones driver where I hard codde the skb data. Please see the code of that

Re: Kernel freeze when writing e1000 driver

2013-02-26 Thread Jonathan Neuschäfer
On Tue, Feb 26, 2013 at 11:19:18AM -0500, Phani Vadrevu wrote: unsigned char t[] =

Re: Kernel freeze when writing e1000 driver

2013-02-26 Thread Valdis . Kletnieks
On Tue, 26 Feb 2013 11:19:18 -0500, Phani Vadrevu said: I am writing a network driver for the e1000 card. While doing the receive part, I saw that the kernel freezes whenever it reaches the netif_rx(skb) call. I was able to reproduce the same error when using a bare bones driver where I hard