Re: [gentoo-user] touchpad can't scroll

2008-03-30 Thread Chuanwen Wu
On Fri, Mar 28, 2008 at 4:28 PM, Mick [EMAIL PROTECTED] wrote:

 On Friday 28 March 2008, Chuanwen Wu wrote:
   Hi,
  
 You should change your server-layout to something like
   
 Section ServerLayout
Identifier Layout0
Screen Screen1
InputDeviceKeyboard1 CoreKeyboard
InputDeviceTouchpad CorePointer
Option  AIGLX true
 EndSection
  
   I have changed it, but after I restart X, I found it doesn't work, yet.

  This is what I have in mine under ServerLayout:
  ===
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
   InputDeviceMouse1 AlwaysCore
  ===

  And this is what I have under InputDevice:
  ===
  Section InputDevice
 Identifier  Mouse0
 Driver  synaptics
 Option  Protocol SynPS/2
 Option  InputFashion Mouse

 Option  Device /dev/input/mice
 Option  Name SynPS/2 Synaptics TouchPad
 Option  SHMConfig on
 Option  Vendor 0002
 Option  ZAxisMapping  4 5
 Option  Emulate3Buttons   True
 Option  Buttons   3
  EndSection

  Section Input Device
 Identifier  Mouse1
 Driver  mouse
 Option  Protocol IMPS/2
 Option  InputFashion Mouse

 Option  Device /dev/input/mice
 Option  Name GenPS/2 Genius Mouse
 Option  Vendor 0002
 Option  ZAxisMapping  4 5
 Option  Emulate3Buttons   False
 Option  Buttons   9
  EndSection
  ===


  So, you may want to replace your /dev/input/mouse1 for mice and see if that
  fixes things.
Still can't fix the problem.

  --
  Regards,
  Mick




-- 
wcw
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] touchpad can't scroll

2008-03-30 Thread Mick
On Sunday 30 March 2008, Chuanwen Wu wrote:
 On Fri, Mar 28, 2008 at 4:28 PM, Mick [EMAIL PROTECTED] wrote:

   So, you may want to replace your /dev/input/mouse1 for mice and see if
  that fixes things.

 Still can't fix the problem.

Hmm, what does xorg.0.log spit back out?  I assume that you have all the 
necessary built in your kernel and or emerged (e.g. 
x11-drivers/xf86-input-evdev)?

-- 
Regards,
Mick


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


Re: [gentoo-user] Cryptfs

2008-03-30 Thread Dirk Heinrichs
Am Samstag, 29. März 2008 schrieb Florian Philipp:

 My goal is to open a Luks-mapping for /var with a gpg-encrypted file
 on /boot and then open a mapping for /var/tmp with a plaintext file
 on /var.

See below. But while we're at it, can anybody tell me what's the advantage of 
a gpg-encrypted keyfile over a keyfile generated from /dev/urandom?

 I thought it would work with the following settings:

 /etc/conf.d/cryptfs

It's /etc/conf.d/dmcrypt nowadays.

 target=var
 source='/dev/mapper/vg-crypt_var'
 key='/boot/key.gpg:gpg'

 target=var_tmp
 source='/dev/mapper/vg-crypt_var_tmp'
 key='/var/lib/tmp_key'


 I've read the warning in /etc/conf.d/cryptfs about /usr on a separate
 partition and followed their advice.

Which warning, btw.? Works just fine here.

 However, the setup doesn't work. I'm not asked for the passphrase, the
 mappings are not created. What did I forget?

That the mappings are created all in one go before anything is mounted, so you 
can't put the keyfile for /var into /boot. The only thing that would work is 
to put the keyfile on the root fs, because that's the only one that is 
mounted when the mappings are created, like:

target='c-usr'
source='/dev/evms/usr'
key='/etc/crypt/keyfile'

Bye...

Dirk


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


[gentoo-user] Re: Boot Gentoo to clean windows

2008-03-30 Thread Francesco Talamona
On Saturday 29 March 2008, Stroller wrote:
 Thanks! I'll look into PING. The documentation on PING's homepage  
 seems a little scanty, but I'm sure a Google will be a bit more  
 forthcoming.

It's very easy to use, I found a pdf somewhere that described it in few 
pages.

 There are a couple of reasons I appreciate copying on a file-by-file
   basis - I don't know if PING would allow me the same flexibility.

Sure it won't. You provide plenty of examples...
While reading them I remembered dar  kdar but it seems the latter is no 
more actively mantained. And anyway not a solution for windows users if 
you want to let them to take a bit of care of themselves.

An option is to shrink the old disk to a secondary partition and leave 
it on the same disk, but again having another partition isn't the best 
for end users: it's easier to claim back space without specializer 
tools if everything's is just a folder away.

Ciao
Francesco
-- 
Linux Version 2.6.24-gentoo-r3, Compiled #1 PREEMPT Thu Feb 28 22:23:31 
CET 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.90 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-30 Thread Etaoin Shrdlu
On Saturday 29 March 2008, 19:53, Stroller wrote:

 One of my biggest bugbears against reinstalling is drivers. Dell 
 Sony are wonderful! You just enter the tag or model number on their
 website and the correct drivers are listed. Advent - and here, in the
 UK, other brands of computer which are only available exclusively
 from PC World - can be a royal PITA, and once every month or two I
 encounter a machine for which it takes HOURS to find the correct
 drivers for all devices.

Ok, this is going /way/ OT already, however, speaking of windows driver 
recovery, drivergrabber and drivermax (just google a bit to find them) 
have helped me *a lot* in the past, especially with old or esoteric 
hardare. 
Hope this helps.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cryptfs

2008-03-30 Thread Florian Philipp

On Sun, 2008-03-30 at 09:50 +0200, Dirk Heinrichs wrote:
 Am Samstag, 29. März 2008 schrieb Florian Philipp:
 
  My goal is to open a Luks-mapping for /var with a gpg-encrypted file
  on /boot and then open a mapping for /var/tmp with a plaintext file
  on /var.
 
 See below. But while we're at it, can anybody tell me what's the advantage of 
 a gpg-encrypted keyfile over a keyfile generated from /dev/urandom?

Keys for urandom work great for /tmp and swap but how should I use this
for a partition which is supposed to keep its content between reboots?

 
  I thought it would work with the following settings:
 
  /etc/conf.d/cryptfs
 
 It's /etc/conf.d/dmcrypt nowadays.

Interesting, why is there no hint that cryptfs is deprecated/obsolete?

 
  target=var
  source='/dev/mapper/vg-crypt_var'
  key='/boot/key.gpg:gpg'
 
  target=var_tmp
  source='/dev/mapper/vg-crypt_var_tmp'
  key='/var/lib/tmp_key'
 
 
  I've read the warning in /etc/conf.d/cryptfs about /usr on a separate
  partition and followed their advice.
 
 Which warning, btw.? Works just fine here.
 

# Note when using gpg keys and /usr on a separate partition, you will
# have to copy /usr/bin/gpg to /bin/gpg so that it will work properly
# and ensure that gpg has been compiled statically.
# See http://bugs.gentoo.org/90482 for more information.


  However, the setup doesn't work. I'm not asked for the passphrase, the
  mappings are not created. What did I forget?
 
 That the mappings are created all in one go before anything is mounted, so 
 you 
 can't put the keyfile for /var into /boot. The only thing that would work is 
 to put the keyfile on the root fs, because that's the only one that is 
 mounted when the mappings are created, like:
 
 target='c-usr'
 source='/dev/evms/usr'
 key='/etc/crypt/keyfile'
 
 Bye...
 
   Dirk

Thanks, I'll try it.


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


[gentoo-user] MythTV ebuild reports the wrong video cards - I think

2008-03-30 Thread Andrew Lowe

Hi all,
	I'm in the process of installing MythTV on a VIA Epia motherboard I 
have and have come across something that's causing me a bit of concern.


I do an:

emerge --pretend mythtv

and have a look at the output. Amongst all of the new/updated packages 
there is the line for the MythTV build:


[ebuild  N] media-tv/mythtv-0.21_p16658  USE=aac alsa dvb dvd mmx 
opengl perl python vorbis xvmc (-altivec) -autostart -dbox2 -debug 
-directv -hdhomerun -ieee1394 -iptv -ivtv -jack -joystick -lcd -lirc 
-opengl-video -opengl-xvmc VIDEO_CARDS=via -nvidia


The problem/concern revolves around the VIDEO_CARDS variable. In my 
make.conf I have this set to:


VIDEO_CARDS=openchrome fbdev via

Now my concern is if the make.conf values for VIDEO_CARD are going to 
supercede the values from the ebuild - I had a look in the ebuild and 
that's where the via -nvidia come from. I'm concerned that my use of 
OpenChrome won't be used. Do I have cause for concern or will it all 
sort itself out in the wash and eventually I'll end up with a MythTV 
that will use OpenChrome as the driver?


Any thoughts, greatly appreciated,

Andrew
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cryptfs

2008-03-30 Thread Dirk Heinrichs
Am Sonntag, 30. März 2008 schrieb Florian Philipp:

 On Sun, 2008-03-30 at 09:50 +0200, Dirk Heinrichs wrote:
  Am Samstag, 29. März 2008 schrieb Florian Philipp:
   My goal is to open a Luks-mapping for /var with a gpg-encrypted file
   on /boot and then open a mapping for /var/tmp with a plaintext file
   on /var.
 
  See below. But while we're at it, can anybody tell me what's the
  advantage of a gpg-encrypted keyfile over a keyfile generated from
  /dev/urandom?

 Keys for urandom work great for /tmp and swap but how should I use this
 for a partition which is supposed to keep its content between reboots?

See my example below.

  Which warning, btw.? Works just fine here.

 # Note when using gpg keys and /usr on a separate partition, you will
 # have to copy /usr/bin/gpg to /bin/gpg so that it will work properly
 # and ensure that gpg has been compiled statically.
 # See http://bugs.gentoo.org/90482 for more information.

Ah, I see. Since I don't use gpg it doesn't matter to me.

  target='c-usr'
  source='/dev/evms/usr'
  key='/etc/crypt/keyfile'

Bye...

Dirk


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


[gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Alan McKinnon
Hi,

I think I screwed up :-(   Sorry about post length, there's a lot of 
error output. (If I need to, I have a 2005.0 stage 3 with an old 
compiler. If this can't be easily fixed, I reckon I could 
mount/chroot/quickpkg gcc and install it on the host)

While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare 
quickpkg I had of it. Now virtual/libstdc++ needs it and the build 
fails with the error: 

configure: error: can only configure for one host and one target at a 
time


My system compiler is gcc-4.2.3:
 Installed versions:  4.2.3(4.2)(10:35:08 19/02/08)(doc gtk mudflap 
openmp -altivec -bootstrap -build -fortran -gcj -hardened -ip28 -ip32r10k 
-libffi -multilib -multislot -n32 -n64 -nls -nocxx -objc -objc++ -objc-gc -test 
-vanilla)


USE for gcc-3.3.6-r1 looks like so:
[ebuild  NS   ] sys-devel/gcc-3.3.6-r1  USE=doc 
(-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk 
(-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) 
(-n64) -nls -nocxx -nopie -nossp -objc -test -vanilla 0 kB


(trimmed) emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, 
glibc-2.7-r2, 2.6.24-gentoo-r3 i686)
=
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 
2.20GHz
Timestamp of tree: Tue, 25 Mar 2008 21:30:01 +
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python: 2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS=x86 ~x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium4 -pipe
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/kde/4.0/env /usr/kde/4.0/share/config 
/usr/kde/4.0/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf 
/etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-O2 -march=pentium4 -pipe
DISTDIR=/var/distfiles
FEATURES=distlocks metadata-transfer parallel-fetch sandbox sfperms 
strict unmerge-orphans userfetch userpriv usersandbox
GENTOO_MIRRORS=/mnt/distfiles http://distfiles.gentoo.org 
http://www.ibiblio.org/pub/Linux/distributions/gentoo;
LANG=en_GB.UTF-8
LC_ALL=en_GB.UTF-8
LINGUAS=en_US
MAKEOPTS=-j3
PKGDIR=/var/packages
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=/var/portage
PORTDIR_OVERLAY=/var/portage/local/layman/enlightenment 
/var/portage/local/layman/sunrise /var/portage/local/layman/mozilla 
/var/portage/local/alan
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X a52 aac aalib acl acpi adns aiglx alsa apache2 audiofile 
bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib 
crypt css cups curl curlwrappers cvs dbus dga dri dts dv dvb dvd dvdr 
dvdread emboss encode exif expat fam ffmpeg firefox flac fontconfig 
foomaticdb ftp gd gdbm gif gimp glitz glut gnuplot gnutls gpm gtk 
gtkhtml hal hddtemp iconv icq id3tag ieee1394 imagemagick imap imlib 
ipod isdnlog jabber java javascript jbig jce jpeg jpeg2k kde keyring 
lcms ldap lesstif libc_glibc libcaca libg++ libnotify libsamplerate 
libsndfile libwww lm_sensors mad maildir matroska mbox mcal midi mikmod 
milter mime mmx mng motif mp3 mp4 mpeg mtp mudflap mysql mysqli ncurses 
netboot nfs nptl nsplugin odbc offensive ogg openal opengl openmp pam 
pango pcmcia pcre pdf perl php plotutils pmu png posix postgres ppds 
pppd profile python qt3 qt3support qt4 quicktime readline real 
reflection samba sasl scanner sdl session slp sms spell spl sqlite 
sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysvipc 
tcl tcltk tcpd tetex theora threads tiff tk truetype udev unicode usb 
utempter vcd vim-syntax vorbis wifi win32codecs wmf wxwindows x264 x86 
xattr xcomposite xine xinerama xinetd xml xorg xosd xpm xulrunner xv 
xvid xvmc zeroconf zlib ALSA_CARDS=intel8x0 intel8x0m 


Error output:
 Compiling source 
in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6 ...
 * CFLAGS=-O2 -march=pentium4 -pipe
 * CXXFLAGS=-O2 -march=pentium4 -pipe
 * Configuring gcc ...
 * running gcc-compiler-configure
 * configuring for GCC_LANG: c,c++,treelang

 * PREFIX:  /usr
 * BINPATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.6
 * LIBPATH: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6
 * DATAPATH:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
 * 
STDCXX_INCDIR:   /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3


Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Rudmer van Dijk
Hi,

On Sunday 30 March 2008, Alan McKinnon wrote:
 I think I screwed up :-(   Sorry about post length, there's a lot of
 error output. (If I need to, I have a 2005.0 stage 3 with an old
 compiler. If this can't be easily fixed, I reckon I could
 mount/chroot/quickpkg gcc and install it on the host)

 While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare
 quickpkg I had of it. Now virtual/libstdc++ needs it and the build

but do you really, really need it?
virtual/libstdc++ depends on sys-libs/libstdc++-v3, sys-libs/libstdc++-v3-bin 
or gcc-3. you will need either one of those.

I have installed on ~amd64 the combination virtual/libstdc++ with 
sys-libs/libstdc++-v3 and that works fine.


Rudmer
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cryptfs

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 09:50:47 +0200, Dirk Heinrichs wrote:

  However, the setup doesn't work. I'm not asked for the passphrase, the
  mappings are not created. What did I forget?  
 
 That the mappings are created all in one go before anything is mounted,
 so you can't put the keyfile for /var into /boot. The only thing that
 would work is to put the keyfile on the root fs, because that's the
 only one that is mounted when the mappings are created, like:

You can if you add

pre_mount=mount /dev/mapper/boot /boot

to the boot stanza of dmcrypt, it forces the filesystem to be mounted
immediately.

I ue a variant of this, where keys are stored on a dedicated partition.
The pre_mount and post_mount (which unmounts the filesystem) ensure that 
the keys are only visible for as long as it takes to mount the other
filesystems.


-- 
Neil Bothwick

Thesaurus: ancient reptile with an excellent vocabulary


signature.asc
Description: PGP signature


Re: [gentoo-user] MythTV ebuild reports the wrong video cards - I think

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 19:09:53 +0800, Andrew Lowe wrote:

   I'm in the process of installing MythTV on a VIA Epia
 motherboard I have and have come across something that's causing me a
 bit of concern.

 [ebuild  N] media-tv/mythtv-0.21_p16658  USE=aac alsa dvb dvd mmx 
 opengl perl python vorbis xvmc (-altivec) -autostart -dbox2 -debug 
 -directv -hdhomerun -ieee1394 -iptv -ivtv -jack -joystick -lcd -lirc 
 -opengl-video -opengl-xvmc VIDEO_CARDS=via -nvidia
 
 The problem/concern revolves around the VIDEO_CARDS variable. In my 
 make.conf I have this set to:
 
 VIDEO_CARDS=openchrome fbdev via

openchrome is not a recognised value for VIDEO_CARDS, use via but install
the openchrome drivers and all will be well. There were some problems
with the mythtv build process and openchrome but these have been resolved
now. Make sure you install the openchrome drivers before mythtv.


-- 
Neil Bothwick

If I want your opinion, I'll ask you to fill out the necessary form.


signature.asc
Description: PGP signature


Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 13:59:48 +0200, Alan McKinnon wrote:

 While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare 
 quickpkg I had of it. Now virtual/libstdc++ needs it and the build 
 fails with the error: 

It doesn't need gcc-3.3, but that it the default it tries to install if
none of the providers of this are available. Install
sys-libs/libstdc++-v3 instead and the virtual will be happy.

I'm sure the devs have a good reason for not making sys-libs/libstdc++-v3
the default libstdc++ but /I'm not going to try to guess what it may
be ;-)


-- 
Neil Bothwick

Sects, sects, sects, is that all you monks think about?


signature.asc
Description: PGP signature


[gentoo-user] Upgrade of dhcpcd

2008-03-30 Thread econti
Hi all, yesterday I upgraded dhcpcd, now at boot time I receive this 
message:


err, eth0: Failed to lookup hostname via DNS: Name or service not known

Even so, the IP is correctly assigned by the router.

Could anyone help me to understand? ;-)

Bye
emilio


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Upgrade of dhcpcd

2008-03-30 Thread Rumen Yotov

econti написа:
Hi all, yesterday I upgraded dhcpcd, now at boot time I receive this 
message:


err, eth0: Failed to lookup hostname via DNS: Name or service not known

Even so, the IP is correctly assigned by the router.

Could anyone help me to understand? ;-)

Bye
emilio



Hi,

Look at the new USE-flags, there are two IIRC - zeroconf vram
Specially vram in this case.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Alan McKinnon
On Sunday 30 March 2008, Rudmer van Dijk wrote:
 Hi,

 On Sunday 30 March 2008, Alan McKinnon wrote:
  I think I screwed up :-(   Sorry about post length, there's a lot
  of error output. (If I need to, I have a 2005.0 stage 3 with an old
  compiler. If this can't be easily fixed, I reckon I could
  mount/chroot/quickpkg gcc and install it on the host)
 
  While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare
  quickpkg I had of it. Now virtual/libstdc++ needs it and the build

 but do you really, really need it?
 virtual/libstdc++ depends on sys-libs/libstdc++-v3,
 sys-libs/libstdc++-v3-bin or gcc-3. you will need either one of
 those.

 I have installed on ~amd64 the combination virtual/libstdc++ with
 sys-libs/libstdc++-v3 and that works fine.

ah, that makes sense. I'd actually never really researched what 
libstdc++ even does. If I can get away with -bin, that will be better 
than a complete new gcc

Thanks!

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Alan McKinnon
On Sunday 30 March 2008, Neil Bothwick wrote:
 I'm sure the devs have a good reason for not making
 sys-libs/libstdc++-v3 the default libstdc++ but /I'm not going to try
 to guess what it may be ;-)

Me neither :-) Like I replied to Rudmer, now that I understand what the 
thing actually does, I can make a more sane decision that what I had.

I suppose I'm not the only one here who has it proven to him at least 
once a day just how little he actually knows? ... :-)

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] touchpad can't scroll

2008-03-30 Thread Chuanwen Wu
On Sun, Mar 30, 2008 at 3:19 PM, Mick [EMAIL PROTECTED] wrote:
 On Sunday 30 March 2008, Chuanwen Wu wrote:
   On Fri, Mar 28, 2008 at 4:28 PM, Mick [EMAIL PROTECTED] wrote:


So, you may want to replace your /dev/input/mouse1 for mice and see if
that fixes things.
  
   Still can't fix the problem.

  Hmm, what does xorg.0.log spit back out?  I assume that you have all the
  necessary built in your kernel and or emerged (e.g.
  x11-drivers/xf86-input-evdev)?

I have  CONFIG_INPUT_EVDEV=y in my kernel config.
and have this line:
INPUT_DEVICES=keyboard mouse evdev synaptics
in my make.conf

And the last line in the Xorg.0.log is:

(II) 3rd Button detected: disabling emulate3Button

so, doest it indicate the problem?


Best regards,

-- 
wcw
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Neil Bothwick
On Sat, 29 Mar 2008 20:39:07 + (UTC), Michael Schmarck wrote:

 I don't. I disagree with his most important point: It's no good
 to post as much information as possible. Instead, the amount of
 information posted should be condensed to only the important
 pieces.

You have a problem to which you do not know the solution, so how are you
supposed to know what is important and what is not? The answer is, you
don't, because not knowing the solution means you cannot know for sure
what is relevant and what is not, so err on the side of verbosity.

Of course, none of this really matters as people will be hesitant to
offer any advice in future, no matter how complete your post, because you
have demonstrated a complete lack of civility and respect for those that
you expect to help you.


-- 
Neil Bothwick

WinErr 01E: Timing error - Please wait. And wait. And wait. And wait.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 05:34:38 + (UTC), Michael Schmarck wrote:

 You were not supposed to post such a comment in the first place.

Who dictates that? There is no list moderation except the self-moderation
of the users, an none of them have objected to light-hearted comments by
Alan, or other, in the past. If you don't like a reply, ignore it like an
adult.


-- 
Neil Bothwick

Electrocution, n.:
Burning at the stake with all the modern improvements.


signature.asc
Description: PGP signature


Re: [gentoo-user] Cryptfs

2008-03-30 Thread Dirk Heinrichs
Am Sonntag, 30. März 2008 schrieb Neil Bothwick:
 On Sun, 30 Mar 2008 09:50:47 +0200, Dirk Heinrichs wrote:
   However, the setup doesn't work. I'm not asked for the passphrase, the
   mappings are not created. What did I forget?
 
  That the mappings are created all in one go before anything is mounted,
  so you can't put the keyfile for /var into /boot. The only thing that
  would work is to put the keyfile on the root fs, because that's the
  only one that is mounted when the mappings are created, like:

 You can if you add

 pre_mount=mount /dev/mapper/boot /boot

 to the boot stanza of dmcrypt, it forces the filesystem to be mounted
 immediately.

 I ue a variant of this, where keys are stored on a dedicated partition.
 The pre_mount and post_mount (which unmounts the filesystem) ensure that
 the keys are only visible for as long as it takes to mount the other
 filesystems.

I protect the root fs with a passphrase and all other volumes with a keyfile 
stored in this fs. No need to mount anything (however, I _do_ need an 
initramfs because of this).

Bye...

Dirk


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


Re: [gentoo-user] 2 dispatch-conf questions

2008-03-30 Thread Benedikt Morbach
Hi,

On Wed, Mar 26, 2008 at 6:34 PM, Alex Schuster [EMAIL PROTECTED] wrote:
  Question 2: I also have replace-unmodified=yes, but I often see files that I
  never even looked at before. What about that?

That's because dispatch-conf saves every file it processes in it's
archive directory.
When checking if you modified a file, it compares it to the one in it's archive.
So you have to look at each file at least once, because when it is
changed the first time, dispatch-conf does not have the old version

Benedikt
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] fast CLI package-Changelog viewer

2008-03-30 Thread Andrew Gaydenko
Is there such one?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Dale

Alan McKinnon wrote:
I suppose I'm not the only one here who has it proven to him at least 
once a day just how little he actually knows? ... :-)


  


Nope you are not.   ;-)  Sometimes this happens to me more than once a 
day.  o_O


Dale

:-)  :-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Michael Schmarck
Neil Bothwick neil at digimed.co.uk writes:

 
 On Sun, 30 Mar 2008 05:34:38 + (UTC), Michael Schmarck wrote:
 
  You were not supposed to post such a comment in the first place.
 
 Who dictates that?

I don't know. Ask Alan, as he tries to dictate which post are 
allowed and which not.


Michael

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Alan McKinnon
On Sunday 30 March 2008, Dale wrote:
 Alan McKinnon wrote:
  I suppose I'm not the only one here who has it proven to him at
  least once a day just how little he actually knows? ... :-)

 Nope you are not.   ;-)  Sometimes this happens to me more than once
 a day.  o_O

Dale, Somehow I just knew you'd be first to reply :-)

Ironically, right now I'm preparing to deliver a Red Hat training course 
tomorrow. I *think* I know enough to pull it off now, I had lots of 
practise the last 30 times!


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Michael Schmarck
Neil Bothwick neil at digimed.co.uk writes:

 
 On Sat, 29 Mar 2008 20:39:07 + (UTC), Michael Schmarck wrote:
 
  I don't. I disagree with his most important point: It's no good
  to post as much information as possible. Instead, the amount of
  information posted should be condensed to only the important
  pieces.
 
 You have a problem to which you do not know the solution, so how are you
 supposed to know what is important and what is not?

As it seems, I knew what was not important. Just have a look at the
real root cause of the problem.

 Of course, none of this really matters as people will be hesitant to
 offer any advice in future, no matter how complete your post, because you
 have demonstrated a complete lack of civility and respect for those that
 you expect to help you.

Oh, that's wrong. Alan very much demonstrated that he did not want to
help. Why else would he have posted his snide comment? And if you look
carefully, you'll see that I even treated him respectfully, when he tried
to be helpful. Care to point out where I showed a complete lack of civilty?
And care to point out the civilty in what Alan posted in his (maybe
unintended) flamebait?

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Uwe Thiem
On Sunday 30 March 2008, Alan McKinnon wrote:
 On Sunday 30 March 2008, Dale wrote:
  Alan McKinnon wrote:
   I suppose I'm not the only one here who has it proven to him at
   least once a day just how little he actually knows? ... :-)
 
  Nope you are not.   ;-)  Sometimes this happens to me more than
  once a day.  o_O

 Dale, Somehow I just knew you'd be first to reply :-)

 Ironically, right now I'm preparing to deliver a Red Hat training
 course tomorrow. I *think* I know enough to pull it off now, I had
 lots of practise the last 30 times!

I have been a professional Linux/UNIX system and network administrator 
for more years than I care to remember. Still, there are those 
moments when I do incredibly stupid things - while I am not bone 
tired, drunk or have fallen in love just then. Happens. Fortunately, 
not too often. 

I am with the two of you. ;-)

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] uvesafb fails to work

2008-03-30 Thread Mick
Hi All,

I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and thought 
of using it on a box of mine.  However, amidst other weird and wonderful 
errors that the new kernel gives me on this box, I have completely failed to 
get uvesafb to work.

When it boots up it comes up with these errors:
=
* Setting framebuffer console images
Can't open cfg file //etc/splash/emergence/640x480.cfg
No 8bpp silent picture specified in the theme
No 8bpp verbose picture specified in the theme
* Failed to set background image on tty1
=

Meanwhile the penguins and fonts on the boot console are shown in some 
impossibly large size.  My kernel line is:

kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \ 
video=uvesafb:[EMAIL PROTECTED],ywrap,mtrr:4, \ 
splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
initrd /boot/fbsplash-emergence-1280x1024

Any ideas?
-- 
Regards,
Mick


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


[gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Benyamin Dvoskin
Hi All ,

I've been wondering how one can clone an entire gentoo system and copy it to
another physical machine , while the original system is still running (
means , ghost , acronis and other tools that force me to shutdown the system
are not acceptable )

So , someone told me to try just tar the whole system to the other machine
and untar it there.

The question is how can I do that ? what are the correct attributes and
flags ?

Or maybe someone have other ideas ?

Thanks

Benyamin


Re: [gentoo-user] uvesafb fails to work

2008-03-30 Thread Daniel Pielmeier

Mick schrieb:

Hi All,

I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and thought 
of using it on a box of mine.  However, amidst other weird and wonderful 
errors that the new kernel gives me on this box, I have completely failed to 
get uvesafb to work.


When it boots up it comes up with these errors:
=
* Setting framebuffer console images
Can't open cfg file //etc/splash/emergence/640x480.cfg
No 8bpp silent picture specified in the theme
No 8bpp verbose picture specified in the theme
* Failed to set background image on tty1
=

Meanwhile the penguins and fonts on the boot console are shown in some 
impossibly large size.  My kernel line is:


kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \ 
video=uvesafb:[EMAIL PROTECTED],ywrap,mtrr:4, \ 
splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1

initrd /boot/fbsplash-emergence-1280x1024

Any ideas?


Just a shot in the dark are you using any kind of tv-out?

I had this problem with tv-out. I specified a resolution of 1280x1024. 
When I connect my tv to my box the maximal resolution possible is 
1024x768 because the tv-encoder does not offer higher resolutions. So 
instead of switching to the next greatest resolution of 1024x768 the 
uvesafb driver switches to smallest resolution of 640x480. This 
resolution is not available in the emergence theme thus the splash fails!


If you have a problem like this there are existing patches whto the 
kernel which are fixing this issue!


What does cat /sys/devices/platform/uvesafb.0/vbe_modes say?

Regards,

Daniel
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Hal Martin
Benyamin Dvoskin wrote:
 Hi All ,

 I've been wondering how one can clone an entire gentoo system and copy
 it to another physical machine , while the original system is still
 running ( means , ghost , acronis and other tools that force me to
 shutdown the system are not acceptable )

 So , someone told me to try just tar the whole system to the other
 machine and untar it there.
It is possible, that I know, but it is also difficult.

 The question is how can I do that ? what are the correct attributes
 and flags ?
You cannot use tar unless you create an exclude file, as it will copy
the contents of /dev and /sys, which means the entire contents of RAM,
and anything that is currently being generated by your devices will be
copied as well.

Personally, I would use either tar or rsync to do this, however, in
saying that, I have never actually done this with a live system. This is
the tar command I use for copying inactive systems, and it works quite well.

(cd /mnt/source; tar cfpl - .) | (cd /mnt/dest; tar xfp -)

I assume you could just generate an exclude file, and include that in
the first command ('tar cfpl - .') and it *should* work for you.

The other way would be to use rsync, which I have less experience using,
but should do the job.

rsync -avHp --progress / /mnt/dest/

There's a space between / and /mnt/dest, just incase that's unclear...

 Or maybe someone have other ideas ?
Again, you'd have to find a way to exclude /dev /sys, and probably
another directory or two too, but again, I don't really have any
experience copying a live system. I'm sure other learned people on this
list will have lots of useful suggestions for you!

 Thanks

 Benyamin
-Hal
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Michal 'vorner' Vaner
Hello

On Sun, Mar 30, 2008 at 10:29:39PM +0300, Benyamin Dvoskin wrote:
 I've been wondering how one can clone an entire gentoo system and copy it to
 another physical machine , while the original system is still running (
 means , ghost , acronis and other tools that force me to shutdown the system
 are not acceptable )
 
 So , someone told me to try just tar the whole system to the other machine
 and untar it there.

rsync is usually faster, as it reads the first one and writes to the
second one at the same time. You should read its' man page, there are
nice things like '-x' flag (so it copies only one filesystem and does
not enter sub-filesystems, like dev and)

As it uses ssh by default, you need only sshd on the remote server and
you can tweak thinks like compression while transferring.

-- 
All flame and insults will go to /dev/null (if they fit)

Michal 'vorner' Vaner


pgpJAfTajkT6S.pgp
Description: PGP signature


Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 15:48:54 -0400, Hal Martin wrote:

 You cannot use tar unless you create an exclude file, as it will copy
 the contents of /dev and /sys, which means the entire contents of RAM,
 and anything that is currently being generated by your devices will be
 copied as well.
 
 Personally, I would use either tar or rsync to do this, however, in
 saying that, I have never actually done this with a live system. This is
 the tar command I use for copying inactive systems, and it works quite
 well.
 
 (cd /mnt/source; tar cfpl - .) | (cd /mnt/dest; tar xfp -)
 
 I assume you could just generate an exclude file, and include that in
 the first command

You don't need an exclude file to avoid /dev and /sys because they are on
separate filesystems, so  your use of -l takes care of this.

Rsync may work, or it may complain that files have changed between
building the list and copying them and you'd need to use -x to do the
same as -l with tar. Either way, shut down as many services as possible
during the copy, particularly anything that uses databases.


-- 
Neil Bothwick

If you got the words it does not mean you got the knowledge.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 18:39:09 + (UTC), Michael Schmarck wrote:

  You have a problem to which you do not know the solution, so how are
  you supposed to know what is important and what is not?  
 
 As it seems, I knew what was not important. Just have a look at the
 real root cause of the problem.

Isn't hindsight wonderful? You now know what is relevant to the solution
of a problem you did not understand at the time.

  Of course, none of this really matters as people will be hesitant to
  offer any advice in future, no matter how complete your post, because
  you have demonstrated a complete lack of civility and respect for
  those that you expect to help you.  
 
 Oh, that's wrong. Alan very much demonstrated that he did not want to
 help. Why else would he have posted his snide comment? And if you look
 carefully, you'll see that I even treated him respectfully, when he
 tried to be helpful. Care to point out where I showed a complete lack
 of civilty? And care to point out the civilty in what Alan posted in
 his (maybe unintended) flamebait?

This has nothing to do with Alan, (who, incidentally, has demonstrated
his knowledge and willingness to help many times over) ad everything to
do with your attitude. So you found his post unhelpful, well get over it.
Either ignore the post or respond by expressing your views without insult.

You have done yourself no favours.


-- 
Neil Bothwick

RISC: Reduced Into Silly Code


signature.asc
Description: PGP signature


Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Dale

Uwe Thiem wrote:

On Sunday 30 March 2008, Alan McKinnon wrote:
  

On Sunday 30 March 2008, Dale wrote:


Alan McKinnon wrote:
  

I suppose I'm not the only one here who has it proven to him at
least once a day just how little he actually knows? ... :-)


Nope you are not.   ;-)  Sometimes this happens to me more than
once a day.  o_O
  

Dale, Somehow I just knew you'd be first to reply :-)

Ironically, right now I'm preparing to deliver a Red Hat training
course tomorrow. I *think* I know enough to pull it off now, I had
lots of practise the last 30 times!



I have been a professional Linux/UNIX system and network administrator 
for more years than I care to remember. Still, there are those 
moments when I do incredibly stupid things - while I am not bone 
tired, drunk or have fallen in love just then. Happens. Fortunately, 
not too often. 


I am with the two of you. ;-)

Uwe

  


What I hate is when I come here and ask a question then right after 
hitting the send button, I realize it was something stupid I did.  Sort 
of makes me really think before I hit the send button now.  LOL


Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 16:24:47 +0200, Alan McKinnon wrote:

 I suppose I'm not the only one here who has it proven to him at least 
 once a day just how little he actually knows? ... :-)

You're not, plenty of us are married :-)


-- 
Neil Bothwick

I understand the answers, the questions throw me.


signature.asc
Description: PGP signature


Re: [gentoo-user] Cryptfs

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 18:50:59 +0200, Dirk Heinrichs wrote:

  I use a variant of this, where keys are stored on a dedicated
  partition. The pre_mount and post_mount (which unmounts the
  filesystem) ensure that the keys are only visible for as long as it
  takes to mount the other filesystems.  
 
 I protect the root fs with a passphrase and all other volumes with a
 keyfile stored in this fs. No need to mount anything (however, I _do_
 need an initramfs because of this).

That still means your keys are readable all the time, whereas mine
disappear long before the network comes up.


-- 
Neil Bothwick

Remember, it takes 47 muscles to frown
And only 4 to pull the trigger of a sniper rifle


signature.asc
Description: PGP signature


Re: [gentoo-user] uvesafb fails to work

2008-03-30 Thread Matt Edens
I have had problems getting this to work also, but was able to get it
working finally
after being directed to the authors website and following his instructions.
What I
did was get a 2.6.24 kernel working for me fully with no errors then
proceded to follow
spock's instructions to get uvesafb working properly on both my desktop and
laptop.
Hope this gives you what you need to get it working.

Matt

On Sun, Mar 30, 2008 at 2:45 PM, Daniel Pielmeier 
[EMAIL PROTECTED] wrote:

 Mick schrieb:
  Hi All,
 
  I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and
 thought
  of using it on a box of mine.  However, amidst other weird and wonderful
  errors that the new kernel gives me on this box, I have completely
 failed to
  get uvesafb to work.
 
  When it boots up it comes up with these errors:
  =
  * Setting framebuffer console images
  Can't open cfg file //etc/splash/emergence/640x480.cfg
  No 8bpp silent picture specified in the theme
  No 8bpp verbose picture specified in the theme
  * Failed to set background image on tty1
  =
 
  Meanwhile the penguins and fonts on the boot console are shown in some
  impossibly large size.  My kernel line is:
 
  kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \
  video=uvesafb:[EMAIL PROTECTED],ywrap,mtrr:4, \
  splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
  initrd /boot/fbsplash-emergence-1280x1024
 
  Any ideas?

 Just a shot in the dark are you using any kind of tv-out?

 I had this problem with tv-out. I specified a resolution of 1280x1024.
 When I connect my tv to my box the maximal resolution possible is
 1024x768 because the tv-encoder does not offer higher resolutions. So
 instead of switching to the next greatest resolution of 1024x768 the
 uvesafb driver switches to smallest resolution of 640x480. This
 resolution is not available in the emergence theme thus the splash fails!

 If you have a problem like this there are existing patches whto the
 kernel which are fixing this issue!

 What does cat /sys/devices/platform/uvesafb.0/vbe_modes say?

 Regards,

 Daniel
 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] uvesafb fails to work

2008-03-30 Thread Matt Edens
Oops forgot the link to the website.
http://dev.gentoo.org/~spock/projects/uvesafb/http://dev.gentoo.org/%7Espock/projects/uvesafb/

On Sun, Mar 30, 2008 at 3:31 PM, Matt Edens [EMAIL PROTECTED] wrote:

 I have had problems getting this to work also, but was able to get it
 working finally
 after being directed to the authors website and following his
 instructions.  What I
 did was get a 2.6.24 kernel working for me fully with no errors then
 proceded to follow
 spock's instructions to get uvesafb working properly on both my desktop
 and laptop.
 Hope this gives you what you need to get it working.

 Matt


 On Sun, Mar 30, 2008 at 2:45 PM, Daniel Pielmeier 
 [EMAIL PROTECTED] wrote:

  Mick schrieb:
   Hi All,
  
   I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and
  thought
   of using it on a box of mine.  However, amidst other weird and
  wonderful
   errors that the new kernel gives me on this box, I have completely
  failed to
   get uvesafb to work.
  
   When it boots up it comes up with these errors:
   =
   * Setting framebuffer console images
   Can't open cfg file //etc/splash/emergence/640x480.cfg
   No 8bpp silent picture specified in the theme
   No 8bpp verbose picture specified in the theme
   * Failed to set background image on tty1
   =
  
   Meanwhile the penguins and fonts on the boot console are shown in some
   impossibly large size.  My kernel line is:
  
   kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \
   video=uvesafb:[EMAIL PROTECTED],ywrap,mtrr:4, \
   splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
   initrd /boot/fbsplash-emergence-1280x1024
  
   Any ideas?
 
  Just a shot in the dark are you using any kind of tv-out?
 
  I had this problem with tv-out. I specified a resolution of 1280x1024.
  When I connect my tv to my box the maximal resolution possible is
  1024x768 because the tv-encoder does not offer higher resolutions. So
  instead of switching to the next greatest resolution of 1024x768 the
  uvesafb driver switches to smallest resolution of 640x480. This
  resolution is not available in the emergence theme thus the splash
  fails!
 
  If you have a problem like this there are existing patches whto the
  kernel which are fixing this issue!
 
  What does cat /sys/devices/platform/uvesafb.0/vbe_modes say?
 
  Regards,
 
  Daniel
  --
  gentoo-user@lists.gentoo.org mailing list
 
 



Re: [gentoo-user] fast CLI package-Changelog viewer

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 21:26:12 +0400, Andrew Gaydenko wrote:

 Is there such one?

emerge -l package | less?


-- 
Neil Bothwick

Loose bits sink chips.


signature.asc
Description: PGP signature


Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Tim
Benyamin Dvoskin wrote:
 Hi All ,
 
 I've been wondering how one can clone an entire gentoo system and copy
 it to another physical machine , while the original system is still
 running ( means , ghost , acronis and other tools that force me to
 shutdown the system are not acceptable )
 
 So , someone told me to try just tar the whole system to the other
 machine and untar it there.
 
 The question is how can I do that ? what are the correct attributes and
 flags ?
 
 Or maybe someone have other ideas ?
 
 Thanks
 
 Benyamin
Could you be more specific about the destination machine? Is it already
running some Linux distro, or is it a new machine with no OS? If it's
the latter, you'll have to be more careful with the boot procedure,
kernel options, etc.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Alan McKinnon
On Sunday 30 March 2008, Dale wrote:
 What I hate is when I come here and ask a question then right after
 hitting the send button, I realize it was something stupid I did.
  Sort of makes me really think before I hit the send button now.  LOL

It's hitting the send button that gets you to the right answer ... 
soo, if you don't click it you don't get the lightbulb moment :-)

I think you should stop thinking so much

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Alan McKinnon
On Sunday 30 March 2008, Neil Bothwick wrote:
 On Sun, 30 Mar 2008 13:59:48 +0200, Alan McKinnon wrote:
  While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare
  quickpkg I had of it. Now virtual/libstdc++ needs it and the build
  fails with the error:

 It doesn't need gcc-3.3, but that it the default it tries to install
 if none of the providers of this are available. Install
 sys-libs/libstdc++-v3 instead and the virtual will be happy.

 I'm sure the devs have a good reason for not making
 sys-libs/libstdc++-v3 the default libstdc++ but /I'm not going to try
 to guess what it may be ;-)

Yup, this works. Thanks Neil and Rudmer.

In hindsight the answer was there in the ebuild all the time. I should 
have done what I usually do and read the thing!

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Benyamin Dvoskin
It is a running gentoo system in this case

But it doesnt make a difference to me. I want to know generally.


anyway I will try what everyone wrote here and we'll see how it goes.

Thanks again.



On Sun, Mar 30, 2008 at 11:40 PM, Tim [EMAIL PROTECTED] wrote:

 Benyamin Dvoskin wrote:
  Hi All ,
 
  I've been wondering how one can clone an entire gentoo system and copy
  it to another physical machine , while the original system is still
  running ( means , ghost , acronis and other tools that force me to
  shutdown the system are not acceptable )
 
  So , someone told me to try just tar the whole system to the other
  machine and untar it there.
 
  The question is how can I do that ? what are the correct attributes and
  flags ?
 
  Or maybe someone have other ideas ?
 
  Thanks
 
  Benyamin
 Could you be more specific about the destination machine? Is it already
 running some Linux distro, or is it a new machine with no OS? If it's
 the latter, you'll have to be more careful with the boot procedure,
 kernel options, etc.

 -Tim
 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Stroller


On 30 Mar 2008, at 06:47, Michael Schmarck wrote:

...
In your world, an aggressor is doing nothing wrong? Do I understand
that right?
...
Get real.


When you're describing someone who has annoyed you on the Internet as  
an aggressor it probably means you need to take a break for a while  
(and, indeed, get yourself real).


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] uvesafb fails to work

2008-03-30 Thread Mick
On Sunday 30 March 2008, Daniel Pielmeier wrote:
 Mick schrieb:
  Hi All,
 
  I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and
  thought of using it on a box of mine.  However, amidst other weird and
  wonderful errors that the new kernel gives me on this box, I have
  completely failed to get uvesafb to work.
 
  When it boots up it comes up with these errors:
  =
  * Setting framebuffer console images
  Can't open cfg file //etc/splash/emergence/640x480.cfg
  No 8bpp silent picture specified in the theme
  No 8bpp verbose picture specified in the theme
  * Failed to set background image on tty1
  =
 
  Meanwhile the penguins and fonts on the boot console are shown in some
  impossibly large size.  My kernel line is:
 
  kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \
  video=uvesafb:[EMAIL PROTECTED],ywrap,mtrr:4, \
  splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
  initrd /boot/fbsplash-emergence-1280x1024
 
  Any ideas?

 Just a shot in the dark are you using any kind of tv-out?

 I had this problem with tv-out. I specified a resolution of 1280x1024.
 When I connect my tv to my box the maximal resolution possible is
 1024x768 because the tv-encoder does not offer higher resolutions. So
 instead of switching to the next greatest resolution of 1024x768 the
 uvesafb driver switches to smallest resolution of 640x480. This
 resolution is not available in the emergence theme thus the splash fails!

 If you have a problem like this there are existing patches whto the
 kernel which are fixing this issue!

 What does cat /sys/devices/platform/uvesafb.0/vbe_modes say?

Thanks Daniel, I am not using tvout, just a LCD monitor.  You're right, 
there's no 1280x1024 in the above file!  Changed it to 1024x768 and it works, 
although the quality of the image is poor (it looks sort of pixelated).

What controls what resolutions exist in that file?
-- 
Regards,
Mick


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


Re: [gentoo-user] uvesafb fails to work

2008-03-30 Thread Mick
On Sunday 30 March 2008, Matt Edens wrote:
 Oops forgot the link to the website.
 http://dev.gentoo.org/~spock/projects/uvesafb/http://dev.gentoo.org/%7Espo
ck/projects/uvesafb/

Thanks Matt, I have followed spock's instructions in the first place.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: rhythmbox plays silently

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 22:32:47 +0100, Stroller wrote:

 When you're describing someone who has annoyed you on the Internet as  
 an aggressor it probably means you need to take a break for a while  

RFC 1: Count to ten before hitting send.


-- 
Neil Bothwick

Politics: Poli (many) - tics (blood sucking parasites)


signature.asc
Description: PGP signature


Re: [gentoo-user] uvesafb fails to work

2008-03-30 Thread Daniel Pielmeier

Mick schrieb:

On Sunday 30 March 2008, Daniel Pielmeier wrote:

Mick schrieb:

Hi All,

I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and
thought of using it on a box of mine.  However, amidst other weird and
wonderful errors that the new kernel gives me on this box, I have
completely failed to get uvesafb to work.

When it boots up it comes up with these errors:
=
* Setting framebuffer console images
Can't open cfg file //etc/splash/emergence/640x480.cfg
No 8bpp silent picture specified in the theme
No 8bpp verbose picture specified in the theme
* Failed to set background image on tty1
=

Meanwhile the penguins and fonts on the boot console are shown in some
impossibly large size.  My kernel line is:

kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \
video=uvesafb:[EMAIL PROTECTED],ywrap,mtrr:4, \
splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
initrd /boot/fbsplash-emergence-1280x1024

Any ideas?

Just a shot in the dark are you using any kind of tv-out?

I had this problem with tv-out. I specified a resolution of 1280x1024.
When I connect my tv to my box the maximal resolution possible is
1024x768 because the tv-encoder does not offer higher resolutions. So
instead of switching to the next greatest resolution of 1024x768 the
uvesafb driver switches to smallest resolution of 640x480. This
resolution is not available in the emergence theme thus the splash fails!

If you have a problem like this there are existing patches whto the
kernel which are fixing this issue!

What does cat /sys/devices/platform/uvesafb.0/vbe_modes say?


Thanks Daniel, I am not using tvout, just a LCD monitor.  You're right, 
there's no 1280x1024 in the above file!  Changed it to 1024x768 and it works, 
although the quality of the image is poor (it looks sort of pixelated).


What controls what resolutions exist in that file?


Output of /usr/src/linux/Documentation/fb/uvesafb.txt

... snip 

2. Caveats and limitations
--

uvesafb is a _generic_ driver which supports a wide variety of video
cards, but which is ultimately limited by the Video BIOS interface.
The most important limitations are:

- Lack of any type of acceleration.
- A strict and limited set of supported video modes.  Often the native
  or most optimal resolution/refresh rate for your setup will not work
  with uvesafb, simply because the Video BIOS doesn't support the
  video mode you want to use.  This can be especially painful with
  widescreen panels, where native video modes don't have the 4:3 aspect
  ratio, which is what most BIOS-es are limited to.
- Adjusting the refresh rate is only possible with a VBE 3.0 compliant
  Video BIOS.  Note that many nVidia Video BIOS-es claim to be VBE 3.0
  compliant, while they simply ignore any refresh rate settings.

. snip .

4. The sysfs interface
--

uvesafb provides several sysfs nodes for configurable parameters and
additional information.

Driver attributes:

/sys/bus/platform/drivers/uvesafb
  - v86d (default: /sbin/v86d)
Path to the v86d executable. v86d is started by uvesafb
if an instance of the daemon isn't already running.

Device attributes:

/sys/bus/platform/drivers/uvesafb/uvesafb.0
  - nocrtc
Use the default refresh rate (60 Hz) if set to 1.

  - oem_product_name
  - oem_product_rev
  - oem_string
  - oem_vendor
Information about the card and its maker.

  - vbe_modes
A list of video modes supported by the Video BIOS along with their
VBE mode numbers in hex.

  - vbe_version
A BCD value indicating the implemented VBE standard.

. snip .


So this depend on the Video Bios of your card and you maybe can't do 
anything about it!


Although 1280x1024 should normally work and i guess you use this 
resolution for your Desktop. How do you generate your initrd? Which card 
do you have?


dmesg | grep uvesafb and fbset --info -v?

Regards,

Daniel

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-30 Thread Grant
   I'm trying to strengthen a wireless connection that spans about 150
   feet and has to go through about 5 walls.  I bought two of these:
  
   http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
  
   for either end of the connection, but I'm having trouble making it
   work well.  I've noticed the connection will be perfect for a short
   time, but then disappear.  When watching iwconfig during this process,
   it looks like the connection is good when on a low rate, but when it
   goes to 54 Mbps it falls apart.
  
   Should limiting the rate solve this problem?  If so, how can I do
   that?  I'm using hostapd on the AP and wpa_supplicant on the client.
  
   - Grant

  Grant,

  Yes, lowering the rate to a slower speed will help greatly.  The lower 
 rates
  use less compression and modulation... less complex wave forms better
  connects over long hauls.

  The antennas look very good, but what's driving them? I use and whole
  heartedly endorse SENAO products and have had very good luck with these
  models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
  http://www.wlansolution.com. Either unit with the high gain antennas you
  have,  will penetrate what you stated and probably go pretty high on the
  speed scale doing it too.

Should the adapter itself make a lot of difference when driving an
external antenna?  I think I'm going to use one of these with my
laptop and an external antenna and I may need to pick up weak signals:

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

Does anyone know of a strong antenna that is more portable than this:

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

I'm mainly concerned with how much space it will take up in carry-on luggage.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Attempting to compile (patched) Qemu

2008-03-30 Thread James
All,

I'm trying to compile a patched version of Qemu, found here:

http://alex.csgraf.de/self/?qemu/

The patched version has support for virtualizing OS X. However, when
attempting to compile, I get the following fatal error:


make -C i386-linux-user all
make[1]: Entering directory `/tmp/qemu/i386-linux-user'
gcc -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/tmp/qemu/target-i386
-I/tmp/qemu -MMD -MP -DNEED_CPU_H -I/tmp/qemu/linux-user
-I/tmp/qemu/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/tmp/qemu/fpu  -DHAS_AUDIO -DHAS_AUDIO_CHOICE
-I/tmp/qemu/slirp-c -o main.o /tmp/qemu/linux-user/main.c
/tmp/ccOCd3LZ.s: Assembler messages:
/tmp/ccOCd3LZ.s:2317: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2318: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2322: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2323: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2327: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2328: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2335: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2336: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2340: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2341: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2345: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2346: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2353: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2354: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2358: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2359: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2363: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2364: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2371: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2372: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2383: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2384: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2388: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2389: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2393: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2394: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2401: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2402: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2408: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2409: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2415: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2416: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2420: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2421: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2425: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2426: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2433: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2434: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8233: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8234: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8235: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8236: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8239: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8240: Error: can't resolve `.rodata' {.rodata 

Re: [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3

2008-03-30 Thread Dale

Alan McKinnon wrote:

On Sunday 30 March 2008, Dale wrote:
  

What I hate is when I come here and ask a question then right after
hitting the send button, I realize it was something stupid I did.
 Sort of makes me really think before I hit the send button now.  LOL



It's hitting the send button that gets you to the right answer ... 
soo, if you don't click it you don't get the lightbulb moment :-)


I think you should stop thinking so much

  


True but I have cheated before.  I compose the email but just put it in 
the drafts folder, then wait a bit to see what happens.  LOL  Well, it 
works sometimes.  I don't make quite as big a fool as myself.


I sort of see the 'being in love' comment earlier tho.  I'm nuts over 
someone that I can't see right now because of distance.  Plan to go see 
her soon tho.  Maybe that will help then again it may make it worse.


Dale

:-) :-) :-) :-)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] fast CLI package-Changelog viewer

2008-03-30 Thread Andrew Gaydenko
Hi!
=== On Monday 31 March 2008, you wrote: ===
 On Sun, 30 Mar 2008 21:26:12 +0400, Andrew Gaydenko wrote:
  Is there such one?

 emerge -l package | less?

I have tried it. Unfortunately, it is slow and ... well, it doesn't show 
Changelog to me :-) Say, this is full output:

emerge -l sun-jdk
 --changelog implies --pretend... adding --pretend to options.

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

Calculating dependencies... done!
[ebuild   R   ] dev-java/sun-jdk-1.6.0.05-r1


-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Re: rhythmbox plays silently

2008-03-30 Thread Michael Schmarck
Stroller [EMAIL PROTECTED] wrote:

 
 On 30 Mar 2008, at 06:47, Michael Schmarck wrote:
 ...
 In your world, an aggressor is doing nothing wrong? Do I understand
 that right?
 ...
 Get real.
 
 When you're describing someone who has annoyed you on the Internet as
 an aggressor it probably means you need to take a break for a while

How else would you describe Alan in his first post in the thread?
Troll? Would that fit better?

Michael

-- 
gentoo-user@lists.gentoo.org mailing list