Bitcoin Forum
May 13, 2024, 07:30:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Ubuntu only recognizing 32 USB devices  (Read 1978 times)
Xyver (OP)
Full Member
***
Offline Offline

Activity: 281
Merit: 100


View Profile
January 10, 2014, 07:30:25 AM
Last edit: January 10, 2014, 07:43:23 AM by Xyver
 #1

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 Smiley

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?
1715585433
Hero Member
*
Offline Offline

Posts: 1715585433

View Profile Personal Message (Offline)

Ignore
1715585433
Reply with quote  #2

1715585433
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715585433
Hero Member
*
Offline Offline

Posts: 1715585433

View Profile Personal Message (Offline)

Ignore
1715585433
Reply with quote  #2

1715585433
Report to moderator
Xyver (OP)
Full Member
***
Offline Offline

Activity: 281
Merit: 100


View Profile
January 11, 2014, 09:11:30 PM
 #2

Nobody?
garpepi
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 13, 2014, 04:23:34 PM
 #3

newbie want to share with you Cheesy

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? Cheesy
Angela8488
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
April 15, 2014, 03:50:25 PM
 #4

May be run a virtual machine will solve this?
bhai
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
April 15, 2014, 04:17:20 PM
 #5

Looks like a power issue.

Start with 1 redfury and expand to see what amount it start to bork Smiley

rgdz,
bhai
garpepi
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 15, 2014, 04:26:34 PM
 #6

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 Smiley

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 Sad
bhai
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
April 17, 2014, 03:59:42 PM
 #7

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 Sad

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
JCaferJr
Member
**
Offline Offline

Activity: 67
Merit: 10



View Profile
December 22, 2014, 09:34:32 PM
 #8

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
Pages: [1]
  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!