Re: [gentoo-user] [OT] Where is this IP/site ?

2011-08-15 Thread Ralph Slooten
On Wed, Aug 10, 2011 at 6:15 AM, meino.cra...@gmx.de wrote:

 Hi all,

 thanks for all the input ! :)

 In the meantime I found this:

 http://www.ip-adress.com/ip_lokalisieren/ip-address

 where ip-aaddress is for example 192.168.192.168. ;)

 Further links on that page leads to a satelite-map marked
 with the location of the IP...plus a unknown offset of some
 meters/miles...

 Best regards,
 mcc


For what it's worth, I wrote one too a few years back on
http://www.axllent.org/projects/webtrace - Probably not as accurate as the
one you posted as it uses the free version of the Geolite City database, but
maybe worth a look ;)

Kind regards,
Ralph


Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Alan McKinnon
On Sun 14 August 2011 19:55:28 Allan Gottlieb did opine thusly:
 On Sun, Aug 14 2011, Alan McKinnon wrote:
  It's installing Gnome 3 stuff.
  
  Is that what you want?
 
 Yes.  That is why I am using the gnome overlay
 
  Look at your unmasking rules.
 
 They were supposed to be the ones that came with the instructions
 for moving to gnome 3.  But I didn't realize that eix-update
 doesn't update layman and I need layman -S.  It is still not
 working but I will study the new blockages arising after layman -S.

That caught me out a few times too. I put these commands into a bash 
alias:

emerge --sync
layman -S
eix-update

and use that to sync portage. That way I don't leave steps out.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Firmware exists but fails to load

2011-08-15 Thread Adam Carter
# dmesg | grep firm
[   70.453673] r8169 :02:00.0: eth0: unable to load firmware patch
rtl_nic/rtl8168d-2.fw (-2)
# ls -l /lib/firmware/rtl_nic/rtl8168d-2.fw
-rw-r--r-- 1 root root 1324 Aug 12 13:09 /lib/firmware/rtl_nic/rtl8168d-2.fw

Any ideas why this fails? Filesystem is mounted, file is readable...



Re: [gentoo-user] Firmware exists but fails to load

2011-08-15 Thread J. Roeleveld
On Mon, August 15, 2011 11:13 am, Adam Carter wrote:
 # dmesg | grep firm
 [   70.453673] r8169 :02:00.0: eth0: unable to load firmware patch
 rtl_nic/rtl8168d-2.fw (-2)
 # ls -l /lib/firmware/rtl_nic/rtl8168d-2.fw
 -rw-r--r-- 1 root root 1324 Aug 12 13:09
 /lib/firmware/rtl_nic/rtl8168d-2.fw

 Any ideas why this fails? Filesystem is mounted, file is readable...

Is the filesystem mounted when it tries to find the firmware?
In other words, are you perhaps using a ramdisk?

If you have this drives as a module, can you try removing it (rmmod
driver and then reloading it (modprobe driver)?

If it isn't a module, can you rebuild your kernel to have the relevant
driver as a module?

--
Joost




Re: [gentoo-user] Firmware exists but fails to load

2011-08-15 Thread Adam Carter
 Is the filesystem mounted when it tries to find the firmware?

I thought it was, but having another look at dmesg, it looks like
that's not the case.

proxy linux # dmesg | grep eth0
[0.897559] r8169 :02:00.0: eth0: RTL8168d/8111d at
0xc936, 1c:6f:65:20:3f:c6, XID 083000c0 IRQ 41
[   70.453673] r8169 :02:00.0: eth0: unable to load firmware patch
rtl_nic/rtl8168d-2.fw (-2)
[   70.461027] r8169 :02:00.0: eth0: link down
[   70.461050] r8169 :02:00.0: eth0: link down
[   70.461444] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   72.851287] r8169 :02:00.0: eth0: link up
[   72.851846] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

proxy linux # dmesg | grep btrfs
[1.647953] btrfs: use lzo compression
[2.129807] VFS: Mounted root (btrfs filesystem) on device 0:13.

 In other words, are you perhaps using a ramdisk?

 If you have this drives as a module, can you try removing it (rmmod
 driver and then reloading it (modprobe driver)?

 If it isn't a module, can you rebuild your kernel to have the relevant
 driver as a module?

Its not a module - i'll make it one and see how that goes.



[gentoo-user] GRUB v2

2011-08-15 Thread Peter Humphrey
Hello List,

I'm sure I saw a thread recently describing progress in understanding and 
using grub-2, but now I can't find it. I have six months of articles here 
too, and I've searched gmane and the gentoo archive. Perhaps I'm being 
dense, or maybe it was on another list.

I want to try another distro on an oldish box, but its gentoo grub can't 
chain to the grub-2 on another boot partition - it reports an invalid 
executable format, or something like that.

Looks like time to bone up on grub-2 as it's the Coming Thing.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23



Re: [gentoo-user] USE-flags and CFLAGS of stage3?

2011-08-15 Thread Michael Hampicke

 Does anyone know what are the USE-flags and CFLAGS used for the current 
 stage3?
 
Unpack your stage3 and then

cat /var/db/pkg/sys-devel/gcc-4.4.5/{USE,CFLAGS}

amd64 elibc_glibc kernel_linux mudflap nls nptl openmp userland_GNU
-mtune=i686 -O2 -pipe

Regards



Re: [gentoo-user] USE-flags and CFLAGS of stage3?

2011-08-15 Thread Pandu Poluan
On Mon, Aug 15, 2011 at 16:53, Michael Hampicke gentoo-u...@hadt.biz wrote:

 Does anyone know what are the USE-flags and CFLAGS used for the current 
 stage3?

 Unpack your stage3 and then

 cat /var/db/pkg/sys-devel/gcc-4.4.5/{USE,CFLAGS}

 amd64 elibc_glibc kernel_linux mudflap nls nptl openmp userland_GNU
 -mtune=i686 -O2 -pipe


Thanks!

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] GRUB v2

2011-08-15 Thread J. Roeleveld
On Mon, August 15, 2011 11:52 am, Peter Humphrey wrote:
 Hello List,

 I'm sure I saw a thread recently describing progress in understanding and
 using grub-2, but now I can't find it. I have six months of articles here
 too, and I've searched gmane and the gentoo archive. Perhaps I'm being
 dense, or maybe it was on another list.

 I want to try another distro on an oldish box, but its gentoo grub can't
 chain to the grub-2 on another boot partition - it reports an invalid
 executable format, or something like that.

 Looks like time to bone up on grub-2 as it's the Coming Thing.

6 months might not be enough, there was a thread called [gentoo-user] A
tiny titillating taste of grub2 and dates back to 9 January 2011.

There also was a thread called [gentoo-user] [cookbook] grub2 for idiots
like me by walt (24 January 2011) which is, I believe, what you're
looking for.

--
Joost




[gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread Nikos Chantziaras

On 08/15/2011 12:13 PM, Adam Carter wrote:

# dmesg | grep firm
[   70.453673] r8169 :02:00.0: eth0: unable to load firmware patch
rtl_nic/rtl8168d-2.fw (-2)
# ls -l /lib/firmware/rtl_nic/rtl8168d-2.fw
-rw-r--r-- 1 root root 1324 Aug 12 13:09 /lib/firmware/rtl_nic/rtl8168d-2.fw

Any ideas why this fails? Filesystem is mounted, file is readable...


Is the firmware path set correctly in the kernel config?  In Device 
Drivers-Generic Driver Options, set Firmware blobs root directory to 
/lib/firmware and build a new kernel.


If that was already set, try to include the firmware in the kernel by 
setting External firmware blobs to build into the kernel binary to 
rtl_nic/rtl8168d-2.fw (the firmware root directory above still needs 
to be /lib/firmware).





Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread James Broadhead
On 15 August 2011 09:27, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Sun 14 August 2011 19:55:28 Allan Gottlieb did opine thusly:
 On Sun, Aug 14 2011, Alan McKinnon wrote:
 emerge --sync
 layman -S
 eix-update

$ man eix
(...)
/etc/eix-sync.conf
   This  file  stores  commands and configurations to apply with eix-sync.
(...)
   *  Call layman -S (i.e. overlays are synced with layman).

Hope that helps.



[gentoo-user] who needs Java ?

2011-08-15 Thread Philip Webb
I looked at updating to the latest Libreoffice 3.4.2.3
 found it wants to install a long list of deps,
many of which seem to be caused by my 'java' USE flag.
As a result, I checked my home-made list of installed pkgs
to see which were part of Java  why they seemed to be needed.
Not a few proved to be unnecessary today,
but the rest depend on  4  underlying pkgs,
ie Libreoffice Cups Libidn (for KDE 3 , which I want) Db (for Libreoffice).

If I remove 'java' from  make.conf ,
which features will I lose in LO Cups KDE3 ?
Is there anything else I've overlooked ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Nilesh Govindarajan
On 08/15/2011 04:47 PM, Philip Webb wrote:
 I looked at updating to the latest Libreoffice 3.4.2.3
  found it wants to install a long list of deps,
 many of which seem to be caused by my 'java' USE flag.
 As a result, I checked my home-made list of installed pkgs
 to see which were part of Java  why they seemed to be needed.
 Not a few proved to be unnecessary today,
 but the rest depend on  4  underlying pkgs,
 ie Libreoffice Cups Libidn (for KDE 3 , which I want) Db (for Libreoffice).
 
 If I remove 'java' from  make.conf ,
 which features will I lose in LO Cups KDE3 ?
 Is there anything else I've overlooked ?
 

You'll lose the ability to run java applets, commonly found on the web
for many critical things.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread Adam Carter
 Is the firmware path set correctly in the kernel config?  In Device
 Drivers-Generic Driver Options, set Firmware blobs root directory to
 /lib/firmware and build a new kernel.

I have the same kernel config as my laptop which loads intel wifi
firmware from /llib/firmware ok;

# zgrep -i firmware /proc/config.gz
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=
# CONFIG_FIRMWARE_EDID is not set
# Firmware Drivers
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set

Firmware blobs root directory is EXTRA_FIRMWARE_DIR which is only
available once i enable EXTRA_FIRMWARE, but the help for that says;
This option allows firmware to be built into the kernel, for the

 │
  │ cases where the user either cannot or doesn't want to provide it
from
  │
  │ userspace at runtime

So that's a workaround, not a fix, but it works so it'll do. Thanks.



Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 07:17:55 Philip Webb did opine thusly:
 I looked at updating to the latest Libreoffice 3.4.2.3
  found it wants to install a long list of deps,
 many of which seem to be caused by my 'java' USE flag.
 As a result, I checked my home-made list of installed pkgs
 to see which were part of Java  why they seemed to be needed.
 Not a few proved to be unnecessary today,
 but the rest depend on  4  underlying pkgs,
 ie Libreoffice Cups Libidn (for KDE 3 , which I want) Db (for
 Libreoffice).
 
 If I remove 'java' from  make.conf ,
 which features will I lose in LO Cups KDE3 ?
 Is there anything else I've overlooked ?

I removed java from my USE for LO (plus gnome and gtktoo) and have not 
yet seen any ill-effects.

The last time I read a definitive statement on Java for OOo was early 
in the 2.0 series, then it mentioned database connectivity as the 
prime thing that used it. That's connectivity as in Base, the Access-
like db front-end thingy


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Philip Webb
110815 Nilesh Govindarajan wrote:
 On 08/15/2011 04:47 PM, Philip Webb wrote:
 I looked at updating to the latest Libreoffice 3.4.2.3
  found it wants to install a long list of deps,
 many of which seem to be caused by my 'java' USE flag.
 As a result, I checked my home-made list of installed pkgs
 to see which were part of Java  why they seemed to be needed.
 Not a few proved to be unnecessary today,
 but the rest depend on  4  underlying pkgs,
 ie Libreoffice Cups Libidn (for KDE 3 , which I want) Db (for Libreoffice).
 If I remove 'java' from  make.conf ,
 which features will I lose in LO Cups KDE3 ?
 Is there anything else I've overlooked ?
 You'll lose the ability to run java applets,
 commonly found on the web for many critical things.

Well, I don't use Libreoffice or Cups to access the WWW
nor do I use KDE3 for more than a couple of games:
I manage my desktop with Fluxbox  have some KDE4 apps installed.

What am I going to need Java applets for ?

Any other comments ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Mick
On Monday 15 Aug 2011 12:21:13 Nilesh Govindarajan wrote:
 On 08/15/2011 04:47 PM, Philip Webb wrote:
  I looked at updating to the latest Libreoffice 3.4.2.3
   found it wants to install a long list of deps,
  many of which seem to be caused by my 'java' USE flag.
  As a result, I checked my home-made list of installed pkgs
  to see which were part of Java  why they seemed to be needed.
  Not a few proved to be unnecessary today,
  but the rest depend on  4  underlying pkgs,
  ie Libreoffice Cups Libidn (for KDE 3 , which I want) Db (for
  Libreoffice).
  
  If I remove 'java' from  make.conf ,
  which features will I lose in LO Cups KDE3 ?
  Is there anything else I've overlooked ?
 
 You'll lose the ability to run java applets, commonly found on the web
 for many critical things.

Unless you care to explain what you define as a web critical thing, I will 
continue to run my boxen without Java - just as I have been doing for at least 
8 years so far ...  ;-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread Nikos Chantziaras

On 08/15/2011 02:59 PM, Adam Carter wrote:

Is the firmware path set correctly in the kernel config?  In Device
Drivers-Generic Driver Options, set Firmware blobs root directory to
/lib/firmware and build a new kernel.


[...]

Firmware blobs root directory is EXTRA_FIRMWARE_DIR which is only
available once i enable EXTRA_FIRMWARE, but the help for that says;
This option allows firmware to be built into the kernel, for the

  │
   │ cases where the user either cannot or doesn't want to provide it
from
   │
   │ userspace at runtime

So that's a workaround, not a fix, but it works so it'll do. Thanks.


It's not a workaround, but how it's supposed to work.  Loading from 
userspace means using a user-space program to load the firmware.  This 
is not what you're trying to do, since you don't have such a program. 
You're trying to have the kernel itself load the firmware, and the 
EXTRA_FIRMWARE mechanism is how this is done.


Your other option is writing a userspace program that reads the firmware 
after the kernel has booted and patches it into the hardware.  But why 
would you want to do something like that anyway?





Re: [gentoo-user] GRUB v2

2011-08-15 Thread Peter Humphrey
On Monday 15 August 2011 11:07:31 J. Roeleveld wrote:

 There also was a thread called [gentoo-user] [cookbook] grub2 for idiots
 like me by walt (24 January 2011) which is, I believe, what you're
 looking for.

That looks like the one. Thanks Joost.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23



Re: [gentoo-user] GRUB v2

2011-08-15 Thread J. Roeleveld
On Mon, August 15, 2011 3:06 pm, Peter Humphrey wrote:
 On Monday 15 August 2011 11:07:31 J. Roeleveld wrote:

 There also was a thread called [gentoo-user] [cookbook] grub2 for
 idiots
 like me by walt (24 January 2011) which is, I believe, what you're
 looking for.

 That looks like the one. Thanks Joost.

You're welcome, my Gentoo-user archive goes back to 2004 :)





Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Philip Webb
110815 Alan McKinnon wrote:
 I removed Java from my USE for LO + gnome and gtk too
 and have not yet seen any ill-effects.
 The last time I read a definitive statement on Java for OOo
 was early in the 2.0 series,
 when it mentioned database connectivity as the prime thing that used it,
 as in Base, the Access-like db front-end thingy

yes, i recall reading that Java was necessary to use OO's database.
however, i have no use for that in the foreseeable future.

does anyone else know whether Java is needed for LO's database stuff ?

so far, it looks as if i shd remove the USE flag,
recompile the relevant pkgs  see what happens when i try using them.

further comments still very welcome  thanks for those so far.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread Andrea Conti
 It's not a workaround, but how it's supposed to work.  Loading from
 userspace means using a user-space program to load the firmware.  This
 is not what you're trying to do, since you don't have such a program.

? Udev has been the standard way to service kernel firmware requests for
quite some time. The relevant bit is in
/lib/udev/rules.d/50-firmware.rules .

However, udevd is only started after the kernel is loaded, and therefore
will only load firmware for drivers which are built as modules.

Firmware for built-in drivers must either be compiled into the kernel or
be provided in an initrd along with a suitable helper.

Is there a specific reason why the r8169 driver cannot be loaded as a
module? AFAIK the only case in which you *need* a built-in net driver is
if you're doing root over NFS.

 Your other option is writing a userspace program that reads the firmware
 after the kernel has booted and patches it into the hardware.

Patching is always done by the kernel driver. The userspace helper only
has to answer kernel requests for a specific firmware by providing the
correct data.

 But why would you want to do something like that anyway?

Typical reasons are to keep the kernel image size down and to avoid
having to recompile the kernel whenever a new firmware version is
released. Though I'll admit that kernel releases tend to be more
frequent than new firmware versions :)

Just my .02€

andrea



Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Florian Philipp
Am 15.08.2011 16:05, schrieb Philip Webb:
 110815 Alan McKinnon wrote:
 I removed Java from my USE for LO + gnome and gtk too
 and have not yet seen any ill-effects.
 The last time I read a definitive statement on Java for OOo
 was early in the 2.0 series,
 when it mentioned database connectivity as the prime thing that used it,
 as in Base, the Access-like db front-end thingy
 
 yes, i recall reading that Java was necessary to use OO's database.
 however, i have no use for that in the foreseeable future.
 
 does anyone else know whether Java is needed for LO's database stuff ?
 
 so far, it looks as if i shd remove the USE flag,
 recompile the relevant pkgs  see what happens when i try using them.
 
 further comments still very welcome  thanks for those so far.
 

This should apply:
http://wiki.services.openoffice.org/w/index.php?title=Java_and_OpenOffice.orgoldid=15

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] [science overlay] librecad ebuild troubles?

2011-08-15 Thread Andy Wilkinson
I am trying to emerge librecad-1.0.0_rc1 from the science overlay;
however, it appears to be missing some crucial steps (silly things like
fetching the source and building the program).  The output from
emerge borders on trivial:

http://pastebin.com/1HN9x299

Since that doesn't look very helpful, I also tried emerging with --debug.

http://pastebin.com/ZcGnxhyc

Unfortunately, I'm not practiced enough at reading this (nor educated
enough in how ebuilds work internally) to really read through that.

Any ideas why this ebuild is essentially doing nothing?

Thanks,

-Andy


Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Paul Hartman
On Mon, Aug 15, 2011 at 6:17 AM, Philip Webb purs...@ca.inter.net wrote:
 If I remove 'java' from  make.conf ,
 which features will I lose in LO Cups KDE3 ?
 Is there anything else I've overlooked ?

wizards/templates in LO, and some export filters in LO use java.



Re: [gentoo-user] [science overlay] librecad ebuild troubles?

2011-08-15 Thread justin
On 15/08/11 16:43, Andy Wilkinson wrote:
 I am trying to emerge librecad-1.0.0_rc1 from the science overlay;
 however, it appears to be missing some crucial steps (silly things like
 fetching the source and building the program).  The output from
 emerge borders on trivial:
 
 http://pastebin.com/1HN9x299
 
 Since that doesn't look very helpful, I also tried emerging with --debug.
 
 http://pastebin.com/ZcGnxhyc
 
 Unfortunately, I'm not practiced enough at reading this (nor educated
 enough in how ebuilds work internally) to really read through that.
 
 Any ideas why this ebuild is essentially doing nothing?
 
 Thanks,
 
 -Andy

Please sync the overlay. I fixed everything in version _rc2. If it
doesn't work, please report again.

justin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Firmware exists but fails to load

2011-08-15 Thread Paul Hartman
On Mon, Aug 15, 2011 at 4:13 AM, Adam Carter adamcart...@gmail.com wrote:
 # dmesg | grep firm
 [   70.453673] r8169 :02:00.0: eth0: unable to load firmware patch
 rtl_nic/rtl8168d-2.fw (-2)
 # ls -l /lib/firmware/rtl_nic/rtl8168d-2.fw
 -rw-r--r-- 1 root root 1324 Aug 12 13:09 /lib/firmware/rtl_nic/rtl8168d-2.fw

 Any ideas why this fails? Filesystem is mounted, file is readable...

1) build the driver as a module (firmware loading from disk does not
work otherwise)
2) emerge linux-firmware, if you haven't already.
3) reboot and good luck :)



Re: [gentoo-user] Torrent with dynamics throttles

2011-08-15 Thread Paul Hartman
On Sat, Aug 13, 2011 at 5:18 PM, Andrea Conti a...@alyf.net wrote:
 All the other considerations apply, especially the one about capping the
 total outgoing bandwidth to something less than the actual available
 bandwidth so that the modem's tx queue stays empty.

In my (limited) experience, even if this is the only thing you do, it
has a noticeable impact on responsiveness of a busy connection.



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Allan Gottlieb
On Mon, Aug 15 2011, Alan McKinnon wrote:

 On Sun 14 August 2011 19:55:28 Allan Gottlieb did opine thusly:
 On Sun, Aug 14 2011, Alan McKinnon wrote:
  It's installing Gnome 3 stuff.
  
  Is that what you want?
 
 Yes.  That is why I am using the gnome overlay
 
  Look at your unmasking rules.
 
 They were supposed to be the ones that came with the instructions
 for moving to gnome 3.  But I didn't realize that eix-update
 doesn't update layman and I need layman -S.  It is still not
 working but I will study the new blockages arising after layman -S.

 That caught me out a few times too. I put these commands into a bash 
 alias:

 emerge --sync
 layman -S
 eix-update

 and use that to sync portage. That way I don't leave steps out.

Right!

allan

PS After todays portage sync, there are no blocks.



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Paul Hartman
On Mon, Aug 15, 2011 at 3:27 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 That caught me out a few times too. I put these commands into a bash
 alias:

 emerge --sync
 layman -S
 eix-update

 and use that to sync portage. That way I don't leave steps out.

Congratulations, you reinvented the eix-sync command. :)

You can put a list of layman overlays to be synced in
/etc/eix-sync.conf or a line simply containing an asterisk (*) to sync
'em all.

You can also put arbitrary post-sync commands in there, like if you
have an overlay that needs an egencache update or if you have some
local patches that you always apply to an ebuild from an overlay. (I
think most of that sort of thing is not necessary anymore because of
other, better ways of handling that.)



[gentoo-user] set both an ipv4 and ipv6 default gateway

2011-08-15 Thread Jorge Polinotto
Hi all,

I'm trying to find out the way to set both IPv4 and IPv6 default gateway in
the /etc/conf.d/net file.

I've seen this way [1], adding iproute2 module, but when I execute:

# insmod iproute2
insmod: can't read 'iproute2': No such file or directory

so I guess it's not in my kernel and I don't know where to add it.

[1] http://forums.gentoo.org/viewtopic-t-881529-start-0.html

Any help would be appreciated. Thanks in advance.

Jorge.-




[gentoo-user] Re: Torrent with dynamics throttles

2011-08-15 Thread Holger Hoffstaette
On Mon, 15 Aug 2011 11:02:01 -0500, Paul Hartman wrote:

 On Sat, Aug 13, 2011 at 5:18 PM, Andrea Conti a...@alyf.net wrote:
 All the other considerations apply, especially the one about capping the
 total outgoing bandwidth to something less than the actual available
 bandwidth so that the modem's tx queue stays empty.
 
 In my (limited) experience, even if this is the only thing you do, it has
 a noticeable impact on responsiveness of a busy connection.

Which is why it is much more important to use a client that uses the µTP
protocol, which prevents TCP starvation (aka buffer bloat):
http://en.wikipedia.org/wiki/Micro_Transport_Protocol

cheers :)
-h





Re: [gentoo-user] who needs Java ?

2011-08-15 Thread Volker Armin Hemmann
Am Montag 15 August 2011, 13:51:42 schrieb Mick:
 On Monday 15 Aug 2011 12:21:13 Nilesh Govindarajan wrote:
  On 08/15/2011 04:47 PM, Philip Webb wrote:
   I looked at updating to the latest Libreoffice 3.4.2.3
found it wants to install a long list of deps,
   many of which seem to be caused by my 'java' USE flag.
   As a result, I checked my home-made list of installed pkgs
   to see which were part of Java  why they seemed to be needed.
   Not a few proved to be unnecessary today,
   but the rest depend on  4  underlying pkgs,
   ie Libreoffice Cups Libidn (for KDE 3 , which I want) Db (for
   Libreoffice).
   
   If I remove 'java' from  make.conf ,
   which features will I lose in LO Cups KDE3 ?
   Is there anything else I've overlooked ?
  
  You'll lose the ability to run java applets, commonly found on the web
  for many critical things.
 
 Unless you care to explain what you define as a web critical thing, I will
 continue to run my boxen without Java - just as I have been doing for at
 least 8 years so far ...  ;-)

some people use lynx or w3m on a virtual terminal and are happy. That does not 
make them a good example of usual user behaviour.

-- 
#163933



Re: [gentoo-user] set both an ipv4 and ipv6 default gateway

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 13:34:06 Jorge Polinotto did opine thusly:
 Hi all,
 
 I'm trying to find out the way to set both IPv4 and IPv6 default
 gateway in the /etc/conf.d/net file.
 
 I've seen this way [1], adding iproute2 module, but when I
 execute:
 
 # insmod iproute2
 insmod: can't read 'iproute2': No such file or directory

iproute2 is not a kernel modules. It's a userspace app that openrc 
calls a module (ifconfig is an alternaive module for example).

Don't insmod it. Just use the net service as normal



 
 so I guess it's not in my kernel and I don't know where to add it.
 
 [1] http://forums.gentoo.org/viewtopic-t-881529-start-0.html
 
 Any help would be appreciated. Thanks in advance.
 
 Jorge.-
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 11:33:02 Paul Hartman did opine thusly:
 On Mon, Aug 15, 2011 at 3:27 AM, Alan McKinnon 
alan.mckin...@gmail.com wrote:
  That caught me out a few times too. I put these commands into a
  bash alias:
  
  emerge --sync
  layman -S
  eix-update
  
  and use that to sync portage. That way I don't leave steps out.
 
 Congratulations, you reinvented the eix-sync command. :)

You caught me out :-)

There was a reason (a good one) why I did that several years ago, but 
for the life of me I can't think what it was.

several years ago should be my clue to assume the reason is no 
longer valid 



 
 You can put a list of layman overlays to be synced in
 /etc/eix-sync.conf or a line simply containing an asterisk (*) to
 sync 'em all.
 
 You can also put arbitrary post-sync commands in there, like if you
 have an overlay that needs an egencache update or if you have some
 local patches that you always apply to an ebuild from an overlay. (I
 think most of that sort of thing is not necessary anymore because
 of other, better ways of handling that.)
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Volker Armin Hemmann
Am Montag 15 August 2011, 19:25:12 schrieb Alan McKinnon:
 On Mon 15 August 2011 11:33:02 Paul Hartman did opine thusly:
  On Mon, Aug 15, 2011 at 3:27 AM, Alan McKinnon
 
 alan.mckin...@gmail.com wrote:
   That caught me out a few times too. I put these commands into a
   bash alias:
   
   emerge --sync
   layman -S
   eix-update
   
   and use that to sync portage. That way I don't leave steps out.
  
  Congratulations, you reinvented the eix-sync command. :)
 
 You caught me out :-)
 
 There was a reason (a good one) why I did that several years ago, but
 for the life of me I can't think what it was.

if eix-sync fails with one of the overlays, all fails.
if one overlay fails doing it step by step you can do all the other stuff 
without worrying about it.


-- 
#163933



[gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Sebastian Beßler
I just tried

emerge -DuN @world @system -va

and got:

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

Calculating dependencies ... done!
[ebuild U  ] perl-core/ExtUtils-ParseXS-3.20.0 [2.22.06] 0 kB
[ebuild U  ] www-client/firefox-bin-5.0 [3.6.19]
USE=startup-notification
[ebuild  N ] x11-themes/tango-icon-theme-0.8.90  USE=png 0 kB
[ebuild  N ] media-plugins/kipi-plugins-2.0.0  USE=cdr crypt
imagemagick mediawiki opengl (-aqua) -calendar -debug -expoblending
-gpssync -handbook -ipod (-kdeenablefinal) -mjpeg -redeyes -scanner

[ebuild  N ] media-gfx/digikam-2.0.0  USE=gphoto2 handbook
thumbnails -addressbook (-aqua) -debug -doc (-kdeenablefinal) -mysql
-semantic-desktop -themedesigner -video

[ebuild  N ] xfce-base/xfce4-meta-4.8  USE=session svg -minimal 0 kB

Total: 6 packages (2 upgrades, 4 new), Size of downloads: 15,432 kB

The following keyword changes are necessary to proceed:
#required by @selected, required by @world (argument)
=perl-core/ExtUtils-ParseXS-3.20.0 ~amd64

NOTE: This --autounmask behavior can be disabled by setting
  EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf

But if I run:

EMERGE_DEFAULT_OPTS=--autounmask=n emerge -DuN @world @system -va

I get:

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

Calculating dependencies   ... done!
[ebuild U  ] www-client/firefox-bin-5.0 [3.6.19]
USE=startup-notification
[ebuild  N ] x11-themes/tango-icon-theme-0.8.90  USE=png 0 kB
[ebuild  N ] media-plugins/kipi-plugins-2.0.0  USE=cdr crypt
imagemagick mediawiki opengl (-aqua) -calendar -debug -expoblending
-gpssync -handbook -ipod (-kdeenablefinal) -mjpeg -redeyes -scanner

[ebuild  N ] media-gfx/digikam-2.0.0  USE=gphoto2 handbook
thumbnails -addressbook (-aqua) -debug -doc (-kdeenablefinal) -mysql
-semantic-desktop -themedesigner -video

[ebuild  N ] xfce-base/xfce4-meta-4.8  USE=session svg -minimal 0 kB

Total: 5 packages (1 upgrade, 4 new), Size of downloads: 15,432 kB

Would you like to merge these packages? [Yes/No]

[LINGUAS was stripped by me to remove unneded clutter from this post]

I run ~amd64 but have =perl-core/ExtUtils-ParseXS-3.20.0 -~amd64 because
of a bug with imagemagick [#378383].

Why is autounmask trying to unmask ExtUtils-ParseXS if it's not needed?
Should I report this as a bug?

Greetings

Sebastian Beßler



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] set both an ipv4 and ipv6 default gateway

2011-08-15 Thread Pandu Poluan
emerge -av iproute2

Then in /etc/conf.d/net make sure that the routes_eth0 setting has 2
(*two*) lines like the forum thread you posted, first line is the IPv4
route and second line th IPv6 route.

Rgds


On 2011-08-15, Jorge Polinotto jo...@ccc.uba.ar wrote:
 Hi all,

 I'm trying to find out the way to set both IPv4 and IPv6 default gateway in
 the /etc/conf.d/net file.

 I've seen this way [1], adding iproute2 module, but when I execute:

 # insmod iproute2
 insmod: can't read 'iproute2': No such file or directory

 so I guess it's not in my kernel and I don't know where to add it.

 [1] http://forums.gentoo.org/viewtopic-t-881529-start-0.html

 Any help would be appreciated. Thanks in advance.

 Jorge.-





-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 19:31:37 Sebastian Beßler did opine thusly:
 I just tried
 
 emerge -DuN @world @system -va
 
 and got:
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies ... done!
 [ebuild U  ] perl-core/ExtUtils-ParseXS-3.20.0 [2.22.06] 0 kB
 [ebuild U  ] www-client/firefox-bin-5.0 [3.6.19]
 USE=startup-notification
 [ebuild  N ] x11-themes/tango-icon-theme-0.8.90  USE=png 0 kB
 [ebuild  N ] media-plugins/kipi-plugins-2.0.0  USE=cdr crypt
 imagemagick mediawiki opengl (-aqua) -calendar -debug -expoblending
 -gpssync -handbook -ipod (-kdeenablefinal) -mjpeg -redeyes -scanner
 
 [ebuild  N ] media-gfx/digikam-2.0.0  USE=gphoto2 handbook
 thumbnails -addressbook (-aqua) -debug -doc (-kdeenablefinal) -mysql
 -semantic-desktop -themedesigner -video
 
 [ebuild  N ] xfce-base/xfce4-meta-4.8  USE=session svg
 -minimal 0 kB
 
 Total: 6 packages (2 upgrades, 4 new), Size of downloads: 15,432 kB
 
 The following keyword changes are necessary to proceed:
 #required by @selected, required by @world (argument)
 
 =perl-core/ExtUtils-ParseXS-3.20.0 ~amd64
 
 NOTE: This --autounmask behavior can be disabled by setting
   EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf
 
 But if I run:
 
 EMERGE_DEFAULT_OPTS=--autounmask=n emerge -DuN @world @system -va
 
 I get:
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies   ... done!
 [ebuild U  ] www-client/firefox-bin-5.0 [3.6.19]
 USE=startup-notification
 [ebuild  N ] x11-themes/tango-icon-theme-0.8.90  USE=png 0 kB
 [ebuild  N ] media-plugins/kipi-plugins-2.0.0  USE=cdr crypt
 imagemagick mediawiki opengl (-aqua) -calendar -debug -expoblending
 -gpssync -handbook -ipod (-kdeenablefinal) -mjpeg -redeyes -scanner
 
 [ebuild  N ] media-gfx/digikam-2.0.0  USE=gphoto2 handbook
 thumbnails -addressbook (-aqua) -debug -doc (-kdeenablefinal) -mysql
 -semantic-desktop -themedesigner -video
 
 [ebuild  N ] xfce-base/xfce4-meta-4.8  USE=session svg
 -minimal 0 kB
 
 Total: 5 packages (1 upgrade, 4 new), Size of downloads: 15,432 kB
 
 Would you like to merge these packages? [Yes/No]
 
 [LINGUAS was stripped by me to remove unneded clutter from this
 post]
 
 I run ~amd64 but have =perl-core/ExtUtils-ParseXS-3.20.0 -~amd64
 because of a bug with imagemagick [#378383].
 
 Why is autounmask trying to unmask ExtUtils-ParseXS if it's not
 needed? Should I report this as a bug?

It's not a bug, portage is doing what it should.

In the first case portage will try upgrade all packages to the latest 
version. It sees that you asked it to try autounmask stuff, so it 
wants to override your local mask for ExtUtils-ParseXS. 

In the second case you have told portage to upgrade system and world 
but to leave masking well enough alone. As your current installed 
version of ExtUtils-ParseXS satisfies all needs, it makes no effort to 
try and upgrade it.

The trick to working with autounmask is to realise that it is stupid 
software, it cannot possibly know what you want or intend. So it tries 
a blanket approach for the most part. If you have more complex masking 
than just stable/unstable statistically it will be wrong far more 
often than it is right.

It's possible to come up with an autounmask ignore file but that 
gets way too complex really quickly and easily turns into an 
unmaintainable mess. Devs are usually reluctant to go this route, as 
the mess just ends up in their inbox.




-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 19:31:50 Volker Armin Hemmann did opine thusly:
 Am Montag 15 August 2011, 19:25:12 schrieb Alan McKinnon:
  On Mon 15 August 2011 11:33:02 Paul Hartman did opine thusly:
   On Mon, Aug 15, 2011 at 3:27 AM, Alan McKinnon
  
  alan.mckin...@gmail.com wrote:
That caught me out a few times too. I put these commands
into a bash alias:

emerge --sync
layman -S
eix-update

and use that to sync portage. That way I don't leave
steps out.  
   Congratulations, you reinvented the eix-sync command. :)
  
  You caught me out :-)
  
  There was a reason (a good one) why I did that several years
  ago, but for the life of me I can't think what it was.
 
 if eix-sync fails with one of the overlays, all fails.
 if one overlay fails doing it step by step you can do all the other
 stuff without worrying about it.

Sounds familiar, odds are good that's what drove me to take the long 
road.

I take it eix-sync still has this same behaviour?
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] GRUB v2

2011-08-15 Thread Dale

J. Roeleveld wrote:

On Mon, August 15, 2011 3:06 pm, Peter Humphrey wrote:
   

On Monday 15 August 2011 11:07:31 J. Roeleveld wrote:

 

There also was a thread called [gentoo-user] [cookbook] grub2 for
idiots
like me by walt (24 January 2011) which is, I believe, what you're
looking for.
   

That looks like the one. Thanks Joost.
 

You're welcome, my Gentoo-user archive goes back to 2004 :)

   


Mine goes back a year.  Gentoo moves so fast, I figure a year should be 
more than plenty.  Maybe I need to rethink that a little.  I could be 
wrong.  :/


Dale

:-)  :-)



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Sebastian Beßler
Am 15.08.2011 20:02, schrieb Alan McKinnon:

 It's not a bug, portage is doing what it should.
 
 In the first case portage will try upgrade all packages to the latest 
 version. It sees that you asked it to try autounmask stuff, so it 
 wants to override your local mask for ExtUtils-ParseXS. 

I don't asked portage to autounmask anything, that is a feature of
portage-2.2 and should normaly only fire when there is a need to unmask
(or change USE or change keyword) anything to fullfill the needs of the
packages to be installed or updated.

Else it would tell anyone on stable who use portage-2.2 to change to
~unstable because there is newer stuff to install. I have a large amount
on packages that have newer versions that are masked and autounmask
doesn't ask me to install them only because they are newer.

 In the second case you have told portage to upgrade system and world 
 but to leave masking well enough alone. As your current installed 
 version of ExtUtils-ParseXS satisfies all needs, it makes no effort to 
 try and upgrade it.

I think that you not really know what the autounmask-feature of
portage-2.2 is all about.

Normally it does something like this:

emerge =perl-core/ExtUtils-ParseXS-3.20.0 -vp

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

Calculating dependencies   ... done!
[ebuild U  ] perl-core/ExtUtils-ParseXS-3.20.0 [2.22.06] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

The following keyword changes are necessary to proceed:
#required by =perl-core/ExtUtils-ParseXS-3.20.0 (argument)
=perl-core/ExtUtils-ParseXS-3.20.0 ~amd64

NOTE: This --autounmask behavior can be disabled by setting
  EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf.

without it would look like this:

EMERGE_DEFAULT_OPTS=--autounmask=n emerge
=perl-core/ExtUtils-ParseXS-3.20.0 -vp

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

Calculating dependencies ... done!

!!! All ebuilds that could satisfy =perl-core/ExtUtils-ParseXS-3.20.0
have been masked.
!!! One of the following masked packages is required to complete your
request:
- perl-core/ExtUtils-ParseXS-3.20.0::gentoo (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

It is just a other way to display what is needed to be done. If
autounmask fires portage should throw an error too if trying the same
thing again with autounmask=n. But here it doesn't. It tells me to
unmaks without any need.

 The trick to working with autounmask is to realise that it is stupid 
 software, it cannot possibly know what you want or intend. So it tries 
 a blanket approach for the most part. If you have more complex masking 
 than just stable/unstable statistically it will be wrong far more 
 often than it is right.

If there is a package version masked and nothing needs that version then
autounmask should not fire. It should leave that alone.

For me it still looks like a bug.

Greetings

Sebastian



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 20:55:12 Sebastian Beßler did opine thusly:
 Am 15.08.2011 20:02, schrieb Alan McKinnon:
  It's not a bug, portage is doing what it should.
  
  In the first case portage will try upgrade all packages to the
  latest version. It sees that you asked it to try autounmask
  stuff, so it wants to override your local mask for
  ExtUtils-ParseXS.
 
 I don't asked portage to autounmask anything, that is a feature of
 portage-2.2 and should normaly only fire when there is a need to
 unmask (or change USE or change keyword) anything to fullfill the
 needs of the packages to be installed or updated.
 
 Else it would tell anyone on stable who use portage-2.2 to change to
 ~unstable because there is newer stuff to install. I have a large
 amount on packages that have newer versions that are masked and
 autounmask doesn't ask me to install them only because they are
 newer.
  In the second case you have told portage to upgrade system and
  world but to leave masking well enough alone. As your current
  installed version of ExtUtils-ParseXS satisfies all needs, it
  makes no effort to try and upgrade it.
 
 I think that you not really know what the autounmask-feature of
 portage-2.2 is all about.
 
 Normally it does something like this:
 
 emerge =perl-core/ExtUtils-ParseXS-3.20.0 -vp
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies   ... done!
 [ebuild U  ] perl-core/ExtUtils-ParseXS-3.20.0 [2.22.06] 0 kB
 
 Total: 1 package (1 upgrade), Size of downloads: 0 kB
 
 The following keyword changes are necessary to proceed:
 #required by =perl-core/ExtUtils-ParseXS-3.20.0 (argument)
 
 =perl-core/ExtUtils-ParseXS-3.20.0 ~amd64
 
 NOTE: This --autounmask behavior can be disabled by setting
   EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf.
 
 without it would look like this:
 
 EMERGE_DEFAULT_OPTS=--autounmask=n emerge
 =perl-core/ExtUtils-ParseXS-3.20.0 -vp
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies ... done!
 
 !!! All ebuilds that could satisfy
 =perl-core/ExtUtils-ParseXS-3.20.0 have been masked.
 !!! One of the following masked packages is required to complete
 your request:
 - perl-core/ExtUtils-ParseXS-3.20.0::gentoo (masked by: ~amd64
 keyword)
 
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 
 It is just a other way to display what is needed to be done. If
 autounmask fires portage should throw an error too if trying the
 same thing again with autounmask=n. But here it doesn't. It tells
 me to unmaks without any need.

Do you have autounmask enabled or disabled in your config for portage?

That first example you gave strongly indicates you have it enabled.


 
  The trick to working with autounmask is to realise that it is
  stupid software, it cannot possibly know what you want or
  intend. So it tries a blanket approach for the most part. If
  you have more complex masking than just stable/unstable
  statistically it will be wrong far more often than it is right.
 
 If there is a package version masked and nothing needs that version
 then autounmask should not fire. It should leave that alone.
 
 For me it still looks like a bug.
 
 Greetings
 
 Sebastian
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-15 Thread Volker Armin Hemmann
Am Montag 15 August 2011, 20:04:21 schrieb Alan McKinnon:
 On Mon 15 August 2011 19:31:50 Volker Armin Hemmann did opine thusly:
  Am Montag 15 August 2011, 19:25:12 schrieb Alan McKinnon:
   On Mon 15 August 2011 11:33:02 Paul Hartman did opine thusly:
On Mon, Aug 15, 2011 at 3:27 AM, Alan McKinnon
   
   alan.mckin...@gmail.com wrote:
 That caught me out a few times too. I put these commands
 into a bash alias:
 
 emerge --sync
 layman -S
 eix-update
 
 and use that to sync portage. That way I don't leave
 steps out. 

Congratulations, you reinvented the eix-sync command. :)
   
   You caught me out :-)
   
   There was a reason (a good one) why I did that several years
   ago, but for the life of me I can't think what it was.
  
  if eix-sync fails with one of the overlays, all fails.
  if one overlay fails doing it step by step you can do all the other
  stuff without worrying about it.
 
 Sounds familiar, odds are good that's what drove me to take the long
 road.
 
 I take it eix-sync still has this same behaviour?

well, it failed on me a few weeks ago.


-- 
#163933



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Dale

Alan McKinnon wrote:


Do you have autounmask enabled or disabled in your config for portage?

That first example you gave strongly indicates you have it enabled.


   


I'm thinking the same thing.  It seems to be enabled by default I 
think.  I know it is here and I didn't do it.  It just sort of appeared 
one day.  I *think* I even asked on here about it.


Dale

:-)  :-)



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Alan McKinnon
On Mon 15 August 2011 15:12:09 Dale did opine thusly:
 Alan McKinnon wrote:
  Do you have autounmask enabled or disabled in your config for
  portage?
  
  That first example you gave strongly indicates you have it
  enabled.
 I'm thinking the same thing.  It seems to be enabled by default I
 think.  I know it is here and I didn't do it.  It just sort of
 appeared one day.  I *think* I even asked on here about it.

You did, and I remember it clearly. I even looked at my own setup and 
concluded that a recent portage update enabled it by default.

I never had any issues with it as I run unstable so there's nothing to 
unmask except my - packages which are all unamsked ** already.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Sebastian Beßler
Am 15.08.2011 21:34, schrieb Alan McKinnon:

 Do you have autounmask enabled or disabled in your config for portage?

I have it enabled because it is enabled by default. You have to explicit
disable it.
So, because it is enabled by default, I never asked portage to
autounmask anything for me.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] GRUB v2

2011-08-15 Thread Peter Humphrey
On Monday 15 August 2011 19:38:49 Dale wrote:
 J. Roeleveld wrote:
  You're welcome, my Gentoo-user archive goes back to 2004 :)
 
 Mine goes back a year.  Gentoo moves so fast, I figure a year should be
 more than plenty.  Maybe I need to rethink that a little.  I could be
 wrong.  :/

I've just raised the expiry period on my GentooUser folder to 365 days so as 
not to be caught out this way again.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23



Re: [gentoo-user] Rosegarden works???

2011-08-15 Thread Michael Schreckenbauer
Am Samstag, 13. August 2011, 19:48:55 schrieb luis jure:
 on 2011-08-14 at 00:29 Michael Schreckenbauer wrote:
 comment#3 talks about jack. Is jack up and running, when you try to start
 rosegarden?
 
 yes, i tried both with and without jack running. i don't use jack normally
 and don't know much about it, i just tried starting jackd -d alsa and jackd
 -R -d alsa. can't see any change when trying to start rosegarden.
 i don't have a clue, really. it seems that i'm not the only one having
 this problem, but on the other hand it works for the rest and no-one
 seems to have an idea how to detect what could be the cause of this. i
 tried all the usual suspects already.

What version of jack are you using?
Could you post its output when starting?
I'm looking for differences to my own setup. There must be some reason why it 
works for me, but doesn't for you.

 thanks for your attention!

Regards,
Michael




Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Paul Hartman
On Mon, Aug 15, 2011 at 12:31 PM, Sebastian Beßler
sebast...@darkmetatron.de wrote:
 Why is autounmask trying to unmask ExtUtils-ParseXS if it's not needed?
 Should I report this as a bug?

I think it's only telling you what you should unmask. Setting
--autounmask=n simply makes it stop giving you this hint.

To actually unmask anything you would need to use --autounmask-write=y

Use --tree to get a better idea what package wants the newer ExtUtils-ParseXS



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Dale

Sebastian Beßler wrote:

Am 15.08.2011 21:34, schrieb Alan McKinnon:

   

Do you have autounmask enabled or disabled in your config for portage?
 

I have it enabled because it is enabled by default. You have to explicit
disable it.
So, because it is enabled by default, I never asked portage to
autounmask anything for me.

   


Well sort of.  Since you didn't disable it, portage did what it was told 
to do.  I sort of like on by default otherwise I may not know there is a 
new feature.  Then again, it can be bad since it could bork something 
else and you not know until it was done.


Dale

:-)  :-)



Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Sebastian Beßler
Am 15.08.2011 23:33, schrieb Paul Hartman:

 Use --tree to get a better idea what package wants the newer ExtUtils-ParseXS

I narrowed it down to

emerge perl-core/Module-Build -vp

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

Calculating dependencies   ... done!
[ebuild U  ] perl-core/ExtUtils-ParseXS-3.20.0 [2.22.06] 0 kB
[ebuild   R] perl-core/Module-Build-0.380.0  0 kB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB

The following keyword changes are necessary to proceed:
#required by virtual/perl-ExtUtils-ParseXS-3.20.0, required by
perl-core/Module-Build-0.380.0, required by perl-core/Module-Build
(argument)
=perl-core/ExtUtils-ParseXS-3.20.0 ~amd64

and Module-Build-0.380.0 has =virtual/perl-ExtUtils-ParseXS-2.22.05 in
DEPEND.

So yes autounmask was actually right, because I masked
perl-core/ExtUtils-ParseXS-3.20.0 but not the virtual-3.20.0.
After doing that everything is fine here.

But why was autounmask=y complaining but not autounmask=n?
The dependency of the virtual was missing both times so shouldn't emerge
spit some error out both times?

Greetings

Sebastian



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Assigning an IP in AP mode

2011-08-15 Thread Grant
 hostapd doesn't report any error and I don't think it should.
 Everything works fine as soon as I 'ifconfig wlan0 192.168.1.1' but I
 know there's a way to assign that IP automatically, I've just
 forgotten what it is.  My description above is the trouble I run into
 when I try to set up that automatic IP assignment.  As long as I issue
 ifconfig manually, everything works fine.

 Just let net.wlan0 bring the interface up and configure the IP for you.

Thank you, I just needed to correct the modules_wlan0 syntax from that
page.  It should be:

modules_wlan0=!iwconfig !wpa_supplicant

http://www.gentoo-wiki.info/Wireless/libnl_Access_Point#Configuration_of_hostapd

- Grant



[gentoo-user] Setting wifi txpower automatically

2011-08-15 Thread Grant
Is this in /etc/conf.d/net the best way to set txpower automatically?
postup also executes after net.lo and net.eth0 but I don't think it
will actually execute the iwconfig command unless it's net.wlan0.

postup() {
if [[ ${IFACE} == wlan0 ]] ; then
iwconfig wlan0 txpower 0
fi
return 0
}

- Grant



Re: [gentoo-user] Rosegarden works???

2011-08-15 Thread luis jure
on 2011-08-15 at 22:32 Michael Schreckenbauer wrote:

What version of jack are you using?

i have jack-audio-connection-kit-1.9.7 installed. but i think this
shouldn't be the problem, because at least in the past jack was needed
only if you were going to use audio in rosegarden. the program itself
should launch even if jack is not running. or am i wrong? could you try
starting rosegarden from the terminal without jack? does it start?

vielen dank für deine hilfe!

lj






Re: [gentoo-user] Portage autounmask is strange again

2011-08-15 Thread Dale

Sebastian Beßler wrote:


But why was autounmask=y complaining but not autounmask=n?
The dependency of the virtual was missing both times so shouldn't emerge
spit some error out both times?

Greetings

Sebastian

   


Because autounmask=n assumes you don't want to upgrade anything that is 
masked so it didn't suggest it.


Ain't life confusing?

Dale

:-)  :-)



[gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Adam Carter
Linux also offered financial firms the ability to modify the source
code to further speed performance, Lameter said. It depends on how
daring the exchange is, Lameter said, noting that NASDAQ uses a
modified version of the Gentoo Linux distribution. 

http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Michael Mol
On Mon, Aug 15, 2011 at 8:28 PM, Adam Carter adamcart...@gmail.com wrote:
 http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street

This is related to a question I wanted to poll the list with. How does
everybody here use Gentoo? For personal use? Production use? For
server, desktop or embedded roles? What's your most interesting setup
or use case?

I had Gentoo on both my desktop and HTPC, but I had to cannibalize the
HTPC for parts, so now it's just on my primary desktop box.

-- 
:wq



Re: [gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread Adam Carter
 ? Udev has been the standard way to service kernel firmware requests for
 quite some time. The relevant bit is in
 /lib/udev/rules.d/50-firmware.rules .

Ok so that must be working on my laptop (automatically, i didn't
configure anything) but failing on my desktop.

 However, udevd is only started after the kernel is loaded, and therefore
 will only load firmware for drivers which are built as modules.

I tried compiling as a module, and it still failed. I'll go back and
verify I haven't made a mistake, then check firmware.rules.

Thanks again.



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Dale

Michael Mol wrote:

On Mon, Aug 15, 2011 at 8:28 PM, Adam Carteradamcart...@gmail.com  wrote:
   

http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street
 

This is related to a question I wanted to poll the list with. How does
everybody here use Gentoo? For personal use? Production use? For
server, desktop or embedded roles? What's your most interesting setup
or use case?

I had Gentoo on both my desktop and HTPC, but I had to cannibalize the
HTPC for parts, so now it's just on my primary desktop box.

   


Desktop here.  Though I do have one box that could be considered a 
server of sorts since it has no mouse/keyboard and no monitor either.  
Well, most servers don't have those.  ;-)


You really need a website that has this question and just post a linky 
here and on the forums.  Even then tho, you won't get all Gentoo users.  
Only the chatterboxes will reply here too.  lol  Mostly anyway.


Dale

:-)  :-)



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Pandu Poluan
That is indeed cool. And a welcome news for me who's trying to
champion Gentoo in my company which, as it happens, is a
stockbrokerage house. One of my country's largest, even :)

Rgds,


On 2011-08-16, Adam Carter adamcart...@gmail.com wrote:
 Linux also offered financial firms the ability to modify the source
 code to further speed performance, Lameter said. It depends on how
 daring the exchange is, Lameter said, noting that NASDAQ uses a
 modified version of the Gentoo Linux distribution. 

 http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street




-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Pandu Poluan
To answer your survey:

All my gentoo VMs are in production as servers. Non-glorious but
essential ones such as mail servers, DNS servers, proxy servers, and
also a couple of firewalls.

I'm currently in the process of phasing out Ubuntu servers from my
company, leaving just one for running Axigen.

I personally don't think Gentoo is suitable for the (l)users in my
company; there's just too much 'moving parts' that will make support's
life a hellish experience.

Currently I am planning to explore (along with Joost and hopefully
someone from the Xen herd will hear and help) a Gentoo-based Xen
Platform. An ideal match, if you ask me, since (theoretically) nothing
can come close to the performance of a Gentoo Dom0.

Rgds,


On 2011-08-16, Michael Mol mike...@gmail.com wrote:
 On Mon, Aug 15, 2011 at 8:28 PM, Adam Carter adamcart...@gmail.com wrote:
 http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street

 This is related to a question I wanted to poll the list with. How does
 everybody here use Gentoo? For personal use? Production use? For
 server, desktop or embedded roles? What's your most interesting setup
 or use case?

 I had Gentoo on both my desktop and HTPC, but I had to cannibalize the
 HTPC for parts, so now it's just on my primary desktop box.

 --
 :wq




-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread James Wall
I use it for my laptop, desktop/HTPC. firewall/router, distfiles
server and NFS boot server. The distfiles and NFS boot servers are
actually VMs due to having to downsize PC space on my desk. (my wife
had a fit about 6 PCs on my desk running constantly.)
James Wall



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Adam Carter
 This is related to a question I wanted to poll the list with. How does
 everybody here use Gentoo?

1. Server at friends house on fixed IP ADSL2 annex M for DNS,
SMTP+IMAP mail, web+wiki, and a second sshd on port 443, so i can get
to it from work :).
2. Home laptop, which runs vmware for Windows 7, XP, SecurePlatform etc
3. Home proxy running squid in interception mode with gzip ecap, DNS
caching, DHCP, hostapd on ADSL2
4. VMware guest on work laptop



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-15 Thread Matthew Finkel
On Mon, Aug 15, 2011 at 9:48 PM, Michael Mol mike...@gmail.com wrote:

 On Mon, Aug 15, 2011 at 8:28 PM, Adam Carter adamcart...@gmail.com
 wrote:
  http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street

 This is related to a question I wanted to poll the list with. How does
 everybody here use Gentoo? For personal use? Production use? For
 server, desktop or embedded roles? What's your most interesting setup
 or use case?

 I had Gentoo on both my desktop and HTPC, but I had to cannibalize the
 HTPC for parts, so now it's just on my primary desktop box.

 --
 :wq


Here I have it on my laptop, desktop, build server, build binary packages
server, web server, backup servers, file servers and (hopefully) a media
server/htpc soon.

And Adam, nice find.



-- 
Matthew Finkel


[gentoo-user] {OT} rdiff-backup: push or pull?

2011-08-15 Thread Grant
I'm setting up an automated rdiff-backup system and I'm stuck between
pushing the backups to the backup server, and pulling the backups to
the backup server.  If I push, I have to allow read/write access of my
backups via SSH keys.  If I pull, I have to enable root logins on each
system to be backed-up, allow root read access of each system via SSH
keys, and I have to deal with openvpn or ssh -R so my laptop can back
up from behind foreign routers.  The conventional wisdom online seems
to indicate pulling is better, but pushing seems like it might be
better to me.  Do you push or pull?

- Grant



Re: [gentoo-user] Re: Firmware exists but fails to load

2011-08-15 Thread victor romanchuk

 ? Udev has been the standard way to service kernel firmware requests for
 quite some time. The relevant bit is in
 /lib/udev/rules.d/50-firmware.rules .
 Ok so that must be working on my laptop (automatically, i didn't
 configure anything) but failing on my desktop.

 However, udevd is only started after the kernel is loaded, and therefore
 will only load firmware for drivers which are built as modules.
 I tried compiling as a module, and it still failed. I'll go back and
 verify I haven't made a mistake, then check firmware.rules.


it does not actually matter how you configured the driver -- built-in kernel or
as module: everytime when driver operates the device, it checks whether firmware
is loaded. if it does not or the firmware is not preloaded at kernel build time
as a blob, the driver requests for firmware. the request is a generated kernel
event which is handled in userspace by udev. the udev daemon processes event
using mentioned above rule. the rule is trivial -- it starts a firmware loader
utility (/lib/udev/firmware) with parameters passed within the event: device
name and firmware file path. appropriate status is returned back to kernel and
dispatched to the driver

in your case the status is -2 (ENOENT) so it could be problem with either
firmware blob file or firmware loader itself. functionality of
/lib/udev/firmware is controlled by USE=extras. did you installed udev with
extras support?

again, firmware load is udev responsibility. you may diagnose all the stuff
enabling udev debug output in /etc/udev/udev.conf

finally i confirm that r8169 driver works fine on my notebook with 2.6.39 kernel