Re: [gentoo-user] OT: 'Best' Desktop Environment

2012-07-28 Thread Claudio Roberto França Pereira
I also use awesome, but have tried KDE 3 and 4, Gnome 2 and 3, XFCE,
LXDE and some others. I found out that I want to know what are the
programs that I run, so the meta + r shortcut combines perfectly, and
make me think about what is that launcher software, that compositing
software, that pdf viewer, that file manager, etc.



Re: [gentoo-user] Everything disappeared from world list

2012-07-11 Thread Claudio Roberto França Pereira
On Fri, Jul 6, 2012 at 11:13 AM, Doug Hunley doug.hun...@gmail.com wrote:
 AFAIK, Gentoo does not have a script or an option to back up the
 world file and other associated files.

 This is why I keep an empty world file and use /etc/portage/sets/
 exclusively. I'm backing up /etc/portage anyway (package.use and
 friends), so it just makes sense to have 'world' in there ;)

How would you do that? I'm currently using ~amd64 and can't yet use
sets for some reason.

 --
 Douglas J Hunley (doug.hun...@gmail.com)
 Twitter: @hunleyd   Web:
 douglasjhunley.com
 G+: http://goo.gl/sajR3




Re: [gentoo-user] convert wmv to mp4?

2012-05-01 Thread Claudio Roberto França Pereira
You almost got it:

 $ eix -c w32
[N] dev-util/w32api (--): Free Win32 runtime and import library definitions
$ eix -c win32
[N] media-libs/win32codecs ((~)20071007-r4): Windows 32-bit binary
codecs for video and audio playback support


It's also a use flag for vlc and mplayer (that's for my setup,
probably other players support it too), it will pull the package for
you.



Re: [gentoo-user] how to let different make version coexist?

2012-04-19 Thread Claudio Roberto França Pereira
You can always mask greater versions, and then portage won't merge
then. Just hope that nothing from now on depends on the new version.



Re: [gentoo-user] USB sticks now mounting on /run/media instead of /media ?

2012-04-18 Thread Claudio Roberto França Pereira
How do you mount them automatically? Isn't there a middle-man software
that mounts removable drives? I'm pretty sure I never had a drive
automount without kde or gnome managing them.



Re: [gentoo-user] PCI video cards, hardware accel, upported by open-source drivers?

2012-04-17 Thread Claudio Roberto França Pereira
Since we're talking about video playback with open source drivers, any
luck to intel onboard adapter users? I'm struggling with an HD3000
core i3 video adapter, can't playback 1080p without tearing. I was
impressed with this same adapter running a racing game on a colleagues
macbook air, smooth and aliased.



Re: [gentoo-user] Problems with ath9k: can't authenticate

2012-04-16 Thread Claudio Roberto França Pereira
I'm using WPA2 but tried even with no authentication, without luck.
The authentication always times out. I'll try your configurations Zhu.
I've tried wpa_supplicant before with similar configurations, without
luck. I'll look at this carefully.

Thank you for all your feedback. I'll come back today later with results.



[gentoo-user] Problems with ath9k: can't authenticate

2012-04-13 Thread Claudio Roberto França Pereira
Hi guys. I'm having problems with my wireless nic, on a notebook. The
card is an ath9k 802.11n wireless adapter. The driver is loaded,
wpa_supplicant and wicd get to recognize them, I can see the
association working correctly, but I can't get the card to
authenticate, it ALWAYS times out. I tried looking at the kernel
documentation for the ath9k driver, but without success. I'll look for
it using the work internet.

Anyway, does anyone with a similar setup had any problems with atheros
nics? And how did you solve it?

Thinking further, I had to enable wireless extensions (wext) to make
wicd handle ath9k. Should I disable it and stick to wpa_supplicant?
Also, I'm using a non-modular kernel, compiling everything in it.
Yesterday I left the notebook making a new modular kernel, with sound
and wireless drivers modular. I'm almost going all the way to
genkernel. Any clues?

I'm running ~amd64, kernel 3.3.0. 3.1.X worked somewhat ok, but I
can't shake the feeling that under Windows this laptop of mine would
work flawlessly. I'm not whining, just wanna find a comparable
configuration, and solve my usability issues.

Thanks

--
Claudio Roberto França Pereira



Re: [gentoo-user] Problems with ath9k: can't authenticate

2012-04-13 Thread Claudio Roberto França Pereira
On Fri, Apr 13, 2012 at 10:43, Robert David
robert.david.pub...@gmail.com wrote:
 Hi,

 Check in wicd settings which routing tool you use. Select route when
 using ip. I got some problems with wicd and ip.

 I just using similar ath9k card on 3.0.x with no problem. I always use
 wifi as module. And I don't use genkernel, just my plain config and
 easy initrd for lvm root support and fbsplash.

I'll check this when I get home. Thank you for the feedback.


 Robert.



Re: [gentoo-user] How can I trigger kernel panic?

2012-03-15 Thread Claudio Roberto França Pereira
Just to be sure, r e i s u b may be input in low case, without shift, right?

Like hold Alt + SysRq and type r e i s u b then release Alt + SysRq?



Re: [gentoo-user] [OT] FOSS history books

2012-03-08 Thread Claudio Roberto França Pereira
2012/3/7 Andrés Becerra Sandoval andres.bece...@gmail.com:
 All of these are not entirely historical:

 - Hackers, heroes of the computer revolution, Steven Levy
 - Open Advice, Lydia Pintscher
 - Two Bits. The  Cultural Significance of Free Software, Kelty
 - The Power of Open, Creative Commons
 - The Success of Open Source. Steven Weber
 - Perspectives on Open Source Software,
 http://mitpress.mit.edu/catalog/item/default.asp?tid=10477ttype=2


Thank you, I'll make sure to take note on these and look up after Rebel Code.


 --
   Andrés Becerra Sandoval





[gentoo-user] [OT] FOSS history books

2012-03-06 Thread Claudio Roberto França Pereira
I've ordered Rebel Code: Linux And The Open Source Revolution, from
Glyn Moody, but I just realized it's pretty old, from January 2001, 11
years ago.
Of course I'll love reading it, but I'd like to complete this study
with the 2000 developments of FOSS. Linux 2.6, HAL life-cycle, GCC
evolution, Ubuntu creation, Mozilla history, Google rising like a
rocket. Anyone know a good recommendation in this subject?

--
Claudio Roberto França Pereira



Re: [gentoo-user] Re: Awesome WM, io.popen() attempt to index io nil value

2012-03-05 Thread Claudio Roberto França Pereira
Repeat the question on awes...@naquadah.org. Subscribe to it as usual,
awesome+subscr...@naquadah.org.



Re: [gentoo-user] [OFF] string1!string2!string3 notation

2012-02-28 Thread Claudio Roberto França Pereira
Wow. Thanks for all this knowledge.



Re: [gentoo-user] Is Gentoo for me?

2012-02-27 Thread Claudio Roberto França Pereira
I'm not here to discourage you of using Gentoo, but I'd take a look at
ArchLinux.



[gentoo-user] [OFF] string1!string2!string3 notation

2012-02-27 Thread Claudio Roberto França Pereira
I'm reading Writing Solid Code, by Steve Maguire, and at the end of
the book there is an about the author section that mentions two
contact addresses: one is an email, the other is
microsoft!storm!stevem. The book is from 1993, so that should be an
old address, for an old protocol. So what? That's not enough for my
curiosity. Anyone does know where this came from?

--
Claudio Roberto França Pereira



Re: [gentoo-user] slim keyboard layout

2012-02-16 Thread Claudio Roberto França Pereira
On Thu, Feb 16, 2012 at 14:54, James Broadhead jamesbroadh...@gmail.com wrote:
 On 16 February 2012 09:10, András Csányi sayusi.a...@gmail.com wrote:
 Dear All,

 I have been googling for a while to find the answer for the question
 how on earth I'm able to set up the default keyboard layout of slim,
 but I haven't find any answer for this.
 A few articles say that if the keyboard layout is set up in xorg.conf
 than it will be okay. It doesn't work. I haven't find any option to
 set up in /etc/slim.conf file and I also haven't find any information
 about it in the gentoo documents.

 So, I would like to know that somebody does know the answer for this 
 question?

 Thanks in advance!

 András

 I really doubt that slim has any keyboard-layout functionality - it
 should be defined by xorg.conf. It's possible that you have a complex
 DE (gnome/kde), which overrides the X settings when it loads, as I
 assume that your problem is only in slim, and not also in your DE.

 A look at your Xorg.0.log, and some more explanation of your situation
 would be helpful :)


The default and recommended no xorg.conf setup doesn't play nice
with keyboard layouts. You need to set one on your xorg.conf or
another X.org init script.

I love the idea that Xorg now just works (TM) without any
configuration file, but it could generate something based on what it
detected on the first time, or something.

--
Claudio Roberto França Pereira



Re: [gentoo-user] Re: grub vs grub 2

2012-02-15 Thread Claudio Roberto França Pereira
mike, I'd DEFINITELY LOVE to read grub's history, even if it's a short
summary or something.

TOTALLY OFF-TOPIC, but anyone could recommend me a open
source/linux/unix/free software history book? Something that mentioned
the FSF foundation, the GPL creation, the XFree86 - X.org evolution,
linux [..]. - 2.4 - 2.6 evolution, sound stack evolution (OSS, ALSA,
JACK, PA, ESD, Arts, Phonon), multimedia history (ffmpeg, mplayer,
mplayer2, gstreamer, xine, vlc). It could go all the way back to
shell's, like sh, csh, BASH, zsh.



Re: [gentoo-user] Re: In TTYs, pinguins remain

2012-02-15 Thread Claudio Roberto França Pereira
On Wed, Feb 15, 2012 at 13:59, Nikos Chantziaras rea...@arcor.de wrote:
 On 15/02/12 17:49, LK wrote:

 Hi,
 12
 In TTYs, the penguins you see on top of the
 booting process remain.


 Disable the Bootup logo option in your kernel:

 Device Drivers - Graphics support - Bootup logo



 Then in less, i cannot scroll
 upwards, which sucks using man and like that.


 That is another issue.  You need to select the pager you want with eselect:

  eselect pager list

 gives you a list of possible choices.  The usual choice is using the less
 tool as pager (/usr/bin/less).  So simply set that with eselect pager set
 [number].  Refresh your environment (by sourcing /etc/profile or simply
 logging out and back in again.)



The penguin remaining on the screen seems to be some framebuffer
witchery, like decorations or some background. The framebuffer
provided penguins scrolls fast as the system boot messages flood the
screen.

--
Claudio Roberto França Pereira



Re: [gentoo-user] How do I deamonize every service?

2012-02-15 Thread Claudio Roberto França Pereira
On Wed, Feb 15, 2012 at 13:50, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Wed, Feb 15, 2012 at 9:40 AM, LK linuxrocksrul...@googlemail.com wrote:
 On 2012, Feb 14, Tuesday,  13:30, Nikos Chantziaras wrote:
  -b, --background
             Background immediately.  This is useful for startup
             scripts which don't disable link messages for carrier
             status.

 So to use that option, edit /etc/conf.d/net and use:

  dhcpcd_eth0=--background
 That works.

 On Arch Linux there is a variable with all important things to
 be run, like dhcpcd, ssh, apache, and so on. If I want i can
 simply prepend a '@' to be begin to start it in the background.
 I miss that ease on gentoo, where i dont want to wait
 for sshd or  dhcpcd to start. Now the above solution for
 dhcpcd is not general.

 I dont want to take the specific way for each service.

 TIA.

 If you emerge ifplugd it should automatically let network start
 immediately at boot, and then do the actual connection in the
 background. It also handles unplug/plugging of the cable without you
 needing to do anything.


wicd also has a daemon that does this.
--
Claudio Roberto França Pereira



Re: [gentoo-user] Alternative to firefox?

2012-02-14 Thread Claudio Roberto França Pereira
 Grant emailgr...@gmail.com [14.02.2012. @12:41:25 -0800]:

 Has anyone found a GUI alternative to firefox they like that's in
 portage?  Something minimal preferably but with flash support?

 - Grant

Check Vimperator for Firefox, and also uzbl (uzbl-browser or uzbl-tabbed).



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Claudio Roberto França Pereira
Just for completeness sake, try downgrading the kernel to 3.1.5 or lower.



Re: [gentoo-user] Re: Video editing advice on formats and size of file

2012-01-03 Thread Claudio Roberto França Pereira
Ok, I know what to do. I played a little with ffmpeg and avconv
(ffmpeg's fork, libav, conversion utility) converting 3D YouTube
videos to play at the Nintendo 3DS.
Anyways, I'll pretend you're using ffmpeg, I prefer libav but ffmpeg
is much more common (both are made available by portage, there is
virtual/ffmpeg now). Their syntax is a little different by the way, if
you prefer using libav just look at libav changelog
(/usr/share/doc/libav-version/CHANGELOG.bz2, or something close to
that).

ffmpeg -i file1.avi -i file2.avi -vcodec copy -acodec copy -async 12
-o output.avi

You can use multiple input files, not just 2. If their codec match,
you can copy, if they don't match then you'll need to re-encode the
files (or the just the ones with the different codec).
The -async 12 option do the synchronization trick. The 12 indicates
that ffmpeg should try to correct synchronization at most 12 times per
second. You could use less, try and see the results yourself. I'd say
that even 5 or 3 would give great results, but 12 doesn't seem to
increase file size either.



[gentoo-user] Gentoo-sources: can't make menuconfig with user? User can't access ncurses?

2012-01-02 Thread Claudio Roberto França Pereira
I'm not currently at my Gentoo box, sorry for this, but if I don't
post this now I'll probably forget to post it at all.
Anyways, last time I tried upgrading my kernel, I copied my .config
and ran make menuconfig as my main user, but it whined about missing
ncurses libraries or something. After su'ing, everything went better
than expected.
Was that normal behavior? I remember configuring my kernel as user
before. Even compiling it as user.

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1



Re: [gentoo-user] emerge --update behavior

2012-01-01 Thread Claudio Roberto França Pereira
Actually, -u doesn't mean update, means filter packages that are not
updatable (are already the most recent version).
It's a filter option, not an action. Portage doesn't work with actions.



Re: [gentoo-user] Problems starting KDE

2011-12-31 Thread Claudio Roberto França Pereira
On Sat, Dec 31, 2011 at 13:53, Jeff Cranmer j...@lotussevencars.com wrote:
 I'm attempting to bring up a new system.  Processor is AMD Phenom 1055,
 running on a Sabertooth 990FX motherboard.  Graphics card is an NVIDIA
 GEForce GTX550Ti.

 If I start X with twm, the xserver connection is made, and TWM comes up
 correctly with three Xterm windows.

 I note that I get two errors reported,
 (EE) NVIDIA: Failed to load module dri2 (Module does not exist, 0)
 /etc/X11/xinit/xinitrc: line 62: xclock: command not found

This is normal behavior. Don't know why, but nVidia drivers doesn't
use the dri2 module, I think it has it's own implementation or
something, you can safely ignore that, even if your 20-nvidia.conf
disables (or tries to) dri2.
The xclock error is also ok, you probably have twm emerged, but not
xclock. The default xinitrc (in /etc/X11/xinit/xinitrc) tries to run
twm, 3 xterms and xclock.


 The first error is definitely on startup, but the latter could have
 appeared on exit.

 I have a file 20-nvidia.conf in the /usr/share/X11/xorg.conf.d directory
 with the following information

 Section Device
  Identifier Device0
  Driver nvidia
  VendorName NVIDIA Corporation
  BoardName GeForce GTX550 Ti
  BusID PCI:5:0:0
  Screen 0
 EndSection

 Section Module
  Disable dri
  Disable dri2
  Load glx
 EndSection

 If I add exec startkde to the top of the /etc/X11/xinit/xinitrc file,
 then startx fails to start.  I get the same dri2 error as above, but
 also get

 startkde: Starting up...
 Connecting to deprecated signal
 QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
 kded(13865): Communication Problem with kded, it probably crashed.
 Error message was: org.freedesktop.DBus.Error.NoReply :  Message did
 not receive a reply (timeout by message bus) 

You should not edit this file, you should create a ~/.xinitrc and add
startkde to that. Try again without messing with the default system
xinitrc and using your own. You need to let the system xinitrc run, it
will call yours afterwards.


 I verified using /etc/init.d/dbus status that the dbus service is
 running.  Same for consolekit.

 /var/log/kdm.log shows one error, repeated for each startup attempt.
 KCrash: Appication 'kdmgreet' crashing
 KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
 Server Terminated successfully (0).  Closing log file.

 Any assistance gratefully received.

 Thanks

 Jeff






Re: [gentoo-user] Error compiling phonon-gstreamer

2011-12-31 Thread Claudio Roberto França Pereira
Maybe some use flag inconsistency? Try adding --newuse or -N to your emerge.
Try this: emerge -uavDN world. If this still just pulls
phonon-gstreamer, then there should be some problem in the package
itself.



[gentoo-user] To swap or not to swap? Is it really needed?

2011-12-29 Thread Claudio Roberto França Pereira
I've run my box with 2x2GB of RAM for a while, but a couple weeks ago
one of my chips died, and now I'm stuck with 1x2GB. That's not that
terrible, I'm using Gentoo all day, rarely switching to Windows 7
anyways, who really likes RAM.
Anyway, for the last days, my machine has been really slow, with mouse
lag, input delay, and other things. I imediately associated it to the
lack of free RAM, but I always rushed to check the RAM usage with htop
and it were never really high. So today I decided to turn my swap
partition off. And the system is FLYING. I mean, it's pratically a new
machine, now it's usable and reliable.

I thought of falling back from KDE 4 to awesome (tried it earlier in
an old notebook last year) given the memory footprint of KDE, but it
seems that my hard disk was the culprit here.
I've heard that Linux need a little swap partition, maybe just 512MB,
for some tasks, but I'm not going to turn it on anytime soon. It's a
desktop machine, 24/7, and I couldn't care less about suspend-to-disk.

So, should I ban swap partitions entirely from my life? Is that ok?



Re: [gentoo-user] To swap or not to swap? Is it really needed?

2011-12-29 Thread Claudio Roberto França Pereira
Sorry for being so general, for not giving any real info. I'm new to
system monitoring, I just learnt about iostat and swapon -s, now about
vmstat. I mainly tried to catch anything unusual in top/htop.

Trying to be more specifically, my system is a core 2 duo, dual core
3ghz processor, 4gb of ram (now 2gb), ATI radeon HD4850 with 512mb of
vram. I used to play a lot on this box, now a lot less. On Gentoo,
when I play is some browser game or cowsay (it's in games-misc!), not
anything relevant. I'm using radeon open source drivers, by the way.
My main use, currently, is web surfing, firefox with LOTS of tabs,
email, social networks and random browsing. Firefox alone uses lots of
ram, almost always it's using more than a half GB, sometimes it passes
the 1gb mark. I also do Qt develop on this, but nothing heavy. No
virtual machines, no 3d rendering, no heavy processing, no
hibernation.

So, I'm just a basic common web surfer. In this case, can I say it's
at least SAFE to disable swap? I'll look into last month's thread on
this.



Re: [gentoo-user] To swap or not to swap? Is it really needed?

2011-12-29 Thread Claudio Roberto França Pereira
ZRAM is a compressed ramdisk for swap, right? I'm really not
interested currently.
My next system will have 16gb of ram, and I'll create an 8gb ramdisk
on it to increase emerge performance. Other than that, I'm pretty
happy with my system performance, disabling swap and compositing
effects (remember, open source radeon drivers, I might try fglrx again
but I really liked KMS) did the trick.



Re: Re: [gentoo-user] Can't build firmware into kernel

2011-12-09 Thread Claudio Roberto França Pereira
Yes, exactly. The first time you were missing
CONFIG_EXTRA_FIRMWARE_DIR, it should point to /lib/firmware if you've
emerged radeon-ucode.



Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-09 Thread Claudio Roberto França Pereira
Wait a minute, an actual doctor installed and maintain Gentoo boxes?



Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-09 Thread Claudio Roberto França Pereira
By Lorenzo Badieri:
[...] My high school was centered around
humanities/classical studies: ancient greek, latin, philosophy; after
high school, I managed to get into MED SCHOOL. So, no computer
science/informatics at all. However, I was really curios about
computers, and I messed up my family's desktop pc a couple of times :) [...]



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-07 Thread Claudio Roberto França Pereira
Yeah, I agree.

Going back to Ubuntu bashing, I think that the multiple versions,
multiple repositories, multiple software choices (gnome 2, then unity,
for example, hal then no hal) get in the way of the newbie user.
Gentoo solves that by making the user understand what he's doing, how
he's system works.



Re: [gentoo-user] Re: --jobs

2011-12-07 Thread Claudio Roberto França Pereira
-v has nothing to do with quiet-build. You want to use --quiet-build=N.
Also, emerge parallelization depends on the -j (--jobs) option, you
should use emerge --jobs N other_options atoms.
In your case, a -j7 should do the trick.



Re: [gentoo-user] Configure xorg Failed

2011-12-06 Thread Claudio Roberto França Pereira
Xorg is complaining that it couldn't open IPv6 sockets. Xorg uses
sockets to handle the clients, that's what makes it work with remote
clients. I'd guess that you tried to built a no-network box, but Xorg
need sockets. It doesn't make much sense in a Gentoo world, but it was
worth trying.

Another possibility is that you built your kernel without IPv6
support, but forgot to disable the ipv6 USE flag.


$ emerge -pv xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] x11-base/xorg-server-1.11.2-r2  USE=ipv6 nptl udev
xorg xvfb -dmx -doc -kdrive -minimal -static-libs -tslib -xnest 4,831
kB

Total: 1 package (1 reinstall), Size of downloads: 4,831 kB

$ gunzip -c /proc/config.gz | grep -i ipv6
CONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set



Re: [gentoo-user] Re: no sound on upgraded Firefox from 7 to 8 - using pulse audio

2011-12-06 Thread Claudio Roberto França Pereira
The idea behind pulseaudio is live switching of streams. ALSA is great
if you have only one audio card, but as soon as you introduce a
bluetooth headset, a headphone, a HDMI display with sound output, ALSA
can't handle real time stream redirection. Sure, you can use scripts
to toggle .asoundrc profiles, but even then you'll need to restart the
softwares that produce audio.
Here I have a HDMI display (an hdtv) and a headphone. I mostly send my
audio to my tv, but if I'm using the computer late at night, or if I'm
to listen to high volume music, I'd switch the affecting streams to my
headphone, without the need to mess with sound configuration files and
to restart my sound engine.

PulseAudio is to audio what X.org is to video: stream mixing software.



Re: [gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio

2011-12-05 Thread Claudio Roberto França Pereira
$ cat /etc/asound.conf
pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

Do you have this?



Re: Re: [gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio

2011-12-05 Thread Claudio Roberto França Pereira
 Yes, and also /etc/firefox/firefoxrc containing FIREFOX_DSP=padsp

 Thanks
 Francisco

I can't reproduce this. I'm using ~amd64, firefox 8, pulseaudio 1.1.
Do you have multiple sound cards or sound output devices? Maybe the
sound is going to another sink that the one you expected? I'm under
KDE, and KMix have a cool extension by PA that let me direct streams
online to the sink I wish.



Re: [gentoo-user] Re: vbox vm no boot

2011-12-05 Thread Claudio Roberto França Pereira
From the first post, you've ran, under grub, setup (hd0,0). This
installs grub on the first partition boot loader, you want to install
it on the DISK boot loader, on the MBR. Maybe gparted fixed that for
you. The correct way would be to run:
root (hd0,0) //indicate where grub stage 1.5 and 2 are.
setup (hd0) //install grub's stage 1 on the MBR.

About the second error, the kernel is definitely detecting your sata
controller, the partitions are all there. It seems that you missed to
append the root=/dev/sda3 to the kernel parameters, under grub.conf.

In the end, I'd recommend disabling ext2 fs support in the kernel too,
and use ext4 to mount ext2 and ext3 file systems.



[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] «-»: [gentoo-user] Gnupg 2 and BZIP2 preference

2011-12-05 Thread Claudio Roberto França Pereira
Are you sure you've re-emerged the package after adding the bzip2 use
flag? Run eix app-crypt/gnupg to confirm.



Re: [gentoo-user] Re: vbox vm no boot

2011-12-05 Thread Claudio Roberto França Pereira
Yeah, just for simplicity. This way you just have one extended file
system driver that works for the second, third and forth version of
the file system.



Re: [gentoo-user] Configure xorg Failed

2011-12-05 Thread Claudio Roberto França Pereira
Did you try to build a kernel without network facilities?



Re: [gentoo-user] Listing applications with eix...

2011-12-03 Thread Claudio Roberto França Pereira
I'd first do a ls /usr/portage/ | grep sound\|audio to find out audio
categories within the portage tree.


[gentoo-user] Re: [gentoo-user] «-»: [gentoo-user] Gnupg 2 and BZIP2 preference

2011-12-03 Thread Claudio Roberto França Pereira
Try emerge -pv gnupg.
Maybe the devs had masked the bzip2 use flag for some reason.

Sorry, I'm not in Gentoo right now to assist you more.


Re: [gentoo-user] /usr/bin/[ and coreutils

2011-11-07 Thread Claudio Roberto França Pereira
What about [[? I've seen scripts using [[ instead of only one [. Whats the
point/difference?


Re: [gentoo-user] CONFIG_USB_SUSPEND, where ?

2011-11-07 Thread Claudio Roberto França Pereira
On Sat, Oct 15, 2011 at 09:18, Felix Kuperjans fe...@desaster-games.comwrote:

 Am 15.10.2011 13:57, schrieb Jonas de Buhr:
  Am Sat, 15 Oct 2011 00:54:48 -0700
  schrieb Canek Peláez Valdés can...@gmail.com:
 
  On Sat, Oct 15, 2011 at 12:49 AM, Alain Didierjean
  alain.didierj...@free.fr wrote:
  * Messages for package sys-fs/udisks-1.0.4-r1:
 
  *   CONFIG_USB_SUSPEND: is not set when it should be.
 
  As the message above from emerge says, no way to update
  sys-fs/udisks as CONFIG_USB_SUSPEND is not set. The problem is
  where to find that option. Not in linux/.config, so where ?
  i think it only shows up there if it is already set. AFAIK the
  kernel options are defined in the various Kconfig files spread
  throughout the source tree. in this case
 
  drivers/usb/core/Kconfig
 
  when searching for an option you can do
 
  find /usr/src/linux/ -name Kconfig \
  -exec grep USB_SUSPEND {} /dev/null \;
 
  which gives you two hits:
 
  /usr/src/linux/drivers/usb/core/Kconfig:config USB_SUSPEND
  /usr/src/linux/drivers/usb/core/Kconfig:  depends on USB_SUSPEND
 
  and
 
  grep -A 20 'config USB_SUSPEND' /usr/src/linux/drivers/usb/core/Kconfig
 
  giving you description and help:
 
  config USB_SUSPEND
bool USB runtime power management (autosuspend) and wakeup
depends on USB  PM_RUNTIME
help
  If you say Y here, you can use driver calls or the sysfs
  power/control file to enable or disable autosuspend for
  individual USB peripherals (see
  Documentation/usb/power-management.txt for more details).
 
  Also, USB remote wakeup signaling is supported, whereby some
  USB devices (like keyboards and network adapters) can wake up
  their parent hub.  That wakeup cascades up the USB tree, and
  could wake the system from states like suspend-to-RAM.
 
  If you are unsure about this, say N here.
 
 
  Cool tip for the future: Go to /usr/src/linux, type make menuconfig.
  Then type / (slash). Then type SUSPEND and ENTER. It will show you
  all the kernel options with SUSPEND on them.
  or this, of course ;)
 This is my preferred way of searching the config. Note that you can't
 select USB runtime and power management (autosuspend) and wakeup, if
 Power management and ACPI options - Run-time PM core functionality is
 not set.

 I forgot that some time ago, leading to some errors while unmounting USB
 sticks with udisks (although most of udisks works without this option
 set, it just can't power down USB devices after they are unmounted).
  In particular, for USB_SUSPEND it says:
 
  Symbol: USB_SUSPEND [=y]
  Type  : boolean
  Prompt: USB runtime power management (autosuspend) and wakeup
 Defined at drivers/usb/core/Kconfig:93
 Depends on: USB_SUPPORT [=y]  USB [=y]  PM_RUNTIME [=y]
 Location:
- Device Drivers
   - USB support (USB_SUPPORT [=y])
  - Support for Host-side USB (USB [=y])
 
  So there, is in Device Drivers - USB support - Support for
  Host-side USB.
 
  Regards.


That's extremely hardcore. Using / in menuconfig will not only give you the
menu where the option resides, but also state it's status (checked,
unchecked or module), it's dependencies and short description.


Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-15 Thread Claudio Roberto França Pereira
Wow. Just wow.

GREAT way to confuse and welcome the poor-English Chinese guy.

Welcome Lavender. You are now officially recognized as a human being, not a
bot.
We'll be glad to help you with Gentoo.

Please ignore all the FUD and discussion about /var needing (or not) to be
in the root partition, and the need for an initramfs. It's just bullshit for
us end users currently.