[gentoo-user] [OT] Looking for a different way to rsync (or similiar)

2011-08-01 Thread meino . cramer
Hi,

I have to old (technical identical) harddisks formerly used for backup
purposes. They contain each a different set of files -- the
partitioning is identical. Both disks are nearly filled.

The harddisk in my PC has more free space (they contain a totally
different system than the old disks!)

Rsyncing both disks against each other so they will conatin the same set of 
files
afterwards may fail, cause the free space is limited.

Is there a way to rsync old disk A against old disk B *BUT* store
the files in question on the disk in my PC?
(and do the same thing but with disk A and B reveresed?).

The result of this hassle should be one old disk containing all
(needed) files of the sum of A and B with not needed files
removed by hand *after* the rsyncing.

Or there a totally different way to acchieve this?

Thank you very much in advance for any help!

Best regards,
mcc






Re: [gentoo-user] glew/glewmx or what?

2011-08-01 Thread meino . cramer
Michael Schreckenbauer grim...@gmx.de [11-07-31 21:04]:
 Hi,
 
 Am Sonntag, 31. Juli 2011, 17:09:08 schrieb meino.cra...@gmx.de:
  Hi,
  
  to compile the Mitsuba renderer I need glewmx (whatever this means).
  Postings on the net let me believe, that glewmx is a part of glew,
  which in turn is a gentoo package.
  
  But I found no USE-flags telling the package to build glew with
  glewmx...or I misunderstood the whole thing ...
  
  
  Can someone please shed some wise light on my shadowed mind so
  I will be able to embrace this holy glewmx love and peace?
  ;)  --- very big!!!
 
 you could add -DGLEW_MX to your CFLAGS and emerge glew with this setting.
 Better way is to copy the glew ebuild to your local overlay and fix it to 
 compile with this flag set.
 CFLAGS.EXTRA=-DGLEW_MX
 added to pkg_setup() might do the job.
 
  Thank you very much for any enlightment!
  Best regards
  mcc
 
 Regards,
 Michael
 
 

Hi Michael,

thank you for your help ! :)

Unfortunately this seems only the half of the way to go...

The installation process only install libglew...and leave libglewmx
untouched.
...

Any idea how to convince the package to install everything?

Best regards,
mcc




Re: [gentoo-user] portage no longer in world?

2011-08-01 Thread Joost Roeleveld
On Sunday, July 31, 2011 11:02:22 AM Florian Philipp wrote:
 @system used to contain portage. It doesn't by default, anymore. If you
 do `emerge -pv --depclean`, portage should try to remove itself. Just
 add it to @world by doing `emerge --noreplace portage`

It doesn't try this on my system.

Portage is installed, but not in world:
**
eve ~ # cat /var/lib/portage/world | grep portage
app-portage/eix
app-portage/gentoolkit
app-portage/layman

eve ~ # eix -e portage
[I] sys-apps/portage
 Installed versions:  2.1.10.3(08:42:46 PM 07/30/2011)(ipc less -build -
doc -epydoc -linguas_pl -python2 -python3 -selinux)
 Homepage:http://www.gentoo.org/proj/en/portage/index.xml
 Description: Portage is the package management and distribution 
system for Gentoo

**
(I removed a few lines from the eix-output to make it better readable)

And emerge -pv --depclean ends with:
**
 No packages selected for removal by depclean
Packages installed:   1090
Packages in world:124
Packages in system:   45
Required packages:1090
Number to remove: 0
**

Am I missing something here?

-- 
Joost



Re: [gentoo-user] make oldconfig necessary?

2011-08-01 Thread Albert Hopkins


On Sunday, July 31 at 21:23 (-0500), Jeremy McSpadden said:

 Better to run make oldconfig. It merges the changes.
 
 --
 Jeremy McSpadden
 def...@uberpenguin.net
 
 
 
 
 On Jul 31, 2011, at 9:06 PM, Pandu Poluan wrote:
 
  Let's say I have a .config from an older kernel version (for example,
  2.6.38), and now I want to install a newer kernel (let's say, 3.0).
  
  Is it necessary to first do `make oldconfig`, or is it safe to go
  directly to `make menuconfig`?
  

Agreed, although it should be possible to go straight to menuconfig,
what I think that does is basically says 'n' to all the changes, and you
never get to see what you said no to.  (Unless you have a *very* good
memory and peruse though everything in menuconfig (but that isn't
entirely correct either since some menu options will not be visible
since you implicitly said not to them).

Usually, I just do an oldconfig after a kernel upgrade.  If I also need
to explicitly enable/disable something, then i do an oldconfig followed
by a menuconfig.






Re: [gentoo-user] make oldconfig necessary?

2011-08-01 Thread David W Noon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 1 Aug 2011 09:06:17 +0700, Pandu Poluan wrote about
[gentoo-user] make oldconfig necessary?:

Let's say I have a .config from an older kernel version (for example,
2.6.38), and now I want to install a newer kernel (let's say, 3.0).

Is it necessary to first do `make oldconfig`, or is it safe to go
directly to `make menuconfig`?

For some years now, make menuconfig has performed a silent make
oldconfig before it brings up the menu.  I stopped using make oldconfig
in about 2007, after I was confident that the change to make menuconfig
was working.
- -- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk42lHgACgkQRQ2Fs59Psv8qGwCeMv0fJ2mF8WcPm620U3m2iM5Y
usYAnR2lUFi2jgBCmLDOIqAEZ22tzM7m
=uV/i
-END PGP SIGNATURE-


Re: [gentoo-user] portage no longer in world?

2011-08-01 Thread Albert Hopkins


On Monday, August 1 at 12:41 (+0200), Joost Roeleveld said:

 On Sunday, July 31, 2011 11:02:22 AM Florian Philipp wrote:
  @system used to contain portage. It doesn't by default, anymore. If
 you
  do `emerge -pv --depclean`, portage should try to remove itself.
 Just
  add it to @world by doing `emerge --noreplace portage`
 
 It doesn't try this on my system

Yeah, I don't think that statement was entirely accurate.  Deplean
normally will not try to remove portage, because it satisfies the
virtual/package-manager requirement, which is in @system.

If, however, you have portage and another package satisfying
virtual/package-manager installed, and the other package was in your
world file, but portage wasn't then depclean *would* remove portage.
This is the recent behavior change, which is why some people were
surprised suddenly when nano or less or
insert_your_favorite_virtual_here was suddenly wanting to get unmerged
by --depclean.






[gentoo-user] Re: [OT] Looking for a different way to rsync (or similiar)

2011-08-01 Thread Harry Putnam
meino.cra...@gmx.de writes:

 Hi,

 I have to old (technical identical) harddisks formerly used for backup
 purposes. They contain each a different set of files -- the
 partitioning is identical. Both disks are nearly filled.

 The harddisk in my PC has more free space (they contain a totally
 different system than the old disks!)

You might be able to make use of rsync's flag: --compare-dest=DIR

I've done something like this way back but not sure the flag above is
the correct one.

However rsync does have the capability to compare more than one
heirarchy before moving data... just not sure that is the proper flag.

Try `man rsync' and see if that looks like it will help?

If that isn't clear... then I recommend the rsync list on gmane.  I've
found many times, that list is very helpful.




[gentoo-user] Choosing wired or wireless at boot time

2011-08-01 Thread José Romildo Malaquias
Hello.

I have two network interfaces on my notebook: one wired (eth0) and one
wireless (wlan0). I am running ~amd64 on it.

I want two gentoo boot entries in grub: one (the default softlevel)
which starts wired networking (and not wireless), and another that
starts the wireless network (and not the wired).

For the later I have created a new softlevel named wireless, with all
services from default, except net.eth0. The default has net.eth0, but
not net.wlan0. Booting with default works as expected, but booting with
wireless starts both interfaces.

In /etc/rc.conf I have the lines:

  rc_depend_strict=NO
  rc_hotplug=!net*

Any clues?

Romildo



Re: [gentoo-user] Re: [OT] Looking for a different way to rsync (or similiar)

2011-08-01 Thread meino . cramer
Harry Putnam rea...@newsguy.com [11-08-01 15:12]:
 meino.cra...@gmx.de writes:
 
  Hi,
 
  I have to old (technical identical) harddisks formerly used for backup
  purposes. They contain each a different set of files -- the
  partitioning is identical. Both disks are nearly filled.
 
  The harddisk in my PC has more free space (they contain a totally
  different system than the old disks!)
 
 You might be able to make use of rsync's flag: --compare-dest=DIR
 
 I've done something like this way back but not sure the flag above is
 the correct one.
 
 However rsync does have the capability to compare more than one
 heirarchy before moving data... just not sure that is the proper flag.
 
 Try `man rsync' and see if that looks like it will help?
 
 If that isn't clear... then I recommend the rsync list on gmane.  I've
 found many times, that list is very helpful.
 
 

Hi Harry,

thank you very much for your help and infos! :)

Best regards,
mcc





[gentoo-user] Re: make oldconfig necessary?

2011-08-01 Thread Grant Edwards
On 2011-08-01, Pandu Poluan pa...@poluan.info wrote:
 Let's say I have a .config from an older kernel version (for example,
 2.6.38), and now I want to install a newer kernel (let's say, 3.0).

 Is it necessary to first do `make oldconfig`, or is it safe to go
 directly to `make menuconfig`?

It's always safe to do 'make menuconfig', and always has been (at
least since the 0.97 days when I started running Linux).  You just
have to select all the options correctly.

All that 'make oldconfig' does is start you out with something as
close to your old kernel configuration as possible.

-- 
Grant Edwards   grant.b.edwardsYow! CHUBBY CHECKER just
  at   had a CHICKEN SANDWICH in
  gmail.comdowntown DULUTH!




Re: [gentoo-user] Re: make oldconfig necessary?

2011-08-01 Thread Pandu Poluan
On Mon, Aug 1, 2011 at 21:09, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2011-08-01, Pandu Poluan pa...@poluan.info wrote:
 Let's say I have a .config from an older kernel version (for example,
 2.6.38), and now I want to install a newer kernel (let's say, 3.0).

 Is it necessary to first do `make oldconfig`, or is it safe to go
 directly to `make menuconfig`?

 It's always safe to do 'make menuconfig', and always has been (at
 least since the 0.97 days when I started running Linux).  You just
 have to select all the options correctly.

 All that 'make oldconfig' does is start you out with something as
 close to your old kernel configuration as possible.


Sorry for the misunderstanding, my bad.

What I meant was:

If I want a kernel config as close as possible to the older kernel,
can I just use `make menuconfig`, or do I have to first run `make
oldconfig`.

Again, sorry for the confusion.

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~

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



Re: [gentoo-user] Re: make oldconfig necessary?

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 10:09 AM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2011-08-01, Pandu Poluan pa...@poluan.info wrote:
 Let's say I have a .config from an older kernel version (for example,
 2.6.38), and now I want to install a newer kernel (let's say, 3.0).

 Is it necessary to first do `make oldconfig`, or is it safe to go
 directly to `make menuconfig`?

 It's always safe to do 'make menuconfig', and always has been (at
 least since the 0.97 days when I started running Linux).  You just
 have to select all the options correctly.

 All that 'make oldconfig' does is start you out with something as
 close to your old kernel configuration as possible.

Which is an incredible timesaver...I hope I never forget to keep the
/proc/config.gz option enabled again.
-- 
:wq



Re: [gentoo-user] jbd2 keeps spinning my disk up

2011-08-01 Thread Peter Humphrey
On Sunday 31 July 2011 22:40:28 Florian Philipp wrote:

 Does laptop-mode help?
 app-laptop/laptop-mode-tools

I hadn't thought of that - thanks. I'll try it and see.

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



Re: [gentoo-user] make oldconfig necessary?

2011-08-01 Thread kashani

On 7/31/2011 7:06 PM, Pandu Poluan wrote:

Let's say I have a .config from an older kernel version (for example,
2.6.38), and now I want to install a newer kernel (let's say, 3.0).

Is it necessary to first do `make oldconfig`, or is it safe to go
directly to `make menuconfig`?


Necessary to run make old config? No.

Easier and simpler most of the time? Yes.

I like to make a fresh kernel from scratch every year or so without any 
previous settings to keep the cruft out. I last did it for my vbox image 
figuring I was going to need to very little hardware support so starting 
fresh made sense.


kashani



Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Paul Hartman
On Sat, Jul 30, 2011 at 7:05 PM, Grant emailgr...@gmail.com wrote:
 I remembered that i also had started having a problem with my intel
 wireless card, and it looks like both the intel and realtek firmwares
 are now in linux-firmware so try emerging that.

 That fixed it.  Thank you very much.  I'm a little puzzled because I
 don't get the unable to apply firmware patch messages on my desktop
 which also uses the r8169 driver and doesn't have linux-firmware
 installed.

AFAIR the r8169 driver supports multiple chipsets, and they don't all
need the firmware file. So perhaps your two systems are not using
exactly the same chipset in the ethernet card...

On my desktop, I would get that warning, but it would work perfectly
fine anyway even without it being present.

According to Google results, the general opinion is that r8169 sucks
and seems like almost everybody has problems with it. :)



Re: [gentoo-user] SSDs, swap, caching, other unusual uses

2011-08-01 Thread Paul Hartman
On Fri, Jul 29, 2011 at 1:18 PM, Michael Mol mike...@gmail.com wrote:
 Something that's been tickling my brain for a couple years now, and
 you guys are probably the right ones to ask.

 I haven't dropped coin for an SSD (yet), but I was wondering about
 uses for them beyond using them for / or /home.

 1) What about sitting swap (partition, file, whatever) on the SSD?
 Presumably, in scenarios where expanding the RAM in a system is
 prohibitively expensive, an SSD could reduce the impact of swap
 thrash.

Swap on flash memory is faster than on disk, but it is still swap and
still sucks. :) There's no reason why it won't work, but I doubt it'll
have as much of a positive impact as you're hoping. In fact depending
on the SSD some don't cope with a storm of tiny simultaneous random
reads and writes and might block even worse than a fast HDD. IMO.

 2) While my system rarely goes above using 2-2.5GB of RAM, I enjoy
 having 6-8GB of RAM, just for the file cache. Of course, I lose that
 when I reboot; the cache needs to be repopulated. Has there been any
 work in the kernel for doing things like Vista/Win7's ReadyBoost?
 ReadyBoost has a ridiculous limit to only using 4GB of a flash drive,
 but I'd think that an 80GB SSD would be a massive performance
 improvement.

I believe DM-Cache provides this kind of functionality in Linux. I've
never tried it.

You can also buy a hybrid hard drive, it is a traditional HDD with SSD
built-in for caching. That is transparent to the operating system.



Re: [gentoo-user] SSDs, swap, caching, other unusual uses

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 12:29 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Jul 29, 2011 at 1:18 PM, Michael Mol mike...@gmail.com wrote:
 Something that's been tickling my brain for a couple years now, and
 you guys are probably the right ones to ask.

 I haven't dropped coin for an SSD (yet), but I was wondering about
 uses for them beyond using them for / or /home.

 1) What about sitting swap (partition, file, whatever) on the SSD?
 Presumably, in scenarios where expanding the RAM in a system is
 prohibitively expensive, an SSD could reduce the impact of swap
 thrash.

 Swap on flash memory is faster than on disk, but it is still swap and
 still sucks. :) There's no reason why it won't work, but I doubt it'll
 have as much of a positive impact as you're hoping. In fact depending
 on the SSD some don't cope with a storm of tiny simultaneous random
 reads and writes and might block even worse than a fast HDD. IMO.

Yeah, true; the write caching and queuing of some of the lower-end
drives are crap, from what I've heard. The primary reason I haven't
spent on and SSD yet is while I could afford a low-end drive, I can't
afford a smaller-size drive that's a good implementation.


 2) While my system rarely goes above using 2-2.5GB of RAM, I enjoy
 having 6-8GB of RAM, just for the file cache. Of course, I lose that
 when I reboot; the cache needs to be repopulated. Has there been any
 work in the kernel for doing things like Vista/Win7's ReadyBoost?
 ReadyBoost has a ridiculous limit to only using 4GB of a flash drive,
 but I'd think that an 80GB SSD would be a massive performance
 improvement.

 I believe DM-Cache provides this kind of functionality in Linux. I've
 never tried it.

That's *exactly* the kind of thing I was hoping was being worked on. I
hadn't heard anyone was actually *doing* it.


 You can also buy a hybrid hard drive, it is a traditional HDD with SSD
 built-in for caching. That is transparent to the operating system.

They've sounded interesting, yes.

-- 
:wq



Re: [gentoo-user] Re: Openoffice being replaced?

2011-08-01 Thread BRM
- Original Message -

 From: Grant Edwards grant.b.edwa...@gmail.com
 Subject: [gentoo-user] Re: Openoffice being replaced?
 On 2011-07-29, BRM bm_witn...@yahoo.com wrote:
 From: Paul Hartman paul.hartman+gen...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Thursday, July 28, 2011 10:41 AM
 Subject: Re: [gentoo-user] Openoffice being replaced?
 
 On Thu, Jul 28, 2011 at 9:13 AM, Dale rdalek1...@gmail.com 
 wrote:
  I noticed this today:
 
  The following mask changes are necessary to proceed:
  #required by @selected, required by @world (argument)
  # /usr/portage/profiles/package.mask:
  # Tom Chv??tal scarab...@gentoo.org (27 Jul 2011)
  # Old replaced packages. Will be removed in 30 days.
  # app-office/openoffice - app-office/libreoffice
  # app-office/openoffice-bin - app-office/libreoffice-bin
  # app-text/wpd2sxw - app-text/wpd2odt
 =app-office/openoffice-3.2.1-r1
 
 
  Does this mean that libreoffice is going to replace OOo in the 
 tree?
 
 Looks like it. It has already replaced it on all my computers.
 
 Gentoo's OpenOffice has included the go-oo patches for a long time
 anyway, which were the big thing changed about LibreOffice
 
 [...]
 
 I would say switch to LibreOffice and don't look back. :)
 
  I wouldn't. While LibreOffice may have some advances at the moment,
  I'm still interested in following main-line OOo - now being setting
  under Apache.
 
 So you don't use the gentoo OOo ebuilds?  AFAICT, they're a lot closer
 to being libreoffice than to being mainline OOo.
 
  Please do not force us to convert from OO to LO.
 
 If you use the gentoo ebuilds, then you mostly already have.
 Gentoo OOo  = OOo + Go-Oo
 LibreOffice = OOo + Go-Oo

There's other stuff in LibreOffice too. But I'd still much rather be using OOo 
than LibreOffice.

And I'd rather drop the GO-OOo patches, but I don't think there's an option for 
that in emerge.
 
  I have no problem with separate installs for each, but there will be
  those (like me) that want the official OO installs.
 
 But, what you get using the Gentoo ebuilds isn't the official OOo
 install.  If you're running official OOo, then youre not using the
 Gentoo ebuilds, so why do you care what those ebuilds produce?
 
 One of the things I like about LibreOffice is the reduced
 dependancies.  Even with the gnome USE flag turned off, OOo pulls in
 some big gnome dependancies that I don't want.  WTF does an office
 suite need libgweather?

And I'm sure the Apache OO guys will fix that in due time as well.

All I'm saying is that I want to stick with the Apache OOo in the long run, not 
LibreOffice.
Users can switch to the LibreOffice install if they desire, but there's no 
reason for force those that want to continue with OOo to move over.

Ben



[gentoo-user] Re: Oracle 11g installer crash

2011-08-01 Thread Pau Peris

 Hi, i've followed that guide
 http://vh4x0r.wordpress.com/2010/08/17/installing-oracle-11g-on-linux-amd64/
 in order to install oracle 11g but i get the following error when running:

 ./runInstaller: line 254: /apphome/oracle/database/install/.oui: cannot
 execute binary file


 These are the downloaded files:
 Linux.zseries64_11gR2_database_1of2.zip
 linux.zseries64_11gR2_database_2of2.zip

 I've also checked the following howtos without luck:
 http://www.fuzzy.cz/en/articles/installing-oracle-11g-r2-on-gentoo/http://www.fuzzy.cz/en/articles/installing-oracle-11g-r2-on-gentoo/%5B/url%5D
 http://en.gentoo-wiki.com/wiki/Oracle_10g#Introductionhttp://en.gentoo-wiki.com/wiki/Oracle_10g#Introduction[/url]



 Does anyoneknows who to solve it? Thx!! :)



Re: [gentoo-user] Re: make oldconfig necessary?

2011-08-01 Thread David W Noon
On Mon, 1 Aug 2011 21:39:29 +0700, Pandu Poluan wrote about Re:
[gentoo-user] Re: make oldconfig necessary?:

 What I meant was:
 
 If I want a kernel config as close as possible to the older kernel,
 can I just use `make menuconfig`, or do I have to first run `make
 oldconfig`.

Just copy your old .config file to the new kernel source directory, then
run make menuconfig and select what you want.  Job done.

The make menuconfig will silently do a make oldconfig on the
existing .config file before it puts the menu on the screen.  This
means that the options in the menu hierarchy will reflect the options
that were in your old .config file, with newer features [i.e. not in the
earlier kernel] set to defaults.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Openoffice being replaced?

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 12:46 PM, BRM bm_witn...@yahoo.com wrote:
 From: Grant Edwards grant.b.edwa...@gmail.com
 All I'm saying is that I want to stick with the Apache OOo in the long run, 
 not LibreOffice.

Grant's point (if I read it correctly) was that you were effectively
using LO, just with OOo branding, because the Go-Oo patches were
already being applied. In short, no functional distinction. So why
care now, when nothing's really changed?

 Users can switch to the LibreOffice install if they desire, but there's no 
 reason for force those that want to continue with OOo to move over.

Except that, on Gentoo, they effectively already had, without
realizing it. Sure, OOo and LO may take different paths going forward,
but, on Gentoo, they were already largely equivalent in deviation from
OOo upstream.

Perhaps what you want to do is ask that someone *add* and maintain an
authentic OOo ebuild?

(If there was demand for an authentic OOo ebuild, why wasn't there one already?)

-- 
:wq



Re: [gentoo-user] SSDs, swap, caching, other unusual uses

2011-08-01 Thread Volker Armin Hemmann
Am Sonntag 31 Juli 2011, 19:11:06 schrieb Michael Mol:
 On Sun, Jul 31, 2011 at 6:37 PM, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  Am Sonntag 31 Juli 2011, 10:44:28 schrieb Michael Mol:
  While I take your point about write-cycle limitations, and I would
  *assume* you're familiar with the various improvements on
  wear-leveling technique that have happened over the past *ten years*
  
  yeah, I am. Or let it phrase it differently:
  I know what is claimed.
  
  The problem is, the best wear leveling does not help you if your disk is
  pretty filled up and you still do a lot of writing. 1 000 000 write
  cycles aren't much.
 
 Ok; I wasn't certain, but it sounded like you'd had your head in the
 sand (if you'll pardon the expression). It's clear you didn't. I'm
 sorry.
 
  since those concerns were first raised, I could probably raise an
  argument that a fresh SSD is likely to last longer as a swap device
  than as a filesystem.
  
  depends - because thanks to wear leveling that 'swap partition' is just
  something the firmware makes the kernel believe to be there.
  
  Swap is only touched as-needed, while there's been an explosion in
  programs and user software which demands synchronous writes to disk
  for data integrity purposes. (Firefox uses sqlite in such a way, for
  example; I discovered this when I was using sqlite heavily in my *own*
  application, and Firefox hung for a couple minutes during every batch
  insert.)
  
  which is another goof reason not to use firefox - but
  total   used   free sharedbuffers cached
  Mem:   81825567373736 808820  0  56252  
   2197064
  -/+ buffers/cache:51204203062136
  Swap: 23446848  82868   23363980
  
  even with lots of ram, you will hit swap. And since you are using the
  wear- leveling of the drive's firmware it does not matter that your
  swap resides on its own partition - every page written means a
  block-rewrite somewhere. Really not good for your ssd.
 
 Fair enough.
 
 It Would Be Nice(tm) if the SSD's block size and alignment matched
 that of the kernel's pagesize. Not certain if it's possible to tune
 those settings (reliably) in the kernel.
 
 Also, my stats, from three different systems (they appear to be using
 trivial amounts of swap, though my Gentoo box doesn't appear to be
 using any)
 
 (Desktop box)
 shortcircuit:1@serenity~
 Sun Jul 31 07:03 PM
 !499 #1 j0 ?0 $ free -m
  total   used   free sharedbuffers cached
 Mem:  5975   3718   2256  0617   1106
 -/+ buffers/cache:   1994   3980
 Swap: 9993  0   9993
 
 (laptop)
 shortcircuit@saffron:~$ free -m
  total   used   free sharedbuffers cached
 Mem:  1995   1732263  0169913
 -/+ buffers/cache:648   1347
 Swap: 3921  3   3918
 
 (server)
 shortcirc...@rosettacode.xen.prgmr.com~
 23:05:34 $ free -m
  total   used   free sharedbuffers cached
 Mem:  2048   2000 47  0285488
 -/+ buffers/cache:   1225822
 Swap:  511  1510
 
  Also, despite the MBTF data provided by the manufacturers, there's
  more empirical evidence that the drives expire faster than expected,
  anyway. I'm aware of this, and not particularly concerned about it.
  
  well, it is your money to burn.
 
 Best evidence I've read lately is that the drives last about a year
 under heavy use. I was going to include a reference in the last email,
 but I can't find a link to the post. I thought it was something Joel
 Spolsky (or *someone* at StackOverflow) wrote, but I was unable to
 find it quickly.
 
 My parts usually last 3-5 years, so that's pretty low. Still, having
 my swap partition drop (and the entire system halt) would be generally
 less damaging to me than having real data on the drive.
 
  False dichotomy. Yes, it increases the wear on the device. That says
  nothing of its impact on system performance, which was the nature of
  my point.
  
  if you are so concerned of swap performance you should probably go with
  a
  smaller ssd, get more ram and let that few mb of swap you need been
  handled by several swap partitions.
 
 This is where I get back to my original, 'prohibitively expensive'
 bit. I can get 16GB of RAM into my system for about $200. The use
 cases where I've been contemplating this have been where I wanted to
 have 60GB to 80GB of data quickly accessible in a random-access
 fashion, but where that type of load wasn't what I normally spent my
 time doing. (Hence the idea to have a broader improvement from
 something such as the file cache)
 
 And, really, the whole point of the thread was for thought
 experiments. Posits are occasionally required.
 
  As for a filecache not being that important, that's 

Re: [gentoo-user] Re: Oracle 11g installer crash

2011-08-01 Thread kashani

On 8/1/2011 9:48 AM, Pau Peris wrote:

Hi, i've followed that guide
http://vh4x0r.wordpress.com/2010/08/17/installing-oracle-11g-on-linux-amd64/
in order to install oracle 11g but i get the following error when
running:

./runInstaller: line 254: /apphome/oracle/database/install/.oui:
cannot execute binary file


These are the downloaded files:
Linux.zseries64_11gR2_database_1of2.zip
linux.zseries64_11gR2_database_2of2.zip


	I'm fairly certain that zseries packages are for the Power architecture 
which is not amd64, but s390 or s390x.


http://en.wikipedia.org/wiki/Linux_on_zSeries

kashani





Re: [gentoo-user] SSDs, swap, caching, other unusual uses

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 1:28 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 Am Sonntag 31 Juli 2011, 19:11:06 schrieb Michael Mol:

 Yet would potentially run afoul of the SSD's write block resolution.
 And, of course, having the journal fail out from under me would be a
 fair bit worse than the kernel panicking during a swap operation.


 SSDs have this nice feature - it is called sudden violent death. Good chance
 that when it fails, all of it fails ;)

Yeah, which is why I haven't been keen on putting an entire filesystem
on one, and would rather have it as a cache; caches are, by nature,
temporary.


 I ran into trouble with Thunderbird a couple months ago, which is why
 I had to drop from using tmpfs. (Also, I compile with -ggdb in CFLAGS,
 so I expect my build sizes bloat a bit more than most)

 uuuh.. yeah.. 'a bit'.. you are a man of understatement.

:)

-- 
:wq



[gentoo-user] Re: RAID-1 install

2011-08-01 Thread James
pk peterk2 at coolmail.se writes:


  the 4k block (GPT) issue? Maybe I missed it 
  on the minimal CD? 

 If you're after GPT-able partition software you can use (g)parted,
 available on the Gentoo live cd (it _should_ handle 4k disks as well):
 http://www.gentoo.org/news/20110308-livedvd.xml

Sorry for delayed response, I've been reading up
on gpt-fdisk [1].
Interesting reading on gpt-patch-fdisk


So parted 2.3 in on the minimal cd I'm using:
install-amd64-minimal-20110714.iso
should be as sufficient as gparted?

If so, it looks like my disk(s) setups
which are identical are ok? [2] seems to
suggest that what I originally used (fdisk)
to partition a 4K block drive
(fdisk-H 224 -S 56 -l) will
work, but the drive is  NOT optimized?

Using this (parted) syntax:


(parted) print
Model: ATA ST32000542AS (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  269MB   268MB   primary   boot, raid
 2  269MB   5414MB  5144MB  primary   raid
 3  5414MB  2000GB  1995GB  primary   raid

and 
(parted) align-check  minimal 1   
1 aligned
(parted) align-check optimal 1
1 aligned
(parted) align-check optimal 2
2 aligned
(parted) align-check optimal 3
3 aligned
(parted)


Should I conclude that sda and sdb  are 
correct and optimized for 4K block drives?

I never used parted before, so I can easily be making
a mistake [3]  or poor assumption?


[1] http://www.rodsbooks.com/gdisk/
http://sourceforge.net/projects/gptfdisk/

[2] http://www.rodsbooks.com/gdisk/booting.html

[3] http://en.gentoo-wiki.com/wiki/RAID/Software#Large_Partitions





[gentoo-user] Re: jbd2 keeps spinning my disk up

2011-08-01 Thread James
Peter Humphrey peter at humphrey.ukfsn.org writes:


 My little Atom box's hard disk spins up every minute or so, and watching 
 iotop I see it's jbd2 that does it.

 Google shows that others have similar problems.

 Before I re-create all the partitions as reiserfs - and remove ext4 from the 
 kernel - does anyone have a lighter solution?

Well, lots in good responses, so please do not interpret
mine as saying it's a better solution that what
others are suggestion.

Atom is more of an embedded processor than
a true workstation/server processor, imho.
As such, it it more bare metal meaning
countless software developments for AMD and
Intel processors intended for workstations
and servers, are irrelevant, useless, harmful,
redundant, or just plain stupid for embedded
processors. like the atom.

So now you (and I and millions of folks) are
trying to use mega-software (linux distro)
on a bare-metal processor

NOBODY has fleshed out these issues on an itemized
basis. i.e. the knowledge base is sparse (at best)
since the only one that can really do this is the
silicon vendors and they have a VESTED INTEREST
in not doing so. Furthermore, since Atom and ARM
and many other embedded processors are combined
as cores on an SOC (system on a chip) each
revision of such hardware by each vendor can have
different addtional hardware on the SOC that a generic
compiled software distro is clueless about.
 That's why numerous devices
that attempt low power linux, use a proprietary
linux based on montaVista or countlesss other
embedded linux vendors. These purveyors and vendors
of the various embedded linux offerings do not
publish anything about these hardware details
for some issues and do include documentation,
deep in the specifications of the processor.

When you stray from that (the linux distro that
come with the product), you are on your own,
finding piecemeal information about low level
hardware intricaciesad-nossium.imho.
If the device came with some OS other than a
linux hack. YOu are much futher from
paradise then with a default linux distro
as the OS the vendor provided. It does not mean
you will not be successful, just your journey
is perilous, at best, if optimization is
what you seek.


Long story short, for years I have been building
firewalls and embedded linux bridges, sniffers
and other passive ethernet based devices,
using ext2. Works beautifully with little
attention. Not optimized, but avoid a HUGE
time-sink.

I encounter a myriad of issues, when trying
newer file systems for embedded linux systems.
Ext-2 works for years on Compact Flash drives
if you do not log, or limit logs to an NFS link
or such. As one reader suggested, you have to
audit, one application at a time, to find the culprit.
It's actually a never ending process, imho,
as feature creep on a myriad of software packages
will usually lead to performance issues and thus
more aggressive algorithms on data movement.

You may want to try some of the file systems
intended for embedded system (as part of the 
newer linux kernels)  and the tuning
parameters therein, if you are looking for
a robust solution. Also delete what you do
not need from the atom based system, just
as a general policy. Minimal and embedded
are different facets of the same thing.

Intel atom is first and foremost an embedded
processor, not a CISC processor. I.E. just
because it compiles, does not mean it runs
well on limited resources or bare metal.


Happy Hunting,
James




Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Grant
 I'm guessing that radeon-ucode and rt61-firmware and all the others
 are being deprecated in favour of linux-firmware, but i don't recall
 seeing an elog on it.

Does anyone know if this is the case?  Doesn't seem very Gentoo-like,
although it should minimize package management for the devs which is
good.

 but now
 that I look closer I realize that ifconfig doesn't show an eth0
 interface at all even though lspci -v shows:

 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
 Express Gigabit Ethernet controller
 ...
 Kernel driver in use: r8169

 Shouldn't the eth0 interface appear in ifconfig once the r8169 driver
 is loaded?  dmesg has no mention of eth0 or r8169.

 That's odd. Does that box still have the failed loading firmware
 error? Perhaps missing firmware stops eth0 from being created. I'd try
 installing linux-fireware and trying again (assuming you havent
 already).

I didn't have the firmware error on the desktop but I installed
linux-firmware and now eth0 is renamed to eth1 and appears under
iwconfig (no wireless extensions) but not under ifconfig.  My laptop's
r8169 eth0 appears under ifconfig even when there's no ethernet cable
attached.  That's the expected behavior isn't it?

- Grant



Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 2:35 PM, Grant emailgr...@gmail.com wrote:
 That's odd. Does that box still have the failed loading firmware
 error? Perhaps missing firmware stops eth0 from being created. I'd try
 installing linux-fireware and trying again (assuming you havent
 already).

 I didn't have the firmware error on the desktop but I installed
 linux-firmware and now eth0 is renamed to eth1 and appears under
 iwconfig (no wireless extensions) but not under ifconfig.

I'm thinking you should set up some udev rules to help keep things
clear. (You really shouldn't see a NIC get renamed like that) On my
home router, I had eth0-eth2. I renamed them so that I had 'wan',
'wiredlan' and 'wifilan' instead. Check out udev and a
persistent-net.rules file under /etc/udev/rules.d. (I'd paste mine
as an example, but that machine is inaccessible to me right now)

Setting up some peristent udev rules keyed on a NIC's MAC address will
help keep things orderly for you.

  My laptop's
 r8169 eth0 appears under ifconfig even when there's no ethernet cable
 attached.  That's the expected behavior isn't it?

Sure; ifconfig will even tell you if the link is up or down. Just
because the link is down doesn't mean the interface isn't there. :)

-- 
:wq



Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Grant
...
 Setting up some peristent udev rules keyed on a NIC's MAC address will
 help keep things orderly for you.

I deleted the persistent-net.rules file and rebooted and everything
came up properly numbered.  eth0 was being renamed to eth1 previously
because I had used that hard drive on a different motherboard.

  My laptop's
 r8169 eth0 appears under ifconfig even when there's no ethernet cable
 attached.  That's the expected behavior isn't it?

 Sure; ifconfig will even tell you if the link is up or down. Just
 because the link is down doesn't mean the interface isn't there. :)

I see eth0 under ifconfig on my laptop but not on my desktop.
Strangely, on my desktop eth0 does appear under iwconfig (no wireless
extensions).  dmesg pertaining to eth0 and r8169 looks normal.  lspci
-v says:

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller
...
Kernel driver in use: r8169

But no eth0 under ifconfig.

- Grant



Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 3:04 PM, Grant emailgr...@gmail.com wrote:
  My laptop's
 r8169 eth0 appears under ifconfig even when there's no ethernet cable
 attached.  That's the expected behavior isn't it?

 Sure; ifconfig will even tell you if the link is up or down. Just
 because the link is down doesn't mean the interface isn't there. :)

 I see eth0 under ifconfig on my laptop but not on my desktop.
 Strangely, on my desktop eth0 does appear under iwconfig (no wireless
 extensions).  dmesg pertaining to eth0 and r8169 looks normal.  lspci
 -v says:

 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
 Express Gigabit Ethernet controller
 ...
 Kernel driver in use: r8169

 But no eth0 under ifconfig.

Time to go for a walk in /sys, to find out more information.

Check out /sys/bus/pci/devices

Now, with lspci, a NIC will look something like this:
01:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)

If I look under /sys/bus/pci/devices, I'll see a corresponding
directory (compare the first column from the lspci output):
:01:08.0

If I run 'ls' in that directory, I see:

-rw-r--r-- 1 root root 4096 2011-08-01 15:19 broken_parity_status
lrwxrwxrwx 1 root root0 2011-08-01 15:19 bus - ../../../../bus/pci
-r--r--r-- 1 root root 4096 2011-08-01 15:11 class
-rw-r--r-- 1 root root  256 2011-08-01 15:11 config
-r--r--r-- 1 root root 4096 2011-08-01 15:11 device
lrwxrwxrwx 1 root root0 2011-08-01 15:11 driver -
../../../../bus/pci/drivers/8139too
-rw--- 1 root root 4096 2011-08-01 15:19 enable
-r--r--r-- 1 root root 4096 2011-08-01 15:11 irq
-r--r--r-- 1 root root 4096 2011-08-01 15:19 local_cpus
-r--r--r-- 1 root root 4096 2011-08-01 15:19 modalias
-rw-r--r-- 1 root root 4096 2011-08-01 15:19 msi_bus
lrwxrwxrwx 1 root root0 2011-08-01 15:19 net:eth2 -
../../../../class/net/eth2
drwxr-xr-x 2 root root0 2011-05-12 10:47 power
-r--r--r-- 1 root root 4096 2011-08-01 15:11 resource
-rw--- 1 root root  256 2011-08-01 15:19 resource0
-rw--- 1 root root  256 2011-08-01 15:19 resource1
lrwxrwxrwx 1 root root0 2011-08-01 15:19 subsystem - ../../../../bus/pci
-r--r--r-- 1 root root 4096 2011-08-01 15:19 subsystem_device
-r--r--r-- 1 root root 4096 2011-08-01 15:19 subsystem_vendor
-rw-r--r-- 1 root root 4096 2011-08-01 15:19 uevent
-r--r--r-- 1 root root 4096 2011-08-01 15:11 vendor


So, you an see a file named 'net:eth2', so I expect it would show up
as eth2, absent any udev renaming or aliasing rules.

-- 
:wq



Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Grant
  My laptop's
 r8169 eth0 appears under ifconfig even when there's no ethernet cable
 attached.  That's the expected behavior isn't it?

 Sure; ifconfig will even tell you if the link is up or down. Just
 because the link is down doesn't mean the interface isn't there. :)

 I see eth0 under ifconfig on my laptop but not on my desktop.
 Strangely, on my desktop eth0 does appear under iwconfig (no wireless
 extensions).  dmesg pertaining to eth0 and r8169 looks normal.  lspci
 -v says:

 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
 Express Gigabit Ethernet controller
 ...
 Kernel driver in use: r8169

 But no eth0 under ifconfig.

 Time to go for a walk in /sys, to find out more information.

 Check out /sys/bus/pci/devices

 Now, with lspci, a NIC will look something like this:
 01:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
 RTL-8139/8139C/8139C+ (rev 10)

 If I look under /sys/bus/pci/devices, I'll see a corresponding
 directory (compare the first column from the lspci output):
 :01:08.0

I have:

# lspci
...
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

# ls /sys/bus/pci/devices
:00:00.0  :00:0a.0  :00:13.0  :00:14.3  :00:15.1
:00:18.1  :01:05.0  :04:00.0
:00:01.0  :00:11.0  :00:13.2  :00:14.4  :00:16.0
:00:18.2  :01:05.1
:00:04.0  :00:12.0  :00:14.0  :00:14.5  :00:16.2
:00:18.3  :02:00.0
:00:09.0  :00:12.2  :00:14.1  :00:15.0  :00:18.0
:00:18.4  :03:00.0

# ls /sys/bus/pci/devices/:04:00.0
broken_parity_status  device irqmsi_bus  reset
 resource2_wc  subsystem_device  vpd
class dma_mask_bits  local_cpulist  net
resource   resource4 subsystem_vendor
configdriver local_cpus remove
resource0  resource4_wc  uevent
consistent_dma_mask_bits  enable modalias   rescan
resource2  subsystem vendor

So I guess I'm missing net:eth0 in that last one?

It's a nearly brand new motherboard:

http://www.newegg.com/Product/Product.aspx?Item=N82E16813128490

Maybe the r8169 driver hasn't caught up?

- Grant


 If I run 'ls' in that directory, I see:

 -rw-r--r-- 1 root root 4096 2011-08-01 15:19 broken_parity_status
 lrwxrwxrwx 1 root root    0 2011-08-01 15:19 bus - ../../../../bus/pci
 -r--r--r-- 1 root root 4096 2011-08-01 15:11 class
 -rw-r--r-- 1 root root  256 2011-08-01 15:11 config
 -r--r--r-- 1 root root 4096 2011-08-01 15:11 device
 lrwxrwxrwx 1 root root    0 2011-08-01 15:11 driver -
 ../../../../bus/pci/drivers/8139too
 -rw--- 1 root root 4096 2011-08-01 15:19 enable
 -r--r--r-- 1 root root 4096 2011-08-01 15:11 irq
 -r--r--r-- 1 root root 4096 2011-08-01 15:19 local_cpus
 -r--r--r-- 1 root root 4096 2011-08-01 15:19 modalias
 -rw-r--r-- 1 root root 4096 2011-08-01 15:19 msi_bus
 lrwxrwxrwx 1 root root    0 2011-08-01 15:19 net:eth2 -
 ../../../../class/net/eth2
 drwxr-xr-x 2 root root    0 2011-05-12 10:47 power
 -r--r--r-- 1 root root 4096 2011-08-01 15:11 resource
 -rw--- 1 root root  256 2011-08-01 15:19 resource0
 -rw--- 1 root root  256 2011-08-01 15:19 resource1
 lrwxrwxrwx 1 root root    0 2011-08-01 15:19 subsystem - ../../../../bus/pci
 -r--r--r-- 1 root root 4096 2011-08-01 15:19 subsystem_device
 -r--r--r-- 1 root root 4096 2011-08-01 15:19 subsystem_vendor
 -rw-r--r-- 1 root root 4096 2011-08-01 15:19 uevent
 -r--r--r-- 1 root root 4096 2011-08-01 15:11 vendor


 So, you an see a file named 'net:eth2', so I expect it would show up
 as eth2, absent any udev renaming or aliasing rules.

 --
 :wq



Re: [gentoo-user] make oldconfig necessary?

2011-08-01 Thread Michael Orlitzky
On 08/01/2011 12:00 PM, kashani wrote:
 On 7/31/2011 7:06 PM, Pandu Poluan wrote:
 Let's say I have a .config from an older kernel version (for example,
 2.6.38), and now I want to install a newer kernel (let's say, 3.0).

 Is it necessary to first do `make oldconfig`, or is it safe to go
 directly to `make menuconfig`?
 
 Necessary to run make old config? No.
 
 Easier and simpler most of the time? Yes.
 

Use oldconfig. Running 'oldconfig' will prompt you for any new
sections/drivers that have appeared since your last kernel. Running
'menuconfig' will silently accept all of the defaults for these new options.

Why is it safer if only the new stuff gets defaulted? Because on more
than one occasion, there has been a group of drivers, e.g. wireless
chipsets, that got a new enable anything option. So while you may have
had your Atheros chipset enabled in the old kernel, the new kernel has a
enable wireless networking option that defaults to no despite the
fact that your old kernel had one or more wireless chipsets enabled.

This also happened with the entire SATA subsystem, resulting in at least
one extra trip to the office for me. I'm not bitter, though.



Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 4:13 PM, Grant emailgr...@gmail.com wrote:
 # ls /sys/bus/pci/devices/:04:00.0
 broken_parity_status      device         irq            msi_bus  reset
     resource2_wc  subsystem_device  vpd
 class                     dma_mask_bits  local_cpulist  net
 resource   resource4     subsystem_vendor
 config                    driver         local_cpus     remove
 resource0  resource4_wc  uevent
 consistent_dma_mask_bits  enable         modalias       rescan
 resource2  subsystem     vendor

 So I guess I'm missing net:eth0 in that last one?

Looks that way.


 It's a nearly brand new motherboard:

 http://www.newegg.com/Product/Product.aspx?Item=N82E16813128490

 Maybe the r8169 driver hasn't caught up?

I dunno; you said it worked in 2.6.36, but not in 2.6.38 and 2.6.39,
so that sounds like a regression. I don't know where you'd go from
here. Possibly contact the group that maintains the driver.

If you do that, then they'd probably find it helpful if you checked to
see if 2.6.37 worked; that'd let them narow things down a bit. Also,
they'd likely find the relevant lines from lspci -vv useful.

-- 
:wq



Re: [gentoo-user] Choosing wired or wireless at boot time

2011-08-01 Thread Canek Peláez Valdés
2011/8/1 José Romildo Malaquias j.romi...@gmail.com:
 Hello.

 I have two network interfaces on my notebook: one wired (eth0) and one
 wireless (wlan0). I am running ~amd64 on it.

 I want two gentoo boot entries in grub: one (the default softlevel)
 which starts wired networking (and not wireless), and another that
 starts the wireless network (and not the wired).

 For the later I have created a new softlevel named wireless, with all
 services from default, except net.eth0. The default has net.eth0, but
 not net.wlan0. Booting with default works as expected, but booting with
 wireless starts both interfaces.

 In /etc/rc.conf I have the lines:

  rc_depend_strict=NO
  rc_hotplug=!net*

 Any clues?

This is for a laptop? Do you use a desktop environment? If that's the
case, why don't you use NetworkManager or ConnMan, and forget about
having to do black script magic to set up your network dynamically?

I'm genuinely curious, I just want to understand why someone would go
through the pain of something like this, when there are several tools
already that just work automatically.

In my laptop I use NetworkManager, and besides I suspend all the time.
I've been in five different countries the last month and a half, and
I've been connecting to different networks all the time (wireless and
wired), and NetworkManager just works. I don't have to do anything,
just plug the ethernet cable or select the wireless network, set the
WEP/WPA key, and that's it.

Maybe you have a really wild or weird use case, but then I'm really
curious: Why do you want yo set up a different softlevel just to
change between wired and wireless networks?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] Re: make oldconfig necessary?

2011-08-01 Thread Grant Edwards
On 2011-08-01, Michael Orlitzky mich...@orlitzky.com wrote:

 Use oldconfig. Running 'oldconfig' will prompt you for any new
 sections/drivers that have appeared since your last kernel. Running
 'menuconfig' will silently accept all of the defaults for these new
 options.

 Why is it safer if only the new stuff gets defaulted? Because on more
 than one occasion, there has been a group of drivers, e.g. wireless
 chipsets, that got a new enable anything option. So while you may
 have had your Atheros chipset enabled in the old kernel, the new
 kernel has a enable wireless networking option that defaults to
 no despite the fact that your old kernel had one or more wireless
 chipsets enabled.

 This also happened with the entire SATA subsystem,

Been there, tripped over that. ;)

I didn't pay close enough attention when running make oldconfig and
suddenly no hard-drives with the new kernel.  It took me an
embarassingly long time to figure out what had gone wrong...

-- 
Grant Edwards   grant.b.edwardsYow! Did an Italian CRANE
  at   OPERATOR just experience
  gmail.comuninhibited sensations in
   a MALIBU HOT TUB?




[gentoo-user] Re: Openoffice being replaced?

2011-08-01 Thread Grant Edwards
On 2011-08-01, BRM bm_witn...@yahoo.com wrote:

 I would say switch to LibreOffice and don't look back. :)
 
  I wouldn't. While LibreOffice may have some advances at the moment,
  I'm still interested in following main-line OOo - now being setting
  under Apache.
 
 So you don't use the gentoo OOo ebuilds?? AFAICT, they're a lot closer
 to being libreoffice than to being mainline OOo.
 
  Please do not force us to convert from OO to LO.
 
 If you use the gentoo ebuilds, then you mostly already have.
 Gentoo OOo? = OOo + Go-Oo
 LibreOffice = OOo + Go-Oo

 There's other stuff in LibreOffice too. But I'd still much rather be
 using OOo than LibreOffice.

 And I'd rather drop the GO-OOo patches, but I don't think there's an
 option for that in emerge.

Not that I've noticed.

 I have no problem with separate installs for each, but there will be
 those (like me) that want the official OO installs.
 
 But, what you get using the Gentoo ebuilds isn't the official OOo
 install. If you're running official OOo, then youre not using the
 Gentoo ebuilds, so why do you care what those ebuilds produce?
 
 One of the things I like about LibreOffice is the reduced
 dependancies. Even with the gnome USE flag turned off, OOo pulls in
 some big gnome dependancies that I don't want.? WTF does an office
 suite need libgweather?

 And I'm sure the Apache OO guys will fix that in due time as well.

 All I'm saying is that I want to stick with the Apache OOo in the
 long run, not LibreOffice.

And what I'm saying is that if you're using the Gentoo ebuilds, you
abandoned official OOo a long time ago and are already a ways down the
road that LO is taking.

If you want to stick with Apache OOo, that's cool.

However, the old OOo ebuilds were a long ways from the official branch
of OOo before LO came along. So, for people who want to stick with
Apache OOo, it doesn't matter that the old OOo ebuilds are being
dropped.

 Users can switch to the LibreOffice install if they desire, but
 there's no reason for force those that want to continue with OOo to
 move over.

I'm not saying they should be forced to, but it seems like they're
fooling themselves if they think that the old Gentoo OOo ebuilds were
closer to official OOo than to LO.  That's probably why the old OOo
ebuilds are being dropped -- they're mostly redundant now that LO has
come along and incorporated GoOo patches.

-- 
Grant Edwards   grant.b.edwardsYow! I wish I was on a
  at   Cincinnati street corner
  gmail.comholding a clean dog!




Re: [gentoo-user] Choosing wired or wireless at boot time

2011-08-01 Thread Mick
On Monday 01 Aug 2011 21:38:41 Canek Peláez Valdés wrote:
 2011/8/1 José Romildo Malaquias j.romi...@gmail.com:
  Hello.
  
  I have two network interfaces on my notebook: one wired (eth0) and one
  wireless (wlan0). I am running ~amd64 on it.
  
  I want two gentoo boot entries in grub: one (the default softlevel)
  which starts wired networking (and not wireless), and another that
  starts the wireless network (and not the wired).
  
  For the later I have created a new softlevel named wireless, with all
  services from default, except net.eth0. The default has net.eth0, but
  not net.wlan0. Booting with default works as expected, but booting with
  wireless starts both interfaces.
  
  In /etc/rc.conf I have the lines:
  
   rc_depend_strict=NO
   rc_hotplug=!net*
  
  Any clues?
 
 This is for a laptop? Do you use a desktop environment? If that's the
 case, why don't you use NetworkManager or ConnMan, and forget about
 having to do black script magic to set up your network dynamically?
 
 I'm genuinely curious, I just want to understand why someone would go
 through the pain of something like this, when there are several tools
 already that just work automatically.
 
 In my laptop I use NetworkManager, and besides I suspend all the time.
 I've been in five different countries the last month and a half, and
 I've been connecting to different networks all the time (wireless and
 wired), and NetworkManager just works. I don't have to do anything,
 just plug the ethernet cable or select the wireless network, set the
 WEP/WPA key, and that's it.
 
 Maybe you have a really wild or weird use case, but then I'm really
 curious: Why do you want yo set up a different softlevel just to
 change between wired and wireless networks?

sys-apps/ifplugd will bring up eth0 only if a cable is plugged in.

-- 
Regards,
Mick


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


[gentoo-user] KMail, multiple accounts and separate folders

2011-08-01 Thread Kristian Poul Herkild
Hi there.

Thunderbird has a setting to create multiple mail accounts with separate
mailfolder-hiearachy (inbox, draft, outbox, sent, trash) for each account
instead of putting all mails in the same folder hierachy (as does
Evolution in
Gnome). Does anybody know where to find that or an identical setting in
KMail?

So far the solutions I've seen of separating mail accounts in KMail have
been identical to those of separating mail accounts in Evolution (e.g.
blend
all the mails together in one big box and then manually create filters to
more
or less succesfully move them to subfolders within the same folder
hierachy).

Filter-based solutions are not wanted, since they do not work when people
are
sending the same mail to several of my accounts (one folder will receive
multiple copies, and other folders will not receive the copies relevant to
them).

Kind regards,
Kristian Poul Herkild





Re: [gentoo-user] Re: make oldconfig necessary?

2011-08-01 Thread Peter Humphrey
On Monday 01 August 2011 17:58:18 David W Noon wrote:

 The make menuconfig will silently do a make oldconfig on the
 existing .config file before it puts the menu on the screen.  This
 means that the options in the menu hierarchy will reflect the options
 that were in your old .config file, with newer features [i.e. not in the
 earlier kernel] set to defaults.

...and flagged with (NEW) so you can see them.

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



Re: [gentoo-user] KMail, multiple accounts and separate folders

2011-08-01 Thread Alan McKinnon
On Mon 01 August 2011 23:11:39 Kristian Poul Herkild did opine thusly:
 Hi there.
 
 Thunderbird has a setting to create multiple mail accounts with
 separate mailfolder-hiearachy (inbox, draft, outbox, sent, trash)
 for each account instead of putting all mails in the same folder
 hierachy (as does Evolution in
 Gnome). Does anybody know where to find that or an identical setting
 in KMail?
 
 So far the solutions I've seen of separating mail accounts in
 KMail have been identical to those of separating mail accounts in
 Evolution (e.g. blend
 all the mails together in one big box and then manually create
 filters to more
 or less succesfully move them to subfolders within the same folder
 hierachy).
 
 Filter-based solutions are not wanted, since they do not work when
 people are
 sending the same mail to several of my accounts (one folder will
 receive multiple copies, and other folders will not receive the
 copies relevant to them).

You'll probably get better answers over at the kdepim-user list:

https://mail.kde.org/mailman/listinfo/kdepim-users



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] KMail, multiple accounts and separate folders

2011-08-01 Thread Peter Humphrey
On Monday 01 August 2011 22:11:39 Kristian Poul Herkild wrote:

 Thunderbird has a setting to create multiple mail accounts with separate
 mailfolder-hiearachy (inbox, draft, outbox, sent, trash) for each account
 instead of putting all mails in the same folder hierachy (as does
 Evolution in Gnome). Does anybody know where to find that or an identical
 setting in KMail?

If the accounts are POP3 you're offered a choice of destination folder. If 
they're IMAP they live in a separate hierarchy. Settings  Configure Kmail  
Accounts  Add/Modify etc.

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



[gentoo-user] Listing partition labels

2011-08-01 Thread Andrew Lowe

Greetings all,
	I'm probably in the situation where I can't see the wood for the trees 
so a bit of help would be appreciated. I've decided to go the LABEL 
route in fstab and have set the labels on my partitions a few days ago. 
I now want to update fstab but can't remember the names. I can't find a 
command that will list the partitions and the names I've given them. I'm 
sure fdisk does not list them when I do just fdisk at the command 
prompt, but then again as I said above, I think I'm in the wood/forest 
mode at the moment. Any idea on the command?


Any thoughts greatly appreciated,
Andrew



Re: [gentoo-user] Listing partition labels

2011-08-01 Thread Michael Mol
On Mon, Aug 1, 2011 at 10:12 PM, Andrew Lowe a...@wht.com.au wrote:
 Greetings all,
        I'm probably in the situation where I can't see the wood for the
 trees so a bit of help would be appreciated. I've decided to go the LABEL
 route in fstab and have set the labels on my partitions a few days ago. I
 now want to update fstab but can't remember the names. I can't find a
 command that will list the partitions and the names I've given them. I'm
 sure fdisk does not list them when I do just fdisk at the command prompt,
 but then again as I said above, I think I'm in the wood/forest mode at the
 moment. Any idea on the command?

file -s /dev/sda
file -s /dev/sda1

I tend to use UUID, which you can figure out by poking around
/dev/disk/by-uuid and looking where the symlinks point.

-- 
:wq



Re: [gentoo-user] Listing partition labels

2011-08-01 Thread Albert W. Hopkins


On Tuesday, August 2 at 10:12 (+0800), Andrew Lowe said:

 Greetings all,
   I'm probably in the situation where I can't see the wood for the trees 
 so a bit of help would be appreciated. I've decided to go the LABEL 
 route in fstab and have set the labels on my partitions a few days ago. 
 I now want to update fstab but can't remember the names. I can't find a 
 command that will list the partitions and the names I've given them. I'm 
 sure fdisk does not list them when I do just fdisk at the command 
 prompt, but then again as I said above, I think I'm in the wood/forest 
 mode at the moment. Any idea on the command?
   Andrew
 
 /sbin/blkid




Re: [gentoo-user] r8169 unable to apply firmware patch

2011-08-01 Thread Adam Carter
IIRC
'ifconfig -a' will show interfaces that are physically present, and
the driver available.
'ifconfig' will only show those interfaces that are also activated or
up, which means configured up - nothing to do with link.

I'm not sure what RUNNING means... perhaps that indicates link (for
ethernet at least)?



Re: [gentoo-user] Listing partition labels

2011-08-01 Thread Mark Knecht
On Mon, Aug 1, 2011 at 7:12 PM, Andrew Lowe a...@wht.com.au wrote:
 Greetings all,
        I'm probably in the situation where I can't see the wood for the
 trees so a bit of help would be appreciated. I've decided to go the LABEL
 route in fstab and have set the labels on my partitions a few days ago. I
 now want to update fstab but can't remember the names. I can't find a
 command that will list the partitions and the names I've given them. I'm
 sure fdisk does not list them when I do just fdisk at the command prompt,
 but then again as I said above, I think I'm in the wood/forest mode at the
 moment. Any idea on the command?

        Any thoughts greatly appreciated,
                Andrew

If they are EXT filesystems then try e2label.

HTH,
Mark



Re: [gentoo-user] Listing partition labels

2011-08-01 Thread Bill Longman
On Aug 1, 2011 7:13 PM, Andrew Lowe a...@wht.com.au wrote:

 Greetings all,
I'm probably in the situation where I can't see the wood for the
trees so a bit of help would be appreciated. I've decided to go the LABEL
route in fstab and have set the labels on my partitions a few days ago. I
now want to update fstab but can't remember the names. I can't find a
command that will list the partitions and the names I've given them. I'm
sure fdisk does not list them when I do just fdisk at the command prompt,
but then again as I said above, I think I'm in the wood/forest mode at the
moment. Any idea on the command?


tune2fs -l /dev/sda1


Re: [gentoo-user] Listing partition labels

2011-08-01 Thread Dale

Andrew Lowe wrote:

Greetings all,
I'm probably in the situation where I can't see the wood for the 
trees so a bit of help would be appreciated. I've decided to go the 
LABEL route in fstab and have set the labels on my partitions a few 
days ago. I now want to update fstab but can't remember the names. I 
can't find a command that will list the partitions and the names I've 
given them. I'm sure fdisk does not list them when I do just fdisk 
at the command prompt, but then again as I said above, I think I'm in 
the wood/forest mode at the moment. Any idea on the command?


Any thoughts greatly appreciated,
Andrew




Well, cfdisk shows them if you want to do it drive by drive.  I think 
blkid is the best so far.  I just wanted to mention cfdisk as yet one 
more option.


I wish cfdisk would let you set a label tho.  That would be neato.

Dale

:-)  :-)