From: Dave E. <den...@ch...> - 2006-08-28 04:34:25
|
Hi, I may be thinking about different ID. However with both jumpers absent the board ID is 3 not zero. Try adding jumpers and running vsitest. Dave On Aug 27, 2006, at 9:14 PM, Mark Pictor wrote: > Perhaps your card is not plugged in all the way, or a bad pci slot > connector, or dirt on the card contacts? > > What does lspci say about the card? Better yet, does lspci say > anything different when loading motenc fails, as opposed to when it > succeeds (assuming the card semi-randomly starts and stops > working)? > > According to the PDF, J7 is used to set the card ID. Is it set > correctly? > > Any difference in card function between the computer being started > from a complete power-off, vs. hitting the reset button? What > about if you disconnect all cables from the card before booting? > > Mark > > --- Marc Bodmer <mar...@em...> wrote: > >> Hi Alex >> Thanks for your kind answer. >> Well, I actually already had a working hal_motenc with this >> computer and I did not change anything in the bios or on the >> system configuration in between. >> >> I first installed axis/emc/rtai kernel from the ubuntu packages >> distributed by dsplabs. Maybe three weeks ago. >> Back then I had the same problems. Exactly the same error. >> A few days later I updated my installation (the currently >> distributed >> ubuntu packages) and this error did not occur anymore. >> >> Since I want to use halui I checked out the whole thing from CVS >> and compiled it. >> And here I have that error again. >> >> Neverthless I will check my bios for these settings. >> Any further ideas? >> >> Regards >> Marc >> >> Am Sonntag, den 27.08.2006, 23:56 +0300 schrieb Alex Joni: >>> Hello Marc, >>> >>> great debugging so far. >>> I have little idea about the Motenc, but I figured it can't >> help to >>> share my 2 cents. >>> >>>> From what I'm seeing the board address is wrong, the card gets >> >>> discovered at address 0, which isn't a valid PCI address, >> further when >>> the driver tries to access it, it dereferences that and >> crashes. >>> My only idea to make it work might involve some BIOS settings >> (maybe >>> fiddle with PCI relevant settings like PNP OS to off, reset >> Data or >>> whatever there might be there involving addresses), or even >> trying >>> another PCI slot. >>> >>> Regards, >>> Alex >>> >>>> Hello EMC List >>>> >>>> I've set up Ubuntu Dapper and built EMC2 from source (CVS), >> using >>>> the precompiled RTAI Kernel from http://dsplabs.utt.ro/emc2/ >>>> The axis simulation configuration works fine. >>>> >>>> Now I want to start creating my own configuration for a >>>> Motenc based servo machine, 3 axis gantry for a plasma >>>> cutter. >>>> >>>> For this, I first just started the Motenc sample configs, >>>> but there is a problem. It seems to be the motenc driver >>>> which has a problem: >>>> [ 207.576763] MOTENC: Card detected in slot 8 >>>> [ 207.576775] MOTENC: Card address @ 0, Len = 0 >>>> [ 207.576794] Unable to handle kernel NULL pointer >> dereference at >>>> virtual address 0000001c >>>> >>>> To reproduce I started the realtime environment and then did >> a >>>> halcmd loadrt hal_motenc. This is the dmesg output below. >>>> >>>> Is there anybody who knows this problem? Or knows where I can >>>> start searching? >>>> >>>> Thanks for any help >>>> >>>> Marc >>>> >>>> # ./scripts/realtime start >>>> # dmesg | tail -n 16 >>>> >>>> [ 146.880466] I-pipe: Domain RTAI registered. >>>> [ 146.880483] RTAI[hal]: <magma> mounted over >> IPIPE-NOTHREADS >>>> 1.3-00. >>>> [ 146.880489] RTAI[hal]: compiled with gcc version 4.0.3 >> (Ubuntu >>>> 4.0.3-1ubuntu5). >>>> [ 146.880501] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE >> >>>> (INTERNAL >>>> IRQs VECTORED), ISOL_CPUS_MASK: 0). >>>> [ 146.880507] PIPELINE layers: >>>> [ 146.880513] e0b1f780 9ac15d93 RTAI 200 >>>> [ 146.880518] c02d1680 0 Linux 100 >>>> [ 146.911670] RTAI[malloc]: vmalloced extent e0b91000, size >>>> 2097152. >>>> [ 146.911780] RTAI[malloc]: loaded (global heap size=2097152 >> >>>> bytes). >>>> [ 146.916189] RTAI[sched_lxrt]: loaded (IMMEDIATE, UP, >> USER/KERNEL >>>> SPACE <with RTAI TASKs>). >>>> [ 146.916204] RTAI[sched_lxrt]: hard timer type/freq = >>>> 8254-PIT/1193180(Hz); default timing mode is periodic; linear >> >>>> ordering >>>> of timed lists. >>>> [ 146.916215] RTAI[sched_lxrt]: Linux timer freq = 1000 >> (Hz), CPU >>>> freq >>>> = 797712000 hz. >>>> [ 146.916223] RTAI[sched_lxrt]: timer setup = 2010 ns, >> resched >>>> latency >>>> = 2688 ns. >>>> [ 146.989627] RTAI[math]: loaded. >>>> [ 147.034310] RTAPI: Init >>>> [ 147.034375] RTAPI: Init complete >>>> >>>> # ./bin/halcmd loadrt hal_motenc >>>> HAL:0: ERROR: child did not exit normally >>>> >>>> # dmesg | tail -n 25 >>>> >>>> [ 207.576763] MOTENC: Card detected in slot 8 >>>> [ 207.576775] MOTENC: Card address @ 0, Len = 0 >>>> [ 207.576794] Unable to handle kernel NULL pointer >> dereference at >>>> virtual address 0000001c >>>> [ 207.576803] printing eip: >>>> [ 207.576808] e0af22c9 >>>> [ 207.576811] *pde = 00000000 >>>> [ 207.576818] Oops: 0000 [#1] >>>> [ 207.576822] Modules linked in: hal_motenc hal_lib rtapi >> rtai_math >>>> rtai_sem rtai_shm rtai_fifos rtai_sched rtai_hal rfcomm l2cap >> >>>> bluetooth >>>> nvram uinput ipv6 dm_mod md_mod af_packet lp tsdev joydev >> 8139too >>>> mii >>>> parport_pc parport snd_intel8x0 snd_ac97_codec snd_ac97_bus >> floppy >>>> snd_pcm_oss usbhid snd_mixer_oss snd_pcm snd_timer snd >> soundcore >>>> pcspkr >>>> snd_page_alloc hw_random shpchp pci_hotplug psmouse rtc >> i2c_i810 >>>> i2c_algo_bit i2c_core serio_raw intel_agp agpgart evdev ext3 >> jbd >>>> ide_generic uhci_hcd usbcore ide_cd cdrom ide_disk piix >> generic >>>> vga16fb >>>> cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon tileblit >> font >>>> bitblit >>>> softcursor >>>> [ 207.576893] CPU: 0 >>>> [ 207.576896] EIP: 0060:[<e0af22c9>] Not tainted VLI >>>> [ 207.576899] EFLAGS: 00010286 (2.6.15-magma) >>>> [ 207.576912] EIP is at Device_Init+0x19/0xe0 [hal_motenc] >>>> [ 207.576920] eax: 00000031 ebx: 00000000 ecx: e0d9b058 >> edx: >>>> d7b91dfc >>>> [ 207.576928] esi: dfe54000 edi: 00000000 ebp: e0af3f80 >> esp: >>>> d7b91f7c >>>> [ 207.576935] ds: 007b es: 007b ss: 0068 >>>> [ 207.576942] Process insmod (pid: 4673, threadinfo=d7b90000 >>>> task=d3743030) >>>> [ 207.576947] Stack: e0d9b058 e0af20eb e0d9b058 00000000 >> 00000003 >>>> e0af3420 00000000 00000000 >>>> [ 207.576962] e0af3d80 b7fa4000 08048514 d7b90000 >> c012cdbe >>>> 0804b018 b7fa4000 c010290a >>>> [ 207.576977] 0804b018 00002924 0804b008 b7fa4000 >> 08048514 >>>> bfbb9c48 00000080 0000007b >>>> [ 207.576991] Call Trace: >>>> [ 207.577004] [<e0af20eb>] init_module+0xeb/0x240 >> [hal_motenc] >>>> [ 207.577027] [<c012cdbe>] sys_init_module+0x9e/0x180 >>>> [ 207.577054] [<c010290a>] sysenter_past_esp+0x63/0x67 >>>> [ 207.577087] Code: b1 5b c3 eb 0d 90 90 90 90 90 90 90 90 >> 90 90 90 >>>> 90 >>>> 90 53 8b 4c 24 08 8b 5c 24 0c 89 19 c7 41 04 00 00 00 00 c7 >> 41 08 00 >>>> 00 >>>> 00 00 <8b> 43 1c 85 c0 75 51 c7 41 18 02 00 00 00 c7 41 0c 01 >> 00 00 >>>> 00 >>>> [ 207.577141] >>>> >>>> >>>> >>>> >> > ---------------------------------------------------------------------- > --- >>>> Using Tomcat but need to do more? Need to support web >> services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make >> your >>>> job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on >> Apache >>>> Geronimo >>>> >> > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc...@li... >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>>> >>>> >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.1.405 / Virus Database: 268.11.6/428 - Release >> Date: >>>> 25.8.2006 >>>> >>>> >>> >>> >>> >> > ---------------------------------------------------------------------- > --- >>> Using Tomcat but need to do more? Need to support web services, >> security? >>> Get stuff done quickly with pre-integrated technology to make >> your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >>> >> > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Emc-users mailing list >>> Emc...@li... >>> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> > ---------------------------------------------------------------------- > --- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Emc-users mailing list >> Emc...@li... >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Emc-users mailing list > Emc...@li... > https://lists.sourceforge.net/lists/listinfo/emc-users |