[gentoo-user] Column headings in KDE4 apps
I've finally made the brave step of using KDE4 as the primary desktop on my work machine :-) I must be too used to 3.5 as there are some things I can't yet figure out. The most annoying is column headings. By way of example, dolphin and kmail, it's the filename|size|date and Subject|From|Date type columns. I find these move around and adapt themselves to the width of the window. Except I usually end up with a 50 pixel Subject column, 10 pixel From column, and the Date column (sorted the wrong way) is 1400 pixels wide... Where do I configure such things and tell apps how *I* want columns to be displayed? I've searched and can't quite find it -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] a multi-process browser?
On Sun, 15 Feb 2009 14:27:08 +0800 zhangwe...@realss.com wrote: > I don't know if in China network is specially boardband otherwise how to > explain the forums dare to allow dozens of hi-res photo posted in-line > of messages and web designers dare to design websites with a front page > of more than 3MB (e.g. our local tax office website contain huge picture > and flash on the front-page with several hundreds of links on it). You can use on-demand loading for such content with firefox plugins like flashblock - it'll load flash only when you click on it. I bet there are plenty such plugins for images, as well. Also, you might consider disabling firefox cache (which I find quite slow) at all, using a proxy (like squid) to cache such a large static objects - it'll do much better job w/o any burden on your resources. Besides, it can cache static for whole your network, or communicate with other local proxies, taking advantage of their caches to speed up loading. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] a multi-process browser?
On Sun, 15 Feb 2009 14:27:08 +0800 zhangwe...@realss.com wrote: > I don't know if in China network is specially boardband otherwise how to > explain the forums dare to allow dozens of hi-res photo posted in-line > of messages and web designers dare to design websites with a front page > of more than 3MB (e.g. our local tax office website contain huge picture > and flash on the front-page with several hundreds of links on it). Oh, and I've forgot to mention one trick, besides flashblock, to defend against cpu-intensive animation: disable animated gifs! I've noticed that large gifs can eat more CPU than this useless flash, and disabling them won't really degrade anything. Try setting 'image.animation_mode' (string) to 'none' in 'about:config'. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] FIle type recognition in Gnome
Amar Ćosić amar.co...@gmail.com a...@amar.ba +38761240095 http://www.amar.ba On Sun, Feb 15, 2009 at 2:27 AM, Albert Hopkins wrote: > On Sun, 2009-02-15 at 00:15 +, amar.co...@gmail.com wrote: > > Hello list > > > > I have this weird issue with Gnome and diferent file types. For ex. if > > I double click on .avi file it try's to open it with document viewer > > (gedit i guess). And If I go right click>properties>open with> then > > chose Movie player.. then it opens .avi in Totem. But thing is after > > that it will try to open every file type in Totem ie. .txt .zip .. Its > > like it doesnt recognize and assign right aplication to file type. Any > > sugestions on this? > > > > I've never seen this before. Something is really messed up. BTW > "Document Viewer" is usually Evince. > > Well you didn't specify what version of GNOME you are using. Perhaps > your > ~/.local/share/applications/mimeapps.list, > /usr/share/applications/mimeinfo.cache or /usr/share/application-registry is > hosed. > > -a > > > > Gnome is 2.22.3 and its new for me too. This is only 20-ish day old installation,and for first 10 days it acctualy worked OK.My mimeapps.list looks like this: [Added Associations] video/x-msvideo=totem.desktop; text/plain=totem-usercustom.desktop;evince.desktop;file-roller.desktop; mimeinfo.cache is here http://omploader.org/vMTk0YQ and gnome-vfs.applications from application-registry is here http://omploader.org/vMTk0Yg
Re: [gentoo-user] Fake MAC Address Bungling Wireless
2009/2/15 daid kahl > )On Sat, 2009-02-14 at 20:05 +0900, daid kahl wrote: >> > I was bored and playing around with macchanger to change my Wireless >> > MAC address, and wireless has not worked since, even though I'm using >> > my hardware MAC address again. I'm usually using NetworkManager, but >> > I >> >> >> Well, no obvious solutions after 7 hours of actively trying things, so I'll restore from backup. For those interested, I deleted files from /var/lib/dhcpbd, and this allowed me to get new IP addresses, but all within the faulty subdomain of California. I tried on another wireless networks, and still my machine tries to assign me an IP within the California domain. I reinstalled my entire networking software (short of a kernel recompile), and deleted and remade any network configuration files I could find that might be relevant, and still the problem persisted. I used wicd to assign myself static IP and DNS with known values that are functional, and then the network was recognized, but I could not access anything. I have a backup of the current system, so if anyone is really really interested in this subject, I could restore and toy around some more. But I have to recommend against using macchanger without a very recent backup of your system. I'd file a bug report, but what would I say? I don't know what file was actually being affected, so I can't offer any useful insight. ~daid
[gentoo-user] RAID controller
Hi All, I am thinking of installing Gentoo on a Dell box with this RAID controller: http://support.dell.com/support/edocs/storage/RAID/PERC5/en/UG/HTML/chapter1.htm Has anyone got experience with this hardware? What will I need to include in the kernel? Will I need any fancy firmware/drivers? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] a multi-process browser?
On Sunday 15 February 2009 08:14:28 Mike Kazantsev wrote: > On Sun, 15 Feb 2009 14:27:08 +0800 > > zhangwe...@realss.com wrote: > > I don't know if in China network is specially boardband otherwise how > > to explain the forums dare to allow dozens of hi-res photo posted > > in-line of messages and web designers dare to design websites with a > > front page of more than 3MB (e.g. our local tax office website contain > > huge picture and flash on the front-page with several hundreds of links > > on it). > > You can use on-demand loading for such content with firefox plugins > like flashblock - it'll load flash only when you click on it. I bet > there are plenty such plugins for images, as well. I'll put a word in here for the NoScript and AdBlock extensions to Firefox. I'd imagine those are more-or-less essential in China - I certainly wouldn't like to be without them even here in UK. -- Rgds Peter
[gentoo-user] How to turn off the screen permanently
Well, I've just upgraded my laptop. The old one has ati radeon r250 graphics card. On this card I can easily turn off the screen using nice program "radeantool" of course "xset dpms force off" worked as well. And "turn off" was permanent. It is worth to mention that I was using x11-drivers/xf86-video-ati opensource drivers... On the other hand, the new laptop has nvidia (quadro 135) aboard and now I'm using x11-drivers/nvidia-drivers-177.82. Everything works fine except one tiny problem now if I turn off the screen and backlight after a few seconds the backlight is back on! For example: $ xset dpms 0 0 5 The screen is nicely turning off after 5 seconds but after 3-8 seconds the backlight is back on! Then, I notice that this is the screensaver. So I tried again $ xset s off $ xset dpms 0 0 5 And now after about 10 seconds I have whole screen back on! I even tried vbetool dpms off. By the way it is not working smoothly for me, so manage little ugly hack --- screenoff #!/bin/bash for ((i=0;i<256;i++)); do /usr/sbin/vbetool dpms off & sleep 0.5 PID=`pidof vbetool` if [ -n "$PID" ]; then kill -9 $PID >/dev/null 2>&1 else exit fi done >/dev/null 2>&1 But even now screen is back on again!!! I'm using gentoo stable (gnome) x11-base/xorg-server-1.3.0.0-r6 x11-drivers/nvidia-drivers-177.82 without gnome-extra/gnome-screensaver Thanks in advance for any suggestion
Re: [gentoo-user] Fake MAC Address Bungling Wireless
On Sunday 15 February 2009, daid kahl wrote: > wifi0: probing for an IPV4LL address > wifi0: checking 169.254.62.179 is available on attached networks > wifi0: using IPv4LL address > 169.254.62.179[ ok > ] * received address 169.254.62.179/16 > > I'm not concerned if you have this IP, because this is the non-functional > California IP that my computer continues to assign itself in Gentoo. No I don't think it is. You have compiled dhcpcd with zeroconf enabled and if it takes too long to get an ip address from your wireless router the zeroconf kicks in and assigns one of the private addresses reserved for this purpose. You could try recompiling dhcpcd without zeroconf and see what happens. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: How to turn off the screen permanently
I notice that "very partial" solution for me is to switch to console (alt+ctrl+f1) and as a root run ./screenoff script. At least this works and I can use it to lid.sh script, for example something like this --- #open screenon chvt 7 # close chvt 12 screenoff --- On Sun, Feb 15, 2009 at 12:22 PM, Marcin Zwd wrote: > Well, I've just upgraded my laptop. The old one has ati > radeon r250 graphics card. On this card I can easily turn > off the screen using nice program "radeantool" of course > "xset dpms force off" worked as well. And "turn off" was > permanent. It is worth to mention that I was using > x11-drivers/xf86-video-ati opensource drivers... On the > other hand, the new laptop has nvidia (quadro 135) aboard > and now I'm using x11-drivers/nvidia-drivers-177.82. > Everything works fine except one tiny problem now if I turn > off the screen and backlight after a few seconds the > backlight is back on! > > For example: > > $ xset dpms 0 0 5 > > The screen is nicely turning off after 5 seconds but after > 3-8 seconds the backlight is back on! Then, I notice that > this is the screensaver. So I tried again > > $ xset s off > $ xset dpms 0 0 5 > > And now after about 10 seconds I have whole screen back on! > I even tried vbetool dpms off. By the way it is not working > smoothly for me, so manage little ugly hack > > --- screenoff > #!/bin/bash > for ((i=0;i<256;i++)); do >/usr/sbin/vbetool dpms off & >sleep 0.5 >PID=`pidof vbetool` >if [ -n "$PID" ]; then >kill -9 $PID >/dev/null 2>&1 >else >exit >fi > done >/dev/null 2>&1 > > But even now screen is back on again!!! > > I'm using gentoo stable (gnome) > x11-base/xorg-server-1.3.0.0-r6 > x11-drivers/nvidia-drivers-177.82 > without > gnome-extra/gnome-screensaver > > > Thanks in advance for any suggestion >
Re: [gentoo-user] Re: seamonkey helper apps
On Tuesday 10 February 2009, James wrote: > Mick gmail.com> writes: > > > I use to listen to my voice mail, via mplayer and seamonkey. > > > > I would have thought that mplayer is a bit of an overkill for playing > > .wav, have you tried /usr/bin/aplay? > > True but it always worked. Aplay works on command line, but > not from Seamonkey Right, this probably suggests that something changed in Seamonkey and this is why the error arose. I assume that you are running Seamonkey with the same privileges as before mplayer stopped working? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: seamonkey helper apps
On Tuesday 10 February 2009, James wrote: > I recompile seamonkey with --deep but that has not fixed the problem... Have you tried moving the ~/.mozilla-X file where the configurations for seamonkey are kept (not sure where that would be, because I do not use Seamonkey) and launching seamonkey afresh? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Fake MAC Address Bungling Wireless
daid kahl wrote: 2009/2/15 daid kahl mailto:daid...@gmail.com>> )On Sat, 2009-02-14 at 20:05 +0900, daid kahl wrote: > I was bored and playing around with macchanger to change my Wireless > MAC address, and wireless has not worked since, even though I'm using > my hardware MAC address again. I'm usually using NetworkManager, but > I Well, no obvious solutions after 7 hours of actively trying things, so I'll restore from backup. For those interested, I deleted files from /var/lib/dhcpbd, and this allowed me to get new IP addresses, but all within the faulty subdomain of California. I tried on another wireless networks, and still my machine tries to assign me an IP within the California domain. I reinstalled my entire networking software (short of a kernel recompile), and deleted and remade any network configuration files I could find that might be relevant, and still the problem persisted. I used wicd to assign myself static IP and DNS with known values that are functional, and then the network was recognized, but I could not access anything. It's not a California address. It's an IPv4LL address, used when a dhcp server can't be found adn is related to the zeroconf useflag the other poster mentioned. Read: http://en.wikipedia.org/wiki/Zero_configuration_networking
Re: [gentoo-user] trouble with evince (mime bad?)
At Sun, 15 Feb 2009 09:40:42 +0200 Alan McKinnon wrote: > On Saturday 14 February 2009 01:50:38 Allan Gottlieb wrote: >> Recently evince stopped working on one of my machines, ajglap. >> >> For every pdf, evince opens a window and complains >> unable to open document >> unhandled mime type > > As you use evince, you may be a gnome user, so this might not help you. I > recently had all my kde associations and (very surprisingly) a number of > others from other DEs go scrambled. Rebuilding kdelibs fixed all of it. > > I never did figure out how this could occur. Possibly it's something to do > with DEs converging on freedesktop.org standards, so an oopsie in one can > have > system-wide side0effects. Yes, I should have mentioned that I am a gnome user. Thank you for responding. allan
Re: [gentoo-user] RAID controller
Mick wrote: Hi, Hi All, I am thinking of installing Gentoo on a Dell box with this RAID controller: http://support.dell.com/support/edocs/storage/RAID/PERC5/en/UG/HTML/chapter1.htm Has anyone got experience with this hardware? What will I need to include in the kernel? Will I need any fancy firmware/drivers? You can use megaraid driver for Perc5. Device Driver -> SCSI device support -> SCSI low-level drivers [*] LSI Logic New Generation RAID Device Drivers │ │ < > LSI Logic Management Module (New Driver) │ │ <*> LSI Logic Legacy MegaRAID Driver │ │ <*> LSI Logic MegaRAID SAS RAID Module This is my controller linux # lspci | grep -i scsi 01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08) I have a 2950 II.
Re: [gentoo-user] Fake MAC Address Bungling Wireless
2009/2/15 Shawn Haggett > daid kahl wrote: > >> >> >> 2009/2/15 daid kahl mailto:daid...@gmail.com>> >> >>)On Sat, 2009-02-14 at 20:05 +0900, daid kahl wrote: >>> I was bored and playing around with macchanger to change my >>Wireless >>> MAC address, and wireless has not worked since, even though >>I'm using >>> my hardware MAC address again. I'm usually using >>NetworkManager, but >>> I >> >> >> Well, no obvious solutions after 7 hours of actively trying things, so >> I'll restore from backup. >> For those interested, I deleted files from /var/lib/dhcpbd, and this >> allowed me to get new IP addresses, but all within the faulty subdomain of >> California. I tried on another wireless networks, and still my machine >> tries to assign me an IP within the California domain. I reinstalled my >> entire networking software (short of a kernel recompile), and deleted and >> remade any network configuration files I could find that might be relevant, >> and still the problem persisted. I used wicd to assign myself static IP >> and DNS with known values that are functional, and then the network was >> recognized, but I could not access anything. >> > It's not a California address. It's an IPv4LL address, used when a dhcp > server can't be found adn is related to the zeroconf useflag the other > poster mentioned. Read: > http://en.wikipedia.org/wiki/Zero_configuration_networking > > So it is. I was looking up regions and IP addresses trying to figure out what kind of IP I had. In any case, I tried installing dhcpcd with the -zeroconf useflag, and I was still getting this sort of IP, so I don't think it's quite as simple as that. This then relates to my earlier query of how one resets a IP v4 LL address. Or perhaps changing the MAC address *does* reset the IP v4 LL address, but then the question becomes, how can you get back the behavior of letting the network give you an address, which is removed or altered by a change of MAC. ~daid
Re: [gentoo-user] a multi-process browser?
On Sonntag 15 Februar 2009, zhangwe...@realss.com wrote: > Volker Armin Hemmann schrieb: > > konqueror > > > > it is better than ff anyway. > > Are you sure it runs multi-process? yes (without tabs I am sure) and with tabs, even when one tab is hanging, the others go on (at least with kde4.2).
Re: [gentoo-user] a multi-process browser?
On Sonntag 15 Februar 2009, Peter Humphrey wrote: > On Sunday 15 February 2009 08:14:28 Mike Kazantsev wrote: > > On Sun, 15 Feb 2009 14:27:08 +0800 > > > > zhangwe...@realss.com wrote: > > > I don't know if in China network is specially boardband otherwise how > > > to explain the forums dare to allow dozens of hi-res photo posted > > > in-line of messages and web designers dare to design websites with a > > > front page of more than 3MB (e.g. our local tax office website contain > > > huge picture and flash on the front-page with several hundreds of links > > > on it). > > > > You can use on-demand loading for such content with firefox plugins > > like flashblock - it'll load flash only when you click on it. I bet > > there are plenty such plugins for images, as well. > > I'll put a word in here for the NoScript and AdBlock extensions to Firefox. > I'd imagine those are more-or-less essential in China - I certainly > wouldn't like to be without them even here in UK. of course konqueror can block ads and scripts without 'extensions'
Re: [gentoo-user] Re: Ext4 for a new installation?
>> Or would I be better off using ext3 and converting it to ext4 in a month >> or two? Are there any downsides to converting a fs from ext3 to ext4 in this >> way? > > The downsides are that you'll end up with missing ext4 features that will > only apply to newly created files after the conversion. I recommend to just > be clean about it and use ext4 from the start. > AFAIK this isn't true. You can 'convert' an ext3 filesystem to ext4 using ext4's defrag utility. See http://kernelnewbies.org/Ext4. -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] Ext4 for a new installation?
On Montag 02 Februar 2009, Stroller wrote: > For more funroll-loopiness I contemplate using ext4 for the new system > I'm about to install. > > Anyone know of any LiveCDs that would support this? > > I _think_ it should be just a case of untarring the stage 3, chrooting > in, updating everything to latest & reboot. As long as I use 2.6.28 > when I install I don't think there should be anything that is > incompatible with ext4?? > > Or would I be better off using ext3 and converting it to ext4 in a > month or two? Are there any downsides to converting a fs from ext3 to > ext4 in this way? > > Cheers, > > Stroller. the best thing would be to wait for another year before you even think about touching that mess.
Re: [gentoo-user] Ext4 for a new installation?
El Dom, 15 de Febrero de 2009, 16:59, Volker Armin Hemmann escribió: > On Montag 02 Februar 2009, Stroller wrote: > > the best thing would be to wait for another year before you even think > about touching that mess. If by "that mess" you mean ext4, you should know that it's just as stable as ext3. -- Jesús Guerrero
Re: [gentoo-user] Ext4 for a new installation?
On Sonntag 15 Februar 2009, Jesús Guerrero wrote: > El Dom, 15 de Febrero de 2009, 16:59, Volker Armin Hemmann escribió: > > On Montag 02 Februar 2009, Stroller wrote: > > > > the best thing would be to wait for another year before you even think > > about touching that mess. > > If by "that mess" you mean ext4, you should know that it's > just as stable as ext3. so ext3 is completly broken? likes to deadlock? and is mostly untested? ext4 is new. It was just declared stable. It is not. It has to prove itself to be stable in the next 6 to 12 month. Earlier than that it is not stable. But if you look at all the problems reported on lkml you should come to the conclusion, that both ext3 and 4 are unstable. It is just wrong to pile new features unto an aging platform instead of making the cut, put one into maintanence mode and start from a clean state. Some did it. extX never did. With the bad results easily visible for everybody who wants to see.
[gentoo-user] Should this hardware work?
I'd like to buy a Sipix A6 portable printer for printing boarding passes on the go since they can be had for around $20. It is said to work in Linux: http://openprinting.org/show_printer.cgi?recnum=SiPix-Pocket_Printer_A6 but that page only mentions the serial connection and doesn't mention the infrared connection. If it's working via serial, should it also work via infrared? If not necessarily, should it definitely work via a serial->USB adapter that works in Linux? - Grant
Re: [gentoo-user] RAID controller
On Sunday 15 February 2009, Alex wrote: > Mick wrote: > > Hi, > > > Hi All, > > > > I am thinking of installing Gentoo on a Dell box with this RAID > > controller: > > > > http://support.dell.com/support/edocs/storage/RAID/PERC5/en/UG/HTML/chapt > >er1.htm > > > > Has anyone got experience with this hardware? What will I need to > > include in the kernel? Will I need any fancy firmware/drivers? > > You can use megaraid driver for Perc5. > > Device Driver -> SCSI device support -> SCSI low-level drivers > > [*] LSI Logic New Generation RAID Device Drivers > >│ │ < > LSI Logic Management Module > (New Driver) >│ │ <*> LSI Logic Legacy MegaRAID > Driver >│ │ <*> LSI Logic MegaRAID SAS RAID > Module > > This is my controller > > linux # lspci | grep -i scsi > 01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E > PCI-Express Fusion-MPT SAS (rev 08) > > I have a 2950 II. Nice! Thank you very much. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Scanner sharing with HPLIP?
Here is a method for sharing a scanner over a network with sane-backends and inetd: http://www.linux.com/articles/57798 My prospective printer/scanner (HP c4599) is not listed in the SANE compatible devices: http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD It is listed in HPLIP, but the network feature is apparently not working (Network I/O): http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c4500_series.html Can I share the scanner over the network without SANE support since it has HPLIP support? - Grant
Re: [gentoo-user] Should this hardware work?
Grant wrote: I'd like to buy a Sipix A6 portable printer for printing boarding passes on the go since they can be had for around $20. It is said to work in Linux: http://openprinting.org/show_printer.cgi?recnum=SiPix-Pocket_Printer_A6 but that page only mentions the serial connection and doesn't mention the infrared connection. If it's working via serial, should it also work via infrared? If not necessarily, should it definitely work via a serial->USB adapter that works in Linux? - Grant Don't quote me on this, but in the past when I have used infrared, it used a pseudo serial connection. This should mean that once the infrared connection is established, you should be able to print as if it was a physical serial connection. Of course, getting the IR connection established might be easier said than done. HTH -- Matt Harrison
Re: [gentoo-user] a multi-process browser?
On Sunday 15 February 2009, 05:10, Joshua Murphy wrote: > Google Chrome's another that has this wonderful feature... and doesn't > run on Linux (yet). And even when it will, I bet it would be under wine.
Re: [gentoo-user] Installing outside of Portage & cruft removal
Grant wrote: > I'd like to install the latest miro from their nightlies and that > means installing manually without an ebuild. I've always avoided this > because I don't want files spread across my system without an easy way > to remove them. I've also always wanted to set up a good cruft > removal script for keeping my system clean (I'll admit that takes me > in the hobbyist direction) and I'm thinking the two might work well > together. I could temporarily install apps without an ebuild and use > a cruft removal script to remove them. > > What do you guys think of this? Do you know of a good cruft removal > script? If you can install your apps into a specific location, I'd use xstow. emerge xstow cd ~/install/myapp-1.2.3 ./configure --prefix=/usr/local/stow/myapp-1.2.3 && make && make install cd /usr/local/stow xstow myapp-1.2.3 myapp-1.2.3 is installed into /usr/local/stow/myapp-1.2.3, but xstow created symlinks into the /usr/local hierarchy, so it looks as if it were directly installed there. No need to add /usr/local/stow/myapp-1.2.3/bin to the PATH and such. Use xstow -D myapp-1.2.3 to remove the symlinks if you want to uninstall, then remove /usr/local/stow/myapp-1.2.3. Wonko
Re: [gentoo-user] Should this hardware work?
>> I'd like to buy a Sipix A6 portable printer for printing boarding >> passes on the go since they can be had for around $20. It is said to >> work in Linux: >> >> http://openprinting.org/show_printer.cgi?recnum=SiPix-Pocket_Printer_A6 >> >> but that page only mentions the serial connection and doesn't mention >> the infrared connection. If it's working via serial, should it also >> work via infrared? If not necessarily, should it definitely work via >> a serial->USB adapter that works in Linux? >> >> - Grant >> > > Don't quote me on this, but in the past when I have used infrared, it used a > pseudo serial connection. This should mean that once the infrared connection > is established, you should be able to print as if it was a physical serial > connection. > > Of course, getting the IR connection established might be easier said than > done. > > HTH > > -- > Matt Harrison Thanks Matt, I don't feel like coaxing infrared to work (never used it before) so I'll get the adapter. - Grant
[gentoo-user] NIC not detected after Kernel upgrade
Hi, I am new to Gentoo, and yes I am also new to compiling kernels. Well after that introduction, I will give you the details. I am running now uname -a Linux gentoo 2.6.25-gentoo-r8 #7 SMP Sun Nov 16 16:29:29 BOT 2008 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux lspci 00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02) 00:03.0 Communication controller: Intel Corporation 82P965/G965 HECI Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801HB (ICH8) 4 port SATA AHCI Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 SE] (rev a1) 03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface (rev b1) 07:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) lsmod Module Size Used by snd_seq38000 0 snd_seq_device 8332 1 snd_seq snd_hda_intel 314132 0 nvidia 6894516 26 snd_pcm49028 1 snd_hda_intel snd_timer 17032 2 snd_seq,snd_pcm snd_page_alloc 10120 2 snd_hda_intel,snd_pcm snd_hwdep 8708 1 snd_hda_intel snd32308 6 snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep this is my /etc/make.conf (if case there is any relevant info there) # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-O2 -march=i686 -pipe" CXXFLAGS="-O2 -march=i686 -pipe" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="i686-pc-linux-gnu" MAKEOPTS="-j3" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"; # USE="-qt3 -qt4 -arts -kde -ipv6 X dbus gtk gnome hal avahi dvd alsa cdr firefox" USE="-qt3 -qt4 -arts -kde dbus hal avahi mdnsresponder-compat X midi gtk mp3 alsa" INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="nvidia" Here you can find the config file for my current kernel. http://www.go2linux.org/pics/other_files/gentoo/guille.config.txt And the used to generate the new kernel (where NIC is not detected) http://www.go2linux.org/pics/other_files/gentoo/guille1.config.txt Please help me with this problem. If you would like to view a formated version of this info, please go to: http://www.go2linux.org/forums/recompiling-gentoo-kernel-no-nic-after-that-t-14.html best regards and thanks a lot in advance for your time. -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] Fake MAC Address Bungling Wireless
On Sunday 15 February 2009, daid kahl wrote: > what kind of IP I had. In any case, I tried installing dhcpcd with the > -zeroconf useflag, and I was still getting this sort of IP, so I don't > think it's quite as simple as that. Run dhcpcd -k to flush out any previous IP addresses. > This then relates to my earlier query > of how one resets a IP v4 LL address. Or perhaps changing the MAC address > *does* reset the IP v4 LL address, but then the question becomes, how can > you get back the behavior of letting the network give you an address, which > is removed or altered by a change of MAC. Run dhcpcd -T to see what the dhcp server or your router returns - or if it times out. Symptoms like this are often related to buggy wireless NIC drivers, or a weak signal between PC and router. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NIC not detected after Kernel upgrade
Am Sonntag, 15. Februar 2009 22:31:40 schrieb Guillermo Garron: > Here you can find the config file for my current kernel. This has CONFIG_E1000=y > And the used to generate the new kernel (where NIC is not detected) This has both CONFIG_E1000=y and CONFIG_E1000E=y, maybe that's the problem. What does lspci -v tell about the used driver? Anything useful in the dmesg output? BTW: There are also some other NICs enabled in both your configs. HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NIC not detected after Kernel upgrade
I think you need just E1000E for your NIC. I use E1000E <*> for my intel: 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) signature.asc Description: PGP signature
Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?
* Stroller (strol...@stellar.eclipse.co.uk) [14.02.09 08:29]: > > On 4 Feb 2009, at 13:40, Justin wrote: > > Except that here, ntp-client seems to start *before* the network, so fails > to find the ntp-server. > > I'll investigate this more later. > > Stroller. > > > If you have baselayout2 and openrc check /etc/rc.conf for the following: rc_depend_strict="NO" If you have this, this is your problem... HTH Sebastian -- " Religion ist das Opium des Volkes. " Karl Marx s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de pgpUsZdI7akRW.pgp Description: PGP signature
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 5:40 PM, Dirk Heinrichs wrote: > Am Sonntag, 15. Februar 2009 22:31:40 schrieb Guillermo Garron: > >> Here you can find the config file for my current kernel. > > This has CONFIG_E1000=y > >> And the used to generate the new kernel (where NIC is not detected) > > This has both CONFIG_E1000=y and CONFIG_E1000E=y, maybe that's the problem. > > What does lspci -v tell about the used driver? Anything useful in the dmesg > output? Hi, Thanks for your prompt response. Here is the output of this command sudo lspci -v | grep Ether 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) > > BTW: There are also some other NICs enabled in both your configs. Yes, that is because I am not good a compiling kernels and did not know how to discover what NIC I have to enable only that driver or module. :( > > HTH... > >Dirk > -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 5:50 PM, Kenneth Prugh wrote: > I think you need just E1000E for your NIC. > > I use E1000E <*> for my intel: > > 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network > Connection (rev 03) Hi, I think that is the one I should use! cause it seems I have the same card. I will try and let you know. regards. > -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 5:54 PM, Guillermo Garron wrote: > On Sun, Feb 15, 2009 at 5:50 PM, Kenneth Prugh wrote: >> I think you need just E1000E for your NIC. >> >> I use E1000E <*> for my intel: >> >> 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network >> Connection (rev 03) > Hi, > > I think that is the one I should use! cause it seems I have the same card. > > I will try and let you know. I think I talked to fast, I have that enabled. I will try to disable the other one, and lets see. regards, Guillermo. > > regards. > >> > > > > -- > Guillermo Garron > "Linux IS user friendly... It's just selective about who its friends are." > (Using Ubuntu, Debian, Gentoo) > http://feeds.feedburner.com/go2linux > http://www.go2linux.org > -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
[gentoo-user] Re: NIC not detected after Kernel upgrade
Guillermo Garron wrote: On Sun, Feb 15, 2009 at 5:50 PM, Kenneth Prugh wrote: I think you need just E1000E for your NIC. I use E1000E <*> for my intel: 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) Hi, I think that is the one I should use! cause it seems I have the same card. I will try and let you know. e1000 is for the PCI version. e1000e is for the PCI Express version. It can be that there's a conflict if both are enabled.
[gentoo-user] Re: Scanner sharing with HPLIP?
> Here is a method for sharing a scanner over a network with > sane-backends and inetd: > > http://www.linux.com/articles/57798 > > My prospective printer/scanner (HP c4599) is not listed in the SANE > compatible devices: > > http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD > > It is listed in HPLIP, but the network feature is apparently not > working (Network I/O): > > http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c4500_series.html > > Can I share the scanner over the network without SANE support since it > has HPLIP support? > > - Grant I'm going to get the Epson Artisan 700 instead of the HP so I'm wondering about using media-gfx/iscan instead of HPLIP and how that will work for network sharing of the scanner. - Grant
Re: [gentoo-user] a multi-process browser?
* Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 15:45]: > > of course konqueror can block ads and scripts without 'extensions' > Well, since you have to install most of the kde stuff *and* mysql: definetly a no go... Sebastian -- " Religion ist das Opium des Volkes. " Karl Marx s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de pgpu85jrfEWRE.pgp Description: PGP signature
Re: [gentoo-user] Re: NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 6:09 PM, Nikos Chantziaras wrote: > Guillermo Garron wrote: >> >> On Sun, Feb 15, 2009 at 5:50 PM, Kenneth Prugh wrote: >>> >>> I think you need just E1000E for your NIC. >>> >>> I use E1000E <*> for my intel: >>> >>> 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network >>> Connection (rev 03) >> >> Hi, >> >> I think that is the one I should use! cause it seems I have the same card. >> >> I will try and let you know. > > e1000 is for the PCI version. e1000e is for the PCI Express version. It can > be that there's a conflict if both are enabled. Hi, thanks a lot for your help, I have tried both of them and no success, :(. I have also disabled all other NICs in the kernel. Here is my new config file http://www.go2linux.org/pics/other_files/gentoo/guille4.config.txt > > > -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] a multi-process browser?
On Sonntag 15 Februar 2009, Sebastian Günther wrote: > * Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 15:45]: > > of course konqueror can block ads and scripts without 'extensions' > > Well, since you have to install most of the kde stuff *and* mysql: > definetly a no go... > > Sebastian except - you don't.
Re: [gentoo-user] a multi-process browser?
* Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 23:31]: > On Sonntag 15 Februar 2009, Sebastian Günther wrote: > > * Volker Armin Hemmann (volkerar...@googlemail.com) [15.02.09 15:45]: > > > of course konqueror can block ads and scripts without 'extensions' > > > > Well, since you have to install most of the kde stuff *and* mysql: > > definetly a no go... > > > > Sebastian > > except - you don't. > > sam...@marvin ~ $ emerge -pvt konqueror These are the packages that would be merged, in reverse order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/qt-sql:4[mysql]". !!! One of the following packages is required to complete your request: - x11-libs/qt-sql-4.5.0_rc1 (Change USE: +mysql) (dependency required by "app-office/akonadi-server-1.1.1" [ebuild]) (dependency required by "kde-base/kdepimlibs-4.2.0" [ebuild]) (dependency required by "kde-base/kpasswdserver-4.2.0" [ebuild]) (dependency required by "kde-base/konqueror-4.2.0-r1" [ebuild]) (dependency required by "konqueror" [argument]) Well, this somehow states the opposite. Which useflag magic do I have to use to achieve that goal? Sebastian -- " Religion ist das Opium des Volkes. " Karl Marx s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de pgpOOI1ulUzGR.pgp Description: PGP signature
[gentoo-user] spontaneous reboots.. what to look for
I've been experiencing spontaneous reboots on one gentoo machine lately. Looking thru /var/log/messages... I see the restarts but looking above that... I'm not seeing anything I recognize as being a culprit. Its been happening for a few weeks... but I've been busy and only now digging into it ( The machine is no kind of server ). It appears to only happen in X (I'm using xfce4) and I've only noticed it since I started running 2.6.28 kernels. Although I couldn't say that it seemed to be directly related. I mean I didn't boot into 2.6.28 and suddenly notice spontaneous rebooting. It does not appear to be heat realated... but I am only now using lm_sensors to keep an accurate record and see if there appears to be a relationship. I've had two today so either its happening more often or I'm just spending more time on that machine. It may also be on the first or second time its happened while I as actually right at the keyboard. I'm sorry to be so vague about it, but in truth, I've been pretty lazy about it... since no real harm comes of an unexpected reboot on that machine (so far anyway). But clearly something that has to be figured out. The only things I've checked so far... 1) browsing thru /var/log/messages (Having trouble recognizing any thing that looks suspicious. I have noticed what appears to be a time/date anomaly where the progression of time is suddenly irregular. That is, an earlier time shows up amongst some later times. It appears to have been me sudoing to visudo. And apparently having /etc/sudoers open long enough for the closing of it to be earlier than other events taking place. Again ... I'm not real sure exactly what happened there but it does not appear to coincide with a reboot anyway. 2) checking how hot the cpu is getting (Doesn't appear to be a problem) But now running a cron job recording temperatures every 10 minutes. So that may turn up something. 3) checking for overfilled disks. (none show in df -h)
Re: [gentoo-user] a multi-process browser?
On Sunday 15 February 2009 22:57:24 Sebastian Günther wrote: > Which useflag magic do I have to use to achieve that goal? -mysql Seems ebuilds have the ability to turn on use flags for themselves that the user has given no preference to. Turn it off, and it's off. -- Mike Williams
Re: [gentoo-user] a multi-process browser?
* Mike Williams (m...@gaima.co.uk) [16.02.09 00:50]: > On Sunday 15 February 2009 22:57:24 Sebastian Günther wrote: > > Which useflag magic do I have to use to achieve that goal? > > -mysql > > Seems ebuilds have the ability to turn on use flags for themselves that the > user has given no preference to. Turn it off, and it's off. > Thank you that helped! But still the 23 new packages from kde will let me stay with ff... Sebastian -- " Religion ist das Opium des Volkes. " Karl Marx s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de pgpTmlhEnla7W.pgp Description: PGP signature
Re: [gentoo-user] spontaneous reboots.. what to look for
On Sun, Feb 15, 2009 at 3:42 PM, Harry Putnam wrote: > I've been experiencing spontaneous reboots on one gentoo machine > lately. Looking thru /var/log/messages... I see the restarts but > looking above that... I'm not seeing anything I recognize as being a > culprit. > > Its been happening for a few weeks... but I've been busy and only now > digging into it ( The machine is no kind of server ). > > It appears to only happen in X (I'm using xfce4) and I've only noticed > it since I started running 2.6.28 kernels. Although I couldn't say > that it seemed to be directly related. > > I mean I didn't boot into 2.6.28 and suddenly notice spontaneous > rebooting. > > It does not appear to be heat realated... but I am only now using > lm_sensors to keep an accurate record and see if there appears to be a > relationship. > > I've had two today so either its happening more often or I'm just > spending more time on that machine. > > It may also be on the first or second time its happened while I as > actually right at the keyboard. > > I'm sorry to be so vague about it, but in truth, I've been pretty lazy > about it... since no real harm comes of an unexpected reboot on that > machine (so far anyway). But clearly something that has to be figured > out. > > The only things I've checked so far... > 1) browsing thru /var/log/messages (Having trouble recognizing any > thing that looks suspicious. > > I have noticed what appears to be a time/date anomaly where the > progression of time is suddenly irregular. That is, an earlier > time shows up amongst some later times. > > It appears to have been me sudoing to visudo. And apparently > having /etc/sudoers open long enough for the closing of it to be > earlier than other events taking place. > > Again ... I'm not real sure exactly what happened there but it > does not appear to coincide with a reboot anyway. > > 2) checking how hot the cpu is getting (Doesn't appear to be a > problem) But now running a cron job recording temperatures every 10 > minutes. So that may turn up something. > > 3) checking for overfilled disks. (none show in df -h) > Reseat memory and PCI cards, etc. Consider removing for a period of time any hardware not absolutely necessary to debug the problem. (I.e. - second video card, extra disk drives, extra network adapters, etc.) Run memtest86 for a few days if you can spare the machine. Run spinrite, etc., to look for drive problems. Open the box up and place a fan blowing extra air for additional cooling. good luck, Mark
[gentoo-user] Eeek: Apache2 lost it's CGI ability
I've got a low-use CGI script on my web server. Aside from web crawlers, I usually see at most a few hits a week from people who share my hobby. I just found out it's been down for an unknown period of time because my Apache no longer does CGI scripting. I can't even get it to run the simplest possible C program. In /etc/apache2/httpd.conf, I've added a single line to what I think is the standard config -- at the end I added #KOSMANOR: defer to ./kosmanor/hexDirs.conf Include /etc/apache2/kosmanor/hexDirs.conf And the CGI part of hexDirs.conf is just ScriptAlias /hex-bin /hex/bin Options FollowSymLinks Order allow,deny Allow from all I don't get much help from the logs. The access log shows that the request got an error code, 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] "GET /hex-bin/board HTTP/1.1" 500 542 and all that the error log says is: [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature end of script headers: board Any idea how to debug this, or any intuitions about what I neglected to do? -- Kevin O'Gorman, PhD
Re: [gentoo-user] trouble with evince (mime bad?)
Unfortunately I had the same problem. The solution you can find here: http://bugs.gentoo.org/show_bug.cgi?id=258490 Marcin On Sun, Feb 15, 2009 at 2:46 PM, Allan Gottlieb wrote: > At Sun, 15 Feb 2009 09:40:42 +0200 Alan McKinnon > wrote: > >> On Saturday 14 February 2009 01:50:38 Allan Gottlieb wrote: >>> Recently evince stopped working on one of my machines, ajglap. >>> >>> For every pdf, evince opens a window and complains >>> unable to open document >>> unhandled mime type >> >> As you use evince, you may be a gnome user, so this might not help you. I >> recently had all my kde associations and (very surprisingly) a number of >> others from other DEs go scrambled. Rebuilding kdelibs fixed all of it. >> >> I never did figure out how this could occur. Possibly it's something to do >> with DEs converging on freedesktop.org standards, so an oopsie in one can >> have >> system-wide side0effects. > > Yes, I should have mentioned that I am a gnome user. > Thank you for responding. > > allan > >
Re: [gentoo-user] trouble with evince (mime bad?)--Solved ??
At Sun, 15 Feb 2009 08:46:37 -0500 Allan Gottlieb wrote: > At Sun, 15 Feb 2009 09:40:42 +0200 Alan McKinnon > wrote: > >> On Saturday 14 February 2009 01:50:38 Allan Gottlieb wrote: >>> Recently evince stopped working on one of my machines, ajglap. >>> >>> For every pdf, evince opens a window and complains >>> unable to open document >>> unhandled mime type >> >> As you use evince, you may be a gnome user, so this might not help you. I >> recently had all my kde associations and (very surprisingly) a number of >> others from other DEs go scrambled. Rebuilding kdelibs fixed all of it. >> >> I never did figure out how this could occur. Possibly it's something to do >> with DEs converging on freedesktop.org standards, so an oopsie in one can >> have >> system-wide side0effects. > > Yes, I should have mentioned that I am a gnome user. > Thank you for responding. Removing the file ~/.local/share/mime/mime.cache ended the problem. The last modify date was 2006 and the failure started this month so it wasn't the contents changing. I am guessing that a new version of something does not like this old file. At any rate, evince now handles pdf files as it used to. allan
Re: [gentoo-user] spontaneous reboots.. what to look for
So the problem started recently. That means it is either: a cap going bad. oxidized contacts. dust clogging the fans. PSU is going bad. something obscure. Do the easy thing first. Clean your case, reseat all cards and memory modules and check all caps while doing so. Any of them deformed? The 'head' going up? Strange stuff around its feet? Congratulation, you need new hardware. If you don't find a bad cap and the problem persists, get a new PSU. A good one. Not big - most PSUs are oversized, but good quality. Anandtech has something about psu's, so does tomshardware (most of their tests are rubbish, but their psu tests are ok). If the problem goes away, congratulation! If not, well, then report back ;)
Re: [gentoo-user] spontaneous reboots.. what to look for
On Feb 15, 2009, at 7:16 PM, Volker Armin Hemmann > wrote: So the problem started recently. That means it is either: a cap going bad. oxidized contacts. dust clogging the fans. PSU is going bad. something obscure. Do the easy thing first. Clean your case, reseat all cards and memory modules and check all caps while doing so. Any of them deformed? The 'head' going up? Strange stuff around its feet? Congratulation, you need new hardware. If you don't find a bad cap and the problem persists, get a new PSU. A good one. Not big - most PSUs are oversized, but good quality. Anandtech has something about psu's, so does tomshardware (most of their tests are rubbish, but their psu tests are ok). If the problem goes away, congratulation! If not, well, then report back ;) I had a similar issue even when not running X. To be honest, I can't say I have a concrete idea of exactly what caused it. I simply became security-nuts and began wondering if it wasn't someone just toying with me; hardened my sshd config and installed denyhosts to monitor failed loggins. This was a month ago and my uptime has been perfect, with no restarts.
[gentoo-user] Re: spontaneous reboots.. what to look for
Mark Knecht writes: > Reseat memory and PCI cards, etc. Consider removing for a period of > time any hardware not absolutely necessary to debug the problem. (I.e. > - second video card, extra disk drives, extra network adapters, etc.) > Run memtest86 for a few days if you can spare the machine. Run > spinrite, etc., to look for drive problems. Open the box up and place > a fan blowing extra air for additional cooling. That all sound fairly drastic... wouldn't any or all of those problems leave some kind of track? Something I can look for short of tearing up the whole machine? I have had the experience of breaking something in the hardware by handling it when I really didn't need to. An expensive video card I had ( a few yrs ago) comes to mind The fit was so close that dicking around with it I broke off a small piece with some bit of circuitry in it. Of course I had problems with getting a viewable screen so ended up soldering it back in... (the piece, not card to pci slot.. hehe) That fell apart again in the same place later on and I ended up using a piece of bailing wire to wire it in place. Surprisingly it worked for a long time that way. Another time... I took my wifes' computer apart (bad idea), ostensibly adding memory and somehow broke one of the clamps holding the heatsink and fan onto the cpu. It could flop around quite a bit... but it actually worked like that. Eventually I wired it down too... Lasted a year or so. But in both cases it was quite a bit of grief. Before I retired.. I was a field construction boilermaker (weldor and rigger). For most of my time in that trade, anything less than 1/2" steel plate was viewed as sheet metal.. Most of the work was 1" and up. I didn't develop a nice light touch .. needless to say.
Re: [gentoo-user] spontaneous reboots.. what to look for
Mark Knecht wrote: > On Sun, Feb 15, 2009 at 3:42 PM, Harry Putnam wrote: > >> I've been experiencing spontaneous reboots on one gentoo machine >> lately. Looking thru /var/log/messages... I see the restarts but >> looking above that... I'm not seeing anything I recognize as being a >> culprit. >> >> Its been happening for a few weeks... but I've been busy and only now >> digging into it ( The machine is no kind of server ). >> >> It appears to only happen in X (I'm using xfce4) and I've only noticed >> it since I started running 2.6.28 kernels. Although I couldn't say >> that it seemed to be directly related. >> >> I mean I didn't boot into 2.6.28 and suddenly notice spontaneous >> rebooting. >> >> It does not appear to be heat realated... but I am only now using >> lm_sensors to keep an accurate record and see if there appears to be a >> relationship. >> >> I've had two today so either its happening more often or I'm just >> spending more time on that machine. >> >> It may also be on the first or second time its happened while I as >> actually right at the keyboard. >> >> I'm sorry to be so vague about it, but in truth, I've been pretty lazy >> about it... since no real harm comes of an unexpected reboot on that >> machine (so far anyway). But clearly something that has to be figured >> out. >> >> The only things I've checked so far... >> 1) browsing thru /var/log/messages (Having trouble recognizing any >> thing that looks suspicious. >> >> I have noticed what appears to be a time/date anomaly where the >> progression of time is suddenly irregular. That is, an earlier >> time shows up amongst some later times. >> >> It appears to have been me sudoing to visudo. And apparently >> having /etc/sudoers open long enough for the closing of it to be >> earlier than other events taking place. >> >> Again ... I'm not real sure exactly what happened there but it >> does not appear to coincide with a reboot anyway. >> >> 2) checking how hot the cpu is getting (Doesn't appear to be a >> problem) But now running a cron job recording temperatures every 10 >> minutes. So that may turn up something. >> >> 3) checking for overfilled disks. (none show in df -h) >> >> > > Reseat memory and PCI cards, etc. Consider removing for a period of > time any hardware not absolutely necessary to debug the problem. (I.e. > - second video card, extra disk drives, extra network adapters, etc.) > Run memtest86 for a few days if you can spare the machine. Run > spinrite, etc., to look for drive problems. Open the box up and place > a fan blowing extra air for additional cooling. > > good luck, > Mark > > > To add another test. I had this issue once before and it was a faulty driver for my hard drives. I ran a command like this to test mine: hdparm -Tt /dev/hda && hdparm -Tt /dev/hda && hdparm -Tt /dev/hda && hdparm -Tt /dev/hda && hdparm -Tt /dev/hda If it can pass that then it should be all right and you can look elsewhere. Mine would only fail when the drives were very busy and that test should do that pretty good. Hope that helps. Dale :-) :-)
Re: [gentoo-user] trouble with evince (mime bad?)
At Mon, 16 Feb 2009 01:00:24 +0100 Marcin Zwd wrote: > Unfortunately I had the same problem. The solution you can find here: > > http://bugs.gentoo.org/show_bug.cgi?id=258490 Thank you for this information. Somehow I missed it. allan PS In this mailing list the custom and member preference is not to top post. That is, we prefer to have replies after (or interspersed with) the original, not before it. > On Sun, Feb 15, 2009 at 2:46 PM, Allan Gottlieb wrote: >> At Sun, 15 Feb 2009 09:40:42 +0200 Alan McKinnon >> wrote: >> >>> On Saturday 14 February 2009 01:50:38 Allan Gottlieb wrote: Recently evince stopped working on one of my machines, ajglap. For every pdf, evince opens a window and complains unable to open document unhandled mime type >>> >>> As you use evince, you may be a gnome user, so this might not help you. I >>> recently had all my kde associations and (very surprisingly) a number of >>> others from other DEs go scrambled. Rebuilding kdelibs fixed all of it. >>> >>> I never did figure out how this could occur. Possibly it's something to do >>> with DEs converging on freedesktop.org standards, so an oopsie in one can >>> have >>> system-wide side0effects. >> >> Yes, I should have mentioned that I am a gnome user. >> Thank you for responding. >> >> allan >> >>
[gentoo-user] Re: Eeek: Apache2 lost it's CGI ability
"Kevin O'Gorman" writes: > I don't get much help from the logs. The access log shows that the > request got an error code, > 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] "GET /hex-bin/board > HTTP/1.1" 500 542 > > and all that the error log says is: > [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature > end of script headers: board > > > Any idea how to debug this, or any intuitions about what I neglected to do? Well a few things come to mind. Test the script by hand first. Check the permissions are 755 or the like. Test a very simple cgi that is known to work. Here is a simple one... make sure it has chmod 755 --- 8< snip --- 8< snip #!/usr/bin/perl print "Content-type: text/html\n\n"; print "REMOTE_ADDR = $ENV{REMOTE_ADDR} \n";
Re: [gentoo-user] trouble with evince (mime bad?)
Allan Gottlieb wrote: > > Thank you for this information. Somehow I missed it. > > allan > > PS In this mailing list the custom and member preference is not to top > post. That is, we prefer to have replies after (or interspersed with) > the original, not before it. > > Bottom post and text only is preferred. I think replies in the middle are OK. Sort of keeps some things in context too. Dale :-) :-)
Re: [gentoo-user] spontaneous reboots.. what to look for
On Sun, 15 Feb 2009 17:42:44 -0600, Harry Putnam wrote: > 2) checking how hot the cpu is getting (Doesn't appear to be a >problem) But now running a cron job recording temperatures every 10 >minutes. So that may turn up something. You could also check disk temperatures with app-admin/hddtemp. I've had random crashes due to an overheating drive before. I'd also run smartctl (emerge smartmontools) over the drive, just to be sure. memtest is a must, bad RAM can easily cause crashes, and take Volker's advice on PSUs. -- Neil Bothwick What if there were no hypothetical situations? signature.asc Description: PGP signature
Re: [gentoo-user] Re: spontaneous reboots.. what to look for
On Sun, Feb 15, 2009 at 4:26 PM, Harry Putnam wrote: > Mark Knecht writes: > >> Reseat memory and PCI cards, etc. Consider removing for a period of >> time any hardware not absolutely necessary to debug the problem. (I.e. >> - second video card, extra disk drives, extra network adapters, etc.) >> Run memtest86 for a few days if you can spare the machine. Run >> spinrite, etc., to look for drive problems. Open the box up and place >> a fan blowing extra air for additional cooling. > > That all sound fairly drastic... wouldn't any or all of those problems > leave some kind of track? Something I can look for short of tearing > up the whole machine? > If it's contact oxidation then no, you won't be able to see it visually. If you're nervous about this then save it for later. Do as Volker and Neil say. (PSU, smartmon) Run tests for a while. memtest is a must. Always pays to go slow but you might want to make sure you're backups are VERY good right now. Good luck, Mark
Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?
On 15 Feb 2009, at 21:51, Sebastian Günther wrote: * Stroller (strol...@stellar.eclipse.co.uk) [14.02.09 08:29]: On 4 Feb 2009, at 13:40, Justin wrote: Except that here, ntp-client seems to start *before* the network, so fails to find the ntp-server. I'll investigate this more later. If you have baselayout2 and openrc check /etc/rc.conf for the following: rc_depend_strict="NO" If you have this, this is your problem... Nope, sys-apps/baselayout-1.12.11.1 here. Stroller.
Re: [gentoo-user] NIC not detected after Kernel upgrade
On 15 Feb 2009, at 21:31, Guillermo Garron wrote: ... I am running now uname -a Linux gentoo 2.6.25-gentoo-r8 #7 SMP Sun Nov 16 16:29:29 BOT 2008 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux ... And the used to generate the new kernel (where NIC is not detected) http://www.go2linux.org/pics/other_files/gentoo/guille1.config.txt I'm inclined to sumbit to the expertise of others when choosing kernel compilation options, and so I generally boot a recent liveCD and take a copy of the kernel .config from there (`zcat /proc/config.gz`) System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it & see if your NIC works. If so, copy the kernel config & `make oldconfig`. http://www.sysresccd.org/Main_Page Stroller.
Re: [gentoo-user] Re: Eeek: Apache2 lost it's CGI ability
On Sun, Feb 15, 2009 at 4:44 PM, Harry Putnam wrote: > "Kevin O'Gorman" writes: > >> I don't get much help from the logs. The access log shows that the >> request got an error code, >> 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] "GET /hex-bin/board >> HTTP/1.1" 500 542 >> >> and all that the error log says is: >> [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature >> end of script headers: board >> >> >> Any idea how to debug this, or any intuitions about what I neglected to do? > > Well a few things come to mind. Test the script by hand first. > Check the permissions are 755 or the like. > > Test a very simple cgi that is known to work. > > Here is a simple one... make sure it has chmod 755 > --- 8< snip --- 8< snip > #!/usr/bin/perl > print "Content-type: text/html\n\n"; > > print "REMOTE_ADDR = $ENV{REMOTE_ADDR} \n"; This is wonderful. Thanks. Your cgi script worked just fine. I put it in the same directory, called it 'cgi.perl', and made the permissions 755. It ran just fine. So I guess apache is fine. Having something simple that works is a great help in figuring out what is actually broken. I've got a meeting to go to, so I'll have to get back to it. But this much I know: The permissions on the failing (python) script are the same. So are the owner and group. The python script runs fine from the command-line, even as an "other" user. Next thing: I'll make a python version of your program and work up from there. -- Kevin O'Gorman, PhD
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 9:17 PM, Stroller wrote: > > On 15 Feb 2009, at 21:31, Guillermo Garron wrote: >> >> ... >> I am running now >> >> uname -a >> >> Linux gentoo 2.6.25-gentoo-r8 #7 SMP Sun Nov 16 16:29:29 BOT 2008 i686 >> Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux >> >> ... >> And the used to generate the new kernel (where NIC is not detected) >> >> http://www.go2linux.org/pics/other_files/gentoo/guille1.config.txt > > I'm inclined to sumbit to the expertise of others when choosing kernel > compilation options, and so I generally boot a recent liveCD and take a copy > of the kernel .config from there (`zcat /proc/config.gz`) > > System Rescue CD uses a kernel of about the same vintage as the one you're > trying to upgrade to. I suggest you boot with it & see if your NIC works. If > so, copy the kernel config & `make oldconfig`. Thanks a lot, did not know about that I will try to make it that way. best regards, Guillermo. > http://www.sysresccd.org/Main_Page > > Stroller. > > > -- Guillermo Garron "Linux IS user friendly... It's just selective about who its friends are." (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] Re: Eeek: Apache2 lost it's CGI ability
On Sun, Feb 15, 2009 at 5:23 PM, Kevin O'Gorman wrote: > On Sun, Feb 15, 2009 at 4:44 PM, Harry Putnam wrote: >> "Kevin O'Gorman" writes: >> >>> I don't get much help from the logs. The access log shows that the >>> request got an error code, >>> 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] "GET /hex-bin/board >>> HTTP/1.1" 500 542 >>> >>> and all that the error log says is: >>> [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature >>> end of script headers: board >>> >>> >>> Any idea how to debug this, or any intuitions about what I neglected to do? >> >> Well a few things come to mind. Test the script by hand first. >> Check the permissions are 755 or the like. >> >> Test a very simple cgi that is known to work. >> >> Here is a simple one... make sure it has chmod 755 >> --- 8< snip --- 8< snip >> #!/usr/bin/perl >> print "Content-type: text/html\n\n"; >> >> print "REMOTE_ADDR = $ENV{REMOTE_ADDR} \n"; > > This is wonderful. Thanks. Your cgi script worked just fine. I put > it in the same directory, > called it 'cgi.perl', and made the permissions 755. It ran just fine. > So I guess apache is fine. > > Having something simple that works is a great help in figuring out > what is actually broken. > I've got a meeting to go to, so I'll have to get back to it. > > But this much I know: > The permissions on the failing (python) script are the same. So are > the owner and group. > The python script runs fine from the command-line, even as an "other" user. > > Next thing: I'll make a python version of your program and work up from there. > > -- > Kevin O'Gorman, PhD > Update: still broken, but the broken piece seems to be my use of the gettext package, not apache. My translated message strings are still there, but something is erroring out when run under apache that works okay when run from the command line. I'll sleep on it. -- Kevin O'Gorman, PhD
Re: [gentoo-user] problems running doxygen from cron
On Sat, Feb 14, 2009 at 5:22 PM, Alex Schuster wrote: > Dirk Uys wrote: > >> I have a problem when running doxygen from a cron job. It seems like >> doxygen is simply aborting at an arbitrary point during execution. I >> tried to search on the internet, but could not find anything similar >> reported. > [...] >> My cron entry is >> 45 * * * * /home/user/script.sh >> /home/user/debug.log > > I would add a " 2>&1" to the cron entry in order to get stderr output > logged, too. Maybe there are error messages you are missing. > > My cron problems usually come from the PATH being restricted, anthough > this shoudl not matter in your case with the script, I think. Anyway, I'd > start it with "#!/bin/bash -l" in order to open a login shell, and I > would include the "env" command in the script so I can spot differences > in the environment. > > Just some ideas, > >Wonko Thanks! I actually solved this one some time ago. It turned out that because I omitted "2>&1" the stderr stream weren't created. The program tried to write to stderr and terminated because it didn't exist. Strange, but that's what happened. Regards Dirk
Re: [gentoo-user] trouble with evince (mime bad?)
On Monday 16 February 2009, Dale wrote: > Allan Gottlieb wrote: > > PS In this mailing list the custom and member preference is not to top > > post. That is, we prefer to have replies after (or interspersed with) > > the original, not before it. > > Bottom post and text only is preferred. I think replies in the middle > are OK. Sort of keeps some things in context too. Not to forget trimming the 2 pages of previous historic messages and leaving in only what is relevant to the current stage in the conversation ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.