Re: [gentoo-user] Module philosophy: Compile-in or Load
On Mon, 12 Jun 2006, Anthony E. Caudel wrote: I was wondering what gentoo-users think and practice about kernel modules. Do most compile them in the kernel or load them at boot-up. Note that I'm _NOT_ talking about those modules that have to be compiled in such as for your filesystem. This is about the other ones. I generally like to load them at boot-up. One reason is that I have heard that for suspend or hibernate to work, some modules have to be unloaded. On the other hand, compiling them in results in faster boot times. So, what do gentoo-users think? Tony I have never used any modules that I didn't have to. At this point, I use none. They are all compiled into the kernel, because I don't have a point to unloading or loading. The only point for modules in any of my experience is if you're often changing hardware (possibly a laptop with a base station... or something?) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
Teresa and Dale wrote: Care to guess how much I like modules: [EMAIL PROTECTED] / # lsmod Module Size Used by nvidia 4551892 12 [EMAIL PROTECTED] / # I would have that one in there if I could. I never did like them. Why? -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
Anthony E. Caudel wrote: I was wondering what gentoo-users think and practice about kernel modules. Do most compile them in the kernel or load them at boot-up. Note that I'm _NOT_ talking about those modules that have to be compiled in such as for your filesystem. This is about the other ones. I generally like to load them at boot-up. One reason is that I have heard that for suspend or hibernate to work, some modules have to be unloaded. On the other hand, compiling them in results in faster boot times. So, what do gentoo-users think? Tony I have 23 modules (loaded), most related to the soundcard, and a few related to nvidia, a few for the webcam. It appears I could unload 4 modules but the rest are necessary, and cannot be compiled inside the kernel without breaking functionality of other drivers, or applications. -Kristian -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
oh, there is one thing where it is useful to have modules. That would be projects where the codebase will be updated more often than you update your kernels (I'm looking at you ALSA). In those circumstances it may be more valuable to have the flexibility to update code without having to reboot (or kexec). On 6/12/06, Mike Huber [EMAIL PROTECTED] wrote: Well, all mileage may vary. Personally, I prefer to not have things loaded into the kernel when I'm not using them. It's not really a performance or a memory saving thing, but more of an OCD thing. I'm sure that, in the grand scheme of things, the little time/power/whatever I save by keeping them out of the kernel is far outweighed by the amount of time it takes to type modprobe x when i remember I need to load the thing. Afterall, my time at the command prompt is significantly more valuable than a few extra cycles, or an extra 70-500K memory footprint. The thing is, it really depends on how clean you keep your kernel config. If you seriously go through the kernel config an make sure that you only select the things which are appropriate for your system, then you're fine. I've known people who just have almost everything built as a module, and let kernel autoloading take care of figuring out which one they need for their system (yes, terribly stupid and inelegant, but it does solve the problem when you don't know how else to do it). Also, compiling a whole tree of modules can be a simple way of figuring out exactly which set of code corresponds to your chipset, but that is not relevant to the current discussion. Basically, I'd say that if it doesn't matter how the thing is loaded into the kernel (I.E., no outside code relies on it being a module), and if it's going to be loaded more than some threshold percentage of time, just build it in. Unless you are facing some weird constraints, anything resembling modern hardware can handle the slightly larger kernel, and if you are facing those constraints, you probably already know what you're doing much better than I'll ever be able to say. As a side question for the list, when you load a module, you can pass module options to it (at least, last I checked, this could be done to specify things like the name of the interface on an internet driver, debugging level, etc...). When you build something into the kernel, is there an easy way to pass such options off to it? boot time options? anyone know? --Mike On 6/12/06, Steven Susbauer [EMAIL PROTECTED] wrote: On Mon, 12 Jun 2006, Anthony E. Caudel wrote: I was wondering what gentoo-users think and practice about kernel modules. Do most compile them in the kernel or load them at boot-up. Note that I'm _NOT_ talking about those modules that have to be compiled in such as for your filesystem. This is about the other ones. I generally like to load them at boot-up. One reason is that I have heard that for suspend or hibernate to work, some modules have to be unloaded. On the other hand, compiling them in results in faster boot times. So, what do gentoo-users think? Tony I have never used any modules that I didn't have to. At this point, I use none. They are all compiled into the kernel, because I don't have a point to unloading or loading. The only point for modules in any of my experience is if you're often changing hardware (possibly a laptop with a base station... or something?) -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] KDE no longer rendering fonts properly
What happened to my KDE 3.5.3? The fonts are gone sorta -- at least to the point that makes KDE unusable. If I fire up a terminal, the window is black, but I can see that things are happening, as the cursor will move. but no text shows. if i do an 'ls' for example, i can see something 'scrolling' as the bar on the right moves, but no text is rendered. highlighting all the text in the window will reveal red/blue/etc inverse areas which i assume are directories, tarballs, etc... my clock applet is 'blank', but if i roll over it, i see the time in the bubble that pops up. most menus are blank, but I can see the underscore of where the hotkey would be. if I click on the menu, it 'blinks' very fast the text that should be there. this is the same for buttons. they show up until i roll the mouse onto them, then the text vanishes but i see the underscore. all the icons on my desktop are there, and the text under them is 'black' (like the shadow text), but the white text that used to be over the black is gone. firefox will show some text, then vanish, but if i drag/highlight all the text on the page, it comes back. Gnome works just fine -- in fact, that's how I'm typing this right now since KDE is hosed. I did an emerge update on friday and all seemed well. i use an nVidia card and i purposefully did not do the xorg-7.1 as it was a blocker with nVidia drivers. gcc-3.4.5 xorg-7.0 nvidia-1.0.8762 kde-3.5.3 kde was working fine. i had rebooted and such after the upgrade from 3.5.2 to verify. here are the last few things i emerged that could have any relevance: Fri Jun 9 01:00:22 2006 kde-base/kdepim-3.5.3 Fri Jun 9 01:13:50 2006 kde-base/kdeartwork-3.5.3 Fri Jun 9 02:02:14 2006 kde-base/kdegames-3.5.3 Fri Jun 9 03:03:28 2006 kde-base/kdemultimedia-3.5.3 Fri Jun 9 03:38:41 2006 kde-base/kdeaddons-3.5.3 Fri Jun 9 04:58:46 2006 kde-base/kdenetwork-3.5.3 Fri Jun 9 05:10:35 2006 kde-base/kdeadmin-3.5.3 Fri Jun 9 05:49:52 2006 kde-base/kdewebdev-3.5.3 Fri Jun 9 06:36:05 2006 kde-base/kdegraphics-3.5.3 Fri Jun 9 07:27:37 2006 kde-base/kdeedu-3.5.3 Fri Jun 9 07:58:41 2006 kde-base/kdeutils-3.5.3 Fri Jun 9 08:04:36 2006 kde-base/kdetoys-3.5.3 Fri Jun 9 08:04:45 2006 kde-base/kde-3.5.3 Fri Jun 9 11:44:55 2006 kde-base/kde-3.5.3 Fri Jun 9 12:09:35 2006 media-libs/mesa-6.5-r3 Fri Jun 9 12:40:43 2006 app-doc/xorg-docs-1.2 Fri Jun 9 12:44:56 2006 net-libs/libsoup-2.2.93 Fri Jun 9 12:45:52 2006 net-misc/neon-0.25.5 Fri Jun 9 13:18:15 2006 media-libs/xine-lib-1.1.2_pre20060328-r9 Fri Jun 9 13:18:46 2006 dev-util/scons-0.96.1 Fri Jun 9 13:22:01 2006 app-text/poppler-0.5.3 Fri Jun 9 13:23:51 2006 app-text/poppler-bindings-0.5.3 Fri Jun 9 13:32:07 2006 gnome-base/gdm-2.14.8 Fri Jun 9 14:20:25 2006 sys-apps/hal-0.5.5.1-r3 Fri Jun 9 14:20:29 2006 gnome-extra/hal-device-manager-0.5-r1 Fri Jun 9 15:29:24 2006 x11-libs/libXft-2.1.10 Fri Jun 9 15:30:33 2006 x11-terms/xterm-207-r1 Fri Jun 9 16:05:17 2006 x11-base/xorg-server-1.1.0 Fri Jun 9 16:05:53 2006 x11-drivers/xf86-video-vesa-1.2.1 Fri Jun 9 16:06:42 2006 x11-drivers/xf86-video-nv-1.1.2 Fri Jun 9 16:07:14 2006 x11-drivers/xf86-video-fbdev-0.3.0 Fri Jun 9 16:07:49 2006 x11-drivers/xf86-input-mouse-1.1.1 Fri Jun 9 16:08:22 2006 x11-drivers/xf86-input-keyboard-1.1.0 Fri Jun 9 16:09:04 2006 x11-libs/libXcursor-1.1.7 Fri Jun 9 16:09:23 2006 x11-apps/mesa-progs-6.5 Fri Jun 9 16:13:25 2006 x11-libs/vte-0.12.2 Fri Jun 9 16:13:47 2006 x11-misc/xbindkeys-1.7.2-r1 I read my /var/log/portage-logs and didn't notice anything that needed to be done? I also had done a revdep-rebuild but again nothing really that should effect this (mutisync and a few other peripheral apps). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't run `X -configure' successfully.
On Monday 12 June 2006 03:10, gentuxx wrote: david wrote: Try changing /dev/mouse to /dev/input/mice or /dev/psaux OK, that worked as far as getting a running config. Now I just have to figure out what the scan rates are for my monitor. Most modern monitors report that to Xorg during start-up and it's in Xorg.0.log (easier than finding the manual). Example: (II) RADEON(0): EDID data from the display on port 2--- (II) RADEON(0): Manufacturer: SAM Model: 2d Serial#: 1095643449 [snip] (II) RADEON(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 85 kHz, PixClock max 190 MHz -- If only me, you and dead people understand hex, how many people understand hex? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list
[gentoo-user] Introduction - new list user
Hi, I thought I'd introduce myself as someone new to the list - good netiquette and all. I've been a very happy very contented gentoo user for over a year, and if I had more bandwidth my life would be complete :-) My question is, what are the local rules around here for how to behave on list? I'm very much old school, and prefer lists over forums - in my world top posting, no snipping, HTML mail and hi-jacking threads are a huge no-no, pretty much strict RFC1855 compliance :-) alan -- If only me, you and dead people understand hex, how many people understand hex? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I usualy start with a kernel with almost everything compiled in (but only things I definitely need), only using modules when I have to (USB for suspend2 comes to my mind). Over time whenever I need something new (filesystem, hardware driver,...) I tend to compile it as a module to avoid a reboot. As I do not upgrade my kernel very often this happens more often than you might think (last upgrade was from 2.6.11 to 2.6.16, on my laptop from 2.6.10 to 2.6.16). I don't really care about the 300k more used memory (hardly worth a thought on systems with 1 GB RAM and more) or the 0.3 seconds faster boot process. Modules just come in handy when it comes to avoiding a reboot. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjShO6q4f+IV6B/wRAqqVAJ4nJm00PUpjPWQKEXii+j3vN/8zowCfQImC +m69YW947xYOCsZM+sUyqTA= =FNqr -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Introduction - new list user
On 6/12/06, Alan McKinnon [EMAIL PROTECTED] wrote: My question is, what are the local rules around here for how to behave on list? I'm very much old school, and prefer lists over forums - in my world top posting, no snipping, HTML mail and hi-jacking threads are a huge no-no, pretty much strict RFC1855 compliance :-) You'll do just fine here! About the only other thing I've seen people get upset about is large messages/attachments. Some poor souls have to pay by the byte for bandwidthso be a bit careful if you ever need to post a log file or output of a long emerge. Welcome to the list, -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] prevent udev from loading a kernel module
I haven't been able to figure out how to prevent that the new udev (090) loads the ipw2100 (wireless lan) during boot. I don't use it very often, and I have set the button that enables/disables the transmitter to also load/unload the kernel module. Any hints or pointers appreciated? -- Bo Andresen pgp9g7MleJZUI.pgp Description: PGP signature
[gentoo-user] freenet
In china, we have no access to freenet because of government. Does anybody send me the freenet-0.5.2.1-r8 copy directly? Thank you -- Shaochun Wang(王绍春) [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] FF 1.5.0.4 about:cache problem
Hi guys, I probably hit a bug in a linux (non-windows) version of Firefox. If you are using FF 1.5.0.4 can you please try if about:cache works for you after the steps listed below: 1. Type about:cache into location bar and make sure about:cache works 2. Go to any other url. about:blank for example 3. Go to Edit-Preferences-Privacy-Cache and select 'Clear Cache Now' 4. Try about:cache again Does it work for you? Are you you using a binary/source build? Thanks, Sasha -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] FF 1.5.0.4 about:cache problem
On Monday 12 June 2006 11:38, Alexander Kirillov wrote: Does it work for you? Nope, not until I have restarted Firefox. Are you you using a binary/source build? Source on ~x86. -- Bo Andresen pgpFcTBejX2pD.pgp Description: PGP signature
Re: [gentoo-user] prevent udev from loading a kernel module
On 6/12/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: I haven't been able to figure out how to prevent that the new udev (090) loads the ipw2100 (wireless lan) during boot. I don't use it very often, and I have set the button that enables/disables the transmitter to also load/unload the kernel module. Any hints or pointers appreciated? The most reliable method I have found is to remove the ipw lines from /lib/modules/`uname -r`/modules.alias and modules.pcimap. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] FF 1.5.0.4 about:cache problem
Bo Ørsted Andresen a écrit : On Monday 12 June 2006 11:38, Alexander Kirillov wrote: Does it work for you? Nope, not until I have restarted Firefox. Are you you using a binary/source build? Source on ~x86. Same issue here, same version. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Introduction - new list user
On 12 June 2006 08:58, Alan McKinnon wrote: My question is, what are the local rules around here for how to behave on list? I'm very much old school, and prefer lists over forums - in my world top posting, no snipping, HTML mail and hi-jacking threads are a huge no-no, pretty much strict RFC1855 compliance :-) That pretty much covers it. alan at linuxholdings dot co dot za Hey, another gentoo user from Southern Africa. ;-) Uwe -- Mark Twain: I rather decline two drinks than a German adjective. -- gentoo-user@gentoo.org mailing list
[gentoo-user] mysql won't start
Sorry if this is duplicate but I don't think the original arrived. Hi all, I moved my /var to a new disk and now amarok will nor work because it can't connect to mysql Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) If I /etc/init.d/mysql stop * Caching service dependencies ... [ ok ] * WARNING: mysql has not yet been started. If I /etc/init.d/mysql start * ... * Starting mysql (/etc/mysql/my.cnf) * MySQL NOT started (0) If I just type mysql, I get the following error:- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) So it looks as if I have really screwed up moving /var The /var/run/mysql directory is empty Can anybody help please. Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Re: Evolution icons missing under KDE but nut under Gnome
On Sun, 11 Jun 2006 19:44:37 -0700, Richard Fish wrote: On 6/10/06, Keith Kastorff [EMAIL PROTECTED] wrote: Run the gnome-settings-daemon...it will fix it, and you'll see your Gnome theming under KDE too. Keith, thanks for the pointer. rant WTF! Now I have to pull in a bunch of other gnome shit just to run evo. And it's not just that it has to be installed, now I have to start gnome-setings-daemon any time I want to run evo and see icons. I do not run gsd in order to view evo icons ok. I am running 2.6.1 though and just have minimal gnome libraries. If you're running 2.4, try upgrading. Of course, I'm not running kde either. You may also check your xdg files and see what paths are included for icons. -- Peter -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql won't start
I moved my /var to a new disk and now amarok will nor work because it can't connect to mysql Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) If I /etc/init.d/mysql stop * Caching service dependencies ... [ ok ] * WARNING: mysql has not yet been started. If I /etc/init.d/mysql start * ... * Starting mysql (/etc/mysql/my.cnf) * MySQL NOT started (0) If I just type mysql, I get the following error:- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) So it looks as if I have really screwed up moving /var The /var/run/mysql directory is empty Check the permissions on /var/run/mysql. It should be owned by mysql. What's in mysql logs? They're probably in /var/log/mysql Sasha -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prevent udev from loading a kernel module
On Monday 12 June 2006 11:46, Richard Fish wrote: The most reliable method I have found is to remove the ipw lines from /lib/modules/`uname -r`/modules.alias and modules.pcimap. Surely they must have plans to make this possible in a config file? Anyway it works. Thx. -- Bo Andresen pgpjf45YgVLnB.pgp Description: PGP signature
Re: [gentoo-user] mysql won't start
I moved my /var to a new disk and now amarok will nor work because it can't connect to mysql Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) If I /etc/init.d/mysql stop * Caching service dependencies ... [ ok ] * WARNING: mysql has not yet been started. If I /etc/init.d/mysql start * ... * Starting mysql (/etc/mysql/my.cnf) * MySQL NOT started (0) If I just type mysql, I get the following error:- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) So it looks as if I have really screwed up moving /var The /var/run/mysql directory is empty On the second thought. Is it /var/run/mysql or /var/run/mysqld? You should probably recreate /var/run/mysqld and set the permissions. And make /etc/my.cnf a symlink to /etc/mysql/my.cnf CLI utilities probably look for /etc/my.cnf HTH, Sasha -- gentoo-user@gentoo.org mailing list
[gentoo-user] gamin
Hi, This morning I noticed that gam_server was eating 80 90% of cpu... I'm trying to find who installed gamin in my system, the dependency, but I found nothing... ('equery depends gamin' shows nothing, with -a, equery breaks) I looked for (gam_Server) PID and its PPID (1)...so I don't know who is calling for its service... I'm using kde 3.4 (upgrading to 3.5) So, how may I know if gamin is required package? I have killed it and my system works pretty fine. thanks in advance! -- Arnau Bria http://blog.emergetux.net Flanders, de nada sirve rezar: yo mismo acabo de hacerlo y los dos no vamos a ganar ~Homer J. Simpson~ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql won't start
On Monday 12 June 2006 12:09, Alexander Kirillov wrote: snip So it looks as if I have really screwed up moving /var The /var/run/mysql directory is empty Check the permissions on /var/run/mysql. It should be owned by mysql. What's in mysql logs? They're probably in /var/log/mysql Sasha Thanks Sasha that was the problem I changed the owner to mysql and mysql started ok. Thanks for the hint. Is their anything else that should not be root root in /var/run or /var/tmp ?? Thanks again Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql won't start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it /var/run/mysql or /var/run/mysqld? You should probably recreate /var/run/mysqld and set the permissions. /var/run/mysqld must have mysql:mysql permissions (drwxr-xr-x) And make /etc/my.cnf a symlink to /etc/mysql/my.cnf CLI utilities probably look for /etc/my.cnf No, this is not needed. CLI programs will use whatever the mysql default is, and mysql is compiled under gentoo with /etc/mysql/my.cnf as default. Greetings, Ralph -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) iD8DBQFEjVhnCt0ZF9kLPvYRArl5AJ4pLbYPQ69iX++2XjCWLDMaHDkuKACglNO2 F0ZmfCaF1C4gWRcQ1EXVBr8= =CF4Q -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Introduction - new list user
On Monday 12 June 2006 10:50, Richard Fish wrote: You'll do just fine here! About the only other thing I've seen people get upset about is large messages/attachments. Some poor souls have to pay by the byte for bandwidthso be a bit careful if you ever need to post a log file or output of a long emerge. Welcome to the list, Cool, thanks. Hope it'll be a long stay :-) -- If only me, you and dead people understand hex, how many people understand hex? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql won't start
Is their anything else that should not be root root in /var/run or /var/tmp ?? Probably. It depends on the programs you've installed. Next time use cp -Rp to preserve the permissions. Sasha -- gentoo-user@gentoo.org mailing list
[gentoo-user] remote logging with syslog-ng
Hello! How can I make syslog-ng to accept connections from remote hosts? Thanks, Istvan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Introduction - new list user
On Monday 12 June 2006 10:53, Uwe Thiem wrote: That pretty much covers it. alan at linuxholdings dot co dot za Hey, another gentoo user from Southern Africa. ;-) Uwe There's more of us than you mighty think, the secret underground gentoo conspiracy to take over and dominate the entire world is alive and well down here. How's the bandwidth like in and out of Namibia? -- If only me, you and dead people understand hex, how many people understand hex? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] freenet
On 17:12 Mon 12 Jun , Shaochun Wang wrote: In china, we have no access to freenet because of government. Does anybody send me the freenet-0.5.2.1-r8 copy directly? Thank you -- Shaochun Wang(王绍春) [EMAIL PROTECTED] Done. Cheers. -- A ouvir (mpd): Gustav Mahler - Symphony No.3 in D minor - 2. Tempo di Menuetto, Sehr massig - GPG KeyID:0x9D2FD6C8 pgpVbgivh2Q6J.pgp Description: PGP signature
Re: [gentoo-user] Module philosophy: Compile-in or Load
On 6/12/06, Michael Weyershäuser [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I usualy start with a kernel with almost everything compiled in (but only things I definitely need), only using modules when I have to (USB for suspend2 comes to my mind). Over time whenever I need something new (filesystem, hardware driver,...) I tend to compile it as a module to avoid a reboot. As I do not upgrade my kernel very often this happens more often than you might think (last upgrade was from 2.6.11 to 2.6.16, on my laptop from 2.6.10 to 2.6.16). I don't really care about the 300k more used memory (hardly worth a thought on systems with 1 GB RAM and more) or the 0.3 seconds faster boot process. Modules just come in handy when it comes to avoiding a reboot. I agree. I use the basic modules for sound card, video, wireless and USB, just because it something hangs I can work it without a reboot. Besides, unloading modules is an excelent feature when you're using a laptop in presentations or trips where you just want to read that e-book or show that pdf, so you can unload all that you don't need (in my case almost everything) and save battery. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Hardware clock, software clock and ntpd
Good morning all, About 10 days ago we had a lightning strike very nearby that fried our electric utilities transformer and my APC RS800 UPS. This in turn caused my system to crash. When I brought it back up, all CMOS settings had been lost. After setting what I could remember (no, I didn't have them written down), I brought Gentoo back up. Massive complaints about the time being off (I had forgotten to set the hardware clock). # /etc/init.d/ntpd stop followed by # ntpdate pool.ntp.org set the system time correctly. So I #/etc/init.d/ntpd start Since then, ntpd does not work. According to ps, ntpd is running //garbanzo/etc # ps aux|grep ntp root 19874 0.0 0.3 3656 3656 ?SLs 09:05 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid But all that shows in the /var/log/ntp.log is 12 Jun 09:05:46 ntpd[19515]: ntpd exiting on signal 15 I've also noticed that the software clock is running about 2 minutes fast per hour. I know I could setup a cron job to run ntpdate regularly, but that is the wrong solution. ntpd had been working fine for years. Does anyone have any possible ideas what could have happened here? Thanks, festus -- It is not unusual for those at the wrong end of the club to have a clearer picture of reality than those who wield it. Noam Chomsky -- gentoo-user@gentoo.org mailing list
[gentoo-user] Battery status not working
Hi, I'm having problems to monitor my battery status (on my laptop). [EMAIL PROTECTED] ~ $ cat /proc/acpi/battery/BAT1/state present: yes ERROR: Unable to read battery status What can I do to make it work? Here is my acpi conf on kernel: # # ACPI (Advanced Configuration and Power Interface) Support # CONFIG_ACPI=y CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y CONFIG_ACPI_BUTTON=y # CONFIG_ACPI_VIDEO is not set CONFIG_ACPI_HOTKEY=m CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_THERMAL=y CONFIG_ACPI_NUMA=y # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_IBM is not set # CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_BLACKLIST_YEAR=2001 # CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_SYSTEM=y # CONFIG_ACPI_CONTAINER is not set Cheers, Felipe -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE no longer rendering fonts properly
Daevid Vincent wrote: What happened to my KDE 3.5.3? The fonts are gone sorta -- at least to the point that makes KDE unusable. If I fire up a terminal, the window is black, but I can see that things are happening, as the cursor will move. but no text shows. if i do an 'ls' for example, i can see something 'scrolling' as the bar on the right moves, but no text is rendered. highlighting all the text in the window will reveal red/blue/etc inverse areas which i assume are directories, tarballs, etc... my clock applet is 'blank', but if i roll over it, i see the time in the bubble that pops up. most menus are blank, but I can see the underscore of where the hotkey would be. if I click on the menu, it 'blinks' very fast the text that should be there. this is the same for buttons. they show up until i roll the mouse onto them, then the text vanishes but i see the underscore. all the icons on my desktop are there, and the text under them is 'black' (like the shadow text), but the white text that used to be over the black is gone. firefox will show some text, then vanish, but if i drag/highlight all the text on the page, it comes back. Gnome works just fine -- in fact, that's how I'm typing this right now since KDE is hosed. I did an emerge update on friday and all seemed well. i use an nVidia card and i purposefully did not do the xorg-7.1 as it was a blocker with nVidia drivers. gcc-3.4.5 xorg-7.0 nvidia-1.0.8762 kde-3.5.3 kde was working fine. i had rebooted and such after the upgrade from 3.5.2 to verify. here are the last few things i emerged that could have any relevance: Fri Jun 9 01:00:22 2006 kde-base/kdepim-3.5.3 Fri Jun 9 01:13:50 2006 kde-base/kdeartwork-3.5.3 Fri Jun 9 02:02:14 2006 kde-base/kdegames-3.5.3 Fri Jun 9 03:03:28 2006 kde-base/kdemultimedia-3.5.3 Fri Jun 9 03:38:41 2006 kde-base/kdeaddons-3.5.3 Fri Jun 9 04:58:46 2006 kde-base/kdenetwork-3.5.3 Fri Jun 9 05:10:35 2006 kde-base/kdeadmin-3.5.3 Fri Jun 9 05:49:52 2006 kde-base/kdewebdev-3.5.3 Fri Jun 9 06:36:05 2006 kde-base/kdegraphics-3.5.3 Fri Jun 9 07:27:37 2006 kde-base/kdeedu-3.5.3 Fri Jun 9 07:58:41 2006 kde-base/kdeutils-3.5.3 Fri Jun 9 08:04:36 2006 kde-base/kdetoys-3.5.3 Fri Jun 9 08:04:45 2006 kde-base/kde-3.5.3 Fri Jun 9 11:44:55 2006 kde-base/kde-3.5.3 Fri Jun 9 12:09:35 2006 media-libs/mesa-6.5-r3 Fri Jun 9 12:40:43 2006 app-doc/xorg-docs-1.2 Fri Jun 9 12:44:56 2006 net-libs/libsoup-2.2.93 Fri Jun 9 12:45:52 2006 net-misc/neon-0.25.5 Fri Jun 9 13:18:15 2006 media-libs/xine-lib-1.1.2_pre20060328-r9 Fri Jun 9 13:18:46 2006 dev-util/scons-0.96.1 Fri Jun 9 13:22:01 2006 app-text/poppler-0.5.3 Fri Jun 9 13:23:51 2006 app-text/poppler-bindings-0.5.3 Fri Jun 9 13:32:07 2006 gnome-base/gdm-2.14.8 Fri Jun 9 14:20:25 2006 sys-apps/hal-0.5.5.1-r3 Fri Jun 9 14:20:29 2006 gnome-extra/hal-device-manager-0.5-r1 Fri Jun 9 15:29:24 2006 x11-libs/libXft-2.1.10 Fri Jun 9 15:30:33 2006 x11-terms/xterm-207-r1 Fri Jun 9 16:05:17 2006 x11-base/xorg-server-1.1.0 Fri Jun 9 16:05:53 2006 x11-drivers/xf86-video-vesa-1.2.1 Fri Jun 9 16:06:42 2006 x11-drivers/xf86-video-nv-1.1.2 Fri Jun 9 16:07:14 2006 x11-drivers/xf86-video-fbdev-0.3.0 Fri Jun 9 16:07:49 2006 x11-drivers/xf86-input-mouse-1.1.1 Fri Jun 9 16:08:22 2006 x11-drivers/xf86-input-keyboard-1.1.0 Fri Jun 9 16:09:04 2006 x11-libs/libXcursor-1.1.7 Fri Jun 9 16:09:23 2006 x11-apps/mesa-progs-6.5 Fri Jun 9 16:13:25 2006 x11-libs/vte-0.12.2 Fri Jun 9 16:13:47 2006 x11-misc/xbindkeys-1.7.2-r1 I read my /var/log/portage-logs and didn't notice anything that needed to be done? I also had done a revdep-rebuild but again nothing really that should effect this (mutisync and a few other peripheral apps). There is a bug with xorg 7.1 nvidia drivers [http://bugs.gentoo.org/show_bug.cgi?id=130292]. Check your xorg-server xorg-x11 versions. Try to downgrade with this package.mask -- http://rafb.net/paste/results/Qi773L67.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prevent udev from loading a kernel module
On 6/12/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Monday 12 June 2006 11:46, Richard Fish wrote: The most reliable method I have found is to remove the ipw lines from /lib/modules/`uname -r`/modules.alias and modules.pcimap. Surely they must have plans to make this possible in a config file? Anyway it works. Thx. Ok, here is the 'correct' way to do it (I was too lazy to figure it out until now...) In /lib/modules/`uname -r`/modules.alias, you will find lines for the ipw adapter liike this (run depmod -a to regenerate this file after following my previous advice) alias pci:v8086d4222sv*sd*bc*sc*i* ipw3945 alias pci:v8086d4227sv*sd*bc*sc*i* ipw3945 Add those same lines to a file in /etc/modules.d/. I used ipw3945, you will probably want ipw2100: grep ipw /lib/modules/`uname -r`/modules.alias /etc/modules.d/ipw3945 Now edit the /etc/modules.d/ file and change the last setting from ipw3945/ipw2100 to 'off': carcharias rjf # grep alias /etc/modules.d/ipw3945 alias pci:v8086d4222sv*sd*bc*sc*i* off alias pci:v8086d4227sv*sd*bc*sc*i* off Now run modules-update, and udev should no longer load the module for the ipw adapater. HTH, -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge: xorg-x11 requires gentoo-sources
On one of two gentoo (x86_64 AMD Opteron) systems I just emerged the new portage-2.1 on, emerge is requiring gentoo-sources as a dependency required by "x11-base/xorg-x11-6.8.2-r7". Why? The 2nd system with an identical 2.6.16.20 vanilla-sources kernel does not have this problem.I tried removing the /usr/portage/x11-base directory and then running "emerge --sync". Which works buth then:# emerge -pv -u --deep worldThese are the packages that would be merged, in order:Calculating world dependencies /!!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been masked.!!! One of the following masked packages is required to complete your request:- sys-kernel/gentoo-sources-2.6.15-r7 (masked by: package.mask)# don't want gentoo-sources- sys-kernel/gentoo-sources-2.6.14-r7 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.4.31-r1 (masked by: package.mask, missing keyword)- sys-kernel/gentoo-sources-2.4.32-r5 (masked by: package.mask, missing keyword)- sys-kernel/gentoo-sources-2.6.15-r1 (masked by: package.mask)- sys-kernel/gentoo-sources-2.6.16 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.15-r8 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.16-r7 (masked by: package.mask)- sys-kernel/gentoo-sources-2.6.16-r6 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.16-r5 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.16-r4 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.16-r3 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.16-r2 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.6.16-r1 (masked by: package.mask, ~amd64 keyword)- sys-kernel/gentoo-sources-2.4.32-r4 (masked by: package.mask, missing keyword)- sys-kernel/gentoo-sources-2.6.16-r9 (masked by: package.mask)- sys-kernel/gentoo-sources-2.6.16-r8 (masked by: package.mask, ~amd64 keyword)For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.(dependency required by "x11-base/xorg-x11-6.8.2-r7" [ebuild])!!! Problem resolving dependencies for sys-apps/portage!!! Depgraph creation failed.=Yes, I do use /etc/portage/package.mask to mask out gentoo-sources, but I have done that for years. (Also, my 2nd system has the same package.mask and doesn't have a problem with xorg-x11.)Any suggestions on how to fix this dependencies issue? I suspect a portage cache issue that 'emerge --sync' is not fixing.
[gentoo-user] [OT] Question about duplicate lines in file
Hi folks, I have batched a bunch of servers in my hosts file to block, for ads and all that crap. I got them from several different places, some I have found too, and am sure there are dups in there, same server but pasted from several sources. I am not a programer at all and don't even really know what to search for. I would like to remove the duplicate entries and then put them in alphabetical order if I could. I would gladly then make this available if someone wanted to host it. I don't have a place to host it. Oh, there is 15,000 entries in my hosts file. O_O Could someone tell me how this is done? May even learn something here. If I can do this, I'm sure I will. Thanks. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge: xorg-x11 requires gentoo-sources
On Monday 12 June 2006 16:38, Richard Ruth wrote: On one of two gentoo (x86_64 AMD Opteron) systems I just emerged the new portage-2.1 on, emerge is requiring gentoo-sources as a dependency required by x11-base/xorg-x11-6.8.2-r7. Why? The 2nd system with an identical 2.6.16.20 vanilla-sources kernel does not have this problem. I tried removing the /usr/portage/x11-base directory and then running emerge --sync. Which works buth then: # emerge -pv -u --deep world [snip] Yes, I do use /etc/portage/package.mask to mask out gentoo-sources, but I have done that for years. (Also, my 2nd system has the same package.mask and doesn't have a problem with xorg-x11.) Any suggestions on how to fix this dependencies issue? I suspect a portage cache issue that 'emerge --sync' is not fixing. It's probably because something in xorg-x11 is requiring virtual/linux-sources and for all normal default-linux/{amd64,x86} thats gentoo-sources. So just emerge sys-kernel/vanilla-sources and it should be fine (since vanilla-sources also provides virtual/linux-sources). -- Christian Heim [EMAIL PROTECTED] Gentoo Linux Developer - vserver/openvz pgp2cdXh2BlDr.pgp Description: PGP signature
Re: [gentoo-user] [OT] Question about duplicate lines in file
On Tuesday, 13 June 2006 2:12, Teresa and Dale wrote: Hi folks, I have batched a bunch of servers in my hosts file to block, for ads and all that crap. I got them from several different places, some I have found too, and am sure there are dups in there, same server but pasted from several sources. I am not a programer at all and don't even really know what to search for. I would like to remove the duplicate entries and then put them in alphabetical order if I could. I would gladly then make this available if someone wanted to host it. I don't have a place to host it. Oh, there is 15,000 entries in my hosts file. O_O Could someone tell me how this is done? May even learn something here. If I can do this, I'm sure I will. Thanks. Dale :-) :-) 'uniq' and 'sort' should do what you're after, check out the man pages. -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Introduction - new list user
On Mon, Jun 12, 2006 at 09:58:54AM +0200, Alan McKinnon wrote: My question is, what are the local rules around here for how to behave on list? I'm very much old school, and prefer lists over forums - in my world top posting, no snipping, HTML mail and hi-jacking threads are a huge no-no, pretty much strict RFC1855 compliance :-) I don't think there are any 'rules' local to this gentoo-user list. While it is important to maintain good email behavior on any mailing list it's also important to be accepting/forgiving of newbies who aren't blessed from the begining with all the knowledge of 'netiqutte' that we are. Be broad in what you accept and discriminating in what you send. (I don't remember the exact quote.) Threads that degenerate into flamewars over trivial things like top posting are usually pretty amusing^H^H^Hboring anyway. Justin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hardware clock, software clock and ntpd
On 12 June 2006 15:32, John J. Foster wrote: Good morning all, About 10 days ago we had a lightning strike very nearby that fried our electric utilities transformer and my APC RS800 UPS. This in turn caused my system to crash. When I brought it back up, all CMOS settings had been lost. After setting what I could remember (no, I didn't have them written down), I brought Gentoo back up. Massive complaints about the time being off (I had forgotten to set the hardware clock). # /etc/init.d/ntpd stop followed by # ntpdate pool.ntp.org after this: hwclock -wu to get your hardware clock right. Without u if your hw clock is running in local time. set the system time correctly. So I #/etc/init.d/ntpd start Since then, ntpd does not work. According to ps, ntpd is running //garbanzo/etc # ps aux|grep ntp root 19874 0.0 0.3 3656 3656 ?SLs 09:05 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid But all that shows in the /var/log/ntp.log is 12 Jun 09:05:46 ntpd[19515]: ntpd exiting on signal 15 It probably terminated right after your ps. Would be interesting to know why it is terminating. Maybe you should run ntpd in the foreground once: ntpd -n Uwe -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE no longer rendering fonts properly
On Monday 12 June 2006 08:59, Daevid Vincent wrote: What happened to my KDE 3.5.3? The fonts are gone sorta -- at least to the point that makes KDE unusable. have you done any fontconfig updates? hm, maybe it helps to rebuild qt and kdelibs? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prevent udev from loading a kernel module
On Monday 12 June 2006 18:23, Richard Fish wrote: Ok, here is the 'correct' way to do it (I was too lazy to figure it out until now...) Excellent. It does work. Thank you very much. :) -- Bo Andresen pgphrhqub3GVo.pgp Description: PGP signature
Re: [gentoo-user] [OT] Question about duplicate lines in file
Raymond Lewis Rebbeck wrote: On Tuesday, 13 June 2006 2:12, Teresa and Dale wrote: Hi folks, I have batched a bunch of servers in my hosts file to block, for ads and all that crap. I got them from several different places, some I have found too, and am sure there are dups in there, same server but pasted from several sources. I am not a programer at all and don't even really know what to search for. I would like to remove the duplicate entries and then put them in alphabetical order if I could. I would gladly then make this available if someone wanted to host it. I don't have a place to host it. Oh, there is 15,000 entries in my hosts file. O_O Could someone tell me how this is done? May even learn something here. If I can do this, I'm sure I will. Thanks. Dale :-) :-) 'uniq' and 'sort' should do what you're after, check out the man pages. Thanks, read the man page, it was short so it didn't take long. I tried this: uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort It doesn't look like it did anything but copy the same thing over. There are only 2 lines missing. Does spaces count? Some put in a lot of spaces between the localhost and the web address. Maybe that has a affect?? Thanks for the help. I had never seen that command before. I had heard of sort, never used it though. I do have those on my desktop. I'm playing with copies instead of my real hosts file. Thanks again. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prevent udev from loading a kernel module
On Mon, 12 Jun 2006 09:23:28 -0700, Richard Fish wrote: Ok, here is the 'correct' way to do it (I was too lazy to figure it out until now...) Before doing this, try listing the module in /etc/hotplug/blacklist, this is supposed to prevent its automatic loading. -- Neil Bothwick Don't let the computer bugs bite! signature.asc Description: PGP signature
[gentoo-user] OT: HDTV usb card
Just would like to know if anybody have tried the usb HDTV tuner's under linux. They seem handy and portable...but googling i did not find much about linux usage or successes. Thanks Kumar -- gentoo-user@gentoo.org mailing list
[gentoo-user] Join plain text paragraphs
I have an MS Word HTML file. I used Lynx to dump it to text and now I want to get it to pdf. I opened it in OOo and saved as an OpenDocument. However, all the paragraphs are hard wrapped at 80 characters so the text does not take up the whole page. Is there an easy way to go through the 100+ pages and just join the lines of each paragraph so that they will be flowed correctly in OOo? I have the dumped text file and the OOo file and both have the paragraphs hard wrapped at column 80. I would think there would have to be some simple tool out there to go through the plain text file and just join all the lines of a paragraph, no? Thanks, Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- You roll an 18 in Dex and see if you don't end up with a girlfriend =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Question about duplicate lines in file
On 6/12/06, Teresa and Dale [EMAIL PROTECTED] wrote: Thanks, read the man page, it was short so it didn't take long. I tried this: uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort I think that you need to run sort on the file first, then uniq. HTH, Matt -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prevent udev from loading a kernel module
On Monday 12 June 2006 19:21, Neil Bothwick wrote: Before doing this, try listing the module in /etc/hotplug/blacklist, this is supposed to prevent its automatic loading. $ grep ipw /etc/hotplug/blacklist # Don't hotplug ipw2100 ipw2100 $ ls -l /etc/hotplug/blacklist -rw-r--r-- 1 root root 829 2006-06-07 11:48 /etc/hotplug/blacklist So I did that 5 days ago. Didn't work. :) -- Bo Andresen pgph4a6ojJkPC.pgp Description: PGP signature
Re: [gentoo-user] [OT] Question about duplicate lines in file
On Mon, 12 Jun 2006 12:19:46 -0500, Teresa and Dale wrote: uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort uniq only removes consecutive duplicate line, you need to use sort first sort file | uniq newfile or, possibly, depending on the format of your file sort -u file newfile -- Neil Bothwick Few women admit their age. Few men act theirs. signature.asc Description: PGP signature
Re: [gentoo-user] [OT] Question about duplicate lines in file
On Tuesday, 13 June 2006 2:49, Teresa and Dale wrote: Raymond Lewis Rebbeck wrote: On Tuesday, 13 June 2006 2:12, Teresa and Dale wrote: Hi folks, I have batched a bunch of servers in my hosts file to block, for ads and all that crap. I got them from several different places, some I have found too, and am sure there are dups in there, same server but pasted from several sources. I am not a programer at all and don't even really know what to search for. I would like to remove the duplicate entries and then put them in alphabetical order if I could. I would gladly then make this available if someone wanted to host it. I don't have a place to host it. Oh, there is 15,000 entries in my hosts file. O_O Could someone tell me how this is done? May even learn something here. If I can do this, I'm sure I will. Thanks. Dale :-) :-) 'uniq' and 'sort' should do what you're after, check out the man pages. Thanks, read the man page, it was short so it didn't take long. I tried this: uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort It doesn't look like it did anything but copy the same thing over. There are only 2 lines missing. Does spaces count? Some put in a lot of spaces between the localhost and the web address. Maybe that has a affect?? Thanks for the help. I had never seen that command before. I had heard of sort, never used it though. I do have those on my desktop. I'm playing with copies instead of my real hosts file. Thanks again. Dale :-) :-) Yes the spaces matter, you could possibly use 'tr' to turn all repeated spaces into a single space. $ tr -s ' ' filename That should do it, then you can pipe it through uniq and sort and do whatever else you want with it. -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Question about duplicate lines in file
On Monday 12 June 2006 18:19, Teresa and Dale wrote: Thanks, read the man page, it was short so it didn't take long. I tried this: sort would be more appropriate. I don't believe uniq will find matches anywhere in the file, i.e. 192 195 192 wouldn't get shortened, but 192 192 195 would. -- Mike Williams -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Question about duplicate lines in file
Teresa and Dale [EMAIL PROTECTED] writes: Thanks, read the man page, it was short so it didn't take long. I tried this: uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort It doesn't look like it did anything but copy the same thing over. There are only 2 lines missing. Does spaces count? Some put in a lot of spaces between the localhost and the web address. Maybe that has a affect?? The problem with uniq is that it (according to the manpage), Discard all but one of successive identical lines You need to have a sorted file for uniq to do what you want, or sort it with the -u option sort -u hosts hostsort If you don't want to ruin your original order you have to do something else. This is one way of doing it with perl. perl -ne 'print unless exists $h{$_}; $h{$_} = 1' hosts hostsort -- Christer -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prevent udev from loading a kernel module
On 6/12/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Monday 12 June 2006 19:21, Neil Bothwick wrote: Before doing this, try listing the module in /etc/hotplug/blacklist, this is supposed to prevent its automatic loading. $ grep ipw /etc/hotplug/blacklist # Don't hotplug ipw2100 ipw2100 $ ls -l /etc/hotplug/blacklist -rw-r--r-- 1 root root 829 2006-06-07 11:48 /etc/hotplug/blacklist So I did that 5 days ago. Didn't work. :) Yep, that only works for when udev runs /sbin/udev_run_hotplugd. The current 090 udev appears to do two things for a pci 'hotplug' event: 1. /sbin/modprobe pci:v... 2. /sbin/udev_run_hotplugd pci My alias tricks above take care of #1, but you still need blacklist to take care of #2. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysql won't start
On Monday 12 June 2006 08:04, Ralph Slooten wrote: Is it /var/run/mysql or /var/run/mysqld? You should probably recreate /var/run/mysqld and set the permissions. /var/run/mysqld must have mysql:mysql permissions (drwxr-xr-x) And make /etc/my.cnf a symlink to /etc/mysql/my.cnf CLI utilities probably look for /etc/my.cnf No, this is not needed. CLI programs will use whatever the mysql default is, and mysql is compiled under gentoo with /etc/mysql/my.cnf as default. Greetings, Ralph I have this as well, I think this came about with an update sometime this week. Mysql was not updated, but there must have been something in one of teh baselayouts or something? Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.15-ck2 | VMWare Workstation 5.5.1 vmware.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
On 6/11/06, Anthony E. Caudel [EMAIL PROTECTED] wrote: I was wondering what gentoo-users think and practice about kernel modules. Do most compile them in the kernel or load them at boot-up. I have heard a security argument made that it is safer to compile everything into the kernel, and disable support for modules entirely. The reason for this is that if someone can load malicious modules on your system they can basically circumvent any security systems you are using, including things like SELinux and grsec. -- Evan Klitzke -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
Evan Klitzke wrote: I have heard a security argument made that it is safer to compile everything into the kernel, and disable support for modules entirely. I would say this is a must on server. This way you would close one potential security leak. Of course, it does not help if you leave a few others opened... :-) Jarry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [OT] Question about duplicate lines in file
On Monday 12 June 2006 19:55, Christer Ekholm wrote: Teresa and Dale [EMAIL PROTECTED] writes: Thanks, read the man page, it was short so it didn't take long. I tried this: uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort It doesn't look like it did anything but copy the same thing over. There are only 2 lines missing. Does spaces count? Some put in a lot of spaces between the localhost and the web address. Maybe that has a affect?? The problem with uniq is that it (according to the manpage), Discard all but one of successive identical lines You need to have a sorted file for uniq to do what you want, or sort it with the -u option sort -u hosts hostsort If you don't want to ruin your original order you have to do something else. This is one way of doing it with perl. perl -ne 'print unless exists $h{$_}; $h{$_} = 1' hosts hostsort Almost there :-) If /etc/hosts has these lines: 127.0.0.1 localhost 127.0.0.1 localhost uniq will see these as different even though they are actually the same entry. So he needs something like tr to squash spaces. This will do it (as root): cat /etc/hosts | tr -s ' ' | sort | uniq -i /etc/hosts.new If the new file is OK, use it to overwrite /etc/hosts Explanation so Dale knows what I'm asking him to do: cat send the file to tr tr finds all cases of two or more consecutive spaces and replaces them with one space sort does a sort uniq finds consecutive lines that are the same and throws away the extra ones. The -i is there just in case two entries differ in case only (as FQDNs are strictly speaking case insensitive). As mentioned by others, uniq only matches consecutive dupes, so the list must be sorted first /etc/hosts.new writes the final output to the named disk file Cheers, alan p.s. Those 15,000 entries in your hosts file are, um, a lot :-) -- If only me, you and dead people understand hex, how many people understand hex? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't run `X -configure' successfully.
--- gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 maxim wexler wrote: --- gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason's recent inquiry about the alternate terminals caused me to revisit an issue that I've had for some time. AFAIK, I don't have an xorg.conf. I've tried running `X -configure Don't know if it amounts to the same thing but have you tried running xorgconfig? When it completes it should write the xorg.conf file. Well, it's obviously not the same thing. Ouch. Not obvious to me; that's why I mentioned it. `xorgconfig' seems to run fine. However, it doesn't create a workable xorg.conf. The problem that I get is that it can't initialize the core devices. Basically, it can't find my mouse. When I ran `xorgconfig', I used the default for the location: /dev/mouse. It's obviously not hanging off of that /dev device. How about /dev/psaux? That's what I'm using for a USB Logitech optical type. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hardware clock, software clock and ntpd
On Mon, 12 Jun 2006, Uwe Thiem wrote: snip after this: hwclock -wu to get your hardware clock right. Without u if your hw clock is running in local time. snip But all that shows in the /var/log/ntp.log is 12 Jun 09:05:46 ntpd[19515]: ntpd exiting on signal 15 It probably terminated right after your ps. Would be interesting to know why it is terminating. Maybe you should run ntpd in the foreground once: ntpd -n Uwe - thanks for the tip on hwclock -wu The following output is what /var/log/ntp.log looks like after issuing the following 2 commands: #/etc/init.d/ntpd stop #ntpd -n 12 Jun 14:16:02 ntpd[8885]: ntpd exiting on signal 15 12 Jun 14:20:56 ntpd[9340]: synchronized to 212.79.244.34, stratum 2 12 Jun 14:20:56 ntpd[9340]: kernel time sync disabled 0041 12 Jun 14:28:32 ntpd[9340]: kernel time sync enabled 0001 I'll keep an eye on it and let you know. Thanks, festus -- It is not unusual for those at the wrong end of the club to have a clearer picture of reality than those who wield it. Noam Chomsky -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [OT] Question about duplicate lines in file
On Mon, 12 Jun 2006 20:39:20 +0200, Alan McKinnon wrote: If /etc/hosts has these lines: 127.0.0.1 localhost 127.0.0.1 localhost uniq will see these as different even though they are actually the same entry. So he needs something like tr to squash spaces. This will do it (as root): cat /etc/hosts | tr -s ' ' | sort | uniq -i /etc/hosts.new sort -u -k1,1 /etc/hosts /etc/hosts.new avoids the need to use cat, uniq or tr. -k1,1 sorts on the first field (space delimited) and -u remove lines where the sort field is the same. -- Neil Bothwick Please rotate your phone 90 degrees and try again. signature.asc Description: PGP signature
Re: [gentoo-user] Module philosophy: Compile-in or Load
On Mon, 12 Jun 2006 11:16:56 -0700, Evan Klitzke wrote: I have heard a security argument made that it is safer to compile everything into the kernel, and disable support for modules entirely. The reason for this is that if someone can load malicious modules on your system they can basically circumvent any security systems you are using, including things like SELinux and grsec. This is only relevant is all your hardware can be supported by in-kernel modules. Add one item that needs a 3rd party module and you are forced to enable module loading. -- Neil Bothwick Bother, said Pooh, as the vice squad took his GIFS signature.asc Description: PGP signature
Re: [gentoo-user] gcc-4.1.1
On Wednesday 07 June 2006 21:50, Bob Young wrote: On 6/7/06, Roy Wright [EMAIL PROTECTED] wrote: You might want to read: http://forums.gentoo.org/viewtopic.php?t=282474highlight= which basically recommends: emerge -s emerge -s emerge -e emerge -e Ugh, this is completely pointless. A single emerge -e world is sufficient. Depends on what you consider sufficient. Although what the page recommends was misquoted, it actually suggests: emerge -e system emerge -e system emerge -e world emerge -e world That's probably is a little bit excessive, but the reason for doing the two emerge -e systems is so that the new tool chain is built with the new tool chain. At the end of the first emerge -e system you may have a new compiler, but that new compiler was built with the old compiler. What you actually want is a gcc-4.1.1 that was built with gcc-4.1.1. You could emerge the compiler twice before doing the emerge -e system, but the the emerges that happen before glibc is rebuilt are linked against a glibc that was built with the old compiler. Same with the rest of the tool chain and libraries. That being said emerge -e system is probably overkill just for a new toolchain. Updating a subset of all possible toolchain related things and then following that by a single emerge -e world would probably be sufficient for most people. This page: http://forums.gentoo.org/viewtopic-t-345229.html is about doing an install, but it shows how to update a subset of the entire tool chain. Note that the article does in the end, do a double emerge -e system, so the the value of updating a toolchain subset is questionable for the article's purposes. In short: emerge gcc-config glibc binutils libstdc++-v3 gcc emerge gcc-config glibc binutils libstdc++-v3 gcc emerge -e world To be clear, in order to make sure absolutely everything is updated and the libraries that are linked against are also updated prior to use, the two emerge -e system commands, are the definitive solution. For those who don't want to spend many extra hours of compile time, in order to gain a 0.5% increase in performance, the above is offered for consideration. Regards, Bob Young Wow! I said the same thing a week or so ago and got the same rebuttal. However, it's what I do none the less. And it works. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
Evan Klitzke wrote: On 6/11/06, Anthony E. Caudel [EMAIL PROTECTED] wrote: I was wondering what gentoo-users think and practice about kernel modules. Do most compile them in the kernel or load them at boot-up. I have heard a security argument made that it is safer to compile everything into the kernel, and disable support for modules entirely. The reason for this is that if someone can load malicious modules on your system they can basically circumvent any security systems you are using, including things like SELinux and grsec. If an attacker can load malicious modules into your kernel I'd argue that your security model has already failed and failed spectacularly. Sounds like security as thought up by someone who has never had to managed a system unless someone has a plausible attack scenario. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] audiocd:/ kioslave no more working with kde 3.5
Does 'revdep-rebuild -p' report any broken dependancies? No. Have you tried re-merging kde-base/kdemultimedia-kioslaves? No, but I will do it ASAP :) Thanks for help. m. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] gcc-4.1.1
-Original Message- From: Jerry McBride [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 7:10 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gcc-4.1.1 On Wednesday 07 June 2006 21:50, Bob Young wrote: Note that the article does in the end, do a double emerge -e system, so the the value of updating a toolchain subset is questionable for the article's purposes. In short: emerge gcc-config glibc binutils libstdc++-v3 gcc emerge gcc-config glibc binutils libstdc++-v3 gcc emerge -e world To be clear, in order to make sure absolutely everything is updated and the libraries that are linked against are also updated prior to use, the two emerge -e system commands, are the definitive solution. For those who don't want to spend many extra hours of compile time, in order to gain a 0.5% increase in performance, the above is offered for consideration. Regards, Bob Young Wow! I said the same thing a week or so ago and got the same rebuttal. However, it's what I do none the less. And it works. I've been thinking about this over the last week or so. In particular the fact that gcc always uses itself to build itself, does elminate the need for building gcc twice. That being the case, emerging the new gcc then selecting it as the default system compiler followed by a single emerge -e world should be all that is necessary. I suppose it's possible that a few apps or utilities that use static linking *could* possibly end up linking against libraries that have not been rebuilt with the new compiler yet due to build order issues. However since the number of apps and utilities that actually use static linking is very small, it doesn't seem that a double emerge -e world or system is justified. That being said, seems these two articles appear to be giving out bad information: http://forums.gentoo.org/viewtopic.php?t=282474highlight= http://forums.gentoo.org/viewtopic-t-345229.html If I've mis-characterisized the issue in the above description I'd appreciate it if someone would correct any mis-statements. Lastly, since the Gentoo handbook no longer describes a stage one install, is there any official documentation that describes the *correct* way to do a stage3 install and end up with the same level of optimization and customization that used to be provided by a stage1 install? -- Regards, Bob Young -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A gentoo kind of dependency heck
On 6/11/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Sunday 11 June 2006 23:32, Kevin O'Gorman wrote: That sounds interesting, but I have no idea what to do about it. I think once upon a time, when I was first installing gentoo, I opted for KDE.I haven't done a thing about it since KDE 3.2.Now all of a sudden I've got this conflict. What do I need to change?And --tree to the command to see what's pulling things in. Post command withthe output here.-- Bo Andresen --tree does not seem to do much. Here's what I get with an emerge -aDvu and an equery depends kdepim: [EMAIL PROTECTED] kde # emerge -aDvu --tree world These are the packages that I would merge, in reverse order: Calculating world dependencies !!! Packages for the following atoms are either all !!! masked or don't exist: games-roguelike/noegnud-nethack games-roguelike/nethack ...done! [blocks B ] =kde-base/libkcal-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkdenetwork-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/certmanager-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/ktnef-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkdepim-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/kalarm-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkpimidentities-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkmime-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkpgp-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [nomerge ] media-plugins/gst-plugins-esd-0.8.11 [ebuild N ] kde-base/kdepim-3.5.2-r2 +arts +crypt -debug -gnokii -kdeenablefinal -kdehiddenvisibility -pda -xinerama 0 kB Total size of downloads: 0 kB !!! Error: The above package list contains packages which cannot be installed !!! on the same system. [EMAIL PROTECTED] kde # equery depends kde-base/kdepim-3.5.2-r2 [ Searching for packages depending on kde-base/kdepim-3.5.2-r2... ] kde-base/kde-3.5.2 kde-base/kdeaddons-3.5.2-r1 [EMAIL PROTECTED] kde # The only ebuild I can see that I rely on directly is kalarm. All the others must be dependencies. And I got in this mess because kalarm was broken. Since I last wrote, I found I can get emerge to shut up by adding kdepim to packages.provided. Which means it's not really there, but we're lying about it.It lets me do emerges again, but I'd like to stop lying. ++ kevin-- Kevin O'Gorman, PhD
Re: [gentoo-user] adsl rp-pppoe - new baselayout problem
Francisco J. A. Ares schrieb: but I'd prefer to go back to the init script. Thanks Francisco The old rp-pppoe init script works without problems on my up-to-date gentoo router. I prefer this way, too. If you need it, here is the script: bragi ~ # cat /etc/init.d/rp-pppoe #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe.rc,v 1.7 2004/10/07 22:06:53 eradicator Exp $ depend() { use net after domainname } start() { ebegin Starting adsl start-stop-daemon --start --quiet --exec /usr/sbin/pppoe-start eend $? } stop() { ebegin Stopping adsl start-stop-daemon --start --quiet --exec /usr/sbin/pppoe-stop eend $? } -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
Michael Weyershäuser wrote: I usualy start with a kernel with almost everything compiled in (but only things I definitely need), only using modules when I have to (USB for suspend2 comes to my mind). Over time whenever I need something new (filesystem, hardware driver,...) I tend to compile it as a module to avoid a reboot. As I do not upgrade my kernel very often this happens more often than you might think (last upgrade was from 2.6.11 to 2.6.16, on my laptop from 2.6.10 to 2.6.16). I don't really care about the 300k more used memory (hardly worth a thought on systems with 1 GB RAM and more) or the 0.3 seconds faster boot process. Modules just come in handy when it comes to avoiding a reboot. OK, this seems to confirm something I had suspected but never investigated: - that you can compile just a module without the need to recompile and install a revised kernel. This is possible? How? make modules_install or the whole thing: make make modules_install then just modprobe the new module? Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gamin
Arnau Bria wrote: This morning I noticed that gam_server was eating 80 90% of cpu... I'm trying to find who installed gamin in my system, If you look at the ebuild ('less /usr/portage/app-admin/gamin/gamin-0.1.7.ebuild'), you'll see that gamin provides the virtual fam. $ equery depends fam [ Searching for packages depending on fam... ] gnome-base/gnome-vfs-2.12.2 But there are several other packages that depend on fam when the fam USE flag is set, among them kdelibs. You can also do an 'emerge -pet world | less', and look under what package gamin sits. So, how may I know if gamin is required package? It is used to observe whether files have changed. Quite useful when you happen to pull out files from under Kate. If you don't need it, drop the fam USE flag. Benno -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: adsl rp-pppoe - new baselayout problem
The old rp-pppoe init script works without problems on my up-to-date gentoo router. I prefer this way, too. Nobody needs the old init.d-script anymore. Here are the advantages of using baselayout: - you can unmerge rp-pppoe - the pppoe-plugin provided by pppd uses the kernel PPPoE-implementation which is much faster (but experimental though) - /etc/init.d/net.pppX is part of net, /etc/init.d/rp-pppoe is not (which is an advantage because of scripts that depends on net) - ... more? Well, look at the configuration i posted. It's very simple (once you found out and understood what's going on). signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Module philosophy: Compile-in or Load
Yea, of course you can do that, though you have to be careful if your kernel tree has changed to a different version than the one you're booted from (usually you can still just force the module to load, but a module from a different kernel tree may not want to play nicely with everything else). On 6/12/06, Anthony E. Caudel [EMAIL PROTECTED] wrote: Michael Weyershäuser wrote: I usualy start with a kernel with almost everything compiled in (but only things I definitely need), only using modules when I have to (USB for suspend2 comes to my mind). Over time whenever I need something new (filesystem, hardware driver,...) I tend to compile it as a module to avoid a reboot. As I do not upgrade my kernel very often this happens more often than you might think (last upgrade was from 2.6.11 to 2.6.16, on my laptop from 2.6.10 to 2.6.16). I don't really care about the 300k more used memory (hardly worth a thought on systems with 1 GB RAM and more) or the 0.3 seconds faster boot process. Modules just come in handy when it comes to avoiding a reboot. OK, this seems to confirm something I had suspected but never investigated: - that you can compile just a module without the need to recompile and install a revised kernel. This is possible? How? make modules_install or the whole thing: make make modules_install then just modprobe the new module? Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Join plain text paragraphs
On 18:53 Mon 12 Jun , JimD wrote: Sweet. Thanks for the tips. I need to start using OOo more ;-) No need. sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename -- Join The no2id Coalition, http://www.no2id.net/ djm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] An alternative to http-replicator
On Sun, 11 Jun 2006 10:37:08 +0800, William Kenworthy wrote: Used to do that - heaps of problems when using multiple machines and multiple users. There used to be problems when trying to download the same file from two computers at once, but NFS-aware file locking in portage fixed that quite a long time ago. I don't really see the need for such elaborate setups. I just export /usr/portage/distfiles via NFS on the server and mount it on all other boxes... -- Neil Bothwick In plumbing, a straight flush is better than a full house. signature.asc Description: PGP signature
Re: [gentoo-user] Re: [OT] Question about duplicate lines in file
On Mon, 12 Jun 2006 17:52:21 -0500, Teresa and Dale wrote: sort -u -k1,1 /etc/hosts /etc/hosts.new avoids the need to use cat, uniq or tr. -k1,1 sorts on the first field (space delimited) and -u remove lines where the sort field is the same. Well that removed a few, all of them to be exact. The file was blank. O_O LOL I'm learning though. What's the format of the file? If it's a standard /etc/hosts layout, this will removed duplicates based on IP address, but if you have another field first, you need to change the key. -- Neil Bothwick Bother, said Pooh, as he connected at 300 bps. signature.asc Description: PGP signature
Re: [gentoo-user] Join plain text paragraphs
On 00:13 Tue 13 Jun , David Morgan wrote: sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename Gosh, what was I thinking? sed -e :a -e '$!N;s/\n\([^$]\)/\1/;ta' -e 'p;D' filename I expect there's a slightly nicer way, but I'm tired and I have an exam in the morning... -- Join The no2id Coalition, http://www.no2id.net/ djm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc-4.1.1
On 6/12/06, Bob Young [EMAIL PROTECTED] wrote: That being said, seems these two articles appear to be giving out bad information: http://forums.gentoo.org/viewtopic.php?t=282474highlight= http://forums.gentoo.org/viewtopic-t-345229.html Yes, I would have to agree. The first is just so utterly wrong I can't actually read it all the way through. I also have problems with the second, aside from the gcc issues. It puts a lot of effort into fine-tuning hdparm settings, but misses the noatime option in fstab that actually makes a much bigger difference. And it recommends -nptlonly, without any reasoning why. Of course it is also marked as deprecated, with a link to the new version, but that requires some kind of login to access. But basically the forums, the wiki, and even this mail list are all buyer beware! They are all unofficial, and there is no quality control other that what is provided by other users. Heck, don't even trust me without doing some of your own research. I will sometimes mention whatever official sources support my position, but usually only if I am trying to make a particularly strong argument. If I make an unsupported assertion, you *should* question it! *I may not* actually know what I am talking about! appreciate it if someone would correct any mis-statements. Lastly, since the Gentoo handbook no longer describes a stage one install, is there any official documentation that describes the *correct* way to do a stage3 install and end up with the same level of optimization and customization that used to be provided by a stage1 install? The FAQ entry: http://www.gentoo.org/doc/en/faq.xml?style=printable#stage12 Note that although the faq is about installing from stage1 (or stage2), it really doesn't say how to install from stage1. It tells how to get to the same point from a stage3 install. There was a discussion about this on gentoo-dev late last year. While not 'official documentation', it is at least from people who should know what they are talking about: http://article.gmane.org/gmane.linux.gentoo.devel/33251/match=decision+remove+stage1+2 So the answer seems to be: 1. Install a stage3 as documented 2. [Edit and] run bootstrap.sh 3. emerge -e system -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] freenet
The configuration process of freenet needs visit the following site http://downloads.freenetproject.org/freenet-stable-latest.jar Unfortunately, in our country, this web site is unaccessable, too. Any suggestion? -- Shaochun Wang(王绍春) [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] freenet
On 6/12/06, Shaochun Wang [EMAIL PROTECTED] wrote: Any suggestion? Sent. -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GAT d-(+) s+: a24 C++ UBL++ P L++ E--- W+++$ N+ o? K? w O? M-- V? !PS !PE Y PGP- t++ 5++ X+ R+++ tv+ b++ DI D++ G e+ h-- r++ y+ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem with X and xfce in Gentoo.
Hey everyone, when I load up gentoo it loads up a basic console login and when I try to startx it loads up a really basic X interface with two terminals and a analog looking clock. When I try to use xfce-session it loads up xfce but things are out of place and it looks more like a basic X session. _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] really annoying boxes in firefox and evolution
Hi, I'm getting a strange font problem in evolution and firefox - evolution shows square boxes when it should be showing tabs, and firefox shows square boxes in java applets when it should be showing spaces. Both applications show the tab / space as well, but there's these little boxes all over the place. I've tried installing a few fonts, or looking for use flags that might affect it, but nothing worked - I'm completely stumped. Can anyone help me solve this? What would you suggest? xorg.conf? use flags? thanks, -- Iain Buchanan iaindb at netspace dot net dot au Nietzsche is pietzsche, but Schiller is killer, and Goethe is moethe. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
Anthony E. Caudel wrote: Teresa and Dale wrote: Care to guess how much I like modules: [EMAIL PROTECTED] / # lsmod Module Size Used by nvidia 4551892 12 [EMAIL PROTECTED] / # I would have that one in there if I could. I never did like them. Why? I read somewhere once that it is harder to mess with the kernel than the modules, as in someone putting something evil in it. The kernel is one big file but the modules are not. I think they are in /usr/lib/modules ot something like that. I figure if someone messes with the kernel, they will mess it up or something and it will not boot at all. I just read it is not as secure is what I am saying I guess. Besides, I just hate have to edit the module file to get them to load, plus you ahve to wait when booting. My sorry $.02 worth. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Peer review of ntp.conf file
John J. Foster wrote: Good evening, After having some recent issues with ntpd (which I'm not certain are resolved), I decided to take a close look at my /etc/ntp.conf file. Below are the _only_ lines in /etc/ntp.conf that are not commented out. restrict 127.0.0.1 nomodify driftfile /var/lib/ntp/ntp.drift logfile /var/log/ntp.log server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org Researching this subject leads me to believe this is one of the more difficult subjects to get a good grasp of what is actually taking place behind the scenes. There appears to be a _lot_ of variables involved that _could_ have a major impact on operations. This workstation in the only linux box on this network, and I would like to be able to serve time to 5 XP boxes if possible. What I'm asking for here is 2 things: 1:) Additions and/or changes to ntp.conf, along with the rationale for them. 2:) A good laymans explanation (or link to) proper ntp configuration and usage. Thanks, festus This is my conf file: # generated automatically by net-scripts restrict default noquery notrust nomodify restrict 127.0.0.1 driftfile /var/lib/ntp/ntp.drift restrict 65.83.241.181 nomodify notrap noquery server 65.83.241.181 restrict 67.32.118.46 nomodify notrap noquery server 67.32.118.46 That's the whole thing. There is a command that I used that picked out the three servers that has the fastest ping times but I can't remember what it is. It's in the ofrums somewhere but I can't find it. Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Peer review of ntp.conf file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teresa and Dale wrote: That's the whole thing. There is a command that I used that picked out the three servers that has the fastest ping times but I can't remember what it is. It's in the ofrums somewhere but I can't find it. Dale :-) :-) % eix -e netselect * net-analyzer/netselect Available versions: 0.3-r1 Installed: 0.3-r1 Homepage:http://www.worldvisions.ca/~apenwarr/netselect/ Description: Ultrafast implementation of ping. - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEjj55FN7pD9kMi/URApZSAJsGGXJy1jft49AiGOTOlRZaiKu66wCfaDWg waC0ppgkxoXGA/f/C6ifmDc= =b6yf -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list