Title: Ubuntu only recognizing 32 USB devices Post by: Xyver on January 10, 2014, 07:30:25 AM Not sure if this is classified as a hardware issue or a software issue, if I'm in the wrong spot please move the thread :)
I have a 49 port hub running RedFurys on an Ubuntu machine, and it's not recognizing all of them. I tried playing with it for a few days, no luck, couldn't even decide what the pattern was, but then realized. It's only detecting 32 devices! It sees all the devices, but when I start BFGMiner (I've followed this, linux instructions: https://bitcointalk.org/index.php?topic=319419.0), it thinks for awhile, and I can see the lights changing on them, and it gets through most and then starts up. Now that I've been watching it, it always gets 32 devices. How can I make it start the rest? It is a bit of an old laptop, would that be an issue? As far as I know, USB 2.0 has a max of 128 devices, and USB 2.0 has been pretty standered for awhile. I use sudo bfgminer -o [pool name] -u [username] -p [password] -S bitfury:/dev/sda1 to start the miner. EDIT:: Ubuntu 12.04, by the way. Also, another problem, if I let it sit and mine all day (or all night) then come back all the miners have become sick and stopped. The computer has kind of froze up too. I think this may be because it's an old laptop, and isn't meant to run 24/7, but any ideas? Title: Re: Ubuntu only recognizing 32 USB devices Post by: Xyver on January 11, 2014, 09:11:30 PM Nobody?
Title: Re: Ubuntu only recognizing 32 USB devices Post by: garpepi on April 13, 2014, 04:23:34 PM newbie want to share with you :D
i've try it too with bfg miner + rasbian (basicly like debian ins raspberry pi). and yes, it's same like you. i only got 32 active device for hashing from my 38 redfury that connected. i've try it with cgminer, and "booyyaahh" it connected with all device!!! buuuuutttttt.. it's takes a looong time for running a cgminer, and not stable (maybe because i'm using raspberri pi) maybe the other or Luke can give us a tips for this? :D Title: Re: Ubuntu only recognizing 32 USB devices Post by: Angela8488 on April 15, 2014, 03:50:25 PM May be run a virtual machine will solve this?
Title: Re: Ubuntu only recognizing 32 USB devices Post by: bhai on April 15, 2014, 04:17:20 PM Looks like a power issue.
Start with 1 redfury and expand to see what amount it start to bork :) rgdz, bhai Title: Re: Ubuntu only recognizing 32 USB devices Post by: garpepi on April 15, 2014, 04:26:34 PM May be run a virtual machine will solve this? i never try that one... but maybe if i use a standart motherboard i can do that. But for raspberry when i run 32 device, the free memory was spare freely only 73Mb >,< but Angela, have you ever tried hasing with virtualitaion? Looks like a power issue. Start with 1 redfury and expand to see what amount it start to bork :) rgdz, bhai aaah!! i've tried that one too, but when i plug the 33th device, bfgminer cannot found it >,< but my raspbian has detected 33 device plugged in :( Title: Re: Ubuntu only recognizing 32 USB devices Post by: bhai on April 17, 2014, 03:59:42 PM aaah!! i've tried that one too, but when i plug the 33th device, bfgminer cannot found it >,< but my raspbian has detected 33 device plugged in :( Does ubuntu even see the device connect? --- Apr 17 16:43:34 miner01 kernel: [ 4134.488243] usb 1-3.7.4: new full-speed USB device number 24 using ehci_hcd Apr 17 16:43:34 miner01 kernel: [ 4134.602607] usb 1-3.7.4: New USB device found, idVendor=04d8, idProduct=000b Apr 17 16:43:34 miner01 kernel: [ 4134.602617] usb 1-3.7.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Apr 17 16:43:34 miner01 kernel: [ 4134.602624] usb 1-3.7.4: Product: HEX16B-Bitfury ASIC Miner Apr 17 16:43:34 miner01 kernel: [ 4134.602630] usb 1-3.7.4: Manufacturer: TECHNOBIT HEX ASIC Miner. Apr 17 16:43:34 miner01 kernel: [ 4134.603502] cdc_acm 1-3.7.4:1.0: This device cannot do calls on its own. It is not a modem. Apr 17 16:43:34 miner01 kernel: [ 4134.603591] cdc_acm 1-3.7.4:1.0: ttyACM0: USB ACM device Apr 17 16:45:14 miner01 kernel: [ 4234.076264] usb 1-3.7.2: reset full-speed USB device number 20 using ehci_hcd Apr 17 16:45:14 miner01 kernel: [ 4234.301256] usb 1-3.7.2: reset full-speed USB device number 20 using ehci_hcd Apr 17 16:45:14 miner01 kernel: [ 4234.524290] usb 1-3.7.2: reset full-speed USB device number 20 using ehci_hcd Apr 17 16:45:15 miner01 kernel: [ 4235.748249] usb 1-3.7.3: reset full-speed USB device number 21 using ehci_hcd Apr 17 16:45:16 miner01 kernel: [ 4235.972250] usb 1-3.7.3: reset full-speed USB device number 21 using ehci_hcd --- You should see stuff like this. Connect them 1 by 1, do not start bfgminer, and look at /var/log/syslog. I want to see what it shows when the 33rd is connected. I found this in the readme of cgminer: ---- There may be a limit to the number of USB devices that you are allowed to start. The following set of commands, followed by a reboot will increase that: sudo su touch /etc/sysctl.conf echo kern.sysv.semume=100 >> /etc/sysctl.conf chown root:wheel /etc/sysctl.conf chmod 0644 /etc/sysctl.conf ---- ofcourse first check if that file exists and append the "kern.sysv.semume=100". rgdz, bhai Title: Re: Ubuntu only recognizing 32 USB devices Post by: JCaferJr on December 22, 2014, 09:34:32 PM Has anyone figured this out? I'm using cpuminer-gc3355 on the latest release of Ubuntu and cannot open more than 32 devices. I do know its possible, because cgminer successfully sees all 40.
Regards, Jim |