Workqueue and kernel panic on device disconnect

2011-10-25 Thread Frank Schäfer
Hi, I'm trying to use a workqueue in a usb driver for polling the states of the device buttons. That works fine, but when I disconnect the device, the kernel sometimes explodes. The machine turns off immediately, without saving a backtrace (I will try to make a photo tomorrow) The code: sta

Fix procmail rule in ML wikipage

2011-10-25 Thread chandanrmail
The procmail rule for "netdev:Linux network development list" has a typo. The "condition" should be as shown below: * ^X-Mailing-List:.*netdev@vger\.kernel\.org Regards, chandan r ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://li

Re: Purpose of using __be16 inside a data structure?

2011-10-25 Thread Jonathan Neuschäfer
On Mon, Oct 24, 2011 at 12:54:41PM -0700, Kevin O'Gorman wrote: > On Tue, Aug 9, 2011 at 12:25 AM, 陳國成 wrote: > > > Hi all, > > > > Please tell me the difference between using unsigned short and __be16 to > > declear a variable in a data structure. [...] > accomplishes this goal. From the name,

Re: Linux 0.02 version download

2011-10-25 Thread Shaz
On Tue, Oct 25, 2011 at 2:52 PM, Adam Lee wrote: > On Tue, Oct 25, 2011 at 10:04:06AM +0200, Christophe Lucas wrote: >> Le 25/10/2011 09:46, Javier Martinez Canillas a écrit : >> > On Tue, Oct 25, 2011 at 9:36 AM, bob  wrote: >> >> He's probably doing os dev and wants something simple to learn. St

Re: Linux 0.02 version download

2011-10-25 Thread Adam Lee
On Tue, Oct 25, 2011 at 10:04:06AM +0200, Christophe Lucas wrote: > Le 25/10/2011 09:46, Javier Martinez Canillas a écrit : > > On Tue, Oct 25, 2011 at 9:36 AM, bob wrote: > >> He's probably doing os dev and wants something simple to learn. Stick with > >> 0.01 as 0.02 source is lost. Sad face. >

Re: Linux 0.02 version download

2011-10-25 Thread Christophe Lucas
Le 25/10/2011 09:46, Javier Martinez Canillas a écrit : > On Tue, Oct 25, 2011 at 9:36 AM, bob wrote: >> He's probably doing os dev and wants something simple to learn. Stick with >> 0.01 as 0.02 source is lost. Sad face. > > Yes I know, but I recommend either use a newer kernel or use an > operat

Re: Linux 0.02 version download

2011-10-25 Thread Javier Martinez Canillas
On Tue, Oct 25, 2011 at 9:36 AM, bob wrote: > He's probably doing os dev and wants something simple to learn. Stick with > 0.01 as 0.02 source is lost. Sad face. Yes I know, but I recommend either use a newer kernel or use an operating system that was written for teaching like: http://pdos.csail

Re: Linux 0.02 version download

2011-10-25 Thread bob
He's probably doing os dev and wants something simple to learn. Stick with 0.01 as 0.02 source is lost. Sad face. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Is there a tool which can generate a small and simple source tree after config?

2011-10-25 Thread Javier Martinez Canillas
On Sun, Oct 23, 2011 at 6:29 PM, jiangtao.jit wrote: > Hi: > Hi jiangtao, > While reading the kernel code > 1. the huge amount of files make me scared >    there are too many alike functions in different files >    sometimes I can't figure out which one was really compiled > 2. too many macros i

Re: Linux 0.02 version download

2011-10-25 Thread Javier Martinez Canillas
On Tue, Oct 25, 2011 at 4:40 AM, Venkateswarlu P wrote: > I want to download  Linux 0.02 version > I anybody knows plese send the link > I already tried in the google > Hi Venkateswarlu, Why do you need such an ancient Linux kernel? If you want to learn from the source code I recommend you a mor

Re: Is there a way to build a cross reference with kernel file

2011-10-25 Thread Javier Martinez Canillas
Hello Jimmy, On Mon, Oct 24, 2011 at 5:00 PM, Jimmy Pan wrote: > It seems we can use ctags, while, I don't really know how to implement it. > I don't want to use the online cross reference every time... > Thanks. > Emacs + etags + cscope is for my the best approach to navigate the kernel. A few