Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi all, I am not sure if this is a newbie question or not however I am gonna need a newbie answer. And I hope you are all familiar with raspberry pi and raspbian software. My problem is this:
I just finished compiling sgminer and running cgminer 3.7.2(latest version to support asic mining) on my raspberry pi and I downloaded raspbian as the OS because I am sorta a beginner at linux. Anyway, I have plugged a gridseed into the pi, compiled sgminer, so now i start mining! Although i was mining, i couldnt mine for more than about 20 minutes before the screen fell asleep. So i spent the next week trying to fix that problem. I think I have fixed it now but the screen still freezes meaning that I have to restart. So now I just run the cgminer commands before the "startx". Now my problem is that after about an hour of mining, it says "Unable to handle paging request at virtual address ________" plus a bunch of other stuff after that. I want cgminer to just keep running until i tell it to stop!!! i have spent countless hours and if one of you guys who knows about cgminer, asics, raspberry pi, and raspbian could help that would be AWESOME.
I think it's probably the other stuff we'd need to see. Somewhere, probably either directly above or below that line, it will tell you why.
That said, on a raspberry especially, you probably don't want to spawn a window manager, it's just consuming clock cycles and adding an extra layer of complexity. Run it natively in a tty
Attached is a picture of my error. You can look it over and tell me what you think. Remember that this is in the newbie category so I'm not exactly sure what a tty is. Just have a look at this image and tell me what I'm doing wrong.
Looks like a memory leak.
Try to recompile it and look for ways to improve it's page fault handling, their may be optional switches or dependencies you're missing...or it may just not run on raspberry pi.
Ah okay, when I first compiled it I had somebodies help, now they are gone so I'm not sure how to compile it again. Is there some website I can refer to or can you maybe give me the steps to recompile it?
The steps are simple, ./configure -> make but typing the commands in isn't your problem, it's troubleshooting the code. You have a memory leak you have to resolve.
The software packs are still available from sourceforge, you could go there, read the documentation and give it a shot, or you could contact their developers, maybe they've seen this before, but to just pick up some random code that runs on a platform I don't have access to and troubleshoot it?
That could be a road with no end, I'm not headed that way.
Sorry, good luck
Hold on, is it that I've kept it on too much and that causes a memory leak because I am using too much memory?! I just had that idea by looking at this forum post: http://www.raspberrypi.org/forums/vi...p?f=66&t=16850 If so, maybe I just attatch a flash drive or passport.
You can try rebooting it intermittently (in fact, based on what your telling me, that seems the only fix available to you right now)
I have rebooted several times when it gives me the error, in fact once it gives me the error the screen freezes so I have to reboot. With that said I have not tried rebooting intermittently. Do you mean that I would reboot while cgminer is running before the error or at other random times? Also, I thought you said that I could recompile sgminer but now you are saying that the only fix is to keep rebooting. There must be a permanent fix to this error.
Do you mean that I would reboot while cgminer is running before the error or at other random times?
I have no idea.
ahaurum, one has to wonder what possible profit your going to see from this configuration of hardware and software, maybe it's just time to turn it back into a home entertainment system or whatever it was before you decided to try to make it a bit coin miner.
I have been asked this many times before and but you have to appreciate that this is a project for me and my goal is not to come out with a profit. (Although I have done research and I think that I will after some time). This is an experiment for me, and something that I enjoy working on. Not something that I am trying to use as a money maker. I enjoy working on this and my main goal is to learn more about Linux and cgminer.
Here is what I think my future steps are after your input:
- try rebooting several times, if that doesn't work...
- recompile sgminer
you have to appreciate that this is a project for me
Then the first step is learn to program in C so you can fix your memory leak.
As a rule, a lot of people in Linux can code in C . I'd say most of us can to one extend or another, but the joy of coding in C is what you can make with that code, not the endless hours of typing.
A bit coin miner for Ahaurum?
I'm not feeling the joy....
Now if you want to pay for it, which would be appropriate here since this is your for profit venture, I'm sure you can find somebody to help you...but...I think you might understand why nobody is jumping up here to say "I'll do it", right?