- From: Stephen Nestinger <ssn17_at_yahoo.com>
- Date: Thu, 20 Nov 2003 14:45:40 -0800 (PST)
To rehash, below is the kernel log that I recieve after inserting the daqcard-1200. From /var/log/messages, I find that the modules load succefully and that the kernel panic occurs when running /etc/pcmcia/comedi start daqcard-1200. /var/log/messages: kernel: comedi: version 1.0.0 - David Schleef <ds_at_schleef.org> kernel: daqcard-1200: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x011f kernel: Available NI device IDs: cardmgr[1306]: + loading /lib/modules/2.4.20-rtl3.2-pre2/comedi/ni_labpc_cs.o cardmgr[1306]: + Module ni_labpc_cs loaded, with warnings cardmgr[1306]: executing: './comedi start daqcard-1200' kernel: daqcard-1200: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x011f kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 kernel: ... Since my last posting, I have enabled the ISA bus in my kernel which now gives the daqcard-1200 an IRQ=3 instead of 0. Thanks for pointing that out Frank. I was not quite sure if the pcmcia bus required ISA to be enabled. Here is the ksymoops output from the kernel panic that I get: >>EIP; eac067b4 <[comedi]comedi_recognize+24/60> <===== >>eax; eac17580 <[ni_labpc_cs]driver_labpc_cs+0/20> >>ecx; eac175e0 <labpc_cs_boards+0/????> >>edx; e3f8beec <_end+23c1de14/2a894f88> >>edi; e3f8beec <_end+23c1de14/2a894f88> >>esp; e3f8be9c <_end+23c1ddc4/2a894f88> Trace; eac17580 <[ni_labpc_cs]driver_labpc_cs+0/20> Trace; eac064e0 <[comedi]comedi_device_attach+210/240> Trace; eac17580 <[ni_labpc_cs]driver_labpc_cs+0/20> Trace; c0126aa3 <do_anonymous_page+103/120> Trace; eac0348c <[comedi]do_devconfig_ioctl+10c/170> Trace; c0145f09 <sys_ioctl+b9/1c0> Trace; c0107493 <system_call+47/4c> Code; eac067b4 <[comedi]comedi_recognize+24/60> 00000000 <_EIP>: Code; eac067b4 <[comedi]comedi_recognize+24/60> <===== 0: ac lods %ds:(%esi),%al <===== Code; eac067b5 <[comedi]comedi_recognize+25/60> 1: ae scas %es:(%edi),%al Code; eac067b6 <[comedi]comedi_recognize+26/60> 2: 75 08 jne c <_EIP+0xc> Code; eac067b8 <[comedi]comedi_recognize+28/60> 4: 84 c0 test %al,%al Code; eac067ba <[comedi]comedi_recognize+2a/60> 6: 75 f8 jne 0 <_EIP> Code; eac067bc <[comedi]comedi_recognize+2c/60> 8: 31 c0 xor %eax,%eax Code; eac067be <[comedi]comedi_recognize+2e/60> a: eb 04 jmp 10 <_EIP+0x10> Code; eac067c0 <[comedi]comedi_recognize+30/60> c: 19 c0 sbb %eax,%eax Code; eac067c2 <[comedi]comedi_recognize+32/60> e: 0c 01 or $0x1,%al Code; eac067c4 <[comedi]comedi_recognize+34/60> 10: 85 c0 test %eax,%eax Code; eac067c6 <[comedi]comedi_recognize+36/60> 12: 89 ce mov %ecx,%esi I'm not sure what parameters to give ksymoops but I believe all of the defaults should be alright. I first cleared the /var/log/message file and restarted syslogd. Then I inserted the card, waited fom the kernel error and ran ksymoops on 'message'. If you require anything else, please just ask. I hope this helps. Thanks again. Stephen __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
Received on 2003-11-20Z22:45:40