Re: [gentoo-user] KDE? Get me out of here!

2010-03-11 Thread Alex Schuster
Philip Webb writes:

 I see  1  improvement   2  regressions so far;
 NB I don't use the desktop (that's Fluxbox), only some apps.
 
 Konsole has lost its 'fixed GNU' font, which now calls up something
 nasty (yes, I know there's an entry in the list, but it's a different
 font). I've switched to Xterm for Mutt  may junk Konsole for user
 terminal too.

I noticed this when I started KDE 4.4 for the first time. It looked quite 
different (and a little ugly), but somehow I got used to it. 

 Gwenview shows a lot of silly little pictures plastered all over
 folders  there seems to be no way of telling it not to.
 Do I want a picture of Conrad Black in my big 'people' collection ? --
 Yes. Do I want to look at him every time I open Gwenview ? -- No !!

Those four thumbnails on each folder icon? I actually like these :)

 Gwenview has regained F2='rename', which it lost after KDE 3 , a plus.

So at least sometimes things improve :)
I don't use gwenview much. When I used it a while ago, browsing through 
many photos, and rotating lots of them, it always crashed after a while, 
after it hogged very much of my memory. Just retried that, problem's gone. 
Hooray!

Wonko



Re: [gentoo-user] Problem with make oldconfig 2.6.30-8 == 2.6.31

2010-03-11 Thread Alan McKinnon
On Wednesday 10 March 2010 16:19:34 Tanstaafl wrote:
 On 2010-03-10 9:07 AM, Alan McKinnon wrote:
  The current opinion of the current author of the kernel upgrade
  guide says what you quoted.
  
  It's his opinion, it's what he thinks will work best for the
  majority of people. It's probably also the wording that has been
  proven to result in the least bugzilla entries and the fewest mails
  in his inbox from the Help me! mob.
 
 It is either a part of the *official* gentoo documentation, or it isn't.
 
 My understanding is that it is. Is that incorrect?
 
 In other words, it is not $random_guide found on the internet somewhere,
 nor is it some gentoo dev's private wiki, it is formal, official gentoo
 documentation - and that *is* a fact.
 
 If what you say is true, then I guess every single page of every single
 bit of gentoo documentation should come with a big fat warning that
 'this is just someone's personal opinion, so don't give it any weight
 whatsoever - hey, just do your own thang!'...

You are twisting my words to mean something I did not say or mean or intend.

Please stop doing that.

Overall the docs are fine. That particular statement under discussion is bad 
advice as it implies something that is demonstrably not true.

Where did I say that all of the maintained official docs are low quality? I 
believe I said no such thing, nor implied it.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Arnau Bria
Hi,

I'm trying to install ati drivers, but I fins and error:

 
 * ati-driver-installer-9-11-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... 

 [ ok ]
 * checking ebuild checksums ;-) ...

 [ ok ]
 * checking auxfile checksums ;-) ...   

 [ ok ]
 * checking miscfile checksums ;-) ...  

 [ ok ]
 * CPV:  x11-drivers/ati-drivers-9.11
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux modules userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use 
running version
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux 
sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: x11-drivers/ati-drivers-9.11 failed:
 *   Kernel not configured; no .config found in 
 * 
 * Call stack:
 * ebuild.sh, line  54:  Called pkg_setup
 [...]

But I have my kernel, conf and MAkefile in /usr/src/linux:


lx-arnau linux # uname -r
2.6.31-gentoo-r6
lx-arnau linux # ls -lsad /usr/src/linux
0 lrwxrwxrwx 1 root root 22 2009-11-27 16:20 /usr/src/linux - 
linux-2.6.31-gentoo-r6

lx-arnau linux # ls /usr/src/linux
arch   crypto   firmware  include  ipc lib  Module.markers  Module.symvers  
scripts   sound   usr   vmlinux
block  drivers  fsinit kernel  mm   modules.order   net 
security  System.map  virt  vmlinux.o

lx-arnau linux # ls -lsa /usr/src/linux/.config
92 -rw-r--r-- 1 root root 87932 2010-03-11 11:16 /usr/src/linux/.config

so, why is ati complaining aboput my kerel conf?

TIA,
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Norman Rieß

Am 03/11/10 11:23, schrieb Arnau Bria:


lx-arnau linux # ls /usr/src/linux
arch   crypto   firmware  include  ipc lib  Module.markers  Module.symvers  
scripts   sound   usr   vmlinux
block  drivers  fsinit kernel  mm   modules.order   net 
security  System.map  virt  vmlinux.o

lx-arnau linux # ls -lsa /usr/src/linux/.config
92 -rw-r--r-- 1 root root 87932 2010-03-11 11:16 /usr/src/linux/.config

so, why is ati complaining aboput my kerel conf?

TIA,
   


This listing is not a complete kernel set. Did you do a emerge 
--depclean lately?

Reemerge you kernel ebuild and do a make oldconfig to be sure.

Then try it again.

Norman



Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Arnau Bria
On Thu, 11 Mar 2010 11:31:03 +0100
Norman Rieß wrote:

[...]
 This listing is not a complete kernel set. 

For curiosity, what is missing? make oldconfing?¿

 Did you do a emerge  --depclean lately?
yep.

 Reemerge you kernel ebuild and do a make oldconfig to be sure.
I'm with r6 and gentoo-sources is at r10, is it important? do Ihave to
remerge r6 too? 

 Then try it again.
 
 Norman
Thanks,
Arnau 


-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Neil Bothwick
On Thu, 11 Mar 2010 11:23:04 +0100, Arnau Bria wrote:

  * Could not find a Makefile in the kernel source directory.
  * Please ensure that /usr/src/linux points to a complete set of Linux
 sources
  * Unable to calculate Linux Kernel version for build, attempting to
 use running version
  * Could not find a usable .config in the kernel source directory.
  * Please ensure that /usr/src/linux points to a configured set of
 Linux sources.

It looks like /usr/src/linux points to newly installed kernel sources on
which you have not run make *config yet.


-- 
Neil Bothwick

Never argue with an idiot. First, they bring you down to their level.
Then they beat you with experience.


signature.asc
Description: PGP signature


Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Norman Rieß

Am 03/11/10 11:55, schrieb Arnau Bria:

On Thu, 11 Mar 2010 11:31:03 +0100
Norman Rieß wrote:

[...]
   

This listing is not a complete kernel set.
 

For curiosity, what is missing? make oldconfing?¿

   

Did you do a emerge  --depclean lately?
 

yep.

   

Reemerge you kernel ebuild and do a make oldconfig to be sure.
 

I'm with r6 and gentoo-sources is at r10, is it important? do Ihave to
remerge r6 too?

   

Then try it again.

Norman
 

Thanks,
Arnau


   


A complete listing looks like this:
bragi linux # ls
arch   drivers   Kbuild   modules.builtin  samples usr
block  firmware  kernel   modules.orderscripts virt
COPYINGfslib  Module.symvers   securityvmlinux
CREDITSinclude   MAINTAINERS  net  sound   vmlinux.o
crypto init  Makefile README   System.map
Documentation  ipc   mm   REPORTING-BUGS   tools
bragi linux #

Depclean seems to delete some parts of the kernel directory if you have 
a newer kernel ebuild available. Had that too, once.
Which release you use r6 or r10 is your choise. r10 is newer with more 
security patches and such, so i would say you should use that one.

Do you know how to deal with a kernel update?

Norman




Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Arnau Bria
On Thu, 11 Mar 2010 10:48:52 +
Neil Bothwick wrote:

Hi Neil,

 It looks like /usr/src/linux points to newly installed kernel sources
 on which you have not run make *config yet.
nop, that's not the case:

# uname -r
2.6.31-gentoo-r6

#ls -lsa
total 16
4 drwxr-xr-x  4 root root 4096 2010-02-22 21:18 .
4 drwxr-xr-x 17 root root 4096 2009-10-08 13:00 ..
0 -rw-r--r--  1 root root0 2006-08-30 19:04 .keep
0 lrwxrwxrwx  1 root root   22 2009-11-27 16:20 linux - linux-2.6.31-gentoo-r6
4 drwxr-xr-x 23 root root 4096 2010-03-11 11:58 linux-2.6.31-gentoo-r10
4 drwxr-xr-x 21 root root 4096 2010-03-11 10:33 linux-2.6.31-gentoo-r6

thanks for your rpely,
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Arnau Bria
On Thu, 11 Mar 2010 12:09:43 +0100
Norman Rieß wrote:

 A complete listing looks like this:
 bragi linux # ls
 arch   drivers   Kbuild   modules.builtin  samples usr
 block  firmware  kernel   modules.orderscripts
 virt COPYINGfslib  Module.symvers
 securityvmlinux CREDITSinclude   MAINTAINERS
 net  sound   vmlinux.o crypto init
 Makefile README   System.map Documentation  ipc
 mm   REPORTING-BUGS   tools bragi linux #
 
 Depclean seems to delete some parts of the kernel directory if you
 have a newer kernel ebuild available. Had that too, once.
ok, many thanks.

 Which release you use r6 or r10 is your choise. r10 is newer with
 more security patches and such, so i would say you should use that
 one. Do you know how to deal with a kernel update?
yes, yes, but I wanted to test ati drivers compilation before
recompiling the kernel and rebooting...

anyway, as I have to open my computer for changing video-card, going to
build new kernel an then, ati-drivers.


 Norman
thanks for your reply,

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



[gentoo-user] Sound with xfce4 and Firefox

2010-03-11 Thread dhk
I don't use sound very often, but recently I noticed when I play news
videos in Firefox there isn't any sound coming through the headphones.
It's an Intel 32bit box with xfce4.  I don't have speakers hooked up
just headphones and it use to work a few months ago.  I suspect it
stopped working after an upgrade.  Is this something to do with xfce4,
Firefox, or something else?

Thanks,

dhk



Re: [gentoo-user] Problem with make oldconfig 2.6.30-8 == 2.6.31

2010-03-11 Thread Walter Dnes
On Wed, Mar 10, 2010 at 01:55:30PM +, Mick wrote

 If you had not enabled framebuffer in your old kernel then I can't
 think how it would show up as enabled in your new kernel (as far as I
 know fb is not enabled by default on any kernels that I've ever built)

  I'm running textmode console as I type this message.  I can tell the
difference between the font in this mode, versus the dinky font when
booting from the install CD.  I was getting the dinky font like the
install CD, with a lot more than 80 columns across.

 
  And there was a kernel panic because gentoo couldn't
  find the boot device.
 
 Hmm ... so it's not just framebuffer but different filesystems perhaps?

  I've got a 400 megabyte / (/dev/sda5) and the rest of the disk is
ReiserFS, with bindmounts for /opt, /var, /usr. and /tmp.  Here is part
of my /etc/fstab...

/dev/sda5   /   ext2noatime 0 1
/dev/sda7   /home   reiserfsnoatime,notail 0 2
/home/bindmounts/opt/optautobind 0 0
/home/bindmounts/var/varautobind 0 0
/home/bindmounts/usr/usrautobind 0 0
/home/bindmounts/tmp/tmpautobind 0 0

  Part of the output from cat /proc/config.gz | gunzip | less...

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT2_FS_XIP is not set
# CONFIG_EXT3_FS is not set
# CONFIG_EXT4_FS is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
# CONFIG_REISERFS_FS_SECURITY is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
CONFIG_FILE_LOCKING=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

 With regards to your kernel panic I suspect an error in the .config
 file you copied over.  Do you keep a copy both in
 /usr/src/linux-gentoo-XXX/ and in /boot?  If yes then copy over your
 .config from a different location this time, otherwise you'll have to
 go about it through the manual method.

  I'll try cat /proc/config.gz | gunzip  .config and run oldconfig on
that instead.  And I'm running gcc-4.3.4, and it's the only gcc on my
system, and gcc-config agrees.

 PS.  Just checking the obvious:  you aren't manually patching your
 kernels and forgot to do it this time, right?

  Nope, nothing like that.

  PS, why isn't there a gzcat command in Gentoo?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Problem with make oldconfig 2.6.30-8 == 2.6.31

2010-03-11 Thread Neil Bothwick
On Thu, 11 Mar 2010 08:03:21 -0500, Walter Dnes wrote:

   PS, why isn't there a gzcat command in Gentoo?

Because it's called zcat.


-- 
Neil Bothwick

Marriage is a relationship in which one person
is always right and the other is a husband


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem with make oldconfig 2.6.30-8 == 2.6.31

2010-03-11 Thread Jonathan
On Thu, 11 Mar 2010 08:03:21 -0500
Walter Dnes waltd...@waltdnes.org wrote:

 PS, why isn't there a gzcat command in Gentoo?
It is zcat no g.



Re: [gentoo-user] KDE? Get me out of here!

2010-03-11 Thread Alex Schuster
Dale writes:

 Alex Schuster wrote:
  Dale, you brave, brave man, are you really using KDE4 now?

 I am in KDE4.  I still have KDE3 installed tho.  Thing is, I'm still
 using the same programs I was in KDE3.  Dolphin looks nice and all but
 I can't use it as root at all.

Huh? No problem here.

OT: does anyone know about dolphin somehow accessing all files it shows? I 
see this on a system that uses dolphin to browse remote files via the fish 
protocol. Previews are not enabled, but all the files are accessed, which 
means it takes about one hour until the directory is shown, because all 
files are being retrieved from a SAM-FS server. Maybe it is reading the 
magic number for each file? I will try konqueror now.

 So, I went back to Konqueror to edit
 config files and such.  I don't use some of the programs that you are
 using so I don't have the same issues.  I use smplayer to do movies or
 CDs.  It doesn't care what DE you use.

Ah, smplayer. Did not think about that. It was not important anyway - I 
had ripped a CD with K3b, and wondered why two tracks were swapped. BTW, 
what do you use for ripping? K3b is okay, but it does not remember changes 
like output path or file naming, I have to set this again for every CD.
But smplayer does not recognise the CD either. I wonder why I do not have 
a /dev/cdrom device - only /dev/cdrom3, /dev/cdrw3, /dev/dvd3 and 
/dev/dvdrw3, all symlinking to /dev/sr0.


 I do like the looks of KDE4.  I still think they dropped KDE3 to soon.
 KDE4 will get there but it is still having issues many months after
 dropping KDE3.  Bad thing is, I don't think they care about the users
 they left hanging in the wind.

I also think KDE3 was dropped too soon. While KDE4 is usable now for most 
things, it still has too many bugs, and a while ago it had many many more, 
while development and bug fixing of KDE3 was already stopped.
On the other hand, manpower is limited, and I understand the decision to 
focus on the new project rather than doing stuff for the old one that soon 
noone will be using. KDE 3.5 is still there. I don't know about the 
security issues, would it be unsafe now to use KDE 3.5? I remember 
something about kpfd being masked due to security holes.

Wonko



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-11 Thread Damian
On Wed, Mar 10, 2010 at 9:58 PM, Arttu V. arttu...@gmail.com wrote:
 On 3/10/10, Damian damian.o...@gmail.com wrote:
 While ago I reported a bug regarding gvfs:
     https://bugs.gentoo.org/show_bug.cgi?id=302196

 It's been unresolved for quite a long time now, so I was wondering if
 somebody could give me a hint on how to solve this problem.

 Are you still using lzma-utils, or have you moved on to xz-utils?
I'm using app-arch/xz-utils.

 Which package owns your /usr/lib64/liblzmadec.*? (equery belongs
 foofile on Gentoo, dunno what is the equivalent on paludis)
Acording to the output of `paludis --owner /usr/lib64/liblzmadec.la`
no package is the owner. I'm really lost right now...



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-11 Thread Damian
Hi Mark,

 1) What profile are you using? (eselect profile list)
default/linux/amd64/10.0
 2) USE flags from make.conf
nls -kde -qt3 qt4 dvd alsa cdr X a52 aac acpi apm -arts \
bash-completion bzip2 crypt dbus dts dvdr ffmpeg flac gif hal hddtemp \
iconv jpeg jpeg2k latex libnotify lm_sensors mad mp3 mpeg mpi mplayer \
nsplugin ogg opengl pdf raw sdl sharedmem sockets spell sse2 ssl svg \
svga taglib threads usb -vim-syntax vorbis wifi win32codecs \
xcomposite xvid zlib truetype type1 avi dvdread mjpeg subtitles sse \
mmx ssse3 emacs pmu nvidia beagle bluetooth

 3) Current results of emerge -pvDuN @world  (assuming portage 2.2 or 
 higher...)
Sadly, I cannot use emerge on my system. The problem may be paludis
related (I also asked in the paludis mailing liist) but I doubt it.

 4) results of revdep-rebuild -ip
reconcilio finds gvfs as a broken only package:
  * gnome-base/gvfs-1.2.3::installed
  /usr/libexec/gvfsd-archive (requires liblzmadec.so.0)


 I don't know what else to suggest at this point. I've got the stable
 version emerged. I haven't had any problems myself but Gentoo is
 always a bit different from user to user.
No problem, I will see what other things I can try. I'm far from being
a gentoo expert, so that might be the process of discovering the error
harder.

Best,
Damian.



Re: [gentoo-user] Sound with xfce4 and Firefox

2010-03-11 Thread Daniel Wagener
On Thu, 11 Mar 2010 07:29:09 -0500
dhk dhk...@optonline.net wrote:

 I don't use sound very often, but recently I noticed when I play news
 videos in Firefox there isn't any sound coming through the headphones.
 It's an Intel 32bit box with xfce4.  I don't have speakers hooked up
 just headphones and it use to work a few months ago.  I suspect it
 stopped working after an upgrade.  Is this something to do with xfce4,
 Firefox, or something else?
 
 Thanks,
 
 dhk

Already checked mixer/volume settings?



Re: [gentoo-user] Multiple versions of automake?

2010-03-11 Thread Tanstaafl
On 2010-03-10 4:05 PM, Paul Hartman wrote:
 On Wed, Mar 10, 2010 at 2:16 PM, Tanstaafl tansta...@libertytrek.org wrote:
 On 2010-03-10 12:05 PM, Neil Bothwick wrote:
 equery can be unreliable. If emerge --depclean -a wants to remove one
 of both of them, let it, otherwise leave well alone.

 How does that differ from 'emerge -p --depclean'?

 Saves you the time of running it twice if you decide to say Yes

Well that was kind of obvious... ;) ok, thanks...

-- 

Charles



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-11 Thread Mark Knecht
On Thu, Mar 11, 2010 at 7:03 AM, Damian damian.o...@gmail.com wrote:
 On Wed, Mar 10, 2010 at 9:58 PM, Arttu V. arttu...@gmail.com wrote:
 On 3/10/10, Damian damian.o...@gmail.com wrote:
 While ago I reported a bug regarding gvfs:
     https://bugs.gentoo.org/show_bug.cgi?id=302196

 It's been unresolved for quite a long time now, so I was wondering if
 somebody could give me a hint on how to solve this problem.

 Are you still using lzma-utils, or have you moved on to xz-utils?
 I'm using app-arch/xz-utils.

 Which package owns your /usr/lib64/liblzmadec.*? (equery belongs
 foofile on Gentoo, dunno what is the equivalent on paludis)
 Acording to the output of `paludis --owner /usr/lib64/liblzmadec.la`
 no package is the owner. I'm really lost right now...



This happens when an ebuild doesn't remove packages as well as it installs them.

revdep-rebuild should be telling you that the machine is clean except
there are these extra files like /usr/lib64/liblzmadec.la.

equery belongs /usr/lib64/liblzmadec.la

tells you nothing owns it which means the original package isn't on
the system anymore.

Since we think /usr/lib64/liblzmadec.la comes from  lzma-utils we would use

equiery files  lzma-utils

to determine whether this package provides it. I cannot do that as I
don't have lzma-utils on my systems anymore.

If you don't have  lzma-utils on your system anymore then erase
/usr/lib64/liblzmadec.la by hand and run revdep-rebuild -ip again and
see if it's clean.

Hope this helps,
Mark



Re: [gentoo-user] vmware-server performance

2010-03-11 Thread Kyle Bader
If you use the cfq scheduler (linux default) you might try turning off
low latency mode (introduced in 2.6.32):

Echo 0  /sys/class/block/device name/queue/iosched/low_latency

http://kernelnewbies.org/Linux_2_6_32

On 3/10/10, Stefan G. Weichinger li...@xunil.at wrote:

 Recently I see bad performance with my vmware-server.

 Loads of harddisk IO ... even bad on the RAID1, disks working all the
 time (I hear them and iostat tells me).

 Might have to do with kernel 2.6.33 and non-fitting vmware-modules?

 I masked some modules back then because they didn't work, maybe they
 would now.

 Could someone tell me what combo works with gentoo-sources-2.6.33 ?

 I currently have:

 # eix vmware-mod
 [I] app-emulation/vmware-modules
  Available versions:  1.0.0.15-r1 1.0.0.15-r2 (~)1.0.0.24-r1{tbz2}
 [m]1.0.0.25-r1 [m](~)1.0.0.26 {kernel_linux}
  Installed versions:  1.0.0.24-r1{tbz2}(20:34:53
 01.03.2010)(kernel_linux)

 # eix vmware-ser
 [I] app-emulation/vmware-server
  Available versions:  1.0.8.126538!s 1.0.9.156507!s
 (~)1.0.10.203137!s (~)2.0.1.156745-r3!s{tbz2} (~)2.0.2.203138!f!s{tbz2}
  Installed versions:  2.0.2.203138!f!s{tbz2}(20:19:33 10.03.2010)


 Thanks in advance, Stefan



-- 
Sent from my mobile device


Kyle



[gentoo-user] Re: how to git-bisect in a portage-compatible way ?

2010-03-11 Thread Nicolas Richard
Le 10/03/10 17:08, walt a écrit :
 On 03/10/2010 03:03 AM, Nicolas Richard wrote:
 So the general question is : if I want to use git-bisect (I have never
 done that before, but today is a good time to try),
 
 It's a great tool and easy to use once you've learned the basic steps.
 You can ask here if you need help with it.

I have to agree, it's quite a nice tool. Unfortunately the bug is a bit
unpredictable (random crash which requires a reboot) and I found out
that the version I thought was good (2.4.11) was in fact bad, and that I
probably had been lucky not to encounter a crash for some days.
Moreover, releases of libdrm prior to 2.4.11 are incompatible with my
current xf86-xorg-intel (while writing this and looking at gitk, I
notice that there are a few commits which should be compatible. I'll try
these later.)

What is weird is that if I use older versions, I feel it crashes less
often than with new versions. I have in mind two things two try:
* bisecting another package, e.g. xf86-xorg-intel or even the kernel.
* instead of trying to find a commit which does not have the bug, find
one which has a related but different bug. I mean, the crash is not
always the same, sometimes I can still access the console, sometimes I
just have to reboot, sometimes the kernel crashes too... maybe I can
find a commit for which the bug behaves differently.

Let me stop being off topic for a few seconds, and ask a real question
about git-bisect : imagine there are two bugs : bug A is a known bug,
present in version 2.4.11 but corrected in 2.4.18, and bug B is another
bug which I'm trying to bisect. Problem : they have the same effect
(let's say : a crash) and I want to fix bug A because it might hide bug
B. Assuming that the patch which fixes bug A can be applied to the files
of versions 2.4.11-2.4.18, is it possible to bisect these modified
versions ?
What I can imagine is : do a normal git-bisect session, but each time
apply the patch before ./configure'ing. That sounds ok, but is it ? And
if yes, what's the correct way to tell git to put the changes induced
by one commit on the current head ? (I hope I'm being clear and not
mixing the terms, here).

 When you configure the git test package, use the --prefix=/usr/local
 flag so that the test library gets installed in /usr/local/lib, and
 /usr/local/include, etc.

I followed your advice (/usr/local is actually the default location for
libdrm) and it worked quite nice because it is easy to track the files
installed by the package within /usr/local... maybe this is not true for
more complicated packages ?

 Then, to test the new library, just change the /usr/lib/libdrm symlink
 to point at /usr/local/lib/libdrm.so.whatever.

Actually, it seems that the system first looks in /usr/local/lib before
/usr/lib, so it was probably unnecessary to modify the symlinks (noticed
it at the end).

-- 
Nico.




Re: [gentoo-user] stop eth0 from starting at boot

2010-03-11 Thread Tony Miller
I modified the RC_PLUG_SERVICES like this:

RC_PLUG_SERVICES=net.ra0 !net.eth0

This appears to have worked perfectly! net.eth0 does not start at boot at
all. Thanks so much!

On Wed, Mar 10, 2010 at 1:18 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 09 Mar 2010 23:53:00 -0600, Dale wrote:

  This is a common problem.  I am on baselayout 1 so if you are on
  baselayout 2, this may not help.  In /etc/conf.d/rc file, add this line
  or edit the line you already have:
 
  RC_PLUG_SERVICES=net.wlan !net.eth*

 In baselayout-2 this is set in /etc/rc.conf. I use

 rc_hotplug=!net.*

 to let all interfaces be handled by Wicd.


 --
 Neil Bothwick

 All generalizations are false, including this one.



[gentoo-user] About mount with user rw

2010-03-11 Thread Harry Putnam
I've done this before but have lost my notes about I guess.

I want to mount a device /dev/hdd7 so that my users can read/write
freely there.

This line, does not do it:

grep hdd7 /etc/fstab
/dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2

(using the singular `user' didn't help either.

What is the syntax I need?




Re: [gentoo-user] About mount with user rw

2010-03-11 Thread Paul Hartman
On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam rea...@newsguy.com wrote:
 I've done this before but have lost my notes about I guess.

 I want to mount a device /dev/hdd7 so that my users can read/write
 freely there.

 This line, does not do it:

 grep hdd7 /etc/fstab
 /dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2

 (using the singular `user' didn't help either.

 What is the syntax I need?

Are the permissions set on /home/reader/spool (when mounted) so that
the users can read and write to it?



Re: [gentoo-user] KDE? Get me out of here!

2010-03-11 Thread Dale

Alex Schuster wrote:

Dale writes:

   

Alex Schuster wrote:
 

Dale, you brave, brave man, are you really using KDE4 now?
   
   

I am in KDE4.  I still have KDE3 installed tho.  Thing is, I'm still
using the same programs I was in KDE3.  Dolphin looks nice and all but
I can't use it as root at all.
 

Huh? No problem here.

OT: does anyone know about dolphin somehow accessing all files it shows? I
see this on a system that uses dolphin to browse remote files via the fish
protocol. Previews are not enabled, but all the files are accessed, which
means it takes about one hour until the directory is shown, because all
files are being retrieved from a SAM-FS server. Maybe it is reading the
magic number for each file? I will try konqueror now.

   


This is what I am talking about.  Dolphin will browse through 
directories but as soon as I click to open a text file, it gives a 
error.  I have discussed this on the kde list and it is a known 
problem.  One even said the code was written to prevent that but others 
say it is just not fixed yet.  So, I still use Konqueror just like I did 
in KDE 3.




So, I went back to Konqueror to edit
config files and such.  I don't use some of the programs that you are
using so I don't have the same issues.  I use smplayer to do movies or
CDs.  It doesn't care what DE you use.
 

Ah, smplayer. Did not think about that. It was not important anyway - I
had ripped a CD with K3b, and wondered why two tracks were swapped. BTW,
what do you use for ripping? K3b is okay, but it does not remember changes
like output path or file naming, I have to set this again for every CD.
But smplayer does not recognise the CD either. I wonder why I do not have
a /dev/cdrom device - only /dev/cdrom3, /dev/cdrw3, /dev/dvd3 and
/dev/dvdrw3, all symlinking to /dev/sr0.


   


I have used tkdvd to burn a DVD.  It ain't pretty but it worked.  ;-)


I do like the looks of KDE4.  I still think they dropped KDE3 to soon.
KDE4 will get there but it is still having issues many months after
dropping KDE3.  Bad thing is, I don't think they care about the users
they left hanging in the wind.
 

I also think KDE3 was dropped too soon. While KDE4 is usable now for most
things, it still has too many bugs, and a while ago it had many many more,
while development and bug fixing of KDE3 was already stopped.
On the other hand, manpower is limited, and I understand the decision to
focus on the new project rather than doing stuff for the old one that soon
noone will be using. KDE 3.5 is still there. I don't know about the
security issues, would it be unsafe now to use KDE 3.5? I remember
something about kpfd being masked due to security holes.

Wonko

   


I understand the second hand but it still leaves the users out in the 
cold.  I'm hoping the release of KDE 5 will be handled better but I'm 
not holding my breath.


Dale

:-)  :-)



Re: [gentoo-user] About mount with user rw

2010-03-11 Thread Alan McKinnon
On Thursday 11 March 2010 21:23:43 Harry Putnam wrote:
 I've done this before but have lost my notes about I guess.
 
 I want to mount a device /dev/hdd7 so that my users can read/write
 freely there.
 
 This line, does not do it:
 
 grep hdd7 /etc/fstab
 /dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2
 
 (using the singular `user' didn't help either.
 
 What is the syntax I need?

You can't.

It's a reiserfs file system, it has Unix owners and permissions. It doe snot 
matter how you mount it, those permissions will be used. If the user does not 
have permissions, then they can't use it. Same as /

By your post I can see you are confused with vfat and ntfs. Not being Unix 
filesystems, the kernel has to fudge something to use, and you can make them 
whatever you want.

Stop fooling around with fstab and mount options.
The commands you want are chown and chmod


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: About mount with user rw

2010-03-11 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam rea...@newsguy.com wrote:
 I've done this before but have lost my notes about I guess.

 I want to mount a device /dev/hdd7 so that my users can read/write
 freely there.

 This line, does not do it:

 grep hdd7 /etc/fstab
 /dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2

 (using the singular `user' didn't help either.

 What is the syntax I need?

 Are the permissions set on /home/reader/spool (when mounted) so that
 the users can read and write to it?

ahhh no.  And I see doing that cures the problem, but how do I make
this happen at every mount... is there syntax for fstab in the options
column that take care of that or does it have to be scripted or something
to get it to happen with every mount.  Maybe in the local.start init
script.

But I was under the impression this could be done with mount options.




[gentoo-user] Re: About mount with user rw

2010-03-11 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

 Stop fooling around with fstab and mount options.
 The commands you want are chown and chmod

Got ya ... thanks




Re: [gentoo-user] Re: About mount with user rw

2010-03-11 Thread Paul Hartman
On Thu, Mar 11, 2010 at 2:32 PM, Harry Putnam rea...@newsguy.com wrote:
 Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam rea...@newsguy.com wrote:
 I've done this before but have lost my notes about I guess.

 I want to mount a device /dev/hdd7 so that my users can read/write
 freely there.

 This line, does not do it:

 grep hdd7 /etc/fstab
 /dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2

 (using the singular `user' didn't help either.

 What is the syntax I need?

 Are the permissions set on /home/reader/spool (when mounted) so that
 the users can read and write to it?

 ahhh no.  And I see doing that cures the problem, but how do I make
 this happen at every mount... is there syntax for fstab in the options
 column that take care of that or does it have to be scripted or something
 to get it to happen with every mount.  Maybe in the local.start init
 script.

 But I was under the impression this could be done with mount options.

It should survive unmount and remount. The mount options should only
control who is allowed to mount it, not who can use it once it is
mounted. (Filesystems that don't understand the concept of permissions
might have some mount option to force a certain umask but normal linux
filesystems don't need it)



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-11 Thread Arttu V.
On 3/11/10, Mark Knecht markkne...@gmail.com wrote:
 to determine whether this package provides it. I cannot do that as I
 don't have lzma-utils on my systems anymore.

Well, that can be sort of done with, e.g.:

ebuild /usr/portage/app-arch/lzma-utils/lzma-utils-4.32.7.ebuild install

It will run emerge phases until the system creates the installation
image, but it won't merge the files into their proper locations in the
file system. Listing files in the image directory shows all the five
liblzmadec.* files (or symlinks) that would get installed.

 If you don't have  lzma-utils on your system anymore then erase
 /usr/lib64/liblzmadec.la by hand and run revdep-rebuild -ip again and
 see if it's clean.

Yes, this whole issue smells like an overblown orphaned .la-file
issue. Package manager cannot help much with such, and IMHO it's not a
bug (well maybe in the package manager, but let's not start that
flamewar ;) ).

Anyway, if it were me I'd nuke the file in a heartbeat, but if OP is
too timid for that, he can also quarantine the file first, i.e., move
it to some other path where it won't cause trouble (and then delete
later). Also, (from the bug) his libarchive.la seems to still list the
.la, so he should re-emerge libarchive after moving away the orphaned
.la-file (or use lafilefixer?).

Still, there is something funny with paludis, as so many people using
it seem to have so many problems with orphaned libtool archive files.
Ahem, even the warning from exherbo front page is gone nowadays. Is it
production quality now? o.O

-- 
Arttu V.



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-11 Thread Mark Knecht
On Thu, Mar 11, 2010 at 1:39 PM, Arttu V. arttu...@gmail.com wrote:
 On 3/11/10, Mark Knecht markkne...@gmail.com wrote:
 to determine whether this package provides it. I cannot do that as I
 don't have lzma-utils on my systems anymore.

 Well, that can be sort of done with, e.g.:

 ebuild /usr/portage/app-arch/lzma-utils/lzma-utils-4.32.7.ebuild install

 It will run emerge phases until the system creates the installation
 image, but it won't merge the files into their proper locations in the
 file system. Listing files in the image directory shows all the five
 liblzmadec.* files (or symlinks) that would get installed.

 If you don't have  lzma-utils on your system anymore then erase
 /usr/lib64/liblzmadec.la by hand and run revdep-rebuild -ip again and
 see if it's clean.

 Yes, this whole issue smells like an overblown orphaned .la-file
 issue. Package manager cannot help much with such, and IMHO it's not a
 bug (well maybe in the package manager, but let's not start that
 flamewar ;) ).

 Anyway, if it were me I'd nuke the file in a heartbeat, but if OP is
 too timid for that, he can also quarantine the file first, i.e., move
 it to some other path where it won't cause trouble (and then delete
 later). Also, (from the bug) his libarchive.la seems to still list the
 .la, so he should re-emerge libarchive after moving away the orphaned
 .la-file (or use lafilefixer?).

 Still, there is something funny with paludis, as so many people using
 it seem to have so many problems with orphaned libtool archive files.
 Ahem, even the warning from exherbo front page is gone nowadays. Is it
 production quality now? o.O

 --
 Arttu V.

Hi Arttu,
   I agree with pretty much everything you say although I don't know
anything about plaudis so nothing at all to say about that.

   I think the OP could also do

equery depends /usr/lib64/liblzmadec.la

and if that shows nothing is depending on it then it's certainly an
orphaned file and can be deleted. (Or safely moved...)

   I went through a period maybe 3-6 months ago where it seems I had a
dozen of these orphaned files on all my systems. I cleaned them up,
ran

emerge -DuN world
revdep-rebuild -i
eix-test-obsolete -d

and have been very clean since.

   Anyway, I do think it's a really big deal. He'll work his way through it.

Cheers,
Mark



[gentoo-user] Re: [solved] Problem with make oldconfig 2.6.30-8 == 2.6.31

2010-03-11 Thread Walter Dnes
On Wed, Mar 10, 2010 at 01:55:30PM +, Mick wrote

 With regards to your kernel panic I suspect an error in the .config
 file you copied over.  Do you keep a copy both in
 /usr/src/linux-gentoo-XXX/ and in /boot?  If yes then copy over your
 .config from a different location this time, otherwise you'll have to
 go about it through the manual method.

  Thanks.  It looks like you were right about the file being corrupt.  I
ran zcat /proc/config.gz  .config and then make oldconfig.  Things
went smoothly.  Unlike the previous run, oldconfig did *NOT* generate
any error/warning messages.  There were only a few items brought up by
oldconfig, mostly new device drivers.  The build and reboot went
smoothly, and now I'm...

[d531][waltdnes][~] uname -sr
Linux 2.6.31-gentoo-r10

  I'll follow my usual routine and wait a week or 2.  Unless I run into
problems, I'll promote 2.6.31-r10 to production then.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: how to git-bisect in a portage-compatible way ?

2010-03-11 Thread walt

On 03/11/2010 07:54 AM, Nicolas Richard wrote:

Le 10/03/10 17:08, walt a écrit :

On 03/10/2010 03:03 AM, Nicolas Richard wrote:

So the general question is : if I want to use git-bisect (I have never
done that before, but today is a good time to try),


It's a great tool and easy to use once you've learned the basic steps.
You can ask here if you need help with it.



Let me stop being off topic for a few seconds, and ask a real question
about git-bisect : imagine there are two bugs : bug A is a known bug,
present in version 2.4.11 but corrected in 2.4.18, and bug B is another
bug which I'm trying to bisect. Problem : they have the same effect
(let's say : a crash) and I want to fix bug A because it might hide bug
B. Assuming that the patch which fixes bug A can be applied to the files
of versions 2.4.11-2.4.18, is it possible to bisect these modified
versions ?
What I can imagine is : do a normal git-bisect session, but each time
apply the patch before ./configure'ing. That sounds ok, but is it ?


I seem to recall doing something like that once, but I can't remember how
it turned out :o)  Not every file in your git working directory is over-
written with each 'good' or 'bad' bisect step, so your patch may possibly
be rejected as 'reversed' on some iterations of bisect.  That is to be
expected.

 And

if yes, what's the correct way to tell git to put the changes induced
by one commit on the current head ? (I hope I'm being clear and not
mixing the terms, here).


Hm. I'm not sure what you are asking.  I'm not a developer but I do often
apply patches from developers and I try to avoid making commits by accident
because then I've made a permanent and unwanted change to my local copy of
the remote git repo.

For example, if I want to apply a bugfix from 2.4.18 to a working copy
of 2.4.11, I would first check out a copy of 2.4.18 and then generate a
patch file by using 'git diff -p hexadecimal commit number  test.patch'
(assuming that you know the commit number of the bugfix, of course).

Then check out a working copy of 2.4.11 and apply test.patch to it. The
patch may or may not succeed, of course.  If the two versions are far
enough apart in time, such patches will fail quite often.  That's when
you start contacting the upstream devs to get their advice/flames.

When you are done fiddling with patches you can do 'git reset --hard' to
restore a pristine working copy of the git repo.  An alternate method
is to create a new branch for all your fiddling, e.g. 'git branch junk'
and then git checkout 2.4.11, or whatever, and then delete 'junk' when
you're finished with your fiddling.  I seem to recall that real devs use
that method, but I could be mistaken.


Actually, it seems that the system first looks in /usr/local/lib before
/usr/lib, so it was probably unnecessary to modify the symlinks (noticed
it at the end).


Good observation.  I see that /usr/local is the top line in /etc/ld.so.conf,
which I'd forgotten, assuming I ever knew it.




Re: [gentoo-user] KDE? Get me out of here!

2010-03-11 Thread Philip Webb
100311 Alex Schuster wrote:
 Philip Webb writes:
 Konsole has lost its 'fixed GNU' font, which now calls up something nasty
 (yes, I know there's an entry in the list, but it's a different font).
 I've switched to Xterm for Mutt  may junk Konsole for user terminal too.
 I noticed this when I started KDE 4.4 for the first time.
 It looked quite different  a bit ugly, but somehow I got used to it.

Further experience showed that Xterm's standard font doesn't do Unicode
 mouse-scroll doesn't work in Most etc, so I've gone back to Konsole
 settled on a tolerable font in 'fixed misc' at size 13 .

 I don't use gwenview much.  When I used it browsing many photos
 and rotating lots of them, it always crashed after a while, 
 after it hogged very much of my memory.
 Just retried that, problem's gone.  Hooray!

Yes, Gwenview has been quite useable for some time now
 the KDE 4 version is a bit of an improvement generally.
Useable alternatives are Thunar (icon view)  Feh (thumbnail view)
to browse around  Feh (image view) to look at the actual pictures.

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




[gentoo-user] how can i get multiple chromium window on kde 4.4?

2010-03-11 Thread Xi Shen
hi,

i can only start one chromium window. if i try to drag one tab off the
main window, i got the follow error message:

The program 'chrome' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.


looks like this feature is not complete yet...do we have other way to
do this? having too many tabs in one window is terrible.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?

2010-03-11 Thread Tony Miller
I have added /etc/init.d/net.ra0 (my wireless interface is called ra0
instead of wlan0) to the default runlevel. It starts the script at boot, but
it acts like the device has not been brought up(i.e. with ifconfig ra0 up).
For instance the boot log will say:

* Starting ra0
*  Configuring wireless network for ra0
Error for wireless request Set Mode (8B06) :
SET failed on device ra0; Network is down
Error for wireless request Set encode (8B2A) :
SET failed on device ra0; Network is down
Error for wireless request Set essid (8B1A) :
SET failed on device ra0; Network is down

And so on and so on for all the different settings, until it finally gives
up.

I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect to
the network just fine! Of course I would like it to start at boot however.

Any ideas? The init script is broken? The actual init script is very
complicated, and even if it were easy to just add ifconfig ra0 up
somewhere to it, I'm not sure if that's the best solution.

Thanks,
-Tony


Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?

2010-03-11 Thread Mick
On Friday 12 March 2010 06:12:55 Tony Miller wrote:
 I have added /etc/init.d/net.ra0 (my wireless interface is called ra0
 instead of wlan0) to the default runlevel. It starts the script at boot,
  but it acts like the device has not been brought up(i.e. with ifconfig ra0
  up). For instance the boot log will say:
 
 * Starting ra0
 *  Configuring wireless network for ra0
 Error for wireless request Set Mode (8B06) :
 SET failed on device ra0; Network is down
 Error for wireless request Set encode (8B2A) :
 SET failed on device ra0; Network is down
 Error for wireless request Set essid (8B1A) :
 SET failed on device ra0; Network is down
 
 And so on and so on for all the different settings, until it finally gives
 up.
 
 I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect to
 the network just fine! Of course I would like it to start at boot however.
 
 Any ideas? The init script is broken? The actual init script is very
 complicated, and even if it were easy to just add ifconfig ra0 up
 somewhere to it, I'm not sure if that's the best solution.

Look at /etc/conf.d/wireless.example to see how you are meant to configure 
/etc/conf.d/net to manage your wireless card either using iwconfig, or using 
wpa_supplicant.  You probably need something like:

sleep_scan_ra0=3 #where 3 is three seconds

HTH. 
-- 
Regards,
Mick


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


Re: [gentoo-user] KDE? Get me out of here!

2010-03-11 Thread Mick
On Friday 12 March 2010 01:59:19 Philip Webb wrote:

 Further experience showed that Xterm's standard font doesn't do Unicode
  mouse-scroll doesn't work in Most etc, so I've gone back to Konsole
  settled on a tolerable font in 'fixed misc' at size 13 .

I haven't been able to configure either xterm or aterm/rxvt to be able to 
scroll with the mouse inside less/most/man pages etc.  I think that this is a 
konsole feature only - please share if anyone has found a way of doing this in 
other than konsole terminals.
-- 
Regards,
Mick


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