I'm running ubuntu-8.04-desktop-emc2-aj12-i386.iso on a Jetway
7F2WE1G5S-OC-LF (listed on the wiki), which unsurprisingly passes the
latency test: Servo thread jitter: 8904 ns ; Base thread jitter: 8435
ns, with 4 x glxgears running, and moving stuff about.

So I plugged in my shiny new 5i20, and powered up. However, on starting
Applications->CNC->EMC2, selecting hm2-servo/5i20, there appears to be a
bit of a crash. I have not yet learnt enough to deduce what I'm doing
wrong. Here's the full output, as prompted by the error dialog "EMC2
Errors", in the hope that something will leap out:

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=emcsh
EMC2_IOSH=iosh
EMC2 - 2.3.0
Machine configuration directory is '/home/erik/emc2/configs/hm2-servo'
Machine configuration file is '5i20.ini'
INIFILE=/home/erik/emc2/configs/hm2-servo/5i20.ini
PARAMETER_FILE=hm2-servo.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=5550
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Kernel message information:
[    0.000000] Linux version 2.6.24-16-rtai (r...@hardy) (gcc version 4.2.3 
(Ubuntu 4.2.3-2ubuntu7)) #1 Tue Sep 30 22:54:33 EEST 2008 (Ubuntu 
2.6.24-12.22-generic)
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000003bee0000 (usable)
[    0.000000]  BIOS-e820: 000000003bee0000 - 000000003bee3000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000003bee3000 - 000000003bef0000 (ACPI data)
[    0.000000]  BIOS-e820: 000000003bef0000 - 000000003bf00000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
[    0.000000] 62MB HIGHMEM available.
[    0.000000] 896MB LOWMEM available.
[    0.000000] Entering add_active_range(0, 0, 245472) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   229376
[    0.000000]   HighMem    229376 ->   245472
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   245472
[    0.000000] On node 0 totalpages: 245472
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 1760 pages used for memmap
[    0.000000]   Normal zone: 223520 pages, LIFO batch:31
[    0.000000]   HighMem zone: 125 pages used for memmap
[    0.000000]   HighMem zone: 15971 pages, LIFO batch:3
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] DMI 2.3 present.
[    0.000000] Allocating PCI resources starting at 40000000 (gap: 
3bf00000:c2d00000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 243555
[    0.000000] Kernel command line: 
root=UUID=91441b58-8851-44cd-abe2-fc69490b2f24 ro quiet splash
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] Detected 1500.039 MHz processor.
[   18.820509] I-pipe 2.0-04: pipeline enabled.
[   18.821913] Console: colour VGA+ 80x25
[   18.821921] console [tty0] enabled
[   18.822746] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[   18.824032] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[   18.878112] Memory: 963248k/981888k available (1440k kernel code, 18020k 
reserved, 573k data, 228k init, 64384k highmem)
[   18.878134] virtual kernel memory layout:
[   18.878137]     fixmap  : 0xfffed000 - 0xfffff000   (  72 kB)
[   18.878141]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[   18.878144]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[   18.878148]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[   18.878152]       .init : 0xc02fa000 - 0xc0333000   ( 228 kB)
[   18.878155]       .data : 0xc026836d - 0xc02f77ec   ( 573 kB)
[   18.878159]       .text : 0xc0100000 - 0xc026836d   (1440 kB)
[   18.878167] Checking if this processor honours the WP bit even in supervisor 
mode... Ok.
[   18.878242] SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, 
Nodes=1
[   18.958195] Calibrating delay using timer specific routine.. 3001.51 
BogoMIPS (lpj=6003034)
[   18.958244] Security Framework initialized
[   18.958254] SELinux:  Disabled at boot.
[   18.958283] AppArmor: AppArmor initialized
[   18.958293] Failure registering capabilities with primary security module.
[   18.958306] Mount-cache hash table entries: 512
[   18.958486] CPU: After generic identify, caps: a7c9baff 00100000 00000000 
00000000 00004181 00000000 00000000 00000000
[   18.958503] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[   18.958510] CPU: L2 Cache: 128K (64 bytes/line)
[   18.958515] CPU: After all inits, caps: 27c9baff 00100000 00000000 00000000 
00004181 0000ffcc 00000000 00000000
[   18.958534] Compat vDSO mapped to ffffe000.
[   18.958552] CPU: Centaur VIA C7 Processor 1500MHz stepping 00
[   18.958563] Checking 'hlt' instruction... OK.
[   18.974479] Freeing SMP alternatives: 0k freed
[   18.974763] net_namespace: 64 bytes
[   18.975574] NET: Registered protocol family 16
[   18.975853] EISA bus registered
[   18.977660] PCI: PCI BIOS revision 2.10 entry at 0xfa3b0, last bus=2
[   18.977666] PCI: Using configuration type 1
[   18.977671] Setting up standard PCI resources
[   18.979489] Linux Plug and Play Support v0.97 (c) Adam Belay
[   18.979824] PCI: Probing PCI hardware
[   18.979834] PCI: Probing PCI hardware (bus 00)
[   18.980259] PCI: device 0000:00:08.0 has unknown header type 08, ignoring.
[   19.006349] AppArmor: AppArmor Filesystem Enabled
[   19.006920] PCI: Bridge: 0000:00:01.0
[   19.006927]   IO window: d000-dfff
[   19.006935]   MEM window: fb000000-fcffffff
[   19.006943]   PREFETCH window: f4000000-f7ffffff
[   19.006969] PCI: Setting latency timer of device 0000:00:01.0 to 64
[   19.006994] NET: Registered protocol family 2
[   19.010153] Time: tsc clocksource has been installed.
[   19.042226] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   19.042771] TCP established hash table entries: 131072 (order: 8, 1048576 
bytes)
[   19.044530] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[   19.045039] TCP: Hash tables configured (established 131072 bind 65536)
[   19.045046] TCP reno registered
[   19.054382] checking if image is initramfs... it is
[   20.328658] Freeing initrd memory: 6839k freed
[   20.329227] audit: initializing netlink socket (disabled)
[   20.329250] audit(1251969982.456:1): initialized
[   20.329528] highmem bounce pool size: 64 pages
[   20.332215] VFS: Disk quotas dquot_6.5.1
[   20.332265] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   20.332475] io scheduler noop registered
[   20.332480] io scheduler anticipatory registered
[   20.332485] io scheduler deadline registered
[   20.332504] io scheduler cfq registered (default)
[   20.332528] PCI: VIA PCI bridge detected. Disabling DAC.
[   20.344938] Boot video device is 0000:01:00.0
[   20.345294] isapnp: Scanning for PnP cards...
[   20.699063] isapnp: No Plug & Play device found
[   20.747353] Real Time Clock Driver v1.12ac
[   20.747362] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing 
enabled
[   20.747506] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   20.747805] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[   20.749517] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 
blocksize
[   20.749663] input: Macintosh mouse button emulation as 
/devices/virtual/input/input0
[   20.749850] PNP: No PS/2 controller found. Probing ports directly.
[   20.750221] serio: i8042 KBD port at 0x60,0x64 irq 1
[   20.750229] serio: i8042 AUX port at 0x60,0x64 irq 12
[   20.764668] mice: PS/2 mouse device common for all mice
[   20.764843] EISA: Probing bus 0 at eisa.0
[   20.764895] EISA: Detected 0 cards.
[   20.765113] NET: Registered protocol family 1
[   20.765136] Using IPI Shortcut mode
[   20.765372] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[   20.765377] EDD information not available.
[   20.765708] Freeing unused kernel memory: 228k freed
[   20.800563] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input1
[   22.316401] fuse init (API version 7.9)
[   23.035680] SCSI subsystem initialized
[   23.145852] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   23.145864] ide: Assuming 33MHz system bus speed for PIO modes; override 
with idebus=xx
[   23.147130] VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 
0000:00:0f.1
[   23.147167] VP_IDE: not 100% native mode: will probe irqs later
[   23.147182] VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on 
pci0000:00:0f.1
[   23.147196]     ide0: BM-DMA at 0xf800-0xf807, BIOS settings: hda:pio, 
hdb:pio
[   23.147214]     ide1: BM-DMA at 0xf808-0xf80f, BIOS settings: hdc:pio, 
hdd:DMA
[   23.147228] Probing IDE interface ide0...
[   23.159837] usbcore: registered new interface driver usbfs
[   23.159882] usbcore: registered new interface driver hub
[   23.190412] usbcore: registered new device driver usb
[   23.192217] USB Universal Host Controller Interface driver v3.0
[   23.221497] libata version 3.00 loaded.
[   23.246076] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[   23.246088] via-rhine: Broken BIOS detected, avoid_D3 enabled.
[   23.717896] Probing IDE interface ide1...
[   24.633089] hdd: ATAPI CD-ROM DRIVE 40X MAXIMUM, ATAPI CD/DVD-ROM drive
[   24.912732] hdd: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[   24.912896] hdd: Disabling (U)DMA for ATAPI CD-ROM DRIVE 40X MAXIMUM 
(blacklisted)
[   24.912903] hdd: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[   24.913119] ide1 at 0x170-0x177,0x376 on irq 15
[   24.970847] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11]  
MMIO=[fdffe000-fdffe7ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
[   24.982792] uhci_hcd 0000:00:10.0: UHCI Host Controller
[   24.983512] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus 
number 1
[   24.983551] uhci_hcd 0000:00:10.0: irq 10, io base 0x0000f700
[   24.983787] usb usb1: configuration #1 chosen from 1 choice
[   24.983832] hub 1-0:1.0: USB hub found
[   24.983843] hub 1-0:1.0: 2 ports detected
[   25.084746] uhci_hcd 0000:00:10.1: UHCI Host Controller
[   25.084789] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus 
number 2
[   25.084821] uhci_hcd 0000:00:10.1: irq 10, io base 0x0000f600
[   25.085006] usb usb2: configuration #1 chosen from 1 choice
[   25.085050] hub 2-0:1.0: USB hub found
[   25.085060] hub 2-0:1.0: 2 ports detected
[   25.188653] uhci_hcd 0000:00:10.2: UHCI Host Controller
[   25.188697] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus 
number 3
[   25.188730] uhci_hcd 0000:00:10.2: irq 11, io base 0x0000f500
[   25.188910] usb usb3: configuration #1 chosen from 1 choice
[   25.188956] hub 3-0:1.0: USB hub found
[   25.188966] hub 3-0:1.0: 2 ports detected
[   25.292557] uhci_hcd 0000:00:10.3: UHCI Host Controller
[   25.292601] uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus 
number 4
[   25.292634] uhci_hcd 0000:00:10.3: irq 11, io base 0x0000f400
[   25.292840] usb usb4: configuration #1 chosen from 1 choice
[   25.292885] hub 4-0:1.0: USB hub found
[   25.292895] hub 4-0:1.0: 2 ports detected
[   25.397095] ehci_hcd 0000:00:10.4: EHCI Host Controller
[   25.397160] ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus 
number 5
[   25.397227] ehci_hcd 0000:00:10.4: irq 5, io mem 0xfdffd000
[   25.408338] ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 
2004
[   25.408551] usb usb5: configuration #1 chosen from 1 choice
[   25.408596] hub 5-0:1.0: USB hub found
[   25.408609] hub 5-0:1.0: 8 ports detected
[   25.513349] sata_via 0000:00:0f.0: version 2.3
[   25.513448] sata_via 0000:00:0f.0: routed to hard irq line 11
[   25.518959] scsi0 : sata_via
[   25.520606] scsi1 : sata_via
[   25.520695] ata1: SATA max UDMA/133 cmd 0xfd00 ctl 0xfc00 bmdma 0xf900 irq 11
[   25.520703] ata2: SATA max UDMA/133 cmd 0xfb00 ctl 0xfa00 bmdma 0xf908 irq 11
[   25.723980] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   25.930492] ata1.00: ATA-7: ST3160815AS, 3.AAD, max UDMA/133
[   25.930501] ata1.00: 312581808 sectors, multi 1: LBA48 NCQ (depth 0/32)
[   25.997077] ata1.00: configured for UDMA/133
[   26.199542] ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
[   26.210411] scsi 0:0:0:0: Direct-Access     ATA      ST3160815AS      3.AA 
PQ: 0 ANSI: 5
[   26.212491] eth0: VIA Rhine II at 0xfdffc000, 00:30:18:a1:70:3a, IRQ 10.
[   26.213207] eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 
Link 45e1.
[   26.239938] hdd: ATAPI 40X CD-ROM drive, 128kB Cache
[   26.239952] Uniform CD-ROM driver Revision: 3.20
[   26.255715] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0030180000a1238c]
[   26.276968] Driver 'sd' needs updating - please use bus_type methods
[   26.280156] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[   26.280181] sd 0:0:0:0: [sda] Write Protect is off
[   26.280188] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   26.280213] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[   26.280312] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[   26.280328] sd 0:0:0:0: [sda] Write Protect is off
[   26.280334] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   26.280356] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[   26.280366]  sda: sda1 sda2 < sda5 >
[   26.329431] sd 0:0:0:0: [sda] Attached SCSI disk
[   26.340320] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.680926] kjournald starting.  Commit interval 5 seconds
[   26.680946] EXT3-fs: mounted filesystem with ordered data mode.
[   33.125756] Linux agpgart interface v0.102
[   33.145189] agpgart: Detected VIA VT3314 chipset
[   33.273737] agpgart: AGP aperture is 128M @ 0xe8000000
[   34.299252] input: PC Speaker as /devices/platform/pcspkr/input/input2
[   35.797725] input: PS/2 Generic Mouse as 
/devices/platform/i8042/serio1/input/input3
[   36.169013] PCI: Setting latency timer of device 0000:00:11.5 to 64
[   39.343119] lp: driver loaded but no devices found
[   39.543648] Adding 2843464k swap on /dev/sda5.  Priority:-1 extents:1 
across:2843464k
[   40.122285] EXT3 FS on sda1, internal journal
[   41.883976] ip_tables: (C) 2000-2006 Netfilter Core Team
[   44.162599] ppdev: user-space parallel port driver
[   44.272387] audit(1251970007.117:2): type=1503 operation="inode_permission" 
requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=4169 
profile="/usr/sbin/cupsd" namespace="default"
[   46.574147] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   46.673796] Bluetooth: Core ver 2.11
[   46.683920] NET: Registered protocol family 31
[   46.683930] Bluetooth: HCI device and connection manager initialized
[   46.683938] Bluetooth: HCI socket layer initialized
[   46.807129] Bluetooth: L2CAP ver 2.9
[   46.807141] Bluetooth: L2CAP socket layer initialized
[   46.856554] Bluetooth: RFCOMM socket layer initialized
[   46.856586] Bluetooth: RFCOMM TTY layer initialized
[   46.856591] Bluetooth: RFCOMM ver 1.8
[   49.925294] NET: Registered protocol family 17
[   65.956637] NET: Registered protocol family 10
[   65.957920] lo: Disabled Privacy Extensions
[   76.577172] eth0: no IPv6 routers present
[ 1012.986001] I-pipe: Domain RTAI registered.
[ 1012.986021] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 1012.986027] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 
4.2.4-1ubuntu3).
[ 1012.986038] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs 
DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1012.986045] PIPELINE layers:
[ 1012.986050] f8c55000 9ac15d93 RTAI 200
[ 1012.986055] c0383180 0 Linux 100
[ 1013.014923] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1013.015690] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with 
RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1013.015705] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); 
default timing: periodic; linear timed lists.
[ 1013.015715] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1500039000 
hz.
[ 1013.015721] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
[ 1013.140243] RTAI[math]: loaded.
[ 1013.165352] rtapi: no version for "nano2count" found: kernel tainted.
[ 1013.394259] hm2: loading Mesa HostMot2 driver version 0.15
[ 1013.403985] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6
[ 1013.954991] hm2_pci: driver unloaded
[ 1013.963593] hm2: unloading
[ 1014.193547] RTAI[math]: unloaded.
[ 1014.269057] SCHED releases registered named ALIEN RTGLBH
[ 1014.285424] RTAI[malloc]: unloaded.
[ 1014.384632] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 
0, syscalls 0).
[ 1014.390402] I-pipe: Domain RTAI unregistered.
[ 1014.390416] RTAI[hal]: unmounted.

Debug file information:
hm2-servo.hal:46: parameter or pin 'hm2_5i20.0.pwmgen.pwm_frequency' not found
5550
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to