Re: [gentoo-user] MAC Pro eSATA Card

2009-09-15 Thread Matthias Langer
On Mon, 2009-09-14 at 17:54 +0200, Dirk Heinrichs wrote:
 Am Montag 14 September 2009 09:20:08 schrieb Matthias Langer:
  Has anyone here experiences with eSATA Cards for a MAC Pro running
  Gentoo? I've already tried two cards ([1], [2]). Both work fine in
  connection with normal PC hardware, but they are not recognized by the
  kernel (or even lspci) on the MAC Pro.
 
 Did you try to boot with some LiveCD and run lspci (-vv) from there?
 

No, I didn't... maybe I should try it on the weekend (I don't have
physical access to the box I'm talking about right now.), although I
doubt that it will make a difference.

Thanks,
Matthias


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


Re: [gentoo-user] MAC Pro eSATA Card

2009-09-15 Thread Matthias Langer
On Tue, 2009-09-15 at 00:04 +0100, Stroller wrote:
 On 14 Sep 2009, at 08:20, Matthias Langer wrote:
 
  Has anyone here experiences with eSATA Cards for a MAC Pro running
  Gentoo? I've already tried two cards ([1], [2]). Both work fine in
  connection with normal PC hardware, but they are not recognized by the
  kernel (or even lspci) on the MAC Pro.
 
 Hi Matt,
 
 I'm not an expert on the vagaries of MacPro hardware, which after all  
 uses EFI instead of a BIOS, but are you using the same kernel  
 configuration with the MacPro as you are on the PC that is working?

As far as the eSATA Cards are affected the configuration should be
identical. I fear that it has something to do with EFI.

 I would *expect* these to work. Is it possible you're using a kernel  
 that's configured specifically for Mac hardware, and that merely omits  
 the drivers for card. I'd really expect that compiling in the modules  
 for the cards would make them work.
 

Unfortunately it doesn't. I've manually loaded the module that is
responsible for the card on ordinary PC hardware on the MAC - without
success.

 We can perhaps be more help if you post the .config (`zcat /proc/ 
 config.gz  file`) for both machines  the output of `dmesg` (with the  
 cards fitted).
 

I'm going to do this on the weekend, as right now, I don't have physical
access to the box I'm talking about, and the eSATA card is currently not
built in.

Thanks,
Matthias


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


[gentoo-user] MAC Pro eSATA Card

2009-09-14 Thread Matthias Langer
Has anyone here experiences with eSATA Cards for a MAC Pro running
Gentoo? I've already tried two cards ([1], [2]). Both work fine in
connection with normal PC hardware, but they are not recognized by the
kernel (or even lspci) on the MAC Pro.

Thanks in advance,
Matthias

[1]: http://tinyurl.com/qwxdza
[2]: Adaptec with Silicon Image Chipset


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


[gentoo-user] audacious-1.4* - can't adjust volume

2008-03-12 Thread Matthias Langer
Since audacious-1.4* there seems to be something b0rked with the volume
controls. Sometimes they work, sometimes they don't (there is a thread
about this in users-de). In more detail:

Adjusting the volume from within audacious works, usually with all files
in the current playlist, if at least one of these files has been added
manually, since audacious has been started.

If this is not the case, you might be able to change the volume from
within audacious for a few seconds, but after that, audacious seems to
loose complete control over it. You can move the sliders, without them
changing anything. If you want to do a quick check, if this problem
applies also to you, try


$ audacious foo.mp3


wait, say 10 seconds, and then try to change the volume from within
audacious.

I'm going to file a Bug about this, but before doing so, I want to
collect some more information, as I don't think, that this problem
affects anyone using audacious, and I want this fixed. So, if you are
using audacious-1.4.*, please tell me if the issue I've described above
applies to you or not. Also include at least the following information:

a.) The versions and USE-Flags of audacious and audacious-plugins.
b.) $ uname -msvr
c.) Your CFLAGS.
d.) The audio output plugin you are using.

Here is what I have:

a.)
media-sound/audacious-1.4.5  
USE=dbus nls -chardet -libsamplerate 0 kB 
media-plugins/audacious-plugins-1.4.4  
USE=aac alsa dbus flac gnome mp3 nls pulseaudio sdl sse2 vorbis wma
-adplug -arts -chardet -esd -jack -lirc -modplug -mtp -musepack -oss
-sid -sndfile -timidity -tta -wavpack 0 kB

b.)
Linux 2.6.23-gentoo-r9 #2 SMP PREEMPT Mon Mar 10 21:18:38 CET 2008
x86_64

c.)
CFLAGS=-march=nocona -O2 -pipe

d.)
ALSA

Thanks for your help,
Matthias


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


Re: [gentoo-user] audacious-1.4* - can't adjust volume

2008-03-12 Thread Matthias Langer

 ALSA. Using the default, in-kernel driver. The soundcard is some ATI
 IXP chipset-based onboard thing (listed as ATI in lspci as well IIRC).
 

Thanks for your information: That reminds me... I should probably also
add

e.) your soundcard + driver inforamtion

I'm using
Intel Corporation 82801I (ICH9 Family) HD Audio Controller
with the snd_hda_intel module shipped with the kernel.

Matthias



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


Re: AW: [gentoo-user] metacity does not start

2007-10-09 Thread Matthias Langer
On Mon, 2007-10-08 at 08:40 +0200, Zimmerling, Alexander wrote:
  I had this problem and solved it by deleting ~/.gnome ~/.gnome2 and
 ~/.gnome2_private
 

hmm, although i've installed gentoo only about 2 month ago, i don't want
to loose all my personal settings; i've created a new user - and it
seems to work there - but maybe only because i've never really *used*
this account...

i'm already thinking about solving this problem in a very hackish way:
by writing a script that is called on startup and eventually starts
metacity for me...

hopefully i find a better solution.
 
 
 Hi, I have the same problem here. Deleting the files help, but not for
 long. After 3-4 Logins without any problem, the problem returns.
 

yes, and i fear that the same would happen to me :-/.

regards,
matthias

-- 
[EMAIL PROTECTED] mailing list



Re: AW: AW: [gentoo-user] metacity does not start

2007-10-09 Thread Matthias Langer
On Tue, 2007-10-09 at 14:56 +0200, Zimmerling, Alexander wrote:
 Hi,
 
 I ried this 'solution' just one time. Unfortunately, I installed a lot of 
 programs during the time. This problem appeared after upgrading gnome to the 
 latest stable version. I had no problems at all by using gnome 2.16.
 
 I used a unstable version of gnome-2.18 once and downgraded because of this 
 problem. Nobody able to solve this problem.
 
 Matthias, can you post your 'very hackish way' please

well, it's nothing special:


#!/bin/bash
! ps -u $(whoami) | grep metacity  /dev/null  metacity


put this in a file somewhere in your home directory, make it executable
and add it to Startup Programs in Sessions...

this does the trick at least for me...

regards,
matthias


-- 
[EMAIL PROTECTED] mailing list



Re: AW: AW: [gentoo-user] metacity does not start

2007-10-09 Thread Matthias Langer
On Tue, 2007-10-09 at 22:31 +0200, Matthias Langer wrote:
 On Tue, 2007-10-09 at 14:56 +0200, Zimmerling, Alexander wrote:
  Hi,
  
  I ried this 'solution' just one time. Unfortunately, I installed a lot of 
  programs during the time. This problem appeared after upgrading gnome to 
  the latest stable version. I had no problems at all by using gnome 2.16.
  
  I used a unstable version of gnome-2.18 once and downgraded because of this 
  problem. Nobody able to solve this problem.
  
  Matthias, can you post your 'very hackish way' please
 
 well, it's nothing special:
 
 
 #!/bin/bash
 ! ps -u $(whoami) | grep metacity  /dev/null  metacity
 
 
 put this in a file somewhere in your home directory, make it executable
 and add it to Startup Programs in Sessions...
 

or, if you want it more verbose:


#!/bin/bash

LOGFILE=${HOME}/meta.log
COMPLAIN=metacity was not started by gnome

ps -u $(whoami) | grep metacity  /dev/null
if [[ $? -ne 0 ]]; then
echo $(date): $COMPLAIN  $LOGFILE
metacity
fi


matthias

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] metacity does not start

2007-10-07 Thread Matthias Langer
i'm wondering if anyone else has this problem, or even better, a
solution for it:

since i've upgraded to gnome-2.18.x i have to start metacity manually at
least sometimes after logging in. that is, in about 1 of 4 logins, i
don't have a usable desktop till i type metacity into some terminal.

apart from this annoying behavior, gnome seems to be fine.

here are some parts of my configuration:

$ emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
[...]
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=nocona -O2 -pipe
CHOST=x86_64-pc-linux-gnu
[...]
USE=3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bitmap-fonts bzip2
cairo caps cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread
eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif
gimp gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipod ipv6
isdnlog java jpeg jpeg2k lcms ldap libnotify lm_sensors mad matroska
midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap ncurses nls nptl
nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png pppd
python qt3support quicktime readline reflection ruby sdl session spell
spl sse sse2 ssl ssse3 svg tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts unicode usb vcd vorbis xattr xml xorg xv xvid
zlib ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol CAMERAS=canon konica ptp2
kodak ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
[...]


i'm using:

x11-wm/metacity-2.18.5  USE=-debug -xinerama
x11-libs/gtk+-2.10.14  USE=X jpeg tiff -debug -doc -xinerama
gnome-base/gnome-session-2.18.3  USE=ipv6 tcpd -branding -debug -esd
gnome-base/gnome-light-2.18.3

also note, that the system i'm using has been installed from scratch
just a bit more than a month ago and i'm having this problem ever since.

thanks,
matthias

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] metacity does not start

2007-10-07 Thread Matthias Langer
On Sun, 2007-10-07 at 17:25 -0700, Hex Star wrote:
 You should take note of the error message that occurs when you
 experience this problem and paste the error msg here

well, that would be indeed a very good idea; however, i don't start
gnome from a terminal but from gdm and i don't know where to look for
error messages in this case...

maybe i can see if the problem can be reproduced by using startx and
maybe i get some error messages there... 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Email clients - what can replace Evolution?

2007-02-28 Thread Matthias Langer
On Tue, 2007-02-27 at 20:59 -0800, Mark Knecht wrote:
 Hi all,
I've got a machine that will no longer run Evolution. For whatever
 reason all versions of Evolution in Portage crash. I cannot as of yet
 get a backtrace to determine why. 

I'm using evolution-2.8.2.1 and it works fine; can you post your emerge
--info ?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] another strange alsa problem

2006-12-07 Thread Matthias Langer
I'm using alsa for years now and it has always been fine; especially it
has always been possible without any problems to have multiple apps
running that access the sound card. For example i could start audacious
to play some music and to totem and watch a movie _with_ sound; or play
some music and start a game etc.  Yesterday, i noticed, that this is
no longer possible: For example, if i try to play a mp3 in gmplayer
while running audacious i get:

alsa-init: using device default
alsa-lib: pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave
alsa-init: playback open error: Invalid argument
Could not open/initialize audio device - no sound.

Now the funny thing is, that the same works as root; so i guess that
some permissions are not set correctly (note that my everyday user is in
the audio group) and perhaps, but this is only one possible explanation,
this is because i've upgraded to sys-fs/udev-103 recently ...

any ideas ?

btw, this is my sound-card: Creative Labs SB Live! EMU10k1

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 01:20:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=athlon-xp -O2 -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/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
CXXFLAGS=-march=athlon-xp -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig collision-protect distlocks metadata-transfer
sandbox sfperms strict
GENTOO_MIRRORS=ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo 
LANG=en_US.utf8
LC_ALL=en_US.utf8
LINGUAS=en de
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://192.168.0.1/gentoo-portage
USE=x86 3dnow 3dnowext X a52 aac acpi aiglx alsa audiofile avahi beagle
berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt css cups dbus
dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode evo exif fam
fbcon ffmpeg firefox flac fortran gdbm gif ginac gmp gnome gphoto2 gpm
gstreamer gtk gtk2 hal iconv icq input_devices_keyboard
input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k
kernel_linux lcms ldap libg++ linguas_de linguas_en mad mikmod mime mmx
mmxext mono mozsvg mp3 mpeg msn nautilus ncurses nfs nls nptl nptlonly
nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdf perl
plotutils png posix ppds pppd python qt3 qt4 quicktime readline real
reflection ruby sdl session sockets spell spl sqlite3 sse ssl subtitles
svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
udev unicode usb userland_GNU vcd video_cards_nvidia vorbis win32codecs
wma xine xml xorg xv xvid zlib
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another strange alsa problem [SOLVED]

2006-12-07 Thread Matthias Langer
On Thu, 2006-12-07 at 13:18 +0100, Matthias Langer wrote:
 I'm using alsa for years now and it has always been fine; especially it
 has always been possible without any problems to have multiple apps
 running that access the sound card. For example i could start audacious
 to play some music and to totem and watch a movie _with_ sound; or play
 some music and start a game etc.  Yesterday, i noticed, that this is
 no longer possible: For example, if i try to play a mp3 in gmplayer
 while running audacious i get:
 
 alsa-init: using device default
 alsa-lib: pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave
 alsa-init: playback open error: Invalid argument
 Could not open/initialize audio device - no sound.
 

well, it finally turned out that this problems where related to an
~/.asoundrc that has been created by some strange program. removing that
file made alsa happy again ...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't Start Epiphany

2006-12-07 Thread Matthias Langer
On Thu, 2006-12-07 at 09:01 -0500, Randy Barlow wrote:
 Howdy all, I've just made a shiny new install and am using the Gnome
 desktop, but I cannot seem to start Epiphany.  When I try, I get a
 dialogue box telling me:
 
 Startup failed because of the following error:
 Unable to determine the address of the message bus (try 'man
 dbus-launch' and 'man dbus-daemon' for help)
 
 I did run /etc/init.d/dbus start as root (and added that to default run
 level) and I did log out/in afterwards, and the problem persists.  Any
 ideas?

is it possible that you are using gnome-2.16 without gdm ? if so, read
this:
http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.16-upgrade.xml

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another strange alsa problem [SOLVED]

2006-12-07 Thread Matthias Langer
On Thu, 2006-12-07 at 11:24 -0700, Richard Fish wrote:
 On 12/7/06, Matthias Langer [EMAIL PROTECTED] wrote:
  alsa-init: using device default
  alsa-lib: pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave
  alsa-init: playback open error: Invalid argument
  Could not open/initialize audio device - no sound.
 
 This indicates a configuration error.  The default device is
 apparently the dmix plugin, but it is misconfigured to open a slave
 device that doesn't exist.
 
  Now the funny thing is, that the same works as root; so i guess that
  some permissions are not set correctly
 
 Maybe root doesn't have a ~/.asoundrc, and your regular user account does?
 
 -Richard

thanks for your answer that would have been very, very helpful if i
hadn't already fixed this problem [1] ;-)

Matthias

[1]: http://news.gmane.org/gmane.linux.gentoo.user/cutoff=175354

-- 
gentoo-user@gentoo.org mailing list



Re: OT - Where are the modules (WAS: Re: [gentoo-user] OT - Win4Lin)

2006-11-06 Thread Matthias Langer
On Mon, 2006-11-06 at 12:08 -0600, Michael Sullivan wrote:
 I went to www.netraverse.com and found out that the newest patch for
 Win4Lin for SMP kernels is 2.6.11.  I have to tell you that no kernel
 I've ever built myself (as in without genkernel) has booted.  I
 downloaded 2.6.11 kernel source from www.kernel.org , and it seems to
 have built correctly.  I followed the following steps:
 
 cd /usr/src
 tar xvfj /home/michael/linux-2.6.11.12.tar.bz2
 rm linux; ln -s linux-2.6.11.12 linux
 cd linux
 make mrproper
 make menuconfig
 make bzImage
 make modules

# make modules_install
is what you need [1]

[1]: http://www.gentoo.org/doc/en/kernel-upgrade.xml

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I modify work list of emerge --resume?

2006-09-10 Thread Matthias Langer
On Sun, 2006-09-10 at 11:21 -0700, Mark Knecht wrote:
 Hi,
I was 8 hours through the emerge -eav world part of upgrading gcc
 when it hit the pysol package it's not happy with. The messages are
 telling me I need to recompile python with Tkinter support and asked
 me to add dev/lang/python X tk to package.use, which I did. However
 emerge --resume won't go back and recompile python at this point and
 if I start over it's a 575 package compile job and I was already
 through about 200 of the packages.
 
Is there any way to get python updated and then to resume the
 remaining 375 packages where I am currently stopped?
 
Can I somehow save the file emerge --resume is currently using,
 emerge python with the changes, and then put the current worl list
 back in?
 
Better yet, can I somehow remove pysol from the list so the emerge
 --resume just stoarts from the next package?
 
Try emerge --resume --skipfirst and care about that python stuff
later ...

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Matthias Langer
On Fri, 2006-09-08 at 23:53 -0500, Colleen Beamer wrote:
 Okay, I give.  I'm having a problem with configuring xorg.
 
 I *do* have a basic configuration, but can't run some applications in
 full screen mode and I surmise this is because something isn't set
 properly in xorg.conf  I ran Xorg -configure and it did give me a basic
 configuration, but the file is nothing like I am used to from before I
 had to rebuild my system and I can't find an xorg.conf.example file - I
 don't know if I accidentally deleted it or not.
 
 In particular, this is the stuff that I don't understand and without the
 xorg.conf.example file, I have no means of reference.
 
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option Dac6Bit # [bool]
 #Option Dac8Bit # [bool]
 #Option BusType # [str]
 #Option CPPIOMode   # [bool]
 #Option CPusecTimeout   # i
 #Option AGPMode # i
 #Option AGPFastWrite# [bool]
 #Option AGPSize # i
 #Option GARTSize# i
 #Option RingSize# i
 #Option BufferSize  # i
 #Option EnableDepthMoves# [bool]
 #Option EnablePageFlip  # [bool]
 #Option NoBackBuffer# [bool]
 #Option DMAForXv# [bool]
 #Option FBTexPercent# i
 #Option PanelOff# [bool]
 #Option DDCMode # [bool]
 #Option MonitorLayout   # [str]
 #Option IgnoreEDID  # [bool]
 #Option UseFBDev# [bool]
 #Option MergedFB# [bool]
 #Option CRT2HSync   # [str]
 #Option CRT2VRefresh# [str]
 #Option CRT2Position# [str]
 #Option MetaModes   # [str]
 #Option MergedDPI   # [str]
 #Option MergedXinerama  # [bool]
 #Option MergedXineramaCRT2IsScreen0 # [bool]
 #Option MergedNonRectangular# [bool]
 #Option MergedMouseRestriction  # [bool]
 #Option DisplayPriority # [str]
 #Option PanelSize   # [str]
 #Option ForceMinDotClock# freq
 #Option ColorTiling # [bool]
 #Option VideoKey# i
 #Option RageTheatreCrystal  # i
 #Option RageTheatreTunerPort# i
 #Option RageTheatreCompositePort# i
 #Option RageTheatreSVideoPort   # i
 #Option TunerType   # i
 #Option RageTheatreMicrocPath   # str
 #Option RageTheatreMicrocType   # str
 #Option RenderAccel # [bool]
 #Option SubPixelOrder   # [str]
 #Option ShowCache   # [bool]
 #Option DynamicClocks   # [bool]
 #Option BIOSHotkeys # [bool]
 #Option VGAAccess   # [bool]
 #Option ReverseDDC  # [bool]
 #Option LVDSProbePLL# [bool]
 #Option AccelMethod # str
   Identifier  Card0
   Driver  ati
   VendorName  ATI Technologies Inc
   BoardName   Radeon R200 QL [Radeon 8500 LE]
   BusID   PCI:1:0:0
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   EndSubSection
 EndSection
 
 I also tried using xorgcfg, but I didn't even get a working
 configuration with that and I *do* know my monitor settings.
 
 Also, the man page for xorg.config isn't any help cause it doesn't
 mention any of the stuff like viewport that I could see.
 
 I've re-emerged xorg-x11 hoping to get the xorg.conf.example file back,
 but that didn't work.
 
 So, if any of you kind 

Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Matthias Langer
On Fri, 2006-09-08 at 23:53 -0500, Colleen Beamer wrote:
 Okay, I give.  I'm having a problem with configuring xorg.
 
 I *do* have a basic configuration, but can't run some applications in
 full screen mode and I surmise this is because something isn't set
 properly in xorg.conf  I ran Xorg -configure and it did give me a basic
 configuration, but the file is nothing like I am used to from before I
 had to rebuild my system and I can't find an xorg.conf.example file - I
 don't know if I accidentally deleted it or not.
 
 In particular, this is the stuff that I don't understand and without the
 xorg.conf.example file, I have no means of reference.
 

You shouldn't need to tweak these settings ...
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option Dac6Bit # [bool]
 #Option Dac8Bit # [bool]
 #Option BusType # [str]
 #Option CPPIOMode   # [bool]
 #Option CPusecTimeout   # i
 #Option AGPMode # i
 #Option AGPFastWrite# [bool]
 #Option AGPSize # i
 #Option GARTSize# i
 #Option RingSize# i
 #Option BufferSize  # i
 #Option EnableDepthMoves# [bool]
 #Option EnablePageFlip  # [bool]
 #Option NoBackBuffer# [bool]
 #Option DMAForXv# [bool]
 #Option FBTexPercent# i
 #Option PanelOff# [bool]
 #Option DDCMode # [bool]
 #Option MonitorLayout   # [str]
 #Option IgnoreEDID  # [bool]
 #Option UseFBDev# [bool]
 #Option MergedFB# [bool]
 #Option CRT2HSync   # [str]
 #Option CRT2VRefresh# [str]
 #Option CRT2Position# [str]
 #Option MetaModes   # [str]
 #Option MergedDPI   # [str]
 #Option MergedXinerama  # [bool]
 #Option MergedXineramaCRT2IsScreen0 # [bool]
 #Option MergedNonRectangular# [bool]
 #Option MergedMouseRestriction  # [bool]
 #Option DisplayPriority # [str]
 #Option PanelSize   # [str]
 #Option ForceMinDotClock# freq
 #Option ColorTiling # [bool]
 #Option VideoKey# i
 #Option RageTheatreCrystal  # i
 #Option RageTheatreTunerPort# i
 #Option RageTheatreCompositePort# i
 #Option RageTheatreSVideoPort   # i
 #Option TunerType   # i
 #Option RageTheatreMicrocPath   # str
 #Option RageTheatreMicrocType   # str
 #Option RenderAccel # [bool]
 #Option SubPixelOrder   # [str]
 #Option ShowCache   # [bool]
 #Option DynamicClocks   # [bool]
 #Option BIOSHotkeys # [bool]
 #Option VGAAccess   # [bool]
 #Option ReverseDDC  # [bool]
 #Option LVDSProbePLL# [bool]
 #Option AccelMethod # str
   Identifier  Card0
   Driver  ati
   VendorName  ATI Technologies Inc
   BoardName   Radeon R200 QL [Radeon 8500 LE]
   BusID   PCI:1:0:0
 EndSection

Frankly, i don't really know what your problem with xorg is exactly ...
if you can provide some details, it would be easier to help !

Regards,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] svc: bad direction 268435456 [SOLVED]

2006-06-19 Thread Matthias Langer
On Mon, 2006-06-19 at 07:24 +0200, Ralph Slooten wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Matthias Langer wrote:
  i've recently set up a local nfs server for my disfiles; to keep the WAN
  out i have:
  
  iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport nfs -j DROP
  iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport nfs -j DROP
  
  everthing is working fine so far; however, my logs are full with these
  messages:
  
  svc: bad direction 268435456, dropping request
  
  any comments ?
 
 I have had this too from quite a while back
 (http://blog.axljab.homelinux.org/post/6/). I turned on logging in my
 firewall to find out that nfs listens on random ports for UDP
 connections. The problem is that the random ports change ;-) In my
 firewall *most* of  1024 is open so there isn't much I can do about it.
 
 - From what I noticed it's nobody trying to hack you but rather just
 internet static which by coincidence tries a port that your NFS is
 listening on. I stopped worrying about it after a while. The option for
 NFS to listen only on one interface wasn't then (iirc) an option ..  not
 sure about now though.
 
 Greetings,
 Ralph

Thank you very much .. After adding the following lines to my firewall,
these annyoing messages seem to be gone (at least they did not appear
for one hour now):

iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 1026 -j DROP
iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport 1026 -j DROP
iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 2442 -j DROP
iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 2292 -j DROP

i'm not sure which of these lines acually fixed my problem as i've just
looked at the output of rpcinfo and grabbed all nfs relevant ports from
there.

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] svc: bad direction 268435456 [SOLVED]

2006-06-19 Thread Matthias Langer
On Mon, 2006-06-19 at 14:53 +0200, Ralph Slooten wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Matthias Langer wrote:
  i'm not sure which of these lines acually fixed my problem as i've just
  looked at the output of rpcinfo and grabbed all nfs relevant ports from
  there.
 
 This will probably fix your problems *until* you restart nfs.
 
 # lsof -n -P|egrep UDP|LISTEN|grep rpc\.
 rpc.statd 19260   nobody4u IPv4  178640062  UDP *:47496
 rpc.statd 19260   nobody5u IPv4  178640054  UDP *:780
 rpc.statd 19260   nobody6u IPv4  178640065  TCP *:42346 (LISTEN)
 rpc.mount 19277 root6u IPv4  178640109  UDP *:797
 rpc.mount 19277 root7u IPv4  178640112  TCP *:800 (LISTEN)
 
 Restart NSF 
 
 rpc.statd 19433   nobody4u IPv4  178641101  UDP *:47498
 rpc.statd 19433   nobody5u IPv4  178641093  UDP *:953
 rpc.statd 19433   nobody6u IPv4  178641104  TCP *:42347 (LISTEN)
 rpc.mount 19450 root6u IPv4  178641148  UDP *:970
 rpc.mount 19450 root7u IPv4  178641151  TCP *:973 (LISTEN)
 
 Restart again 
 
 rpc.statd 19534   nobody4u IPv4  178641453  UDP *:47499
 rpc.statd 19534   nobody5u IPv4  178641445  UDP *:630
 rpc.statd 19534   nobody6u IPv4  178641456  TCP *:42348 (LISTEN)
 rpc.mount 19551 root6u IPv4  178641500  UDP *:647
 rpc.mount 19551 root7u IPv4  178641503  TCP *:650 (LISTEN)
 
 
 
 I never worked out how to get NSF to only listen on a single interface.
 
 Glad you at least now know what was causing the logs.
 
 Greetings,
 Ralph
 
Well, i guess this can be done by modifiying the steps described in the
follwoing howto:
http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS#Setting_Up_Firewall_.28Server_Side.29
I've not tried that yet, as i don't plan to restart my server in the
next few days, but will sooner or later take this into account ...

Matthias

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] svc: bad direction 268435456

2006-06-18 Thread Matthias Langer
i've recently set up a local nfs server for my disfiles; to keep the WAN
out i have:

iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport nfs -j DROP
iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport nfs -j DROP

everthing is working fine so far; however, my logs are full with these
messages:

svc: bad direction 268435456, dropping request

any comments ?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice build failed.

2006-05-30 Thread Matthias Langer
On Tue, 2006-05-30 at 08:04 +0200, Bo Ørsted Andresen wrote:
 Tuesday 30 May 2006 07:41 skrev Graham Murray:
   Besides, by looking at the terminal while merging packages, you will
   soon notice, that lot's of packages add their very own CFLAGS to your
   default ones. For example mplayer or xine-lib was compiled with '-O3' on
   my system, allthough i have '-O2' in my CFLAGS. (As far as i know, gcc
   -O3 -O2 == gcc -O3).
 
  Where packages do this, should they not filter out the appropriate
  flags from the user's CFLAGS and substitute their flags rather than
  having both flags on the command line?
 
 Not in this particular case. xine-lib is a good example. src_compile() 
 contains the following in the ebuild (and more):
 
 if [[ $(tc-arch) == x86 ]]; then
   filter-flags -fforce-addr
   filter-flags -momit-leaf-frame-pointer
   is-flag -O? || append-flags -O2
 fi
 
 On an x86 architecture it filters out -fforce-addr 
 and -momit-leaf-frame-pointer. If the CFLAGS contain any optimizations it 
 just appends -O2 yielding that -O2 will be used as stated by Christian 
 Limberg. In 'man gcc' you find the following statement:
 
 If you use multiple -O options, with or without level numbers, the last such 
 option is the one that is effective.
 
 So this is completely legal.
 
 And I very much doubt that there are any ebuilds in the portage tree that 
 enforces -O3 or higher...
 
Well, you are right: However, what i said still applies: Lot's of
packages add their very own CFLAGS (-fomit-frame-pointer,
-ffunction-sections are two examples for xine-lib).

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice build failed.

2006-05-29 Thread Matthias Langer
snip
  CFLAGS=-O3 -m3dnow -march=athlon-xp -mtune=athlon64 -msse -msse2 -msse3 
 -m3dnow -mfpmath=sse -funroll-loops -fomit-frame-pointer  -finline-functions 
 -falign-functions=4 -mpreferred-stack-boundary=2
snip

Before doing anything else, please clean up your CFLAGS and do 
# emerge -e system; emerge -e world

If you realy want x86 (with your cpu i would reinstall an amd64 system
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml) then use:

CFLAGS=-O3 -march=athlon-xp -fomit-frame-pointer

because, mostly all of your flags are redundant and the combination
-march=athlon-xp -mtune=athlon64 will give you nothing but maybe
broken compiler output.

You may also be interested in these pages:
http://gentoo-wiki.com/Safe_Cflags
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html#Optimize-Options
http://gentoo-wiki.com/CFLAGS
http://gentoo-wiki.com/CFLAGS_matrix

HTH,
Matthias




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice build failed.

2006-05-29 Thread Matthias Langer
On Mon, 2006-05-29 at 21:31 +0200, Meino Christian Cramer wrote:
 From: Matthias Langer [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] OpenOffice build failed.
 Date: Mon, 29 May 2006 21:14:25 +0200
 
  snip
CFLAGS=-O3 -m3dnow -march=athlon-xp -mtune=athlon64 -msse -msse2 
   -msse3 -m3dnow -mfpmath=sse -funroll-loops -fomit-frame-pointer  
   -finline-functions -falign-functions=4 -mpreferred-stack-boundary=2
  snip
  
  Before doing anything else, please clean up your CFLAGS and do 
  # emerge -e system; emerge -e world
  
  If you realy want x86 (with your cpu i would reinstall an amd64 system
  http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml) then use:
  
  CFLAGS=-O3 -march=athlon-xp -fomit-frame-pointer
  
  because, mostly all of your flags are redundant and the combination
  -march=athlon-xp -mtune=athlon64 will give you nothing but maybe
  broken compiler output.
  
  You may also be interested in these pages:
  http://gentoo-wiki.com/Safe_Cflags
  http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html#Optimize-Options
  http://gentoo-wiki.com/CFLAGS
  http://gentoo-wiki.com/CFLAGS_matrix
  
  HTH,
  Matthias
  
  
  
  
  -- 
  gentoo-user@gentoo.org mailing list
  
 
 My decision against 64 bit and pro 32 was done, cause 64 bit gives me
 a performance gain only in some special cirumstances (beside only a
 few others:  when rendering with 64 Bit aware Raytracers) but gives me
 for sure trouble with software, which isn't 64Bit-ready (according to
 different articles of the german c't computer magazine (Heise press).
 
 When changing CFLAGs on half the way...do I have to recompile my whole
 system? And -- only from the logical point of view -- redundancy may
 be not a sign of cleverness not a sign of cleverness but it does not
 hurt does not hurt the overall context since it instructs the compiler
 twice to do the same?!
 
 Bad compiler output is another thing. 
 
 Keep hacking!
 mcc

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice build failed.

2006-05-29 Thread Matthias Langer
On Mon, 2006-05-29 at 21:31 +0200, Meino Christian Cramer wrote:
 From: Matthias Langer [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] OpenOffice build failed.
 Date: Mon, 29 May 2006 21:14:25 +0200
 
  snip
CFLAGS=-O3 -m3dnow -march=athlon-xp -mtune=athlon64 -msse -msse2 
   -msse3 -m3dnow -mfpmath=sse -funroll-loops -fomit-frame-pointer  
   -finline-functions -falign-functions=4 -mpreferred-stack-boundary=2
  snip
  
  Before doing anything else, please clean up your CFLAGS and do 
  # emerge -e system; emerge -e world
  
  If you realy want x86 (with your cpu i would reinstall an amd64 system
  http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml) then use:
  
  CFLAGS=-O3 -march=athlon-xp -fomit-frame-pointer
  
  because, mostly all of your flags are redundant and the combination
  -march=athlon-xp -mtune=athlon64 will give you nothing but maybe
  broken compiler output.
  
  You may also be interested in these pages:
  http://gentoo-wiki.com/Safe_Cflags
  http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html#Optimize-Options
  http://gentoo-wiki.com/CFLAGS
  http://gentoo-wiki.com/CFLAGS_matrix
  
  HTH,
  Matthias
  
  
  
  
  -- 
  gentoo-user@gentoo.org mailing list
  
 
 My decision against 64 bit and pro 32 was done, cause 64 bit gives me
 a performance gain only in some special cirumstances (beside only a
 few others:  when rendering with 64 Bit aware Raytracers) but gives me
 for sure trouble with software, which isn't 64Bit-ready (according to
 different articles of the german c't computer magazine (Heise press).
 
 When changing CFLAGs on half the way...do I have to recompile my whole
 system? And -- only from the logical point of view -- redundancy may
 be not a sign of cleverness not a sign of cleverness but it does not
 hurt does not hurt the overall context since it instructs the compiler
 twice to do the same?!
 

Of course, redunant compiler options should not do any harm but:
1.) they are difficult to read for people that may help you.
2.) -O3 turns on a group of compiler switches that are veryfied by
by the gcc devs to produce good results. The group of these
switches may change from time to time. Without further invention,
your custum, today redunant swiches, may break your system 
tomorrow, after you have choosen to do a compiler upgrade and the
the actual contents of -O3 have changed. The same applies of course
to march=athlon-xp. One (harmless) example where this applies is 
'-fforce-mem'. This option will be completly removed with gcc-4.2,
does nothing with gcc-4.1, but is activated with '-O3' for
gcc-3.4.x.

More generally: After doing some experiments, i've decided to use
CFLAGS=-march=athlon-xp -O2 -pipe. I don't think that my system would
be noticeably faster with -O3, as -O3 often gains you nothing.
'-fomit-frame-pointer' may give you a few percent, but it may interfere
with debuging. 

From the gentoo-x86-handbook:
Mind you that using -fomit-frame-pointer (which doesn't keep the frame
pointer in a register for functions that don't need one) might have
serious repercussions on the debugging of applications!

From the gcc-manual:
-O also turns on -fomit-frame-pointer on machines where doing so does
not interfere with debugging

Besides, by looking at the terminal while merging packages, you will
soon notice, that lot's of packages add their very own CFLAGS to your
default ones. For example mplayer or xine-lib was compiled with '-O3' on
my system, allthough i have '-O2' in my CFLAGS. (As far as i know, gcc
-O3 -O2 == gcc -O3).

 Bad compiler output is another thing.

In this exactly is the reason, i told you to better rebuild your whole
system:
1.) emerge -e system so that all base packages (especially gcc, 
libtool,  glibc, !python!, ...) are ok.
2.) emerge -e world so that all your packages are rebuild with your 
fixed toolchain.

If you still problems with openoffice afterwards, it is sure that 
they are not related to your CFLAGS. Only then it makes sense to me to
look at this problem more in detail.

Have a nice day,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice build failed.

2006-05-29 Thread Matthias Langer
snip
   PS: I symlinked /var/tmp/portags to /tmp/portage (I carefully copied
   all permissions settings...) due to space problems.
/snip
I've not noticed this before:
Neil Botwick once wrote to me here, in gentoo-user:
quote
If you want to move directories, avoid wholesale symlinking like this as
it always ends in tears ...
/quote
You may take a look at:
http://news.gmane.org/find-root.php?message_id=%3c434666D9.3070306%
40gmx.at%3e

Maybe you want to solve this issue before rebuilding your system (i
would do that in either case).

Regards,
Matthias


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-28 Thread Matthias Langer
On Sun, 2006-05-28 at 15:03 +0400, Alexander Kirillov wrote:
 recently my sister descovered a strange and serious bug with
 mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
 visiting
 http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
 xorg shuts down immediatly direct access to the box via the terminal
 is
 impossible. logging in remotley via ssh still works ...
 
 can anyone with the above combination verify this ?
 
 Yep. Killed my X too. I have these same versions of xorg and firefox.
 Fortunately I got a kdm login prompt again. The only relevant messages
 I could find in the logs:
 
 # cat /var/log/messages
 ...
 May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated
 unexpectedly
 ...
 
 # cat /var/log/kdm.log
 ...
 *** glibc detected *** free(): invalid next size (normal): 0x096128c0
 ***
 ...
 
 You probably should file a bug.
 Please post to the list if you have any new info on the subject.
 
 
  Alexander, as you are the only one so far that can verify this bug, can
  you post about:plugins to
  http://bugs.gentoo.org/show_bug.cgi?id=134373 ?
 
 Hi Matthias,
 I posted my system config as you requested.
 But I can't reproduce this bug with the cached page.
 MP3 Flash player seems to be working except I can't load/play
 some songs from the list.
 I don't have any popups I had with the real page either.
 So it probably was one of the ads?
 Sasha

Well, too bad - possible that the page was removed for a good
reason :-). Maybe you want to add yourself to 'CC' for bug 134373 (just
select 'Add to CC list' below 'Additional Comments:' and hit enter).
There's a message from spyderous that is most likely targeted at you ...

Thanks for your efforts,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-27 Thread Matthias Langer
On Sat, 2006-05-27 at 03:45 +0200, Matthias Langer wrote:
 On Fri, 2006-05-26 at 17:04 -0700, Steven Susbauer wrote:
  
  On Sat, 27 May 2006, Alexander Kirillov wrote:
  
   recently my sister descovered a strange and serious bug with
   mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. 
   After
   visiting
   http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
   xorg shuts down immediatly direct access to the box via the 
   terminal
   is
   impossible. logging in remotley via ssh still works ...
   
   can anyone with the above combination verify this ?
  
  Yep. Killed my X too. I have these same versions of xorg and 
  firefox.
  Fortunately I got a kdm login prompt again. The only relevant 
  messages
  I could find in the logs:
  
  # cat /var/log/messages
  ...
  May 26 01:10:39 baikal kdm[11220]: X server for display :0 
  terminated
  unexpectedly
  ...
  
  # cat /var/log/kdm.log
  ...
  *** glibc detected *** free(): invalid next size (normal): 
  0x096128c0
  ***
  ...
  
  You probably should file a bug.
  Please post to the list if you have any new info on the subject.
 
 
Alexander, as you are the only one so far that can verify this bug, can
you post about:plugins to
http://bugs.gentoo.org/show_bug.cgi?id=134373 ?

Thanks,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3 Problems

2006-05-27 Thread Matthias Langer
On Sat, 2006-05-27 at 14:00 +0100, Paul Stear wrote:
 Hi all,
 For some time now I have been getting errors on boot.
 1.This happens a number of times:-
 udev-event [1777]:find_free_number: %e is deprecated, will be removed and is 
 unlikely to work correctly. Don't use it
 What does this mean and how do I fix it?

Well, there was a thread about this here some time ago (i get this
message too on all my boxes) ... The conclusion was: don't care about it
(gregkh, one of the autors of udev maintains the udev-ebuilds for gentoo
himself. i guess he knows what he is doing).

 1.etc/modules.devfs not automatically copied modules update forced
 again what does this mean and hoe do I fix it?
 3.2 days ago, after and emerge update of a load of programs, my usb 
 printer 
 does not work, it seems that the usb device is not as shown on the cups 
 setup.  So I have been into the kde print manager and selected usb #1 as the 
 printer port but when I try to select the correct printer I get an error:-
 Unable to start the creation of the driver database. The execution of 
 make_driver_db_cups failed.
 Any thoughts as to how to resolve this?

maybe '# revdep-rebuild' ? just a guess ...

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox hangs frequently...

2006-05-26 Thread Matthias Langer
On Fri, 2006-05-26 at 13:07 +0800, fei huang wrote:
 
 
 On 5/26/06, Matthias Langer [EMAIL PROTECTED] wrote:
 On Fri, 2006-05-26 at 10:04 +0800, fei huang wrote:
  I have seen wierd problems with binary packages.
 Have you
  tried
  compiling firefox from source yet?
 
  - -- 
  Jeremy Olexa
  ([EMAIL PROTECTED])
 
 
  yes, It took me  more than half  an hour  to compile it from
 source
  last night,  um;--( 
 
 
  Maybe you should also
  # emerge -av gentoolkit
  # revdep-rebuild
 
  HTH,
  Matthias
 
 
  thank you for your help anyway, I already have gentoolkit
 installed, I 
  noticed the revdep-rebuild fix a lib file regarding to my
 nvidia
  driver, I don't think it has any importance.
  still have that problem...
 
  well, a lot of wierd problems after I come back to gentoo..
 seems much 
  work to do. ;-(
 
  PS: for now, I guess the problem is caused by some shared
 objects or
  libs with wrong version, e.g. gcc.  try to change a gcc
 profile
 
 Did you recently switched to a different version of gcc ?
 
 I upgraded  gcc to version 3.4.5, but still use previous gcc 3.3.6
 profile.
 not switch actually.

If you do that, be sure to read
http://www.gentoo.org/doc/en/gcc-upgrading.xml. Otherwise you may
completely break your system.

 
 
 Does firefox write anything to the terminal after crashing ?
 
 nothing, I also tried to start firefox through strace, It stoped at 
 waitpid system call, did not write anything after crashing. 
 I've heard somebody compiling firefox with debug infomation, but I
 don't know
 how to use that~.

Should be done like this:

# echo www-client/mozilla-firefox debug  /etc/portage/package.use
# vi /etc/make.conf
#   add 'nostrip' to FEATURES
# emerge -av firefox

if you have gdb installed, you can:
$ gdb firefox
(gdb) run
  if firefox crashes
(gdb) back

However, i would really advise you to follow the gcc upgrade guide and
switch to gcc-3.4.x. This is most likely to solve your problem.

Matthias




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-26 Thread Matthias Langer
On Fri, 2006-05-26 at 15:27 +0400, Alexander Kirillov wrote:
 recently my sister descovered a strange and serious bug with
 mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
 visiting
 http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
 xorg shuts down immediatly direct access to the box via the terminal is
 impossible. logging in remotley via ssh still works ...
 
 can anyone with the above combination verify this ?
 
 Yep. Killed my X too. I have these same versions of xorg and firefox.
 Fortunately I got a kdm login prompt again. The only relevant messages I 
 could find in the logs:
 
 # cat /var/log/messages
 ...
 May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated 
 unexpectedly
 ...
 
 # cat /var/log/kdm.log
 ...
 *** glibc detected *** free(): invalid next size (normal): 0x096128c0 ***
 ...
 
 You probably should file a bug.
 Please post to the list if you have any new info on the subject.
  
  
  I've now filed a bug:
  http://bugs.gentoo.org/show_bug.cgi?id=134373
  
  If you are experiencing the same behavour, please post a comment on that
  bug including 'emerge --info', use-flag combinations for xorg-x11 and
  firefox and relevant log entries.
 
 I've just tried to open the link above with flash plugin disabled
 and the page is gone:
 
 Invalid Friend ID.
 This user has either cancelled their membership, or their account has 
 been deleted.

That's what i feared. With that page gone (this wasn't the page of my
sister) it might be nearly impossible to reproduce this bug.

Matthias


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-26 Thread Matthias Langer
On Fri, 2006-05-26 at 17:04 -0700, Steven Susbauer wrote:
 
 On Sat, 27 May 2006, Alexander Kirillov wrote:
 
  recently my sister descovered a strange and serious bug with
  mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
  visiting
  http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
  xorg shuts down immediatly direct access to the box via the 
  terminal
  is
  impossible. logging in remotley via ssh still works ...
  
  can anyone with the above combination verify this ?
 
 Yep. Killed my X too. I have these same versions of xorg and firefox.
 Fortunately I got a kdm login prompt again. The only relevant 
 messages
 I could find in the logs:
 
 # cat /var/log/messages
 ...
 May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated
 unexpectedly
 ...
 
 # cat /var/log/kdm.log
 ...
 *** glibc detected *** free(): invalid next size (normal): 0x096128c0
 ***
 ...
 
 You probably should file a bug.
 Please post to the list if you have any new info on the subject.


I've now filed a bug:
http://bugs.gentoo.org/show_bug.cgi?id=134373

If you are experiencing the same behavour, please post a comment on 
that
bug including 'emerge --info', use-flag combinations for xorg-x11 and
firefox and relevant log entries.
   
   I've just tried to open the link above with flash plugin disabled
   and the page is gone:
   
   Invalid Friend ID.
   This user has either cancelled their membership, or their account has 
   been
   deleted.
  
  
   That's what i feared. With that page gone (this wasn't the page of my
   sister) it might be nearly impossible to reproduce this bug.
 
  Shoot. That's a pity.
  I still think there's a problem with either flash or sound.
  Next time then.
  Sasha
 
 
 
 Does the Google cached page do the same thing? Hurry up and get it, I
 don't know how long google's gonna have it up ;)
 
 
 http://www.google.com/search?q=cache:PlfW7wO2VaEJ:profile.myspace.com/index.cfm%3Ffuseaction%3Duser.viewprofile%26friendid%3D36939781+hl=engl=usct=clnkcd=1client=firefox-a
 
 My guess is it has something to do with the flash mp3 player on their page
 (I see nothing else out of the ordinary). It comes from
 http://www.myspacegeeks.com/myspace-generators/flash-mp3-player/ - that
 page may/should kill everything as well if that was the problem.
 
 I had no problems with anything freezing up on Windows, but firefox would
 no longer type after having that window open for a few moments. It could
 have been something else I did, but the behavior stopped after I closed
 the profile.

Thanks for sharing this information. For myself, i don't think that it
is worth the effort to go back to 1.0.8 from 1.5.0.3 as i heard that
this may lead to problems; besides, i've allready verified that i can
reproduce the bug. It would be most valuable if anyone else here with an
appropriate system could give these pages a try and post to bug 134373.

Matthias

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-25 Thread Matthias Langer
recently my sister descovered a strange and serious bug with
mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
visiting
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
xorg shuts down immediatly direct access to the box via the terminal is
impossible. logging in remotley via ssh still works ...

can anyone with the above combination verify this ?

Thanks,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozilla-firefox-1.0.8 \w xorg-x11-6.8.2-r7 problem

2006-05-25 Thread Matthias Langer
On Fri, 2006-05-26 at 01:50 +0400, Alexander Kirillov wrote:
  recently my sister descovered a strange and serious bug with
  mozilla-firefox-1.0.8 in combination with xorg-x11-6.8.2-r7. After
  visiting
  http://profile.myspace.com/index.cfm?fuseaction=user.viewprofilefriendid=36939781
  xorg shuts down immediatly direct access to the box via the terminal is
  impossible. logging in remotley via ssh still works ...
  
  can anyone with the above combination verify this ?
 
 Yep. Killed my X too. I have these same versions of xorg and firefox.
 Fortunately I got a kdm login prompt again. The only relevant messages I 
 could find in the logs:
 
 # cat /var/log/messages
 ...
 May 26 01:10:39 baikal kdm[11220]: X server for display :0 terminated 
 unexpectedly
 ...
 
 # cat /var/log/kdm.log
 ...
 *** glibc detected *** free(): invalid next size (normal): 0x096128c0 ***
 ...
 
 You probably should file a bug.
 Please post to the list if you have any new info on the subject.

I've now filed a bug:
http://bugs.gentoo.org/show_bug.cgi?id=134373

If you are experiencing the same behavour, please post a comment on that
bug including 'emerge --info', use-flag combinations for xorg-x11 and
firefox and relevant log entries.

Thanks,
Matthias



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox hangs frequently...

2006-05-25 Thread Matthias Langer
On Thu, 2006-05-25 at 19:37 -0500, Jeremy Olexa wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 fei huang wrote:
  well, I know the post should not shows up at list of gentoo, but the
  problem is really quite annoying and I could not find any useful
  solution through google.
  
  every time I click on the save link as or save image as, firefox
  immediately stops responding, It is said that the problem might be
  caused by the permissions of my last visited folder, but ALL folders
  and files are accessible. I firstly use a new profile, no luck; safe
  mode, no use of course; re-emerge it seemed to make it working for
  only several minutes.  besides, it hangs while loading some pages.
  
  I'm using fvwm 2.5.16 and mozilla-firefox-bin 1.5.0.3.
  
  any ideas~  thanks in advance..
  
  daniel
  
 
 I have seen wierd problems with binary packages. Have you tried
 compiling firefox from source yet?
 
Maybe you should also
# emerge -av gentoolkit
# revdep-rebuild

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox hangs frequently...

2006-05-25 Thread Matthias Langer
On Fri, 2006-05-26 at 10:04 +0800, fei huang wrote:
 I have seen wierd problems with binary packages. Have you
 tried
 compiling firefox from source yet? 
 
 - --
 Jeremy Olexa
 ([EMAIL PROTECTED])
 
 
 yes, It took me  more than half  an hour  to compile it from source
 last night,  um;--(  
 
 
 Maybe you should also
 # emerge -av gentoolkit
 # revdep-rebuild
 
 HTH, 
 Matthias
 
 
 thank you for your help anyway, I already have gentoolkit installed, I
 noticed the revdep-rebuild fix a lib file regarding to my nvidia
 driver, I don't think it has any importance. 
 still have that problem...
 
 well, a lot of wierd problems after I come back to gentoo.. seems much
 work to do. ;-(
 
 PS: for now, I guess the problem is caused by some shared objects or
 libs with wrong version, e.g. gcc.  try to change a gcc profile
 
Did you recently switched to a different version of gcc ?
Does firefox write anything to the terminal after crashing ?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-10 Thread Matthias Langer
On Wed, 2006-05-10 at 07:51 +0200, Nagatoro wrote:
[snip]
 Least:
 ... Gnome-terminal, slow, and in my opinion horrible color support.
[snip]

Gnome terminal used to be slow, but vte (the underlying library) has
beem optimized heavily during the last few month. I've a simple program
that measures the speed of terminals. According to this program
gnome-terminal is now __50__ times faster than it was 5 month ago.

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-10 Thread Matthias Langer
On Wed, 2006-05-10 at 13:58 +0200, Matthias Langer wrote:
 On Wed, 2006-05-10 at 07:51 +0200, Nagatoro wrote:
 [snip]
  Least:
  ... Gnome-terminal, slow, and in my opinion horrible color support.
 [snip]
 
 Gnome terminal used to be slow, but vte (the underlying library) has
 beem optimized heavily during the last few month. I've a simple program
 that measures the speed of terminals. According to this program
 gnome-terminal is now __50__ times faster than it was 5 month ago.
 
 Matthias

Well, here are some comparisons done with my test-prog (attached)
(higher is better):

eterm:  ~ 14 000 l/s
xterm:  ~  8 500 l/s
gnome-terminal: ~  3 500 l/s
frame-buffer:   ~ 40 l/s

Btw: I should have written __80__ instead of __50__.

PS: Please note that the attached program is an ad hoc implementation to
do some basic comparisons, and not a sophisticated program. Compile it
with 'g++ -Wall -O3 filename.cc -o executable'.



#include ctime
#include iostream
#include string
#include algorithm
using namespace std;

static string 
rStr(AaBbCcEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz(){}[]?*+-/_-:.;,   );

int main(int argc, char **argv)
{
	int lines;
	if(argc == 1)
		lines = 2;
	else if(argc == 2)
	{
		lines = atoi(argv[1]);
		if(lines  1000)
		{
			cerr  Please enter at least '1000' for lines !  endl;
			return 1;
		}
	}
	else
	{
		cerr  Usage: tspeed lines  endl;
		return 2;
	}
	time_t t1 = time(NULL);
	for(int i=0; i != lines; ++i)
	{
		cout  rStr  endl;
		random_shuffle(rStr.begin(), rStr.end());
	}
	time_t t2 = time(NULL);
	time_t elapsed = t2-t1;
	if(elapsed == 0)
	{
		cerr  Writing   lines   lines to the screen took less than one second.  endl;
		cerr  Please choose a bigger value for lines.  endl;
		return 3;
	}
	double speed = double(lines)/double(elapsed);
	cerr  endl;
	cerr  terminal speed:   speed   l/s  endl;
	return 0;
}
	



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-10 Thread Matthias Langer
On Wed, 2006-05-10 at 16:25 +0200, Nagatoro wrote:
 Matthias Langer wrote:
  On Wed, 2006-05-10 at 13:58 +0200, Matthias Langer wrote:
  On Wed, 2006-05-10 at 07:51 +0200, Nagatoro wrote:
  [snip]
  Least:
  ... Gnome-terminal, slow, and in my opinion horrible color support.
  [snip]
 
  Gnome terminal used to be slow, but vte (the underlying library) has
  beem optimized heavily during the last few month. I've a simple program
  that measures the speed of terminals. According to this program
  gnome-terminal is now __50__ times faster than it was 5 month ago.
 
  Matthias
  
  Well, here are some comparisons done with my test-prog (attached)
  (higher is better):
  
  eterm:  ~ 14 000 l/s
  xterm:  ~  8 500 l/s
  gnome-terminal: ~  3 500 l/s
  frame-buffer:   ~ 40 l/s
 
 Om my (slow?) laptop I get:
 
 frame-buffer:  34 l/s
 rxvt-unicode:  12 000 l/s
 xterm: 4500 l/s
 Konsole:    l/s
 gnome-terminal: l/s
^^^
 _not_ faked :)
 
Maybe this has something to do with your screen resolution; as you are
using a 'slow' laptop, i guess you are using 1024x768, while i use
1280x1024 in my athlon-xp 2400+.

PS: Did you pass any values to the prog ? It's because, it stopps after
it has written 20 000 lines if no arguments are passed. For very fast
terminals this is bad; Imagine a terminal that puts out 11 000 lines per
second. It will then take about 1.8 s to write 20 000 lines. However,
the program uses time(...) and therefore it will write:
20 000 l/s. The '' is not a big surprise, because 20 000 / 3 =
.7. Thus, if your terminal needs from 3s to 4s for 2 lines, you
will always get this result if specifying no arguments. As i said before
this is just a quick hack to make some comparisons. However, here is a
slightly impoved version ...


#include cmath
#include ctime
#include iostream
#include string
#include algorithm
using namespace std;

static string 
rStr(AaBbCcEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz(){}[]?*+-/_-:.;,   );

int main(int argc, char **argv)
{
	int lines;
	if(argc == 1)
		lines = 2;
	else if(argc == 2)
	{
		lines = atoi(argv[1]);
		if(lines  1000)
		{
			cerr  Please enter at least '1000' for lines !  endl;
			return 1;
		}
	}
	else
	{
		cerr  Usage: tspeed lines  endl;
		return 2;
	}
	time_t t1 = time(NULL);
	for(int i=0; i != lines; ++i)
	{
		cout  rStr  endl;
		random_shuffle(rStr.begin(), rStr.end());
	}
	time_t t2 = time(NULL);
	time_t elapsed = t2-t1;
	if(elapsed == 0)
	{
		cerr  endl;
		cerr  Writing   lines   lines to the screen took less than one second.  endl;
		cerr  Please choose a bigger value for lines.  endl;
		return 3;
	}

	double speed = double(lines)/double(elapsed);

	if(elapsed  6)
	{
		cout  endl;
		cout  Warning: writing   lines   lines took fewer than 6 seconds.  endl;
		cout  The the results may be inaccurate.  endl;
		cout  Try tspeed value with valueceil(6*speed)  endl;
	}

	cout  endl;
	cout  terminal speed:   floor(speed)   l/s  endl;
	return 0;
}
	



Re: [gentoo-user] Can't build wine

2006-04-20 Thread Matthias Langer
On Thu, 2006-04-20 at 03:12 -0400, Justin Hart wrote:
 Anybody know what this error is about?  I can't seem to build wine.
 
 i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
 -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
 -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
 -Wpointer-arith  -march=pentium4 -pipe -O2 -o y.tab.o y.tab.c
 flex -Cf  -d -8 ./parser.l
 i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
 -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
 -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
 -Wpointer-arith  -march=pentium4 -pipe -O2 -o lex.yy.o lex.yy.c
 lex.yy.c:9174: error: syntax error before numeric constant
 lex.yy.c: In function `yy_scan_string':
 lex.yy.c:9175: error: number of arguments doesn't match prototype
 lex.yy.c:367: error: prototype declaration
 lex.yy.c:9177: warning: passing arg 1 of `strlen' makes pointer from
 integer without a cast
 lex.yy.c:9177: warning: passing arg 1 of `yy_scan_bytes' makes pointer
 from integer without a cast
 ./parser.l: At top level:
 lex.yy.c:8687: warning: `yyunput' defined but not used
 lex.yy.c:9266: warning: `yy_top_state' defined but not used
 make[2]: *** [lex.yy.o] Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools/wrc'
 make[1]: *** [wrc] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools'
 make: *** [tools] Error 2
 
 !!! ERROR: app-emulation/wine-20050725-r1 failed.
 Call stack:
   ebuild.sh, line 1532:   Called dyn_compile
   ebuild.sh, line 929:   Called src_compile
   wine-20050725-r1.ebuild, line 133:   Called die
 
 !!! depend
 !!! If you need support, post the topmost build error, and the call
 stack if relevant.
 
 
 
 --
 Justin W. Hart
 

Well, version 20050725-r1 is hardmasked, as it seems for good reasons.
If you want to try the latest version, go for 0.9.12 (just released a
few days ago) - it works fine for me. Otherwise try the currently stable
version 0.9.8-r1 which should also be newer than 20050725-r1.

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread Matthias Langer
On Fri, 2006-04-21 at 01:11 +0530, Farhan Ahmed wrote:
 Bob Bao wrote:
   
  Hi.
   
  I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
  website. After couple time trying, finally I successfully complete the
  installing. But,  after log in, I only get a xterm window and a session
  window. I think suppose I should get a graphic user interface like boot
 
 
 Hi Bob and welcome to Gentoo,
   Which graphic desktop you have installed? If its plain X server
 (i.e., xorg-x11) then you'll get a very basic desktop, which you
 obviously dont want. If you installed kde, then probaby you've not
 modified your .xinitrc file. Execute this command from from console,
 
   echo exec startkde  ~/.xinitrc
 
 next time you execute 'startx', kde will startup.
 
 for GNOME, execute this command first
 
   echo exec gnome-session  ~/.xinitrc
 
 then startx will bring gnome up. 

I think the more offical way is to uncomment the following lines
in /etc/rc.conf:

DISPLAYMANAGER=gdm
XSESSION=Gnome



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] # users gives strange results [SOLVED]

2006-04-11 Thread Matthias Langer
On Tue, 2006-03-21 at 13:11 +0100, Matthias Langer wrote:
 On Tue, 2006-03-21 at 02:40 +0100, Matthias Langer wrote:
  On Mon, 2006-03-20 at 18:51 -0500, Willie Wong wrote:
   On Mon, Mar 20, 2006 at 04:51:31AM +0100, Matthias Langer wrote:
Recently i've got a power failure while one of my gentoo boxes was up
and running. Since then, the users command seems not to work correctly
anymore, as it claims for users to be logged in that almost certainly
aren't and don't have a single process running. Besides of this issue,
everthing seems to work as expected. Can anybody here tell me where to
look for the source of this problem ?


Ok, I finally solved my problem by updating to
sys-apps/coreutils-5.94-r1 ...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] InkScape trouble

2006-03-26 Thread Matthias Langer
On Sun, 2006-03-26 at 12:46 +, b.n. wrote:
 Meino Christian Cramer wrote:
   As normal user I did:
  
   # inkscape
  
   Ok, InkScape thought, let's crash!
  
   BADABOOM!
  
   That's it.
 
 Funny :) , but I think this is not the error message you're displayed 
 when inkscape crashes...
 Can you post the true error message and not your,ehm,emotional 
 interpretation?
 
 m.

Maybe dynamic linking is not consistent on your system:
Try

# emerge gentoolkit
# revdep-rebuild -p
# revdep-rebuild

Matthias


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] # users gives strange results

2006-03-21 Thread Matthias Langer
On Tue, 2006-03-21 at 02:40 +0100, Matthias Langer wrote:
 On Mon, 2006-03-20 at 18:51 -0500, Willie Wong wrote:
  On Mon, Mar 20, 2006 at 04:51:31AM +0100, Matthias Langer wrote:
   Recently i've got a power failure while one of my gentoo boxes was up
   and running. Since then, the users command seems not to work correctly
   anymore, as it claims for users to be logged in that almost certainly
   aren't and don't have a single process running. Besides of this issue,
   everthing seems to work as expected. Can anybody here tell me where to
   look for the source of this problem ?
   
   Thanks, Matthias
   
  
  I am running into a similar problem recently. I found out that sometimes, 
  after
  updating 'system', init would restart. During an recent upgrade, after init 
  restarts, the users that were logged-in at that time become ghosts of 
  some sort. 
  'w' would show the correct number of people logged in, but some other 
  commands 
  won't. It might have something to do with the fact that wtmp is not 
  registering the 
  logouts from thost users. If I issue 'last | head' i would see something to 
  that 
  effect. 
  
  I am wondering perhaps removing /var/log/wtmp would solve the issue (you 
  might also
  want to touch /var/log/wtmp afterwards). It might require a rebooting 
  (which I haven't
  gotten around to doing).
 
 Well, i tried that after booting into x86-2006.0-minimal. Unfortunatley,
 that didn't solve my issuses; I found out that my system behaves after
 the following pattern:
 
 login with user1:
 $ users
 user1
 $ exit
 
 login with user2:
 $users
 user1 user2
 $exit
 
 login with user3:
 $users
 user2 user3
 
 Thus, the system seems to ignore logouts as long as there are not more
 then two additional logins.   
 
 I've also did a reiserfschk while staying in the live-cd environment,
 but no corruptions where found ...
 
By the way, the output of 
$ w
seems correct ...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Flag USE

2006-03-21 Thread Matthias Langer
On Tue, 2006-03-21 at 13:50 +0100, [EMAIL PROTECTED] wrote:
 Hi all, I am new on this list (and new of Gentoo).
 I have some doubts on the setting of the flag USE.
 I understood its features but I do not know WHEN use them.
 Some questions:
 1 - Is it mandatory to set the Flag USE?
 2 - If not, should I verify which flags to use for each package I want to 
 install (using the --pretend and --verbose options of emerge) and then set 
 USE accordingly?
 
 Bye
 emilio

You should never do things like:
USE=some_flags emerge some_package

Instead you should configure a set of useflags you think are good for
your needs in general in make.conf. If you want to overide these
settings for a specific package do so by using /etc/portage/package.use.

Just to give you an example, my make.conf contains this:

USE=3dnow alsa bzlib gphoto2 apm jpeg mmx xine xmms zlib opengl
 oggvorbis gnome gtk gtk2
 sse 3dnowext sqlite usb -emacs -flac -php -pyton -mysql -matrox
 -kde -wxwindows -scanner -samba -yahoo -oci
 -qt unicode evo mmxext dvdr -eds hal dbus firefox nvidia dvd
 win32codecs
 -firebird nsplugin -arts real flac theora vcd css -oss nautilus
 cairo a52 avi dvdread divx4linux dv encode fame mpeg ogg
 quicktime   subtitles vorbis xvid nptl wma
 -apache -apache2 fam -esd

You find documentation on the various gentoo use flags at:
http://www.gentoo.org/dyn/use-index.xml

For example, to emerge dev-libs/boost with +debug +doc +threads on my
system, i did:

# echo dev-libs/boost debug doc threads  /etc/portage/package.use
# emerge -av boost

By the why, if you think emerge -s some_package is slow, then
# emerge eix
This is a really nice tool for searching trough portage fast and with
very nice and informative output. Instead of
# emerge sync
you can do
# eix-sync

HTH,
Matthias



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] # users gives strange results

2006-03-20 Thread Matthias Langer
On Mon, 2006-03-20 at 18:51 -0500, Willie Wong wrote:
 On Mon, Mar 20, 2006 at 04:51:31AM +0100, Matthias Langer wrote:
  Recently i've got a power failure while one of my gentoo boxes was up
  and running. Since then, the users command seems not to work correctly
  anymore, as it claims for users to be logged in that almost certainly
  aren't and don't have a single process running. Besides of this issue,
  everthing seems to work as expected. Can anybody here tell me where to
  look for the source of this problem ?
  
  Thanks, Matthias
  
 
 I am running into a similar problem recently. I found out that sometimes, 
 after
 updating 'system', init would restart. During an recent upgrade, after init 
 restarts, the users that were logged-in at that time become ghosts of some 
 sort. 
 'w' would show the correct number of people logged in, but some other 
 commands 
 won't. It might have something to do with the fact that wtmp is not 
 registering the 
 logouts from thost users. If I issue 'last | head' i would see something to 
 that 
 effect. 
 
 I am wondering perhaps removing /var/log/wtmp would solve the issue (you 
 might also
 want to touch /var/log/wtmp afterwards). It might require a rebooting (which 
 I haven't
 gotten around to doing).

Well, i tried that after booting into x86-2006.0-minimal. Unfortunatley,
that didn't solve my issuses; I found out that my system behaves after
the following pattern:

login with user1:
$ users
user1
$ exit

login with user2:
$users
user1 user2
$exit

login with user3:
$users
user2 user3

Thus, the system seems to ignore logouts as long as there are not more
then two additional logins. 

I've also did a reiserfschk while staying in the live-cd environment,
but no corruptions where found ...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] # users gives strange results

2006-03-20 Thread Matthias Langer
On Mon, 2006-03-20 at 10:32 +0100, Rick van Hattem wrote:
 On Monday 20 March 2006 05:02, Matthias Langer wrote:
  On Mon, 2006-03-20 at 04:51 +0100, Matthias Langer wrote:
   Recently i've got a power failure while one of my gentoo boxes was up
   and running. Since then, the users command seems not to work correctly
   anymore, as it claims for users to be logged in that almost certainly
   aren't and don't have a single process running. Besides of this issue,
   everthing seems to work as expected. Can anybody here tell me where to
   look for the source of this problem ?
 
  Just for the case that this helps describing my problem:
 
  # users
  mlangc mlangc
 
  [should be: rattan]
 
  # top
  not a single process for mlangc
 
  # tail -n 400 /var/log/messages
 
  Mar 19 22:21:37 lgate886 login(pam_unix)[8674]: session opened for user
  mlangc by (uid=0)
  ...
  ...
  Mar 19 22:21:47 lgate886 (mlangc-8784): starting (version 2.12.1), pid
  8784 user 'mlangc'
  ...
  ...
  Mar 20 00:02:45 lgate886 (mlangc-8784): Exiting
  Mar 20 00:02:50 lgate886 login(pam_unix)[8674]: session closed for user
  mlangc
  Mar 20 04:29:35 lgate886 sshd[9620]: Accepted keyboard-interactive/pam
  for rattan from 192.168.0.102 port 41237 ssh2
  Mar 20 04:29:35 lgate886 syslog-ng[5304]: STATS: dropped 0
  Mar 20 04:29:35 lgate886 sshd(pam_unix)[9626]: session opened for user
  rattan by (uid=0)
  Mar 20 04:30:29 lgate886 su[9634]: Successful su for root by rattan
  Mar 20 04:30:29 lgate886 su[9634]: + pts/0 rattan:root
  Mar 20 04:30:29 lgate886 su(pam_unix)[9634]: session opened for user
  root by (uid=1002)
 Perhaps you could try booting in single user mode (or a livecd or something 
 like that) and remove /var/log/utmp and /var/log/wtmp
 Those are the files that track who is logged on and who isn't, perhaps you 
 can 
 also delete/rename those while running but I'm not sure what results you'll 
 get and I'm not gonna try on one of my boxes :P

Thanks, i tried to remove /var/log/wtmp [/var/log/utmp doesn't exist on
my box], but that did not help (see my other reply). 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] # users gives strange results

2006-03-20 Thread Matthias Langer
On Tue, 2006-03-21 at 02:46 +0100, Matthias Langer wrote:
 On Mon, 2006-03-20 at 10:32 +0100, Rick van Hattem wrote:
  On Monday 20 March 2006 05:02, Matthias Langer wrote:
   On Mon, 2006-03-20 at 04:51 +0100, Matthias Langer wrote:
Recently i've got a power failure while one of my gentoo boxes was up
and running. Since then, the users command seems not to work correctly
anymore, as it claims for users to be logged in that almost certainly
aren't and don't have a single process running. Besides of this issue,
everthing seems to work as expected. Can anybody here tell me where to
look for the source of this problem ?
  
   Just for the case that this helps describing my problem:
  
   # users
   mlangc mlangc
  
   [should be: rattan]
  
   # top
   not a single process for mlangc
  
   # tail -n 400 /var/log/messages
  
   Mar 19 22:21:37 lgate886 login(pam_unix)[8674]: session opened for user
   mlangc by (uid=0)
   ...
   ...
   Mar 19 22:21:47 lgate886 (mlangc-8784): starting (version 2.12.1), pid
   8784 user 'mlangc'
   ...
   ...
   Mar 20 00:02:45 lgate886 (mlangc-8784): Exiting
   Mar 20 00:02:50 lgate886 login(pam_unix)[8674]: session closed for user
   mlangc
   Mar 20 04:29:35 lgate886 sshd[9620]: Accepted keyboard-interactive/pam
   for rattan from 192.168.0.102 port 41237 ssh2
   Mar 20 04:29:35 lgate886 syslog-ng[5304]: STATS: dropped 0
   Mar 20 04:29:35 lgate886 sshd(pam_unix)[9626]: session opened for user
   rattan by (uid=0)
   Mar 20 04:30:29 lgate886 su[9634]: Successful su for root by rattan
   Mar 20 04:30:29 lgate886 su[9634]: + pts/0 rattan:root
   Mar 20 04:30:29 lgate886 su(pam_unix)[9634]: session opened for user
   root by (uid=1002)
  Perhaps you could try booting in single user mode (or a livecd or something 
  like that) and remove /var/log/utmp and /var/log/wtmp
  Those are the files that track who is logged on and who isn't, perhaps you 
  can 
  also delete/rename those while running but I'm not sure what results you'll 
  get and I'm not gonna try on one of my boxes :P
 
 Thanks, i tried to remove /var/log/wtmp [/var/log/utmp doesn't exist on
 my box], but that did not help (see my other reply). 
 
Hmm, well, by
$ strace users
i found out that i have in fact the file /var/run/utmp; But removing
this file did not solve my problem either ...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] # users gives strange results

2006-03-19 Thread Matthias Langer
Recently i've got a power failure while one of my gentoo boxes was up
and running. Since then, the users command seems not to work correctly
anymore, as it claims for users to be logged in that almost certainly
aren't and don't have a single process running. Besides of this issue,
everthing seems to work as expected. Can anybody here tell me where to
look for the source of this problem ?

Thanks, Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] # users gives strange results

2006-03-19 Thread Matthias Langer
On Mon, 2006-03-20 at 04:51 +0100, Matthias Langer wrote:
 Recently i've got a power failure while one of my gentoo boxes was up
 and running. Since then, the users command seems not to work correctly
 anymore, as it claims for users to be logged in that almost certainly
 aren't and don't have a single process running. Besides of this issue,
 everthing seems to work as expected. Can anybody here tell me where to
 look for the source of this problem ?
 
Just for the case that this helps describing my problem:

# users
mlangc mlangc

[should be: rattan]

# top
not a single process for mlangc

# tail -n 400 /var/log/messages

Mar 19 22:21:37 lgate886 login(pam_unix)[8674]: session opened for user
mlangc by (uid=0)
...
...
Mar 19 22:21:47 lgate886 (mlangc-8784): starting (version 2.12.1), pid
8784 user 'mlangc'
...
...
Mar 20 00:02:45 lgate886 (mlangc-8784): Exiting
Mar 20 00:02:50 lgate886 login(pam_unix)[8674]: session closed for user
mlangc
Mar 20 04:29:35 lgate886 sshd[9620]: Accepted keyboard-interactive/pam
for rattan from 192.168.0.102 port 41237 ssh2
Mar 20 04:29:35 lgate886 syslog-ng[5304]: STATS: dropped 0
Mar 20 04:29:35 lgate886 sshd(pam_unix)[9626]: session opened for user
rattan by (uid=0)
Mar 20 04:30:29 lgate886 su[9634]: Successful su for root by rattan
Mar 20 04:30:29 lgate886 su[9634]: + pts/0 rattan:root
Mar 20 04:30:29 lgate886 su(pam_unix)[9634]: session opened for user
root by (uid=1002)


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gnome-system-monitor-2.12.1 crashes

2006-01-23 Thread Matthias Langer
I just would like to know if someone else is experiencing random crashes
with gnome-system-monor-2.12.1 when modifing the information displayed
in the process list, as i described in more detail at
http://bugs.gentoo.org/show_bug.cgi?id=120006.

Thanks,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How many people use KDE?

2006-01-21 Thread Matthias Langer
On Fri, 2006-01-20 at 07:17 -0700, Richard Fish wrote:
 On 1/20/06, Linux Java [EMAIL PROTECTED] wrote:
   I wanna to know KDE and Gnome which is more popular.
 
 Linus recommends you use KDE.
 
 http://lists.osdl.org/pipermail/desktop_architects/2005-December/000390.html
 
Don't take me wrong, i really respect Linus and appreaciate what he did,
but i don't care a damn second about the dektop environment he prefers
because this is mostly a matter of tase. I use gnome because i like
gnomes simplistic approach, because i like evolution, nautilus, totem,
the gnome terminal, gtk+ and especially gtkmm (c++ api for gtk+ - qt
folks should really take a look at it) and lot's of great gtk+ based
programs like inkscape, gimp, gvim, beep-media-player, ...

But the really great thing is that there are lot's of desktop
environments and/or window-managers out there and everybody can make
it's own choice.

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] getting rid of gnome

2006-01-19 Thread Matthias Langer
On Wed, 2006-01-18 at 16:22 -0500, Ernie Schroder wrote:
 On Wednesday 18 January 2006 14:46, a tiny voice compelled Neil Bothwick to 
 write:
  On Wed, 18 Jan 2006 14:21:19 -0500, Ernie Schroder wrote:
   These are the packages that I would merge, in reverse order:
  
   Calculating world dependencies ...done!
   [ebuild  N] x11-themes/gnome-themes-2.10.2  -accessibility -debug 0
   kB [ebuild  N] x11-themes/gnome-icon-theme-2.10.1  -debug 0 kB
   [ebuild  N]  gnome-extra/evolution-data-server-1.2.3  -debug -doc
   +ipv6 -kerberos +ldap +mozilla -nntp +ssl 0 kB
 
  It looks like you have eds in your USE flags.
 
  Can you post the output from emerge --info | grep USE.
 # emerge --info | grep USE
 USE=x86 3dnow X aalib acl acpiapm adabas aim alsa apm arts audiofile avi 
 bitmap-fonts bzip2 cdr crypt cups curl dga directfb dvd eds emboss encode esd 
 exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gd gdbm ggi gif 
 gimpprint glut gmp gphoto gpm gstreamer gtk gtk2 idn imagemagick imap imlib 
 ipv6 java jikes jpeg kde lcms ldap leim libg++ libwww lua mad maildir mbox 
 mikmod mmx mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly oav ogg 
 oggvorbis openal opengl oss pam pcre pdflib perl pic png python qt quicktime 
 readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff 
 truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xv 
 xvid zeo zlib userland_GNU kernel_linux elibc_glibc

I would add 
-gtk -gtk2 -esd -gphoto -gimpprint -gstreamer
to get rid of eaven more gnome dependencies.
Besides, i would add
-mozilla firefox
to get rid of mozilla.
-oss alsa 
may be o good idea, as oss will soon be removed from mainline kernels,
as far as i know, and most apps support alsa.

matthias

 
 
 Ahh yes eds, but not in make.conf. I had to add -eds to my use line. I looked 
 at what wanted to be rebuilt with the newuse option and gaim was at the top 
 of the list. I rebuilt gaim and tried again Orbit and gconf want to be added 
 in, apparently they were needed by gdk-plugins (3 packages) I removed the 3 
 plugins packages and tried again. This time, the plugins and orbit and gconf 
 wanted to be installed without any clear reason why. At this point, I've more 
 or less resigned myself to the fact that I will have the 2 gnome packages on 
 my box. I would like to know why though.
 -- 
 Regards, Ernie

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] permissions on ntfs partitions

2005-12-23 Thread Matthias Langer
Can anybody tell me if it is normal that files on ntfs partitions are
executable by default when mounting them under linux ? Or is it possible
that this has something to do with the following line from my fstab:

/dev/hde1 /mnt/bill ntfs user,umask=,nls=utf8 0 0

Thanks,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] traffic shaping and p2p

2005-12-17 Thread Matthias Langer
On Fri, 2005-12-16 at 13:08 +, Stroller wrote:
 On Dec 15, 2005, at 5:05 pm, Matthias Langer wrote:
 
  Well, i use azureus - and of course i know that upload-speed can be
  limited - which is maybe in fact the best solution to my problem.
  ...  for p2p apps - give them
  as much bandwidth they can reasonably get but don't let them slow down
  firefox, ssh etc. Because i want this setup just for my homenetwork, it
  would perfectly suffice if packages get their priorities by examining
  port-numbers. And because i want to at least partially understand what
  i'm doing i would prefer a simple and clean setup.
 
 I haven't used it yet, but my understanding of traffic-shaping is that 
 it's exactly what you want. I believe that other quality-of-service 
 mechanisms may require applications to be QoS aware (setting a QoS bit 
 in the packet header).
 
 You're absolutely right in that reducing the bandwidth of the p2p app 
 isn't the ideal way to achieve what you want - I find latency in 
 browsing  surfing with BitTorrent consuming only 60% - 70% of my 
 upload - it doesn't help that other peers are continually making 
 requests of you. If you lower the bandwidth consumption in Azureous 
 then you have to remember to up it again when you go to bed - traffic 
 shaping WILL allow you to permanently maximise your p2p bandwidth, with 
 the ROUTER reducing it only when your priority services send packets.
 
  I know that in
  principle the neccessairy steps to do what i wannt can be found in the
  'Packet Shaping HOWTO'.  By the way,
  there are many different packet shedulers in the kernel - and the HOWTO
  only explains the HTP-scheduler. What about the other schedulers - can
  they be usefull for my purposes too - and if yes, how can they be
  configured and used ?
 
 No idea. I hope you'll give us feedback when you've discovered more.

Ok i found out that in fact the HFSC scheduler should be the one which
does exactly what i like because it handles bandwidth and latency
seperatley. Here  is my current setup, which seems not to be ideal - ssh
is still slow when my upload is high:

# create the following tree
#   1:
#  1:1
#   1:10   1:20 1:301:40
# where 1:10 is for ssh, 1:20 for svn, 1:30 for surfing and 1:40 for
unmatched traffic

# creates the root qdisc
tc qdisc add dev eth0 root handle 1: hfsc default 40
# node 1:1
tc class add dev eth0 parent 1: classid 1:1 hfsc sc rate 441kbit ul rate
441kbit
# node 1:10 (ssh) - guaranty 1500b in 20ms with an overarall rate of
88kbit
tc class add dev eth0 parent 1:1 classid 1:10 hfsc sc umax 800b dmax
20ms rate 88kbit
# node 1:20 (svn) - guaranty 1500b in 30ms with an overall rate of of
147kbit
tc class add dev eth0 parent 1:1 classid 1:20 hfsc sc umax 800b dmax
30ms rate 147kbit
# node 1:30 (firefox) - garanty 2b in 100ms with an overall rate of
120kbit
tc class add dev eth0 parent 1:1 classid 1:30 hfsc sc umax 2b dmax
100ms rate 120kbit
#node 1:40  (unmatched)
tc class add dev eth0 parent 1:1 classid 1:40 hfsc sc rate 96kbit

# now that we have our qdiscs we need filters for them
# ssh
tc filter add dev eth0 protocol ip parent 1: prio 1 u32 match ip dport
22 0x flowid 1:10
# svn
tc filter add dev eth0 protocol ip parent 1: prio 2 u32 match ip dport
3690 0x flowid 1:20
# firefox
tc filter add dev eth0 protocol ip parent 1: prio 3 u32 match ip dport
80 0x flowid 1:30

Note that i use the u32 filter (must be enabled in the kernel) and not
iptables.

By the way, there is a very interesting article about traffic control
with qdiscs and different schedulers, in particular HFSC, written by the
author of HFSC himself in the german 'Linux Magazin' 02/2005.

I'll tell you about further experiences with HFSC - comments and
suggestions are welcome.

Matthias


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] traffic shaping and p2p

2005-12-15 Thread Matthias Langer
On Thu, 2005-12-15 at 09:53 +0200, Matan Peled wrote:
 Matthias Langer wrote:
  Now, when i start a p2p app on my workstation the latency of my internet
  connection suffers greatly, allthogh i've  
  384 kbit/s up and 3072 kbit/s down. I know that there are some
  approaches to solve this kind of problem by categorizing packets and
  assign different priorities to them, as explained at
  http://gentoo-wiki.com/HOWTO_Packet_Shaping. However, my knowledge of
  iptables and networking is very limited and i just want a simple and
  clean solution as i don't plan to trick myself by switching my p2p apps
  to non standard ports or manipulating the packet size ... 
 
 I've used that HOWTO (and contributed bits to it), and its great.
 
 But why can't you just limit your P2P application's upload speed? I mean, the 
 program should have some controls that let you do that, right? I know every 
 sane 
 bittorrent app has this.
 
Well, i use azureus - and of course i know that upload-speed can be
limited - which is maybe in fact the best solution to my problem.
However, what i have in mind is somehow similar to cpu-resources and
process-priority. If i start at process with nice level 15, it will get
all available cpu-resources without slowing down the other apps. As far
as i understand, this is not the same as limiting the process to, say
80% of cpu power. Now, what i want is the same for p2p apps - give them
as much bandwidth they can reasonably get but don't let them slow down
firefox, ssh etc. Because i want this setup just for my homenetwork, it
would perfectly suffice if packages get their priorities by examining
port-numbers. And because i want to at least partially understand what
i'm doing i would prefer a simple and clean setup. I know that in
principle the neccessairy steps to do what i wannt can be found in the
'Packet Shaping HOWTO'. But i wanted to hear experiences and opinions of
others first before starting messing around with my router. By the way,
there are many different packet shedulers in the kernel - and the HOWTO
only explains the HTP-scheduler. What about the other schedulers - can
they be usefull for my purposes too - and if yes, how can they be
configured and used ?

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] traffic shaping and p2p

2005-12-15 Thread Matthias Langer
On Thu, 2005-12-15 at 20:15 +0100, Holly Bostick wrote:
 Matthias Langer schreef:
 
  Now, what i want is the same for p2p apps - give them
  as much bandwidth they can reasonably get but don't let them slow down
  firefox, ssh etc. 
 
 In the case of Azureus specifically, your problem is actually not with
 Azureus, but with Java (that's what's slowing down, and further what is
 likely to be slowing down Firefox as well if it's running. Certainly I
 find that running both Firefox and Azureus together is the fast road to
 The System of Molasses).

Hmm, i can't confirm this, bacause as long as azureus is not
down/uploading heavily browsing is not really affected. But this may
differ from java-vm to vm. I use sun-jdk-1.5.05 because i do same java
programming stuff ...

 
 You might consider aliasing Java to run at a good niceness
 
 (in ~/.bashrc)
 
 alias java=nice -n 15 java
 
 so that when Azureus starts the (many, many) Java processes that it
 uses, they will be niced to something you can live with.
 
 What effect this will have on Firefox, I cannot say, however.
 
 Just an idea, hope it helps,
 
 Holly
 

But thanks for your answer nevertheless,
Matthias

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] traffic shaping and p2p

2005-12-14 Thread Matthias Langer
I've a small home network, actuall consisting of two gentoo boxes, where
one box acts as router, firewall, svn server and desktop for my sister
(i know this isn't an optimal setup) and the other one is my
workstation.

Now, when i start a p2p app on my workstation the latency of my internet
connection suffers greatly, allthogh i've  
384 kbit/s up and 3072 kbit/s down. I know that there are some
approaches to solve this kind of problem by categorizing packets and
assign different priorities to them, as explained at
http://gentoo-wiki.com/HOWTO_Packet_Shaping. However, my knowledge of
iptables and networking is very limited and i just want a simple and
clean solution as i don't plan to trick myself by switching my p2p apps
to non standard ports or manipulating the packet size ... 

To cut a long story short: I want high latency for ssh, browsing,
subversion while offering p2p services a maximum of bandwidth in a small
homenetwork containing only 2 boxes.

Any suggestions ?

Thanks, 
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] traffic shaping and p2p

2005-12-14 Thread Matthias Langer
On Wed, 2005-12-14 at 20:02 +0100, Matthias Langer wrote:
 I've a small home network, actuall consisting of two gentoo boxes, where
 one box acts as router, firewall, svn server and desktop for my sister
 (i know this isn't an optimal setup) and the other one is my
 workstation.
 
 Now, when i start a p2p app on my workstation the latency of my internet
 connection suffers greatly, allthogh i've  
 384 kbit/s up and 3072 kbit/s down. I know that there are some
 approaches to solve this kind of problem by categorizing packets and
 assign different priorities to them, as explained at
 http://gentoo-wiki.com/HOWTO_Packet_Shaping. However, my knowledge of
 iptables and networking is very limited and i just want a simple and
 clean solution as i don't plan to trick myself by switching my p2p apps
 to non standard ports or manipulating the packet size ... 
 
 To cut a long story short: I want high latency for ssh, browsing,
(what i mean is in fact low latency :-)
 subversion while offering p2p services a maximum of bandwidth in a small
 homenetwork containing only 2 boxes.
 
 Any suggestions ?
 
 Thanks, 
 Matthias
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unkillable processes

2005-12-12 Thread Matthias Langer
On Wed, 2005-11-30 at 16:34 -0800, Mark Knecht wrote:
 On 11/30/05, Travis Osterman [EMAIL PROTECTED] wrote:
   Sometimes something about her setup goes
   haywire and she loses all her desktop icons and her wallpaper.
 
  I've had a similar issue and, for me, it's usually nautilus erroring.
  If I run '$ nautilus ' that usually fixes things (brings back
  wallpaper, icons, panels, etc)..

Well, thats very similar to my approach, when i got problems with gnome
(usually minor ones):

$ killall nautilus

If your gnome is setup correctly nautilus should be restarted afterwars
atomatically - and hopefully work again.

Matthias
 
  HTH
 
  -- Travis
 
 Thanks Travis. We'll keep that in mond for the next time this happens.
 
 Cheers,
 Mark
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bad interpreter

2005-12-11 Thread Matthias Langer
On Sun, 2005-12-11 at 13:45 +, cucu ionut cristian wrote:
 tryng to install various aplications that wore not in portage found the
 folowing error: bad interpreter: Permission denied
 As I remeber i got this error tring to install luminocity and now e17
 modules; concrete: trying moon from e17 tar xfvz and then ./autogen.sh
 gives me: bash: ./autogen.sh: /bin/sh: bad interpreter: Permision denied
 i'm doing sh ./autogen.sh and then 
  sh ./autogen.sh
 Running aclocal...
 Running autoheader...
 Running autoconf...
 Running libtoolize...
 Running automake...
 ./autogen.sh: ./configure: /bin/sh: bad interpreter: Permission denied
 Again same thing doing it as root so what to do?
 

Well i had this problem too some time ago; The reason for this on my box
was that the location from where i worked was mounted on a partition
with restricted permissions. If this may be the case for you, check your
fstab and try the mount the suspect partition with 'defaults' instead of
'user' or something else.

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Let's make a map of Gentoo users

2005-12-06 Thread Matthias Langer
On Tue, 2005-12-06 at 23:44 +0200, Paul wrote:
 Not any more Ryan
 
 On 12/6/05, Ryan Viljoen [EMAIL PROTECTED] wrote:
 On 12/7/05, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  You guys are still awake!?!?
 
  When I signed up (about half an hour ago) I was the only one
 in San
  Francisco! What's up with that?
 
  What a great idea, b.n.! Thanks!
 
  Michael
 
 
  On Tue, 6 Dec 2005, b.n. wrote:
 
 
 Yup currently I am the only South African and one of 3 in the
 Southern
 Hemisphere.
 
 --
 When you say I wrote a program that crashed Windows, people
 just
 stare at you blankly and say Hey, I got those with the
 system, for 
 free. - Linus Torvalds, 1995
 
 --
 gentoo-user@gentoo.org mailing list
 
 
Nice idea - it seems that i'm the first gentoo user from austria :-)
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Strange ALSA issue

2005-12-06 Thread Matthias Langer
On Tue, 2005-12-06 at 16:45 -0500, Marc Morrisette wrote:
 I just got done following the GCC migration guide on 3 computers.  It
 went smoothly on 2 of them, everything works fine, but on the third,
 after I recompiled the kernel, alsa-driver won't compile.  I'm using
 vanilla-sources 2.6.14.2, the kernel options are all identical to what
 they were before I did the GCC migration.  It's getting stuck very
 early in the ALSA compile:
 
 In file included
 from 
 /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/include/adriver.h:765,
  
 from 
 /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.c:13:
  
 include/linux/pci.h:392: error: parse error before numeric constant 
 make[4]: ***
 [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.o]
  Error 1 
 make[3]: ***
 [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore] 
 Error 2 
 make[2]: ***
 [_module_/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3] 
 Error 2 
 make[1]: *** [modules] Error 2 
 make[1]: Leaving directory `/usr/src/linux-2.6.14.2' 
 make: *** [compile] Error 2 
 
 !!! ERROR: media-sound/alsa-driver-1.0.10_rc3 failed. 
 !!! Function src_compile, Line 96, Exitcode 2 
 !!! Make Failed 
 !!! If you need support, post the topmost build error, NOT this status
 message.
 
 I have no idea how to solve this...it's only happening on one
 computer.  On the others, ALSA compiled fine after recompiling the
 kernel with the new compiler.  The only change that I made after
 switching compiler was changing my CFLAGS.  3.3.6 didn't have a
 --march entry for my processor, so I had to use i686.  After the GCC
 update, I changed the CFLAGS to --march=c3-2, then I did emerge -e
 system and emerge -e world afterwards.  Everything but ALSA is working
 fine.  I'm lost here, I can't imagine what the problem could be.  ALSA
 would've been recompiled as part of world after the GCC upgrade/CFLAGS
 change, it must've worked then as I didn't get any errors from the
 emerge.

Why don't you try the alsa drivers provided with the kernel (i'm quite
happy with them) ? Maybe this will work ...

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Strange ALSA issue

2005-12-06 Thread Matthias Langer
On Tue, 2005-12-06 at 23:58 +0100, Matthias Langer wrote:
 On Tue, 2005-12-06 at 16:45 -0500, Marc Morrisette wrote:
  I just got done following the GCC migration guide on 3 computers.  It
  went smoothly on 2 of them, everything works fine, but on the third,
  after I recompiled the kernel, alsa-driver won't compile.  I'm using
  vanilla-sources 2.6.14.2, 

Are you using the same kernel on all machines, or different versions ?

 the kernel options are all identical to what
  they were before I did the GCC migration.  It's getting stuck very
  early in the ALSA compile:
  
  In file included
  from 
  /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/include/adriver.h:765,
   
  from 
  /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.c:13:
   
  include/linux/pci.h:392: error: parse error before numeric constant 
  make[4]: ***
  [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.o]
   Error 1 
  make[3]: ***
  [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore] 
  Error 2 
  make[2]: ***
  [_module_/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3]
   Error 2 
  make[1]: *** [modules] Error 2 
  make[1]: Leaving directory `/usr/src/linux-2.6.14.2' 
  make: *** [compile] Error 2 
  
  !!! ERROR: media-sound/alsa-driver-1.0.10_rc3 failed. 
  !!! Function src_compile, Line 96, Exitcode 2 
  !!! Make Failed 
  !!! If you need support, post the topmost build error, NOT this status
  message.
  
  I have no idea how to solve this...it's only happening on one
  computer.  On the others, ALSA compiled fine after recompiling the
  kernel with the new compiler.  The only change that I made after
  switching compiler was changing my CFLAGS.  3.3.6 didn't have a
  --march entry for my processor, so I had to use i686.  After the GCC
  update, I changed the CFLAGS to --march=c3-2, then I did emerge -e
  system and emerge -e world afterwards.  Everything but ALSA is working
  fine.  I'm lost here, I can't imagine what the problem could be.  ALSA
  would've been recompiled as part of world after the GCC upgrade/CFLAGS
  change, it must've worked then as I didn't get any errors from the
  emerge.
 
 Why don't you try the alsa drivers provided with the kernel (i'm quite
 happy with them) ? Maybe this will work ...
 
 Matthias
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with world update

2005-12-06 Thread Matthias Langer
On Tue, 2005-12-06 at 23:32 +, Ognjen Bezanov wrote:
 Hello, I am running a emerge -u world and there is a package 
 (realplayer) that keeps failing the build due to an error in package 
 retrieval.
 
 My first question is why is portage trying to emerge this package as I 
 do not have it installed in the first place ( I had it once a while ago, 
 then it was unmerged) and my second is how tell portage not to emerge 
 the package.
 
 I'm presuming that there was an error during the unmerging such that 
 portage still thinks the package is installed, what can I do to fix this?
 
 
 Thanks.
 

As explained at the end of the migration guide (did not see it myself
the first time) use:

# emerge --resume --skipfirst

This will continue your last emerge but skip the first package in the
list (which is the one that failed).

realplayer is most likley pulled in as dependecy by another package,
maybe because of a specific use flag. If you have gentoolkit installed,
try

# equery depends realplayer

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C compiler cannot create executables

2005-11-24 Thread Matthias Langer
On Wed, 2005-11-23 at 22:49 -0600, Michael Sullivan wrote:
 I think I've somehow managed to screw gcc up.  Whenever I try to emerge
 anything I get this message:
 
 checking for C compiler default output... configure: error: C compiler
 cannot create executables
 
 It also says See config.log for details, but I can't find config.log -
 it doesn't give a full path.  Is there a way to repair this without
 having to completely reinstall Gentoo?
 

I've had this problem too some time ago - however, i'm not sure how i
solved it - but i think it was something with fix-libtool.sh or
gcc-config. Try to compile a simple c-program by hand - maybe this will
give you some hints about the source of your problem.

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: default stage3

2005-11-22 Thread Matthias Langer
On Tue, 2005-11-22 at 09:17 +, Neil Bothwick wrote:
 On Tue, 22 Nov 2005 00:28:26 +0100, Matthias Langer wrote:
 
   As I understand it, the first time you recompile new toolchain with
   your old toolchain, and then the 2nd time you're recompiling the
   toolchain with the new toolchain, with the idea that the new toolchain
   will compile/assemble/link/etc everything in a different way than the
   old toolchain.
   
   Please correct if I'm wrong.
  
  I would suggest 'emerge -uD gcc  emerge -e world'; This should
  recompile the new toolchain with the new toolchain and be considerably
  faster.
 
 The first command won't do anything, -D doesn't take account of of USE or
 CFLAG changes.

Well, you are right, in theory; In practice, where the toolchain on the
live-cd is not up to date, it will get completley recompiled by emerge
-uD gcc (after syncing) - at least I think so ...

However, thanks for pointing that out ...
 
 emerge -e system  emerge -e world might be better, but there are scripts
 on the forums that recompile just what you need, in the best order, such
 as; http://forums.gentoo.org/viewtopic-t-282474.html
 
Matthias



-- 
gentoo-user@gentoo.org mailing list



Re: changing CHOST in stage3 (was : [gentoo-user] default stage3)

2005-11-22 Thread Matthias Langer
On Tue, 2005-11-22 at 17:11 -0500, Matthew Cline wrote:
 On 11/22/05, Alexander Skwar [EMAIL PROTECTED] wrote:
 
  Why? What do you expect to gain?
 
 
 The computer I am installing this on is an old Compaq laptop with a
 Cyrix MediaGX processor. Everything I have read suggests that this is
 equivalent to an i586.
 
 Am I wrong in thinking that the CHOST variable should reflect the kind
 of processor in the machine? Wouldn't leaving the CHOST at
 i386-pc-linux-gnu build unoptimized binaries?
 
 
 Matt
 

I'm not an expert, but this is just copied and pasted from the gentoo
handbook:

The CHOST variable declares the target build host for your system. This
variable should already be set to the correct value. Do not edit it as
that might break your system. If the CHOST variable does not look
correct to you, you might be using the wrong stage3 tarball.

Cheers, Matthias



-- 
gentoo-user@gentoo.org mailing list



Re: default stage3 (was : [gentoo-user] Is Gentoo still on the right path?)

2005-11-21 Thread Matthias Langer
On Mon, 2005-11-21 at 21:33 +0900, Steve B wrote:
 WTF.. I'm getting ready to rebuild my gentoo box.  I have always did a
 stage 1 install.  i was under the impression that if u used a stage 3
 u couldn't muck with your CFLAGS or what not.  If I'm forced to use
 canned binaries I might as well go with FC or Debian.. I've never
 listened to the Gentoo is dead comments.. but now who knows.. this
 is just crazy.. who came up with this stupid idea? from the sounds of
 it certianly not the Gentoo Community!
 

I think you haven't really read the discussions about this topic. As
long as you don't edit bootstrap.sh,

stage3-emerge sync-adapt make.conf, package.* files etc.-emerge -e
world

will just have the same effect as a stage1 install but 

- faster
- with fewer pitfalls

Regards, 
Matthias


-- 
gentoo-user@gentoo.org mailing list



Re: default stage3 (was : [gentoo-user] Is Gentoo still on the right path?)

2005-11-21 Thread Matthias Langer
On Mon, 2005-11-21 at 13:57 +0100, Matthias Langer wrote:
 On Mon, 2005-11-21 at 21:33 +0900, Steve B wrote:
  WTF.. I'm getting ready to rebuild my gentoo box.  I have always did a
  stage 1 install.  i was under the impression that if u used a stage 3
  u couldn't muck with your CFLAGS or what not.  

The only flag you should not change after a stage 3 install is CHOST. If
you downloaded the right stage3 tarball there is no reason to do so
unless you are cross-compiling. Note that stage1 is still available, but
no longer supported by the handbook, as there is allmost no reason, even
for an experienced gentoo-er not to use stage3.

 If I'm forced to use
  canned binaries I might as well go with FC or Debian.. I've never
  listened to the Gentoo is dead comments.. but now who knows.. this
  is just crazy.. who came up with this stupid idea? from the sounds of
  it certianly not the Gentoo Community!
  
 
 I think you haven't really read the discussions about this topic. As
 long as you don't edit bootstrap.sh,
 
 stage3-emerge sync-adapt make.conf, package.* files etc.-emerge -e
 world
 
 will just have the same effect as a stage1 install but 
 
 - faster
 - with fewer pitfalls
 
 Regards, 
 Matthias
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: default stage3

2005-11-21 Thread Matthias Langer
On Mon, 2005-11-21 at 17:01 -0500, Ryan Sims wrote:
  I installed gentoo on a dual Opteron box this weekend, I've always done
  stage1 installs, but this time decided to try the recommeded stage3 method.
  I understand the concept of doing an emerge -e world in order to get the
  optimization of a stage1 install, and I've done this ( one time ) on the
  install I just completed. Can sombody explain why it's necessary/desirable
  to do this *twice*?
 
  What real difference does the second execution really make?
 
 
 As I understand it, the first time you recompile new toolchain with
 your old toolchain, and then the 2nd time you're recompiling the
 toolchain with the new toolchain, with the idea that the new toolchain
 will compile/assemble/link/etc everything in a different way than the
 old toolchain.
 
 Please correct if I'm wrong.

I would suggest 'emerge -uD gcc  emerge -e world'; This should
recompile the new toolchain with the new toolchain and be considerably
faster.

Matthias

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-08 Thread Matthias Langer
On Mon, 2005-11-07 at 17:58 -0800, Bob Young wrote:
 
 -Original Message-
 From: David Corbin [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 07, 2005 3:21 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Kernel 2.6.14  Nvidia
 
 On Sunday 06 November 2005 11:13 pm, Norberto Bensa wrote:
  Philip Webb wrote:
   Has anyone got Nvidia to work with Kernel 2.6.14 ?
 
  Yup. In /etc/conf.d/local.start
 
  /sbin/NVmakedevices.sh
 
  or
 
  mknod /dev/nvidia0 c 195 0
  mknod /dev/nvidiactl c 195 255
 
 
 This doesn't work for me.  If I have the nvidia FB compiled in, then nvidia
 module fails to load long before local.start seems to be called.
 
 
 You can't have the nv driver providing the console frame buffer, then load
 the nvidia driver. If you do that, you have two different modules laying
 claim to control of the video hardware, thus causing the second one to fail
 to load.. If you want support for different video modes and boot splash etc,
 use the vesafb, then your nvidia driver should load.
 Bob Young

This link may be relevant:
http://bugs.gentoo.org/show_bug.cgi?id=104369
mlangc

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] evolution, aspell and multilanguage support

2005-10-28 Thread Matthias Langer
I've recently switched to evolution for writing and receiving mail. As
German is my mother language I write German e-mails in regular
intervals. So I thought installing app-dicts/aspell-de would be a good
idea. However, I'm not able to select a German dictionary in evolution.

Last but not least some information on my system which might be
relevant:

app-text/aspell-0.50.5-r4
app-text/aspell-de-50.2
mail-client/evolution-2.2.3-r3

$ equery uses evolution
...
 + + spell : Adds dictionary support
...

Maybe someone here can help me ...
Thanks, Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dma_intr: status=0x51

2005-10-08 Thread Matthias Langer

Hemmann, Volker Armin wrote:


On Saturday 08 October 2005 04:15, Matthias Langer wrote:
 


I just bought myself a new harddrive. While everything seems to work
fine so far, I recognized these messages from dmesg:

hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }

I'm using vanilla-sources-2.6.12.5.

Here are some other parts from dmesg, which are included to describe the
relevant hardware in detail:

SiI680: IDE controller at PCI slot :00:09.0

SiI680: chipset revision 1
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 10
   ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
   ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
...
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-3540A, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6L250R0, ATA DISK drive
hdd: max request size: 64KiB
hdd: 490234752 sectors (251000 MB) w/16384KiB Cache, CHS=30515/255/63,
UDMA(133)
hdd: cache flushes supported

Finally, this is what i get from hdparm -i /dev/hdd:

Model=Maxtor 6L250R0, FwRev=BAH41G10, SerialNo=L59CY5SH
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=16384kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):

Maybe someone can give me a hint what might be wrong with my configuration.
   



first off all, you should never mix ata and atapi devices (harddisks and 
opticals) on one channel. That is known for making problems.


Your error message could be have two origins: your cable is defective or not 
properly seated (easy to check), or your harddisk is on its way to the great 
vendor in the sky.
Get a different cable. Connect the drive with this new cable. ONLY connect the 
drive, not the burner. Does the error still occurs? Bring back the harddisk, 
where you bought it.
 

Well, I tried to connect the drive to another cable with success. 
However, with this cable, which seemed to be an older one, the drive was 
restricted to UDMA(33).


My theory about these messages now is the following:
The HD I'm talking about is not directly connected to the ide-cable, but 
via a rather old 'HD-Box'. Thus I have:


Controller-Modern IDE-Cable-HD-Box-Old IDE-Cable-HD.

I think that the 'Old IDE-Cable' part is causing the troubles. However I 
can't verify that without rearranging a bulk of ide-drives.

I'll buy myself a new box and tell you about the results.

Thanks for your hints, Matthias
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dma_intr: status=0x51

2005-10-08 Thread Matthias Langer

Matthias Langer wrote:


Hemmann, Volker Armin wrote:


On Saturday 08 October 2005 04:15, Matthias Langer wrote:
 


I just bought myself a new harddrive. While everything seems to work
fine so far, I recognized these messages from dmesg:

hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }

I'm using vanilla-sources-2.6.12.5.

Here are some other parts from dmesg, which are included to describe 
the

relevant hardware in detail:

SiI680: IDE controller at PCI slot :00:09.0

SiI680: chipset revision 1
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 10
   ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
   ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
...
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-3540A, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6L250R0, ATA DISK drive
hdd: max request size: 64KiB
hdd: 490234752 sectors (251000 MB) w/16384KiB Cache, CHS=30515/255/63,
UDMA(133)
hdd: cache flushes supported

Finally, this is what i get from hdparm -i /dev/hdd:

Model=Maxtor 6L250R0, FwRev=BAH41G10, SerialNo=L59CY5SH
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=16384kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):

Maybe someone can give me a hint what might be wrong with my 
configuration.
  



first off all, you should never mix ata and atapi devices (harddisks 
and opticals) on one channel. That is known for making problems.


Your error message could be have two origins: your cable is defective 
or not properly seated (easy to check), or your harddisk is on its 
way to the great vendor in the sky.
Get a different cable. Connect the drive with this new cable. ONLY 
connect the drive, not the burner. Does the error still occurs? Bring 
back the harddisk, where you bought it.
 

Well, I tried to connect the drive to another cable with success. 
However, with this cable, which seemed to be an older one, the drive 
was restricted to UDMA(33).


My theory about these messages now is the following:
The HD I'm talking about is not directly connected to the ide-cable, 
but via a rather old 'HD-Box'. Thus I have:


Controller-Modern IDE-Cable-HD-Box-Old IDE-Cable-HD.

I think that the 'Old IDE-Cable' part is causing the troubles. However 
I can't verify that without rearranging a bulk of ide-drives.

I'll buy myself a new box and tell you about the results.


Well, it was as I expected. After switching to an UDMA(133) compatible 
mobile rack the  error messages are gone.




Thanks for your hints, Matthias



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Matthias Langer

Norberto Bensa wrote:


Hemmann, Volker Armin wrote:
 


if you want to use copy, I would prefer cp -a ;)
   



Use tar since cp wont preserve empty dirs.

# cd /path/to/old/dir
# tar cf - * | ( cd /path/to/new/dir  tar xf - )
 


What about rsync -a ?



 


They used tar, for some reasons they mentioned and I forgot ;)
   



:)

 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two questions about gdm

2005-10-07 Thread Matthias Langer

Matthias Langer wrote:


I've two questions about gdm (I use version 2.8.0.3):

1.) Recently I recognized that I get the following error message when 
logging in via gdm:


The configuration file contains
an invalid command line for the
login dialog, so using the default
command. Please fix your
configuration.

Because of the fact that I'm normally logged in automatically by gdm, 
I can't say which upgrade led to this
problem, but at least I've never edited any of gdms config files 
myself. Maybe someone can tell me which file

is responsible for this mess, and maybe how to fix that ...

2.) Is there a way to force gdm to use a user defined screen 
resolution without messing around with xorg.conf ?


Thanks, Matthias


This is just a repost ...
--
gentoo-user@gentoo.org mailing list



[gentoo-user] dma_intr: status=0x51

2005-10-07 Thread Matthias Langer
I just bought myself a new harddrive. While everything seems to work 
fine so far, I recognized these messages from dmesg:


hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }

I'm using vanilla-sources-2.6.12.5.

Here are some other parts from dmesg, which are included to describe the 
relevant hardware in detail:


SiI680: IDE controller at PCI slot :00:09.0

SiI680: chipset revision 1
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 10
   ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
   ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
...
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-3540A, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6L250R0, ATA DISK drive
hdd: max request size: 64KiB
hdd: 490234752 sectors (251000 MB) w/16384KiB Cache, CHS=30515/255/63, 
UDMA(133)

hdd: cache flushes supported

Finally, this is what i get from hdparm -i /dev/hdd:

Model=Maxtor 6L250R0, FwRev=BAH41G10, SerialNo=L59CY5SH
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=16384kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):

Maybe someone can give me a hint what might be wrong with my configuration.

Thanks, Matthias





--
gentoo-user@gentoo.org mailing list



[gentoo-user] /usr and /home to another partition

2005-10-06 Thread Matthias Langer
I want to move the /usr and /home directories to another partition, 
because I'm thinking of buying a new HD. It would be great if both 
directories were on the same partition, as splitting drives never seemed 
very appealing to me. As far as I know, one possibility would be to 
[with the boot-cd]


# mv /usr /mnt/newHD/
# mv /home /mnt/newHD/
# ln -s /mnt/newHD/usr usr
# ln -s /mnt/newHD/home home

However, I'm not sure if this is the suggested method of doing so and to 
be honest, I'm not completley sure if this would even work.


Any comments or suggestions ?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Matthias Langer

Joe Menola wrote:


On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
 


I want to move the /usr and /home directories to another partition,
because I'm thinking of buying a new HD. It would be great if both
directories were on the same partition, as splitting drives never seemed
very appealing to me. As far as I know, one possibility would be to
[with the boot-cd]

# mv /usr /mnt/newHD/
# mv /home /mnt/newHD/
# ln -s /mnt/newHD/usr usr
# ln -s /mnt/newHD/home home

However, I'm not sure if this is the suggested method of doing so and to
be honest, I'm not completley sure if this would even work.

Any comments or suggestions ?
   



In theory I suppose that would work. Myself, I would copy the contents 
to /mnt/newHD/ then rename the original directories and create the links. The 
renamed directories can be deleted after you've verified positive results. 
And if it all craps out, the originals can simply be renamed back to /usr 
and /home.
You should consider creating separate partitions for these though. At some 
point you may wish to blow out the install but retain your /home. Separate 
partitions makes this much easier. And also opens the possibility of sharing 
your /home with multiple installs.


HTH -jm
 

Well, maybe you are right and creating a /usr and a /home partition is 
the better choice. As I want to buy a 250GB drive, I'm thinking of 20G 
for /usr and 230GB for home, while still 16GB remain for /opt, /root, 
/bin  .
Now another genooist pointed out that  it would be wiser to use rsync or 
tar instead of just

# cp - r /usr /mnt/newHd_part_usr/
So, should I enter
# rsync -r /usr /mnt/newHd_part_usr/
or are there some options I should activate to make sure I get what I want ?

Thanks, Matthias
--
gentoo-user@gentoo.org mailing list



[gentoo-user] two questions about gdm

2005-10-06 Thread Matthias Langer

I've two questions about gdm (I use version 2.8.0.3):

1.) Recently I recognized that I get the following error message when 
logging in via gdm:


The configuration file contains
an invalid command line for the
login dialog, so using the default
command. Please fix your
configuration.

Because of the fact that I'm normally logged in automatically by gdm, I 
can't say which upgrade led to this
problem, but at least I've never edited any of gdms config files myself. 
Maybe someone can tell me which file

is responsible for this mess, and maybe how to fix that ...

2.) Is there a way to force gdm to use a user defined screen resolution 
without messing around with xorg.conf ?


Thanks, Matthias
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/X11R6/X11R6/X11R6/X11R6/....

2005-10-05 Thread Matthias Langer

Hans-Werner Hilse wrote:


Hi,

On Wed, 05 Oct 2005 02:48:13 +0200
Matthias Langer [EMAIL PROTECTED] wrote:

 

By accident i recognized that the link /usr/X11R6/ conatains itself - 
leading to an infinite recursion, as hinted in the subject of this 
message ...
   



Does it really contain _itself_? I think this would be wrong. Instead,
it should point to /usr, i.e. the directory containing the sym link.
Reading the subject of your mail, I guess that's the case for you, too.
But above you said otherwise (pointing to itself)...
 


Well you are right:
ls -l in /usr:
...
X11R6 - ../usr
...
Matthias


It's due to the fact that X11 is distro-managed and as such there's
little reason to keep it in an extra location.

-hwh
 



--
gentoo-user@gentoo.org mailing list



[gentoo-user] /usr/X11R6/X11R6/X11R6/X11R6/....

2005-10-04 Thread Matthias Langer
By accident i recognized that the link /usr/X11R6/ conatains itself - 
leading to an infinite recursion, as hinted in the subject of this 
message ... I don't think that this is a problem, but i doubt that this 
behavour is intended. Maybe i should mention that this doesn't change 
after removing the symlink and reemerging xorg-x11-6.8.2-r4.


Any comments, or should i file a bug ?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] gcc usefalgs

2005-09-25 Thread Matthias Langer

I'm woudering about the effect of the following useflags for sys-devel/gcc:
gtk, multislot, vanilla
Does anybody know what they do ?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] multiple gcc versions

2005-09-24 Thread Matthias Langer
I'm mainly in x86 and thus using gcc-3.3.6. However, as i do some 
programming, i want to know if it is without greater problems possible, 
to install gcc-3.4.4 additionally, so that i can make sure that the code 
i'm writing is accepted by gcc-3.4.x too [i know that i can't expect my 
code to work, as it is c++ stuff and the libs i'm using are compiled 
with 3.3.6 - i only want to be sure that the code compiles cleanly].


Thanks,
Matthias Langer
--
gentoo-user@gentoo.org mailing list



[gentoo-user] alias

2005-09-19 Thread Matthias Langer

Recently i was woundering where gentoo stores the aliases i get by:

$ alias
alias d='ls --color'
alias ll='ls --color -l'
alias ls='ls --color=auto'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

The reason i want to know this is mainly because i want to add my own 
ones to this list without fooling around with /etc/conf.d/local.start.

Matthias Langer

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alias [RESOLVED]

2005-09-19 Thread Matthias Langer

[EMAIL PROTECTED] wrote:


You can put them in your ~/.bash_rc or _profile - I can't remember of the top 
of my head.  For host wide ones I created a /etc/bash.rc where I put stuff I 
want everybody to get - or at least start with as they can override it. I then 
source this in the ~/.bash?? and to make sure new users get it I modify what's 
in /etc/skel.  I used /etc/bash.rc because it was on a distro I was familiar 
with at the time.
 


From: Matthias Langer [EMAIL PROTECTED]
Date: 2005/09/19 Mon AM 08:24:45 EDT
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] alias

Recently i was woundering where gentoo stores the aliases i get by:

$ alias
alias d='ls --color'
alias ll='ls --color -l'
alias ls='ls --color=auto'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

The reason i want to know this is mainly because i want to add my own 
ones to this list without fooling around with /etc/conf.d/local.start.

Matthias Langer

--
gentoo-user@gentoo.org mailing list


   

Thank you all for your tipps - in fact the file ~/.bashrc was the first 
one i was looking for; however, i must have been blind because it 
appeard to me that there is no such file 

Matthias Langer

--
gentoo-user@gentoo.org mailing list