Re: [gentoo-user] su problem
Le Jeudi, 5 Février 2004 13.27, fisch a écrit : I have a problem with su, wich I can't understand. in /home/myself/.profile I defined TEST001=/tmp as root I do (1st case): su - myself echo $TEST001 OUTPUT: /tmp as root I do (2nd case): su - myself -c echo $TEST001 OUTPUT: (empty) where is the difference? it's not a su problem, but a shell problem. $TEST001 is expanded at the time su is executed, and it's undefined at that moment, so your command is really: # su - myself -c echo you should escape the $ or use simple quotes instead of double ones, or add the echo $TEST001 in your .profile if you just want to test id $TEST001 is defined. hth -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] freeBSD partitions table
Le Mercredi, 28 Janvier 2004 15.26, Aaron Walker a écrit : Roberto Griso wrote: Anyone knows how can i do to mount a freebsd partition? -- [EMAIL PROTECTED] mailing list Not totally sure, but I believe FreeBSD uses the UFS filesystem.. Just make sure UFS support is compiled into your kernel (or possibly as a module), and then I would assume you would mount it with the -t ufs flag. Never mounted a FreeBSD partition, so I may be wrong, but it's at least worth trying. you may wan to read this: http://www.tldp.org/HOWTO/Linux+FreeBSD-5.html#ss5.1 -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Installing gentoo remotely
Le Mardi, 27 Janvier 2004 10.00, Jeff Blair a écrit : of course put in your password insted of newpasswd If they don't know the IP address just have them type ifconfig and hit enter. It should pop up the IP address. And, if they are behind a router, just have them forward port 23 to the PC. I think that is the port. I am sure someone will correct me if I am wrong. ;) 22 23 is for telnet but forwaring is easier said than done for someone whose skills are limited to boot and insert a cd. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how drives are mapped to files
Le Mardi, 27 Janvier 2004 09.47, Jani-Matti Hätinen a écrit : So, right now you have gentoo at /dev/hda, mandrake at /dev/hdb, and cd probably at /dev/hdc. After you make the switch the order will be gentoo at /dev/hda, mandrake at /dev/hdc (if it's master) and cd at /dev/hdd. That is, assuming that you'll plug the gentoo drive into the primary cable slot. (Which I recommend, since sometimes it's faster) that's not juste a matter of plugging the disc in the primary cable slot, you've got to set the jumpers correctly. If both discs' jumpers are on cable select, then yes, the first disc will be the master and the second one will be the slave. But you can choose which disc is master regardless of the cable's slot, by settting the jumpers on master and slave. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] move files based on file output
On Thursday 15 January 2004 23.08, Tom Wesley wrote: Hi, After - cough - some filesystem problems (reiserfs for the curious) I'm left with a lost+found directory of 9GB, about 5000 files. Since I do not have the patience of a Saint, and sadly do not employ the services of a small team of highly skilled, cheap and tidy imps to do this manually I am looking for somehow to script this into something more manageable. Does anyone have anything that will sort a large directory, preferably recursively and put in into any sort of order? Ideally I'd like to use the output of file to move filetypes together, but can't get the syntax correct... Any ideas, pokes, acts of random abuse welcome :-) just a random idea. cd /away/from/lost+found for filename in $(find /path/to/lost+found -type f); do filetype=$(file$filename|awk -F: '{print $2}') mkdir $filetype 2/dev/null mv $filename $filetype echo moving $filename $filetype done this should recursively move any file from lost+found to a dir whose name match the file's type... maybe you should first try it on some test files... I'm not responsible if your hdd melts down. hth, good luck -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] nvidia apache
Hi, after having compiled the new kernel (2.6.1-r1), I emerged nvidia-kernel, like usual. But portage choosed for whatever reason to remove apache. I haven't been fast enough to hit ctrl-c to stop it from doing that silly thing and now (after re-emerging), apache won't start anymore, complaining about mod_access. I will surely solve the issue about mod_acces, but why has portage decided to remove apache?? here is a sample from genlop: Tue Jan 13 16:06:15 2004 -- media-video/nvidia-kernel-1.0.5328-r1 Tue Jan 13 16:06:50 2004 -- net-www/apache-2.0.48-r1 -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Linux on a USB Flash Drive?
On Thursday 25 December 2003 20.34, Jerry McBride wrote: On Thursday 25 December 2003 01:16 pm, [EMAIL PROTECTED] wrote: Merry Christmas list! I'm strutting around the house right now sporting my snazzy new 64MB USB Flash Drive. Does anyone have any suggestions as to how I should go about running a Linux distro off of it? Do I need to be looking at LFS, or are there special Flash distros floating around out there? Thanks, Merry Cristmas, Doug. I've found DAMN SMALL LINUX or KNOPPIX to work quite well with those devices... merry christmas everybody. flonix which is derived from knoppix is specially designed to fit on a 64M memory stick. try it here: http://linuxdocs.tuxfamily.org/flonix/index.php -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] custom ebuilds`
On Wednesday 24 December 2003 04.20, Ciaran McCreesh wrote: On Tue, 23 Dec 2003 18:59:02 -0800 (PST) Stephen Turner [EMAIL PROTECTED] wrote: | hey guys i was curious where and how to save custom ebuilds i wanted | to emerge? thanks If they're from BMG, /dev/null is a good place. what's wrong with BMG's ebuilds? Otherwise, set PORTDIR_OVERLAY in /etc/make.conf to something sane (such as /home/overlay), make the relevant directories inside there (eg app-misc/newtoy) and place newtoy-1.23.ebuild there. The x/y directories bit is important, and catches a lot of people out. You need to have a sensible tree inside PORTDIR_OVERLAY. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] CD's and MP3's
On Wednesday 24 December 2003 11.34, Paul Stear wrote: Hi all, A very merry xmas to all. I bought my wife a couple of Cd's that I would like grin and didn't realise that they are copy protected but list that they can be played on a windows machine. I convert all my Cd's into MP3 using grip and listen to them on my linux box. Has anybody any info, tips, progs that will allow me to rip the Cd's? ( After Christmas of course) I had vowed never to buy any copy protected Cd's for this very reason. How do people who only have MP3 players get on with these corrupt Cd's. you can try this: Copy-protection systems work by adding a corrupt data track to the outside edge of a CD. This track is ignored by common audio CD players but prevents copying, and sometimes playing, in the more sensitive PC CD drives. By covering up a portion of the dividing line and outside track on the CD, without touching the last audio track, it is possible to fool the CD player into thinking that the extra corrupt data track does not exist. The marker pen line can easily be wiped away afterwards with a soft cloth. A similar result was also obtained by sticking bits of a Post-It note along the edge of the CD, but this is not advised as the paper may come loose and damage the drive. (quoted from vnunet.com) -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] K3B on 2.6.0
Le Mercredi, 24 Décembre 2003 16.34, Collins a écrit : It's not necessary on the 2.6 kernels (even 2.4 at some point). Just use 'cdrecord --scanbus dev=ATAPI:' - then use 'dev=ATAPI:x,y.z' depending on what you got back from scanbus. you can even use the /dev device: cdrecord -dev=/dev/cdroms/cdrom1 -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mounting winxp-vfat
Le Mercredi, 24 Décembre 2003 16.43, Robert G. Waycott a écrit : From: Chris [EMAIL PROTECTED] Date: 2003/12/23 Tue PM 02:38:27 EST To: [EMAIL PROTECTED] Subject: [gentoo-user] mounting winxp-vfat I need to move some things from winxp-vfat-hda1-C to gentoo-hdb3 so I looked in the forums http://forums.gentoo.org/viewtopic.php?t=29285 for a how to while the list was down the couple days and found one. It said to compile windows nonsence into the kernel (it was already compiled in so no prob there) then add a line to fstab so it can be mounted (/dev/hda1 /mnt/cvfat defaults,umask=000 0 0) is the one I chose since it gives me the most leway. On boot it gives the following error ; Mount:mountpoint /mnt/c does not exist. What could I have done wrong, I followed the instructions to the letter? the error message is clear, and the solution trivial: mkdir /mnt/c -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
[gentoo-user] quote from distrowatch weekly
I tought you might be interested in some news from your favorite distro: Despite signs of abating interest in it, Gentoo Linux was one of the most remarkable success stories of this year. Portage, Gentoo's package management system, has clearly won many supporters at the time of growing dissatisfaction with some binary package management formats, although excellent documentation, active support forums and valuable community newsletters have all contributed to Gentoo's becoming one of the most widely used Linux distributions today. But despite frequent assertions by die-hard Gentoo converts, questions still remain about the product being a viable option for a large-scale deployments on mission-critical servers. this was taken here: http://www.distrowatch.com/weekly.php?issue=20031215 -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Find all installed packages with -alsa?
On Monday 15 December 2003 04:10, Joel Konkle-Parker wrote: I'm switching over from OSS to ALSA, so I need to find all the installed packages that were merged with -alsa. Is this possible? Thanks in advance. what about this one? emerge -evp world | grep '-alsa' | awk '{print $4}' it doesn't look like a jpeg's bindump. Is it missing something? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Find all installed packages with -alsa?
Le Lundi, 15 Décembre 2003 14.45, Norbert Kamenicky a écrit : Well, my take from this whole thread is that it's not possible without some shell hacking. h ... shell scripting is one of the thing which give us freedom/power and easy way to solve different daily problems in simple/easy way (indeed after some experience). I fully agree. But emerge -ep world | grep '-alsa' can hardly be called shell hacking. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] interface alias configuration
On Sunday 14 December 2003 22:24, Leonid Podolny wrote: I need to configure the eth0:0 alias over the same physical interface. What are the needed changes for the /etc/conf.d/net script? /etc/conf.d/net is self-documented... uncoment the line alias_eth0=... and edit it according to your needs. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Synce not using pda USE flag
Le Vendredi, 12 Décembre 2003 12.00, David Gethings a écrit : Hi, I would have thought that app-pda/synce (and associated ebuilds) would have made use of the pda USE flag. However they do not. For example: master app-pda # ACCEPT_KEYWORDS=~x86 emerge -Dvp app-pda/synce app-pda/synce-kde These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-pda/synce-0.8.4-r1 -gnome [ebuild R ] app-pda/synce-kde-0.6.1 -avantgo There are other synce ebuilds (i.e. synce-dccm, etc). None of them use the pda USE flags. Anyone know why? Could this have something to do with them being masked? (I'm guessing not) I guess that since those applications are designed to be used for pdas, they don't need to be specifically told to be compiled for pdas. In the same way that I don't think that kde-base uses the kde flag. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] portage (?) question
2) Even if a 'make install' would suffice (it does not actually) if i do an #emerge -up kde I still see qt-3.2.2-r1 marked as [ N] 'cause of course portage isn't aware of the recent build. Is there a way to manually update the pkgs' db? found this in man emerge: inject (-i) Injecting a package inserts a 'stub' for that package so that Portage thinks that it is installed. It is handy if you need, say, a binary version of XFree86 for esoteric hardware, or you just like to roll your own packages. You must specify a category and par- ticular version of a package for injecting. For example, emerge inject sys-kernel/gentoo-sources-2.4.19. Please don't flame me, i'm still a newbie of gentoo, and I'm riskying of getting fired since whenever I have five minutes left on job I'm sticking on this brand new gentoo box. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kernel 2.6test11+ framebuffer + nvidia
On Friday 12 December 2003 19:38, SN wrote: Hi guys, did anyone manage to get framebuffer going with the latest 2.6 kernel? I have tried all kinds of options, recompiled about 10 times and still can only boot without framebuffer , when I supply the vga argument I get a darkscreen although machine boots. Some options even cause a completet lockup. I can only boot and watch messages if I don't supply the vga=xxx argument. I have a GeForce4 MX 440 works fine here. lilo.conf [...] image=/boot/vmlinuz-2.6.0-test11-gentoo-r2 vga=0x31A [...] kernel config attached -- mathieu # # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y # CONFIG_CLEAN_COMPILE is not set # CONFIG_STANDALONE is not set CONFIG_BROKEN=y CONFIG_BROKEN_ON_SMP=y # # General setup # CONFIG_SWAP=y CONFIG_SYSVIPC=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_OBSOLETE_MODPARM=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y # # Processor type and features # CONFIG_X86_PC=y # CONFIG_X86_VOYAGER is not set # CONFIG_X86_NUMAQ is not set # CONFIG_X86_SUMMIT is not set # CONFIG_X86_BIGSMP is not set # CONFIG_X86_VISWS is not set # CONFIG_X86_GENERICARCH is not set # CONFIG_X86_ES7000 is not set # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMII is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set CONFIG_MK7=y # CONFIG_MK8 is not set # CONFIG_MELAN is not set # CONFIG_MCRUSOE is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MCYRIXIII is not set # CONFIG_MVIAC3_2 is not set CONFIG_X86_GENERIC=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_L1_CACHE_SHIFT=7 CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_USE_3DNOW=y # CONFIG_HPET_TIMER is not set # CONFIG_HPET_EMULATE_RTC is not set # CONFIG_SMP is not set # CONFIG_PREEMPT is not set # CONFIG_X86_UP_APIC is not set CONFIG_X86_TSC=y # CONFIG_X86_MCE is not set # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set # CONFIG_EDD is not set CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # # Power management options (ACPI, APM) # CONFIG_PM=y # CONFIG_SOFTWARE_SUSPEND is not set # CONFIG_PM_DISK is not set # # ACPI (Advanced Configuration and Power Interface) Support # # CONFIG_ACPI is not set # # APM (Advanced Power Management) BIOS Support # CONFIG_APM=m CONFIG_APM_IGNORE_USER_SUSPEND=y CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set # CONFIG_APM_RTC_IS_GMT is not set # CONFIG_APM_ALLOW_INTS is not set # CONFIG_APM_REAL_MODE_POWER_OFF is not set # # CPU Frequency scaling # # CONFIG_CPU_FREQ is not set # # Bus options (PCI, PCMCIA, EISA, MCA, ISA) # CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_LEGACY_PROC=y CONFIG_PCI_NAMES=y # CONFIG_ISA is not set # CONFIG_MCA is not set # CONFIG_SCx200 is not set CONFIG_HOTPLUG=y # # PCMCIA/CardBus support # # CONFIG_PCMCIA is not set # # PCI Hotplug Support # # CONFIG_HOTPLUG_PCI is not set # # Executable file formats # CONFIG_BINFMT_ELF=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_MISC=y # # Device Drivers # # # Generic Driver Options # # CONFIG_FW_LOADER is not set # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Parallel port support # # CONFIG_PARPORT is not set # # Plug and Play support # # CONFIG_PNP is not set # # Block devices # CONFIG_BLK_DEV_FD=m # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set # CONFIG_BLK_DEV_NBD is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=8192 CONFIG_BLK_DEV_INITRD=y # CONFIG_LBD is not set # # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y # CONFIG_IDEDISK_MULTI_MODE is not set CONFIG_IDEDISK_STROKE=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDETAPE=m
Re: [gentoo-user] PHP-GTK
Le Jeudi, 11 Décembre 2003 14.00, Tracy Cpl Derek E a écrit : More specifically : make: phpize: Command not found make: *** [buildmk.stamp] Error 127 /usr/sbin/ebuild.sh: line 40:phpize: command not found maybe you should install php-core. or recompile it? # qpkg -f /usr/bin/phpize dev-php/php-core * -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] python2.3 and portage...
Le Jeudi, 11 Décembre 2003 14.05, Lucas Sallovitz a écrit : Jon Ellis wrote: I have just installed python2.3 and I am having problems emerging libraries for both python2.2 and 2.3. For example, I need pyGTK installed for both 2.2 and 2.3. If I emerge it with /usr/bin/python linked to python2.3, it will remove the pyGTK libraries from python2.2 every time I emerge clean. Is there any way to keep pyGTK installed for both 2.2 and 2.3? TIA If both versions are incompatible, why is it that they aren't in different slots? they are not? # grep SLOT python-2.*ebuild python-2.1.3-r1.ebuild:SLOT=2.1 python-2.2.1-r5.ebuild:SLOT=2.2 python-2.2.2.ebuild:SLOT=2.2 python-2.2.3-r1.ebuild:SLOT=2.2 python-2.2.3-r5.ebuild:SLOT=2.2 python-2.2.3.ebuild:SLOT=2.2 python-2.3.2-r2.ebuild:SLOT=2.3 -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Planning for a future crash
Le Jeudi, 11 Décembre 2003 17.35, Chris Bare a écrit : IIRC the LiveCD does support ssh. You might have to start the ssh daemon with /etc/init.d/sshd start. Long ago I used it to get the stage 1 tarball from one of my machines to the box that was to be a Gentoo box. Backups: /home/* /etc/* /usr/local/anything you've added here. I'd add /var/cache/edb/world, so you know what packages you had emerged before. /var is not another /tmp directory, there are lots of things in it, specially in /var/lib You should definitely not exclude /var from your backups. So keep /var in your backups, but remove /var/log, /var/tmp, /var/run, /var/lock and any other dirs that contain non-persistent files. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] .bashrc over ssh
Le Mercredi, 10 Décembre 2003 11.21, Oliver Lange a écrit : Ric Messier wrote: On Tue, 9 Dec 2003, Eric Paynter wrote: The problem with symlinking one to the other as you suggest is if you ever use something like scp, you potentially break it, as the comment in .bashrc says. All my profile-ish things that generate output get put, correctly, into .bash_profile. Of course, if you never generate output with your login scripts then you're ok. Just something to keep in mind, though. Good to know... I'll be careful :) pick my solution: Create a new rc file with all your common configuration (mine is .scriptrc) and have it sourced by both .bashrc and .bash_profile that way, you can put bashrc-only and bash_profile-only configs in their respective file. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] .bashrc over ssh
I have a .bash_profile, but i'm not sure if and which shell i'm using. I can only say this: i've installed gentoo. How can i fugure out which shell is set for my user and for the root account ? finger username grep username /etc/passwd | awk -F: '{print $7}' use chsh to change your shell. The strange thing is that .bash_logout is always executed, but not the .bashrc file. The .bashrc and .bash_profile permission bits don't include the executable bit, and the .bash_profile contains this: add echoes in your .bash* files, like: echo executing bashrc echo executing bash_profile so you can see when each file is sourced. And neither bashrc nor bash_profile needs the x bit, since they're sourced and not executed. # /etc/skel/.bash_profile: # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 2002/11/18 19:39:22 azarah Exp $ #This file is sourced by bash when you log in interactively. [ -f ~/.bashrc ] . ~/.bashrc -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] .bashrc over ssh
Le Mercredi, 10 Décembre 2003 16.31, Patrick Börjesson a écrit : add echoes in your .bash* files, like: echo executing bashrc ^^ I wouldn't recommend this as some things (like ssh) won't like the output when sourcing .bashrc AFAIK yes right, but that's only for testing purposes. ssh won't complain, but sftp may. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] python2.3 and portage...
On Tuesday 09 December 2003 17:45, Jon Ellis wrote: I have just installed python2.3 and I am having problems emerging libraries for both python2.2 and 2.3. For example, I need pyGTK installed for both 2.2 and 2.3. If I emerge it with /usr/bin/python linked to python2.3, it will remove the pyGTK libraries from python2.2 every time I emerge clean. Is there any way to keep pyGTK installed for both 2.2 and 2.3? TIA touch the files to protect.. for file in $(find /path/to/files/to/protect); do touch $file done that may not be the right way to do this, but it works... -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] .bashrc over ssh
Does anyone know how to use ssh in a way that ~/.bashrc is executed at logon ? Currently, I need to start a bash right after logging in, then must enter 'exit' twice to log off.. I have all my init. scripts in ~/.scriptrc and I have it called by ~/.bashrc and ~/.bash_profile so it's called whether I use a login shell or not. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] copying entire partition to new HD
On Sunday 07 December 2003 20:57, Klaus Neumann wrote: On Sunday 07 December 2003 11:48 am, Jeff Smelser wrote: On Sunday 07 December 2003 01:35 pm, Klaus Neumann wrote: Hi, Got a new, bigger HD. I succeeded in copying everything from hda1-3 to hdb1-3 using partimage. I can also boot into the new system. The only problem I have now, is that my filemanagers, and df show the wrong (old) size of hdb3, about 5GB free, whereas Qtparted shows the correct size of about 55 GB free. How can I reclaim the missing 50 GB? hda3: ca. 10Gb hdb3: ca. 60Gb Did you change your fstab entries? Did you change your grub entries? How can you be certain it is booting in the new system? Yes, I did change fstab and lilo.conf, chroot into the new system, and ran lilo, then exited, rebooted, and got the lilo choice of booting the old or the new system. You've copied the filesystem and not the files. The filesystem holds infos about its size. Since the partition is bigger than the fs, you've got to either resize your fs or re-copy files: 0. boot with the old kernel, stop every service (or boot in linux single) 1. format hdb3 2. mkreiserfs /dev/hda3 3. mount hda3 somewhere 4. cp -ax / somewhere -a : archive mode -x : stay on the copied filesystem after this, hdb3 will be roughy equal to hd3 (modulo some modified files in /var/) and df should report the right size for hdb3 hth -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mapping hostname to a non routable ip addy
[...] Internally you run a web server at 192.168.1.1 and a mail server at 192.168.1.2. I guess your missing the point there. I think he wants 'ssh box1.foobar.com' routed to box1 and 'ssh box2.foobar.com' routed to box2. And without port redirecting tricks like 'ssh box1.foobar.com -p 8022', 'ssh box2.foobar.com -p 7022'. This would involve routing based not on IP or port, but on hostname which is encapuslated on higher protocol levels (e.g. http,ftp). And this surely can't be achieved with iptables, shorewall or any low level based internet filter. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mapping hostname to a non routable ip addy
On Friday 05 December 2003 23:46, Nathaniel McCallum wrote: On Dec 5, 2003, at 5:39 PM, Marius Mauch wrote: On 12/05/03 Nathaniel McCallum wrote: OK, here is the scenario. Gentoo router has one routable ip and the internal network is nat'ed. The routable ip has a domain that resolves to it, lets call it foobar.com. Internally (non-routable ips), there are hosts (FQDN=host1.foobar.com,host2.foobar.com). Is there anyway (perhaps iptables, but probably some other software) to automatically forward all traffic to the appropriate host from the outside? I know this has to be done at the packet level, but there are some hardware solutions for this, so I thought their might be something else out there... You can redirect traffic based on ports or IPs, but not on hostnames as that information is not contained in the IP header, only in some higher level protocols like HTTP. Yes, I'm aware of this. That is what I am wondering, if there is any program that actually checks the packets and forwards appropriate traffic... I think it has to be done on a per-protocol basis. For HTTP I would go for apache on the router and check the proxy and reverse_proxy directives. I don't think it's possible to do this at a more general level. And it's only possible to do this for protocols which encapsulate hostnames like http or ftp. You'll never be able to have your router forward nc spam.foo.bar 1234 to port 1234 of box spam.foo.bar. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge -up world
Le Jeudi, 4 Décembre 2003 12.53, Oliver Lange a écrit : any better solutions for automatically updating all packages on my box without changing my world favorites ??? I think you might want to try this: emerge -Dup world from man emerge: --deep (-D) When used in conjunction with --update, this flag forces emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies of the packages. As an example, this catches updates in libraries that are not directly listed in the dependencies of a pack- age. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to patch
On Wednesday 03 December 2003 21:54, Vt Vomko wrote: I have problems with compiling svgalib 1.3.4 because og gcc 3.3 and I read hear (http://bugs.gentoo.org/show_bug.cgi?id=23515) this: Patch to compile svgalib 1.4.3 with gcc 3.3 This patch allows the stable version of svgalib (1.4.3) to compile using gcc 3.3.: --- ./src/vga.c.old2003-06-26 18:01:47.778102000 -0400 +++ ./src/vga.c2003-06-26 17:57:40.108102000 -0400 @@ -3914,7 +3914,7 @@ #define ML_GETINT(x) \ ptr = strtok(NULL, ); if(!ptr) break; \ -mmt.##x = atoi(ptr); +mmt.x = atoi(ptr); ML_GETINT(HDisplay); ML_GETINT(HSyncStart); But I dont know how and what to patch ( Itried to start epach but no succes) patch -p1 patchname or do it by hand vim src/vga.c go to line 3914 and replace the line mmt.##x = atoi(ptr); by mmt.x = atoi(ptr); -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: reiser, fsck
On Tuesday 02 December 2003 06:10 pm, Jonathan Stickel wrote: OK, ext3 doesn't need a full-blown fsck every boot either. I'm asking specifically how to do a one-time full-blown fsck of reiser during a boot. Sorry if I wasn't completely clear. emerge sys-fs/reiserfsprogs man reiserfsck Nothing there about setting reiserfsck to run at boot-time... I had already checked. somebody correct me if I'm wrong, but I think that the filesystem boot check depends on the sixth field of fstab's rows. From 'man fstab': The sixth field, (fs_passno), is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] too large vfat
Le Lundi, 1 Décembre 2003 12.18, Ben Anderson a écrit : Hi, I'm trying to create a vfat fs larger than 8G. I've read that I can't do this. However, I just did it a few months ago on a different partition. I don't remember having this problem at that time. Plus Windows does it, right? Here's my output: gentoo root # mkfs -t vfat /dev/hda3 mkfs.vfat 2.8 (28 Feb 2001) mkfs.vfat: Attempting to create a too large file system from 'man mkfs.vfat' -F FAT-size Specifies the type of file allocation tables used (12, 16 or 32 bit). If nothing is speci fied, mkdosfs will automatically select between 12 and 16 bit, whatever fits better for the filesystem size. 32 bit FAT (FAT32 format) must (still) be selected explicitly if you want it. so what you want is: gentoo root # mkfs -t vfat -F 32 /dev/hda3 -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Couldn't download
Le Lundi, 1 Décembre 2003 12.23, Ben Anderson a écrit : Hi, I've been having trouble emerging almost all packages. Here's an example of the output I'm getting: gentoo root # emerge -u kde Calculating dependencies ...done! emerge (1 of 73) media-libs/lcms-1.09 to / Downloading http://www.littlecms.com/lcms-1.09.tar.gz Error: The file was not found on the server! !!! Couldn't download lcms-1.09.tar.gz. Aborting. Don't know if this matters, but I'm using Prozilla. I've been running Gentoo for about a year, but this is a fresh install I'm working on(So it's never worked right yet). Anyone have this same problem? lcms-1.09 is gone from http://www.littlecms.com/ don't know where you can find that old version, but instead, you could emerge the 1.11 version. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] net.eth0 problems on boot
Le Mardi, 25 Novembre 2003 16.44, Paul Kimberley a écrit : Hi, A few days ago my nic stopped working on boot, the problem is the /etc/init.d/net.eth0 script can't start-up. I get this error! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up... * eth0 is not plugged in or has no carrier signal[ !! ] I can manually run 'dhcpcd eth0' and then it works again! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up...[ ok ] Anyone have any idea's where to start to debug this? I'm on a LAN so I shouldn't be getting no carrier signals and the cable IS plugged in! This is a known bug of baselayout: http://bugs.gentoo.org/show_bug.cgi?id=33272 the easiest fix until it's fixed is to manually edit net.eth0 and replace carrier_IFACE=$(ifconfig | gawk -v IFACE=${iface} '/RUNNING/ { if ($1 == IFACE) print running }') with carrier_IFACE='running' hth -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] security: unwanted daemons
On Saturday 22 November 2003 09:18, [EMAIL PROTECTED] wrote: i installed Gentoo 031015 am very pleased with it, but still learning. there are 4 daemons in /etc/init.d for remote access to my box: sshd slapd slurpd rsyncd . i've checked their man pages all appear to be running as servers for things i don't need or want. two questions: am i correct that i can remove these scripts from init.d without interfering with the ordinary functioning of my system ? and why are they set up by default on a Gentoo system, when they cd cause a security problem for a naive -- mb me -- user ? and perhaps a 3rd question: are there any other similar items in init.d ? Just because they are in /etc/init.d does not mean that they are running. They are only running if *you* did 'rc-update add service default'. yes, sorry for the rather naive question: i knew re runlevels , but hadn't remembered re init.d . You can double check this by running 'rc-status'. If they are not in the list, then they don't start by default. rc-status bash: rc-status: command not found don't you have to do it per daemon, eg '.../adsl status' ? you can do it per daemon, but rc-status will actually test the status of all services registered to your current runlevel. you can add a service to a runlevel with: rc-update add service runlevel and remove it with rc-update del service runlevel this will create/remove the symlink /etc/runlevels/runlevel/service you can add or remove the links there yourself if you don't want to use the rc-tools. but don't remove things in /etc/init.d rc-status is in /bin and is part of the baselayout ebuild. I think this one is included by default in gentoo. but if /bin/rc-status is not found, try re-emerging baselayout. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] unmerging source tarballs ?
The distfiles should be in /usr/portage/distfiles. You can delete the source files in these. don't delete everything if you plan to recompile some things. alsa-driver nvidia-kernel for instance have to be recompiled after each kernel rebuild. I use distclean.py to clean my /usr/portage/distfiles it has not yet destroyed anything.. so far ;-) I've last seen it here: http://www.stacken.kth.se/~foo/gentoo/ run it with '-p' to check what it will remove. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo - How to install DeCSS?
Le Jeudi 20 Novembre 2003 14:19, Steve Withers a écrit : I tried 'emerge decss' and it doesn't exist. Have I got the package name wrong? # esearch css [...] * media-libs/libdvdcss Latest version available: 1.2.8 Latest version installed: 1.2.8 Size of downloaded files: 204 kB Homepage:http://developers.videolan.org/pub/videolan/libdvdcss/ Description: A portable abstraction library for DVD decryption -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. What shall I add to /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 Sorry, I'm a lilo-user. When I try to install grub, I get stuck in the post-bios-boot-thingy (before bootloader gets loaded) with a blinking cursor at bottom of screen. but, I would do the following. title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 or in vi /Gentoo4yy3jpf(Cgentoo-r9esc2j^Aj^A:wq ;-) Sorry, I am not very clear. It seems having only one kernel there, the new kernel. How can I select the old kernel if something going wrong. I expect clarifying it before start. Any folk on the List can shed me some light. _append_ the lines at the end of grub.conf, like this: default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 title=Gentoo Linux, my own new kernel gentoo-r8 root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge system - install question
On Wednesday 19 November 2003 10:49 am, [EMAIL PROTECTED] wrote: Hi all! I'm installing Gentoo from stage1. I've been through the bootstrap process and then emerge system. In the end of the emerge system process I get the message: Install-info: menu item `Bash' already exists, for file `bash' * Processed 48 info files; 1 errors. My question is; is this normal and is it safe to continue from here (timezone, fstab, kernel etc.)? no problemo, just go on... I had the same problem for a long time with gpgme. It was because I had version 3 and version 4 installed at the same time. I unmerged gpgme, v3 and the problem was gone. Anyway, you can live with this problem. At least until you found a solution. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] problem with X locking up
On Wednesday 19 November 2003 11:35 am, Aaron Walker wrote: I got home from work this morning (I work nights), to find my machine locked up. This also happened the day before last. I could not switch to any of the terminals (via ctrl-alt-F1, etc). I was able to login via ssh from another pc, however. After running top, I noticed X was using 99% cpu. Sending X the SIGKILL signal was the only way I could get back into the box w/o rebooting. I'm kind of awestruck because I've used linux for 6 or 7 years now and this is literally the first incident I've had with anything locking up on me. It's happened twice so far, both during the night while I was at work. I would think if it was an overheating problem it would happen during the day while I am sleeping, but it hasn't so far. Any ideas on what might be causing this? what have been your last emerge just before the first incident? use genlop if you don't remember. no clue in your XFree86.0.log? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] system time/hw clock
Does anyone know the answer to my original question. Up until about a month ago I was keeping good time both in windows and in gentoo with my hwclock set to local. Now for some reason everytime I boot gentoo it thinks that the hwclock is set to UTC and corrects for that ie) it sets the time 8 hrs earlier. So where do I look other than rc.conf to correct this?? sorry, I didn't follow the thread, but what is your /etc/localtime linking to? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
Le Mardi 18 Novembre 2003 13:41, Stephen Liu a écrit : Hi all folks, I am running kernel (/usr/src/linux/Makefile) VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 20 EXTRAVERSION = -gentoo-r7 and prepared upgrading it to r8 Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. 1. emerge the new kernel, configure and build: # emerge gentoo-sources # cd /usr/src # rm -f linux # ln -s linux-2.4.20-gentoo-r8 linux # cp linux-2.4.20-gentoo-r7/.config linux # cd linux # make oldconfig ... answer questions if any ... # make clean dep # make bzImage modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-gentoo-r8 2. optinal: if you use alsa-driver # cd /lib/modules # touch 2.4.20-gentoo-r7/kernel/sound (should be enough to protect r7's alsa modules, but it would be better to backup them) # emerge alsa-driver 3. optional: if you use nvidia-kernel # cd /lib/modules # touch 2.4.20-gentoo-r7/video/nvidia.o (should be enough to protect r7's nvidia modules, but it would be better to # emerge nvidia-kernel 4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. hth -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
On Tuesday 18 November 2003 18:07, Stephen Liu wrote: Hi mathieu, Thanks for your detail advice. I have following points expected to be advised. - snip - Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. 1. emerge the new kernel, configure and build: # emerge gentoo-sources # cd /usr/src # rm -f linux # ln -s linux-2.4.20-gentoo-r8 linux # cp linux-2.4.20-gentoo-r7/.config linux Is it .config a hidden file under linux-2.4.20-gentoo-r7/ yes. it's created by make menuconfig (or config / oldconfig / config). I've never understood why it's hidden, I would have called it kernel.config. There is also a live version that you can find in /proc/config but maybe you've got to compile something in kernel (or it's only for 2.6, I don't remember) 2. optinal: if you use alsa-driver # cd /lib/modules # touch 2.4.20-gentoo-r7/kernel/sound (should be enough to protect r7's alsa modules, but it would be better to backup them) # emerge alsa-driver I have not installed alsa-driver yet. Gentoo 1.4 is without sound. At time of installing Gentoo1.4 I installed emerge emu10k1 because the box has a Creative Sound Blaster Live sound card. The installation was interrupted unexpectedly. I posted for assistance on this List and I was advised that I should install alsa-driver. Therefore I just left it there incomplete. Now at boot the OS can't detect the sound module I tried to find the bootlog to show it here but could not find it under /var/log/ follow the gentoo doc to install alsa-driver, it's easy and clear, as ever ;-) 4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. What shall I add to /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 Sorry, I'm a lilo-user. When I try to install grub, I get stuck in the post-bios-boot-thingy (before bootloader gets loaded) with a blinking cursor at bottom of screen. but, I would do the following. title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 or in vi /Gentoo4yy3jpf(Cgentoo-r9esc2j^Aj^A:wq ;-) -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] X11 crashing when switching to terminal or shutdown
On Tuesday 18 November 2003 09:57, Henti Smith wrote: On Tue, 18 Nov 2003 17:42:42 +0900 Jason Stubbs [EMAIL PROTECTED] wrote: I find that I can't use the console - or specifically I can't see it. But X remains fine; that is I can switch back to it and continue using it. Consoles are always blank after starting X, though. Drivers before 4363 (I think) didn't and still don't have that problem. If X is actually crashing, or you want to be able to see the console after switching into X, perhaps try an earlier driver? I'll give that a try. Thanks It remembers me of something I've read about X stealing Virtual Terminal when it spawns to fast. I may be wrong but I think X takes the first available VT. If VTs haven't got enough time to spawn. I don't remember how it can be solve, but googling around searching this problem could help you. -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] gentoos (OT)
All answers about gentoo ;-) http://ourworld.compuserve.com/homepages/Peter_and_Barbara_Barham/gentoo.htm more pictures: http://images.google.com/images?q=gentoo+-linux -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] rebuild all
emerge -ep world.. Would thta also include all packages which are not depended on by any of the world packages or their dependencies ? nope! why would it? for this you have to do: cd /usr/portage emerge *-*/* but first you should remove package.mask ;-) -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] rebuild all
Would thta also include all packages which are not depended on by any of the world packages or their dependencies ? nope! why would it? Now, I'd like to twist your question and ask: why wouldn't it? sorry, my mistake, it tought he asked if emerge -e world would include files not in world, and not depended upon by anything. in other word: random packages or every packages. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to add a network card
On Sunday 16 November 2003 21:36, Michael Gruetzner wrote: I just put a second network card into my box. If I use ifconfig to bring up eth1 everything works fine. So I added eth1 to '/etc/conf.d/net', but there is no start script to bring up eth1 at boot time. How do I get such a script(like /etc/init.d/net.eth1)? just link net.eth1 to net.eth0 $ ln -s net.eth0 net.eth1 then add it to your choosen runlevels $ rc-update add net.eth1 default and finally configure your card in /etc/conf.d/net $ $EDITOR /etc/conf.d/net finally don't forget to autoload the driver if it's not the same as your first card. -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] my network's gone
Hi, After booting this morning I had the bad surprise of finding that my network's gone. '/etc/init.d/net.eth0 restart' gave me this: 'eth0 is not plugged in or had no carrier signal' I've haven't emerged anything network related yesterday. I've checked the line, it seems ok, there is a light on my hub and on my card. lsmod showed my card's module (8139too), dmesg showed my card as eth0, lscpi saw my card too. There is no error beside this in /var/log/whatever I rebooted under windows (just to check) and the network was there, running fine. I've got another network interface but it give me the same error. Googling hasn't been helpful at all. I'm lost now. Please send any idea so I can check them all when I get back home tonight. TIA -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] my network's gone (SOLVED)
Le Jeudi 13 Novembre 2003 14:39, lodger a écrit : Hi, After booting this morning I had the bad surprise of finding that my network's gone. '/etc/init.d/net.eth0 restart' gave me this: 'eth0 is not plugged in or had no carrier signal' I've haven't emerged anything network related yesterday. I've checked the line, it seems ok, there is a light on my hub and on my card. lsmod showed my card's module (8139too), dmesg showed my card as eth0, lscpi saw my card too. There is no error beside this in /var/log/whatever I rebooted under windows (just to check) and the network was there, running fine. I've got another network interface but it give me the same error. Googling hasn't been helpful at all. I assume you emerged baselayout-1.8.6.12 and did the etc-update which had some probs with net.eth. So check out bugzilla #33272 for the fix. It worked for me. lodger Yes, that's it. thanks. actually I had finally tought it could come from the script and changed the bogus line with carrier_IFACE=running that's a stupid fix, but it worked fine. thanks again. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to expire ssh user?
Maybe changing her shell to /bin/false ? I'm not 100% up to speed on how key auth works, been a while since I played with it...can't you just remove / rename the key files from their home dir? Kev Jose Gonzalez Gomez wrote: This works in the case the user uses password authentication, but what about public key authentication? I've tried and in this case the user can still login after disabling it with usermod -L. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mkfs.vfat?
Le Lundi 10 Novembre 2003 10:55, Tom Eastman a écrit : Sorry for the remedial question, but what package gives me the tools I need to create a fat32 partition in linux? use mkfs.vfat -F 32 and mkfs.vfat is in sys-fs/dosfstools -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] japanese input
On Sunday 09 November 2003 03:08, Jeff Ames wrote: I've tried to launch kinput2 with different args I launch kinput2 as 'kinput2 -canna ' (make sure canna is running) (process:11009): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Try 'locale -a | grep ja_JP' and see what you do have support for. Then to launch an application with Japanese input support, I think you only need to set LC_CTYPE. locale -a give me lots of locales (368) but no ja_JP.UTF-8 how can I add support for this one? Then you should be able to open an application and use Japanese by hitting the windows key. I know aterm and rxvt support Japanese... You might also want to check whether you have the 'cjk' USE flag set. HTH, Jeff thanks for the help. I had still to play with lots of config files, but now everything is working. But for one small problem: every application started with LC_CTYPE=ja_JP is displayed with a default cursive font. It's quite nice but totally unusable! Not only kanjis and cannas are in cursive. Latin characters also show up in cursive. I think it's an unicode font because there are accentuated letters: éàà (and not squares). I've tried to change fonts in kde, in xftconfig, XF86Config, acticvated / desactived xfs. But still no cigar. How do I choose the default font for kde? X? for unicode / japanese / iso-latin, ... TIA -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] japanese input
Hi, I would like to input kanji cannas. I used to do it under mandrake without problems. But now with gentoo it won't work at all. I have canna freewnn servers running. my .i18n defines everything to be ja_JP, especially: XIM=kinput2 XMODIFIERS=@im=kinput2 I've mapped the windows key to the Kanji key. I've tried to launch kinput2 with different args -canna -xim -kinput ... but nothing works! ctrl + kanji / shift + space don't do anything. I've absolutely no clue of why it won't work. The only error I see is this: (process:11009): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. but I don't know how to compile the japase locale in the C library. thanks in adavance. -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] X sharing (OT?)
Hello, I'm looking for a tool that would do with X11 windows something similar that screen does with consoles. Something that would let me detach from windows and re-attach to them from somewhere else. I don't want the overhead of grabbing the whole desktop (like vnc). Is there something in portage? Else, does portage provide a console client for eMule? TIA -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] X sharing (OT?)
On Friday 07 November 2003 18:57, Donnie Berkholz wrote: On Fri, 2003-11-07 at 08:49, mathieu perrenoud wrote: Hello, I'm looking for a tool that would do with X11 windows something similar that screen does with consoles. Something that would let me detach from windows and re-attach to them from somewhere else. I don't want the overhead of grabbing the whole desktop (like vnc). Is there something in portage? Not in portage, but xmove does it. There's another too, but I can't recall it. thanks. I found xmove for debian only and I don't know what to do with .deb files. I also found xmx http://www.cs.brown.edu/software/xmx/ but couldn't get it to compile :-( -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] openssl upgrade
On Wednesday 05 November 2003 20:52, Jeffrey Smelser wrote: You should actually run revdep-rebuild. Its not advisable to link things like that... It will recompile whats needed to run the new version. hi, can you tell me from where, and to where i shall make the link, i just upgraded, and cant find the libssl-0.9.7 and that have a nice day until you find time to recompile... ;-) /usr/lib/libcrypto.so.0.9.6 /usr/lib/libssl.so.0.9.6 -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] /var/tmp/portage
On Sunday 02 November 2003 02:12, Dennis Freise wrote: Mine has grown to 2gb - is it safe to delete it? Yes. Not as bad as my distfiles though, which have gone to over 5gb :\ That's amazing. I have a central distfiles folder for 5 machines - and it never exceeds 1,1GB :) Maybe you should take a look at the files inside and delete old version of software tarballs. Especially look for gnome-packages, mysql, apache, gcc and xfree - as these tarballs tend to be very big. Remove any old versions you encounter, that will definitly save gigabytes on your harddrive :) distclean is your friend. It removes sources of not longer installed packages. You can found it there: http://www.stacken.kth.se/~foo/gentoo/ -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] env-update
Le Jeudi 30 Octobre 2003 15:56, Mark Knecht a écrit : my /etc/make.conf CHOST=i686-pc-linux-gnu CFLAGS=-O3 -march=athlon-xp -pipe CXXFLAGS=${CFLAGS} when i hash CHOST out then i moans about CFLAGS any ideas thanks in parsing, when you've got an error on line N that doesn't go away when you take like N away, the error comes from above. What do you've got above this line in your make.conf? Check for an open quote that hasn't been closed. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Rogue dhcp server
On Monday 27 October 2003 23:15, Chris I wrote: allowed to be used. I've tried ip and mac filtering in iptables, but it doesnt seem to be effective. why isn't it effective? Did you try -j LOG before the -j DROP to see if the rule is matched? iptables -t filter -A INPUT -m mac --mac-source 00:11:22:33:44:44 -j LOG iptables -t filter -A INPUT -m mac --mac-source 00:11:22:33:44:44 -j DROP don't you have a rule before this one that would accept packets from the rogue server? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Le Lundi 27 Octobre 2003 15:50, Stephen Liu a écrit : If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the super block is corrupted and your need to run --rebuild-sb, Logined as root # e2fsck --rebuild-sb e2sfck: invalid option -- - I was not allowed to edit /etc/devfsd.conf even login as ROOT Don't use e2fsck to rebuild a reiserfs partition! If you can't etdit your file, it must be because your / has been mounted ro for maintenance. remount it rw to edit it. mount -o remount,rw / It seems you can read your partition, so your datas seem to be still there. In this case don't try something dangerous like fdisk or reiserfsck --rebuild-tree like it could be suggested by the boot filesystem check. first undo your changes in /etc/devfsd,conf and try to boot again. if you can't remount /, try to boot on the liveCD, mount your partition and edit it. which partitions are mounted? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Le Lundi 27 Octobre 2003 16:45, Stephen Liu a écrit : I did not mount. After being asked to enter password to do maintenance, I entered password and proceeded to edit /etc/devfsd.conf as I tell in last post, in maintenance mode, / is mounted ro, mount it rw: mount -o remount,rw / I tried cd /boot but could not found /grub/grub.conf there, only an empty folder /boot is not mounted, so it's empty. nothing wrong. Now I am not allowed to reboot nor shutdown with following warning popup [root@(none) /]# reboot init: timeout opening/writing control channel /dev/initctl [rootr@(none) /]# shutdown -h now init: timeout opening/writing control channel /dev/initctl also normal. with only / mounted and ro, you can safely reboot with the reset switch. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Le Lundi 27 Octobre 2003 17:22, Stephen Liu a écrit : I made a force-reboot by pressing reset switch as advised. OS now revives. hope you did remount / read-only before hard-rebooting. mount -o remount,ro / anyway, that wouldn't be much of a problem with reiserfs. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache tomcat
On Sunday 26 October 2003 16:21, Mario Udina wrote: On Sun, 2003-10-26 at 14:22, mathieu perrenoud wrote: Hello, I would like to mount tomcat webapps in apache. I used to use mod_jk but I couldn't find it in portage. I couldn't find mod_webapps either. Is there something in portage that I can use or have I to install mod_jk with traditional means? I installed it by hand and it works pretty fine! Just be careful to take the right version, apache or apache2! So did I, but I prefer to use portage applics when possible. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Space left
Hi, How do I know how much space left I have in each partition? df -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] up2date files
mozilla family's new releases are out. I've always taunted my friends about being top of the edge with gentoo. Most of them are using mandrake and since you've to wait eons for new releaes, they're used to downlload/compile new things themselves. And now I'm stuck with an older version. Well... Just kidding But how do I install thing to be sure that gentoo's next ebuild will clean my own builds away? I don't want to fill my box with rc1, rc2, b1, a2 releases everywhere! And If you answer to this, please don't tell me to 'configure --prefix=/myownbuilds/' -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] A7V600 SATA - Is this supported by a Gentoo kernel?
On Wednesday 15 October 2003 19:50, Mark Knecht wrote: Mattieu - can you confirm if you are using a SATA hard drive? Or are you using an EDIE drive on the more traditional parallel ATA interface that this motherboard offers? maTHieu please ;-) I'm using pure IDE, sorry. sata cables are still in the box. I had to buy a new card and my reseller sold me this one. I don't use sata, raid, giga-ethernet nor the via-soundcard. Next time, I'll check the specs before buying a new card. Anyway, after my first reboot with the new card, I was just missing dma support (that's the only thing I was able to spot). Keyboard, disks and usb worked fine. I don't think that the patch includes SATA support. Unless it was defined in FUTURE_BRIDGES. -#ifdef FUTURE_BRIDGES { vt8237, PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 }, -#endif -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] multiple kernels emerge nvidia-kernel?
On Tuesday 14 October 2003 00:41, Peter Ruskin wrote: No, that's for something else. I really don't know how matthieu can do it: there is a long-standing bug about portage's inability to handle multiple installed kernels - http://bugs.gentoo.org/show_bug.cgi?id=1477 Yes, sorry my mistake. But I change my kernels often and every time I recompile them, I just change the link and emerge nvidia-kernel multiple times. I don't know why it worked. Maybe just because I didn't know that it shouldn't ;-) Anyway, how is it that I've the following result: maison modules # find . -name nvidia.o ./2.4.22vanilla/video/nvidia.o ./2.6.0-test6/video/nvidia.o ./2.4.20-gentoo-r6/video/nvidia.o ./2.4.20-gentoo-r7/video/nvidia.o I've never cp'ed my kernel or even just my nvidia.o -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] nvidia problem
Le Mardi 14 Octobre 2003 13:29, Meka[ni] a écrit : That was it. I've compile it without any problem. As I've saw, on the emerge, ebuild runs make mrproper it self, so I've had to compile the kernel once again just to make some files. Anyway, now I have a different problem. I can not run the nvidia driver. I've included the files I think would help in debugging, but tell me if you need more info about the crash. Thanx :o) nvidia driver has changed name from nv to nvidia: make the following changes in CF86Config: replace Driver nv with Driver nvidia -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Sound problem
Le Mardi 14 Octobre 2003 14:42, Stephen Liu a écrit : Hi Mike, - snip - emu10k1 is a sound driver which must be compiled into the kernel or compiled as a module. Have you done that? If not, you need to and then be sure the module is loaded at boot time otherwise you will not have sound. I will reinstall emu10k1. At time of installing the OS its installation ran continuously without end. I terminated it by reboot. I expect to know whether after starting the OS, I can run # emerge emu10k1 without going through with Live-CD and chroot, etc. Is there a shortcut? B.R. Stephen If you use alsa-driver, emu10k1 MUST NOT be compiled in the kernel. .config snip: # CONFIG_SOUND_EMU10K1 is not set media-sound/emu10k1 should also not be installed (but maybe it doesn't matter if it's installed anyway). Compile you kernel without emu10k1 support then run: ALSA_CARDS='emu10k1' emerge alsa-driver then add alias snd-card-0 snd-emu10k1 to /etc/modules.d/alsa ntoe that you must re-emerge alsa-driver after every kernel compilation. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] php apache2
On Tuesday 14 October 2003 20:27, Collins Richey wrote: I have apache2, php, and mod_php installed. /etc/apache2/conf/modules.d includes instructions to load php and enable the apropriate MIME types. apache2 starts with no errors, except for a missing favicon. I'm using urls like http://localhost/temp.html (has embedded php language). I get nothing but html displays; the php stuff does not run. I get similar results with http://localhost/phpmyadmin/ (this directory has index.php); nothing but the text of the index.php appears. What am I missing? Did you add -D PHP4 to APACHE2_OPTS in /etc/conf.d/apache2? APACHE2_OPTS=-D SSL -D PHP4 -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] IRQ conflict usb sloooooow hotplugging startup
() usb.agent[1154]: Setup usbcore for USB product 0/0/204 usb.agent[1154]: Setup usbcore for USB product 0/0/204 usb.agent[1176]: Setup usbcore for USB product 0/0/0 usb.agent[1176]: Setup usbcore for USB product 0/0/0 usb.agent[1193]: Setup usbcore for USB product 0/0/0 usb.agent[1193]: Setup usbcore for USB product 0/0/0 usb.agent[1210]: Setup usbcore for USB product 0/0/0 usb.agent[1210]: Setup usbcore for USB product 0/0/0 usb.agent[1227]: Setup usbcore for USB product 0/0/0 usb.agent[1227]: Setup usbcore for USB product 0/0/0 usb.agent[1545]: Setup hid for USB product 46d/c501/910 usb.c: registered new driver hid input0: USB HID v1.10 Mouse [Logitech USB Receiver] on usb2:2.0 usb.c: hid driver claimed interface d9891580 hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik [EMAIL PROTECTED] hid-core.c: USB HID support drivers usb.agent[1545]: Setup mousedev for USB product 46d/c501/910 modprobe: modprobe: Can't locate module mousedev modprobe: modprobe: Can't locate module mousedev eth0: Setting half-duplex based on auto-negotiated partner ability . ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (4095 buckets, 32760 max) - 320 bytes per conntrack cron[2525]: (CRON) STARTUP (fork ok) init: Activating demand-procedures for 'A' inserting floppy driver for 2.4.20-gentoo-r7 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 CRON[2915]: (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003 -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] A7V600 SATA - Is this supported by a Gentoo kernel?
On Wednesday 15 October 2003 01:28, Andreas Roedl wrote: Hello! Am Dienstag, 14. Oktober 2003 20:16 schrieb Mark Knecht: I think someone must be using this board? Have you had good results? Easy or difficult to install Gentoo? I just bought an Asus A7V600 SATA board where the SATA controller is included in the southbridge and realized that its impossible to get it working under Linux. The day after I bought the Asus A7N8X Deluxe which is equipped with a Silicon Image 3112 Chip and it works pretty well. If you have the chance to get rid of the A7V600 and exchange it against the A7N8X Deluxe, do it! I've bought an A7V600. It supports SATA so I guess it must be the A7V600 SATA. Correct me if I'm wrong. After installing the board, I couldn't boot with mandrake anymore and windows booted on 320x200 without mouse or keyboard but gentoo (on an ATA card, not on the board's ide controller) booted without problem. I had just lost DMA control and that sort of thing. I patched the my kernels for vt8237 support (manually, because gentoo-sources don't handle the patch) and now everything is fine like before. Except windows but I wasn't using it anyway ;-) I also patched my mandrake's kernel and could boot mandrake too. Note: I have not tried sata, the via sound interface or the 3com gigaethernet. But everything else work fine. (almost: my kernel always complains about irq routing conflicts during boot). -- mathieu [EMAIL PROTECTED], 2003-05-16 10:46:58+02:00, [EMAIL PROTECTED] Support for VIA vt8237 IDE. drivers/ide/pci/via82cxxx.c | 10 -- include/linux/pci_ids.h |7 --- 2 files changed, 8 insertions(+), 9 deletions(-) diff -Nru a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c --- a/drivers/ide/pci/via82cxxx.c Fri May 16 10:47:10 2003 +++ b/drivers/ide/pci/via82cxxx.c Fri May 16 10:47:10 2003 @@ -1,12 +1,12 @@ /* * - * Version 3.36 + * Version 3.37 * * VIA IDE driver for Linux. Supported southbridges: * * vt82c576, vt82c586, vt82c586a, vt82c586b, vt82c596a, vt82c596b, * vt82c686, vt82c686a, vt82c686b, vt8231, vt8233, vt8233c, vt8233a, - * vt8235 + * vt8235, vt8237 * * Copyright (c) 2000-2002 Vojtech Pavlik * @@ -74,9 +74,7 @@ u8 rev_max; u16 flags; } via_isa_bridges[] = { -#ifdef FUTURE_BRIDGES - { vt8237, PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 }, -#endif + { vt8237, PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { vt8235, PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { vt8233a, PCI_DEVICE_ID_VIA_8233A,0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { vt8233c, PCI_DEVICE_ID_VIA_8233C_0, 0x00, 0x2f, VIA_UDMA_100 }, @@ -148,7 +146,7 @@ via_print(--VIA BusMastering IDE Configuration ); - via_print(Driver Version: 3.36); + via_print(Driver Version: 3.37); via_print(South Bridge: VIA %s, via_config-name); diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h --- a/include/linux/pci_ids.h Fri May 16 10:47:10 2003 +++ b/include/linux/pci_ids.h Fri May 16 10:47:10 2003 @@ -1026,10 +1026,11 @@ #define PCI_DEVICE_ID_VIA_8233C_0 0x3109 #define PCI_DEVICE_ID_VIA_8361 0x3112 #define PCI_DEVICE_ID_VIA_8233A 0x3147 -#define PCI_DEVICE_ID_VIA_P4X333 0x3168 -#define PCI_DEVICE_ID_VIA_82350x3177 -#define PCI_DEVICE_ID_VIA_8377_0 0x3189 +#define PCI_DEVICE_ID_VIA_8237_SATA 0x3149 +#define PCI_DEVICE_ID_VIA_P4X333 0x3168 +#define PCI_DEVICE_ID_VIA_8235 0x3177 #define PCI_DEVICE_ID_VIA_8377_0 0x3189 +#define PCI_DEVICE_ID_VIA_8237 0x3227 #define PCI_DEVICE_ID_VIA_86C100A 0x6100 #define PCI_DEVICE_ID_VIA_8231 0x8231 #define PCI_DEVICE_ID_VIA_8231_4 0x8235 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] multiple kernels emerge nvidia-kernel?
On Monday 13 October 2003 22:39, Paul Fraser wrote: No, you'll have to boot the kernel then emerge it. On Tue, 2003-10-14 at 06:30, Greg Yasko wrote: Hi. I'm interested in installing both the gentoo-sources kernel and the vanilla-sources, so that there's a fallback if vanilla-sources doesn't run well. If I emerge and build both kernels during a fresh gentoo install, will emerging nvidia-kernel install the nvidia driver for both kernels? nvidia compile against the kernel pointed by the link /usr/src/linux 1. link /usr/src/linux to the 1st kernel sources 2. emerge nvidia-kernel 3. link to the second kernel 4. emerge nvidia-kernel -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] multiple kernels emerge nvidia-kernel?
On Monday 13 October 2003 23:42, Peter Ruskin wrote: nvidia compile against the kernel pointed by the link /usr/src/linux 1. link /usr/src/linux to the 1st kernel sources 2. emerge nvidia-kernel 3. link to the second kernel 4. emerge nvidia-kernel Aaaah, but when portage has emerged nvidia-kernel to the second kernel it removes the first one. This is just ridiculous but that's what happens. I always did like this and it has always worked... -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gentoo killed my pc
On Thursday 09 October 2003 01:47, Jason Cooper wrote: mathieu perrenoud ([EMAIL PROTECTED]) scribbled: On Thursday 09 October 2003 01:04, Jason Cooper wrote: mathieu perrenoud ([EMAIL PROTECTED]) scribbled: okay, me again! since I've installed gentoo, I've had problems with my HD. np, bought a new one. mobo's chipset hoverheating: no problemo: bought 2 fans. mobo got freezed 4 times the same day: well... ok: changed cpu, changed ram, changed mobo. now everything (almost) is brand new! reboot. cool, everything works.. For a while. then everything gets stuck again. I can move my mouse for a while. then everything is really stuck. So... I've got: new ram, new hd, new motherboard, new ram What can I do now? Buy a new video card and hope that the problem came from there? I've used my pc 3 years with mandrake without prolem. Who made the power supply and how old is it? power man 2 1/2 years If you have a voltmeter, I would check the voltage values (maybe the bios or lmsensors too?). If a voltage regulator failed, it would definitely lead to a series of different component failures. The values you should see are +/- 3.3v, +/-5v, or +/-12v. Not sure all of those will be present, but those are typical. If you see anything 10% away from standard values, then that's probably the source of your problems. here is what `sensors` give me. Values are so weird that I tought the infos were just misread by sensors. If those values are true. Could it come from my house power? it87-isa-0290 Adapter: ISA adapter Algorithm: ISA algorithm VCore 1: +1.74 V (min = +1.53 V, max = +1.87 V) VCore 2: +0.00 V (min = +2.25 V, max = +2.75 V) ALARM +3.3V: +6.46 V (min = +2.96 V, max = +3.60 V) ALARM +5V: +4.80 V (min = +4.50 V, max = +5.48 V) +12V: +11.84 V (min = +11.36 V, max = +13.80 V) -12V: -27.36 V (min = -15.86 V, max = -13.40 V) ALARM -5V: -13.64 V (min = -10.13 V, max = -9.44 V) ALARM Stdby: +5.04 V (min = +4.50 V, max = +5.48 V) VBat: +4.08 V -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gentoo killed my pc
BIOS gave me +3,23 for the +3.3 (which is just the half of the 6.46 given by lm) -27.36 / 2 = -13.68 would be perfect. let's assume sensors also missed that div 2 VCore 2 is too strange to be accurate. I'm just worried by the -13.64, but there, the max and min are also pretty strange and 13.64 / 2 = 6.8 which wouldn't be that bad. Anyway, I don't know where to put the voltmeter... I'd do as someone suggested - get a voltmeter and actually measure the values. Lmsensors may not be working properly. However, if your +/-12 and -5 are being shown correctly they look bad. it87-isa-0290 Adapter: ISA adapter Algorithm: ISA algorithm VCore 1: +1.74 V (min = +1.53 V, max = +1.87 V) VCore 2: +0.00 V (min = +2.25 V, max = +2.75 V) ALARM +3.3V: +6.46 V (min = +2.96 V, max = +3.60 V) ALARM +5V: +4.80 V (min = +4.50 V, max = +5.48 V) +12V: +11.84 V (min = +11.36 V, max = +13.80 V) -12V: -27.36 V (min = -15.86 V, max = -13.40 V) ALARM -5V: -13.64 V (min = -10.13 V, max = -9.44 V) ALARM Stdby: +5.04 V (min = +4.50 V, max = +5.48 V) VBat: +4.08 V -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gentoo killed my pc
Le Jeudi 9 Octobre 2003 14:05, brett holcomb a écrit : What's the factor of 2 for? I'd take the power supply to someone who can check it if you can't or get a new power supply. What's the wattage on the power supply? I don't know why there is that factor of 2, but I've often seen sensors wrong by this factor. How do I check my power supply? Where do I put the voltmeter? in the cables plug? I can't check the wattage right now. I'm @work. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] new CPU march=athlon-xp
And a stupid question to end: could it be the OO's compilation that freeze my box? Yes and no. It could be because you were compiling OO, but not OO's fault. Building OO is a very processor intensive task. If you've already been having problems with overheating, then the first thing I'd try is to get better fans. Although, if this has been a problem for a while, there is a good chance that the mobo is damaged anyway from the overheating. Before you get the mobo, get better/more cooling fans. If that doesn't help, get the new mobo, and you'll already have the better fans to use with it :) I've got 2 brand new fans, and I've monitored temp, usage disk and whatever during compilation. everything was fine. As for the processor and RAM, it is okay to keep the old ones as long as you know that they work fine. Try running memtest86 on your RAM to make sure its in decent condition. Unless you're getting weird errors and segfaults everywhere, your processor is probably fine. If I understand well: if the mem is fine then the cpu is fine too? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] no more python
On Wednesday 08 October 2003 17:13, mathieu perrenoud wrote: Hello, My box freezed this morning right during the installation of python-2.2.3. I can't use my python anymore and I can't emerge anything. I compiled python by hand, but now, I've got the following error: Traceback (most recent call last): File /usr/bin/emerge, line 9, in ? import sys,emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit,signal ImportError: /usr/lib/python2.2/lib-dynload/time.so: invalid ELF header sorry, my mistake. my new python was compiled in /usr/local but my path used the old and corrupted one. I changed my $PATH, recompiled, copied the site-package to the new build... and could emerge python again. (and remove my temporary build). -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] gentoo killed my pc
okay, me again! since I've installed gentoo, I've had problems with my HD. np, bought a new one. mobo's chipset hoverheating: no problemo: bought 2 fans. mobo got freezed 4 times the same day: well... ok: changed cpu, changed ram, changed mobo. now everything (almost) is brand new! reboot. cool, everything works.. For a while. then everything gets stuck again. I can move my mouse for a while. then everything is really stuck. So... I've got: new ram, new hd, new motherboard, new ram What can I do now? Buy a new video card and hope that the problem came from there? I've used my pc 3 years with mandrake without prolem. I need your advice on this one! tia. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gentoo killed my pc
On Thursday 09 October 2003 01:04, Jason Cooper wrote: mathieu perrenoud ([EMAIL PROTECTED]) scribbled: okay, me again! since I've installed gentoo, I've had problems with my HD. np, bought a new one. mobo's chipset hoverheating: no problemo: bought 2 fans. mobo got freezed 4 times the same day: well... ok: changed cpu, changed ram, changed mobo. now everything (almost) is brand new! reboot. cool, everything works.. For a while. then everything gets stuck again. I can move my mouse for a while. then everything is really stuck. So... I've got: new ram, new hd, new motherboard, new ram What can I do now? Buy a new video card and hope that the problem came from there? I've used my pc 3 years with mandrake without prolem. Who made the power supply and how old is it? power man 2 1/2 years -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] installing fans.
Thanks to all of you for answering my question about fans. I buyed two fans one pulling air inside from the front and one blowing it outside from the rear. And just after that, I felt really stupid when I saw that my chipset's fan was dead. Impossible to find a 4cm fan in my town to replace it. So I placed one of my new fan on my video card in front of my MB's chipset. Everything is cooler now: hds: 34°, box 28° and chipset 58° (idle). Actually the whole weather is cooler: 7° :-( I know that I've to find a better solution than having a fan standing on my videocard, but until then, it'll do like that. thanks again -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] installing fans.
Le Lundi 6 Octobre 2003 12:08, Rick [Kitty5] a écrit : mathieu wrote: I know that I've to find a better solution than having a fan standing on my videocard, but until then, it'll do like that. http://www.zalman.co.kr/english/product/nb32j.htm http://www.zalman.co.kr/english/product/zm-nb47j.htm Online shop isn't up and Offline shop doesn't work :-( Btw, how do I remove old push pins? Is there anotherway than using scissors or cutter to get rid of them? -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
[gentoo-user] 2.6 reiser4
Hi. what about reiser4? Wasn't it planned to be in kernel 2.6? -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] installing fans (was: strange informations from lm-sensors)
After my yesterday's thread, I decided to buy one fan. When I saw the price, I buyed two instead. But now, I don't know how to place them in the case. The boxes of the fans says that I should place them at the rear of the case and make sure they pull air from the inside toward the outside. Yesterday, you told me that it could be better to pull air inside and the guy at the shop told me that on his own box he had a fan in front pulling air inside and one at the rear blowing air outside. I'm at a complete loss here. Should I follow box's instructions? or the guy's advice. I think I'll first try with one in the front and one in the back. If it's stupid or even dangerous, any quick warning would be greatly appreciated. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] installing fans (was: strange informations from lm-sensors)
On Friday 26 September 2003 02:31 pm, brett holcomb wrote: Most cases have the one in front pulling it into the case while the one in back pulls it out. Try that and make sure air can flow through your case. faster than light answer. thanks brett -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] strange (alarming) informations from lm-sensors
Hi! I've just installed lm-sensors to peek at my motherboard. I've got the following informations. I don't understand everything but I don't like the ALARM messages... Can I trust those informations? Should I call the firemen? And I'm specially worried about the +224.4°C (limit +120°). After a few tries, all infomations seem pretty static, only the temp2 changes a bit. as99127f-i2c-0-2d Adapter: SMBus Via Pro adapter at e800 Algorithm: Non-I2C SMBus adapter VCore 1: +1.84 V (min = +1.76 V, max = +2.14 V) VCore 2: +0.09 V (min = +1.76 V, max = +2.14 V) ALARM +3.3V: +3.26 V (min = +2.97 V, max = +3.63 V) +5V: +4.80 V (min = +4.50 V, max = +5.48 V) +12V: +12.27 V (min = +10.79 V, max = +13.11 V) -12V: -7.55 V (min = -15.06 V, max = -12.32 V) ALARM -5V: -2.66 V (min = -5.48 V, max = -4.50 V) ALARM fan1: 3901 RPM (min = 3000 RPM, div = 2) fan2:0 RPM (min = 3000 RPM, div = 2) ALARM fan3:0 RPM (min = 3000 RPM, div = 2) ALARM temp1: +33°C (limit = +60°C) temp2: +69.0°C (limit = +120°C, hysteresis = +100°C)(beep) temp3:+224.4°C (limit = +120°C, hysteresis = +100°C) vid: +1.950 V alarms: beep_enable: Sound alarm enabled -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] strange (alarming) informations from lm-sensors
Le Jeudi 25 Septembre 2003 16:19, Andrew Gaffney a écrit : mathieu wrote: Hi! I've just installed lm-sensors to peek at my motherboard. I've got the following informations. I don't understand everything but I don't like the ALARM messages... Can I trust those informations? Should I call the firemen? And I'm specially worried about the +224.4°C (limit +120°). After a few tries, all infomations seem pretty static, only the temp2 changes a bit. as99127f-i2c-0-2d Adapter: SMBus Via Pro adapter at e800 Algorithm: Non-I2C SMBus adapter VCore 1: +1.84 V (min = +1.76 V, max = +2.14 V) VCore 2: +0.09 V (min = +1.76 V, max = +2.14 V) ALARM +3.3V: +3.26 V (min = +2.97 V, max = +3.63 V) +5V: +4.80 V (min = +4.50 V, max = +5.48 V) +12V: +12.27 V (min = +10.79 V, max = +13.11 V) -12V: -7.55 V (min = -15.06 V, max = -12.32 V) ALARM -5V: -2.66 V (min = -5.48 V, max = -4.50 V) ALARM fan1: 3901 RPM (min = 3000 RPM, div = 2) fan2:0 RPM (min = 3000 RPM, div = 2) ALARM fan3:0 RPM (min = 3000 RPM, div = 2) ALARM temp1: +33°C (limit = +60°C) temp2: +69.0°C (limit = +120°C, hysteresis = +100°C)(beep) temp3:+224.4°C (limit = +120°C, hysteresis = +100°C) vid: +1.950 V alarms: beep_enable: Sound alarm enabled I think that 224.4 is the maximum temp that the sensors can report, which probably means that the sensor isn't working anymore or doesn't actually exist on the motherboard. thanks andrew, I feel more confortable now. But I'm still worried about other ALARMs. Do you have some advice about them? -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] strange (alarming) informations from lm-sensors
The fan headers you don't have anything connected to, so don't worry about them. The VCore 2 I assume your machine does not use (do you have a P4 by athlon xp 1700+ any chance?). The -12v and -5v lines being way off probably means your PSU isn't supplying them, or is doing an extremely bad job of it. There is very, very little equipment around that uses these lines, so again, don't worry about them. The temp2 is quite high, I'd look into better cooling for your CPU. Unless the machine is stable in which case I wouldn't worry again I've lots of things in my box: 4 hdds, dvd, cd, zip, ... Could this be the explanation of the high temps and bad voltage? Should I take some things out? Add new fans? What would be the acceptable temperature for temp2? (and for hdds btw) -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] strange (alarming) informations from lm-sensors
Le Jeudi 25 Septembre 2003 17:08, Matthew Coulson a écrit : athlon xp 1700+ Hmm. I took a guess at the CPU from the temp2, as you might have been overclocking a P4 and overvolting it to 1.85. 69 degrees is a bit hot for an XP I've lots of things in my box: 4 hdds, dvd, cd, zip, ... Could this be the explanation of the high temps and bad voltage? The voltages used by this equipment +5, +12, +3.3 are all extremely good, so theres no extreme power drain from them. 33c chassis temperature is also very good. Should I take some things out? No need Add new fans? If it's stable no. If you're paranoid about temperatures (which normally happens once someone finds out what the temperatures inside their machine is) then yes. To be honest I would try to get a better CPU cooler setup as personally I wouldn't be happy with 69c. I'm not happy with 69C. But I have choosen a big fan when I buyed my PC. Could my fan be on the wrong side? Should it pull the hot air outside or blow cold air inside? Now my pc is totally idle but it's temperature is 70C. My HDD are now at 39C. What is a better cpu cooler setup? a better fan? What would be the acceptable temperature for temp2? (and for hdds btw) I tend to go by a 50c maximum. You're not getting the HD's temperatures with the lm sensor, you'll need a S.M.A.R.T monitoring program for that. On my Shuttle SS51G (P4 2.4 non-overclocked, 1 Seagate Barracuda IV 40G, 1 Barracuda V 120Gb), when I was running WinXP/2K, I used SpeedFan to monitor temperatures and adjust fan speed accordingly. On 1% fan speed I would achieve 49-50c CPU when idle, and 48-50c HDD. This made the fans completely inaudible. Once above 50c the fans would gradually speed up 5% a second to cool it down. This weekend I hope to have a go getting a similar setup on my Gentoo install (the Shuttles built in fan throttling won't throttle enough!), and I'm hoping it will be a simple case of getting the following http://member.melbpc.org.au/~iann/varyfan/ working! It might already be in portage, I don't know. # emerge -s varyfan Searching... [ Results for search key : varyfan ] [ Applications found : 0 ] sorry -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] strange (alarming) informations from lm-sensors
thanks everybody for all your quick and useful answers ;-) (as always on the gentoo forum. that's (another) reason why I'm fond of gentoo). I've seen pictures of water-cooled boxes and that sort of things. I'just want to have a quiet and normal heated PC. No need to do supra-conduction at 3°K. When I talk about wrong-sided fan, I meant the cpu cooler. I've turned it around. But the temp is still the same (67°C now). My case is an enermax and it's true that I've a lot of IDE cables around. So what do I do now? My main goal is to have a quiet PC. My TV is in the same room. I want to be able to hear tv while make modules-ing, make bzImage-ing and emerge world-ing. I don't have any case fan and after all your answers I guess that the first thing I should do is buy one and use it to pull air inside. thanks again for everything Brett is absolutely right. It can't be too cool inside your case. But, there is the law of diminishing returns. At some point, the air inside your box gets so close in temperature to the ambient that more fans becomes a waste of money and power supply wattage. In my Athlon XP 2100+ box, the inside air temp stays at about 10 degrees C above ambient and the processor about 5 degrees C above that. Currently, CPU temp is 36 C inside air is 32 C and ambient is 23 C. I have 2 generic fans at the front of the box sucking air in and one at the rear blowing out. The CPU heatsink and fan are the basic AMD approved units that came with the processor. ($8 retail)The 450 Watt PSU is a dual fan unit that sucks air in from within the case and blows it out at the top rear. The dead spots that Brett mention can be the fault of a poorly designed case or, more commonly cables and other stuff obstructing air flow. The biggest culprits are the IDE cables. If not positioned properly they can cut air flow to the point where you can have 20 degree differences in temps in various spots within the case. The best bet is to buy the round jacketed cables, but these can severely destroy a budget. I tend to tuck extra length of my IDE cables into unused drive bays and rout them in places where they won't block air flow I hope this helps you some what. -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] HDs dying. please save me
Since I've installed gentoo, all my HDs went crazy. I'm completly at a loss when talking of hardware. Here is my disk layout: hda: mandrake's root, /home hdb: winXP root hdc: gentoo's root Monday, my /home (hda) stopped responding with lots of dma and other hd related errors. I buyed a new disk to do some backups and swap the failing disk. After plugging the new disk (hdd), everything was fine again. I did my backups, but didnt removed the faulty disk. Tuesday, my / (hdc) stopped responding after a reboot. Every module modprobing gave errors. Some directories were gone (/usr/lib/portage for example). I mounted the gentoo's cd to get tools back, but /usr/lib/portage was back. Next reboot freezed after not finding some modules. I rebooted in mandrake. Everything was there but reiserfsck found some errors and the screwed my partition. I tought it would be a good idea to clear the disk and reinstall from scratch (on hdc again). 36 hours of compilation later, everything was fine again. I backuped the whole install on hdd. Thursday, hdc went wrong again, every parition messed up again. I took hdc out and booted on the backup partition of hdd. All clear. And today, /home (hda), gave me some new errors. First that message: maison kernel: journal-601, buffer write failed printed on every console. Then Input/output error on every access try. Mount, fdisk and hdparm never return. The BIOS seems happy with each disk. Mandrake never gave me any HD error. What can I do now? Change my motherboard? throw my disks away? How can I be sure that the error come from the disks, from the MB's chipset or from a gentoo's driver? Could the fact that I told my disks to fo to standby mode after a while cause problems? Is there a tool to tests the whole disks? Every help would be appreciated. thanks in advance. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HDs dying. please save me
I don't have any info on your problem, however, when starting a new topic, please start a new thread (compose a new message) instead of replying to an existing thread and changing the subject line. Sorry, my mistake. I didn't know of any header added to the mail that referred to the thread. I tought that threads were followed by title only. -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] hd problem
(hda), sector 11416 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11424 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11432 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11440 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11448 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11456 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11464 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11472 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11480 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11488 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11496 Sep 8 15:04:35 maison kernel: end_request: I/O error, cmd 1 dev 03:05 (hda), sector 11504 and so on ... (HD is Sep 8 09:14:22 maison kernel: hda: Maxtor 5T060H6, ATA DISK drive Sep 8 09:14:22 maison kernel: hda: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=7476/255/63, UDMA(100) ) Is my HD screwed? Could it be gentoo's fault? What can I do, beside cry for my lost datas and buy a new hd? -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hd problem
First, backup the data on hda. Then, try a different IDE cable. If that doesn't work, try putting a spare drive (if you have one) on that particular cable in place of the screwy one. If it still acts up then its the controller. If you plug the IDE cable directly into the motherboard, your motherboard is dying. I got a disk in hdb, same cable, same controller. Can I conclude the cable and the controller are ok? And what does 2xbeep means in BIOS? I searched in the error codes but couldn't find it. (I've got an asus7v) -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hd problem
Le Lundi 8 Septembre 2003 17:18, Christian Schäfer a écrit : First, backup the data on hda. Then, try a different IDE cable. If that doesn't work, try putting a spare drive (if you have one) on that particular cable in place of the screwy one. If it still acts up then its the controller. If you plug the IDE cable directly into the motherboard, your motherboard is dying. I got a disk in hdb, same cable, same controller. Can I conclude the cable and the controller are ok? And what does 2xbeep means in BIOS? I searched in the error codes but couldn't find it. (I've got an asus7v) a little while ago I encountered similar problems on an asus board. those were caused by faulty ram. in my case replacing the ram fixed things. strangly enough that the error encountered on the harddrive.. everything has been fine for almost three years now. I'll run to the next hd shop and try a new disk. I've enabled auto.suspend for hd in bios. Could my HD be dead because it doesn't support to be constantly spinning on and off? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] DNS woes...
You want to check this page: http://lists.spack.org/pipermail/geektalk/2002/000565.html Unless you want to go through all the doc. -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] destination nat (port forwarding)
I'm trying to do it with iptables destination nat, I created this rule Chain PREROUTING (policy ACCEPT 9177 packets, 1980K bytes) pkts bytes target prot opt in out source destination 8 480 DNAT tcp -- anyany anywhere anywhere tcp dpt:telnet to:10.0.0.4:23 with this command iptables -t nat -A PREROUTING -p tcp --dport 23 -j DNAT - --to 10.0.0.4:23 When I telnet to the routing box, I see that the counters for that rule are incremented, so, it seems to be working, but I was told, that I'm missing, a rule, that NATs the packets back... but I'm not sure how to make that rule, can anyone help me ? iptable should route the packets coming back without any other instruction. emerge ethereal and look at the traffic going through your box. Does the SYN goes to the LAN's box? Does a SYN ACK comes back? Can you ping the LAN's box from the router and vice-versa? And don't use masquerading, that's not what you need. -- mathieu -- [EMAIL PROTECTED] mailing list