[gentoo-user] hdparm -Tt says: Hmm.. suspicious results
I have recently gotten Gentoo installed on a Sony Vaio PCG-C1XD; I am using Gentoo sources (linux-2.4.20-gentoo-r5) but it seems quite slow. Now I know it's only a little Pentium II, but I haven't even installed KDE, yet! It has 64meg RAM and 750meg of the 12 gig drive is swap. I arranged this swap as hda2, right after my /boot partition, as I believe this allows faster access. (?) hdparm says: omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.86 seconds = 18.66 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.07 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # /etc/init.d/hdparm start * Starting hdparm... * Running hdparm on disc0... [ ok ] omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.64 seconds = 19.28 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.06 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # Could this be the cause of my poor performance..? Certainly, activities involving many disc accesses seem to be particularly slow. At the end of an emerge sync, I'm sure the updating portage cache part is much faster on my other machine. Many thanks for any comments, Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hdparm -Tt says: Hmm.. suspicious results
Mine responds with: #hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.78 seconds =164.10 MB/sec Timing buffered disk reads: 64 MB in 3.33 seconds = 19.22 MB/sec # hdparm -Tt /dev/hdb /dev/hdb: Timing buffer-cache reads: 128 MB in 0.32 seconds =400.00 MB/sec Timing buffered disk reads: 64 MB in 1.42 seconds = 45.07 MB/sec However, I doubt this is so much the cause as it is another symptom try flipping your DMA flag on the drive. On Sat, 2003-06-07 at 06:55, Joe Stroller wrote: I have recently gotten Gentoo installed on a Sony Vaio PCG-C1XD; I am using Gentoo sources (linux-2.4.20-gentoo-r5) but it seems quite slow. Now I know it's only a little Pentium II, but I haven't even installed KDE, yet! It has 64meg RAM and 750meg of the 12 gig drive is swap. I arranged this swap as hda2, right after my /boot partition, as I believe this allows faster access. (?) hdparm says: omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.86 seconds = 18.66 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.07 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # /etc/init.d/hdparm start * Starting hdparm... * Running hdparm on disc0... [ ok ] omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.64 seconds = 19.28 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.06 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # Could this be the cause of my poor performance..? Certainly, activities involving many disc accesses seem to be particularly slow. At the end of an emerge sync, I'm sure the updating portage cache part is much faster on my other machine. Many thanks for any comments, Stroller. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] System responsiveness
Hi all, I've tried the latest 2.4.21-ac kernel sources (both r6 and r7) because my Compaq Evo N800c needs the latest acpi stuff that's available there. The system runs fine, but when I do something rather demanding (say, compiling a kernel, syncing the portage), the system seems to be much less responsive than the gentoo-2.4.20 that I've used before. The mouse stops every now and then, and it seems as if the computer almost came to a halt (for some seconds, not more). Until now I figured that Linux does state-of-the-art multithreading and scheduling, so why is it like this? What can I do to change it? Best regards, - Christian -- Christian Aust mailto:[EMAIL PROTECTED] icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator GPG: 3C89AD72 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] System responsiveness
On Sat, 2003-06-07 at 11:55, Christian Aust wrote: Hi all, I've tried the latest 2.4.21-ac kernel sources (both r6 and r7) because my Compaq Evo N800c needs the latest acpi stuff that's available there. The system runs fine, but when I do something rather demanding (say, compiling a kernel, syncing the portage), the system seems to be much less responsive than the gentoo-2.4.20 that I've used before. The mouse stops every now and then, and it seems as if the computer almost came to a halt (for some seconds, not more). Until now I figured that Linux does state-of-the-art multithreading and scheduling, so why is it like this? What can I do to change it? Best regards, hmmm, some generic ideas: do you have dma-enabled? did you enable low-latency-scheduling and preemptive-kernel options when compiling the kernel? you could increase the nice level of X gabor - Christian -- Don't worry. I used the back of my sword. Oh, it's double-sided. Sorry. -Zelgadis, Slayers signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] lightweight C IDE
On Sat, 2003-06-07 at 02:53, Matthias F. Brandstetter wrote: Hi all, I am searching for a *lightweight* C IDE, but not only an editor with syntax highlighting. Isn't there a nice tool with editor, compiler- and debugger-interface, C function help etc., but not as bombastic as KDevelop (only want to write some console and daemon C apps)? I would prefer a KDE app, but all others are welcome as well. Greetings, Matthias You could look to Source Navigator + Data Display Debugger. The first one lets you organize your sources, the second is a frontend for gdb. You could probably setup SN to call Emacs as and DDD when you need them. Maybe it's not as integrated as you desire, but they're very lightweight and powerful. emerge emacs snavigator ddd -- Arturo di Gioia [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good backup tool?
On Sat, Jun 07, 2003 at 12:39:09AM +0100, Peter Ruskin wrote: On Friday 06 Jun 2003 22:04, Jayson Garrell wrote: Are you using that 160GB drive on a ultra100 controller? If so thats why it's only using 127GB. I had the same thing, 33GB sounded a bit high for partition information, and got a ultra133 controller and it sees the full drive capacity. So that explains it. Yes, this is an ultra100. Thanks for the info. It might not be if the controller is ATA 100 or 133 but the limitations of non ATA-6 controller you may want to check out a bios upgrade before the cost of a new controller since earlier controllers can not see beyond 137GB. http://www.upgradingandrepairingpcs.com/articles/upgrade04_02_02.asp Peace Jim -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba
On Sat, 2003-06-07 at 09:34, Jamie Dobbs wrote: I have a bit of an odd Samba problem. I've got a Gentoo 1.4_rc4 box running CUPS and Samba sharing a printer on the network. I can print to it perfectly from my Gentoo box but Windows PCs (running W2K) cannot print to the printer in question. After much gnashing of teeth, searching the web, altering settings, searching the web some more, tearing our hair, I finally found the best guid to doing this at http://forums.gentoo.org/viewtopic.php?t=15637highlight=set+print+server These instructions work wonderfully and I can now print from linux and windows boxes to the Gentoo/samba/cups hosted printer. Hopefully this will be of use to others. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can I unmerge these duplicate pkgs ?
On Saturday 07 June 2003 01:45, Marius Mauch wrote: On Fri, 6 Jun 2003 13:50:29 -0400 R'twick Niceorgaw wrote: Hi I just ran qpkg --dup -v and got the following list. Is it safe to unmerge all older versions leaving just the latest version installed or will it give me any problems ? regards R'twick # qpkg --dups -v app-text/docbook-sgml-dtd-3.0-r1 app-text/docbook-sgml-dtd-3.1-r1 app-text/docbook-sgml-dtd-4.1-r1 app-text/docbook-sgml-dtd-4.0-r1 dev-libs/glib-1.2.10-r5 dev-libs/glib-2.2.1 sys-libs/db-1.85-r1 sys-libs/db-3.2.9-r2 x11-libs/gtk+-2.2.1 x11-libs/gtk+-1.2.10-r10 No, these have different slots, and most probably you'll want them all. Paul -- Paul de Vrieze Researcher Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net pgp0.pgp Description: signature
Re: [gentoo-user] anti-virus working or not ?
I think amavis will try to use clam daemon and if it is not running it will use clam command line scanner. Try: rc-update add clamd default Your scanner is working, but with daemon it will be faster. * Patrick Marquetecken [EMAIL PROTECTED] [06.06.03 21:09]: If a message comes in, i see this in /var/log/mail.log these errors below. t if i send the eicar.com virus test to myself the virus scanner place it in quarentine. All the mail have this header: X-Virus-Scanned: by AMaViS 0.3.12. I'm now wondering is my mail save ore not? Patrick Errors Jun 6 21:00:19 rivendell amavisd[4580]: starting. amavis 0.3.12 Fri May 30 13:10:54 CEST 2003 Jun 6 21:00:19 rivendell amavisd[4580]: Virus scanner failure: Clamd - can't connect to daemon -- panic(Oh boy, that early out of memory?); 2.2.16 /usr/src/linux/arch/mips/mm/init.c -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hdparm -Tt says: Hmm.. suspicious results
Hi Joe, Nachricht vom Samstag, 7. Juni 2003, 08:55:08: [...] hdparm says: [...] emerge bonnie++ That does a benchmark that shows the effect of your filesystem, and free-space-fragmentation, too, so you get the numbers that any application you are running gets. Timo -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] anti-virus working or not ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 07 June 2003 13:59, Patrick Marquetecken wrote: Thank Marc but the clam deamon is already running * clamd already installed in runlevel default; skipping Patrick It might only be the clam updater thats running check /etc/conf.d/clamd -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+4dVslDgijDJG3oERAr77AJ9TKMqp6dXSqydsQOYJIoVNSkxBqwCaAryP t/pqzOnhMSDq4n8vDPP6mNM= =zZvb -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] How can I permanently accept unstable ebuilds?
Hi all, I'd like to test gcc-3.3 and emerged sys-devel/gcc/gcc-3.3.ebuild. However, when I try to recompile another package, emerge -p would downgrade gcc first. How can I keep gcc-3.3, without upgrading all other packages by issuing ACCEPT_KEYWORDS=~x86? Best regards, - Christian -- Christian Aust mailto:[EMAIL PROTECTED] icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator GPG: 3C89AD72 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: How can I permanently accept unstable ebuilds?
Christian Aust [EMAIL PROTECTED] writes: *snip* downgrade gcc first. How can I keep gcc-3.3, without upgrading all other packages by issuing ACCEPT_KEYWORDS=~x86? Best regards, one solution would be to change the information in the ebuild of gcc-3.3 from ~x86 to x86. However that change will be overwritten by an emerge sync. hth, hartwig -- Hartwig Brandl | http://www.sbox.tugraz.at/home/h/hbrandl/ Student of Telematics, Graz University of Technology, Austria A computer without Microsoft is like a choclate cake without mustard. -- [EMAIL PROTECTED] mailing list
[gentoo-user] I borked by XMMS or ALSA...
I am using ALSA, and have the alsa plugin for xmms and as the message implies, xmms will not play mp3, ogg or wav files using the ALSA output plugin. It looks like it is playing them, but no sound comes out. If I use the eSound Output Plugin then XMMS plays, but the sound quality is so bad that I almost wish it didn't. :-/ OSS is also working OK. If I use aplay, I can play wav files. If I use mpg123, I can play mp3 files. If I use ogg123, I get this error: --- ALSA snd_pcm_hw_params_set_period_size error: Invalid argument Error: Cannot open device alsa09. --- Anyone have any thoughts? Larry -- [EMAIL PROTECTED] mailing list
[gentoo-user] php 4.3.2 virtual/mta
--2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Gentooers, Anybody else see this recently? !!! ERROR: dev-php/php-4.3.2 failed. !!! Function php_src_compile, Line 211, Exitcode 1 !!! You need a virtual/mta that provides /usr/sbin/sendmail My /var/cache/edb/virtuals contains an mta line as follows: virtual/mta net-mail/nbsmtp net-mail/ssmtp =20 Don't tell me that php _needs_ sendmail in particular. -Mike Arrison --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+4edw1NmL0av6/DARAg8rAJ437m6nd4knZeRVTaaWgPLobFKkAwCg6mNs JLc+6XXOtfmOTiaVRSL1+/o= =nFkb -END PGP SIGNATURE- --2oS5YaxWCcQjTEyO--
Re: [gentoo-user] Good backup tool?
On Saturday 07 Jun 2003 11:35, Jim Bailey wrote: It might not be if the controller is ATA 100 or 133 but the limitations of non ATA-6 controller you may want to check out a bios upgrade before the cost of a new controller since earlier controllers can not see beyond 137GB. http://www.upgradingandrepairingpcs.com/articles/upgrade04_02_02.asp Thanks for that Jim. I'm just downloading bios upgrades from gigabyte. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How can I permanently accept unstable ebuilds?
On Sat, 2003-06-07 at 14:17, Christian Aust wrote: Hi all, I'd like to test gcc-3.3 and emerged sys-devel/gcc/gcc-3.3.ebuild. However, when I try to recompile another package, emerge -p would downgrade gcc first. How can I keep gcc-3.3, without upgrading all other packages by issuing ACCEPT_KEYWORDS=~x86? Best regards, - Christian emerge -i sys-devel/gcc-3.2.2 This 'injects' the latest stable version of gcc (portage thinks it is installed so it doesn't require any downgrade). -- Arturo di Gioia [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: How can I permanently accept unstable ebuilds?
On Saturday 07 Jun 2003 14:24, Hartwig Brandl wrote: downgrade gcc first. How can I keep gcc-3.3, without upgrading all other packages by issuing ACCEPT_KEYWORDS=~x86? Best regards, one solution would be to change the information in the ebuild of gcc-3.3 from ~x86 to x86. However that change will be overwritten by an emerge sync. Copy the ebuild to your PORTDIR_OVERLAY (read /etc/make.conf) and change ~x86 to x86 there. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can I unmerge these duplicate pkgs ?
On Fri, 6 Jun 2003 13:50:29 -0400 R'twick Niceorgaw [EMAIL PROTECTED] wrote: Hi I just ran qpkg --dup -v and got the following list. Is it safe to unmerge all older versions leaving just the latest version installed or will it give me any problems ? regards R'twick # qpkg --dups -v app-text/docbook-sgml-dtd-3.0-r1 app-text/docbook-sgml-dtd-3.1-r1 app-text/docbook-sgml-dtd-4.1-r1 app-text/docbook-sgml-dtd-4.0-r1 dev-libs/glib-1.2.10-r5 dev-libs/glib-2.2.1 sys-libs/db-1.85-r1 sys-libs/db-3.2.9-r2 x11-libs/gtk+-2.2.1 x11-libs/gtk+-1.2.10-r10 Just don't tuch glib. I've removed it from my box and it wasn't able to compile most of the programs. Meka[ni] -- [EMAIL PROTECTED] mailing list
[gentoo-user] Gnome2 Truetype Fonts
when I log into gdm using root, truetype fonts are available to galeon other apps. however, when I log in as a user, truetype fonts are not available (though all the others are) i suspect permissions somewhere are stuffed. anyone got any suggestions? Regards, Yusuf - From Yusuf Nagree [EMAIL PROTECTED]
Re: [gentoo-user] hdparm -Tt says: Hmm.. suspicious results
On Saturday 07 June 2003 08:55, Joe Stroller wrote: I have recently gotten Gentoo installed on a Sony Vaio PCG-C1XD; I am using Gentoo sources (linux-2.4.20-gentoo-r5) but it seems quite slow. Now I know it's only a little Pentium II, but I haven't even installed KDE, yet! It has 64meg RAM and 750meg of the 12 gig drive is swap. I arranged this swap as hda2, right after my /boot partition, as I believe this allows faster access. (?) hdparm says: omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.86 seconds = 18.66 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.07 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # /etc/init.d/hdparm start * Starting hdparm... * Running hdparm on disc0... [ ok ] omf root # hdparm -Tt /dev/hda laptop-harddisks are slow, so this result is not suprising low. Putting swap to the beginning of the harddisk, is a good thing, but it can not cure slow hardware ;o) Glück Auf, Volker -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] System responsiveness
Hi, On Saturday 07 June 2003 12:04, gabor wrote: On Sat, 2003-06-07 at 11:55, Christian Aust wrote: you could increase the nice level of X I have read, that this is a bad idea (counterproductive) with the latest 2.4 and 2.5 kernels. Glück Auf Volker -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Partitions
On Friday 06 June 2003 23:29, Jean Magnan wrote: Hi all, I am planning to install gentoo instead of some other distro; I read the doc but found nothing about having more than /boot and / partitions. I wish to install at least a /home partition. What would do? Make the needed partitions, mount them, before you chroot into the directory-tree (like /mnt/gentoo /mnt/gentoo/usr /mnt/gentoo/var etc) While it compiles, you can easily edit fstab, and when your box reboots, everything is fine. I have: /dev/hda1 /boot /dev/hda5 / /dev/hda6 /tmp /dev/hdb1 /var /dev/hdb3 /home /dev/hdg1 swap /dev/hdg3 /usr/portage /dev/hdb2 /mnt/capture (for capturing from my bt848 based card) /dev/hde1 /mnt/win1 (old vfat formated partition used for files, tmp files etc once home of a win95b installation) /dev/hde2 /mnt/win2 (the old data-partition of the former one) /dev/sda1 /mnt/flash (usb stick) You should put /tmp and /var on own partitions. /tmp because everybody is allowed to fill it up.. and a full /-partition is no fun. /var is also prone to become huge.. so a seperate partition reduces the risk of annoying problems. /home on a own partition is a wise choice, because it is easy to reinstall your whole system, without damaging your precious data. Glück Auf Volker -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] php 4.3.2 virtual/mta
On Saturday 07 June 2003 15:24, Mike Arrison wrote: Gentooers, Anybody else see this recently? !!! ERROR: dev-php/php-4.3.2 failed. !!! Function php_src_compile, Line 211, Exitcode 1 !!! You need a virtual/mta that provides /usr/sbin/sendmail My /var/cache/edb/virtuals contains an mta line as follows: virtual/mta net-mail/nbsmtp net-mail/ssmtp Don't tell me that php _needs_ sendmail in particular. For the mail functionality of php (and many other applications) sendmail is needed indeed. If you don't care about mail capability in php you could use --nodeps to have php build anyway. Paul ps. Not that dev-php/php is the standalone php interpreter, NOT the apache module -- Paul de Vrieze Researcher Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net pgp0.pgp Description: signature
Re: [gentoo-user] Partitions
Le Samedi 7 Juin 2003 16:39, Hemmann, Volker Armin a écrit : On Friday 06 June 2003 23:29, Jean Magnan wrote: Hi all, I am planning to install gentoo instead of some other distro; I read the doc but found nothing about having more than /boot and / partitions. I wish to install at least a /home partition. What would do? Make the needed partitions, mount them, before you chroot into the directory-tree (like /mnt/gentoo /mnt/gentoo/usr /mnt/gentoo/var etc) While it compiles, you can easily edit fstab, and when your box reboots, everything is fine. I have: /dev/hda1 /boot /dev/hda5 / /dev/hda6 /tmp /dev/hdb1 /var /dev/hdb3 /home /dev/hdg1 swap /dev/hdg3 /usr/portage /dev/hdb2 /mnt/capture (for capturing from my bt848 based card) /dev/hde1 /mnt/win1 (old vfat formated partition used for files, tmp files etc once home of a win95b installation) /dev/hde2 /mnt/win2 (the old data-partition of the former one) /dev/sda1 /mnt/flash (usb stick) You should put /tmp and /var on own partitions. /tmp because everybody is allowed to fill it up.. and a full /-partition is no fun. /var is also prone to become huge.. so a seperate partition reduces the risk of annoying problems. /home on a own partition is a wise choice, because it is easy to reinstall your whole system, without damaging your precious data. Thank you Volker, this modus operandi is exactly what I needed ; Thanks to all others too; going for install now! cu in my next os, -- Jean -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] php 4.3.2 virtual/mta
Php does not require sendmail, you can use Qmail, postfix, exim or any other sendmail compatible mailer. You would then need to change the php.ini to reflect the location of the sendmail compatible binary (Qmail automaticly (or should) symlinks /var/qmail/bin/sendmail to /usr/lib/sendmail). You can also configure PHP to use SMTP as its mailer. Even though the php.ini file says that is a win32 setting, it does work in Linux. That said, a look in eclass/php.eclass we find [ -x /usr/sbin/sendmail ] || die You need a virtual/mta that provides /usr/sbin/sendmail! Perhaps the issues are not php related but a problem with the MTA ebuild we are using. Creating a the correct symlink should fix the problem -Original Message- From: Paul de Vrieze [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] php 4.3.2 virtual/mta On Saturday 07 June 2003 15:24, Mike Arrison wrote: Gentooers, Anybody else see this recently? !!! ERROR: dev-php/php-4.3.2 failed. !!! Function php_src_compile, Line 211, Exitcode 1 !!! You need a virtual/mta that provides /usr/sbin/sendmail My /var/cache/edb/virtuals contains an mta line as follows: virtual/mta net-mail/nbsmtp net-mail/ssmtp Don't tell me that php _needs_ sendmail in particular. For the mail functionality of php (and many other applications) sendmail is needed indeed. If you don't care about mail capability in php you could use --nodeps to have php build anyway. Paul ps. Not that dev-php/php is the standalone php interpreter, NOT the apache module -- Paul de Vrieze Researcher Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] bash HOME - END ?
I'm using gnome-terminal home = ^[OH end = ^[OF #env | grep TER COLORTERM=gnome-terminal TERM=xterm Can't check at the moment at console..will post later.. |Heh, I've just been through this. | |Does this happen on the console or only in X? | |If in X, what terminal emulator (xtern, rxvt, gnome-terminal, |konsole, ...) do you use? What codes do these keys produce (in |concole and X if different)? To see the codes, type: | |ctrl-vHome |ctrl-vEnd | -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good backup tool?
On Saturday 07 Jun 2003 14:39, Peter Ruskin wrote: On Saturday 07 Jun 2003 11:35, Jim Bailey wrote: It might not be if the controller is ATA 100 or 133 but the limitations of non ATA-6 controller you may want to check out a bios upgrade before the cost of a new controller since earlier controllers can not see beyond 137GB. http://www.upgradingandrepairingpcs.com/articles/upgrade04_02_02.as p Thanks for that Jim. I'm just downloading bios upgrades from gigabyte. Thanks again. After bios upgrade I now have a partition of 152.6GB instead of 127GB. Peter -- [EMAIL PROTECTED] mailing list
[gentoo-user] Iptables help
Hello, I am setting up a wireless network and am using gentoo with the hostap driver as a access point. I can both ping from and to the machine from a wireless device to the machine and from a wired device to the machine, but i can not ping from a wireless device to another wired device on the network. I have set up iptables according to how it should work my script is: #Activate ip_forward echo 1 /proc/sys/net/ipv4/ip_forward #Delete rules /sbin/iptables -P INPUT ACCEPT /sbin/iptables -F INPUT /sbin/iptables -P OUTPUT ACCEPT /sbin/iptables -F OUTPUT /sbin/iptables -P FORWARD DROP /sbin/iptables -F FORWARD /sbin/iptables -t nat -F #Apply new rules /sbin/iptables -A FORWARD -i wlan0 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT /sbin/iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT /sbin/iptables -A FORWARD -j LOG /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Thanks Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] stage3 install
On 6/6/03 3:18 pm, Mark Knecht [EMAIL PROTECTED] wrote: So what im thinking is emerge -e world, wont recompile the dependences of every thing, or will it? I am told now that it will. However, in reading the man page for emerge, I would not have guess that this was the purpose of the -e option. They must've rewritten the man page in the last 2 or 3 months since I've been using Gentoo. This used to be much more apparent. So will emerge -ed world be better? I do not know. -d is 'debug'. Are you possibly thinking of --deep ? I thought --deep was also specified as -D, but looking at the man page this morning I'm not seeing that. Maybe the man page needs updating? More likely I'm mistaken. I often use `emerge -u world --deep`, which is more comprehensive that `emerge -u world` but less so than `emerge -eu world`. And does a stage 3 install have all the required source code to recompile everything? If it doesn't, then Portage will download it. If previous posts have not already answered your question, then I recently made a stage3 install. Then once I had booted the system for the first time, I optimised my flags in make.conf (from the examples at http://tinyurl.com/dpzi ) and then ran `emerge -e world`. I believe this to have given me as highly optimised system as most, without the hassle of a long install time. HTH, Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hdparm -Tt says: Hmm.. suspicious results
On 7/6/03 3:31 am, Christopher Egner [EMAIL PROTECTED] wrote: On Sat, 2003-06-07 at 06:55, Joe Stroller wrote: ... hdparm says: omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.86 seconds = 18.66 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.07 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # /etc/init.d/hdparm start * Starting hdparm... * Running hdparm on disc0... [ ok ] omf root # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 6.64 seconds = 19.28 MB/sec Timing buffered disk reads: 64 MB in 6.36 seconds = 10.06 MB/sec Hmm.. [dodgy] results: probably not enough free memory for a proper test. omf root # Could this be the cause of my poor performance..? Certainly, activities involving many disc accesses seem to be particularly slow. At the end of an emerge sync, I'm sure the updating portage cache part is much faster on my other machine. Mine responds with: #hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.78 seconds =164.10 MB/sec Timing buffered disk reads: 64 MB in 3.33 seconds = 19.22 MB/sec # hdparm -Tt /dev/hdb /dev/hdb: Timing buffer-cache reads: 128 MB in 0.32 seconds =400.00 MB/sec Timing buffered disk reads: 64 MB in 1.42 seconds = 45.07 MB/sec However, I doubt this is so much the cause as it is another symptom try flipping your DMA flag on the drive. Thanks! How do I do that, please..? I thought that was what /etc/init.d/hdparm was for..? Stroller. -- [EMAIL PROTECTED] mailing list
[gentoo-user] avifile won't compile
I can't get either to compile stock 1.4 upto date. Same error on both dl_cpuclock_offset undefined. USE=arts kde -nls gnome -motif cups aalib directfb fbcon svga truetype X *** 0.7.32.20030219 *** i686-pc-linux-gnu-g++ -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -o .libs/aviplay actioncfg.o main.o playercontrol.o decoder_config.o configdialog.o configdialog_impl.o -Wl,-rpath -Wl,/usr/lib ../libavqt/.libs/libqavm.so -L/usr/qt/3/lib -lqt-mt ../lib/.libs/libaviplay.so -L/usr/lib -L/usr/kde/3.1/lib -L/usr/X11R6/lib /usr/kde/3.1/lib/libartsc.so -lXft /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lXrender /usr/lib/libSDL.so -lm -lartsc -lpthread -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lnsl -ldl -Wl,--rpath -Wl,/usr/kde/3.1/lib ../lib/.libs/libaviplay.so: undefined reference to `_dl_cpuclock_offset' collect2: ld returned 1 exit status make[1]: *** [aviplay] Error 1 make[1]: Leaving directory `/mnt/zeta/var/portage-tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/player' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.32.20030219 failed. !!! Function src_compile, Line 138, Exitcode 2 !!! (no error message) *** 0.7.37.2003052 *** make[1]: Entering directory `/mnt/zeta/var/portage-tmp/portage/avifile-0.7.37.20030522/work/avifile0.7-0.7.37/player' /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o aviplay actioncfg.o main.o playercontrol.o decoder_config.o configdialog.o configdialog_impl.o ../libavqt/libqavm.la -L/usr/qt/3/lib -lqt-mt ../lib/libaviplay.la -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lnsl -ldl i686-pc-linux-gnu-g++ -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o .libs/aviplay actioncfg.o main.o playercontrol.o decoder_config.o configdialog.o configdialog_impl.o -Wl,-rpath -Wl,/usr/lib ../libavqt/.libs/libqavm.so -L/usr/qt/3/lib -lqt-mt ../lib/.libs/libaviplay.so -L/usr/kde/3.1/lib -L/usr/X11R6/lib /usr/kde/3.1/lib/libartsc.so -lXft -lXrender /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so /usr/lib/libSDL.so -lm -lartsc -lpthread -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lnsl -ldl -Wl,--rpath -Wl,/usr/kde/3.1/lib ../lib/.libs/libaviplay.so: undefined reference to `_dl_cpuclock_offset' collect2: ld returned 1 exit status make[1]: *** [aviplay] Error 1 make[1]: Leaving directory `/mnt/zeta/var/portage-tmp/portage/avifile-0.7.37.20030522/work/avifile0.7-0.7.37/player' make: *** [all-recursive] Error 1 -- Kurt --- There is no good and evil; there is only power. -- [EMAIL PROTECTED] mailing list
[gentoo-user] OpenOffice compiling error
Hi, emerging (compiling) OpenOffice I got this error: collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi4.pro/lib/libsw641li.so' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.3-r1/work/oo_1.0.3_src/sw/util !!! ERROR: app-office/openoffice-1.0.3-r1 failed. !!! Function src_compile, Line 489, Exitcode 1 !!! Build failed! Well, I guess I can install the precompiled version. Do I have to clean up something after this failed compilation attempt? -- Best regards, Klaus -- Gentoo Linux = the better choice! -- [EMAIL PROTECTED] mailing list
[gentoo-user] re-claiming space - was: OpenOffice compiling error
On Saturday 07 June 2003 12:41 pm, Klaus D. Neumann wrote: Hi, emerging (compiling) OpenOffice I got this error: collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi4.pro/lib/libsw641li.so' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.3-r1/work/oo_1.0.3_src/sw/util !!! ERROR: app-office/openoffice-1.0.3-r1 failed. !!! Function src_compile, Line 489, Exitcode 1 !!! Build failed! Well, I guess I can install the precompiled version. Do I have to clean up something after this failed compilation attempt? O-oh! I know what's wrong. I ran out of space on my HD. What is the smartest way to reclaim the space of my old distro? I'd like to get rid of SuSE and make the space available for Gentoo. hda1 1.5G Win95 M$-Windows 98 hda2 32.6G Linux SuSE / hda3 725M Swap Gentoo hda4 Extended hda5 37M Linux Gentoo /boot hda6 4.1G Linux Gentoo / hdb1 3.8G Linux (SuSE /boot?) hdb2 400M Swap SuSE hdb3 18M FAT 16 no clue what's on here I'd like to keep hda1 containing Win98, and everything that belongs to Gentoo (hda3-5-6). Then I'd like to get rid of the rest and add it to hda6 (Gentoo /). -- Best regards, Klaus -- Gentoo Linux = the better choice! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OpenOffice compiling error
Hello! On 12:41 Sat 07 Jun, Klaus D. Neumann wrote: Hi, emerging (compiling) OpenOffice I got this error: collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi4.pro/lib/libsw641li.so' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.3-r1/work/oo_1.0.3_src/sw/util !!! ERROR: app-office/openoffice-1.0.3-r1 failed. !!! Function src_compile, Line 489, Exitcode 1 !!! Build failed! Well, I guess I can install the precompiled version. Do I have to clean up something after this failed compilation attempt? Take a look at /var/tmp/portage/ You can save some space by cleaning up it. Best regards, Andrew. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] lightweight C IDE
On Sat, 2003-06-07 at 02:53, Matthias F. Brandstetter wrote: Hi all, I am searching for a *lightweight* C IDE, but not only an editor with syntax highlighting. Isn't there a nice tool with editor, compiler- and debugger-interface, C function help etc., but not as bombastic as KDevelop (only want to write some console and daemon C apps)? I would prefer a KDE app, but all others are welcome as well. Greetings, Matthias You could look to Source Navigator + Data Display Debugger. The first one lets you organize your sources, the second is a frontend for gdb. You could probably setup SN to call Emacs as and DDD when you need them. Maybe it's not as integrated as you desire, but they're very lightweight and powerful. emerge emacs snavigator ddd -- Arturo di Gioia [EMAIL PROTECTED] I have to agree with Arturo on this one. If you want to go even lighter than that I'd dump ddd and snavigator and just use emacs. You will need gdb for debugging and I find emacs gud interface to gdb very functional after you take a few minutes fiddling with it. As far as organizing your source I would just put together a make file for each particular project and run a M-x compile. Also remember, C-h m this is your friend as it will give you a list of all the key-bindings for the particular mode you are in... i.e. C mode, gud mode etc. Cheers, Jason -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] re-claiming space - was: OpenOffice compiling error
Hello! On 12:54 Sat 07 Jun, Klaus D. Neumann wrote: On Saturday 07 June 2003 12:41 pm, Klaus D. Neumann wrote: Hi, emerging (compiling) OpenOffice I got this error: collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi4.pro/lib/libsw641li.so' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.3-r1/work/oo_1.0.3_src/sw/util !!! ERROR: app-office/openoffice-1.0.3-r1 failed. !!! Function src_compile, Line 489, Exitcode 1 !!! Build failed! Well, I guess I can install the precompiled version. Do I have to clean up something after this failed compilation attempt? O-oh! I know what's wrong. I ran out of space on my HD. What is the smartest way to reclaim the space of my old distro? I'd like to get rid of SuSE and make the space available for Gentoo. hda1 1.5G Win95 M$-Windows 98 hda2 32.6G Linux SuSE / hda3 725M Swap Gentoo hda4 Extended hda5 37M Linux Gentoo /boot hda6 4.1G Linux Gentoo / hdb1 3.8G Linux (SuSE /boot?) hdb2 400M Swap SuSE hdb3 18M FAT 16 no clue what's on here I'd like to keep hda1 containing Win98, and everything that belongs to Gentoo (hda3-5-6). Then I'd like to get rid of the rest and add it to hda6 (Gentoo /). I had the same situation (with unneede SuSE and lack of space). I have made following steps: 1. mkreiserfs /dev/_susepartition_ 2. mount it somewhere (/mnt/data would be OK) 3. move /usr/portage dir to it 4. edit make.conf and changed PORTDIR to /mnt/data/portage and PORTAGE_TMP_DIR to /mnt/data/portagetmp (don't forget to create last) 5. added mount point to /mnt/data to fstab That's all. Best regards, Andrew. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome2 Truetype Fonts
have you added the ttf module to your X config ? should be somthing like this Section Module [snip]... Load speedo Load type1 Load freetype ...[end snip] EndSection On Sat, 2003-06-07 at 10:17, Yusuf Nagree wrote: when I log into gdm using root, truetype fonts are available to galeon other apps. however, when I log in as a user, truetype fonts are not available (though all the others are) i suspect permissions somewhere are stuffed. anyone got any suggestions? Regards, Yusuf - From Yusuf Nagree [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: gkrellm and kmail
Thanks David! I was the original poster. I appreciate all the info! On Thursday 05 June 2003 06:00 pm, David wrote: Okay, posted how to on Forum at: http://forums.gentoo.org/viewtopic.php?p=354595#354595 if anyone is interested. -- Stand Fast, tjg. Timothy Grant www.craigelachie.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: gkrellm and kmail
Cool. Was wondering if it got to the original poster. :) On Saturday 07 June 2003 03:34 pm, Timothy Grant wrote: Thanks David! I was the original poster. I appreciate all the info! On Thursday 05 June 2003 06:00 pm, David wrote: Okay, posted how to on Forum at: http://forums.gentoo.org/viewtopic.php?p=354595#354595 if anyone is interested. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] bash HOME - END ?
[top-posting is evil] On Sat, Jun 07, 2003 at 06:39:25PM +0300, raptor wrote: I'm using gnome-terminal home = ^[OH end = ^[OF #env | grep TER COLORTERM=gnome-terminal TERM=xterm Can't check at the moment at console..will post later.. Make sure your /etc/inputrc has these codes: \eOH: beginning-of-line \eOF: end-of-line In my stock inputrc file it looks like this: # # Home and End # $if term=xterm # # Normal keypad and cursor of xterm # \e[1~:history-search-backward \e[4~:set-mark \e[H: beginning-of-line \e[F: end-of-line # Home and End of application keypad and cursor of xterm \eOH: beginning-of-line \eOF: end-of-line $else .. etc which should work for you as long as your TERM is set to xterm. -- I am the permanent milk monitor of all hobbies! -- Simon Quinlank -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Partitions
On Sat, 7 Jun 2003 16:39:11 +0200 Hemmann, Volker Armin [EMAIL PROTECTED] wrote: On Friday 06 June 2003 23:29, Jean Magnan wrote: Hi all, I am planning to install gentoo instead of some other distro; I read the doc but found nothing about having more than /boot and / partitions. I wish to install at least a /home partition. What would do? Make the needed partitions, mount them, before you chroot into the directory-tree (like /mnt/gentoo /mnt/gentoo/usr /mnt/gentoo/var etc) While it compiles, you can easily edit fstab, and when your box reboots, everything is fine. I have: /dev/hda1 /boot /dev/hda5 / /dev/hda6 /tmp /dev/hdb1 /var /dev/hdb3 /home /dev/hdg1 swap /dev/hdg3 /usr/portage ...snip... You should put /tmp and /var on own partitions. /tmp because everybody is allowed to fill it up.. and a full /-partition is no fun. /var is also prone to become huge.. so a seperate partition reduces the risk of annoying problems. /home on a own partition is a wise choice, because it is easy to reinstall your whole system, without damaging your precious data. How big did you make your partitions? specifically, /home, /var and /tmp? I am fixing to do the same when I have a day off from work, I have a secondary drive (/dev/hdc) that's going bad that has a different distro on it, so I am fixing to move the old win drive (/dev/hda) to it's place and put a brand new shiny 80gb on /dev/hda, install gentoo on it, then back up/dev/hdb and slice it up for /home and /var and /tmp. I figure I can chroot-install gentoo on the new drive so I won't have too much down time. -- When the government bureau's remedies don't match your problem, you modify the problem, not the remedy. -- [EMAIL PROTECTED] mailing list
[gentoo-user] ircd advice ?
Hi everyone, I would like to set up a little ircd for our local network. I know this can be working as I had one once running under SuSE. The last ours I tried this under gentoo. I tried dancer-ircd and cyclone and I even a self-compiled ircd from irc.org. Nothing worked! :( cyclone and ircd didn't start. dancer-ircd started but refused all connections. Has anyone a little idea would could be wrong? Which ircd would you suggest? Arnold -- Get my public-key from pgp.mit.edu or pgp.uni-mainz.de --- Hi, I am a .signature virus. Please copy me into your ~/.signature and send me to all your contacts. After a month or so log in as root and do a rm / -rf. Or ask your administrator to do so... pgp0.pgp Description: signature
Re: [gentoo-user] Gnome2 Truetype Fonts
yes - that's in there i works fine when logged in as root, but not as a non-root user On Sun, 2003-06-08 at 04:05, Nicholas Hockey wrote: have you added the ttf module to your X config ? should be somthing like this Section Module [snip]... Load speedo Load type1 Load freetype ...[end snip] EndSection On Sat, 2003-06-07 at 10:17, Yusuf Nagree wrote: when I log into gdm using root, truetype fonts are available to galeon other apps. however, when I log in as a user, truetype fonts are not available (though all the others are) i suspect permissions somewhere are stuffed. anyone got any suggestions? Regards, Yusuf - From Yusuf Nagree [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
[gentoo-user] How to change Login prompt
How can I change my login prompt to display the 'terminal' (tty?) number in the prompt after the hostname? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to change Login prompt
Check man bash for details on setting the prompt. How can I change my login prompt to display the 'terminal' (tty?) number in the prompt after the hostname? -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] php 4.3.2 virtual/mta
On Sat, Jun 07, 2003 at 09:24:00AM -0400, Mike Arrison wrote: Gentooers, Anybody else see this recently? !!! ERROR: dev-php/php-4.3.2 failed. !!! Function php_src_compile, Line 211, Exitcode 1 !!! You need a virtual/mta that provides /usr/sbin/sendmail My /var/cache/edb/virtuals contains an mta line as follows: virtual/mta net-mail/nbsmtp net-mail/ssmtp Don't tell me that php _needs_ sendmail in particular. It doesn't. /usr/bin/sendmail is NOT the same as the Sendmail package. /usr/bin/sendmail is a generic program that is can be used from the commandline to send emails. ALL virtual/mta packages should provide it. If they don't, then they are broken. I personally know that both Sendmail and Qmail ebuilds do provide it (I have confirmed it myself I mean). If somebody could point out a virtual/mta that doesn't then we will see about getting it fixed. The check originated because of some people that had custom MTA installs, and forgot to create a symlink for /usr/bin/sendmail, and then wondered why the PHP compile was failing. -- Robin Hugh Johnson E-Mail : [EMAIL PROTECTED] Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 pgp0.pgp Description: PGP signature
[gentoo-user] i2c Unresolved symbols in modules
I built a test kernel with i2c /proc option and that worked. However, to run sensors-detect I need the /dev option so I went back to menuconfig and checked it. I did make dep make clean bzImage modules modules_install and got the errors shown below (these are from bug 10629 - I have 2.4.20-xfs-r3). Bugzilla lists this and the comment from Brandon is this is not a bug - we have to insure the deps we build this agains are the same we build the kernel with. Okay - how do I do that??? This kernel is the same one I've been running with for a couple of weeks, same /usr/src/linux tree. I built the kernel with the /proc i2c option with no problem - booted it and it worked - so I just went back and added the /dev option. Now it's broken. I tried running make mrproper, restoring my .config and running the make dep command. I also tried make clean. None of that works. I even did depmod -a before building these. Any ideas on how to get the modules to insure my deps are proper? Thanks. depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-i810.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-savage 4.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-via.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-voodoo 3.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Partitions
Hi, On Sunday 08 June 2003 01:45, [EMAIL PROTECTED] wrote: On Sat, 7 Jun 2003 16:39:11 +0200 Hemmann, Volker Armin [EMAIL PROTECTED] wrote: You should put /tmp and /var on own partitions. /tmp because everybody is allowed to fill it up.. and a full /-partition is no fun. /var is also prone to become huge.. so a seperate partition reduces the risk of annoying problems. /home on a own partition is a wise choice, because it is easy to reinstall your whole system, without damaging your precious data. How big did you make your partitions? specifically, /home, /var and /tmp? I am fixing to do the same when I have a day off from work, I have a secondary drive (/dev/hdc) that's going bad that has a different distro on it, so I am fixing to move the old win drive (/dev/hda) to it's place and put a brand new shiny 80gb on /dev/hda, install gentoo on it, then back up/dev/hdb and slice it up for /home and /var and /tmp. I figure I can chroot-install gentoo on the new drive so I won't have too much down time. /dev/hda6 3.4G 1.7G 1.7G 50% /tmp /dev/hdb1 3.8G 1.7G 2.1G 46% /var /dev/hdb3 12G 9.5G 1.9G 84% /home /tmp and /var are very 'full', lots of undeleted tmp-stuff... If you realy use your installation, /home can't be big enough... (imho of course). Glück Auf, Volker -- [EMAIL PROTECTED] mailing list
[gentoo-user] Python and CGI?
Hi everyone, I'm curious if anyone has any input on how python is for web based applications -- handling forms, querying databases, and all that other fun stuff. I know things like Perl and PHP are used everyday for many many web and cgi applications. But how about Python? Cheers, Mike -- And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-) --Larry Wall in [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to change Login prompt
On Sunday 08 Jun 2003 01:13, Jamie Dobbs wrote: How can I change my login prompt to display the 'terminal' (tty?) number in the prompt after the hostname? Edit or create /etc/issue to contain, for example: Gentoo Linux on \l ...the \l gives the tty Peter -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: I built a test kernel with i2c /proc option and that worked. However, to run sensors-detect I need the /dev option so I went back to menuconfig and checked it. I did make dep make clean bzImage modules modules_install and got the errors shown below (these are from bug 10629 - I have 2.4.20-xfs-r3). Bugzilla lists this and the comment from Brandon is this is not a bug - we have to insure the deps we build this agains are the same we build the kernel with. Okay - how do I do that??? This kernel is the same one I've been running with for a couple of weeks, same /usr/src/linux tree. I built the kernel with the /proc i2c option with no problem - booted it and it worked - so I just went back and added the /dev option. Now it's broken. I tried running make mrproper, restoring my .config and running the make dep command. I also tried make clean. None of that works. I even did depmod -a before building these. Any ideas on how to get the modules to insure my deps are proper? Thanks. depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-i810.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-savage 4.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-via.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-voodoo 3.o depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db This looks like a bug to me - it's been around ages. Whenever I emerge lm-sensors (usually following a kernel build) I follow with this: rm /lib/modules/$(uname -r)/misc/i2c-hydra.o rm /lib/modules/$(uname -r)/misc/i2c-i810.o rm /lib/modules/$(uname -r)/misc/i2c-savage4.o rm /lib/modules/$(uname -r)/misc/i2c-via.o rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o ...because they _always_ give unresolved symbols. Peter -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
Okay, thanks. Unfortunately someone at Gentoo feels it's not a bug so it's listed as Resolved, Invalid so I doubt if we'll see it fixed then. On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: I built a test kernel with i2c /proc option and that worked. However, to run sensors-detect I need the /dev option so I went back depmod: i2c_bit_del_bus_R88f4afaf depmod: i2c_bit_add_bus_R933524db This looks like a bug to me - it's been around ages. Whenever I emerge lm-sensors (usually following a kernel build) I follow with this: rm /lib/modules/$(uname -r)/misc/i2c-hydra.o rm /lib/modules/$(uname -r)/misc/i2c-i810.o rm /lib/modules/$(uname -r)/misc/i2c-savage4.o rm /lib/modules/$(uname -r)/misc/i2c-via.o rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o ...because they _always_ give unresolved symbols. Peter -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hdparm -Tt says: Hmm.. suspicious results
On Sat, 2003-06-07 at 20:06, Stroller wrote: Thanks! How do I do that, please..? I thought that was what /etc/init.d/hdparm was for..? http://forums.gentoo.org/viewtopic.php?p=337306#337306 Or more simply: hdparm -d1 /dev/hdX -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Python and CGI?
I don't know about all that, but am getting back into Python right now. As far as databases, I am currently writing an app to do some stock analysis for me. Beancounter (perl) didn't do everything I wanted and figured I would write my own to learn. Haven't written much, but so far have been able to create database tables and do error checking, create database,... for MySQL. There is a mysqldb module for it, I think one for postrgresql also and a few others. So as far as databases, looks fine to me from my limit experience. On Sun, 8 Jun 2003 01:05:31 + (UTC) [EMAIL PROTECTED] wrote: Hi everyone, I'm curious if anyone has any input on how python is for web based applications -- handling forms, querying databases, and all that other fun stuff. I know things like Perl and PHP are used everyday for many many web and cgi applications. But how about Python? Cheers, Mike -- And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-) --Larry Wall in [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org -- [EMAIL PROTECTED] mailing list TEXTAREA NAME=Signature ROWS=4 COLS=60 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
That did it! Thanks a bunch. Hmm, not a bug G. On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: I built a test kernel with i2c /proc option and that worked. This looks like a bug to me - it's been around ages. Whenever I emerge lm-sensors (usually following a kernel build) I follow with this: rm /lib/modules/$(uname -r)/misc/i2c-hydra.o rm /lib/modules/$(uname -r)/misc/i2c-i810.o rm /lib/modules/$(uname -r)/misc/i2c-savage4.o rm /lib/modules/$(uname -r)/misc/i2c-via.o rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o ...because they _always_ give unresolved symbols. Peter -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to change Login prompt
Brett I. Holcomb wrote: Check man bash for details on setting the prompt. How can I change my login prompt to display the 'terminal' (tty?) number in the prompt after the hostname? I'm pretty sure that's not what he was asking. A '\l' in the /etc/issue file will be replace with the device name of the current tty. Check the manpage for agetty for more details. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gdm isn't starting
On Sun Jun 08, 2003 at 12:47:49AM +0100 or thereabouts, Paulo J. Matos wrote: Hi all, I think I'm missing something simple but I don't know what it is. I have configured in rc.conf to start gdm along with gnome but it is not starting gdm when I reboot. It goes to the terminal prompt where it asks for username and password. What am I missing? Best regards, Paulo Matos -- [EMAIL PROTECTED] mailing list Greetings! Did you remember to run rc-update add gdm default do that gdm starts at boot time? -- Regards, Mike [EMAIL PROTECTED] Don't Fear The Penguin. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hdparm -Tt says: Hmm.. suspicious results
On 8/6/03 3:05 am, Dhruba Bandopadhyay [EMAIL PROTECTED] wrote: On Sat, 2003-06-07 at 20:06, Stroller wrote: Thanks! How do I do that, please..? I thought that was what /etc/init.d/hdparm was for..? http://forums.gentoo.org/viewtopic.php?p=337306#337306 Or more simply: hdparm -d1 /dev/hdX I think that's set by: [EMAIL PROTECTED] stroller $ cat /etc/conf.d/hdparm # You can either set hdparm arguments for each drive using # disc*_args and cdrom*_args.. eg. # disc0_args=-d1 -X66 # disc1_args-d1 # cdrom0_args=-d1 # Or, you can set hdparm options for ALL drives using all_args.. # eg. # this mimics the behaviour of the current script all_args=-d1 [EMAIL PROTECTED] stroller $ Isn't it..? As you can see from my original post, I've tested before after starting /etc/init.d/hdparm. Does this mean anything to anyone..? [EMAIL PROTECTED] stroller $ sudo /sbin/hdparm -i /dev/hda /dev/hda: Model=IBM-DARA-212000, FwRev=AR4OA53A, SerialNo=AH0AHJ80443 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=16 CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=23579136 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 udma3 udma4 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17: 1 2 3 4 [EMAIL PROTECTED] stroller $ Maybe this hard-drive is just a particularly slow one, as Volker suggests..? But is seems SO considerably much slower than all the other hdparm results I've seen posted. 8-[ Thanks in advance for any comments, Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Dialup sucks, but I need gentoo ...
On 2003.06.06 14:41, Phil Sexton wrote: On Fri, 2003-06-06 at 14:17, Rob Harris wrote: ... at home, built from stage1. Is there an .iso/script/etc somewhere that I can use to figure out what packages/updates/etc I will need to build each stage, download them at work, and, say burn 'em to a cd, bring em home, and move them somewhere where the stage-n installers would find/use them? Also, as goofy as this sounds, and as awesome as gentoo is, it really needs an automated installation tool. I say this, 'cause if the answer to my first question is sorry, no. then it's going to take an entire weekend to download, compile and install everything and I can't spend all my time babysitting it. I got dialup. http://forums.gentoo.org/viewtopic.php?t=2022 Just figure out what you want to install and paste what you want into one long emerge command after building the basic system and updating it. If something breaks, it will stop and wait on you to fix, if it doesn't, it continues building and installing. -- Phil Our 2nd CD: http://www.cdbaby.com/naomisfancy Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html Okay, I'm thinking from the sounds of it, you have access to gentoo already. What I would do is run: emerge -ep list-of-stuff-you-will-want That will print out a list of all packages you will need. You could then do the same with '-ep' instead of '-eu' to fetch those packages. You can then burn the /usr/portage/ folder. This way you will also skip the rsync command (as it might at this point contain different versions of packages than you downloaded previously). Now, the only problem is that the bootstrap.sh script is not always up to date with portage. You will have to look inside it to see if it lists the version numbers for packages it will install. I have not tested replacing all of /usr/portage, so you might have some difficulties with that, I'm not sure. Maybe somebody could answer that. -Chris I No wonder you're tired! You understood so much today. pgp0.pgp Description: PGP signature
Re: [gentoo-user] re-claiming space - was: OpenOffice compiling error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Kirilenko wrote: | Hello! | | On 12:54 Sat 07 Jun, Klaus D. Neumann wrote: | |On Saturday 07 June 2003 12:41 pm, Klaus D. Neumann wrote: | | | I had the same situation (with unneede SuSE and lack of space). I have | made following steps: | | 1. mkreiserfs /dev/_susepartition_ | 2. mount it somewhere (/mnt/data would be OK) | 3. move /usr/portage dir to it | 4. edit make.conf and changed PORTDIR to /mnt/data/portage and | PORTAGE_TMP_DIR to /mnt/data/portagetmp (don't forget to create last) | 5. added mount point to /mnt/data to fstab | | That's all. | | Best regards, | Andrew. | | -- | [EMAIL PROTECTED] mailing list | I'd like to add that I did the same thing with my redhat partition some months ago. I used the free space for /var by booting to the minimal install cd and making the new filesystem on my old rh partition, then moving everything in /var over to my new partition. Then i edited fstab to mount my new partition at /var. If you need more verbose instructions than this, just ask. - -- - - William F. Pearson, III [EMAIL PROTECTED] www.techwill.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+4s9cpfPDiNqvYvURAjHZAJ9X0WVeg8G05kT94vsk20csLg9E/ACeKdje N4zdIkDvx+iUZ+ay3ECGw3c= =ySzZ -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list