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] 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] Installing gentoo remotely
Le Mardi, 27 Janvier 2004 10.00, Jeff Blair a écrit : > of course put in your password insted of > 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] 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] 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
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] 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 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] 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
[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"?
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] 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] 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] 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 CONFIG_BLK
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] 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] 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] 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] 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] .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] .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 grep /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 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
> 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] 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] 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, Vít Vomáčko 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] 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] 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] 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 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 and remove it with rc-update del this will create/remove the symlink /etc/runlevels// 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] 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] 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] 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] 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-r92j^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] 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] 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
[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] 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
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-r92j^Aj^A:wq ;-) -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] 1st ever Apache question
Check in the apache conf file for the DocumentRoot directive, that's the root dir for apache's files. $ grep DocumentRoot /etc/apache2/conf/apache2.conf DocumentRoot /var/www/localhost/htdocs You can either change this for what suits you or move your file there. I would go for the second option. Add yourself to the apache group and chmod 2775 the dir, so you can work in a more convenient way. I don't think you need virtual hosting, it's only if you want to serve different pages depending on the server name in the HTTP directive and so you need to have multiple domain names pointing at your box. (or add them to /etc/hosts and access them in local). finally the docs from the apache's website can answer to all your question: http://httpd.apache.org/docs-2.0/ hth > Hi, >I've never done anything with Apache, but would like to get to know a > bit more about how to configure it. It's emerged and operating. It > serves up some sort of a default Apache page if I browse the machine > from my network. > >For now I only need to handle a single domain. I have a few simple > web pages and would like them to be the pages that Apache gives out. How > can I do this? Can I replace the file Apache serves up by default, and > if so, where is it? > >Probably better would be to have Apache go where I keep my web pages, > so what config file manages that? The closest I found was a > virtual-domains configuration directory, but no real instructions on how > to turn it on. > >Most helpful would be a really simple Apache 101 site somewhere. I > did a bunch of Googling, but everything is either for-pay training or > not simple enough for me needs. > >Thanks in advance! > > Cheers, > Mark > > > -- > [EMAIL PROTECTED] mailing list -- 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
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
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
[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] 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] 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] 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
[gentoo-user] apache & tomcat
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? -- 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
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
[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 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
[gentoo-user] IRQ conflict & usb sloooooow hotplugging startup
Hi, Two questions about my boot process: first question: I've got some messages about routing conflict. Is this normal? How can I fix them? Here are 3 lines, full dmesg included below. IRQ routing conflict for 00:0f.0, have irq 11, want irq 3 IRQ routing conflict for 00:10.0, have irq 11, want irq 3 IRQ routing conflict for 00:10.1, have irq 11, want irq 3 second question: The "* Starting USB and PCI hotplugging..." step take forewer 18 seconds exactly. One second more and my friends' windows boxes will boot faster than my linux. dmesg is full of messages about usb and the like. I don't remember it used to be like this (a while ago) but I don't know what could have changed. tia [dmesg follows] klogd 1.4.1, log source = /proc/kmsg started. Cannot find map file. Loaded 501 symbols from 21 modules. Linux version 2.4.20-gentoo-r7 ([EMAIL PROTECTED]) (version gcc 3.3.1 20030916 (Gentoo Linux 3.3.1-r4, propolice)) #1 sam oct 11 16:28:18 CEST 2003 BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 1fffc000 (usable) BIOS-e820: 1fffc000 - 1000 (ACPI data) BIOS-e820: 1000 - 2000 (ACPI NVS) BIOS-e820: fec0 - fec01000 (reserved) BIOS-e820: fee0 - fee01000 (reserved) BIOS-e820: - 0001 (reserved) 511MB LOWMEM available. On node 0 totalpages: 131068 zone(0): 4096 pages. zone(1): 126972 pages. zone(2): 0 pages. Kernel command line: BOOT_IMAGE=gentoo ro root=309 failsafe devfs=mount hdd=ide-scsi acpi=off ide_setup: hdd=ide-scsi Initializing CPU#0 Detected 2000.248 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3984.58 BogoMIPS Memory: 512768k/524272k available (1408k kernel code, 8940k reserved, -1720k data, 104k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) Proc Config support by [EMAIL PROTECTED] proc config counted 2476 bytes in names proc config counted 266 bytes in value handles CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After generic, caps: 0383fbff c1c3fbff CPU: Common caps: 0383fbff c1c3fbff CPU: AMD Athlon(TM) XP 2400+ stepping 01 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED]) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xf1970, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Using IRQ router VIA [1106/3227] at 00:11.0 PCI: Found IRQ 3 for device 00:0f.1 IRQ routing conflict for 00:0f.0, have irq 11, want irq 3 IRQ routing conflict for 00:10.0, have irq 11, want irq 3 IRQ routing conflict for 00:10.1, have irq 11, want irq 3 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x1 pty: 256 Unix98 ptys configured Real Time Clock Driver v1.10e Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 79 PCI: Found IRQ 3 for device 00:0f.1 IRQ routing conflict for 00:0f.0, have irq 11, want irq 3 IRQ routing conflict for 00:10.0, have irq 11, want irq 3 IRQ routing conflict for 00:10.1, have irq 11, want irq 3 VP_IDE: chipset revision 6 VP_IDE: not 100%% native mode: will probe irqs later VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci00:0f.1 ide0: BM-DMA at 0x9800-0x9807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x9808-0x980f, BIOS settings: hdc:DMA, hdd:DMA hda: IC35L090AVV207-0, ATA DISK drive hdb: Maxtor 5T060H6, ATA DISK drive hdc: TOSHIBA DVD-ROM SD-M1502, ATAPI CD/DVD-ROM drive hdd: LITE-ON LTR-16102B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 blk: queue c016e1e4, I/O limit 4095Mb (mask 0x) hda: 160836480 sectors (82348 MB) w/1821KiB Cache, CHS=10011/255/63, UDMA(100) blk: queue c016e324, I/O limit 4095Mb (mask 0x) hdb: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=7476/255/63, UDMA(100) hdc: ATAPI 48X DVD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 Partition check: /dev/ide/host0/bus0
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
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] 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] 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] 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
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] 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] 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] no more python
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 ?? what now? -- mathieu -- [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] new CPU & march=athlon-xp
> > Since two months, everything goes wrong in my pc: erratic disks, mb's > > chipset overheating... And since yesterday, my box has freezed 3 > > times (the three times during OO1.1 compilation). > > So I've decided to blame this on my mobo and to buy a new one, and I > > new CPU btw. (If you think that I'm wrong, thanks to warn me). > > I've compiled every app with the following flags: > > > > CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays > > -pipe -fomit-frame-pointer" > > If you change these to: > CFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe" > ...I bet you can save yourself a lot of money. why? and why athlon-mp? I've got an athlon-xp. > > And I'd like to just switch the new mobo and cpu "plug & play", > > without reinstalling and recompiling everything. > > My actual mother board is an asus a7v266 and my cpu an amd 1800+. > > I guess that if I don't want to recompile everything, I have to stick > > to AMD. But could I keep the old one or do I have to change my cpu if > > I change my mb? And buy new ram? > > What should I include in my kernel before installing the new card? > > > > And a stupid question to end: could it be the OO's compilation that > > freeze my box? > > More probably your CFLAGS. really? I tought those flags where safe and I've compiled and everything with those flags without problem until yesterday. -- mathieu -- [EMAIL PROTECTED] mailing list
[gentoo-user] new CPU & march=athlon-xp
Hello, Since two months, everything goes wrong in my pc: erratic disks, mb's chipset overheating... And since yesterday, my box has freezed 3 times (the three times during OO1.1 compilation). So I've decided to blame this on my mobo and to buy a new one, and I new CPU btw. (If you think that I'm wrong, thanks to warn me). I've compiled every app with the following flags: CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer" And I'd like to just switch the new mobo and cpu "plug & play", without reinstalling and recompiling everything. My actual mother board is an asus a7v266 and my cpu an amd 1800+. I guess that if I don't want to recompile everything, I have to stick to AMD. But could I keep the old one or do I have to change my cpu if I change my mb? And buy new ram? What should I include in my kernel before installing the new card? And a stupid question to end: could it be the OO's compilation that freeze my box? -- mathieu -- [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
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] 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] 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
Re: [gentoo-user] HDs dying. please save me
On Friday 12 September 2003 16:55, Andrew Farmer wrote: > You might want to check to see if the problem is the disks overheating. > That'd kill all of your disks just like you describe... how do I do that? -- 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] 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] 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
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