Bitcoin Forum
April 25, 2024, 07:11:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 [126] 127 128 129 »
  Print  
Author Topic: Cairnsmore1 - Quad XC6SLX150 Board  (Read 286362 times)
elchorizo
Full Member
***
Offline Offline

Activity: 236
Merit: 100


View Profile
June 04, 2013, 07:36:23 PM
 #2501

I received my order but I am unable to get it to work properly. On cgminer 3.0.1 I am able to get 6 devices up and running (the number of Cairnsmore1's I have)... but they only has around 380 mh/s regardless of any timing settings I use.

On 3.2.0 cgminer with the new USB rules, they do not detect at all.

I've tried 3 or 4 different modprobe lines some which don't work at all and some which seem to half work...

It seems like its only using half of the chips on the CM1's and I can't figure it out.

As an update to my own post, I am able to get 5 out of the 6 units to work properly using an old cgminer (new one still won't work with them) and using this modprobe line:

Code:
modprobe ftdi-sio product=0x8350 vendor=0x0403

However, one unit fails to mine and has 2 orange LED's on while the others are mining. Before mining starts all the LED's on it match all the others. The dip switches match the others, so I can only assume something is wrong with this particular unit. I've swapped USB cables and ports and the problem stays with this CM1 unit.

Ideas as to what to try?

Just a few quick thoughts:

Have you tried running cgminer as root? There is some sort of issue IIRC with USB as non-root.

I use icarus timing long, but I don't think that's a problem here.
I use modprobe ftdi_sio product=0x8350 vendor=0x0403 too so that can be ruled out.

What happens if you _only_ connect that single one you think is faulty?


Edit: Do you see them all with
Code:
ls -l /dev/ttyUSB*
?

Running as root it does the same, linux sees them and the USB devices are created but neither cgminer or bfgminer will recognize it as an Icarus/Cairnsmore device.

BTC: 1Chorizo6WNabZxVfQyGtvF4JiRt7Hexxb
LTC: Lchorizoy8ck7Arbby8LDnw5wAmi8h6Hzb
1714029107
Hero Member
*
Offline Offline

Posts: 1714029107

View Profile Personal Message (Offline)

Ignore
1714029107
Reply with quote  #2

1714029107
Report to moderator
1714029107
Hero Member
*
Offline Offline

Posts: 1714029107

View Profile Personal Message (Offline)

Ignore
1714029107
Reply with quote  #2

1714029107
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 03:16:15 AM
 #2502

hi guys.

question:
i have it plugged in.
i did a

Code:
sudo modprobe ftdi_sio product=0x8350 vendor=0x0403

plugged  in usb.
and in the dmesg i have
Code:
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #456 PREEMPT Mon May 20 17:42:15 BST 2013
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 16 MiB at 1b000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c053b854, node_mem_map c05e5000
[    0.000000]   Normal zone: 896 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 113792 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xd bcm2708.serial=0x5d0d2606 smsc95xx.macaddr=B8:27:EB:0D:26:06 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 448MB = 448MB total
[    0.000000] Memory: 432264k/432264k available, 26488k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04e647c   (4986 kB)
[    0.000000]       .init : 0xc04e7000 - 0xc0507f24   ( 132 kB)
[    0.000000]       .data : 0xc0508000 - 0xc053c080   ( 209 kB)
[    0.000000]        .bss : 0xc053c0a4 - 0xc05e4758   ( 674 kB)
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001032] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060129] pid_max: default: 32768 minimum: 301
[    0.060465] Mount-cache hash table entries: 512
[    0.061229] Initializing cgroup subsys cpuacct
[    0.061284] Initializing cgroup subsys devices
[    0.061318] Initializing cgroup subsys freezer
[    0.061347] Initializing cgroup subsys blkio
[    0.061437] CPU: Testing write buffer coherency: ok
[    0.061772] hw perfevents: enabled with v6 PMU driver, 3 counters available
[    0.061911] Setting up static identity map for 0x39d698 - 0x39d6f4
[    0.063401] devtmpfs: initialized
[    0.074069] NET: Registered protocol family 16
[    0.080559] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.081658] bcm2708.uart_clock = 0
[    0.083056] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.083112] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.083148] mailbox: Broadcom VideoCore Mailbox driver
[    0.083243] bcm2708_vcio: mailbox at f200b880
[    0.083343] bcm_power: Broadcom power driver
[    0.083382] bcm_power_open() -> 0
[    0.083406] bcm_power_request(0, 8)
[    0.584096] bcm_mailbox_read -> 00000080, 0
[    0.584138] bcm_power_request -> 0
[    0.584164] Serial: AMBA PL011 UART driver
[    0.584306] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.908151] console [ttyAMA0] enabled
[    0.931801] bio: create slab <bio-0> at 0
[    0.936689] SCSI subsystem initialized
[    0.940783] usbcore: registered new interface driver usbfs
[    0.946366] usbcore: registered new interface driver hub
[    0.951961] usbcore: registered new device driver usb
[    0.958325] Switching to clocksource stc
[    0.962562] FS-Cache: Loaded
[    0.965697] CacheFiles: Loaded
[    0.980454] NET: Registered protocol family 2
[    0.985736] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.993480] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    1.000272] TCP: Hash tables configured (established 16384 bind 16384)
[    1.006876] TCP: reno registered
[    1.010130] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.016029] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.022619] NET: Registered protocol family 1
[    1.027492] RPC: Registered named UNIX socket transport module.
[    1.033535] RPC: Registered udp transport module.
[    1.038257] RPC: Registered tcp transport module.
[    1.043002] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.050119] bcm2708_dma: DMA manager at f2007000
[    1.054911] bcm2708_gpio: bcm2708_gpio_probe c0515d98
[    1.060380] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    1.069521] audit: initializing netlink socket (disabled)
[    1.075116] type=2000 audit(0.930:1): initialized
[    1.197343] VFS: Disk quotas dquot_6.5.2
[    1.201378] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.208439] FS-Cache: Netfs 'nfs' registered for caching
[    1.214191] NFS: Registering the id_resolver key type
[    1.219383] Key type id_resolver registered
[    1.223678] Key type id_legacy registered
[    1.228042] msgmni has been set to 876
[    1.233583] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.241298] io scheduler noop registered
[    1.245344] io scheduler deadline registered (default)
[    1.250527] io scheduler cfq registered
[    1.275238] Console: switching to colour frame buffer device 82x26
[    1.286626] kgdb: Registered I/O driver kgdboc.
[    1.293798] vc-cma: Videocore CMA driver
[    1.299592] vc-cma: vc_cma_base      = 0x00000000
[    1.306167] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.313354] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.329428] brd: module loaded
[    1.339144] loop: module loaded
[    1.344366] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
[    1.353739] Loading iSCSI transport class v2.0-870.
[    1.361302] usbcore: registered new interface driver smsc95xx
[    1.369083] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.581718] Core Release: 2.80a
[    1.586633] Setting default values for core params
[    1.593176] Finished setting default values for core params
[    1.805547] Using Buffer DMA mode
[    1.810540] Periodic Transfer Interrupt Enhancement - disabled
[    1.818053] Multiprocessor Interrupt Enhancement - disabled
[    1.825329] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.831365] Dedicated Tx FIFOs mode
[    1.837519] dwc_otg: Microframe scheduler enabled
[    1.837924] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.844652] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.853788] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.861030] Init: Port Power? op_state=1
[    1.866664] Init: Power Port (0)
[    1.871669] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.880319] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.889409] usb usb1: Product: DWC OTG Controller
[    1.895978] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
[    1.903572] usb usb1: SerialNumber: bcm2708_usb
[    1.910652] hub 1-0:1.0: USB hub found
[    1.916265] hub 1-0:1.0: 1 port detected
[    1.922228] dwc_otg: FIQ enabled
[    1.922245] dwc_otg: NAK holdoff enabled
[    1.922267] Module dwc_common_port init
[    1.922534] Initializing USB Mass Storage driver...
[    1.929339] usbcore: registered new interface driver usb-storage
[    1.937163] USB Mass Storage support registered.
[    1.943684] usbcore: registered new interface driver libusual
[    1.951461] mousedev: PS/2 mouse device common for all mice
[    1.959567] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    1.967233] bcm2835-cpufreq: switching to governor powersave
[    1.974654] bcm2835-cpufreq: switching to governor powersave
[    1.981973] cpuidle: using governor ladder
[    1.987735] cpuidle: using governor menu
[    1.993335] sdhci: Secure Digital Host Controller Interface driver
[    2.001148] sdhci: Copyright(c) Pierre Ossman
[    2.007217] sdhci: Enable low-latency mode
[    2.052660] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.063940] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.073724] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.086895] usbcore: registered new interface driver usbhid
[    2.094349] usbhid: USB HID core driver
[    2.104714] TCP: cubic registered
[    2.111932] Initializing XFRM netlink socket
[    2.120197] Indeed it is in host mode hprt0 = 00021501
[    2.127240] NET: Registered protocol family 17
[    2.142639] Key type dns_resolver registered
[    2.152820] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    2.193170] registered taskstats version 1
[    2.200198] Waiting for root device /dev/mmcblk0p2...
[    2.244588] mmc0: read SD Status register (SSR) after 5 attempts
[    2.268115] mmc0: new high speed SDHC card at address 0007
[    2.276224] mmcblk0: mmc0:0007 SD8GB 7.42 GiB
[    2.284648]  mmcblk0: p1 p2
[    2.352779] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.364858] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.372917] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.381452] Indeed it is in host mode hprt0 = 00001101
[    2.397447] devtmpfs: mounted
[    2.412864] Freeing init memory: 128K
[    2.602777] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.612834] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.624452] hub 1-1:1.0: USB hub found
[    2.630405] hub 1-1:1.0: 3 ports detected
[    2.912721] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.033108] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.042116] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.060878] smsc95xx v1.0.4
[    3.127309] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0d:26:06
[    3.232768] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.356516] usb 1-1.2: New USB device found, idVendor=0403, idProduct=8350
[    3.365976] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.375478] usb 1-1.2: Product: Cairnsmore1
[    3.382100] usb 1-1.2: Manufacturer: FTDI
[    3.388198] usb 1-1.2: SerialNumber: FTVIDN4S
[    3.502659] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.637550] usb 1-1.3: New USB device found, idVendor=0403, idProduct=6014
[    3.661461] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.673299] usb 1-1.3: Product: BitFORCE SHA256
[    3.679888] usb 1-1.3: Manufacturer: Butterfly Labs Inc.
[    4.023563] udevd[154]: starting version 175
[    5.307917] Registered led device: led0
[    5.344972] usbcore: registered new interface driver usbserial
[    5.488183] usbcore: registered new interface driver usbserial_generic
[    5.711051] USB Serial support registered for generic
[    5.887313] usbserial: USB Serial Driver core
[    6.091039] usbcore: registered new interface driver ftdi_sio
[    6.270205] USB Serial support registered for FTDI USB Serial Device
[    6.336986] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[    6.453252] usb 1-1.3: Detected FT232H
[    6.459073] usb 1-1.3: Number of endpoints 2
[    6.568215] usb 1-1.3: Endpoint 1 MaxPacketSize 512
[    6.625801] usb 1-1.3: Endpoint 2 MaxPacketSize 512
[    6.673951] usb 1-1.3: Setting MaxPacketSize 512
[    6.712856] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
[    6.764949] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[   13.445860] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   13.918257] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   24.207894] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   31.900757] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SS
[   70.327509] udevd[2921]: starting version 175
[  185.468905] udevd[3031]: starting version 175
[  205.613633] usb 1-1.2: USB disconnect, device number 4
[  210.197140] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[  210.301273] usb 1-1.2: New USB device found, idVendor=0403, idProduct=8350
[  210.301302] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  210.301318] usb 1-1.2: Product: Cairnsmore1
[  210.301332] usb 1-1.2: Manufacturer: FTDI
[  210.301345] usb 1-1.2: SerialNumber: FTVIDN4S
[  404.296622] usb 1-1.2: USB disconnect, device number 6
[  404.552659] usb 1-1.3: USB disconnect, device number 5
[  404.553237] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[  404.553323] ftdi_sio 1-1.3:1.0: device disconnected
[  409.652346] usb 1-1.3: new high-speed USB device number 7 using dwc_otg
[  409.756368] usb 1-1.3: New USB device found, idVendor=0403, idProduct=8350
[  409.756399] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  409.756415] usb 1-1.3: Product: Cairnsmore1
[  409.756429] usb 1-1.3: Manufacturer: FTDI
[  409.756441] usb 1-1.3: SerialNumber: FTVIDN4S


and in /dev/ttyUSB i dont have it.
Code:
ls -l /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory

am i doing something wrong?
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 03:29:47 AM
 #2503

In my /etc/rc.local file I have this:

/sbin/modprobe ftdi_sio vendor=0x0403 product=0x8350
sleep 1
echo "0403 8350" > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
sleep 1


-- edit

And you'll also need to add the user whose account you run the miner application under to the "dialout" group.

You didn't hit that road block yet, but you were probably gonna soon.  Smiley
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 03:50:43 AM
 #2504

thanks!
i did this:
sudo usermod -G dialout -a `whoami`

also in my local.rc i have


modprobe ftdi_sio vendor=0x0403 product=0x6014
modprobe ftdi_sio vendor=0x0403 product=0x6001
/sbin/modprobe ftdi_sio vendor=0x0403 product=0x8350
sleep 1
echo "0403 8350" > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
sleep 1


i have also a BFL that works ok. and some icarus boards on their way but the CM1 doesnt pick up.


edit:
now it shows up as
ls -l /dev/serial/by-id/
total 0
lrwxrwxrwx 1 root root 13 Dec 31  1969 usb-Butterfly_Labs_Inc._BitFORCE_SHA256-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jun  4 23:50 usb-FTDI_Cairnsmore1_FTVIDN4S-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Jun  4 23:50 usb-FTDI_Cairnsmore1_FTVIDN4S-if01-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root 13 Jun  4 23:50 usb-FTDI_Cairnsmore1_FTVIDN4S-if02-port0 -> ../../ttyUSB3
lrwxrwxrwx 1 root root 13 Jun  4 23:50 usb-FTDI_Cairnsmore1_FTVIDN4S-if03-port0 -> ../../ttyUSB4
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 03:56:09 AM
 #2505

[edit] Looks like you're making good progress then.

i have also a BFL that works ok. and some icarus boards on their way but the CM1 doesnt pick up.
The CM1 still doesn't get an assigned /dev/ttyUSBxx   ?

Does it show up with an "lsusb" command?

And I'm not sure from your statement above, but do you have the CM1 plugged into the USB before the modprobe and "echo ..." commands are issued?
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 04:08:07 AM
 #2506

ok got new info...


Code:
^[[?1049h^[[1;30r^[(B^[[m^[[4l^[[?7h^[[H^[[2J^[[11d [2013-06-05 00:08:27] Started cgminer 3.1.1
 [2013-06-05 00:08:28] Icarus Detect: Test failed at /dev/ttyUSB1: get 00000000, should: 000187a2
 [2013-06-05 00:08:28] Icarus Detect: Test failed at /dev/ttyUSB2: get 00000000, should: 000187a2
 [2013-06-05 00:08:28] Icarus Detect: Test failed at /dev/ttyUSB3: get 00000000, should: 000187a2
 [2013-06-05 00:08:28] Icarus Detect: Test failed at /dev/ttyUSB4: get 00000000, should: 000187a2
 [2013-06-05 00:08:29] Avalon: Timeout on select in avalon_get_reset
 [2013-06-05 00:08:29] Avalon: Reset failed! not an Avalon? (0: 00 c2 01 00)
 [2013-06-05 00:08:29] Avalon: Goto idle mode
 [2013-06-05 00:08:30] Avalon: Timeout on select in avalon_get_reset
 [2013-06-05 00:08:31] Avalon: Reset failed! not an Avalon? (0: 00 c2 01 00)
 [2013-06-05 00:08:31] Avalon: Goto idle mode
 [2013-06-05 00:08:32] Avalon: Timeout on select in avalon_get_reset
 [2013-06-05 00:08:32] Avalon: Reset failed! not an Avalon? (0: 00 c2 01 00)
 [2013-06-05 00:08:33] AVA2: Comms error
 [2013-06-05 00:08:34] Avalon: Timeout on select in avalon_get_reset
 [2013-06-05 00:08:34] Avalon: Reset failed! not an Avalon? (0: 00 c2 01 00)
 [2013-06-05 00:08:34] AVA3: Comms error
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 04:16:23 AM
 #2507

Well now you've gone past where I can be helpful since I'm using neither cgminer nor bfgminer.

You'll need to start searching to find more info about those specifically.    Sad

Lots of people have been having problems with cgminer 3.2.x. Hope you're using something slightly older than that.

--

I'm using Modular Python Bitcoin Miner (MPBM) since I found it does better with the dynamic clocking flash on the CM1's than bfgminer did. I also have a BFL FPGA hooked up in the mix driven with MPBM.

BUT, since you don't have the dynamic clock flash on your CM1, I assume - they don't ship that way, you will probably get slightly better performance with cgminer or bfgminer.
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 04:43:31 AM
 #2508

K
swapped to MPBM

but the workers dont start.

the only error i see is
Code:
Traceback (most recent call last):
  File "/home/pi/Modular-Python-Bitcoin-Miner-testing/modules/theseven/cairnsmore/cairnsmoreworker.py", line 323, in _listener
    nonce = self.handle.read(4)
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 439, in read
    if self.fd is None: raise portNotOpenError
ValueError: Attempting to use a port that is not open
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 04:46:58 AM
 #2509

In the "Worker editor" you are supplying the "Port:" as "/dev/ttyUSB1", etc.?

-- edit

Also, I'm sure you remembered to stop any executing instances of cgminer or bfgminer which were previously running.

-- edit

And let's double check those permissions down in /dev

xx@xxxx ~ $ ll /dev/ttyUSB*
crw-rw---T 1 root dialout 188, 0 Jun  4 23:49 /dev/ttyUSB0
crw-rw---T 1 root dialout 188, 1 Jun  4 23:49 /dev/ttyUSB1
crw-rw---T 1 root dialout 188, 2 Jun  4 23:49 /dev/ttyUSB2
crw-rw---T 1 root dialout 188, 3 Jun  4 23:49 /dev/ttyUSB3
crw-rw---T 1 root dialout 188, 4 Jun  4 23:49 /dev/ttyUSB4
crw-rw---T 1 root dialout 188, 5 Jun  4 23:49 /dev/ttyUSB5
crw-rw---T 1 root dialout 188, 6 Jun  4 23:49 /dev/ttyUSB6
crw-rw---T 1 root dialout 188, 7 Jun  4 23:50 /dev/ttyUSB7
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 04:49:50 AM
 #2510

yup
http://img211.imageshack.us/img211/8792/testzt.png

Uploaded with ImageShack.us
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 04:52:25 AM
 #2511

In my last post I have an alias for ll='ls -la', if that wasn't obvious.

If you put a screen cap in your last post, I'm not seeing it.
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 04:54:27 AM
 #2512

ls -la /dev/ttyUSB*
crw-rw-rwT 1 root dialout 188, 0 Jun  5 00:54 /dev/ttyUSB0
crw-rw---T 1 root dialout 188, 1 Jun  5 00:47 /dev/ttyUSB1
crw-rw---T 1 root dialout 188, 2 Jun  5 00:54 /dev/ttyUSB2
crw-rw---T 1 root dialout 188, 3 Jun  5 00:53 /dev/ttyUSB3
crw-rw---T 1 root dialout 188, 4 Jun  5 00:53 /dev/ttyUSB4



ttyUSB0 is the single

picture is =
http://imageshack.us/photo/my-images/211/testzt.png/
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 05:00:40 AM
 #2513

Well that looks effectively the same as mine.

My BFL Single is on another machine ATM doing some testing, so 0 - 7 is both my CM1's.

AH, here's a thought, with my flash each FPGA chip gets its own comm line / USB port. But, IIRC, with the standard flash things are substantially different.

Have you tried stepping through one at a time?

I.e., try only one worker at /dev/ttyUSB0 .
If no joy, delete that worker and try /dev/ttyUSB1 .
etc.

Also, are you creating icarus workers or cairnsmore in mpbm?

-- edit

Got the image. Looks as I would expect.

Here is my "uname -a" output:
Linux xxxxx 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 05:03:21 AM
 #2514

creating them as cairnsmore.
tried 1 at a time.
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 05:05:47 AM
 #2515

And the python --version:

Python 2.7.3
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 05:07:32 AM
 #2516

And you might give a try stepping through the USB ports one at a time as an icarus worker.

Though I doubt that is the problem of the moment since you are getting a failure to open port.
Not some sort of 'unexpected reply'.
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 05:13:07 AM
 #2517

And here's another thought.

I have encountered problems with my CM1s if I don't bring them up in the sequence they like.

1) Computer and USB hub on but MPBM not running
2) disconnect CM1s from USB
3) power down CM1
4) power up CM1 and wait for it to be fully stable
5) connect CM1 to USB
6) verify /dev/ttyUSBxx are present for the CM1
7) start MPBM

Now, this just might be an issue due to my running a more experimental flash than the stock flavor. But it is what I've had to do.

Key step: Never connect the CM1 to USB until it is fully powered up / stable.
shawtux
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 05, 2013, 05:23:24 AM
 #2518

And here's another thought.

I have encountered problems with my CM1s if I don't bring them up in the sequence they like.

1) Computer and USB hub on but MPBM not running
2) disconnect CM1s from USB
3) power down CM1
4) power up CM1 and wait for it to be fully stable
5) connect CM1 to USB
6) verify /dev/ttyUSBxx are present for the CM1
7) start MPBM

Now, this just might be an issue due to my running a more experimental flash than the stock flavor. But it is what I've had to do.

Key step: Never connect the CM1 to USB until it is fully powered up / stable.

did this and as icarus worker and it started Cheesy
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 05:27:13 AM
 #2519

did this and as icarus worker and it started Cheesy
Congratulations!  Grin

Now we can both go to bed.   Smiley
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 05, 2013, 05:32:46 AM
 #2520

But one last note.

As you know, the rPi is a minimally powerful machine. It cuts it with MPBM, but just barely.

For example:

running the BFL Single with MPBM on the rPi lightly overclocked to 800mhz the BFL settles down to an "Average MH/s" of 787.xx.

running the same BFL Single with MPBM on a quad-core 2.66ghz Mac Pro it settles down to 794.xx.

Almost a whole 1% faster.   Smiley

I can't give the same comparative values for the CM1s since I could never get them to work on OS X.

-- edit

I mention this because either cgminer or bfgminer will put less of a compute strain on the rPi. And since you're running the stock CM flash you shouldn't really *need* to be running MPBM. (Unless you just prefer it. Which I happen to. In addition to MPBM running the dynamic clock CM better.)

-- edit 2 (And one more thing.)

I've also found that MPBM on the rPi runs just a small bit better / faster if I set it up with GetWork "Work Sources" running through slush's stratum proxy than by using the built in stratum Work Sources.

YMMV.
Pages: « 1 ... 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 [126] 127 128 129 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!