Pluto p, cant get work whit emc2.4.6

More
07 Feb 2011 11:23 #7042 by Maukka
I cant get pluto p working whit ubuntu 10.04/emc2.4.6
i just get pluto_step.ko : -1 input/output error, looks like it does`nt find the board at all

I did try out whit 8.04 EMC liveCD and it worked out of box.

Can some tell me what changed?

Please Log in or Create an account to join the conversation.

More
07 Feb 2011 11:54 #7047 by andypugh
If you look carefully at the dmesg output from the working (8.04) version you should be able to spot the base address that is being used. (and possibly the secondary address too)
There was a change in the way that EMC2 accesses the parallel port (using the Linux driver rather than guessing) which might explain it.

If you can get the right ioaddr and ioaddr_hi values in the config string (probably read into the HAL file from the INI file, potentially explicitly written in the HAL file) then you should be able to get it working.

lspci -v might help.

Please Log in or Create an account to join the conversation.

More
08 Feb 2011 21:27 #7082 by Maukka
I didn`t find adress from my dmesg.

here is the workin dmesg:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ dmesg
[ 0.000000] Linux version 2.6.24-16-rtai (root@dana-laptop) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 Sun Apr 13 17:50:16 EEST 2008 (Ubuntu 2.6.24-12.22-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
[ 0.000000] BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)
[ 0.000000] BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[ 0.000000] 127MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] Entering add_active_range(0, 0, 262128) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 262128
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 262128
[ 0.000000] On node 0 totalpages: 262128
[ 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: 255 pages used for memmap
[ 0.000000] HighMem zone: 32497 pages, LIFO batch:7
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.3 present.
[ 0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260081
[ 0.000000] Kernel command line: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz 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 1749.610 MHz processor.
[ 76.012994] I-pipe 2.0-04: pipeline enabled.
[ 76.014221] Console: colour VGA+ 80x25
[ 76.014225] console [tty0] enabled
[ 76.015090] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 76.016515] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 76.051435] Memory: 1029260k/1048512k available (1440k kernel code, 18556k reserved, 573k data, 228k init, 131008k highmem)
[ 76.051446] virtual kernel memory layout:
[ 76.051448] fixmap : 0xfffed000 - 0xfffff000 ( 72 kB)
[ 76.051450] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 76.051452] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
[ 76.051453] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
[ 76.051455] .init : 0xc02fa000 - 0xc0333000 ( 228 kB)
[ 76.051457] .data : 0xc026836d - 0xc02f77ec ( 573 kB)
[ 76.051459] .text : 0xc0100000 - 0xc026836d (1440 kB)
[ 76.051463] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 76.051520] SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 76.131502] Calibrating delay using timer specific routine.. 3500.60 BogoMIPS (lpj=7001216)
[ 76.131544] Security Framework initialized
[ 76.131553] SELinux: Disabled at boot.
[ 76.131573] AppArmor: AppArmor initialized
[ 76.131579] Failure registering capabilities with primary security module.
[ 76.131588] Mount-cache hash table entries: 512
[ 76.131750] CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000 00000000
[ 76.131761] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 76.131764] CPU: L2 Cache: 256K (64 bytes/line)
[ 76.131768] CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000420 00000000 00000000 00000000 00000000
[ 76.131782] Compat vDSO mapped to ffffe000.
[ 76.131795] CPU: AMD Sempron(tm) 2500+ stepping 01
[ 76.131802] Checking 'hlt' instruction... OK.
[ 76.147665] Freeing SMP alternatives: 0k freed
[ 76.147911] net_namespace: 64 bytes
[ 76.148419] NET: Registered protocol family 16
[ 76.148653] EISA bus registered
[ 76.163686] PCI: PCI BIOS revision 2.10 entry at 0xfdae1, last bus=1
[ 76.163689] PCI: Using configuration type 1
[ 76.163692] Setting up standard PCI resources
[ 76.166615] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 76.166900] PCI: Probing PCI hardware
[ 76.166909] PCI: Probing PCI hardware (bus 00)
[ 76.167272] PCI quirk: region 0800-087f claimed by vt8235 PM
[ 76.167277] PCI quirk: region 0400-040f claimed by vt8235 SMB
[ 76.168083] PCI: Using IRQ router VIA [1106/3177] at 0000:00:11.0
[ 76.168099] PCI: Hardcoded IRQ 14 for device 0000:00:11.1
[ 76.179574] AppArmor: AppArmor Filesystem Enabled
[ 76.179993] PCI: Bridge: 0000:00:01.0
[ 76.179996] IO window: disabled.
[ 76.180002] MEM window: dde00000-dfefffff
[ 76.180006] PREFETCH window: cdd00000-ddcfffff
[ 76.180023] PCI: Setting latency timer of device 0000:00:01.0 to 64
[ 76.180036] NET: Registered protocol family 2
[ 76.183477] Time: tsc clocksource has been installed.
[ 76.215530] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 76.215956] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 76.217813] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[ 76.218315] TCP: Hash tables configured (established 131072 bind 65536)
[ 76.218319] TCP reno registered
[ 76.227656] checking if image is initramfs... it is
[ 76.891756] Freeing initrd memory: 6859k freed
[ 76.892345] audit: initializing netlink socket (disabled)
[ 76.892362] audit(1297119752.843:1): initialized
[ 76.892528] highmem bounce pool size: 64 pages
[ 76.894527] VFS: Disk quotas dquot_6.5.1
[ 76.894560] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 76.894713] io scheduler noop registered
[ 76.894716] io scheduler anticipatory registered
[ 76.894719] io scheduler deadline registered
[ 76.894731] io scheduler cfq registered (default)
[ 76.894744] PCI: VIA PCI bridge detected. Disabling DAC.
[ 76.894798] Boot video device is 0000:01:00.0
[ 76.895047] isapnp: Scanning for PnP cards...
[ 77.248355] isapnp: No Plug & Play device found
[ 77.282152] Real Time Clock Driver v1.12ac
[ 77.282158] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 77.282273] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 77.283415] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 77.283518] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 77.283666] PNP: No PS/2 controller found. Probing ports directly.
[ 77.534860] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 77.546837] mice: PS/2 mouse device common for all mice
[ 77.546960] EISA: Probing bus 0 at eisa.0
[ 77.546997] EISA: Detected 0 cards.
[ 77.547103] NET: Registered protocol family 1
[ 77.547115] Using IPI Shortcut mode
[ 77.547222] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 77.547225] EDD information not available.
[ 77.547543] Freeing unused kernel memory: 228k freed
[ 78.810491] fuse init (API version 7.9)
[ 79.076522] usbcore: registered new interface driver usbfs
[ 79.076560] usbcore: registered new interface driver hub
[ 79.086776] usbcore: registered new device driver usb
[ 79.087921] USB Universal Host Controller Interface driver v3.0
[ 79.087994] PCI: setting IRQ 11 as level-triggered
[ 79.087999] PCI: Found IRQ 11 for device 0000:00:10.0
[ 79.088016] PCI: Sharing IRQ 11 with 0000:00:12.0
[ 79.088030] uhci_hcd 0000:00:10.0: UHCI Host Controller
[ 79.088366] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
[ 79.088398] uhci_hcd 0000:00:10.0: irq 11, io base 0x0000e400
[ 79.088579] usb usb1: configuration #1 chosen from 1 choice
[ 79.088610] hub 1-0:1.0: USB hub found
[ 79.088618] hub 1-0:1.0: 2 ports detected
[ 79.171979] SCSI subsystem initialized
[ 79.190062] PCI: setting IRQ 5 as level-triggered
[ 79.190069] PCI: Found IRQ 5 for device 0000:00:10.1
[ 79.190096] uhci_hcd 0000:00:10.1: UHCI Host Controller
[ 79.190125] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
[ 79.190153] uhci_hcd 0000:00:10.1: irq 5, io base 0x0000e800
[ 79.190283] usb usb2: configuration #1 chosen from 1 choice
[ 79.190326] hub 2-0:1.0: USB hub found
[ 79.190333] hub 2-0:1.0: 2 ports detected
[ 79.209245] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[ 79.225922] libata version 3.00 loaded.
[ 79.294047] PCI: setting IRQ 12 as level-triggered
[ 79.294055] PCI: Found IRQ 12 for device 0000:00:10.2
[ 79.294070] PCI: Sharing IRQ 12 with 0000:00:11.5
[ 79.294085] uhci_hcd 0000:00:10.2: UHCI Host Controller
[ 79.294113] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
[ 79.294142] uhci_hcd 0000:00:10.2: irq 12, io base 0x0000ec00
[ 79.294280] usb usb3: configuration #1 chosen from 1 choice
[ 79.294311] hub 3-0:1.0: USB hub found
[ 79.294319] hub 3-0:1.0: 2 ports detected
[ 79.398118] PCI: setting IRQ 10 as level-triggered
[ 79.398125] PCI: Found IRQ 10 for device 0000:00:10.3
[ 79.398157] ehci_hcd 0000:00:10.3: EHCI Host Controller
[ 79.398188] ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
[ 79.398243] ehci_hcd 0000:00:10.3: irq 10, io mem 0xdfffff00
[ 79.429842] usb 1-1: new low speed USB device using uhci_hcd and address 2
[ 79.441817] ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 79.441990] usb usb4: configuration #1 chosen from 1 choice
[ 79.442019] hub 4-0:1.0: USB hub found
[ 79.442028] hub 4-0:1.0: 6 ports detected
[ 79.546080] PCI: Found IRQ 11 for device 0000:00:12.0
[ 79.546093] PCI: Sharing IRQ 11 with 0000:00:10.0
[ 79.546385] eth0: VIA Rhine II at 0xdffffe00, 00:0b:6a:a5:62:ab, IRQ 11.
[ 79.547097] eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
[ 79.547194] pata_via 0000:00:11.1: version 0.3.3
[ 79.547215] PCI: Hardcoded IRQ 14 for device 0000:00:11.1
[ 79.547231] PCI: VIA VLink IRQ fixup for 0000:00:11.1, from 255 to 14
[ 79.548566] scsi0 : pata_via
[ 79.549643] scsi1 : pata_via
[ 79.549707] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14
[ 79.549711] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfc08 irq 15
[ 79.714848] ata1.00: ATA-4: WDC WD307AA-00BAA0, 10.09K11, max UDMA/66
[ 79.714854] ata1.00: 60074784 sectors, multi 16: LBA
[ 79.714872] ata1.00: limited to UDMA/33 due to 40-wire cable
[ 79.730732] ata1.00: configured for UDMA/33
[ 80.049835] ata2.00: ATAPI: Memorex SixteenMAXX 1040, TWS1, max MWDMA2
[ 80.221608] ata2.00: configured for MWDMA2
[ 80.221754] scsi 0:0:0:0: Direct-Access ATA WDC WD307AA-00BA 10.0 PQ: 0 ANSI: 5
[ 80.222782] scsi 1:0:0:0: CD-ROM Memorex SixteenMAXX 1040 TWS1 PQ: 0 ANSI: 5
[ 80.230477] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 80.230485] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 80.239421] Driver 'sd' needs updating - please use bus_type methods
[ 80.240187] sd 0:0:0:0: [sda] 60074784 512-byte hardware sectors (30758 MB)
[ 80.240206] sd 0:0:0:0: [sda] Write Protect is off
[ 80.240210] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 80.240232] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 80.240298] sd 0:0:0:0: [sda] 60074784 512-byte hardware sectors (30758 MB)
[ 80.240310] sd 0:0:0:0: [sda] Write Protect is off
[ 80.240314] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 80.240332] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 80.240337] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 80.265565] sda1 sda2 < sda5 >
[ 80.288834] sd 0:0:0:0: [sda] Attached SCSI disk
[ 80.295015] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 80.295040] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 80.295994] sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[ 80.296001] Uniform CD-ROM driver Revision: 3.20
[ 80.296064] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 80.745121] usb 1-1: new low speed USB device using uhci_hcd and address 3
[ 80.913228] usb 1-1: configuration #1 chosen from 1 choice
[ 81.021991] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 81.097706] ISO 9660 Extensions: RRIP_1991A
[ 81.153492] usb 1-2: new low speed USB device using uhci_hcd and address 4
[ 81.154436] Registering unionfs 1.4
[ 81.154441] unionfs: debugging is not enabled
[ 81.167288] loop: module loaded
[ 81.408863] usb 1-2: configuration #1 chosen from 1 choice
[ 81.414934] usbcore: registered new interface driver hiddev
[ 81.428079] input: USB Optical Mouse as /devices/pci0000:00/0000:00:10.0/usb1/1-1/1-1:1.0/input/input1
[ 81.436845] input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:10.0-1
[ 81.481038] input: USB Keyboard as /devices/pci0000:00/0000:00:10.0/usb1/1-2/1-2:1.0/input/input2
[ 81.492771] input,hidraw1: USB HID v1.10 Keyboard [ USB Keyboard] on usb-0000:00:10.0-2
[ 81.577734] input: USB Keyboard as /devices/pci0000:00/0000:00:10.0/usb1/1-2/1-2:1.1/input/input3
[ 81.588712] input,hidraw2: USB HID v1.10 Device [ USB Keyboard] on usb-0000:00:10.0-2
[ 81.588732] usbcore: registered new interface driver usbhid
[ 81.588738] /home/juve/hardy-packages/linux-git/ubuntu-hardy/debian/build/custom-source-rtai/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 81.716045] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[ 148.498815] Linux agpgart interface v0.102
[ 148.502734] agpgart: Detected VIA KT400/KT400A/KT600 chipset
[ 148.508611] agpgart: AGP aperture is 64M @ 0xe0000000
[ 150.112803] irda_init()
[ 150.112837] NET: Registered protocol family 23
[ 150.641667] input: PC Speaker as /devices/platform/pcspkr/input/input4
[ 153.964062] PCI: Found IRQ 12 for device 0000:00:11.5
[ 153.964073] PCI: Sharing IRQ 12 with 0000:00:10.2
[ 153.964214] PCI: Setting latency timer of device 0000:00:11.5 to 64
[ 157.717068] Adding 1283064k swap on /dev/sda5. Priority:-1 extents:1 across:1283064k
[ 158.692277] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 166.395129] lp: driver loaded but no devices found
[ 166.485659] ppdev: user-space parallel port driver
[ 174.579472] eth0: link down
[ 174.900474] Bluetooth: Core ver 2.11
[ 174.916746] NET: Registered protocol family 31
[ 174.916753] Bluetooth: HCI device and connection manager initialized
[ 174.916758] Bluetooth: HCI socket layer initialized
[ 175.600268] Bluetooth: L2CAP ver 2.9
[ 175.600274] Bluetooth: L2CAP socket layer initialized
[ 175.909556] Bluetooth: RFCOMM socket layer initialized
[ 175.909577] Bluetooth: RFCOMM TTY layer initialized
[ 175.909580] Bluetooth: RFCOMM ver 1.8
[ 246.282895] eth0: link up, 100Mbps, full-duplex, lpa 0x43E1
[ 267.516436] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 267.516455] ata2.00: cmd a0/01:00:00:00:10/00:00:00:00:00/a0 tag 0 dma 4096 in
[ 267.516457] cdb 28 00 00 05 3e 6c 00 00 02 00 00 00 00 00 00 00
[ 267.516459] res 40/00:02:00:1e:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 267.516464] ata2.00: status: { DRDY }
[ 272.553799] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 277.535219] ata2: device not ready (errno=-16), forcing hardreset
[ 277.535224] ata2: soft resetting link
[ 278.027180] ata2.00: configured for MWDMA2
[ 278.027199] ata2: EH complete
[ 283.230426] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[ 283.230433] sr 1:0:0:0: [sr0] Sense Key : Medium Error [current]
[ 283.230438] sr 1:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
[ 283.230444] end_request: I/O error, dev sr0, sector 1374640
[ 283.230450] Buffer I/O error on device sr0, logical block 343660
[ 283.230457] Buffer I/O error on device sr0, logical block 343661
[ 283.931872] SQUASHFS error: sb_bread failed reading block 0xa760f
[ 283.931879] SQUASHFS error: Unable to read cache block [29d83ede:1a29]
[ 283.932076] SQUASHFS error: Unable to read inode [29d83ede:1a29]
[ 313.936402] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 313.936421] ata2.00: cmd a0/01:00:00:00:10/00:00:00:00:00/a0 tag 0 dma 4096 in
[ 313.936423] cdb 28 00 00 05 3e 72 00 00 02 00 00 00 00 00 00 00
[ 313.936425] res 40/00:03:00:00:10/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 313.936430] ata2.00: status: { DRDY }
[ 318.973767] ata2: port is slow to respond, please be patient (Status 0xd8)
[ 323.955187] ata2: device not ready (errno=-16), forcing hardreset
[ 323.955196] ata2: soft resetting link
[ 324.918918] ata2.00: configured for MWDMA2
[ 324.918943] ata2: EH complete
[ 351.926539] NET: Registered protocol family 10
[ 351.927353] lo: Disabled Privacy Extensions
[ 353.770255] NET: Registered protocol family 17
[ 369.735479] eth0: no IPv6 routers present
[ 438.612603] I-pipe: Domain RTAI registered.
[ 438.612616] RTAI[hal]: <3.6> mounted over IPIPE-NOTHREADS 2.0-04.
[ 438.612619] RTAI[hal]: compiled with gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7).
[ 438.612626] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 438.612629] PIPELINE layers:
[ 438.612632] f8c39000 9ac15d93 RTAI 200
[ 438.612635] c0383180 0 Linux 100
[ 438.636629] rtai_sched: no version for "rtai_linux_context" found: kernel tainted.
[ 438.647993] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 438.648439] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 438.648446] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 438.648451] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1749610000 hz.
[ 438.648455] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
[ 438.751124] RTAI[math]: loaded.
[ 453.439344] 13483: ERROR: joint 2 following error
[ 1030.056343] SQUASHFS error: sb_bread failed reading block 0xa760f
[ 1030.056352] SQUASHFS error: Unable to read cache block [29d83ede:1db4]
[ 1030.056925] SQUASHFS error: Unable to read inode [29d83ede:1db4]
[ 1030.101184] SQUASHFS error: sb_bread failed reading block 0xa760f
[ 1030.101193] SQUASHFS error: Unable to read cache block [29d83ede:1cb7]
[ 1030.101632] SQUASHFS error: Unable to read inode [29d83ede:1cb7]
[ 1032.751385] SQUASHFS error: sb_bread failed reading block 0xa760f
[ 1032.751395] SQUASHFS error: Unable to read cache block [29d83ede:1bf7]
[ 1032.752157] SQUASHFS error: Unable to read inode [29d83ede:1bf7]
ubuntu@ubuntu:~$

Please Log in or Create an account to join the conversation.

More
09 Feb 2011 01:27 #7084 by Kirk_Wallace
I have found that dmesg doesn't really help much until parport_pc gets loaded. parport_pc seems to look for the ports and build an array of variables that describe the port and handle connections to peripherals. The bottom of this page talks about loading parport_pc:
wiki.linuxcnc.org/emcinfo.pl?NetMos

It also talks about using lspci to find the address of the parallel port. One problem with lspci is that the motherboard parallel port doesn't show up, but the BIOS setup and parport_pc should indicate if and where the motherboard port is installed.

It used to be that EMC2 and parport_pc would not get along, but I think this has changed. You can either remove it as described in the NetMos page, or just reboot, or just leave it. If parport_pc and dmeg gives you the address you need, use lspci -v to give you a list of possible the hi-addresses, or the hi-address will be 0x0400 above the base address. You can try the C program here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Startech
to see the registers and play with the mode register.

Also see:
www.beyondlogic.org/epp/epp.htm

If you post your lspci -v and parallel port make and model, we may be able to provide more help.
--
Kirk Wallace
www.wallacecompany.com/machine_shop/
www.wallacecompany.com/E45/index.html
California, USA

Please Log in or Create an account to join the conversation.

More
10 Feb 2011 22:18 #7116 by Maukka
I just got pluto p working some how. i did find out hi adress by loading stepper_mm sample config and using dmesg.
Just changed the hi adress to pluto_inch sample config and run. Pluto p led plinks when driving x axis. Driving y z axis does not plink the led. And driving y axis to minus does come out joint 2 following error..

Please Log in or Create an account to join the conversation.

More
11 Feb 2011 01:37 #7128 by Kirk_Wallace
I'm glad to hear you got your Pluto-P working.

For the LED:
linuxcnc.org/docs/2.1/html/hal/pluto_servo.html

the above says:
"When the device is unprogrammed, the LED glows faintly. When the device is programmed, the LED glows according to the duty cycle of PWM0 (LED = UP0 xor DOWN0). "

So the LED following an X axis signal is normal because the LED is connected to that pin rather than having its own dedicated pin.

The joint error is due to the encoder count not matching the commanded position.

For stepper systems without encoders, this comes about because the g-code asks the step generator to produce steps beyond the max velocity set in the .ini file. These limits are set in your .ini based on the measured performance of your system. The following error is an indicator that your g-code tried to go beyond those settings. I think the standard method to get these numbers is to increase the numbers until it becomes obvious that you are skipping steps, then you reduce the numbers 10 or 20 percent for a safety margin. You will also need to note what these max velocities are, and make sure your g-code does not call for anything higher.

If you have encoders installed, the error will indicate real skipped steps or servo stall.
--
Kirk Wallace
www.wallacecompany.com/machine_shop/
www.wallacecompany.com/E45/index.html
California, USA

Please Log in or Create an account to join the conversation.

More
11 Feb 2011 09:43 - 11 Feb 2011 09:44 #7136 by Maukka
I did have same velocity in .ini file to both X and Y axis and i was joggig axis by buttons whit same speed. And joint2 following error came only in Y- minus direction. But i have to search this more when i get pluto hooked up in my router. i don`t have any encoders on my system.
Last edit: 11 Feb 2011 09:44 by Maukka.

Please Log in or Create an account to join the conversation.

More
12 Feb 2011 21:11 #7164 by Maukka
I been cheking out what is wrong whit my setup. Beucause i`m having this joint2 following error. I had this error only in y axis minus direction. Whit all the same setup than earlier i changed y axis pins to go on pluto step 3 instead 1. And i have no error at all. Could it be something wrong whit my pluto p card or what ?

Please Log in or Create an account to join the conversation.

More
12 Feb 2011 21:45 #7165 by Kirk_Wallace
It sure seems that way. Maybe your direction pin got zapped. You should be able to tell by reading the suspected pin with an oscilloscope and the appropriate load on the pin. A multi-meter, or LED and current limit resistor might work too. It looks like the pin current maxes at 25mA, so you'll need a buffer or driver for anything above that.
See page 45 here:
www.altera.com/literature/ds/acex.pdf

Along with a current limit resistor, if needed, consider adding diodes and/or opto-isolators for reverse and over voltage protection for your I/O pins.

If it is a bad pin, you may have to live with not using the pin. Sorry about that. Good job finding the problem.
--
Kirk Wallace
www.wallacecompany.com/machine_shop/
www.wallacecompany.com/E45/index.html
California, USA

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.116 seconds
Powered by Kunena Forum