Pages:
Author

Topic: Cairnsmore1 - Quad XC6SLX150 Board - page 4. (Read 286370 times)

newbie
Activity: 57
Merit: 0
June 05, 2013, 12:43:31 AM
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
sr. member
Activity: 476
Merit: 250
June 05, 2013, 12:16:23 AM
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.
newbie
Activity: 57
Merit: 0
June 05, 2013, 12:08:07 AM
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
sr. member
Activity: 476
Merit: 250
June 04, 2013, 11:56:09 PM
[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?
newbie
Activity: 57
Merit: 0
June 04, 2013, 11:50:43 PM
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
sr. member
Activity: 476
Merit: 250
June 04, 2013, 11:29:47 PM
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
newbie
Activity: 57
Merit: 0
June 04, 2013, 11:16:15 PM
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 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?
full member
Activity: 236
Merit: 100
June 04, 2013, 03:36:23 PM
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.
legendary
Activity: 2576
Merit: 1186
June 04, 2013, 05:07:18 AM
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.
Try BFGMiner with -S all
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
June 04, 2013, 05:01:07 AM
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*
?
full member
Activity: 236
Merit: 100
June 03, 2013, 08:58:02 PM
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?
full member
Activity: 236
Merit: 100
June 03, 2013, 08:22:54 PM
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.

Here is my startup script:
Code:
sudo cgminer -o stratum+tcp://stratum.btcguild.com:3333 --icarus-timing short --api-listen `for i in /dev/ttyUSB*; do echo -en "-S $i "; done`

Here's some dmesg output and the cgminer output...

Code:
[   21.197250] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[   31.262836] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SS
[   85.604473] usbcore: registered new interface driver usbserial
[   85.604578] usbcore: registered new interface driver usbserial_generic
[   85.604661] USB Serial support registered for generic
[   85.604691] usbserial: USB Serial Driver core
[   85.616519] usbcore: registered new interface driver ftdi_sio
[   85.616672] USB Serial support registered for FTDI USB Serial Device
[   85.617247] ftdi_sio 1-1.2.4.2:1.0: FTDI USB Serial Device converter detected
[   85.617426] usb 1-1.2.4.2: Detected FT4232H
[   85.617447] usb 1-1.2.4.2: Number of endpoints 2
[   85.617464] usb 1-1.2.4.2: Endpoint 1 MaxPacketSize 512
[   85.617478] usb 1-1.2.4.2: Endpoint 2 MaxPacketSize 512
[   85.617491] usb 1-1.2.4.2: Setting MaxPacketSize 512
[   85.618217] usb 1-1.2.4.2: FTDI USB Serial Device converter now attached to ttyUSB0
[   85.618650] ftdi_sio 1-1.2.4.2:1.1: FTDI USB Serial Device converter detected
[   85.618810] usb 1-1.2.4.2: Detected FT4232H
[   85.618830] usb 1-1.2.4.2: Number of endpoints 2
[   85.618847] usb 1-1.2.4.2: Endpoint 1 MaxPacketSize 512
[   85.618862] usb 1-1.2.4.2: Endpoint 2 MaxPacketSize 512
[   85.618875] usb 1-1.2.4.2: Setting MaxPacketSize 512
[   85.619579] usb 1-1.2.4.2: FTDI USB Serial Device converter now attached to ttyUSB1
[   85.620002] ftdi_sio 1-1.2.4.2:1.2: FTDI USB Serial Device converter detected
[   85.620169] usb 1-1.2.4.2: Detected FT4232H
[   85.620191] usb 1-1.2.4.2: Number of endpoints 2
[   85.620205] usb 1-1.2.4.2: Endpoint 1 MaxPacketSize 512
[   85.620220] usb 1-1.2.4.2: Endpoint 2 MaxPacketSize 512
[   85.620233] usb 1-1.2.4.2: Setting MaxPacketSize 512
[   85.620960] usb 1-1.2.4.2: FTDI USB Serial Device converter now attached to ttyUSB2
[   85.621379] ftdi_sio 1-1.2.4.2:1.3: FTDI USB Serial Device converter detected
[   85.621544] usb 1-1.2.4.2: Detected FT4232H
[   85.621566] usb 1-1.2.4.2: Number of endpoints 2
[   85.621581] usb 1-1.2.4.2: Endpoint 1 MaxPacketSize 512
[   85.621596] usb 1-1.2.4.2: Endpoint 2 MaxPacketSize 512
[   85.621609] usb 1-1.2.4.2: Setting MaxPacketSize 512
[   85.622306] usb 1-1.2.4.2: FTDI USB Serial Device converter now attached to ttyUSB3
[   85.622735] ftdi_sio 1-1.2.4.3:1.0: FTDI USB Serial Device converter detected
[   85.622906] usb 1-1.2.4.3: Detected FT4232H
[   85.622927] usb 1-1.2.4.3: Number of endpoints 2
[   85.622942] usb 1-1.2.4.3: Endpoint 1 MaxPacketSize 512
[   85.622955] usb 1-1.2.4.3: Endpoint 2 MaxPacketSize 512
[   85.622969] usb 1-1.2.4.3: Setting MaxPacketSize 512
[   85.623686] usb 1-1.2.4.3: FTDI USB Serial Device converter now attached to ttyUSB4
[   85.628337] ftdi_sio 1-1.2.4.3:1.1: FTDI USB Serial Device converter detected
[   85.628548] usb 1-1.2.4.3: Detected FT4232H
[   85.628568] usb 1-1.2.4.3: Number of endpoints 2
[   85.628583] usb 1-1.2.4.3: Endpoint 1 MaxPacketSize 512
[   85.628598] usb 1-1.2.4.3: Endpoint 2 MaxPacketSize 512
[   85.628611] usb 1-1.2.4.3: Setting MaxPacketSize 512
[   85.629343] usb 1-1.2.4.3: FTDI USB Serial Device converter now attached to ttyUSB5
[   85.629781] ftdi_sio 1-1.2.4.3:1.2: FTDI USB Serial Device converter detected
 cgminer version 3.0.1 - Started: [2013-06-03 19:17:16]
--------------------------------------------------------------------------------
 (5s):2.402G (avg):2.274Gh/s | A:4  R:0  HW:0  U:1.8/m  WU:31.7/m
 ST: 2  SS: 0  NB: 1  LW: 186  GF: 0  RF: 0
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 ICA 0:                | 396.8M/365.8Mh/s | A:2 R:0 HW:0 U:0.88/m
 ICA 1:                | 398.6M/377.0Mh/s | A:0 R:0 HW:0 U:0.00/m
 ICA 2:                | 395.0M/369.8Mh/s | A:0 R:0 HW:0 U:0.00/m
 ICA 3:                | 384.6M/383.4Mh/s | A:2 R:0 HW:0 U:0.88/m
 ICA 4:                | 398.3M/386.2Mh/s | A:0 R:0 HW:0 U:0.00/m
 ICA 5:                | 398.7M/392.4Mh/s | A:0 R:0 HW:0 U:0.00/m
--------------------------------------------------------------------------------

 [2013-06-03 19:17:14] Started cgminer 3.0.1
 [2013-06-03 19:17:14] Icarus Detect: Test failed at /dev/ttyUSB0: get 00000000, should: 000187a2
 [2013-06-03 19:17:14] Icarus Detect: Test failed at /dev/ttyUSB1: get 00000000, should: 000187a2
 [2013-06-03 19:17:14] Icarus Detect: Test failed at /dev/ttyUSB4: get 00000000, should: 000187a2
 [2013-06-03 19:17:14] Icarus Detect: Test failed at /dev/ttyUSB5: get 00000000, should: 000187a2
 [2013-06-03 19:17:15] Icarus Detect: Test failed at /dev/ttyUSB8: get 00000000, should: 000187a2
 [2013-06-03 19:17:15] Icarus Detect: Test failed at /dev/ttyUSB9: get 00000000, should: 000187a2
 [2013-06-03 19:17:15] Probing for an alive pool
 [2013-06-03 19:17:15] Network diff set to 12.2M
 [2013-06-03 19:17:15] Stratum from pool 0 detected new block
 [2013-06-03 19:17:21] API running in local read access mode on port 4028 (10)
 [2013-06-03 19:17:48] Accepted 02777ef0 Diff 103/32 ICA 0
 [2013-06-03 19:18:18] Icarus 1 Re-estimate: Hs=2.499766e-09 W=6.525708e-03 read_count=106 fullnonce=10.743s
 [2013-06-03 19:18:20] Accepted 06d0ac6d Diff 37/32 ICA 0
 [2013-06-03 19:18:22] Icarus 5 Re-estimate: Hs=2.500250e-09 W=5.992283e-03 read_count=106 fullnonce=10.744s
 [2013-06-03 19:18:30] Icarus 4 Re-estimate: Hs=2.499695e-09 W=6.582135e-03 read_count=106 fullnonce=10.743s
 [2013-06-03 19:18:38] Icarus 3 Re-estimate: Hs=2.499570e-09 W=6.308758e-03 read_count=106 fullnonce=10.742s
 [2013-06-03 19:18:38] Accepted 00635301 Diff 659/32 ICA 3
 [2013-06-03 19:18:46] Icarus 0 Re-estimate: Hs=2.499796e-09 W=6.780376e-03 read_count=106 fullnonce=10.743s
 [2013-06-03 19:18:49] Icarus 2 Re-estimate: Hs=2.500204e-09 W=6.400342e-03 read_count=106 fullnonce=10.745s
 [2013-06-03 19:19:30] Accepted 0750f6cf Diff 34/32 ICA 3

and that is using the following modprobe

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

Though I've also tried the following:

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

and sudo modprobe ftdi_sio product=0x8350 vendor=0x0403
newbie
Activity: 55
Merit: 0
June 01, 2013, 06:08:58 PM
thanks, i shall try
legendary
Activity: 2688
Merit: 1240
June 01, 2013, 04:32:20 PM
Is it possible to mine other sha256 coins with cm1 or does that mean a new bitstream?

anyone?

You can mine every sha256 coin with .. Just point the miner to the right pool...
newbie
Activity: 55
Merit: 0
June 01, 2013, 03:55:49 PM
Is it possible to mine other sha256 coins with cm1 or does that mean a new bitstream?

anyone?
sr. member
Activity: 462
Merit: 251
May 28, 2013, 07:20:14 AM
The red LED on my Cm1's flash continuously.
Which tells us what?

And, BTW, there are five red LED's on the board.

The only red LED that flashes when you plug in the USB cable - i.e not powered. According to Yohan, the bitstream is Hashvoodoo. Unless he means the ones where the amber lights are, which then it wouldn't be hashvoodoo.

He meant the ones where the amber lights are ("the LEDS next to each FPGA"). I can confirm this myself: I used both hashvoodo and makomk bitstreams and what you describe is the behavior of the makomk fixed-frequency bitstreams and is consistent with the speeds reported by bfgminer (which are twice what is achievable with one FPGA and matches the pairing done by the makomk bitstreams).

Right, then makomk it is! Is there any recommendation to change bitstream from makomk to hashvoodoo or will hashing average be the same?

I have noticed one thing with the FPGA heat sinks where one array is hotter than the other array. I could see an oscillation in hashing with the pool mining graphs in 3 hour averages over 2 days. When I placed another 120mm fan blowing towards the bottom FPGA board, I can see less oscillations and averages tends to "plateu" more often than without a fan. Although i has been a day now, I will leave it for another day to check on results.

Which thermal compound was used to attach these heat sinks?



There is a spread of operational performance and as far we can tell from our data the -2C grade of silicon actually works as well as -3 that some competitors used. Ironically because of what actually happens -3 silicon can actually deliver less perfomance than -2 silicon. This is what we thought would happen in this design and I think about 1 year ago I might have given out some of the reasons for that. Anyway if you don't remember that have a go at figuring that one out. It's your technical challenge for today.

Going back to the point on bitstreams it is a fact that some boards do better on Makomk and others do better on Hashvoodoo. Some boards it does not make any difference. Generally if you have a grade-b then Hashvoodoo is usually the one to be using. Grade-a there isn't such a clear choice.

Believe it or not we actually planned air draw over the rear of the boards using our stacking arrangement and a reasonable amount of heat can be taken out of the boards this way. The boards were design to allow heat to be removed partially this way. Basically it can help a bit. Heatsink bonding is not a big factor in the themal solution. It is actually a phase change material and pretty good so don't mess with that. You may break the board trying as well to remove it. It has the properties of a very strong glue once we are done the phase change here in our burn-in process.

What can be of benefit is keeping your room ambient temperature down. For most boards if the room is 40 DegC or less it doesn't make much of a difference immediately but there is the odd board that definately likes a little bit cooler. For the majority of customers they won't have any issues with that unless they live in a hot climate and don't have air conditioning. There probably are some very long term lifetime benefits of being in a cooler ambient given the Spartan-6 parts are running out of normal operational levels. Given most of last years delivery have been running ok for about 1 year I am probably talking the difference in somewhere between 5 and 50 years of operation so whether you care is something to decide.

Over 40 DegC ambient we do see more boards error more often and if you can keep below this temperature that would give you better returns. Providing it is a dry environment you can run boards in a fairly cold place if happen to live in a cold country. I would say 0 DegC as a sensible minimum ambient but a bit lower is probably ok.





sr. member
Activity: 462
Merit: 251
May 28, 2013, 06:46:43 AM
Quote
if it's with a dynamic clocking firmware, I'd expect it would have downclocked a bit.
I do not know what there the firmware. I bought it for second hand and I have no idea how and what to see

The easy way to tell generically which of the 2 main bitstream options are loaded is the LEDs next to each FPGA. If the red LED continually flashes you probably have Hashvoodoo and dynamic clocking. Otherwise you probably have Makomk and fixed clocking.

It is the LEDs next to the main FPGAs (groups of 4 LEDs- red, green, ambar,blue) that I am refering to not the red LED next to the controller. The controller LED will always flash when clocks are running with controller V1.5.
newbie
Activity: 55
Merit: 0
May 28, 2013, 04:47:57 AM
Is it possible to mine other sha256 coins with cm1 or does that mean a new bitstream?
jml
full member
Activity: 238
Merit: 100
May 27, 2013, 03:54:53 PM
The red LED on my Cm1's flash continuously.
Which tells us what?

And, BTW, there are five red LED's on the board.

The only red LED that flashes when you plug in the USB cable - i.e not powered. According to Yohan, the bitstream is Hashvoodoo. Unless he means the ones where the amber lights are, which then it wouldn't be hashvoodoo.

He meant the ones where the amber lights are ("the LEDS next to each FPGA"). I can confirm this myself: I used both hashvoodo and makomk bitstreams and what you describe is the behavior of the makomk fixed-frequency bitstreams and is consistent with the speeds reported by bfgminer (which are twice what is achievable with one FPGA and matches the pairing done by the makomk bitstreams).

Right, then makomk it is! Is there any recommendation to change bitstream from makomk to hashvoodoo or will hashing average be the same?

I have noticed one thing with the FPGA heat sinks where one array is hotter than the other array. I could see an oscillation in hashing with the pool mining graphs in 3 hour averages over 2 days. When I placed another 120mm fan blowing towards the bottom FPGA board, I can see less oscillations and averages tends to "plateu" more often than without a fan. Although i has been a day now, I will leave it for another day to check on results.

Which thermal compound was used to attach these heat sinks?

hero member
Activity: 896
Merit: 1000
May 27, 2013, 03:36:34 PM
The red LED on my Cm1's flash continuously.
Which tells us what?

And, BTW, there are five red LED's on the board.

The only red LED that flashes when you plug in the USB cable - i.e not powered. According to Yohan, the bitstream is Hashvoodoo. Unless he means the ones where the amber lights are, which then it wouldn't be hashvoodoo.

He meant the ones where the amber lights are ("the LEDS next to each FPGA"). I can confirm this myself: I used both hashvoodo and makomk bitstreams and what you describe is the behavior of the makomk fixed-frequency bitstreams and is consistent with the speeds reported by bfgminer (which are twice what is achievable with one FPGA and matches the pairing done by the makomk bitstreams).
Pages:
Jump to: