Gentoo is a Linux distribution designed to be automatically optimized and customized according to the user's need.

learn more… | top users | synonyms

5
votes
1answer
3k views

mmap() failed: Cannot allocate memory - how do I find out who's complaining?

mmap() failed is popping up in my .xsession-errors in bursts. But there's no indication about what application it is failing with. How do I look into this after it has happened? I usually discover the ...
5
votes
3answers
5k views

Why can't I use the REJECT policy on my iptables OUTPUT chain?

I currently have my OUTPUT chain set to DROP. I'd like to change it to REJECT, so that I have a clue that it's my firewall stopping me from getting somewhere rather than a problem with whatever ...
4
votes
2answers
2k views

How to install Gentoo with VirtualBox and use it as native OS later?

I'd like to try Gentoo (again...). I know that many steps require a lot of configuration and much more time. I'd like to do something else on computer during long waiting, because of that I would like ...
3
votes
1answer
779 views

Installing Chrome on 64bit Gentoo without Superuser Access

For a bit of background, I am trying to install Chrome (or Chromium) on to a gentoo user account at my university. We are allowed to install software as we like, however we lack superuser access ...
3
votes
1answer
345 views

Gentoo Kernel failing to boot

My machine has two hard drives -- /dev/sda and /dev/sdb. The first has Ubuntu installed. On the second, sdb, I want to install Gentoo. I did all the installation steps, chrooted and compiled the ...
3
votes
3answers
748 views

Present USE flags upon emerging a package in gentoo

I was wondering if there are any tools to present the compile time options/ flags of a package in Gentoo when emerging. I am referring to something like this
4
votes
1answer
515 views

Gentoo Live CD from Hard Drive: No Mountable Filesystems on root after modules loaded

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the Live CD (I have no functional CD Drive, so it is from a spare Hard Drive), but after the kernel is ...
0
votes
1answer
462 views

Install of Gentoo: Can't find root device (boot of LiveCD from HardDrive)

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the LiveCD (I have no CD Drive, so it is from my Hard Drive), but after the kernel is loaded, I get a ...
0
votes
1answer
321 views

Scribus crashes with .ICEauthority

I've been trying to get scribus to work on my new gentoo 12.1 (amd64, XFCE, qt 4.8.2) installation, but when running as a regular user the program won't start up. Thanks to suggestions and extra tests ...
5
votes
3answers
705 views

Find out a package's configure/compile options in Gentoo

On a Gentoo Linux box which I'm not administering (and to which I don't have root access), how can I find out the options which were used to compile the package? (Please note I've never worked with ...
1
vote
1answer
354 views

MBR is toast or at least Grub is

This started after some kernel trouble that I left alone for a while. I had miscompiled a kernel then tried to re-compile it and started to organize a list of boot options in grub for differently ...
3
votes
0answers
204 views

target/build CFLAGS mixup when cross-emerging due to bug or my stupidity?

I'm trying to emerge LLVM using emerge from a crossdev (for ARM) overlay in Gentoo. I've set the CFLAG of the overlay to optimise for arm (-march=armv6j), which seems to make ./configure fail on the ...
9
votes
4answers
7k views

Safely uninstall a package in Gentoo

I wanted to uninstall a specific package in Gentoo and browsed through the emerge man page. I found the --unmerge option: WARNING: This action can remove important packages! Removes all ...
5
votes
1answer
1k views

How can I use netconsole to help solve a kernel panic?

When I try to use a raid as root, my system panics. I want to read the kernel output right before the panic, but can't scroll up. After Googling a bit, I wanted to try netconsole. but I get no output ...
2
votes
0answers
704 views

kio sftp does not work but fish works

If I try to initiate an sftp connection from dolphin (or konquerer), it tells me the password is wrong and asks me for the correct password. Incorrect username or password Do you want to retry? ...
0
votes
0answers
444 views

Automount in Xfce4 just stopped working

A little while ago my usb drives stopped auto mounting. It might have been after an update but not sure where to look. I have been manually mounting them as root and that is a pain. Is there maybe ...
5
votes
2answers
1k views

Why is mount.cifs not installed suid by default?

I am using Gentoo, and on my machine at least mount.cifs is not installed suid root by default. In particular, this means that I can't use the user mount option with CIFS shares. I noticed that ...
4
votes
2answers
571 views

/etc/motd is not displayed when a named pipe?

Running Gentoo 3.4.0 Having recently heard about the /etc/motd file, i tried to have it display random cowsay fortunes. I wrote some random bash script to act as a daemon, feeding the /etc/motd as a ...
2
votes
1answer
1k views

What is a framebuffer device and is it required to obtain a higher resolution?

I am running a gentoo guest OS on qemu-kvm. I can only get resolution of 800x600 in it. I want to be able to get a higher screen resolution. xrandr gives the following output : xrandr: Failed too ...
2
votes
5answers
411 views

Is it possible to install Gentoo by building on one machine and copying the files?

I have an older machine with a failing cdrom drive. Because of this I'm having a hard time installing Gentoo on the system. I wanted to run a proposed work around past you and see if it makes sense. ...
1
vote
1answer
1k views

How to increase Xen guest CPU utilization?

My Xen dom0 is a Gentoo x64 pvops. I boot my guest Gentoo, in PV mode, system with the same kernel my dom0 uses. When I emerge in the guest system, building a CPP package, I am experiencing low CPU ...
4
votes
2answers
935 views

How to set secure permissions for multiple users and multiple websites?

On a Gentoo 3.2.12 server with apache2+php, there are several websites running: /www /website1 /website2 ...etc The apache user should have read-only access to all the websites. There ...
7
votes
2answers
2k views

linux multiple internet connections load balancing with fail handling

I have two ISP connections and need automatic load balancing between them. I also need to handle failed connections (not use one that does not work). First link is a PPTP connection (ppp0), second is ...
1
vote
0answers
507 views

qemu-kvm savevm very slow

I have up to date gentoo system with kvm images located on 500 gb partition with 200 gb of free space and defragmented, running machine with Windows XP and 2gb ram, I have problem with making snapshot ...
0
votes
1answer
662 views

Filesystem for Gentoo root?

I need a fast and space eficient filesystem for my Gentoo workstation. I have some expirience with ext4 and found it very slow on lots of small files inside the filesystem. I am considering another ...
2
votes
2answers
270 views

Creating one-time cgroup

I would like to be able to create a one-time temporary group in hierarchy. For example: #!/bin/sh run_with_csubgroup /sys/fs/cgroup/group/subgroup/ Which creates group say ...
12
votes
2answers
1k views

zsh wants to correct vim to .vim

I'm using zsh on Gentoo x64, and when I type sudo vim /path/to/file from my home folder, zsh asks: zsh: correct 'vim' to '.vim' [nyae]? I want to run vim not my .vim folder. How do I fix this? ...
6
votes
2answers
2k views

Which Gentoo should I download?

I am looking for the most compatibility in a Gentoo download. When I go to the download page, I am greeted by this: install-x86-minimal-20120306.iso 07-Mar-2012 08:50 135M ...
3
votes
2answers
635 views

Launching Gentoo from external hard drive

I have an external hard drive (Transcend TS500GSJ25M - not sure M1, M2 or M3, but guess it's M1) and I'd like to install Gentoo on it. It's pretty easy, using genkernel, though it compile a lot of ...
3
votes
2answers
1k views

wicd - no connection after boot, have to restart manually?

I'm using version 1.7.1_pre20120127 with python 2.7.2: [U] net-misc/wicd Available versions: 1.7.0 (~)1.7.0-r1 1.7.1_beta2-r4 (~)1.7.1_pre20111210-r1 1.7.1_pre20120127 (~)1.7.1_pre20120127-r1 ...
0
votes
1answer
281 views

QT applications does support Unicode

My system is Gentoo amd64, and the desktop environment is Xfce4. So far, most applications works well, except the terminal and QT-family applications. The Chromium,Thunar, Thunderbird and many other ...
2
votes
1answer
113 views

Gentoo on VM setting IP Manually

I installed Gentoo on Virtualbox with the minimal image. This is the first time I am running gentoo. I need to do ifconfig eth0 192.168.0.10 route add default gw 192.168.0.1 everytime it boots on ...
3
votes
1answer
210 views

Configuring Touchpad/Trackball for X

I have just installed my gentoo with X11/Gnome. It works fine with the USB-Mouse, but neither the touchpad nor the trackpoint works. The docs I found seemed to be outdated and were not mentioning the ...
2
votes
1answer
1k views

Gtk2 Themes under Gentoo's Gnome 3

I have made it to get a nice gnome shell environment running under my new gentoo. It's all fine, except there are a whole bunch of programs built against gtk2 (Chromium, Pidgin, Thunderbird, Firefox), ...
7
votes
1answer
6k views

How to check why sound over HDMI doesn't work

I installed Gentoo clean on my system, except my /home but I deleted all hidden folders that might have an impact on sound (.mplayer .pulse* .config .esd_auth and more) and with a fresh user adduser ...
7
votes
3answers
5k views

How do I tell what version of Gentoo & Linux is running?

Is there a way to tell from Bash what distro version # I'm running and also what Kernel version is included?
5
votes
3answers
1k views

Redirect traffic through vpn on an as needed basis

My problem is really simple yet it sounds complex, but I have zero to none experience with this. I have set up a box using gentoo which has its own semi-static WAN-IP and acts as router for my LAN. I ...
0
votes
1answer
641 views

trouble with irssi and cifs

I'm having trouble getting irssi, the irc client, to write to a mounted cifs share. I have the uid, and gid set to my user as well as setting the permissions on the share to being very permissive. ...
3
votes
2answers
643 views

If you SSH into another computer, how to access other X displays?

This is a query based on personal use. A troll in our local network had downloaded Crikey, the key-event simulator. He used it to simulate events on other computers, leading to unwanted things. For ...
5
votes
4answers
1k views

Error while loading shared libraries

My project tree looks something like that: src/ include/ Makefile lib/ lib/3rdparylib/ I didn't code 3rdpartylib, but decided to embed its source code in my project packaging. I compile the ...
1
vote
0answers
135 views

Program does not terminate when called from udev

I've written a program in C#/Mono that probes a device to determine if it is a modem. The program works fine from the command line. However, when it is called from PROGRAM= in a udev rule, the ...
3
votes
1answer
2k views

Change the number of generated /dev/tty devices

I'm building an embedded Linux system, based on Gentoo. Using udev, all tty devices are probed with a PROGRAM stanza to determine if they are a modem. Right now the system boots up with 64 /dev/tty*. ...
3
votes
2answers
274 views

Why does linux scan my cdrom on boot?

My linux system scans my cdrom on boot. Can I disable that feature without removing my cdrom tray?
1
vote
0answers
284 views

Gentoo Gnome 3.2 Wireless “Connecting…”

I recently updated my Gentoo with GNOME 2.x to GNOME 3.2. My NetworkManager applet refuses to connect to my network; however, it does not give an error as it simply hangs as "Connecting..." I checked ...
1
vote
2answers
116 views

Which root paths should reside on fast media?

Which paths under / should be mounted on fast media, and which can be mounted on slower media without significantly affecting system performance? My guess: Fast Partition: swap (2G) Partition: ...
7
votes
2answers
3k views

On Gentoo, how do I rebuild all packages depended on some other package?

I made mistake and changed perl non-threaded version to threaded by unmerge first, change USE flags to include ithreads and emerge perl again. Now most packages depending on perl are broken. How do I ...
5
votes
2answers
542 views

On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?

On Gentoo, is there a way to find a list of installed packages which doesn't have other packages depended on them (so called leaf packages)? Or, is there analog of pkg-orphan FreeBSD utility?
5
votes
1answer
1k views

On Gentoo how do I find list of packages installed after some specific date?

I have Gentoo VM that I use to test different puppet recipes and I frequently need to remove packages to bring it to clean initial state. While I could do this by hand when there are only few packages ...
4
votes
2answers
632 views

Laptop does not power off after it has been suspended to ram

I suspend my laptop using echo mem > /sys/power/state. That works fine and it resumes nicely. Once I try to power it off, it shuts down fine until i see the message Power down. (or similar). ...
4
votes
1answer
1k views

How can I revert a package to a specific version on Gentoo?

I'm a Debian user pretty much new to Gentoo. I wanted to install a specific version of a package namely the 1.39.0 version of dev-libs/boost, http://packages.gentoo.org/package/dev-libs/boost. But I ...