Jump to content

uudruid74

Members
  • Content Count

    139
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by uudruid74

  1. Don't EVER post a picture of your monitor again EVER
  2. And don't thank me until you see the bill I'm going to send you for my consulting fees!
  3. s/hooting/booting/g damn Android autocorrect!
  4. You aren't hooting the kernel you just built. You are spinning you wheels. Finish your install according to the HowTo, get grub installed, get it hooting. Then emerge your syslog and other stuff the HowTo mentions. Once you are booting native, come back and try X again.
  5. you still didn't answer if you were hooting natively or chrooted. if the file is empty, you have other issues. Xorg always makes a log. Try running startx with output and stderr redirected to a file so you can at least see what's going on. dmesg doesn't tell me what's wrong with X.
  6. PASTEBIN PASTEBIN PASTEBIN! Dunno who asked to look at your dmesg, but its not where you should start. As I said, Xorg.log. And WTF are you using btrfs? Basics first. Btrfs looks cool, but that's kinds advanced if you don't know if you need ACPI or not. ACPI is Advanced Configuration Power Interface. On a laptop, you want it. Desktop it would be optional and definately not related to the issue at hand. Did you Google ACPI before asking?
  7. 1 - this ain't Windows. Why did you post a link to a driver site? 2 - Is the system hooting by itself or are you still using the rescue CD and a chroot? If the latter, do the former first. ie: ditch the training wheels! 3 - Your Xorg log file will tell you what you need to know. You need to read it. You could post it, but I don't feel like reading it because... 4 - I think funtoo is the wrong distro for you. Funtoo is a meta distro and you need to learn the basics first. You need a distro where you can get started. I would recommend Sabayon since once installed, you can still use emerge to update it and start tweaking your make.conf, build your own kernels, etc. Beware: Sabayon is gentoo/systemd based. Some things will not be compatible. It will be easy though. Makes a good desktop/laptop OS.
  8. Interesting. I never noticed that. I wonder what the plan is? I'm guessing the new features would be using control groups?
  9. Firefox will continue to use more and more RAM as you use it. I just set it to open all current tabs on restart and then I can close it and restart it to reclaim RAM. Close firefox before letting your system suspend and it wont take so much time to resume. It will be faster to reopen it after suspend. ZRAM compresses RAM that is 'swapped out', basically it compresses it instead of swapping it by giving you a /dev/zramX set of devices to swap to. Unless you are using a cell phone (swapping to flash ia a horrible idea) then you can disregard zram.
  10. Hmm... shouldn't evdev take care of keyboard and mouse as well? AFAIK, X should have migrated over to the newer API awhile ago. I don't even use xorg.conf files anymore. The autodetect is usually better. In fact, even my touchscreen works (nice with Gnome 3.16) and hotplugging HDMI monitors (except for audio ... I have to manually change the HDMI audio to another device via pulseaudio's control panel if I yank out the hdmi cable).
  11. Firefox has an obvious memory leak. I think its had a leak since Netscape Navigator and no one seems to want to fix it. 20GB is absolutely ludicrous! Mine is at 14GB (I only have 8GB of actual RAM). I have less than a dozen tabs open. All the images and html on all those pages PLUS all the over head to load in the regular expression virtual machine, the javascript virtual machine, and all the node tree overhead shouldn't be THAT much. I don't think any Java is on any of these pages, so that VM shouldn't be eating RAM, although thats another one that eats RAM like its nothing. The kernel isn't at fault. And are you actually using ZSWAP compressed memory? I don't know if it would make it faster in this case (possibly), but you have to set it up in userspace too, not just in the kernel, and then its 1 zram device per CPU core due to how its designed (prevents contention).
  12. There is always the standard Funtoo Logo ... (although this one has some slight changes from the standard - looks better on dark backgrounds, more shadows, fixed spelling of 'powered'). I'd put it on my laptop. I could put it next to my Tux "Linux Inside" computer case emblem.
  13. UHmm ... impressive in what way? It is not dependency based and does not seem to support parallel start-up. It doesn't look like its very "intelligent" - I assume it uses plain shell scripts to configure services ... compare to Gentoo/Funtoo's OpenRC which have most of the intelligence abstracted into a library, with configuration in a separate directory. I suppose you might be able to start OpenRC with the runit init daemon, but why? My /sbin/init is 37K. Where did you read that Funtoo is changing init?
  14. My opinion on systemd: systemd is horrible. Binary logs is a horrible idea. Restarting services is bad (if I want that, I'll use Nagios and have it actually monitored and get proper notifications and prevention of thrashing if the service can't be started). Putting everything into pid1 is bad - the main difference between pid 1 and all others is that if pid 1 dies, so does your server. As long as its external to pid 1, it can be rescued. If someone wants systemd, there are other distros (gentoo, etc). Pulseaudio ... a horrible waste of effort that should have been spent on jack. The capabilities added should have been added to jack instead. It would still be possible to merge pulseaudio and jackd, and I think Linux needs this. Having to switch between "pro" audio and a minimal "please switch the audio to another device" capability really bites. I use a laptop and for movies, I want the video player's audio going out the HDMI to the monitor and surround system, but I don't play music in surround (evil) nor do I want my mp3/flac audio to stop when the screen is shut down (lock screen powers off the screens and HDMI port), and I NEED my guitar to go through jack for the effects (USB audio device). So, each app needs to route different places. A merger of PA's API into Jackd so everything could run via jackd would be awesome. Boot speed: Actually most ebuild scripts don't require bash, just sh. Its possible to use a smaller minimal sh to boot your system, but quite a few projects assume that /bin/sh is bash, or autodetect if /bin/sh is bash on install (you'll need to re-emerge these if you switch). Considering how many bash scripts are invoked, switching the boot process to use a minimal sh instead of bloated old bash can shave quite a bit of time off your boot. Combine w/parallel start-up and you'll get most of the speed of systemd, but better reliability.
  15. OK, I need some help understanding virtual dependencies. The Web HOW-TO says to let nginx be pulled in if you use tengine (seems horrible) since most apps don't know what tengine is. BTW ... the existing instructions are horribly managed for the mail HOW-TO. I'm going to look into cleaning that up since I finally got it all working well, but had to manually edit just about everything! Likewise, getting newer PHP functionality out of tengine/nginx took a bit of regex magic that needs to go into a HOW-TO. And there should be one for SSL as well. Thats non-trivial with the newer exploits (I now score A+ on ssllabs.com). But, shouldn't the ebuild take care of that as a virtual dependency? For example, take roundcube. I have nginx and apache masked (nginx is installed but not running since I use tengine, and I don't want apache installed or nginx to be upgraded). I did -auDNv roundcube and it wanted to pull in lighttpd as a web server! It saw that apache and nginx were masked and went to the next option. So, I looked at the roundcube ebuild and it is looking for virtual/httpd-php. OK, great. That looks correct. So I pull in that ebuild. It has an RDEPEND line that wants fpm, apache2 or cgi. Perfect! I add -t to my emerge line and it wants virtual/httpd-cgi which is what is pulling in other web servers. I think the need_httpd_cgi is at fault. Is this a bug, or is it intentional. Roundcube works fine and I have nothing CGI right now. Its all via fpm. Now, I have fpm installed. Its working just fine with tengine. Roundcube is installed and working. I was just checking to see if updates had made it into the tree. Why is it still trying to pull in a webserver? Shouldn't fpm satisfy the RDEPEND and that's it? What am I missing?
  16. Next stupid trick, which is pertinent to Gentoo/Funtoo since you frequently may have to add to a file with >>/etc/portage/package.mask (or .use or whatever). A slight typo could kill your file. Fix this way: In .profile set -o noclobber Just please don't ask what made me think of this :(
  17. Let's go again, this time its trying to rebuild stuff that's supposed to work. It all worked fine before! And courier-unicode is installed at the latest version. I'm doing an -auDNv courier-imap to upgrade depends before @preserved-rebuild since world failed. First line appears to be an ebuild bug?? configure: error: The Courier Unicode Library appears not to be installed. You may need to install a separate development subpackage, in addition to the main package !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0/config.log * ERROR: net-mail/courier-imap-4.16.0 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2685: Called econf '--disable-root-check' '--bindir=/usr/sbin' '--sysconfdir=/etc/courier-imap' '--libexecdir=/usr/lib64/courier-imap' '--localstatedir=/var/lib/courier-imap' '--with-authdaemonvar=/var/lib/courier-imap/authdaemon' '--enable-workarounds-for-imap-client-bugs' '--with-mailuser=mail' '--with-mailgroup=mail' '--with-fam' '--with-ipv6' '--without-gnutls' '--with-db=gdbm' * phase-helpers.sh, line 526: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=net-mail/courier-imap-4.16.0'`, * the complete build log and the output of `emerge -pqv '=net-mail/courier-imap-4.16.0'`. * The complete build log is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0' * S: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0' >>> Failed to emerge net-mail/courier-imap-4.16.0, Log file: >>> '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/build.log' * Messages for package net-mail/courier-imap-4.16.0: * ERROR: net-mail/courier-imap-4.16.0 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2685: Called econf '--disable-root-check' '--bindir=/usr/sbin' '--sysconfdir=/etc/courier-imap' '--libexecdir=/usr/lib64/courier-imap' '--localstatedir=/var/lib/courier-imap' '--with-authdaemonvar=/var/lib/courier-imap/authdaemon' '--enable-workarounds-for-imap-client-bugs' '--with-mailuser=mail' '--with-mailgroup=mail' '--with-fam' '--with-ipv6' '--without-gnutls' '--with-db=gdbm' * phase-helpers.sh, line 526: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=net-mail/courier-imap-4.16.0'`, * the complete build log and the output of `emerge -pqv '=net-mail/courier-imap-4.16.0'`. * The complete build log is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0' * S: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0' Trying emerge @system to see what happens. Something is borked somewhere.
  18. Ugh ... 4 GB isn't enough ?? World fails when it hits tengine again. Trying to do @preserved-rebuild, but I don't see anything that would help a memory problem. I guess I'll have to turn on swap to a file. I don't have X or anything running that would eat up RAM. @preserved-rebuild fails building courier-imap. Adding swap is not an option.
  19. I used to use screen back in the 90s so I could start a compile at work and then go home and dial in to the server to check on it. I think I even had it on my 3b2... yeah I had an AT&T 3b2 running Unix SysVr3.2 For new users that don't know the juice/tmux (or screen or byobu) combination, I forgot to mention you can swipe left/right to change terminal screens. Ill use any of the three - byobu just has cool status bar applets and I think tmux has more features for a couple weird things I do with it. I also use ES File manager mainly for the Sftp (usually over USB) but I'm looking to replace it. The author sends detailed information about everything you do with it to some Chinese server. I firewall off the two IPs it goes to. I have real issues with apps that immediately open a connection to the Internet when you open them. People need firewalls and packet sniffers on their phones! Yes, I have a GUI packet sniffer on my phone. We kinda need an OS that does a two-way data sanitize. Programs should scrub data before putting it into sql or a command line, but the reverse should happen. Programs shouldn't be able to open sockets to addresses that don't originate from the user (not practical on today's systems, but if things we're designed to empower users rather than application vendors may it could have happened). But, I'm wandering off topic.
  20. NO, wait! WTF am I smoking? I must have been looking at the wrong screen or soemthing. I see a failure message. And it looks like its complaining about ruby21 now. And I try it again and it complains about ruby19!! What is IT smoking? navi ~ # ls -l /usr/bin/ruby lrwxrwxrwx 1 root root 6 Jun 29 19:30 /usr/bin/ruby -> ruby22 navi ~ # ls -l /usr/bin/gem lrwxrwxrwx 1 root root 5 Jun 29 19:30 /usr/bin/gem -> gem22 Emerge: >>> Failed to emerge www-servers/tengine-2.1.0-r1, Log file: >>> '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log' * Messages for package www-servers/tengine-2.1.0-r1: * tengine group already exist. * group creation step skipped. * tengine user already exist. * user creation step skipped. * ERROR: www-servers/tengine-2.1.0-r1 failed (prepare phase): * Passenger premake for /usr/bin/ruby19 failed! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 5724: Called _ruby_each_implementation 'passenger_premake' * environment, line 581: Called _ruby_invoke_environment 'ruby19' 'passenger_premake' * environment, line 676: Called passenger_premake * environment, line 4588: Called die * The specific snippet of code: * rake -m nginx || die "Passenger premake for ${RUBY} failed!" * * If you need support, post the output of `emerge --info '=www-servers/tengine-2.1.0-r1'`, * the complete build log and the output of `emerge -pqv '=www-servers/tengine-2.1.0-r1'`. * The complete build log is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0/passenger-release-5.0.6' * S: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0' I am not permitted to upload this type of file (build.log). So here's a paste http://paste.ubuntu.com/11796523/ Why is the spellchecker underlining EVERYTHING?
  21. I just wanted to start a thread that contains the most useful tools and tricks; stuff you end up installing because it makes your life so much easier. Here's a couple to get you started. VIM In your non-root .vimrc cmap w!! w !sudo tee "%" >/dev/null If :w! fails because you forgot to su/sudo, just use ':w!!' SSH the Byobu way! I generally use mosh since it can be forgiving of slow and interruptable links, but I also go one step further and install byobu (its a layer on top of tmux/screen, tmux is default). It will save your session from a network drop! If you've never use tmux or screen you are in for a treat. It multiplexes your terminal so that you can have multiple terminals through the same connection. But, its also a session manager and this is more important (IMHO). Start an emerge and then go ahead and detach (^A d) and you can drop your ssh connection and everything continues in the background. When you connect to byobu again, everything is there as if you never disconnected. Every terminal! You can even connect from multiple machines and share the open terminals if you wish. I use an Android APP called JuiceSSH (and the AnySoftKeyboard with the SSH extension keyboard, although Juice gives you the other keys you need). It manages your SSH connections and lets you connect from your phone. This means I can pull out my phone and tap a button and be logged in to a server, check on a compile or update or view a log, and then detach from byobu really fast. I keep byobu on the gnome "Drop Down Terminal" (desktop extension) so I have a terminal that I never lose track of and it multiplexes with byobu. It also stays active if I log out of Gnome!! Its session doesn't die when you log out of your desktop, its persistent. Also, if I "Juice" in, the terminal size is changed byobu to fit the phone screen - so I can see byobu on my laptop resize as I rotate my phone (yeah, not very useful, but it looks cool).
  22. I think I see what is happening. The HOW-TO mentions to specify it to be external, like this: TENGINE_EXTERNAL_MODULES_HTTP="passenger" and I just realized that external could mean that the build is external to tengine, so I have to build it separately. Sure enough, passenger has a separate ebuild, which wants to pull in apache! But, it tried to build passenger when I emerged tengine, so I'll assume that was correct and the passenger ebuild is just for apache. Well ... it finished successfully! How odd. I could have sworn I tried ruby22. And BTW, 'eselect' is likely the preferred way to manage your Ruby version rather than a manual symlink. It lets you switch back and forth. Anyway, thanks for the help!
  23. OK, I'm new to tengine and passenger and just kinda blindly following the How-To's at this point. I don't know if I really need passenger yet, but I'm thinking something is going to need it eventually. Here's where I'm at (and I tried to set Ruby to 19 via eselect, didn't help): >>> '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log' * Messages for package www-servers/tengine-2.1.0-r1: * tengine group already exist. * group creation step skipped. * tengine user already exist. * user creation step skipped. * ERROR: www-servers/tengine-2.1.0-r1 failed (prepare phase): * Passenger premake for /usr/bin/ruby19 failed! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 5730: Called _ruby_each_implementation 'passenger_premake' * environment, line 581: Called _ruby_invoke_environment 'ruby19' 'passenger_premake' * environment, line 676: Called passenger_premake * environment, line 4594: Called die * The specific snippet of code: * rake -m nginx || die "Passenger premake for ${RUBY} failed!" * * If you need support, post the output of `emerge --info '=www-servers/tengine-2.1.0-r1'`, * the complete build log and the output of `emerge -pqv '=www-servers/tengine-2.1.0-r1'`. * The complete build log is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0/passenger-release-5.0.6' * S: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0' Should I post the contents of any files?
  24. I probably shouldn't necrobump old threads, but school for me was mostly a waste of time. I was more or less teaching the teachers and making more than them, so I quit. Then again, I've been using computers since I was 3 or 4. I could do basic BASIC in kindergarten. My advice is to figure out what you are most passionate about and dive in deep. You'll end up being amazingly good at it and someone is going to come along and need those skills. Basically, find your niche. My niche seems to be abandoned, half-finished projects :) What do I do? Here's one of the more fun jobs I worked at :
  25. Gcc supports a "native" target where it detects what cpu its running on and then uses that for almost code generation options. Unless you build on a host that is different from the target, why not use this feature?
×
×
  • Create New...