Re: [gentoo-user] Which 'tools' package for VMware DomU?
On Thu, Mar 31, 2011 at 19:57, Pandu Poluan pa...@poluan.info wrote: On Thu, Mar 31, 2011 at 19:10, Mike Edenfield kut...@kutulu.org wrote: On 3/31/2011 4:31 AM, Pandu Poluan wrote: The specific modules you mentioned are included in your kernel already, assuming you are using at least a 2.6.34 kernel. You'll still want to install open-vm-tools, which installs the other modules via open-vm-tools-kmod, like vsock and vmci, plus the user-space daemon. Device Drivers -- [*] Misc devices --- M VMware Balloon Driver SCSI device support --- [*] SCSI low-level drivers --- * VMware PVSCSI driver support [*] Network device support M VMware VMXNET3 ethernet driver (That first one is the vmmemctl driver, which helps improve the memory management between host guest). So, I should emerge open-vm-tools and it shall pull in open-vm-tools-kmod, too? Yes. And you'll need to add a few of those drivers to your /etc/modules.autoload.d/kernel-2.6 or /etc/conf.d/modules (whichever you have). Mine currently loads: vmxnet3 vmw_balloon fuse vsock vmblock vmsync Ahhh, okay. Gotcha. Thanks for the clear explanation :-) Hmmm... I've compiled VMXNET into the kernel, but can't get VMXNET to perform; booting complained of inexistent network. Adding e1000 into the kernel works though. Could it be because the Cloud Provider has preconfigured my VMware vSphere with non-VMXNET vNICs? Or is there a 'trick' to activate VMXNET? Haven't emerged open-vm-tools, though. Will that help in activating VMXNET? Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com
Re: [gentoo-user] Any bought a laptop that Just Works?
On Wed, Mar 30, 2011 at 07:31:09PM +0100, Robin Atwood wrote I am in the market for a new laptop and would be interested if anyone else on the list had recently bought a laptop in which all the hardware worked out of the box with Linux. I am most concerned about WiFi/audio/webcam, the finer points of hibernation are of lesser concern. Currently I have a Linux Certified machine but I want to avoid shipping costs to the UK. That would require the install CD to be psychic. I got an Acer Aspire working under Gentoo after an excellent adventure. See thread... http://thread.gmane.org/gmane.linux.gentoo.user/238950 I think that with Gentoo the problem is knowing which drivers to use. The only problem is to avoid machines with Poulsbo video chips at all costs. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Any bought a laptop that Just Works?
On Fri, Apr 1, 2011 at 3:43 AM, Walter Dnes waltd...@waltdnes.org wrote: On Wed, Mar 30, 2011 at 07:31:09PM +0100, Robin Atwood wrote I am in the market for a new laptop and would be interested if anyone else on the list had recently bought a laptop in which all the hardware worked out of the box with Linux. I am most concerned about WiFi/audio/webcam, the finer points of hibernation are of lesser concern. Currently I have a Linux Certified machine but I want to avoid shipping costs to the UK. Lenovo Thinkpad T series works great. That would require the install CD to be psychic. I got an Acer Aspire working under Gentoo after an excellent adventure. See thread... http://thread.gmane.org/gmane.linux.gentoo.user/238950 I think that with Gentoo the problem is knowing which drivers to use. The only problem is to avoid machines with Poulsbo video chips at all costs. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] distcc and crossdev, anyone?
On Saturday 18 December 2010 10:18:43 Neil Bothwick wrote: On Fri, 17 Dec 2010 22:56:29 +, Peter Humphrey wrote: I've bought (against my better judgement) an Atom N270 box to be a LAN server, but it's a bit slow compared with the other boxes on the network. A big bit, actually - 69 minutes to compile a kernel compared with less than 9 minutes on this workstation. I thought I'd give distcc a go, but after reading the Gentoo distcc and crossdev guides and doing what they say I get no result. I might just as well not have made the effort. The Atom box just labours with the emerge without trying to send anything to the server box I've set up for the purpose. I've found there's just too much overhead with distcc, plus much of the work is still done locally. I have a couple of Atom boxes, a server and a netbook, and I've set up a chroot for each on my workstation. In the chroot I have FEATURES=buildpkg, using an NFS mounted PKGDIR available to both computers, then I emerge -k on the Atom box. I've been experimenting with nfs-mounting the whole Atom file system to /target in a chroot on my workstation, then setting --root=/target and --config- root=/target on every portage command. I can't recommend it. Numerous packages require to be installed into both the chroot and the target. I suppose that's not too onerous, even though I haven't found a way to predict which packages will be affected, but I've found that, when I go back to the Atom box and emerge -pkuv world, a lot of the packages that should already have been upgraded haven't been, and I have to emerge them on the Atom box directly. The states of the target and the native chroot are neither consistent nor independent - it's a mess. It was a nice idea to enable portage to work in this way, but it's still full of holes. Maybe all packages need some extra configuring; I don't know. A lot more work is definitely needed by someone, at any rate. I've decided to revert to Neil's method (once I've shaken this infection off). -- Rgds Peter
[gentoo-user] Setting up a local web server
Hello list, I want a box on my LAN to be a local web and database server. I've installed Apache, MySQL, PHP and phpmyadmin and I'm about to get phpmyadmin going. The problem is that Apache is displaying the contents of php files instead of interpreting them. What have I missed? I have USE=apache2 php in make.conf and APACHE2_OPTS=-D PHP in /etc/conf.d/apache2. (Why is it so hard to get a web server going in Gentoo? I remember having the same difficulty 18 months ago; it'd be good to be able to remember what I did. This is the one area I've found where the Gentoo documentation is weak - well, nonexistent actually. We ought to have an idiot's guide to getting started, at least.) -- Rgds Peter
[gentoo-user] How low can you go?
Just for fun, not for boasting ;-) Out of curiosity, I pared down nearly everything from my Gentoo VMware Guest. `free -m` directly after booting + login: Mem: total 499 used 28 free 470 shared 0 buffers 1 cached 12 Granted, system is quite possibly unusable for serious purposes, although I can still login (console ssh) and do `emerge --sync` But still, I'm amazed at how low Gentoo can go :-) Well done, Gentoo team! Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com
Re: [gentoo-user] Setting up a local web server
On Friday 01 April 2011 13:57:49 Peter Humphrey wrote: Hello list, I want a box on my LAN to be a local web and database server. I've installed Apache, MySQL, PHP and phpmyadmin and I'm about to get phpmyadmin going. The problem is that Apache is displaying the contents of php files instead of interpreting them. What have I missed? I have USE=apache2 php in make.conf and APACHE2_OPTS=-D PHP in /etc/conf.d/apache2. (Why is it so hard to get a web server going in Gentoo? I remember having the same difficulty 18 months ago; it'd be good to be able to remember what I did. This is the one area I've found where the Gentoo documentation is weak - well, nonexistent actually. We ought to have an idiot's guide to getting started, at least.) I have APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5 you should try at least language and php5 ! Don't know actually if it will help ! -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] Adobe-flash becomes quite slow.
Adobe-flash becomes quite slow in my laptop after I updated world(or maybe I reconfigured kernel options) several days ago. I've made a lot of modifications, so I'm not sure exactly which action leads to the malfunction of adobe-flash. I use the latest stable version of adobe-flash(10.2.153.1), nvidia(260.19.36). What you guys know what factors are affecting the performance of adobe-flash? Here's the recent main modifications to my system: 1. (/etc/make.conf) change CFLAGS and CXXFLAGS from -O2 -march=i686 -pipe to -O2 -march=native -fomit-frame-pointer -pipe 2. change the *Preemption Model in the kernel config from Voluntary Kernel Preemption to Preemptible Kernel 3. excluded SMT scheduler support in the kernel config(my CPU doesn't support hyper-threading) 4. I tried the latest 2.6.38 gentoo-sources, and roll back to 2.6.36-r8 Thanks in advance :) -- Best Regards, Einux
Re: [gentoo-user] How low can you go?
I'm the network manager in my school. I set up a Gentoo box using VirtualBox with 128M of RAM, to serve as the squid reverse proxy server and dns server in my local campus network. And it turns out: {{{ gentoo-vm squid # uptime 22:49:48 up 7 days, 10:28, 2 users, load average: 0.35, 0.33, 0.45 gentoo-vm squid # free -m total used free sharedbuffers cached Mem: 118114 4 0 60 28 -/+ buffers/cache: 25 93 Swap: 512 7505 }}} If your demand is not critical, Gentoo can be quite lightweight :) On Fri, Apr 1, 2011 at 8:36 PM, Pandu Poluan pa...@poluan.info wrote: Just for fun, not for boasting ;-) Out of curiosity, I pared down nearly everything from my Gentoo VMware Guest. `free -m` directly after booting + login: Mem: total 499 used 28 free 470 shared 0 buffers 1 cached 12 Granted, system is quite possibly unusable for serious purposes, although I can still login (console ssh) and do `emerge --sync` But still, I'm amazed at how low Gentoo can go :-) Well done, Gentoo team! Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com -- Best Regards, Einux
Re: [gentoo-user] Adobe-flash becomes quite slow.
On Fri, Apr 01, 2011 at 10:56:56PM +0800, Einux wrote: Here's my lspci result: {{{ 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 9300M GS] (rev a1) 02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller 02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller 02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller 04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) 07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02) }}} I've only specified VIDEO_CARDS=nvidia in my make.conf. The problem appeared about 5 days ago, and I have been changing my configurations all the time. And I issued emerge -avuDN world every time after I made some changes:) [note: I replied back to the list (which appears to be misconfigured today, reply sends to the original sender instead of the list as normal).] Have you rebuilt your nvidia card's x11 drivers? -- caveat utilitor
[gentoo-user] xorg-server-1.10 breaks nvidia-drivers
I just updated from xorg-server-1.9 to 1.10, but even the newest beta from nvidia complains that 1.10 isn't supported yet for my video cards GeForce FX 5200 and GeForce 6150SE. Perhaps drivers for newer cards will work, but I don't know. The good old nv driver still works with 1.10, happily.
Re: [gentoo-user] Which 'tools' package for VMware DomU?
On 4/1/2011 2:09 AM, Pandu Poluan wrote: Hmmm... I've compiled VMXNET into the kernel, but can't get VMXNET to perform; booting complained of inexistent network. Adding e1000 into the kernel works though. Could it be because the Cloud Provider has preconfigured my VMware vSphere with non-VMXNET vNICs? Yes. You need to specify the vmxnet3 device instead of e1000 in the virtual machine configuration. Same goes for the pvscsi device instead of lsi. In vSphere, there will be options to specify vmxnet3 and pvscsi when adding hardware to the VM. It may be necessary to run the Upgrade Hardware process if the VM doesn't already have the v7 hardware. You can at least ask your cloud provider if they're willing to switch. --Mike
[gentoo-user] Re: xbmc font rendering issue after upgrade mesa or/and xorg ati driver
Reply to the question :D Temporary solution: I downgrade to media-libs/mesa-7.9.1 and fonts came back and mask any bigger version of this package. something bad happened in media-libs/mesa-7.10.1 So I wait until the next release Z. 2011/3/31 Füves Zoltán zolee...@gmail.com: Hi Community! I just start to give up because don't understand the reason of this problem Tried to upgrade, downgrade, change language and font settings without any positive result If anybody has similar problem or can help to start debugging this issue I wil be very grateful. this is the error messages from xbms' log: 10:52:56 T:3039086368 M:840056832 ERROR: GLX: Same window as before, refreshing context 10:52:56 T:3039086368 M:840056832 ERROR: ResetRenderSystem() GL_MAX_TEXTURE_IMAGE_UNITS_ARB returned error 1280 10:52:56 T:3039086368 M:837812224 ERROR: Unable to save settings to special://masterprofile/guisettings.xml 10:52:56 T:3039086368 M:836669440 ERROR: Unable to save settings to special://masterprofile/guisettings.xml 10:52:56 T:3039086368 M:835047424 ERROR: Control 402 in window 10133 has been asked to focus, but it can't 10:52:57 T:3039086368 M:834494464 ERROR: DS: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message and of course Xorg log file has no error system : radeon 9200 se ( [drm] Loading R200 Microcode) [ebuild R ] x11-libs/libdrm-2.4.24 USE=libkms -static-libs VIDEO_CARDS=radeon -intel -nouveau -vmware 0 kB [ebuild R ] media-libs/mesa-7.10.1 USE=classic gallium nptl -debug -gles -hardened -llvm -motif -pic (-selinux) VIDEO_CARDS=radeon -intel -mach64 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware 0 kB [ebuild R ] media-tv/xbmc- USE=alsa debug sse sse2 webserver xrandr (-altivec) -avahi -bluray% -css -joystick -midi -profile -pulseaudio -rtmp -udev -vaapi -vdpau 0 kB [ebuild R ] x11-base/xorg-server-1.9.5 USE=nptl udev xorg -dmx -doc -ipv6 -kdrive -minimal -static-libs -tslib 0 kB [ebuild R ] x11-drivers/xf86-video-ati-6.14.1 0 kB [ebuild R ] x11-base/xorg-x11-7.4-r1 0 kB [ebuild R ] x11-drivers/xf86-input-evdev-2.6.0 0 kB [ebuild R ] x11-base/xorg-drivers-1.9 INPUT_DEVICES=keyboard mouse -acecad -aiptek -elographics -evdev -fpit -joystick -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom VIDEO_CARDS=radeon -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -intel -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia (-omapfb) -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo) 0 kB I upload a png image to show what my problem is. http://i51.tinypic.com/2vb4je8.png (non readable, noisy fonts in movie subtitles too) Thanks for your time and help Z.
Re: [gentoo-user] How low can you go?
On Fri, 2011-04-01 at 19:36 +0700, Pandu Poluan wrote: Just for fun, not for boasting ;-) Out of curiosity, I pared down nearly everything from my Gentoo VMware Guest. `free -m` directly after booting + login: Mem: total 499 used 28 free 470 shared 0 buffers 1 cached 12 Granted, system is quite possibly unusable for serious purposes, although I can still login (console ssh) and do `emerge --sync` lilpenguin ~ # free -m total used free sharedbuffers cached Mem:43 5 37 0 0 1 -/+ buffers/cache: 3 39 Swap:0 0 0 lilpenguin ~ # uname -srm Linux 2.6.34-gentoo-r6 x86_64
[gentoo-user] Re: How low can you go?
Good grief! How'd you do that?! *bow in respect* Rgds, On 2011-04-02, Albert Hopkins mar...@letterboxes.org wrote: On Fri, 2011-04-01 at 19:36 +0700, Pandu Poluan wrote: Just for fun, not for boasting ;-) Out of curiosity, I pared down nearly everything from my Gentoo VMware Guest. `free -m` directly after booting + login: Mem: total 499 used 28 free 470 shared 0 buffers 1 cached 12 Granted, system is quite possibly unusable for serious purposes, although I can still login (console ssh) and do `emerge --sync` lilpenguin ~ # free -m total used free sharedbuffers cached Mem:43 5 37 0 0 1 -/+ buffers/cache: 3 39 Swap:0 0 0 lilpenguin ~ # uname -srm Linux 2.6.34-gentoo-r6 x86_64 -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/
Re: [gentoo-user] Re: xbmc font rendering issue after upgrade mesa or/and xorg ati driver
On Friday 01 April 2011 19:45:58 Füves Zoltán wrote: Reply to the question :D Temporary solution: I downgrade to media-libs/mesa-7.9.1 and fonts came back and mask any bigger version of this package. something bad happened in media-libs/mesa-7.10.1 So I wait until the next release Z. 2011/3/31 Füves Zoltán zolee...@gmail.com: Hi Community! I just start to give up because don't understand the reason of this problem Tried to upgrade, downgrade, change language and font settings without any positive result If anybody has similar problem or can help to start debugging this issue I wil be very grateful. this is the error messages from xbms' log: 10:52:56 T:3039086368 M:840056832 ERROR: GLX: Same window as before, refreshing context 10:52:56 T:3039086368 M:840056832 ERROR: ResetRenderSystem() GL_MAX_TEXTURE_IMAGE_UNITS_ARB returned error 1280 10:52:56 T:3039086368 M:837812224 ERROR: Unable to save settings to special://masterprofile/guisettings.xml 10:52:56 T:3039086368 M:836669440 ERROR: Unable to save settings to special://masterprofile/guisettings.xml 10:52:56 T:3039086368 M:835047424 ERROR: Control 402 in window 10133 has been asked to focus, but it can't 10:52:57 T:3039086368 M:834494464 ERROR: DS: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message and of course Xorg log file has no error system : radeon 9200 se ( [drm] Loading R200 Microcode) [ebuild R ] x11-libs/libdrm-2.4.24 USE=libkms -static-libs VIDEO_CARDS=radeon -intel -nouveau -vmware 0 kB [ebuild R ] media-libs/mesa-7.10.1 USE=classic gallium nptl -debug -gles -hardened -llvm -motif -pic (-selinux) VIDEO_CARDS=radeon -intel -mach64 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware 0 kB [ebuild R ] media-tv/xbmc- USE=alsa debug sse sse2 webserver xrandr (-altivec) -avahi -bluray% -css -joystick -midi -profile -pulseaudio -rtmp -udev -vaapi -vdpau 0 kB [ebuild R ] x11-base/xorg-server-1.9.5 USE=nptl udev xorg -dmx -doc -ipv6 -kdrive -minimal -static-libs -tslib 0 kB [ebuild R ] x11-drivers/xf86-video-ati-6.14.1 0 kB [ebuild R ] x11-base/xorg-x11-7.4-r1 0 kB [ebuild R ] x11-drivers/xf86-input-evdev-2.6.0 0 kB [ebuild R ] x11-base/xorg-drivers-1.9 INPUT_DEVICES=keyboard mouse -acecad -aiptek -elographics -evdev -fpit -joystick -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom VIDEO_CARDS=radeon -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -intel -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia (-omapfb) -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo) 0 kB I upload a png image to show what my problem is. http://i51.tinypic.com/2vb4je8.png (non readable, noisy fonts in movie subtitles too) Thanks for your time and help I don't have the same card, but I'm not having such problems here. You may want to also trying setting mesa to gallium instead of classic using eselect and see if it makes any difference. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Setting up a local web server
On Friday 01 April 2011 13:18:39 Stéphane Guedon wrote: I have APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5 you should try at least language and php5 ! That missing 5 is important - thanks. Then, however, I got this: * apache2 has detected an error in your setup: apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory That's after emerge -Cv apache and removing by hand all files and directories left behind by emerge. Same with php. Then I reinstalled both apache and php but without using the packages I had and all came right - thanks Stéphane. This is connected with the other thread I've written to today, about using my workstation as an emerge server. A complication I didn't mention there is that both make.conf and package.use have to be identical in the chroot and the target system nfs-mounted under it. I must have got them out of step at some stage. Incidentally, apache is wrong to complain of syntax errors - they're errors of configuration, not syntax. -- Rgds Peter
Re: [gentoo-user] xorg-server-1.10 breaks nvidia-drivers
On Friday 01 April 2011 08:09:04 walt wrote: I just updated from xorg-server-1.9 to 1.10, but even the newest beta from nvidia complains that 1.10 isn't supported yet for my video cards GeForce FX 5200 and GeForce 6150SE. Perhaps drivers for newer cards will work, but I don't know. The good old nv driver still works with 1.10, happily. and with 'works' you mean it displays something. Very, very slowly.
Re: [gentoo-user] Adobe-flash becomes quite slow.
On Friday 01 April 2011 22:35:39 Einux wrote: Adobe-flash becomes quite slow in my laptop after I updated world(or maybe I reconfigured kernel options) several days ago. I've made a lot of modifications, so I'm not sure exactly which action leads to the malfunction of adobe-flash. adobe flash is just slow with composite. And its performance differs greatly between minor versions.
Re: [gentoo-user] Re: How low can you go?
On Sat, 2011-04-02 at 02:22 +0700, Pandu Poluan wrote: Good grief! How'd you do that?! *bow in respect* Rgds, Well, firstly, I managed to get it down to 3MB (though I cheated *a little*): lilpenguin ~ # sync ; echo 3 /proc/sys/vm/drop_caches # kinda cheating lilpenguin ~ # free -m total used free sharedbuffers cached Mem:43 5 37 0 0 1 -/+ buffers/cache: 3 39 Swap:0 0 0 lilpenguin ~ # uname -srm Linux 2.6.36-gentoo-r8 x86_64 lilpenguin ~ # df -h FilesystemSize Used Avail Use% Mounted on /dev/vda1 4.0G 157M 3.6G 5% / shm22M 0 22M 0% /dev/shm So what it is is this: * kvm with virtio devices * no udev (static /dev) * serial console only * no services in default runlevel * tight module-less virtio-based kernel (booted externally) * no extra (virtual) hardware * everything compiled with -Os I got the disk space down low by removing everything not needed to boot and get into the system (which means the portage tree, compiler, etc), but that has nothing to do with the memory usage. I could probably get it lower by tweaking the kernel a bit more. Also it would probably use slightly less RAM if it were 32-bit. Also, the biggest user of memory are /bin/bash and /bin/login. I could minimize memory further by making the login shell ash or dash.
Re: [gentoo-user] xorg-server-1.10 breaks nvidia-drivers
On Friday 01 Apr 2011 08:39:04 PM walt wrote: The good old nv driver still works with 1.10, happily. have you tried nouveau? works well here. -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
[gentoo-user] How to install viewvc w/o apache and related cruft?
I'm trying to install viewvc, but emerge insists on installing apache and webapp-config. I don't want to install apache (or any other web server) -- all I want to install is viewvc. I installed webapp-config, installed viewvc using emerge --nodeps, then unmerged webapp-config. Now viewvc runs fine, but every time I do an update, emerge wants to install apache and webapp-config. How do I convince portage that viewvc does not require an external web server and I don't want apache or webappconifg installed? -- Grant Edwards grant.b.edwardsYow! I'm dressing up in at an ill-fitting IVY-LEAGUE gmail.comSUIT!! Too late...
Re: [gentoo-user] Re: How low can you go?
.. got it slightly lower by switching to dash and disabling ACPI and APIC: root@lilpenguin $ free -m total used free sharedbuffers cached Mem:18 4 13 0 0 1 -/+ buffers/cache: 2 15 Swap:0 0 0
Re: [gentoo-user] xorg-server-1.10 breaks nvidia-drivers
On 04/01/2011 08:09 AM, walt wrote: I just updated from xorg-server-1.9 to 1.10, but even the newest beta from nvidia complains that 1.10 isn't supported yet for my video cards GeForce FX 5200 and GeForce 6150SE. Perhaps drivers for newer cards will work, but I don't know. The good old nv driver still works with 1.10, happily. The 270.30 drivers work for newer cards. It does look like Nvidia has been letting the legacy drivers slide though. I'm not sure how the legacy numbering system works, but the newest legacy driver seems to be from October. Just to make sure though, as I forgot to to rebuild the drivers, and had evdev failures...you did rebuild your drivers x11-drivers?
Re: [gentoo-user] Re: How low can you go?
On 04/01/2011 02:00 PM, Albert Hopkins wrote: .. got it slightly lower by switching to dash and disabling ACPI and APIC: root@lilpenguin $ free -m total used free sharedbuffers cached Mem:18 4 13 0 0 1 -/+ buffers/cache: 2 15 Swap:0 0 0 So, what can you actually *do* on this, other than an ls or two? :-D
Re: [gentoo-user] How to install viewvc w/o apache and related cruft?
On Fri, 1 Apr 2011 20:40:33 + (UTC), Grant Edwards wrote: How do I convince portage that viewvc does not require an external web server and I don't want apache or webappconifg installed? It's a web app, so I'm not surprised it depends on a web server. Try putting apache in /etc/portage/profile/package.provided. -- Neil Bothwick Beware of the opinion of someone without any facts. signature.asc Description: PGP signature
Re: [gentoo-user] Setting up a local web server
On 4/1/2011 12:56 PM, Peter Humphrey wrote: On Friday 01 April 2011 13:18:39 Stéphane Guedon wrote: I have APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5 you should try at least language and php5 ! That missing 5 is important - thanks. Then, however, I got this: * apache2 has detected an error in your setup: apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory That's after emerge -Cv apache and removing by hand all files and directories left behind by emerge. Same with php. Then I reinstalled both apache and php but without using the packages I had and all came right - thanks Stéphane. This is connected with the other thread I've written to today, about using my workstation as an emerge server. A complication I didn't mention there is that both make.conf and package.use have to be identical in the chroot and the target system nfs-mounted under it. I must have got them out of step at some stage. Incidentally, apache is wrong to complain of syntax errors - they're errors of configuration, not syntax. Apache doesn't recognize the syntax, therefore it's a syntax error. dig you build php with an apache2 flag to enable the Apache module? kashani
Re: [gentoo-user] Re: How low can you go?
On Fri, 2011-04-01 at 14:44 -0700, Bill Longman wrote: ... So, what can you actually *do* on this, other than an ls or two? Well, first the challenge did not require that it had to have any use. But thinking about what you said, I remember when I first started using Linux, it was not unthinkable to think that was enough memory to do stuff. So I decided to build another VM and actually install stuff on it. I thought about what I'd typically be running on my desktop. Being that this is a graphics-less machine, I installed non-gui equivalents: * mutt for email * irssi for irc * vim for text editing * pidgin (finch) for IM * lynx for browsing the web * screen for multi-tasking Then I added a NIC so that I could actually get on the network. Interestingly enough, adding the virtio NIC made the VM jump up to 18MB on the initial boot/shell, but adding a non-virtio NIC kept it down to 3MB. Then I added a regular user and did typical things: marduk@lilpenguin $ ps -ef |grep ^$USER marduk2081 2080 0 21:36 ttyS000:00:00 -dash marduk2094 2081 0 21:36 ttyS000:00:00 screen -T vt100 marduk2095 2094 0 21:36 ?00:00:02 SCREEN -T vt100 marduk2096 2095 0 21:36 pts/000:00:00 -/bin/dash marduk2101 2096 0 21:36 pts/000:00:00 mutt marduk2102 2095 0 21:37 pts/100:00:00 -/bin/dash marduk2107 2102 0 21:37 pts/100:00:00 lynx http://m.reuters.com/ marduk2110 2107 0 21:37 pts/100:00:00 [lynx] defunct marduk2111 2095 0 21:37 pts/200:00:00 -/bin/dash marduk2116 2111 0 21:38 pts/200:00:00 vim helloworld.py marduk2117 2095 0 21:38 pts/300:00:00 -/bin/dash marduk2122 2117 0 21:38 pts/300:00:00 irssi marduk2124 2095 0 21:41 pts/400:00:00 -/bin/dash marduk2129 2124 0 21:41 pts/400:00:00 finch marduk2131 2095 0 21:42 pts/500:00:00 -/bin/dash marduk2149 2095 0 21:43 pts/600:00:00 -/bin/dash marduk2154 2149 0 21:43 pts/600:00:00 ssh tanuki@victoria marduk2176 2131 0 21:46 pts/500:00:00 ps -ef marduk2177 2131 0 21:46 pts/500:00:00 grep ^marduk marduk@lilpenguin $ free -m total used free sharedbuffers cached Mem:33 28 5 0 0 9 -/+ buffers/cache: 18 14 Swap:0 0 0 marduk@lilpenguin $ netstat -tn|grep ESTABLISHED |wc -l 5 So, running screen (with 7 sessions), 8 dash shells, mutt, irssi, finch, an ssh session, lynx, vim and 5 TCP connections open still only takes up 18MB RAM (excluding cache). Still not bad.
[gentoo-user] Re: How to install viewvc w/o apache and related cruft?
On 2011-04-01, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 1 Apr 2011 20:40:33 + (UTC), Grant Edwards wrote: How do I convince portage that viewvc does not require an external web server and I don't want apache or webappconifg installed? It's a web app, Yes, it can be a web app. It can also be run stand-alone using its own web server with no external dependancies other than python and support for the VC system you want to use. It seems a bit un-Gentoo to allow only the former option rather than give the user a choice. so I'm not surprised it depends on a web server. I am, since it doesn't require a separate web server, it shouldn't depend on a separate web server. Try putting apache in /etc/portage/profile/package.provided. That seems like a kludge that's likely to cause problems later. ISTM that the ebuild is broken. I'll have to take a shot at fixing the ebuild so it doesn't depend on apache and webapp-config unless you install it USE flags telling it you want it to use apache and webapp-config. -- Grant
Re: [gentoo-user] Setting up a local web server
dig you build php with an apache2 flag to enable the Apache module? And you'll also need this in your httpd.conf; AddType application/x-httpd-php .php