- From: Calin A. Culianu <calin_at_ajvar.org>
- Date: Mon, 30 Jun 2003 13:17:13 -0400 (EDT)
Kernel panic means your code may be buggy. So far all that you did is correct, more or less, in principle. I would suggest using ksymoops to translate the oops message into some meaningful symbol names. Then maybe you will be able to know exactly where your code crashed. On Tue, 24 Jun 2003 HanMic_at_aol.com wrote: > Hi, again! > > I checked my modules and it seems, that I have all required files inserted: > > Module Size Used by > kcomedilib 4320 0 (unused) > fl512 1408 0 (unused) > comedi 25824 0 [kcomedilib fl512] > rtl_sched 50276 0 > rtl_fifo 10144 0 > rtl_posixio 7008 0 [rtl_fifo] > rtl_time 11144 0 [rtl_sched rtl_posixio] > rtl 27392 0 [kcomedilib comedi rtl_sched rtl_fifo rtl_po > sixio rtl_time] > mbuff 5228 0 (unused) > > Then I took a look at the examples Dave mentioned. Those files have the > follwoing includes: > > <linux/comedi.h> > <linux/comedilib.h> > > So I should be able to find these files in /usr/include/linux - but they are > not there. Does that mean that something went wrong during installation? I > searched my PC and found four files: comedi.h and comedilib.h in /usr/include > (those most be the userspace files, correct?) and comedi.h and comedilib.h in > /usr/src/comedi-0.7.66/include/linux. Those shold be the real-time files? > > Anyway I included: > > include "/usr/src/comedi-0.7.66/include/linux" > > in my rtlinux module and changed the line > > include <linux/comedi.h> > > in /usr/src/comedi-0.7.66/include/linux/comedilib.h to > > include "comedi.h" > > I compiled again and it worked. But when I wanted to insert the module - i > got a kernel panic. > > Any further suggestions? > > Thanks very much :) > > Michael >
Received on 2003-06-30Z16:17:13