[gentoo-ppc-user] xorg not working.
Yeah well, me again. Seems I'm the only one having trouble with PPC these days. I got Xorg 7.1, fluxbox, and KDE installed. After creating an xorg.conf with Xorgautoconfig I quickly realized I indeed had the problem hinted at re: VGA BIOS. So I ~ppc64 keyworded xf86-video-ati and emerged version 6.6.3 which applies the patch that was also hinted at. The results are identical however. X starts and is running, as is fluxbox, but there is nothing on my screen. The only difference is that this time the power LED on my montor goes out when I start X, whereas before it stayed on. Also, there is a difference in Xorg.0.log: X now seems to think that I have a second CRT monitor attached!? (II) RADEON(0): Primary: Monitor -- TMDS Connector -- DVI-D DAC Type -- TVDAC/ExtDAC TMDS Type -- Internal DDC Type -- DVI_DDC (II) RADEON(0): Secondary: Monitor -- CRT Connector -- VGA DAC Type -- Primary TMDS Type -- External DDC Type -- VGA_DDC I have tried with the default xorg.conf that was generated, and I tried all manner of tweaks that I gleamed from gentoo-wiki, man xorg.conf, and man radeon. I have tried commenting and uncommenting individual Options from xorg.conf but the result is always the same. I have tried dropping down to 16 bit color depth and down to 1600x1024 resolution, with no joy. Can anyone even confirm that they have gotten an 23 cinema display and a radeon 9600 to work with Xorg? I would _really_ love to see your xorg.conf if you have. I don't know what else to say. There are no errors in my log (though there are some warnings). If you want/need further information just let me know... I have posted the log and my current conf file in my webspace: http://badcomputer.org/xorg.conf.txt http://badcomputer.org/xorg.log.txt xorg-x11-7.1 mesa-6.5-r3 xf86-video-ati-6.6.3 PowerMac G5 2x 2.0GHz Ati Radeon 9600 23 Apple Cinema Display I would appreciate any ideas. -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972 -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
darren kirby wrote: Yeah well, me again. Seems I'm the only one having trouble with PPC these days. I got Xorg 7.1, fluxbox, and KDE installed. After creating an xorg.conf with Xorgautoconfig I quickly realized I indeed had the problem hinted at re: VGA BIOS. So I ~ppc64 keyworded xf86-video-ati and emerged version 6.6.3 which applies the patch that was also hinted at. The results are identical however. X starts and is running, as is fluxbox, but there is nothing on my screen. The only difference is that this time the power LED on my montor goes out when I start X, whereas before it stayed on. Also, there is a difference in Xorg.0.log: X now seems to think that I have a second CRT monitor attached!? (II) RADEON(0): Primary: Monitor -- TMDS Connector -- DVI-D DAC Type -- TVDAC/ExtDAC TMDS Type -- Internal DDC Type -- DVI_DDC (II) RADEON(0): Secondary: Monitor -- CRT Connector -- VGA DAC Type -- Primary TMDS Type -- External DDC Type -- VGA_DDC I have tried with the default xorg.conf that was generated, and I tried all manner of tweaks that I gleamed from gentoo-wiki, man xorg.conf, and man radeon. I have tried commenting and uncommenting individual Options from xorg.conf but the result is always the same. I have tried dropping down to 16 bit color depth and down to 1600x1024 resolution, with no joy. Can anyone even confirm that they have gotten an 23 cinema display and a radeon 9600 to work with Xorg? I would _really_ love to see your xorg.conf if you have. I don't know what else to say. There are no errors in my log (though there are some warnings). If you want/need further information just let me know... I have posted the log and my current conf file in my webspace: http://badcomputer.org/xorg.conf.txt http://badcomputer.org/xorg.log.txt xorg-x11-7.1 mesa-6.5-r3 xf86-video-ati-6.6.3 PowerMac G5 2x 2.0GHz Ati Radeon 9600 23 Apple Cinema Display I would appreciate any ideas. -d Well, two suggestions here: 1. From the radeon man page: Option ReverseDDC boolean When BIOS connector informations aren't available, use this option to reverse the mapping of the 2 main DDC ports. Use this if the X serve obviously detects the wrong display for each connector. This is typically needed on the Radeon 9600 cards bundled with Apple G5s. The default is off. 2. Try adding Option MergedFB false It looks like it's detecting both heads, not monitors attached to both heads. If that doesn't work, please let us know. :) -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
Try Xorgconfig auto will not work for my mac I have Dual 1.8 17 Studio also check the video ram amount That has helped to get X running fine every time Well, as the author of Xorgautoconfig, what was the problem? :) Can you post the config generated from each so I can fix it? -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
Joseph Jezak wrote: Try Xorgconfig auto will not work for my mac I have Dual 1.8 17 Studio also check the video ram amount That has helped to get X running fine every time Well, as the author of Xorgautoconfig, what was the problem? :) Can you post the config generated from each so I can fix it? -Joe Joe I need to get yaboot working first but will send info I wish i could tell you what the problem was I think it was with the ram amount In the Xorgconfig I have to use card # Nvidia 349 Then X will run I will look though my notes for now I am installing 6.1 no doubt i will have pleaty of problems In this order Yaboot Then getting X to work Thanks for the work to bring Xautoconfig I will try it later today Louis -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] xorg not working.
quoth the Louis Hey: Try Xorgconfig auto will not work for my mac I have Dual 1.8 17 Studio also check the video ram amount That has helped to get X running fine every time Good Luck I gave it a shot, but it didn't work. The xorg.conf that Xorgautoconfig came up with was much superior... -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972 -- gentoo-ppc-user@gentoo.org mailing list
[gentoo-user] Eating RAM...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Since I changed my graphic card from ATI to NVIDIA I have a strange problem. I leave my session always on but I see that a process (I don't know I can recognize it) eats all my ram and my swap. The results is that my computer stopped to work. If I log out and log in again all my memories (ram and swap) are free again. I tried nv and nvidia drivers. I use kde 3.5.2 with a FX5200 on amd64 with 2006.1 desktop profile. Can you help me? Thanks a lot, Luigi - -- Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFJfRqHmkkjmM/hrcRAjo2AJ9eH3EYzQclEXIc2inW6aIDSIX2zACgm4HF We2wksE9nSqJCT1UuYi0Dh4= =v+0Z -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Problem with disk: cannot mount as ext3 but yes as ext2 ???
Hello, I had a hard disk attached on an old RedHat PC formatted and mounted as ext3 filesystem. I removed the hard disk from the PC and plugged it in my Gentoo box. I tried to mount it as ext3 file system and got this error: | # mount -t ext3 /dev/hdd1 /jukebox | mount: wrong fs type, bad option, bad superblock on /dev/hdd1, |missing codepage or other error |In some cases useful info is found in syslog - try |dmesg | tail or so I then tried to see the partition type with fdisk: | Command (m for help): p | | Disk /dev/hdd: 81.9 GB, 81964302336 bytes | 16 heads, 63 sectors/track, 158816 cylinders | Units = cylinders of 1008 * 512 = 516096 bytes | |Device Boot Start End Blocks Id System | /dev/hdd1 1 15881680043232+ 83 Linux My next step was to try to repair it with fsck.ext3: | fsck.ext3 -p /dev/hdd | fsck.ext3: Bad magic number in super-block while trying to open /dev/hdd | /dev/hdd: | The superblock could not be read or does not describe a correct ext2 | filesystem. If the device is valid and it really contains an ext2 | filesystem (and not swap or ufs or something else), then the superblock | is corrupt, and you might try running e2fsck with an alternate superblock: | e2fsck -b 8193 device I tried what was written with e2fsck: | e2fsck -b 8193 /dev/hdd | e2fsck 1.39 (29-May-2006) | e2fsck: Bad magic number in super-block while trying to open /dev/hdd | | The superblock could not be read or does not describe a correct ext2 | filesystem. If the device is valid and it really contains an ext2 | filesystem (and not swap or ufs or something else), then the superblock | is corrupt, and you might try running e2fsck with an alternate superblock: | e2fsck -b 8193 device After googling for a while, and not really finding an answer, I tried to mount it as readonly, and because of a typo, I mounted it as ext2... and it worked!!! I tried then to mount it normally, not anymore as read-only with ext2 format... and it worked!!! So my first question is: how come? I'm sure the filetype is ext3 as it can be seen in my old fstab: | [...] | /dev/hdb5 swapswapdefaults0 0 | #/dev/hdc1 /jukebox ext3defaults 1 1-- this is the one ;-) | [...] I thought maybe I could try to repair it with the normal fsck: | fsck /dev/hdd1 | fsck 1.39 (29-May-2006) | e2fsck 1.39 (29-May-2006) | /dev/hdd1: Attempt to read block from filesystem resulted in short read while reading block 525 | | /dev/hdd1: Attempt to read block from filesystem resulted in short read reading journal superblock | | fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/hdd1 Is there anything wrong with my hardware? Is it a super-block problem? Is there a way to solve it? Thank you in advance! Greg -- gentoo-user@gentoo.org mailing list
[gentoo-user] Fortran g77 support
Hi!I need g77 and g95 on my system in order to install a few things like:blaslapackscipyelmer (finite element)I found this post on http://forums.gentoo.org/viewtopic.php?t=266985but this does not help me. When upgrading gcc from 3.4.6 to 4.1.1 I did not add or remove any USE flag so I assume this are my flags:# emerge -pv gcc[ebuild R ] sys-devel/gcc-4.1.1 USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"and I get # cat /etc/env.d/05gccPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man"INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info"LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/4.1.1:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6"GCC_SPECS=""What do I have to do to achieve g77 support?What information do I / you need?RegardsJC Yahoo! 360° Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene Seite kostenlos!.
Re: [gentoo-user] Fortran g77 support
On Friday 06 October 2006 08:50, JC Denton wrote: I need g77 and g95 on my system in order to install a few things like: Both are provided by gfortran on gcc-4.x with the fortran use flag enabled. Look at `man gfortran` for details. `gfortran` acts as g95 and `gfortran -ff2c` acts as g77. They are not compatible. Look at the fortran eclass (/usr/portage/eclass/fortran.eclass) if you want to know how portage handles this... -- Bo Andresen pgpUAeJmS0hhT.pgp Description: PGP signature
[gentoo-user] Building lapack failed
Hi! I try to install lapack on my machine. This is what I get when I try to emerge lapack:...Source unpacked. Compiling source in /var/tmp/portage/lapack-3.0/work/LAPACK ...g77 -O2 -march=i686 -fomit-frame-pointer -c -o cbdsqr.o cbdsqr.fgfortran: no input filesmake: *** [cbdsqr.o] Error 1!!! ERROR: sci-libs/lapack-3.0 failed.Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile lapack-3.0.ebuild, line 22: Called die!!! make failed!!! If you need support, post the topmost build error, and the call stack if relevant.I had problems with blas before, because I could not find g77 on my system but I fixed this by writing a shell script called g77 that points to "/usr/lib/R/bin/f77". So blas did compile but now lapack fails. What can I do about this?RegardsJC Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an. Yahoo! Messenger. Jetzt installieren .
Re: [gentoo-user] gentoo box hangs
On Thursday 05 October 2006 20:22, Dmitry S. Makovey wrote: thanks for sharing. One question I have - did you run memtest86 or something similar at the time? The reason I'm asking - I ran memtest86 on this machine and it showed nothing. I'm not entirely sure how much I can trust memtest. I've run memtest86+ a number of times and no errors were shown. There's a whole thread (either in this ML or in the forums) as to why memtest is not a foolproof test for your *system* as opposed to a memory module. Try to search around and look in Google too, in case you find it. There's alternative tests to memtest involving running some script (if I remember right). As I said, whichever test you run you need to make sure that it exercises your whole memory system (modules, controllers, swap). Good luck. :) PS. My box would also crash in M$Windoze if the page file was being used (e.g. manipulating large sections of text or pictures), but not at the frequency of it crashing under Gentoo with a heavy emerge and updatedb taking place. -- Regards, Mick pgppbEyVJd3gH.pgp Description: PGP signature
Re: [gentoo-user] OT - ipkungfu not
Hi, On Thu, 5 Oct 2006 18:53:55 -0500 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Thursday 05 October 2006 14:44, Hans-Werner Hilse [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] OT - ipkungfu not': [...] Note that the first 29 bits are all equal. In addition, the first 30 bits are all equal. Yeah, stupid me :-) Shouldn't count to much bits when I ought to be asleep. So it would be sufficient to specify a /29 netmask (255.255.255.248). However, we can't specify a /30 because two addresses in each block (the highest and the lowest) are reserved for network (anycast) and broadcast (multicast). While this is correct when going for the standard common implementation, linux will happily accept a broadcast address _outside_ of the specified network (beware of routing issues). And anycast is mainly a routing issue and AFAIK not even implemented in linux. Linux will therefore happily accept an IP with all non network bits unset. I don't recommend both in any way, cause different IP stacks may have different opinions on that. That's why I wrote it is likely to break routing and broadcasting. -hwh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Different install prefix - howto ?
Hi, I'd like to install an experimental package with a different prefix, say /usr/local/test What should I write into the ebuild file? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -- gentoo-user@gentoo.org mailing list
[gentoo-user] Bugday reminder
Honored users and developers, This is your monthly bugday reminder that the next bugday is held on Saturday the 7. October. Join #Gentoo-Bugs on irc.freenode.net and help out with bugfixing or just see how this day works ;) Regards, Alexander H. Færøy -- Alexander H. Færøy [EMAIL PROTECTED] Gentoo/Userrel project, Gentoo/Bugday project pgpu5uAl0knJF.pgp Description: PGP signature
Re: [gentoo-user] Building lapack failed
On Friday 06 October 2006 09:05, JC Denton wrote: I try to install lapack on my machine. This is what I get when I try to emerge lapack: [SNIP] !!! ERROR: sci-libs/lapack-3.0 failed. [SNIP] I think bug #146448 [1] is the most relevant bug (which you should be able to find on your own). Unfortunately it provides no solutions. This package simply isn't prepared for gcc-4.x yet. I had problems with blas before, because I could not find g77 on my system but I fixed this by writing a shell script called g77 that points to /usr/lib/R/bin/f77. So blas did compile but now lapack fails. What can I do about this? Apologize my ignorance... Why do you need this package anyway? No package currently in the tree depend on sci-libs/lapack... [1] https://bugs.gentoo.org/show_bug.cgi?id=146448 Hmm actually this seems to work for me: # echo -e '#!/bin/sh\ngfortran -ff2c' /usr/bin/g77 chmod +x /usr/bin/g77 # emerge -va sci-libs/lapack # rm /usr/bin/g77 I strongly suggest that you remove it when you're done since this isn't the supported solution. At the very least mention it if you ever file a bug where it might have an impact... -- Bo Andresen pgpYjenVRvnnw.pgp Description: PGP signature
Re: [gentoo-user] Re: unison
On Fri, 6 Oct 2006 00:12:55 + (UTC), James wrote: System A: ~/.mozilla/default/53a4kpfr.slt/bookmarks.html System B: ~/.mozilla/default/6xnd2dcf.slt/bookmarks.html Unison copies both dirs/files correctly back and forth but the different installations of mozilla use different paths to their bookmarks.html file. How would you suggest I fix this (merge) or use one as the master(correct) copy of bookmarks.html and get the other installation of mozilla to use the copied over file? I'd do ln -s 53a4kpfr.slt ~/.mozilla/default/6xnd2dcf.slt on System A and put follow .mozilla/default/6xnd2dcf.slt in the Unison profile. -- Neil Bothwick I am Demon of Borg. Redialling is futile. 400 assimilator busy. signature.asc Description: PGP signature
[gentoo-user] KDE login with non-us keyboard
Hello! I have searched the Web about this, but didn't find an appropriate reference. I run KDE 3.4 under Gentoo on a G4 iMac. The keymap specified in xorg.conf is one designed for the extended Apple keyboard (109 keys) in the French language. It works quite well on the whole (in Konsole, Kate, etc), but the KDE login panel (I don't know its name) ignores it, with the result that name and password have to be given in qwerty, which is rather annoying. I should be grateful to anyone who could explain what bit of configuring is required to make the program aware of the actual keymap. Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eating RAM...
ciao, Luigi Pinna ha scritto: I leave my session always on but I see that a process (I don't know I can recognize it) eats all my ram and my swap. - fire up a shell - enter 'top' - digit Shift+M to order processes for RAM consumption (memory-eating processes are on top of list) - wait - tell us what the bad process is m. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building lapack failed
On Friday 06 October 2006 10:49, Bo Ørsted Andresen wrote: I think bug #146448 [1] is the most relevant bug (which you should be able to find on your own). Unfortunately it provides no solutions. This package simply isn't prepared for gcc-4.x yet. [SNIP] [1] https://bugs.gentoo.org/show_bug.cgi?id=146448 As you can read on the bug those packages are deprecated. Still I've made a couple of patches (attached on the bug) that makes it compile with gfortran... (The eclasses really do all the work...) -- Bo Andresen pgp0zyKkF7jbW.pgp Description: PGP signature
Re: [gentoo-user] Different install prefix - howto ?
Hi, On Fri, 06 Oct 2006 10:21:05 +0200 (CEST) Helmut Jarausch [EMAIL PROTECTED] wrote: I'd like to install an experimental package with a different prefix, say /usr/local/test What should I write into the ebuild file? I don't think the ROOT environment variable when emerging is what you want. I think you can just append --prefix=/usr/local/test to the call to econf. All of this assumes usage of autoconf, of course. Another common approach is to set DESTDIR to ${D}/usr/local/test for make install. See http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=1 -hwh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: OT: auto rename konsole session tabs?
Bo Ørsted Andresen bo.andresen at zlin.dk writes: To get only the hostname (\h is substituted with the hostname as you can read in `man bash`) ... # export PS1=$PS1'\[\033]0;\h\007\]' Well I tryied this command by puting it in the .bashrc file on both the host system and the target remote. It did not alter the kde-session-tab at all. Then I tried just issuing the command from the CLI and it did nothing either. So I'm not sure I'm trying this solution as intended. Or for the ip you can try this evil command... ;) (it depends on sys-apps/iproute2 and will be overridden by $PS1 -- try in another terminal if you just typed the above command) ... # export PROMPT_COMMAND=ip -o -4 addr show scope global | sed -r 's/.* ([12]?[0-9]?[0-9](\.[12]?[0-9]?[0-9]){3})\/.*/\x1b]0;\1\x7/' From the command line I get this error: bash: ip: command not found Anyway, what's wrong with Mike Williams' suggestion? That's works fine for me. OK, I'm going to respond to this, directly from Mike's email. I had not gotten around to trying what he suggested, yet. James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Bugday reminder
Hello list, I have a slight problem with defining a en_US.UTF-8 locale. I tried the Gentoo Official DocumentationonLocalizationandSyste-wide UTF-8,butIcannotmakeactuallyhavingen_US.UTF-8.HerearesomecommandsIran: The locales I have (nothing changes even after I run the rest of the commands. localhost ~ # locale -aCen_US.utf8POSIXlocalhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8localhost ~ # locale-gen * Generating 1 locales (this might take a while) * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation complete localhost ~ # locale -aCen_US.utf8POSIXlocalhost ~ # env | grep -i LC_LC_ALL=en_US.UTF-8 -- Liviu
[gentoo-user] problem getting UTF-8 locale
Sorry for the double-sent message. Have just changed the subject. Hello list, I have a slight problem with defining a en_US.UTF-8 locale. I tried the Gentoo Official DocumentationonLocalizationandSyste-wide UTF-8,butIcannotmakeactuallyhavingen_US.UTF-8.HerearesomecommandsIran: The locales I have (nothing changes even after I run the rest of the commands. localhost ~ # locale -aCen_US.utf8POSIXlocalhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8localhost ~ # locale-gen * Generating 1 locales (this might take a while) * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation complete localhost ~ # locale -aCen_US.utf8POSIXlocalhost ~ # env | grep -i LC_LC_ALL=en_US.UTF-8-- Liviu
Re: [gentoo-user] Re: OT: auto rename konsole session tabs?
On Friday 06 October 2006 13:18, James wrote: To get only the hostname (\h is substituted with the hostname as you can read in `man bash`) ... # export PS1=$PS1'\[\033]0;\h\007\]' Well I tryied this command by puting it in the .bashrc file on both the host system and the target remote. It did not alter the kde-session-tab at all. Then I tried just issuing the command from the CLI and it did nothing either. So I'm not sure I'm trying this solution as intended. Are you absolutely certain that this option is enabled: Settings - Configure Konsole - General - Set tab title to match window title ? And make sure you don't make a typo... Try it in e.g. an xterm also. You should see your hostname in the title. It works for me at least... Or for the ip you can try this evil command... ;) (it depends on sys-apps/iproute2 and will be overridden by $PS1 -- try in another terminal if you just typed the above command) ... # export PROMPT_COMMAND=ip -o -4 addr show scope global | sed -r 's/.* ([12]?[0-9]?[0-9](\.[12]?[0-9]?[0-9]){3})\/.*/\x1b]0;\1\x7/' From the command line I get this error: bash: ip: command not found Uh, I forgot that I have created this symbolic link to allow users to execute ip (without giving the full path): # ls -l /bin/ip lrwxrwxrwx 1 root root 8 1 jun 11:28 /bin/ip - /sbin/ip Prepending the command by /sbin/ should work too (if sys-apps/iproute2 is installed). -- Bo Andresen pgpfd2yOfKeoA.pgp Description: PGP signature
[gentoo-user] Re: unison
Neil Bothwick neil at digimed.co.uk writes: Unison copies both dirs/files correctly back and forth but the different installations of mozilla use different paths to their bookmarks.html file. I'd do ln -s 53a4kpfr.slt ~/.mozilla/default/6xnd2dcf.slt on System A and put follow .mozilla/default/6xnd2dcf.slt in the Unison profile. Yea, a symlink and a script outside of unison is what I was going to do. I like your suggestion to use the 'follow' option in the Unison profile. Much cleaner. Thanks Neil! Unison is GREAT for my meeds. Also for programmers to back up their own projects and work to several different machines. I'm also going to introduce it to some windows folks. It's great for users/(non-admin programmers) to keep track of their files, as a first response before asking for restores from backup. I just hope it works on windows as well as it does on linux. We use quite a lot of different IDEs on PC to develop code for all sorts of microprocessor/dsps/soc I'm sure there will be problems with this sort of licensed/proprietary tools, but the sourcecode and the hex (binary) files should not be a problem under windows? Those files alone would be sufficient for a user level backup and to sync up files among programmers. James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Different install prefix - howto ?
On Friday 06 October 2006 13:08, Hans-Werner Hilse wrote: I'd like to install an experimental package with a different prefix, say /usr/local/test What should I write into the ebuild file? I don't think the ROOT environment variable when emerging is what you want. I think you can just append --prefix=/usr/local/test to the call to econf. All of this assumes usage of autoconf, of course. Another common approach is to set DESTDIR to ${D}/usr/local/test for make install. See http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=1 Probably a better a reference is [1]. I'm not sure why you don't think he wants the ROOT var. Also ${D} isn't where it's going to be installed to (in the ebuild qmerge sense - see `man ebuild'). It's where the image is going to be installed (the ebuild install sense - again see `man ebuild`). Also it's a var to be used internally in the ebuild only (which I assume you know). If I am correct about what he wants then the point is that there is no need to edit the ebuild file (otherwise it's a bug). [1] http://dev.gentoo.org/~plasmaroo/devmanual//ebuild-writing/variables/ -- Bo Andresen pgp1eUdUosAEV.pgp Description: PGP signature
Re: [gentoo-user] Bugday reminder
On Friday 06 October 2006 13:29, Liviu Andronic wrote: I have a slight problem with defining a en_US.UTF-8 locale. I tried the Gentoo Official Documentation on Localization and Syste-wide UTF-8, but I cannot make actually having en_US.UTF-8. Here are some commands I ran: The locales I have (nothing changes even after I run the rest of the commands. localhost ~ # locale -a C en_US.utf8 POSIX localhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8 localedef is not necessary. Use locale-gen instead. localhost ~ # locale-gen * Generating 1 locales (this might take a while) * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation complete Which you did - with success. localhost ~ # locale -a C en_US.utf8 POSIX localhost ~ # env | grep -i LC_ LC_ALL=en_US.UTF-8 And your current locale obviously is en_US.UTF-8. So... congrats... everything is fine. :) -- Bo Andresen pgpRTxwoQ7Nwn.pgp Description: PGP signature
Re: [gentoo-user] OT - ipkungfu not
On Friday 06 October 2006 03:13, Hans-Werner Hilse [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] OT - ipkungfu not': On Thu, 5 Oct 2006 18:53:55 -0500 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: So it would be sufficient to specify a /29 netmask (255.255.255.248). However, we can't specify a /30 because two addresses in each block (the highest and the lowest) are reserved for network (anycast) and broadcast (multicast). While this is correct when going for the standard common implementation, linux will happily accept a broadcast address _outside_ of the specified network Yeah. I'm not sure why. It makes my little brain hurt just thinking of it. But, broadcast is not used much. More than anycast, sure, but, not much. That said, a router that did only understood standard broadcast [1] will send those packets to every known machine with the correct netmask. Thus, that address is reserved and should not be used unless you really know your setup. And anycast is mainly a routing issue and AFAIK not even implemented in linux. Anycast is virtually unused anywhere. I'd imagine it could be used in some crazy layer 3 clustering solution, but I've never actually seen it used. That said, sending a packet out to the anycast address is dangerous. A router that did implement anycast [1] need not send out those packets to the machine you believe you've assigned that address to (it may route it to any known machine with the correct netmask). Thus, that address is reserved and should not be used unless you really know your setup. Linux is nice and does let you assign this address, for a number of reasons. That's why I wrote it is likely to break routing and broadcasting. Using the network or broadcast addresses as an assigned address is likely to break the routing, but using a netmask that is of an unusual length 30, 29, or 28 (as opposed usual lengths of 8, 16, or 24 *only*) will not, as long as the computers all agree on a netmask -- which is required even for usual length netmasks. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh [1] ...and knew your netmask. It's not transmitted, and in these days where we use CIDR it can't be determined from the IP. (I believe classful networks were assigned ranges, but I'm not sure.) pgpb8bGenqQvI.pgp Description: PGP signature
Re: [gentoo-user] OT - ipkungfu not
On Friday 6 October 2006 14:32, Boyd Stephen Smith Jr. wrote: Anycast is virtually unused anywhere. I'd imagine it could be used in some crazy layer 3 clustering solution, but I've never actually seen it used. Actually, ipv6 uses anycasts extensively. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Different install prefix - howto ?
Hi, On Fri, 6 Oct 2006 14:25:47 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Friday 06 October 2006 13:08, Hans-Werner Hilse wrote: I'd like to install an experimental package with a different prefix, say /usr/local/test What should I write into the ebuild file? I don't think the ROOT environment variable when emerging is what you want. I think you can just append --prefix=/usr/local/test to the call to econf. All of this assumes usage of autoconf, of course. Another common approach is to set DESTDIR to ${D}/usr/local/test for make install. Probably a better a reference is [1]. I'm not sure why you don't think he wants the ROOT var. Because it didn't sound like he was trying to set up a chroot environment just for that package but rather make shure its installed files don't cludder /usr. If ROOT is set, that will also emerge all RDEPENDs into that. Also ${D} isn't where it's going to be installed to (in the ebuild qmerge sense - see `man ebuild'). It's where the image is going to be installed (the ebuild install sense - again see `man ebuild`). Well, I'm not an English master, but I find your statement irritating. The image gets installed into the real ROOT as set when emerging, i.e. / in most cases (that's what qmerge does). The ebuild itself installs what it has to install _into_ the image. So in terms of ebuild writing, ${D} is where you should install to. portage will care (ebuild qmerge) for moving that over to the real ROOT. Also it's a var to be used internally in the ebuild only (which I assume you know). If I am correct about what he wants then the point is that there is no need to edit the ebuild file (otherwise it's a bug). That's probably where our understanding differs: I think the question was about ebuild writing or modification. -hwh -- gentoo-user@gentoo.org mailing list
Anycast (was: Re: [gentoo-user] OT - ipkungfu not)
On Friday 06 October 2006 08:05, Etaoin Shrdlu [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] OT - ipkungfu not': On Friday 6 October 2006 14:32, Boyd Stephen Smith Jr. wrote: Anycast is virtually unused anywhere. I'd imagine it could be used in some crazy layer 3 clustering solution, but I've never actually seen it used. Actually, ipv6 uses anycasts extensively. Well, I thought we were limiting discussion to IPv4, but thanks for the info. I didn't know that IPv6 made much use of anycast. (My big hope is that we get wide acceptance of IPv6 multicast.) -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpzTkEhpo6b2.pgp Description: PGP signature
Re: [gentoo-user] Different install prefix - howto ?
On Friday 06 October 2006 14:50, Hans-Werner Hilse wrote: [SNIP] I'm not sure why you don't think he wants the ROOT var. Because it didn't sound like he was trying to set up a chroot environment just for that package but rather make shure its installed files don't cludder /usr. If ROOT is set, that will also emerge all RDEPENDs into that. Hmm... By reading the thread again seems you're right. I blame lack of sleep. Also ${D} isn't where it's going to be installed to (in the ebuild qmerge sense - see `man ebuild'). It's where the image is going to be installed (the ebuild install sense - again see `man ebuild`). Well, I'm not an English master, but I find your statement irritating. [SNIP] It was because I managed to overlook the important part. I just read: set DESTDIR to ${D}. Sorry.. Thanks for clearing this. :) [SNIP] At least we agree now... And just for the OP: The ROOT var changes the location of the vdb (/var/db/pkg) too. It contains info about what packages are installed etc... So the main system (when the ROOT var isn't set - it defaults to '/') won't even know that a package installed with the ROOT var set to something else than '/' is installed... -- Bo Andresen pgpWav96wSLr1.pgp Description: PGP signature
Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boyd Stephen Smith Jr. wrote: The C89 standard I work off of [1] doesn't list isascii or isblank. They must have been added in either C99 or by the GNU project. I'm not sure what standard (or standard + extensions) gcc defaults to, but I'll bet it's mentioned in it's info pages. man isascii: CONFORMING TO C99, 4.3BSD. isascii() is a BSD extension and is also an SVr4 extension. isblank() con- forms to POSIX.1-2001 and C99 7.4.1.3. - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica Do you know about the dangers of DRM? Find out at http://www.defectivebydesign.org/what_is_drm; http://www.buanzo.com.ar | http://www.vivamoslavida.com.ar : Portal no-comercial del buen vivir! for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJmhdAlpOsGhXcE0RAiufAJ4rsc1fccktxIf9Eqe2VkQAnZVC8ACeJCgf 5KWq7n4tSSFAfU4FdOZmC8g= =+lmD -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gcc -o digits -Wall -ansi -pedantic digits.c With that, I got the implicit declaration of function BLAH message. When that happens, and the man page does not list anything special, I usually add this at the beginning of the source file: #define _GNU_SOURCE et voila', now compiles cleanly - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica Do you know about the dangers of DRM? Find out at http://www.defectivebydesign.org/what_is_drm; http://www.buanzo.com.ar | http://www.vivamoslavida.com.ar : Portal no-comercial del buen vivir! for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJmi4AlpOsGhXcE0RAgbxAJ0Y6iCfQhkSRJhtw+P7DYs8UmDM9ACffEhx jtef6SeHVVgG0l2tAjzsDTo= =ezDJ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Recurring reiserfs error
(note dmesg follows message) Out of 12 partitions in my setup 8 are reiserfs. During bootup I see them go by being checked, but always the last one /dev/hda11 fails with this message: fsck could not repair all errors And drops me into the repair shell. This has happened over several kernels and for mnths. I finally just took to C-d to finish booting. This is after stopping to reiserfsck /dev/hda11 many times. It always passes with no error messages. Oddly, the drive is always mounted once boot is complete (I mean even when I just press Ctrl-d to by-pass fixing.) And no problems read/write to it occur. I finally reformatted /dev/hda11 to ext3. Now the last reiserfs partition that shows up in boot messages is /dev/hda9 and it fails the same way. These facts lead me to believe it isn't really a reiserfs failure at all but something earlier that just shows up at that point, but I cannot fathom out what. dmesg: Linux version 2.6.17-gentoo-r8 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 4.1.1-r1)) #1 SMP Wed Sep 13 10:39:54 CDT 2006 BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 7fff (usable) BIOS-e820: 7fff - 7fff8000 (ACPI data) BIOS-e820: 7fff8000 - 8000 (ACPI NVS) BIOS-e820: fec0 - fec01000 (reserved) BIOS-e820: fee0 - fee01000 (reserved) BIOS-e820: fff0 - 0001 (reserved) 1151MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000fc0f0 On node 0 totalpages: 524272 DMA zone: 4096 pages, LIFO batch:0 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 294896 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 AMI ) @ 0x000fa3a0 ACPI: RSDT (v001 AMIINT INTEL865 0x0010 MSFT 0x0097) @ 0x7fff ACPI: FADT (v001 AMIINT INTEL865 0x0011 MSFT 0x0097) @ 0x7fff0030 ACPI: MADT (v001 AMIINT INTEL865 0x0009 MSFT 0x0097) @ 0x7fff00c0 ACPI: DSDT (v001 INTELI865G 0x1000 MSFT 0x010d) @ 0x ACPI: PM-Timer IO Port: 0x808 ACPI: Local APIC address 0xfee0 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 15:4 APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled) ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 8800 (gap: 8000:7ec0) Built 1 zonelists Kernel command line: root=/dev/hda5 vga=0x31A video=vesafb:mtrr,ywrap mapped APIC to d000 (fee0) mapped IOAPIC to c000 (fec0) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c0467000 soft=c045f000 PID hash table entries: 4096 (order: 12, 16384 bytes) Detected 3067.474 MHz processor. Using pmtmr for high-res timesource Speakup v-2.00 CVS: Mon May 1 09:46:33 EDT 2006 : initialized Console: colour dummy device 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 2074920k/2097088k available (2412k kernel code, 21036k reserved, 791k data, 204k init, 1179584k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 6140.10 BogoMIPS (lpj=12280208) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 441d CPU: After vendor identify, caps: bfebfbff 441d monitor/mwait feature present. using mwait in idle threads. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 256K CPU: Hyper-Threading is disabled CPU: After all inits, caps: bfebfbff 0180 441d Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (12) available CPU0: Thermal monitoring enabled Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 16k freed CPU0: Intel(R) Celeron(R) CPU 3.06GHz stepping 01 Total of 1 processors activated (6140.10 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 Brought up 1 CPUs migration_cost=0 NET: Registered protocol family 16 EISA bus registered ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfdb81,
Re: [gentoo-user] Bugday reminder
On 10/6/06, Liviu Andronic [EMAIL PROTECTED] wrote: Hello list, I have a slight problem with defining a en_US.UTF-8 locale. I tried the Gentoo Official Documentation on Localization and Syste-wide UTF-8, but I cannot make actually having en_US.UTF-8. Here are some commands I ran: The locales I have (nothing changes even after I run the rest of the commands. localhost ~ # locale -a C en_US.utf8 POSIX localhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8 localhost ~ # locale-gen * Generating 1 locales (this might take a while) * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation complete localhost ~ # locale -a C en_US.utf8 POSIX localhost ~ # env | grep -i LC_ LC_ALL=en_US.UTF-8 Uhm... how bout we NOT HIJACK THREADS. Please start a new thread when you have something new to say. Thank you. -- Michael E. Crute http://mike.crute.org God put me on this earth to accomplish a certain number of things. Right now I am so far behind that I will never die. --Bill Watterson -- gentoo-user@gentoo.org mailing list
[gentoo-user] A nic with no IP
Hi folks: I am working on my snort sensor box which runs gentoo. The setup that I am going to do requires me to have one nic (an intel Pro1000) with no ip on it (it is currently eth0 as the machine is currently set up). I know how to set up the nic in the /etc/conf.d/net file but making it have no ip is a little different. Snort will put the nic in promiscous mode to capture packets Thanks TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eselect vs eselect-opengl (or Why does xterm deeply depend on eselect-opengl)
On 10/3/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Tuesday 03 October 2006 22:14, Justin Patrin wrote: I'm getting this very odd behavior when trying to --update --deep world. # emerge -atuDv world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [blocks B ] =app-admin/eselect-1.0.3 (is blocking app-admin/eselect-opengl-1.0.3) [nomerge ] x11-terms/xterm-218 USE=truetype -Xaw3d -paste64 -toolbar -unicode [nomerge ] sys-libs/libutempter-1.1.4.1 [nomerge ] app-arch/rpm2targz-9.0-r3 [nomerge ]sys-apps/util-linux-2.12r-r4 USE=crypt nls perl -old-crypt (-selinux) -static [nomerge ] app-crypt/hashalot-0.3-r2 [ebuild N] app-admin/eselect-opengl-1.0.3 41 kB If I'm reading this right, xterm is deeply depending on eselect-opengl somehow but eselect is blocking it. Does anyone know why this would be? app-admin/eselect-opengl-1.0.3 contains this: RDEPEND==app-admin/eselect-1.0_rc1 !=app-admin/eselect-1.0.3 This means that it requires eselect = 1.0_rc1 but is blocked by eselect = 1.0.3. eselect-1.0.3 was marked testing and eselect-opengl-1.0.3 is marked stable. So either downgrade eselect to latest stable (1.0.2) or upgrade eselect-opengl to latest testing (1.0.4). I am a bit curious about how eselect-opengl is being pulled in so if you still see the above output feel free to add --debug to the above command and mail the output to me offlist. If you do that be sure to include the output of `emerge --info` also. Ok, I figured out what was causing this.. I had eselect and eselect-php in package.keywords (without any keywords) but not eselect-opengl. This made eselect upgrade to 1.0.6 which didn't work with eselect-opengl-1.0.3. Removing the eselect atoms from package.keywords fixed the problem (eselect-1.0.2 and eselect-opengl-1.0.3). (I think I added these packages to package.keywords because of a previous PHP upgrade. It appears that eselect-php doesn't exist any more, though.) All is now well. Thanks. -- Justin Patrin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo box hangs
On Friday 06 October 2006 00:58, Mick wrote: I've run memtest86+ a number of times and no errors were shown. There's a whole thread (either in this ML or in the forums) as to why memtest is not a foolproof test for your *system* as opposed to a memory module. Try to search around and look in Google too, in case you find it. There's alternative tests to memtest involving running some script (if I remember right). As I said, whichever test you run you need to make sure that it exercises your whole memory system (modules, controllers, swap). Good luck. :) PS. My box would also crash in M$Windoze if the page file was being used (e.g. manipulating large sections of text or pictures), but not at the frequency of it crashing under Gentoo with a heavy emerge and updatedb taking place. Thanks it helps to know that. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A nic with no IP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy A. Holmes wrote: I am working on my snort sensor box which runs gentoo. The setup that I am going to do requires me to have one nic (an intel Pro1000) with no ip on it (it is currently eth0 as the machine is currently set up). I know how to set up the nic in the /etc/conf.d/net file but making it have no ip is a little different. Snort will put the nic in promiscous mode to capture packets - From /etc/conf.d/net.example: # If you don't want ANY address (only useful when calling for advanced stuff) #config_eth0=( null ) Then add the interface in the runlevel, as usual. - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica Do you know about the dangers of DRM? Find out at http://www.defectivebydesign.org/what_is_drm; http://www.buanzo.com.ar | http://www.vivamoslavida.com.ar : Portal no-comercial del buen vivir! for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJnXFAlpOsGhXcE0RAnrNAJ9OyhJ1G3RmoFeFla2GxqQgDI8EmQCfQeqf te1tRvX0yQS+yT4OsjmV8WE= =BNwj -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A nic with no IP
I am working on my snort sensor box which runs gentoo. The setup that I am going to do requires me to have one nic (an intel Pro1000) with no ip on it (it is currently eth0 as the machine is currently set up). I know how to set up the nic in the /etc/conf.d/net file but making it have no ip is a little different. Snort will put the nic in promiscous mode to capture packets - From /etc/conf.d/net.example: # If you don't want ANY address (only useful when calling for advanced stuff) #config_eth0=( null ) Then add the interface in the runlevel, as usual. - -- Arturo Buanzo Busleiman - Consultor Independiente en Arturo -- thanks -- :) Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Auto-mount USB device
Hi folks, Gentoo_64 gnome-light When the USB enclosure is plugin hotplug detects it. But it won't mount it automatically showing it as an icon on desktop. I have to mount it manually on console. Please advise which file I have to edit enabling auto-mount when the USB enclosure is plugged. TIA B.R. SL -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Router 3rd and 4th net interface problem
How should eth1 and eth2 be configured in /etc/conf.d/net ? They should be configured as part of a bridge device (see the bridging section of /etc/conf.d/net.example) and have the address assigned (and DHCPD listing on) that bridge device. Except that this doesn't work on WLAN (MAC layer done by the WLAN adapter). eth1 and eth2 are both wired, no? How does 802.11a/b/g come into this? Yeah, that's just me not reading carefully. But looking at the first post by the OP, I thought that ath0 was meant to join eth1 and eth2. See my other mail, I've just clarified this. But probably proxy_arp can help here. And subnet separation, of course. Just extending the netmask a bit and enabling proxy_arp would do the job. OTOH, it's also easy to configure the routes to the other subnets via DHCP. Just a matter of taste. In any case, it only works on IP layer. I must admit that I've never used proxy_arp, but all ARP traffic occurs at the ethernet layer, below the IP layer, so it doesn't make sense to me for an option/program so named to only work on IP traffic. ARP is also only used intra-subnet, so this entire section doesn't make much sense to me. Well, for something like a bridge, it has to work inter-(physical-) subnet. Of course ARP happens on top of the link layer, just as IP. But ARP is a requirement for IP traffic. And by faking ARP answers for the computer in the other subnet, a router can redirect IP traffic to itself. It just claims all addresses in the other subnet. That's what proxy_arp does. So when it in fact uses forwarding, it behaves similar to a bridge w/ regard to that you don't need to configure all the computers with a route to the other subnet. In *any* case, it's extremely unlikely that the OP is going to be carrying any significant amount of non-IP traffic. I feel that is an extraordinary enough condition to be mentioned. I'm afraid I can't keep up with you guys here. What I'd like to do is use eth1 and ath0 on my router to serve the same local network. Can I bridge them according to net.example to accomplish this? I understand that I will either need to use a crossover cable with eth1 or attach a switch to eth1. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eating RAM...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 14:41, venerdì 6 ottobre 2006, b.n. ha scritto: ciao, Luigi Pinna ha scritto: I leave my session always on but I see that a process (I don't know I can recognize it) eats all my ram and my swap. - fire up a shell - enter 'top' - digit Shift+M to order processes for RAM consumption (memory-eating processes are on top of list) - wait - tell us what the bad process is m. from top: Tasks: 115 total, 1 running, 114 sleeping, 0 stopped, 0 zombie Cpu(s): 8.0% us, 2.7% sy, 0.0% ni, 88.7% id, 0.0% wa, 0.3% hi, 0.3% si Mem: 1026588k total, 1016520k used,10068k free, 9604k buffers Swap: 1301960k total, 822784k used, 479176k free, 230168k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2919 root 15 0 1267m 489m 4204 S 4.3 48.8 9:15.23 X [...] Unfortunately, the problem is the main X process... How can I isolate the problem? Thanks, Luigi - -- Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFJoK7HmkkjmM/hrcRAkghAJ40uDxxyq8AAHn52exw5FJtVxqrhQCfYFmq mqcAqilty33qftMeAHemTug= =d70T -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eating RAM...
On Friday 06 October 2006 13:22, Luigi Pinna wrote: Alle 14:41, venerdì 6 ottobre 2006, b.n. ha scritto: Unfortunately, the problem is the main X process... How can I isolate the problem? which driver are you using for your nvidia card? the opensource one (nv) or the proprietary one (nvidia)? if you are using the proprietary one, which version? []'s .m -- gentoo-user@gentoo.org mailing list
[gentoo-user] Execution on X start (Gentoo way?)
I need to run: nvidia-settings --load-config-only when X starts to get my 1360x768 display to center on my 1366x768 screen. Is there a way to do this in xorg.conf instead? If not, should I use .xinitrc or is there a Gentoo way? I'm starting X via 'startxfce4' right now but I'll be using gdm soon. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
What's the error? I've run dvdrip for a long time and don't get any errors. Embarassing, but I needed to change the CHANGE_ME paths to eliminate the errors. I'm trying to make backups of my DVDs that are smaller than the full 8GB but don't lose any noticeable audio or video quality. I'd be happy to just select the audio and video track I want and rip them without any transcoding. Would anyone recommend a program other than dvdrip for this? I would use mplayer's mencode, but mplayer can't play my The Life of Mammals DVD so I don't think mencode will work. I believe that DVD is copy protected. dvd9to5. If you don't put a blank dvd into the drive it'll leave a DVD image under 4.7GB. I do my DVDs with both dvd9to5 and dvdrip (at 192Kbps MP3 audio, 1500Kbps video) and the quality is all but perfect (1800Kbps video should easily clear up the very very small lose). I've been experimenting with dvdrip and it seems like if I want perfect image quality I'll only save about half the space and the process is such a mess. It's time-consuming and lossy. I think I'll stick with: dd if=/dev/dvd of=image.dvd and pay a $2 storage fee per movie instead of $1. That's perfect quality, all the features, and full menus. I could see it if you're trying to fit a movie on a CD or a single-layer DVD, but it doesn't make sense to me for hard disk backups. I wish there was something like FLAC for video so you could make a perfect backup and the only option to be concerned with would be time vs. space. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Execution on X start (Gentoo way?)
nvidia-settings --load-config-only when X starts to get my 1360x768 display to center on my 1366x768 screen. Is there a way to do this in xorg.conf instead? If not, should I use .xinitrc Use ~/.xinitrc or check this if you wanna use GDM: http://gentoo-wiki.com/TIP_Run_Commands_at_X_Startup or is there a Gentoo way? I hope there is no Gentoo way! -- () ASCII Ribbon Campaign /\ - against HTML mail vCards -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE login with non-us keyboard
On Fri, 06 Oct 2006 12:11:50 +0200, Charles Trois wrote: I run KDE 3.4 under Gentoo on a G4 iMac. The keymap specified in xorg.conf is one designed for the extended Apple keyboard (109 keys) in the French language. It works quite well on the whole (in Konsole, Kate, etc), but the KDE login panel (I don't know its name) ignores it, with the result that name and password have to be given in qwerty, which is rather annoying. Does Control Centre - System Admin - Login Manager - Appearance - Locale fix it? signature.asc Description: PGP signature
Re: [gentoo-user] 2 remote printing methods
Is that correct? Could I use two remote printers attached to the same print server via the ServerName method? Yes. I have two printers attached to my Mini-ITX server box and both are available across the network. The only configuration on the client boxes is to add the ServerName directive, the printers are picked up automatically. How are you defining ServerName? The following is how I specified the remote printer's location in the cups admin: http://192.168.0.1:631/printers/brotherhl2040 I've tried a few variations of this (and restarted cupsd) but nothing shows up in Firefox's printer choices now that I've deleted the printer's local definition in the cups admin. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
On Fri, 6 Oct 2006 09:59:51 -0700, Grant wrote: I think I'll stick with: dd if=/dev/dvd of=image.dvd That won't work on CSS scrambled discs. You'll copy the scrambled data but not the key. Instead, use vobcopy followed by growisofs. signature.asc Description: PGP signature
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
I think I'll stick with: dd if=/dev/dvd of=image.dvd That won't work on CSS scrambled discs. You'll copy the scrambled data but not the key. Instead, use vobcopy followed by growisofs. What about this (it's what I've been doing): lsdvd dd if=/dev/dvd of=image.dvd Is there any advantage to creating an ISO filesystem out of the image if you aren't going to burn it? Also, is there any way to compress the image without doing any kind of transcoding or that type of reprocessing? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
On Fri, 6 Oct 2006 10:50:27 -0700, Grant wrote: That won't work on CSS scrambled discs. You'll copy the scrambled data but not the key. Instead, use vobcopy followed by growisofs. What about this (it's what I've been doing): lsdvd dd if=/dev/dvd of=image.dvd Does it work with scrambled DVDs? The CSS key is supposed to be stored in a separate area that is not available on recordable DVDs. Is there any advantage to creating an ISO filesystem out of the image if you aren't going to burn it? Not really, the likes of mplayer can play from a DVD image directory as easily as an ISO image. -- Neil Bothwick You cannot really appreciate Dilbert unless you've read it in the original Klingon. signature.asc Description: PGP signature
[gentoo-user] Re: OT: auto rename konsole session tabs?
Bo Ørsted Andresen bo.andresen at zlin.dk writes: Are you absolutely certain that this option is enabled: Settings - Configure Konsole - General - Set tab title to match window title ? And make sure you don't make a typo... yes, absolutely certain. Try it in e.g. an xterm also. You should see your hostname in the title. It works for me at least... yes the hostname is work. What I could not get working is just the ip address. thanks very much Bo, the hostname is working. I'll live with that for now. James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
That won't work on CSS scrambled discs. You'll copy the scrambled data but not the key. Instead, use vobcopy followed by growisofs. What about this (it's what I've been doing): lsdvd dd if=/dev/dvd of=image.dvd Does it work with scrambled DVDs? The CSS key is supposed to be stored in a separate area that is not available on recordable DVDs. I'm not dealing with recordable DVDs at all. I'm making backups of my store-bought DVDs to my hard drive. I'm not totally clear on how scrambled DVDs work, but I can tell you that the dd command alone doesn't work, but adding lsdvd at the front does. Also, my The Life of Mammals DVD won't play back in mplayer or totem, but VLC plays it fine either straight from the DVD or from the hard drive after lsdvd+dd. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Bugday reminder
Uhm... how bout we NOT HIJACK THREADS. Please start a new thread whenyou have something new to say. Thank you. What I did. Immediately after noticing it. The problem getting UTF-8 locale thread. I hope it reached the list. -- Liviu
[gentoo-user] Re: problem getting UTF-8 locale
Thanks for answering. On 10/6/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Friday 06 October 2006 13:29, Liviu Andronic wrote: I have a slight problem with defining a en_US.UTF-8 locale. I tried the Gentoo Official Documentation on Localization and Syste-wide UTF-8, but I cannot make actually having en_US.UTF-8. Here are some commands I ran: The locales I have (nothing changes even after I run the rest of the commands. localhost ~ # locale -a C en_US.utf8 POSIX Please note that here locale -a doesn't show en_US.UTF-8, but en_US.utf8 (case change and missing dash). Furthermore, I wouldn't have written on this matter if I didn't have problems with an application. I use emelFM2 as file manager and it uses LC_* variables to determine the encoding to be used for file names (if not mistaking anything). Now, after having made changes to the locales (emelFM2 was using C locale before, including for it's configuration file), filenames containing peculiar characters (Cyrillic and others) are illisible in the filelist. Moreover, although in debugs emelFM2 determines correctly that LC_ALL indicates en_US.UTF-8, it falls back (I believe) to using C locale instead of the utf-8 one (reads from and saves to config-C instead of config-en_US.UTF-8). localhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8localedef is not necessary. Use locale-gen instead. localhost ~ # locale-gen * Generating 1 locales (this might take a while) * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation completeWhich you did - with success. localhost ~ # locale -a C en_US.utf8 POSIX localhost ~ # env | grep -i LC_ LC_ALL=en_US.UTF-8And your current locale obviously is en_US.UTF-8. So... congrats... everythingis fine. :) Not quite. Please see comments above. --Bo Andresen-- Liviu
[gentoo-user] usb- seriial(minicom) problem
Hello, I have (2) different usb-serial converters, both of which are listed when I build the drivers-usb-serial-converter in a 2.6.17-r8 kernel: USB Serial Converter support USB Generic Serial Driver USB FTDI Single Port Serial Driver (EXPERIMENTAL) USB HP4x Calculators support USB Xircom / Entregra Single Port Serial Driver here I show everything selected in this section so I build a new kernel make make modules_install and boot off the new kernel. All looks find from the subsequent dmesg(snipped for brevity) usbcore: registered new driver usb-storage input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-:00:13.1-3 drivers/usb/serial/usb-serial.c: USB Serial support registere for generic drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device drivers/usb/serial/ftdi_sio.c: Detected FT232BM usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0 usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver drivers/usb/serial/usb-serial.c: USB Serial support registered for hp4X usbcore: registered new driver hp4X drivers/usb/serial/hp4x.c: HP4x (48/49) Generic Serial driver v1.00 drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan PDA drivers/usb/serial/usb-serial.c: USB Serial support registered for Xircom / Entregra PGS - (prerenumeration) usbcore: registered new driver keyspan_pda drivers/usb/serial/keyspan_pda.c: USB Keyspan PDA Converter driver v1.1 lsusb reveals: Bus 001 Device 001: ID : Bus 003 Device 003: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse Bus 003 Device 002: ID 22b8:2a62 Motorola PCS Bus 003 Device 001: ID : Bus 002 Device 003: ID 1645:8003 Entrega [hex] Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd 8-bit FIFO Bus 002 Device 001: ID : So it all looks fine. Next I configure minicom... I have mincom working on regular 9pin serial ports on multiple systems. I know my cabling, and 8N1, 9600 baud and no hard/soft FC work to the serial port on the test (cisco) device. So I know that minicom is installed and the etc/minicom/minirc.dfl match with system that work. So my best guess the problem is the port device driver, converter device or the port setting in /etc/mincom/minirc.dfl I've tried all of these with the ftdi device: pr port /dev/ttyUSB0 pr port /dev/bus/usb/002 pr port /dev/bus/usb/002/002 Any suggestions are most welcome. The Entrega device was not plugged in during the reboot so it does not show up in dmesg. The Entrega device is the other device I have, but all attempts with it fail alsoI did notice the device has the name Entrega printed on it and the kernel uses the name Entregra, but, I was hoping they're the same? ideas? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: problem getting UTF-8 locale
On Friday 06 October 2006 20:51, Liviu Andronic wrote: Thanks for answering. Was a mistake by me that I replied to the wrong mail of yours.. ;) [SNIP] Please note that here locale -a doesn't show en_US.UTF-8, but en_US*.utf8 *(case change and missing dash). That's expected. Not an error. Furthermore, I wouldn't have written on this matter if I didn't have problems with an application. Yes, but we aren't mind readers. Knowing that you probably had a reason that you decided wasn't worth mentioning really isn't helpful... I use emelFM2 as file manager and it uses LC_* variables to determine the encoding to be used for file names (if not mistaking anything). Now, after having made changes to the locales (emelFM2 was using C locale before, including for it's configuration file), filenames containing peculiar characters (Cyrillic and others) are illisible in the filelist. Moreover, although in debugs emelFM2 determines correctly that LC_ALL indicates en_US.UTF-8, it falls back (I believe) to using C locale instead of the utf-8 one (reads from and saves to config-C instead of config-en_US.UTF-8). As you may have noticed emelfm2 has been removed from the portage tree because it lacks a maintainer. The latest ebuild is on bug #90476 [1]. Unlike the latest ebuild in portage that actually has a unicode use flag. Did you use that one [2]? [1] http://bugs.gentoo.org/show_bug.cgi?id=90476 [2] http://bugs.gentoo.org/attachment.cgi?id=97568 -- Bo Andresen pgpvoW0VQFZr8.pgp Description: PGP signature
[gentoo-user] Re: A nic with no IP
Timothy A. Holmes tholmes at mcaschool.net writes: I am working on my snort sensor box which runs gentoo. The setup that I am going to do requires me to have one nic (an intel Pro1000) with no ip on it (it is currently eth0 as the machine is currently set up). I know how to set up the nic in the /etc/conf.d/net file but making it have no ip is a little different. Snort will put the nic in promiscous mode to capture packets Piece of cake, for a stealth sniffer. it allows you to sniff the local ethernet traffic, yet the system is undetectable. You will not be abble to modulate data out of this port, just receive data in promiscuous mode, into the eth0 port. for example ifconfig eth0 inet 0.0.0.0 Works like a charm with wireshark(ethereal). If you need to ssh out of the same machine, just install a second ethernet card and set it up normally. I put this sniffier our my outbound(cable) port to sniffer the outside of the firewall all the time. Works like a charm! If you want to make it permanent, just put the settins in /etc/conf.d/net also if, you have multiple ethernet ports in the machine, you may need to tweek the routing tables (netstat -nr). hth, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Router 3rd and 4th net interface problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grant wrote: I think it would be smarter for me to buy a $15 switch from NewEgg instead of trying to configure my Gentoo router to use its extra NICs this way. Is there any reason I wouldn't want to do that? Academic exercises aside, the only reasons I can think of to use a general-purpose computing device for this purpose instead of a simple switch would be a) cost, or b) to do something that the switch can't do, such as firewall. If you really just want a switch, and the money isn't a big deal, go with the switch. That said ... strictly speaking, what you're asking for is a bridge, which may not be the easiest way to accomplish your ends, nor the most flexible configuration. Maybe consider this easy approach: - - create a separate network for each NIC (maybe 192.168.2.0 and 192.168.1.0), and give each an appropriate IP address (maybe 2.1 and 1.1 respectively). - - enable IP forwarding, and NAT if appropriate for outbound traffic (sounds like you already know how to do that). - - Make sure your DHCP server listens on each of those networks and has an address pool for each. I run mine right on the gateway, and ensure that it doesn't listen to the public address. That's basically it. A big advantage of this is that if you want, now you can easily isolate one of those segments to create a DMZ for a web server or a playstation or something else fun. Cheers -d - -- David Talkington PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFJsJ95FKhdwBLj4sRAsW7AKCgfMIGU/wuOSR2dWGfnBJuWiROEwCcDzhN bQ75d9ixEQCCFemWRkAQcX4= =GRZ8 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Recurring reiserfs error
On Saturday 07 October 2006 00:26, [EMAIL PROTECTED] wrote: (note dmesg follows message) Out of 12 partitions in my setup 8 are reiserfs. During bootup I see them go by being checked, but always the last one /dev/hda11 fails with this message: fsck could not repair all errors And drops me into the repair shell. This has happened over several kernels and for mnths. I finally just took to C-d to finish booting. This is after stopping to reiserfsck /dev/hda11 many times. It always passes with no error messages. Oddly, the drive is always mounted once boot is complete (I mean even when I just press Ctrl-d to by-pass fixing.) And no problems read/write to it occur. I finally reformatted /dev/hda11 to ext3. Now the last reiserfs partition that shows up in boot messages is /dev/hda9 and it fails the same way. These facts lead me to believe it isn't really a reiserfs failure at all but something earlier that just shows up at that point, but I cannot fathom out what. Have you checked the output of fdisk to make sure the partition does not overlap with another? fdisk -l /dev/hda and check that no 2 partitions are using the same disk blocks. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo box hangs
On Friday 06 October 2006 16:25, Dmitry S. Makovey wrote: On Friday 06 October 2006 00:58, Mick wrote: I've run memtest86+ a number of times and no errors were shown. There's a whole thread (either in this ML or in the forums) as to why memtest is not a foolproof test for your *system* as opposed to a memory module. Try to search around and look in Google too, in case you find it. There's alternative tests to memtest involving running some script (if I remember right). As I said, whichever test you run you need to make sure that it exercises your whole memory system (modules, controllers, swap). Good luck. :) PS. My box would also crash in M$Windoze if the page file was being used (e.g. manipulating large sections of text or pictures), but not at the frequency of it crashing under Gentoo with a heavy emerge and updatedb taking place. Thanks it helps to know that. OK, I googled for this and found the script that I was talking about: http://people.redhat.com/dledford/memtest.html HTH. -- Regards, Mick pgpno8l1ofV3u.pgp Description: PGP signature
Re: [gentoo-user] Eating RAM...
On Friday 06 October 2006 17:22, Luigi Pinna wrote: gpgkeys: key 1E69248E633F86B7 not found on keyserver Alle 14:41, venerdì 6 ottobre 2006, b.n. ha scritto: ciao, Luigi Pinna ha scritto: I leave my session always on but I see that a process (I don't know I can recognize it) eats all my ram and my swap. - fire up a shell - enter 'top' - digit Shift+M to order processes for RAM consumption (memory-eating processes are on top of list) - wait - tell us what the bad process is m. from top: Tasks: 115 total, 1 running, 114 sleeping, 0 stopped, 0 zombie Cpu(s): 8.0% us, 2.7% sy, 0.0% ni, 88.7% id, 0.0% wa, 0.3% hi, 0.3% si Mem: 1026588k total, 1016520k used,10068k free, 9604k buffers Swap: 1301960k total, 822784k used, 479176k free, 230168k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2919 root 15 0 1267m 489m 4204 S 4.3 48.8 9:15.23 X [...] Unfortunately, the problem is the main X process... How can I isolate the problem? Perhaps http://www.gnome.org/projects/memprof/ is what you're looking for? -- Regards, Mick pgpVCA6kxAjtG.pgp Description: PGP signature
Re: [gentoo-user] gentoo box hangs
My 2e-2 euro: a relatively frequent freeze of the machine can also mean a going-to-fail power supply. It was for my machine in at least two cases. If you have a good power supply to do the experiment, try. It's a cause more often than not. It is expecially true if the logs say nothing and you just see the machine hang after some hours/days. If you suspect the memory/mobo, try instead to compile some large package. Often this results in random segmentation faults for gcc. Faulty memory should result in crashes and segfaults and erratic behaviour, apart from freezes. These are of course no foolproof fingerprints, just hints... M. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
On Friday 06 October 2006 11:59, Grant [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] {OT} dvdrip permissions error, alternative?': dd if=/dev/dvd of=image.dvd This is it's a standard store-bought DVD, this will end up copying the encrypted (CSS) data to your HD, which will add CPU overhead at play time. dvdbackup (in portage) does roughly the same thing, but decrypts once, at rip time. It does no transcoding so everything is at full DVD quality (and size). It preserves all menus in mirror (-M) mode, but can also be used to rip individual titles. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpIVbiSwVR9q.pgp Description: PGP signature
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
On Friday 06 October 2006 12:27, Neil Bothwick [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] {OT} dvdrip permissions error, alternative?': On Fri, 6 Oct 2006 09:59:51 -0700, Grant wrote: dd if=/dev/dvd of=image.dvd That won't work on CSS scrambled discs. You'll copy the scrambled data but not the key. That's not true. The CSS key is in the standard filesystem data, not in some subtrack data. Before I found dvdbackup I used the method (with a few modifications, like the conv=noerror option and adding a call to 'pv' in the pipline to give myself a progress bar) exclusively and rarely ran into a disk that had issues. Those disks could be ripped with k3b's copy DVD image... function, which I guess uses the equivalent of cd-paranoia for DVDs, and also retries errors (like conv=noerror), but still just gives a .iso as output. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpAwIIwLp0Xp.pgp Description: PGP signature
Re: [gentoo-user] how to execute some scripts after an emerge
On Friday 06 October 2006 17:56, Robert Welz [EMAIL PROTECTED] wrote about '[gentoo-user] how to execute some scripts after an emerge': Are there hooks in portage with which I can execute some scripts after an emerge -u world? Not AFAIK. However, it's easy enough to write a script to do an emerge -u world and then some other stuff. (e.g. I routinely run revdep-rebuild after my world updates.) -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgp1rwLgYjNDk.pgp Description: PGP signature
Re: [gentoo-user] Eating RAM...
Luigi Pinna schrieb: Hi! Since I changed my graphic card from ATI to NVIDIA I have a strange problem. I leave my session always on but I see that a process (I don't know I can recognize it) eats all my ram and my swap. The results is that my computer stopped to work. If I log out and log in again all my memories (ram and swap) are free again. I tried nv and nvidia drivers. I use kde 3.5.2 with a FX5200 on amd64 with 2006.1 desktop profile. Can you help me? Thanks a lot, Luigi Can you post you USE-FLAGS in make.conf and the settings for the video card from there, too? Mine looks like USE=arts -berkdb -bitmap-fonts bzip2 doc dvd -eds -emboss -fortran gif -gnome -ipv6 jikes jpeg jpeg2k kde lo grotate mmx -motif nvidia -ogg -oggvorbis opengl png qt qt3 sse sse2 symlink -tcpd test tiff truetype vorbis X LINGUAS=de en Language=49 # xorg-x11 INPUT_DEVICES=keyboard mouse #VIDEO_CARDS=nv vga v4l VIDEO_CARDS=nvidia vga v41 vesa fbdev I have a GeForce 6800 GT running flawlessly with 3D since one or two weeks, apart from becoming quite hot. (Its a Gainward card with high performance so I think thats normal). Set the flags and do a emerge --newuse -u -D world and if that doesn't help we can go through X.org config and kernel config. Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to execute some scripts after an emerge
A simple solution would beto use : emerge -u world echo do whatever you could also write a wrapper script relatively easily Dave On Sat, 07 Oct 2006 00:56:21 +0200 Robert Welz [EMAIL PROTECTED] wrote: Hello! Are there hooks in portage with which I can execute some scripts after an emerge -u world? I need to check my libraries in the chroot jail :) I build for boinc today against their original counterparts in the file system. This would be nicer than having a cronjob looking after them at fixed intervals. Any suggestions welcome. greetings, Robert -- gentoo-user@gentoo.org mailing list -- C:\ WIN Bad command or filename C:\ LOSE Loading Microsoft Windows ... pgpG1Ym9bsddz.pgp Description: PGP signature
Re: [gentoo-user] Router 3rd and 4th net interface problem
I'm afraid I can't keep up with you guys here. What I'd like to do is use eth1 and ath0 on my router to serve the same local network. Can I bridge them according to net.example to accomplish this? I understand that I will either need to use a crossover cable with eth1 or attach a switch to eth1. - Grant Hi, Shorewall (net-firewall/shorewall) can help you do this very easily, simply by adding both eth1 and eth0 to the local zone and enabling IP forwarding. Check out http://shorewall.net/two-interface.htm, under the section Adding a Wireless Segment to your Two-Interface Firewall. I use this method myself for exactly that purpose - eth0 on the internet, eth1 wired, and ath0 wireless. It's easy to substitute eth2 (or whatever interface(s) you're using) for ath0 in that scenario. This sounds like the right thing to do if it's as simple as that. I think I do want the wired and wireless interfaces on the same network for now. Setting up a DMZ for a web server does sound like an interesting project though - Grant -- gentoo-user@gentoo.org mailing list
[gentoo-user] how to execute some scripts after an emerge
Hello! Are there hooks in portage with which I can execute some scripts after an emerge -u world? I need to check my libraries in the chroot jail :) I build for boinc today against their original counterparts in the file system. This would be nicer than having a cronjob looking after them at fixed intervals. Any suggestions welcome. greetings, Robert Sorry for posting twice, but last mail seems to been lost somewhere. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
dd if=/dev/dvd of=image.dvd This is it's a standard store-bought DVD, this will end up copying the encrypted (CSS) data to your HD, which will add CPU overhead at play time. dvdbackup (in portage) does roughly the same thing, but decrypts once, at rip time. It does no transcoding so everything is at full DVD quality (and size). It preserves all menus in mirror (-M) mode, but can also be used to rip individual titles. I have a couple problems with dvdbackup. It doesn't seem to have an option for mirroring the entire DVD structure into a single file like dd does, although I suppose a subsequent command could be used to create an ISO. The other thing is, it doesn't seem to do so well with my The Life of Mammals DVD. dd rips it just fine, but VLC is the only program that will play it. When mirrored with dvdbackup, a couple of Error cracking CSS key messages are displayed in the terminal, and although the process does finish, even VLC won't play the image. - Grant -- gentoo-user@gentoo.org mailing list
[gentoo-user] Sound stopped working (xfce4 problem?)
Hello, Sound stopped working at some point on my laptop. I don't use the sound very much so it's hard to say what caused it, but now I need to start use a SIP phone so I need the sound. I've double-checked everything mentioned here: http://www.gentoo.org/doc/en/alsa-guide.xml but I can't find anything that indicates anything is wrong, other than the lack of sound. The only strange thing is nothing happens when I click on the Settings - Mixer Settings icon in xfce4 except the system seems to revert to an older version of GTK or something and X gets pretty unstable. Very strange. This icon is different than the xfce4-panel volume icon. That icon works fine. Can anyone suggest anything to try? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to execute some scripts after an emerge
On Saturday 07 October 2006 03:16, Robert Welz wrote: Are there hooks in portage with which I can execute some scripts after an emerge -u world? I need to check my libraries in the chroot jail :) I build for boinc today against their original counterparts in the file system. This would be nicer than having a cronjob looking after them at fixed intervals. [SNIP] Please explain what that script does, when exactly it is supposed to run and why you think it needs to use a hook in portage... Sorry for posting twice, but last mail seems to been lost somewhere. As you can see e.g. at [1] it wasn't lost. In fact it had two replies within the first 30 minutes... [1] http://news.gmane.org/gmane.linux.gentoo.user -- Bo Andresen pgpnLCkpfOwh7.pgp Description: PGP signature
[gentoo-user] Re: Sound stopped working (xfce4 problem?)
Sound stopped working at some point on my laptop. I don't use the sound very much so it's hard to say what caused it, but now I need to start use a SIP phone so I need the sound. I've double-checked everything mentioned here: http://www.gentoo.org/doc/en/alsa-guide.xml but I can't find anything that indicates anything is wrong, other than the lack of sound. The only strange thing is nothing happens when I click on the Settings - Mixer Settings icon in xfce4 except the system seems to revert to an older version of GTK or something and X gets pretty unstable. Very strange. This icon is different than the xfce4-panel volume icon. That icon works fine. Can anyone suggest anything to try? - Grant I brought the sound back by muting the Headphone Jack Sense in alsamixer. Removing SiS AC97 modem support from the sound card section of the kernel fixed the strange Mixer Settings stuff. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to execute some scripts after an emerge
Bo Ørsted Andresen schrieb: On Saturday 07 October 2006 03:16, Robert Welz wrote: Are there hooks in portage with which I can execute some scripts after an emerge -u world? I need to check my libraries in the chroot jail :) I build for boinc today against their original counterparts in the file system. This would be nicer than having a cronjob looking after them at fixed intervals. [SNIP] Please explain what that script does, when exactly it is supposed to run and why you think it needs to use a hook in portage... Yes. I have 14 xen domains + 2 domUs and several services. Some of them must run chrooted so I need to execute a script which compares /chroot/boinc/etc /chroot/boinc/lib and so with their corresponding files in /etc /lib and so. Thats the easy part. But having a hook configurable in make.conf like this would maintaining the script easier: PORTAGE_POST_EXECUTE=/root/bin/mychroottester.sh should fire when emerge is totally done. I understand that I can have a /etc/portage/bashrc but if [[ ${EBUILD_PHASE} == postinst ]]; then ... would fire after each package emerged. Maybe having a variable to test against which shows that the execution of portage is all done would do it. So if the last package is emerged and installed if [[ ${EBUILD_ALL_INSTALLED} == true ]] then /root/bin/mychroottester.sh fi would give a fine hook to execute my script or email notifications with Software update done messages and whatever one likes. What do you think? Greetings, Robert Sorry for posting twice, but last mail seems to been lost somewhere. As you can see e.g. at [1] it wasn't lost. In fact it had two replies within the first 30 minutes. What is the right mail address and is the sometimes lost email bug on both? gentoo-user@lists.gentoo.org or gentoo-user@gentoo.org ? Rob [1] http://news.gmane.org/gmane.linux.gentoo.user -- Bo Andresen -- gentoo-user@gentoo.org mailing list
[gentoo-user] About Gnome desktop
Hi folks, Gentoo_64 Gnome-light Gnome desktop On Desktop -- Administration -- there is only 1 item Login Window clicking it starting; Could not launch menu item Details: Failed to execute child process gdmsetup (No such file or directory) Please advise how to fix it. What package shall I install to have other items under Administration? TIA B.R. SL -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to execute some scripts after an emerge
On Saturday 07 October 2006 05:23, Robert Welz wrote: [SNIP] What do you think? There is no such hook. Write a separate script or a wrapper. Since it's supposed to run after the emerge and not during the emerge I really don't see why it should need to use a hook. [SNIP] What is the right mail address and is the sometimes lost email bug on both? gentoo-user@lists.gentoo.org or gentoo-user@gentoo.org ? Either work. Probably that bug, yeah... -- Bo Andresen pgpYsE5owsW9w.pgp Description: PGP signature
Re: [gentoo-user] {OT} dvdrip permissions error, alternative?
On Friday 06 October 2006 20:54, Grant [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] {OT} dvdrip permissions error, alternative?': dd if=/dev/dvd of=image.dvd This is it's a standard store-bought DVD, this will end up copying the encrypted (CSS) data to your HD, which will add CPU overhead at play time. dvdbackup (in portage) does roughly the same thing, but decrypts once, at rip time. I have a couple problems with dvdbackup. It doesn't seem to have an option for mirroring the entire DVD structure into a single file That's true, but xine, mplayer, and gstreamer all will play from a directory as fast or faster then they will play from an ISO. I too prefer the single-file layout, but it's more important for me to have the CSS removed. The other thing is, it doesn't seem to do so well with my The Life of Mammals DVD. When mirrored with dvdbackup, a couple of Error cracking CSS key messages are displayed in the terminal. Never seen that one, but I'll bet that's a limitation of DeCSS, not dvdbackup. I've sure VLC (when playing the dd image) encounters the same issues, it is just more forgiving of dropped or otherwise unavailable data in the stream than other clients. I'm not sure what dvdbackup writes when it can't DeCSS. It is probably all zeros or complete trash. In either of those cases it's not surprising all your video players choke on it, even if they can handle the case of missing data. In any case, it makes sense for you to use something that doesn't perform the DeCSS at rip time and instead have VLC handle the lack of data each time you play it, at least for that DVD. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpIaoGOBevCm.pgp Description: PGP signature
[gentoo-user] wireless
Just acquired an Atheros based wireless card. acquired madwifi-ng and tools. Using the /etc/conf.d/wireless.example I set up as per RTFM'n . I have in /etc/conf.d/wireless: essid_ath0=patkno mode_ath0=managed channel_ath0=6 key_patkno=s:** enc open and I have in /etc/conf.d/net the line: modules=( iwconfig ) # iwconfig eth0 no wireless extensions. lono wireless extensions. wifi0 no wireless extensions. ath0 IEEE 802.11b ESSID: Mode:Managed Channel:0 Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 after entering each of the fields manually: iwconfig ath0 channel 6 iwconfig ath0 essid patkno iwconfig ath0 key s:** iwpriv ath0 keymgtalgs 1 ifconfig ath0 up crash ~ # # iwconfig ath0 ath0 IEEE 802.11g ESSID:patkno Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:3D:B5:A0:84 Bit Rate:11 Mb/s Tx-Power:18 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:---- Security mode:restricted Power Management:off Link Quality=56/94 Signal level=-39 dBm Noise level=-95 dBm Rx invalid nwid:3494 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 However when I issue: dhcpcd ath0 it times out and ifconfig does not show an ath0. I'm running 2.6.17-gentoo-r7 kernel and iwconfig -v iwconfig Wireless-Tools version 28 Compatible with Wireless Extension v11 to v20. Modprobed modules: ath_pci wlan_scan_sta ath_hal Have I missed something obvious? -- Ted Ozolins(VE7TVO) -- gentoo-user@gentoo.org mailing list