[gentoo-user] Why still no firefox 3.0.11 for amd64

2009-06-20 Thread Konstantinos Agouros
Hi,

did somebody forget to remove the ~?

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



[gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Konstantinos Agouros
Hi,

I have a box that serves as a firewall and thus has different NICs.
However when booting I run into a problem:

One of the NICs needs the de4x5 driver another the tulip one. Udev
loads tulip first, which then tries to claim the card the needs de4x5
but this does not work. So I have to manually set things straight after-
wards. Is there a way to force it to first load de4x5 and then tulip?
/etc/modules.autoload.d seems to be used too late.

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 07:33:38 schrieb Mike Kazantsev:
 On Fri, 19 Jun 2009 22:15:12 -0600

 Maxim Wexler maxim.wex...@gmail.com wrote:
  Seems if I add the commands:
 
  vgscan --mknodes
  vgchange -a y
  mount -a
 
  to /etc/conf.d/bootmisc and add it to the boot runlevel, the eee boots
  to a coherent system BUT not before going through LVM failure, errors,
  inability to find volumes etc through many console lines until just
  after the line:
 
  *Configuring kernel parameters...
 
  comes
 
  Reading all physical volumes. This may take a while...
  Found volume group vg using metadata type lvm2
  5 logical volume(s) in volume group vg now active
  ...
 
  And everything is fine after that. So it looks like a question of
  timing, of executing bootmisc or something like it earlier, say just
  after loading dm-mod and dm-crypt and just before the line in the
  console:
 
  *Setting up the Logical Volume Manager...
 
  When it all starts to fall apart.
 
  FWIW I'm using baselayout-2.

 I've had such problem in the past, even filed the bug:

   http://bugs.gentoo.org/show_bug.cgi?id=255237

 For me, the problem was that device-mapper initscript started after
 lvm.

 I believe there's after device-mapper line already in lvm-2.02.45, so
 it should run fine, but as an additional precaution I have dm-crypt
 script at sysinit runlevel, which starts device-mapper and dm-crypt
 before lvm or even it's runlevel (boot).

That's not needed, it should be sufficient to have them all in the boot 
runlevel:

# ll /etc/runlevels/boot
insgesamt 0
lrwxrwxrwx 1 root root 20 28. Dez 14:02 bootmisc - /etc/init.d/bootmisc*
lrwxrwxrwx 1 root root 25 12. Apr 08:58 device-mapper - /etc/init.d/device-
mapper*
lrwxrwxrwx 1 root root 19 12. Apr 08:59 dmcrypt - /etc/init.d/dmcrypt*
lrwxrwxrwx 1 root root 16 28. Dez 13:53 fsck - /etc/init.d/fsck*
lrwxrwxrwx 1 root root 20 28. Dez 14:02 hostname - /etc/init.d/hostname*
lrwxrwxrwx 1 root root 19 28. Dez 14:02 hwclock - /etc/init.d/hwclock*
lrwxrwxrwx 1 root root 19 28. Dez 17:20 keymaps - /etc/init.d/keymaps*
lrwxrwxrwx 1 root root 22 28. Dez 14:02 localmount - /etc/init.d/localmount*
lrwxrwxrwx 1 root root 15 12. Apr 08:58 lvm - /etc/init.d/lvm*
lrwxrwxrwx 1 root root 19 28. Dez 14:02 modules - /etc/init.d/modules*
lrwxrwxrwx 1 root root 16 28. Dez 13:53 mtab - /etc/init.d/mtab*
lrwxrwxrwx 1 root root 18 28. Dez 14:02 net.lo - /etc/init.d/net.lo*
lrwxrwxrwx 1 root root 18 28. Dez 13:53 procfs - /etc/init.d/procfs*
lrwxrwxrwx 1 root root 16 28. Dez 13:53 root - /etc/init.d/root*
lrwxrwxrwx 1 root root 16 28. Dez 13:53 swap - /etc/init.d/swap*
lrwxrwxrwx 1 root root 18 28. Dez 14:02 sysctl - /etc/init.d/sysctl*
lrwxrwxrwx 1 root root 24 28. Dez 14:02 termencoding - 
/etc/init.d/termencoding*
lrwxrwxrwx 1 root root 19 28. Dez 14:02 urandom - /etc/init.d/urandom*

 It makes sense for me, since some lvm pv's (not root) are actually on
 encrypted partitions, although I mount these even earlier, but should
 initrd become incompatible w/ latest kernel, dm-crypt should do the job
 instead.

No, it does not make sense. You don't even need an initrd.

 Guess you can do the same, at least if you don't have dm-crypt
 mappings, or you can try adding device-mapper to sysinit level directly.

As said above, it's not not needed. Maybe it's better to investigate wether 
there are any leftovers from baselayout 1 in the runlevels. This was at least 
the reason I got an unbootable system after switching to bl 2.

HTH...

Dirk


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


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 09:06:51 schrieb Konstantinos Agouros:
 Hi,

 I have a box that serves as a firewall and thus has different NICs.
 However when booting I run into a problem:

 One of the NICs needs the de4x5 driver another the tulip one. Udev
 loads tulip first, which then tries to claim the card the needs de4x5
 but this does not work. So I have to manually set things straight after-
 wards. Is there a way to force it to first load de4x5 and then tulip?
 /etc/modules.autoload.d seems to be used too late.

You can let udev assign persistant names to your network interfaces.

# cat /etc/udev/rules.d/10-local.rules
KERNEL==eth*, ATTRS{address}==00:1c:25:1a:ee:0c, NAME=lan0
KERNEL==wlan*, ATTRS{address}==00:1e:4c:37:39:41, NAME=wlan0

Then create the appropriate symlinks for them in /etc/init.d.

HTH...

Dirk


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


[gentoo-user] Re: Why still no firefox 3.0.11 for amd64

2009-06-20 Thread Nikos Chantziaras

On 06/20/2009 10:04 AM, Konstantinos Agouros wrote:

Hi,

did somebody forget to remove the ~?


Yep, you.

echo =www-client/mozilla-firefox-3.0.11  /etc/portage/package.keywords


;-)




Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Mike Kazantsev
On Sat, 20 Jun 2009 09:08:05 +0200
Dirk Heinrichs dirk.heinri...@online.de wrote:

  I believe there's after device-mapper line already in lvm-2.02.45, so
  it should run fine, but as an additional precaution I have dm-crypt
  script at sysinit runlevel, which starts device-mapper and dm-crypt
  before lvm or even it's runlevel (boot).
 
 That's not needed, it should be sufficient to have them all in the boot 
 runlevel:

So LVM would start before dmcrypt? Great.


  It makes sense for me, since some lvm pv's (not root) are actually on
  encrypted partitions, although I mount these even earlier, but should
  initrd become incompatible w/ latest kernel, dm-crypt should do the job
  instead.
 
 No, it does not make sense. You don't even need an initrd.

I do, but mainly for other purposes.
Mounting encrypted partitions from there is a bonus and while root is
not encrypted (although it doesn't even holds most configuration
from /etc) it is an LVM volume.
Can linux boot from lvm root w/o initrd these days?


-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dale
Dirk Heinrichs wrote:
 Am Samstag 20 Juni 2009 09:06:51 schrieb Konstantinos Agouros:
   
 Hi,

 I have a box that serves as a firewall and thus has different NICs.
 However when booting I run into a problem:

 One of the NICs needs the de4x5 driver another the tulip one. Udev
 loads tulip first, which then tries to claim the card the needs de4x5
 but this does not work. So I have to manually set things straight after-
 wards. Is there a way to force it to first load de4x5 and then tulip?
 /etc/modules.autoload.d seems to be used too late.
 

 You can let udev assign persistant names to your network interfaces.

 # cat /etc/udev/rules.d/10-local.rules
 KERNEL==eth*, ATTRS{address}==00:1c:25:1a:ee:0c, NAME=lan0
 KERNEL==wlan*, ATTRS{address}==00:1e:4c:37:39:41, NAME=wlan0

 Then create the appropriate symlinks for them in /etc/init.d.

 HTH...

   Dirk
   

Could he not just build the modules into the kernel and then not have to
worry about the loading at all?  Heck, the only module I use is nvidia
but it is not a in kernel option.

Just a though.  He may have a reason for using modules.

Dale

:-)  :-) 



Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Neil Bothwick
On Sat, 20 Jun 2009 09:25:49 +0200, Dirk Heinrichs wrote:

  One of the NICs needs the de4x5 driver another the tulip one. Udev
  loads tulip first, which then tries to claim the card the needs de4x5
  but this does not work. So I have to manually set things straight
  after- wards. Is there a way to force it to first load de4x5 and then
  tulip? /etc/modules.autoload.d seems to be used too late.  
 
 You can let udev assign persistant names to your network interfaces.

I thought that,but reading the question again, I don't think the problem
is naming, but the wrong driver claiming the card. I think the
solution may be to set rc_hotplug=!net.* in /etc/conf.d/rc then the
modules will load in the order given in autoload.

Or check the modules' documentation for options that will control which
cards they attach themselves to, which would be a cleaner solution.


-- 
Neil Bothwick

File not found. Should I fake it? (Y/N)


signature.asc
Description: PGP signature


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 09:37:24 schrieb Mike Kazantsev:

 Dirk Heinrichs dirk.heinri...@online.de wrote:
   I believe there's after device-mapper line already in lvm-2.02.45, so
   it should run fine, but as an additional precaution I have dm-crypt
   script at sysinit runlevel, which starts device-mapper and dm-crypt
   before lvm or even it's runlevel (boot).
 
  That's not needed, it should be sufficient to have them all in the boot
  runlevel:

 So LVM would start before dmcrypt? Great.

Yes.

   It makes sense for me, since some lvm pv's (not root) are actually on
   encrypted partitions, although I mount these even earlier, but should
   initrd become incompatible w/ latest kernel, dm-crypt should do the job
   instead.
 
  No, it does not make sense. You don't even need an initrd.

 I do, but mainly for other purposes.

Which?

 Mounting encrypted partitions from there is a bonus and while root is
 not encrypted (although it doesn't even holds most configuration
 from /etc) it is an LVM volume.

 Can linux boot from lvm root w/o initrd these days?

Yes, it always could. As long as /boot is a separate partition one can put the 
same stuff into it. Much simpler to setup.

Bye...

Dirk


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


Re: [gentoo-user] Problem with the graphic card

2009-06-20 Thread Ward Poelmans
On Fri, Jun 19, 2009 at 17:50, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:

 However (but maybe I've understood wrong), it says that I have to define
 that variable only if I want to use the old xf86-video-i810 name. If I don't
 define that, I should use the new name (xf86-video-intel).
 Do I get any improvement using the old one (and, is that a good idea?) ?

No, it says you should set that variable regardless of what driver you use.

Ward



Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 09:42:43 schrieb Dale:
 Could he not just build the modules into the kernel and then not have to
 worry about the loading at all?  Heck, the only module I use is nvidia
 but it is not a in kernel option.

That doesn't prevent the order from changing with a different kernel version.

 Just a though.  He may have a reason for using modules.

Which one? Usually a firewall usually needs the NICs right after booting, so 
using modules doesn't make sense.

Bye...

Dirk


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


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 10:06:37 schrieb Neil Bothwick:

 I thought that,but reading the question again, I don't think the problem
 is naming, but the wrong driver claiming the card.

Naming makes the order irrelevant.

Bye...

Dirk


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


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 11:06:19 schrieb Dirk Heinrichs:
 Am Samstag 20 Juni 2009 10:06:37 schrieb Neil Bothwick:
  I thought that,but reading the question again, I don't think the problem
  is naming, but the wrong driver claiming the card.

 Naming makes the order irrelevant.

And, again, we're talking about a firewall. Giving meaningfull names to the 
NICs (for example: intranet, extranet) could also make the fw rules more 
readable.

Bye...

Dirk


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


[gentoo-user] Can not start compiz-fusion

2009-06-20 Thread Dan Johansson
I had some time on my hands and decided to try compiz-fusion.
When I try to start compiz-manager I get the following:

$ compiz-manager
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0422 (rev a1) (prog-if 00 [VGA 
controller])
05:00.0 0300: 10de:0422 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: not present.
aborting and using fallback: /usr/bin/metacity
no /usr/bin/metacity found, exiting

The Xgl: not present is because I'm running Xorg (x11-base/xorg-x11-7.2)
The thing that really strikes me is Checking for Composite extension: not 
present.. What I can see I have Composite enabled:

$ grep -i Composite /var/log/Xorg.0.log
(**) Extension Composite is enabled
(**) NVIDIA(0): Option AllowGLXWithComposite true
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(**) NVIDIA(1): Option AllowGLXWithComposite true
(II) Initializing built-in extension COMPOSITE


And this is a part of xorg.conf:
8
Section Extensions
Option Composite Enable
EndSection
8

I have two nVidia GeForce 8400 GS Cards installed in this box:
# lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400 GS] 
(rev a1)
05:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400 GS] 
(rev a1)

Any suggestions on how to solve this?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Neil Bothwick
On Sat, 20 Jun 2009 11:06:19 +0200, Dirk Heinrichs wrote:

  I thought that,but reading the question again, I don't think the
  problem is naming, but the wrong driver claiming the card.  
 
 Naming makes the order irrelevant.

True, but, depending on how you interpret the original question, it cold
also mean that the wrong driver claiming the card means the interface
doesn't come up. It all depends on how you interpret this doesn't work,
which isn't the most useful of descriptions.

If it is simply a naming problem, then udev persistent names are the
best solution, but I'm not sure that's the problem.

Perhaps the OP could clarify what is going wrong.


-- 
Neil Bothwick

After a few years in space, even Worf started to look good...


signature.asc
Description: PGP signature


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Mike Kazantsev
On Sat, 20 Jun 2009 11:01:33 +0200
Dirk Heinrichs dirk.heinri...@online.de wrote:

 Am Samstag 20 Juni 2009 09:37:24 schrieb Mike Kazantsev:
 
  Dirk Heinrichs dirk.heinri...@online.de wrote:
I believe there's after device-mapper line already in lvm-2.02.45, so
it should run fine, but as an additional precaution I have dm-crypt
script at sysinit runlevel, which starts device-mapper and dm-crypt
before lvm or even it's runlevel (boot).
  
   That's not needed, it should be sufficient to have them all in the boot
   runlevel:
 
  So LVM would start before dmcrypt? Great.
 
 Yes.

No, because encrypted partitions hold LVM volumes as well.


It makes sense for me, since some lvm pv's (not root) are actually on
encrypted partitions, although I mount these even earlier, but should
initrd become incompatible w/ latest kernel, dm-crypt should do the job
instead.
  
   No, it does not make sense. You don't even need an initrd.
 
  I do, but mainly for other purposes.
 
 Which?

Keeping my mini-distro there, which I use as instant-boot router w/o
mounting anything.
Why not keep it on /boot, separate partition or separate initrd?
I do, each with a bit different setup and purpose.


  Mounting encrypted partitions from there is a bonus and while root is
  not encrypted (although it doesn't even holds most configuration
  from /etc) it is an LVM volume.
 
  Can linux boot from lvm root w/o initrd these days?
 
 Yes, it always could. As long as /boot is a separate partition one can put 
 the 
 same stuff into it. Much simpler to setup.

Simplier to setup prehaps, but I find it simplier to keep my initrds
contents in git branches w/ one-click build and deploy script, which I
find simplier to maintain than ten different paths under /boot.

But this goes completely offtopic. It's not like I seek suggestions for
my setup, it works perfectly already.


-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 12:48:03 schrieb Neil Bothwick:

 True, but, depending on how you interpret the original question, it cold
 also mean that the wrong driver claiming the card means the interface
 doesn't come up. It all depends on how you interpret this doesn't work,
 which isn't the most useful of descriptions.

Hmm, a driver usually only claims hardware it's written for.

 Perhaps the OP could clarify what is going wrong.

Yes, indeed.

Bye...

Dirk


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


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 13:56:51 schrieb Mike Kazantsev:

   So LVM would start before dmcrypt? Great.
 
  Yes.

 No, because encrypted partitions hold LVM volumes as well.

Well, the usual way is to encrypt LVs, so LVM mut be first. Gentoo support's 
this scheme as default. If you decide to do it different, then of course you'll 
need to start dmcrypt first and put it into sysinit. But since it's not the 
usual way, it's also not the best proposal for everyone.

Bye...

Dirk


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


Re: [gentoo-user] /usr/kde/3.5/lib/ and /usr/lib

2009-06-20 Thread Daniel D Jones
On Friday 19 June 2009 03:40:08 Alan McKinnon wrote:
 On Friday 19 June 2009 02:09:21 Daniel D Jones wrote:
  I'm getting lots of errors like the following:
 
  * ERROR: app-office/karbon-1.6.2 failed.
   * Call stack:
   *   ebuild.sh, line   49:  Called src_unpack
   * environment, line 4471:  Called kde-meta_src_unpack
  'unpack' * environment, line 3153:  Called die
   * The specific snippet of code:
   *   die Can't find library ${libname} under
  ${PREFIX}/$(get_libdir)/;
   *  The die message:
   *   Can't find library libkopainter under /usr/kde/3.5/lib/
 
  The missing library is under /usr/lib/ rather than /usr/kde/3.5/lib/
 
  If I create a symlink to the lib under /usr/kde/3.5/lib/, that line
  passes but if fails on another library.  I'd like to find out why the lib
  is in a different place from where it's expected and fix the problem
  rather than patch the issue with lots of symlinks.  Is this a
  misconfiguration on my system?

 Definitely something wrong on your box.
 KDE-3.5 libs always go in /usr/kde/3.5/lib
 KDE-4 libs go in /usr/lib or /usr/kde/4/lib depending on your
 USE=kdeprefix

 Symlinks are not likely to work, as karbon-1.6.2 wants to build against
 KDE-3.5 stuff.

 Lets start with your make.conf and emerge --info plus eix kdelibs

Thanks for the response.  Requested info follows.

ROOT / # cat /etc/make.conf
CFLAGS=-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2

USE=widescreen -gnome offensive slang unicode mozdevelop kde kdecards \
 xinerama opengl X arts avi live matroska mpeg ogg vorbis real \
 theora xanim aac sdl xv dvd dvdnav dvdread 3dnow 3dnow2 mmx \
 mmx2 mmxext sse 3dnowext a52 svg glitz truetype type1 alsa mp3 \
 jpeg png curl gif gtk dbus -qt3 qt4 vesa wind32codecs \
 -firefox mikmod cairo xulrunner oss esd mysql webkit glib xcb spell \
 mng -sse2 useithreads encode

VIDEO_CARDS=radeon

INPUT_DEVICES=keyboard mouse



ROOT / # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 
2.6.26-gentoo-r4 i686)
=   
 
System uname: Linux-2.6.26-gentoo-r4-i686-AMD_Athlon-tm-
_64_X2_Dual_Core_Processor_6000+-with-glibc2.0
Timestamp of tree: Sat, 20 Jun 2009 06:00:01 +  
  
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.5.4-r2
dev-util/cmake:  2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d 
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d 
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks fixpackages parallel-fetch protect-owned sandbox sfperms 
strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
LDFLAGS=-Wl,-O1
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --
compress --force --whole-file --delete --stats --timeout=180 --
exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=3dnow 3dnow2 3dnowext X a52 aac acl alsa arts avi berkdb bzip2 cairo cli 
cracklib crypt cups curl dbus dri dvd dvdnav dvdread encode esd fortran gdbm 
gif glib glitz gpm gtk iconv ipv6 isdnlog jpeg kde kdecards live matroska midi 
mikmod mmx mmx2 mmxext mng mozdevelop mp3 mpeg mudflap mysql ncurses nls nptl 
nptlonly offensive ogg opengl openmp oss pam pcre perl png pppd python qt4 
readline reflection sdl session slang spell spl sse ssl svg sysfs tcpd theora 
truetype type1 unicode useithreads vesa vorbis webkit widescreen wind32codecs 
x86 xanim xcb xinerama xorg xulrunner xv zlib ALSA_CARDS=ali5451 als4000 
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio 
via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix 
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear 
meter mmap_emul 

Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Konstantinos Agouros
In 200906201106.19482.dirk.heinri...@online.de dirk.heinri...@online.de (Dirk 
Heinrichs) writes:

--nextPart7888557.vBO4LPOhks
Content-Type: text/plain;
  charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Am Samstag 20 Juni 2009 10:06:37 schrieb Neil Bothwick:

 I thought that,but reading the question again, I don't think the problem
 is naming, but the wrong driver claiming the card.

Naming makes the order irrelevant.
How so?

In this case it is eth1 which doesn't work if tulip is loaded before de4x5.
I also do not think that building the modules in the kernel gives me any
control over the order in which they are discovered.

Regads,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] uvesafb will not work on my dell d820 laptop?

2009-06-20 Thread Ian Lee

John covici wrote:

Hi.  I have a Dell Latitude D820 laptop and for the life of me, I
can't get uvesafb to work.  There are no messages, I just get the 25
lines by 80 column screen.  I emerged clib, and v86d and made sure my
.config had /usr/share/v86d/initramfs as the initramfs source, and I
have uvesafb built in to the kernel.  My boot time command line
arguments to lilo are:
init=/linuxrc ramdisk=8192 real_root=/dev/sda5 udev
video=uvesafb:1024x768 speakup.synth=spkout
(all on one line in the original).

Attached is my emerge --info and my kernel config -- assistance would
be appreciated.






According to you kernel config, uvesafb is not built in to the kernel, 
but as a module. Try building it in to the kernel and not as a module.



Ian



Re: [gentoo-user] uvesafb will not work on my dell d820 laptop?

2009-06-20 Thread John covici
on Saturday 06/20/2009 Ian Lee(i...@leehouse.eclipse.co.uk) wrote
  John covici wrote:
   Hi.  I have a Dell Latitude D820 laptop and for the life of me, I
   can't get uvesafb to work.  There are no messages, I just get the 25
   lines by 80 column screen.  I emerged clib, and v86d and made sure my
   .config had /usr/share/v86d/initramfs as the initramfs source, and I
   have uvesafb built in to the kernel.  My boot time command line
   arguments to lilo are:
   init=/linuxrc ramdisk=8192 real_root=/dev/sda5 udev
   video=uvesafb:1024x768 speakup.synth=spkout
   (all on one line in the original).
   
   Attached is my emerge --info and my kernel config -- assistance would
   be appreciated.
   
   
   
   
   
   
  According to you kernel config, uvesafb is not built in to the kernel, 
  but as a module. Try building it in to the kernel and not as a module.
  
OK, thought it was built in, will try again -- thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 18:10:20 schrieb Konstantinos Agouros:
 Naming makes the order irrelevant.

 How so?

Because you no longer have eth0 and eth1 which may be one or the other NIC 
depending on module load order or in which order the kernel discovers the 
NICs.

Look at my example rules again: Each interface is identified by its MAC address 
and given a unique name. Since the MAC addresses never change, the names will 
also stay the same, regardless of module loading order or interface discovery 
order.

HTH...

Dirk


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


Re: [gentoo-user] How to nail the order of modules loaded

2009-06-20 Thread Neil Bothwick
On Sat, 20 Jun 2009 16:10:20 + (UTC), Konstantinos Agouros wrote:

 In this case it is eth1 which doesn't work if tulip is loaded before
 de4x5. 

As previously requested,please try to be a bit more specific than
doesn't work.

 I also do not think that building the modules in the kernel
 gives me any control over the order in which they are discovered.

It does if you build one into the kernel. But this is a kludge, depending
on the meaning of doesn't work, either a udev rule or module options
should handle this cleanly.


-- 
Neil Bothwick

How do a fool and his money GET together?


signature.asc
Description: PGP signature


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Maxim Wexler
 Guess you can do the same, at least if you don't have dm-crypt
 mappings, or you can try adding device-mapper to sysinit level directly.


 Here's my boot sequence (from rc.log):


   rc sysinit logging started at Fri Jun 12 04:24:55 2009

No good. rc-update shows udev, devfs, dmesg, device-mapper in sysinit
runlevel. But the word 'sysinit' doesn't appear even once in the
entire rc.log. Another clue?


FWIW I stopped dm-crypt from being loaded to test whether I really
need it. Makes no difference.

mw



Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Maxim Wexler
 As said above, it's not not needed. Maybe it's better to investigate wether
 there are any leftovers from baselayout 1 in the runlevels. This was at

How?

 least
 the reason I got an unbootable system after switching to bl 2.


I upgraded to bl-2 to avoid this problem but it didn't help. The
system boots but is crippled until the vgs are mounted by hand.

mw



Re: [gentoo-user] Umlaut trouble in filenames

2009-06-20 Thread Mick
On Friday 19 June 2009, Alex Schuster wrote:
 Volker Armin Hemmann writes:
  On Donnerstag 18 Juni 2009, Alex Schuster wrote:
   I have lang=de_de.u...@euro set now, before it was unset. Those umlaut
 
  btw
  use either de...@euro or de_DE.UTF8

 Oh, thanks.

 I got this setting from the gentoo localization guide (the google cache
 still shows that version), which now suggests using LANG=de_DE.UTF-8
 UTF-8 - any idea why the second UTF-8 would be necessary? It's described
 in the german version only. I have it set to de_DE.UTF8 now.

I think that the localization guide refers to /etc/locale.gen which uses the 
format:

locale charmap

So, de_DE.UTF-8 is the locale (as shown in /usr/share/i18n/locales/) and UTF-8 
is the character map (as shown in /usr/share/i18n/charmaps/).
-- 
Regards,
Mick


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


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 21:14:35 schrieb Maxim Wexler:
  Guess you can do the same, at least if you don't have dm-crypt
  mappings, or you can try adding device-mapper to sysinit level directly.
 
 
  Here's my boot sequence (from rc.log):
 
 
rc sysinit logging started at Fri Jun 12 04:24:55 2009

 No good. rc-update shows udev, devfs, dmesg, device-mapper in sysinit
 runlevel.

device-mapper is wrong, there.

# ll /etc/runlevels/sysinit
insgesamt 0
lrwxrwxrwx 1 root root 17 28. Dez 14:03 devfs - /etc/init.d/devfs*
lrwxrwxrwx 1 root root 17 28. Dez 14:03 dmesg - /etc/init.d/dmesg*
lrwxrwxrwx 1 root root 16 28. Dez 17:09 udev - /etc/init.d/udev*

It belongs into boot, together with dmcrypt and lvm.

Bye...

Dirk


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


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 21:23:29 schrieb Maxim Wexler:
  As said above, it's not not needed. Maybe it's better to investigate
  wether there are any leftovers from baselayout 1 in the runlevels. This
  was at

 How?

You could start by comparing the contents of the bl2 and openrc packages with 
what you really have the directories they install their files into.

Bye...

Dirk


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


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 22:26:31 schrieb Dirk Heinrichs:
 Am Samstag 20 Juni 2009 21:23:29 schrieb Maxim Wexler:
   As said above, it's not not needed. Maybe it's better to investigate
   wether there are any leftovers from baselayout 1 in the runlevels. This
   was at
 
  How?

 You could start by comparing the contents of the bl2 and openrc packages
 with what you really have the directories they install their files into.

You could also look into /usr/share/openrc/runlevels/, which shows the default 
state of /etc/runlevels.

Bye...

Dirk


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


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Dirk Heinrichs
Am Samstag 20 Juni 2009 22:23:58 schrieb Dirk Heinrichs:
  No good. rc-update shows udev, devfs, dmesg, device-mapper in sysinit
  runlevel.

 device-mapper is wrong, there.

After reading your initial post in this thread again, that explains the 
problem. You have dm-crypt and dm-mod compiled as modules. Module loading is 
the first thing to happen in the boot runlevel. But the sysinit runlevel is 
executed before the boot runlevel. That means, when your device-mapper init 
script runs, it doesn't even have its module loaded.

So you should really put device-mapper into the boot runlevel. And btw, why do 
compile things as modules which you need in any case? Doesn't make sense to 
me.

Bye...

Dirk


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


[gentoo-user] Mouse artifact in Xorg

2009-06-20 Thread Mick
Hi All,

I have not been able to capture a screenshot and I am not sure how to describe 
this problem well, but here it goes.

If I exit xorg and then get back into it, on occasions there is a 17.5mm 
square shaded artifact showing up where the mouse is.  The cursor itself is 
located at the top left hand side of the square.  The square is 
semi-transparent with 4 horizontal brighter lines interspersed with dark 
lines.  Moving the mouse around across different windows and the desktop 
eventually makes it disappear.

I thought that this was a fluxbox/xorg incompatibility issue on my laptop - 
but it seems that the same problem happens on a desktop which is running kdm 
and kde.  I just about recall another thread on this in the last couple of 
months, but failed to find it just now.

Have you noticed anything similar?  Any way I could fix it?

I am running:

2.6.29-gentoo-r5
x11-base/xorg-x11-7.2
x11-wm/fluxbox-1.0.0-r2
-- 
Regards,
Mick


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


Re: [gentoo-user] lvm problem -- is timing?

2009-06-20 Thread Maxim Wexler
 So you should really put device-mapper into the boot runlevel. And btw, why
 do
 compile things as modules which you need in any case? Doesn't make sense to
 me.


I put device-mapper into the boot runlevel. I re-compiled the kernel
with dm-mod=*, dm_crypt=*, mmc_block=* and rebooted.

No change.

Near the start of boot messages this appears:

*Setting up the Logical Volume Manager
Locking type 1 initilisation failed.

There follows a couple of screenfuls of self-abuse then

*ERROR: lvm failed to start.

Followed by fsck.ext2 complaining it can't read the volumes,
naturally, since they're are'nt mounted.

a screenful or two of this then

* Some local filesystems failed to mount

La di da

Then

*Configuring kernel parameters...

Finally the volumes are found and mounted and the login appears. All
seems normal except that under /etc/init.d  depscan.sh and
runscript.sh are flashing white on red indicating that they now point
to nothing. And whatever else I haven't spotted yet.

mw



[gentoo-user] how to build xen kernel with genkernel 3.4.10?

2009-06-20 Thread David Shen
Hi,

According to gentoo bug #120236, genkernel will not directly support
build xen kernel. Does this means I will have to apply the patch in
the bug whenever I want to build my xen kernel with genkernel? My
system is build on LVM, so I need genkernel to build the start up
script to active LVM. Is there a better way to build xen kernel with
genkernel?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84