Re: [gentoo-user] zram / compcache, anyone?
Am 13.10.2011 03:52, schrieb Pandu Poluan: Just stumbled upon this blog: http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html anyone got any experience with zram/compcache on Gentoo? Rgds, Yes, I use it on my laptop (4GB RAM, typically 1-2GB swap used). It works pretty well but I can't give you any hard figures. I wrote my own init script for this. I can share it if you want. Otherwise the sunrise, betagarden and mv overlays offer ebuilds for it. I think the mv version is closest to mine. What has been pretty confusing is that there are two versions: The original one from Google(?) and the one in the mainline kernel. They have different APIs (hint: if you have a userland tool instead of manipulating /sys, it is the original version) and only the original version can use a swap device as an additional backend for uncompressable pages. With the mainline version (which I use), you can only use zram as an additional swap device and give it a higher priority than your normal swap. /etc/fstab: /dev/zram0 none swap sw,pri=1,discard 0 0 /dev/sda7 none swap sw,pri=0 0 0 Only drawback so far: When zram is full, putting the laptop into standby takes longer, maybe 15s compared to 3s without. Sometimes this can lead to timeouts and the kernel aborts the suspend operation with an error on dmesg. Reattempting it then succeeds. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)
On Wed, 12 Oct 2011 13:34:52 +0100 Neil Bothwick n...@digimed.co.uk wrote: On Wed, 12 Oct 2011 02:00:31 +0200, Alan McKinnon wrote: Ah, not so. Until you work with foreign cultures you won't believe the many varied ways communication can veer off course. In some cultures it's considered rude for a junior to respond in any way to a senior (replies have to go through intermediaries). Is this the culture in Alanland? ;-) Some of the citizens in AlansUserland believe that's the culture. Honest guv, I swear, it wasn't my doing! -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
Hi Alan, On Wednesday, 12. October 2011 21:36:58 Allan Gottlieb wrote: On Wed, Oct 12 2011, Allan Gottlieb wrote: On Wed, Oct 12 2011, Canek Peláez Valdés wrote: If it is related to the video card/driver that you use, try reemerging cogl and clutter; it doesn't matter that a world upgrade don't want to reemerge it, sometimes the ebuilds change without changing versions. My versions and useflags of cogl and clutter are: # emerge -1pv clutter cogl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] media-libs/cogl-1.8.0 USE=doc examples introspection pango -debug -test 0 kB [1] [ebuild R ~] media-libs/clutter-1.8.0 USE=doc introspection -debug 0 kB [1] I had remerged clutter earlier today and just did cogl. Mu use flags are basically the same as yours Calculating dependencies... done! [ebuild R] media-libs/clutter-1.8.0 USE=introspection -debug -doc 0 kB [1] [ebuild R] media-libs/cogl-1.8.0 USE=introspection pango -debug -doc -examples -test 0 kB [1] I am using the same driver as you but a different version (mine is one newer) and I don't have the sna use flag. I might not have access to the machine an longer today, but will try. thanks, allan I forgot to say that with the remerged clutter and cogl, gdm still crashes. I just rebuilt the driver downgraded to 2.15.0-r1. I specified sna in package.use but still it was merged without it. This configuration still has gdm crashing [U] x11-drivers/xf86-video-intel Available versions: 2.8.1 2.9.1 (~)2.10.0-r1 (~)2.11.0 2.13.0 2.14.0 2.15.0-r1 (~)2.16.0 {debug dri sna} Installed versions: 2.15.0-r1(09:27:44 PM 10/12/2011)(dri) Homepage:http://xorg.freedesktop.org/ to rule out the video-stack, I'd try gnome in fallback-mode. If it works, chances are your problem is video-related. If it still crashes, the problem is elsewhere. Is there something in dmesg related to the gnome-shell segfaults? allan Best, Michael
[gentoo-user] Postfix to relay mail even if acting as primary MX host?
Okay, I'm still scratching my head here. Scenario: Having a Postfix server in the cloud to act as the primary MX, but actually forwarding the emails to my company's email server behind the firewall. For the purposes of my scenario, here are the relevant (but mangled) settings: *) Domain is example.com *) Postfix server is mailer.example.com with the IP 55.66.77.88 *) Company email server is accessible via 11.22.33.44:5225 *) Firewall only allows incoming traffic to 11.22.33.44:5225 from 55.66.77.88 *) I want to set MX for example.com to mailer.example.com I saw the relay_domains and relayhost settings, oh good. But then I ran smack-drab to the following NOTE: # NOTE: Postfix will not automatically forward mail for domains that # list this system as their primary or backup MX host. See the # permit_mx_backup restriction description in postconf(5). So, if I set relay_domains = example.com and relayhost = [11.22.33.44]:5225, yet have mailer.example.com as the primary MX for the domain example.com, the emails won't be relayed to 11.22.33.44:5225, right? Can anyone help me configure Postfix to actually do what I want, e.g., to *still* relay emails destined to @example.com to the address 11.22.33.44:5225? TIA. Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] Re: Postfix to relay mail even if acting as primary MX host?
On Thu, Oct 13, 2011 at 17:11, Pandu Poluan pa...@poluan.info wrote: Okay, I'm still scratching my head here. Scenario: Having a Postfix server in the cloud to act as the primary MX, but actually forwarding the emails to my company's email server behind the firewall. For the purposes of my scenario, here are the relevant (but mangled) settings: *) Domain is example.com *) Postfix server is mailer.example.com with the IP 55.66.77.88 *) Company email server is accessible via 11.22.33.44:5225 *) Firewall only allows incoming traffic to 11.22.33.44:5225 from 55.66.77.88 *) I want to set MX for example.com to mailer.example.com I saw the relay_domains and relayhost settings, oh good. But then I ran smack-drab to the following NOTE: # NOTE: Postfix will not automatically forward mail for domains that # list this system as their primary or backup MX host. See the # permit_mx_backup restriction description in postconf(5). So, if I set relay_domains = example.com and relayhost = [11.22.33.44]:5225, yet have mailer.example.com as the primary MX for the domain example.com, the emails won't be relayed to 11.22.33.44:5225, right? Can anyone help me configure Postfix to actually do what I want, e.g., to *still* relay emails destined to @example.com to the address 11.22.33.44:5225? I found this: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup is that the configuration I should use? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] can't build gnome 3.2 (3.0 was ok)
I've catch problem like this http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=240430;page=2;sb=post_latest_reply;so=ASC;mh=25;list=gentoo gdm[-gnome-shell] gnome-fallback-3.2 work fine (x86 xf86-video-ati), gnome-shell crash. But on other machine gdm[gnome-shell] gnome-3.2 work fine (x86_64 xf86-video-nouveau)... on smartbook gdm[-gnome-shell] gnome-fallback-3.2 work fine (arm xf86-video-tegra), gnome-shell not support GLES. Anybody resolve problem with gnome-shell crash ?.. -- Best regards, Denis I. Polukarov signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13 2011, Michael Schreckenbauer wrote: Hi Alan, Is there something in dmesg related to the gnome-shell segfaults? Best, Michael Indeed! oldlap ~ # dmesg | grep gnome-shell gnome-shell[3325] general protection ip:b6853dc2 sp:bfdba6d4 error:0 in libmozjs185.so.1.0.0[b6819000+2ca000] gnome-shell[3479] general protection ip:b682bdc2 sp:bf882764 error:0 in libmozjs185.so.1.0.0[b67f1000+2ca000] oldlap ~ #
Re: [gentoo-user] zram / compcache, anyone?
Am 13.10.2011 03:52, schrieb Pandu Poluan: Just stumbled upon this blog: http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html anyone got any experience with zram/compcache on Gentoo? Rgds, Hmm, it seems like my reply was eaten by the mail server. Apologies if you receive this twice: I use it on my laptop (4GB RAM, typically 1-2GB swap used). It works pretty well but I can't give you any hard figures. I wrote my own init script for this. I can share it if you want. Otherwise the sunrise, betagarden and mv overlays offer ebuilds for it. I think the mv version is closest to mine. What has been pretty confusing is that there are two versions: The original one from Google(?) and the one in the mainline kernel. They have different APIs (hint: if you have a userland tool instead of manipulating /sys, it is the original version) and only the original version can use a swap device as an additional backend for uncompressable pages. With the mainline version (which I use), you can only use zram as an additional swap device and give it a higher priority than your normal swap. /etc/fstab: /dev/zram0 none swap sw,pri=1,discard 0 0 /dev/sda7 none swap sw,pri=0 0 0 Only drawback so far: When zram is full, putting the laptop into standby takes longer, maybe 15s compared to 3s without. Sometimes this can lead to timeouts and the kernel aborts the suspend operation with an error on dmesg. Reattempting it then succeeds. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Wed, Oct 12 2011, Michael Schreckenbauer wrote: gnome-shell segfaults. I remember some problems with gnome-shell and GL from the dri-devel-ML. What video-card are you using? Drivers/version? Is there any other WM you can start, execute gnome-shell --replace in a console and dump the output here? Could you try running gnome in fallback-mode? Afaik you can enable this with gsettings set org.gnome.desktop.session session-name gnome-fallback I typed that command as root (no complaints) and restarted gdm (twice). Same problem oldlap ~ # dmesg | grep gnome-shellgnome-shell[3325] general protection ip:b6853dc2 sp:bfdba6d4 error:0 in libmozjs185.so.1.0.0[b6819000+2ca000] gnome-shell[3479] general protection ip:b682bdc2 sp:bf882764 error:0 in libmozjs185.so.1.0.0[b67f1000+2ca000] gnome-shell[24424] general protection ip:b69dcdc2 sp:bfa4c494 error:0 in libmozjs185.so.1.0.0[b69a2000+2ca000] gnome-shell[24440] general protection ip:b6978dc2 sp:bfc21d84 error:0 in libmozjs185.so.1.0.0[b693e000+2ca000] gnome-shell[24563] general protection ip:b6932dc2 sp:bfb993c4 error:0 in libmozjs185.so.1.0.0[b68f8000+2ca000] gnome-shell[24579] general protection ip:b68f1dc2 sp:bf8c52d4 error:0 in libmozjs185.so.1.0.0[b68b7000+2ca000] oldlap ~ # allan
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13, 2011 at 9:29 AM, Allan Gottlieb gottl...@nyu.edu wrote: On Thu, Oct 13 2011, Michael Schreckenbauer wrote: Hi Alan, Is there something in dmesg related to the gnome-shell segfaults? Best, Michael Indeed! oldlap ~ # dmesg | grep gnome-shell gnome-shell[3325] general protection ip:b6853dc2 sp:bfdba6d4 error:0 in libmozjs185.so.1.0.0[b6819000+2ca000] gnome-shell[3479] general protection ip:b682bdc2 sp:bf882764 error:0 in libmozjs185.so.1.0.0[b67f1000+2ca000] oldlap ~ # I've skipped most of the thread, so forgive me if this was already done...try rebuilding libmozjs? Bumping its version up or down? -- :wq
Re: [gentoo-user] /usr/bin/[ and coreutils
Yes, it's a different binary, and it's perfectly usual to find it in a Linux system. But note that, at least in bash, you rarely will be using /usr/bin/[ unless you reference it using the full path (either in a relative or absolute way). This is because bash has a builtin that takes over that binary file. You can check that (or any other command) by using the type instruction (again, this is for bash). # LC_ALL=C type [ [ is a shell builtin The same goes for 'test'. Those binaries are probably there just in case that some init or system script written for a standard bourne shell (like the busybox one) needs it. But don't take my word for it. I am not sure right now. -- Jesús Guerrero Botella
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13 2011, Canek Peláez Valdés wrote: What's the output of lspci | grep VGA? oldlap ~ # lspci -v | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller]) And just to cover all the bases: what versions do you have of: xorg-server xorg-drivers mesa [I] x11-base/xorg-server Available versions: 1.9.4 1.9.5 1.10.2 (~)1.10.3 1.10.4 (~)1.11.0 (~)1.11.1 {dmx doc ipv6 kdrive minimal nptl static-libs tslib +udev xnest xorg xvfb} Installed versions: 1.11.1(02:25:02 PM 10/12/2011)(ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib -xnest -xvfb) [I] x11-base/xorg-drivers Available versions: 1.9 1.10 (~)1.11 {} Installed versions: 1.11(06:38:40 AM 07/11/2011)(input_devices_evdev input_devices_keyboard input_devices_mouse video_cards_intel video_cards_vesa) [I] media-libs/mesa Available versions: 7.9.2 7.10.2 (~)7.10.2-r1 7.10.3 7.11 {} Installed versions: 7.11(09:39:15 AM 08/15/2011)(classic egl gallium llvm nptl shared-glapi video_cards_intel ) If you are using a newer version of xf86-video-intel, then you are (probably) using unstable X.org. I am not; GNOME 3.2 I had it unmasked, X.org I got it stable. Yes this machine is ~x86 allan
[gentoo-user] Where to get the gentoo kernel?
I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ?
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13 2011, Michael Mol wrote: I've skipped most of the thread, so forgive me if this was already done...try rebuilding libmozjs? Bumping its version up or down? oldlap ~ # equery b /usr/lib/libmozjs185.so * Searching for /usr/lib/libmozjs185.so ... dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so - libmozjs185.so.1.0) dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so.1.0.0) [I] dev-lang/spidermonkey Available versions: 1.7.0 (~)1.7.0-r1 (~)1.7.0-r2 1.8.2.15 {M}(~)1.8.5 {static-libs test threadsafe unicode} Installed versions: 1.8.5(02:22:11 PM 10/12/2011)(-static-libs -test) So the installed version is the only one from gnome3. I tried Calculating dependencies... done! [ebuild UD ] dev-lang/spidermonkey-1.8.2.15 [1.8.5] USE=-threadsafe% (-static-libs%) (-test%) 50,345 kB and received a slot conflict with dev-libs/gjs. I worry trying to downgrade may lead to a string of dependencies. I can try it tonight if desired. thanks, allan
Re: [gentoo-user] Where to get the gentoo kernel?
On Thu, 13 Oct 2011 21:44:05 +0800 Lavender 448463...@qq.com wrote: I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ? It's called linux-something on the distfiles mirrors You can download the master image from kernel.org emerge gentoo-sources will do all that for you. This is extremely basic gentoo knowledge, fully described in the documentation. Why are you still having trouble with these concepts? -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] /usr/bin/[ and coreutils
On Thu, 13 Oct 2011 15:38:08 +0200 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com wrote: Yes, it's a different binary, and it's perfectly usual to find it in a Linux system. But note that, at least in bash, you rarely will be using /usr/bin/[ unless you reference it using the full path (either in a relative or absolute way). This is because bash has a builtin that takes over that binary file. You can check that (or any other command) by using the type instruction (again, this is for bash). # LC_ALL=C type [ [ is a shell builtin The same goes for 'test'. Those binaries are probably there just in case that some init or system script written for a standard bourne shell (like the busybox one) needs it. But don't take my word for it. I am not sure right now. You might not be sure, but that doesn't stop you still being correct :-) The binaries are usually POSIX-compliant, whereas the builtins may include extra bashisms (which tend to break apps expecting just the basic POSIX behaviour) -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Where to get the gentoo kernel?
Lavender 448463...@qq.com [11-10-13 15:48]: I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ? Hi, try eix gentoo-sources and than (as superuser) emerge gentoo-sources HTH! Best regards, mcc
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13, 2011 at 9:47 AM, Allan Gottlieb gottl...@nyu.edu wrote: On Thu, Oct 13 2011, Michael Mol wrote: I've skipped most of the thread, so forgive me if this was already done...try rebuilding libmozjs? Bumping its version up or down? oldlap ~ # equery b /usr/lib/libmozjs185.so * Searching for /usr/lib/libmozjs185.so ... dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so - libmozjs185.so.1.0) dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so.1.0.0) [I] dev-lang/spidermonkey Available versions: 1.7.0 (~)1.7.0-r1 (~)1.7.0-r2 1.8.2.15 {M}(~)1.8.5 {static-libs test threadsafe unicode} Installed versions: 1.8.5(02:22:11 PM 10/12/2011)(-static-libs -test) So the installed version is the only one from gnome3. I tried Calculating dependencies... done! [ebuild UD ] dev-lang/spidermonkey-1.8.2.15 [1.8.5] USE=-threadsafe% (-static-libs%) (-test%) 50,345 kB and received a slot conflict with dev-libs/gjs. I worry trying to downgrade may lead to a string of dependencies. I can try it tonight if desired. Up to you; slot conflicts are outside my area of knowledge for Gentoo. The dmesg error you had suggests to me that the problem may be in libmozjs. It could also be in a badly-built data structure passed *into* libmozjs, though, so I was looking for some differential to see which had the problem. -- :wq
Re: [gentoo-user] Where to get the gentoo kernel?
Yeah , I know it works , but I wanna know exactly where it it , because my school will cut the electricity down after 11 pm . I need to get it before I could not . -- Original -- From: meino.cramermeino.cra...@gmx.de; Date: Thu, Oct 13, 2011 09:52 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Where to get the gentoo kernel? Lavender 448463...@qq.com [11-10-13 15:48]: I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ? Hi, try eix gentoo-sources and than (as superuser) emerge gentoo-sources HTH! Best regards, mcc
Re: [gentoo-user] /usr/bin/[ and coreutils
On Thu, Oct 13, 2011 at 9:50 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thu, 13 Oct 2011 15:38:08 +0200 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com wrote: Yes, it's a different binary, and it's perfectly usual to find it in a Linux system. But note that, at least in bash, you rarely will be using /usr/bin/[ unless you reference it using the full path (either in a relative or absolute way). This is because bash has a builtin that takes over that binary file. You can check that (or any other command) by using the type instruction (again, this is for bash). # LC_ALL=C type [ [ is a shell builtin The same goes for 'test'. Those binaries are probably there just in case that some init or system script written for a standard bourne shell (like the busybox one) needs it. But don't take my word for it. I am not sure right now. You might not be sure, but that doesn't stop you still being correct :-) The binaries are usually POSIX-compliant, whereas the builtins may include extra bashisms (which tend to break apps expecting just the basic POSIX behaviour) I haven't encountered POSIX-dependent apps breaking on bash, but I have encountered the reverse. My most annoying experience was when I tried building cinelerra on Debian a few years back. Cinelerra's script started with #!/bin/sh, but depended on bashisms--and I was running dash. -- :wq
Re: [gentoo-user] Where to get the gentoo kernel?
Suddenly I got an idea , is there great difference between gentoo kernel and the original kernel ? I want to build linux with the original kernel , but where have gentoo modified based original kernel ? Security , speed or anywhere else ? If I do this, can the linux I built be called gentoo ? -- Original -- From: Lavender448463...@qq.com; Date: Thu, Oct 13, 2011 09:56 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Where to get the gentoo kernel? Yeah , I know it works , but I wanna know exactly where it it , because my school will cut the electricity down after 11 pm . I need to get it before I could not . -- Original -- From: meino.cramermeino.cra...@gmx.de; Date: Thu, Oct 13, 2011 09:52 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Where to get the gentoo kernel? Lavender 448463...@qq.com [11-10-13 15:48]: I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ? Hi, try eix gentoo-sources and than (as superuser) emerge gentoo-sources HTH! Best regards, mcc
Re: [gentoo-user] Where to get the gentoo kernel?
If you want to build the original kernel, emerge linux-sources (At least, I think that's the package name for vanilla sources. I don't have my Gentoo box handy) On Thu, Oct 13, 2011 at 10:11 AM, Lavender 448463...@qq.com wrote: Suddenly I got an idea , is there great difference between gentoo kernel and the original kernel ? I want to build linux with the original kernel , but where have gentoo modified based original kernel ? Security , speed or anywhere else ? If I do this, can the linux I built be called gentoo ? -- Original -- From: Lavender448463...@qq.com; Date: Thu, Oct 13, 2011 09:56 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Where to get the gentoo kernel? Yeah , I know it works , but I wanna know exactly where it it , because my school will cut the electricity down after 11 pm . I need to get it before I could not . -- Original -- From: meino.cramermeino.cra...@gmx.de; Date: Thu, Oct 13, 2011 09:52 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Where to get the gentoo kernel? Lavender 448463...@qq.com [11-10-13 15:48]: I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ? Hi, try eix gentoo-sources and than (as superuser) emerge gentoo-sources HTH! Best regards, mcc -- :wq
Re: [gentoo-user] Where to get the gentoo kernel?
On 13.10.2011 16:16, Michael Mol wrote: (At least, I think that's the package name for vanilla sources. I emerge vanilla-sources
Re: [gentoo-user] Where to get the gentoo kernel?
Thank you ,I thought it would be named gentoo-sth, no wonder I haven't found it . -- Original -- From: Alan McKinnonalan.mckin...@gmail.com; Date: Thu, Oct 13, 2011 09:47 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Where to get the gentoo kernel? On Thu, 13 Oct 2011 21:44:05 +0800 Lavender 448463...@qq.com wrote: I want to download it . I have searched in the distfiles directory on the mirorrs , but I don't know where to get it . Anyone can tell me ? It's called linux-something on the distfiles mirrors You can download the master image from kernel.org emerge gentoo-sources will do all that for you. This is extremely basic gentoo knowledge, fully described in the documentation. Why are you still having trouble with these concepts? -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] /usr/bin/[ and coreutils
On Thu, 13 Oct 2011 09:59:21 -0400 Michael Mol mike...@gmail.com wrote: The binaries are usually POSIX-compliant, whereas the builtins may include extra bashisms (which tend to break apps expecting just the basic POSIX behaviour) I haven't encountered POSIX-dependent apps breaking on bash, but I have encountered the reverse. My most annoying experience was when I tried building cinelerra on Debian a few years back. Cinelerra's script started with #!/bin/sh, but depended on bashisms--and I was running dash. So you've also run into clueless devs and maintainers who know almost nothing about shells? Your example is an extreme one :-), but it's common enough to find bashisms in scripts with an sh shebang -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Where to get the gentoo kernel?
On Thu, 13 Oct 2011 22:22:51 +0800, Lavender wrote: Thank you ,I thought it would be named gentoo-sth, no wonder I haven't found it . eix -C sys-kernel will list all available kernel sources, with descriptions of each. -- Neil Bothwick To most people solutions mean finding the answers. But to chemists solutions are things that are still all mixed up. signature.asc Description: PGP signature
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thursday, 13. October 2011 09:47:03 Allan Gottlieb wrote: On Thu, Oct 13 2011, Michael Mol wrote: I've skipped most of the thread, so forgive me if this was already done...try rebuilding libmozjs? Bumping its version up or down? oldlap ~ # equery b /usr/lib/libmozjs185.so * Searching for /usr/lib/libmozjs185.so ... dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so - libmozjs185.so.1.0) dev-lang/spidermonkey-1.8.5 (/usr/lib/libmozjs185.so.1.0.0) [I] dev-lang/spidermonkey Available versions: 1.7.0 (~)1.7.0-r1 (~)1.7.0-r2 1.8.2.15 {M}(~)1.8.5 {static-libs test threadsafe unicode} Installed versions: 1.8.5(02:22:11 PM 10/12/2011)(-static-libs -test) So the installed version is the only one from gnome3. I tried Calculating dependencies... done! [ebuild UD ] dev-lang/spidermonkey-1.8.2.15 [1.8.5] USE=-threadsafe% (-static-libs%) (-test%) 50,345 kB and received a slot conflict with dev-libs/gjs. I worry trying to downgrade may lead to a string of dependencies. I can try it tonight if desired. hmm, for sure your problem is not video-related then. gjs is the javascript-bindings for gnome... You could try keeping spidermonkey at 1.8.5 and (re-)build the latest version of gjs. google-ing your problem clearly shows: you are not alone. Sadly I was not able to find a solution for your problem yet as most others use ancient versions and updates solved it for them. thanks, allan Best, Michael
Re: [gentoo-user] Re: Postfix to relay mail even if acting as primary MX host?
On 10/13/2011 06:17 AM, Pandu Poluan wrote: I found this: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup is that the configuration I should use? More or less. I think you may even be able to simplify it a little. I'm honestly not sure what that warning is referring to, you might ask on the postfix list, I'm kinda curious. Anyway, the relay* settings work the way you think they do. We have the same setup here. This is part of the config on mx1.example.com. local_transport = error:local mail delivery is disabled. mydestination = relay_domains = cdb:/etc/postfix/maps/relay_domains relay_recipient_maps = cdb:/etc/postfix/maps/relay_recipient_maps relayhost = mail1.example.com virtual_transport = error:virtual mail delivery is disabled. You can set relayhost to do what you want: http://www.postfix.org/postconf.5.html#relayhost
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13, 2011 at 6:34 AM, Allan Gottlieb gottl...@nyu.edu wrote: On Wed, Oct 12 2011, Michael Schreckenbauer wrote: gnome-shell segfaults. I remember some problems with gnome-shell and GL from the dri-devel-ML. What video-card are you using? Drivers/version? Is there any other WM you can start, execute gnome-shell --replace in a console and dump the output here? Could you try running gnome in fallback-mode? Afaik you can enable this with gsettings set org.gnome.desktop.session session-name gnome-fallback I typed that command as root (no complaints) and restarted gdm (twice). Same problem oldlap ~ # dmesg | grep gnome-shellgnome-shell[3325] general protection ip:b6853dc2 sp:bfdba6d4 error:0 in libmozjs185.so.1.0.0[b6819000+2ca000] gnome-shell[3479] general protection ip:b682bdc2 sp:bf882764 error:0 in libmozjs185.so.1.0.0[b67f1000+2ca000] gnome-shell[24424] general protection ip:b69dcdc2 sp:bfa4c494 error:0 in libmozjs185.so.1.0.0[b69a2000+2ca000] gnome-shell[24440] general protection ip:b6978dc2 sp:bfc21d84 error:0 in libmozjs185.so.1.0.0[b693e000+2ca000] gnome-shell[24563] general protection ip:b6932dc2 sp:bfb993c4 error:0 in libmozjs185.so.1.0.0[b68f8000+2ca000] gnome-shell[24579] general protection ip:b68f1dc2 sp:bf8c52d4 error:0 in libmozjs185.so.1.0.0[b68b7000+2ca000] oldlap ~ # Mmmh. Then the problem is probably not the video. Try reemerging spidermonkey, gjs and gnome-shell; my versions are: [ebuild R #] dev-lang/spidermonkey-1.8.5 USE=-static-libs -test 0 kB [0] [ebuild R #] dev-libs/gjs-1.30.0 USE=examples -test 0 kB [0] [ebuild R #] gnome-base/gnome-shell-3.2.0-r1 0 kB [1] Notice that gjs move to the tree, and so the latest version is outside de overlay. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] SSDs, ext4, fstrim, discard ...
Am 12.10.2011 00:26, schrieb Stefan G. Weichinger: What is the benefit of running fstrim manually over mounting with discard? discard seems to slow down the fs by trimming all the time. I only report what I read. No tests done so far. Shouldn't discard be set to make TRIM work anyway, even with fstrim? man mount says for discard: Controls whether ext4 should issue discard/TRIM commands to the underlying block device when blocks are freed. Sounds like TRIM-commands wouldn't get through to the SSD when discard is not set. Still wondering. Stefan
[gentoo-user] Vmware Player 4 from vmware-overlay
Anyone hitting the same issue? http://forums.gentoo.org/viewtopic-p-6824432.html?sid=ff31450ec4a661979b3545e662bdfbb1 AFAI understand glibc-2.13-r4 (as in ~amd64 right now) is too new for the vmware-binary? Did I understand correctly? Is there a workaround? Downgrading glibc is not the way to go, ey? ;-) S
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13 2011, Michael Schreckenbauer wrote: hmm, for sure your problem is not video-related then. gjs is the javascript-bindings for gnome... You could try keeping spidermonkey at 1.8.5 and (re-)build the latest version of gjs. google-ing your problem clearly shows: you are not alone. Sadly I was not able to find a solution for your problem yet as most others use ancient versions and updates solved it for them. I tried this (see msg to canek) but it gnome-shell still shows a general protection msg in dmsg oldlap ~ # dmesg | grep gnome-shell gnome-shell[3302] general protection ip:b687ddc2 sp:bf8623e4 error:0 in libmozjs185.so.1.0.0[b6843000+2ca000] gnome-shell[3456] general protection ip:b68d1dc2 sp:bfdf4de4 error:0 in libmozjs185.so.1.0.0[b6897000+2ca000] oldlap ~ # thanks again for helping, allan
Re: [gentoo-user] Re: Postfix to relay mail even if acting as primary MX host?
On Oct 14, 2011 1:01 AM, Michael Orlitzky mich...@orlitzky.com wrote: On 10/13/2011 06:17 AM, Pandu Poluan wrote: I found this: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup is that the configuration I should use? More or less. I think you may even be able to simplify it a little. I'm honestly not sure what that warning is referring to, you might ask on the postfix list, I'm kinda curious. Anyway, the relay* settings work the way you think they do. We have the same setup here. This is part of the config on mx1.example.com. local_transport = error:local mail delivery is disabled. mydestination = relay_domains = cdb:/etc/postfix/maps/relay_domains relay_recipient_maps = cdb:/etc/postfix/maps/relay_recipient_maps relayhost = mail1.example.com virtual_transport = error:virtual mail delivery is disabled. You can set relayhost to do what you want: http://www.postfix.org/postconf.5.html#relayhost Ah, thanks! Yeah, that note is quite puzzling. Neither man page nor Google-fu explained what that note's supposed to mean, and no other information/warning or even HOWTO to alleviate the supposedly 'problematic' situation. I'm going to ask my question in the Postfix list and relay my findings here. Rgds,
Re: [gentoo-user] zram / compcache, anyone?
On Oct 13, 2011 8:32 PM, Florian Philipp li...@binarywings.net wrote: Am 13.10.2011 03:52, schrieb Pandu Poluan: Just stumbled upon this blog: http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html anyone got any experience with zram/compcache on Gentoo? Rgds, Hmm, it seems like my reply was eaten by the mail server. Apologies if you receive this twice: In addition to the dog ate my homework, now we have a new excuse, the server are my document :-D Ah, progress ;-) I use it on my laptop (4GB RAM, typically 1-2GB swap used). It works pretty well but I can't give you any hard figures. I wrote my own init script for this. I can share it if you want. Otherwise the sunrise, betagarden and mv overlays offer ebuilds for it. I think the mv version is closest to mine. What makes the proliferation of ebuilds? What has been pretty confusing is that there are two versions: The original one from Google(?) and the one in the mainline kernel. They have different APIs (hint: if you have a userland tool instead of manipulating /sys, it is the original version) and only the original version can use a swap device as an additional backend for uncompressable pages. With the mainline version (which I use), you can only use zram as an additional swap device and give it a higher priority than your normal swap. In the kernel? What .config knob should I twiddle? I do prefer having zram support in the kernel. /etc/fstab: /dev/zram0 none swap sw,pri=1,discard 0 0 /dev/sda7 none swap sw,pri=0 0 0 Only drawback so far: When zram is full, putting the laptop into standby takes longer, maybe 15s compared to 3s without. Sometimes this can lead to timeouts and the kernel aborts the suspend operation with an error on dmesg. Reattempting it then succeeds. Point taken. Do you think it's worth the slight annoyance? Rgds,
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13 2011, Canek Peláez Valdés wrote: On Thu, Oct 13, 2011 at 6:34 AM, Allan Gottlieb gottl...@nyu.edu wrote: I typed that command as root (no complaints) and restarted gdm (twice). Same problem oldlap ~ # dmesg | grep gnome-shell gnome-shell[3479] general protection ip:b682bdc2 sp:bf882764 error:0 in libmozjs185.so.1.0.0[b67f1000+2ca000] Mmmh. Then the problem is probably not the video. Try reemerging spidermonkey, gjs and gnome-shell; my versions are: [ebuild R #] dev-lang/spidermonkey-1.8.5 USE=-static-libs -test 0 kB [0] [ebuild R #] dev-libs/gjs-1.30.0 USE=examples -test 0 kB [0] [ebuild R #] gnome-base/gnome-shell-3.2.0-r1 0 kB [1] Notice that gjs move to the tree, and so the latest version is outside de overlay. I rebuilt all three and, as you noted only gnome-shell is from the overlay the other two are in the main tree. Sadly the result is the same: A new reboot still gives oldlap ~ # dmesg | grep gnome-shell gnome-shell[3302] general protection ip:b687ddc2 sp:bf8623e4 error:0 in libmozjs185.so.1.0.0[b6843000+2ca000] gnome-shell[3456] general protection ip:b68d1dc2 sp:bfdf4de4 error:0 in libmozjs185.so.1.0.0[b6897000+2ca000] oldlap ~ # Not sure what to do now other than wait/hope that 3.2.1 (to be released next week) makes it to the overlay and is better for me. allan PS I guess I was lucky with 3.0 since it just worked, at least to the extent that I could log in and play with it.
Re: [gentoo-user] zram / compcache, anyone?
In the kernel? What .config knob should I twiddle? Device Drivers - Staging Drivers - Compressed RAM block device
Re: [gentoo-user] zram / compcache, anyone?
On Fri, Oct 14, 2011 at 12:29 PM, Adam Carter adamcart...@gmail.com wrote: In the kernel? What .config knob should I twiddle? Device Drivers - Staging Drivers - Compressed RAM block device But Dynamic Compression of swap pages underneath looks interesting too (check the help). Compressed RAM block device = CONFIG_ZRAM Dynamic Compression of swap pages = CONFIG_ZCACHE
Re: [gentoo-user] zram / compcache, anyone?
On Oct 14, 2011 8:36 AM, Adam Carter adamcart...@gmail.com wrote: On Fri, Oct 14, 2011 at 12:29 PM, Adam Carter adamcart...@gmail.com wrote: In the kernel? What .config knob should I twiddle? Device Drivers - Staging Drivers - Compressed RAM block device But Dynamic Compression of swap pages underneath looks interesting too (check the help). Compressed RAM block device = CONFIG_ZRAM Dynamic Compression of swap pages = CONFIG_ZCACHE Ah, thanks for the tips! make menuconfig will be the first order of the day when I reach my office :-D Rgds,
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13, 2011 at 6:20 PM, Allan Gottlieb gottl...@nyu.edu wrote: On Thu, Oct 13 2011, Canek Peláez Valdés wrote: On Thu, Oct 13, 2011 at 6:34 AM, Allan Gottlieb gottl...@nyu.edu wrote: I typed that command as root (no complaints) and restarted gdm (twice). Same problem oldlap ~ # dmesg | grep gnome-shell gnome-shell[3479] general protection ip:b682bdc2 sp:bf882764 error:0 in libmozjs185.so.1.0.0[b67f1000+2ca000] Mmmh. Then the problem is probably not the video. Try reemerging spidermonkey, gjs and gnome-shell; my versions are: [ebuild R #] dev-lang/spidermonkey-1.8.5 USE=-static-libs -test 0 kB [0] [ebuild R #] dev-libs/gjs-1.30.0 USE=examples -test 0 kB [0] [ebuild R #] gnome-base/gnome-shell-3.2.0-r1 0 kB [1] Notice that gjs move to the tree, and so the latest version is outside de overlay. I rebuilt all three and, as you noted only gnome-shell is from the overlay the other two are in the main tree. Sadly the result is the same: A new reboot still gives oldlap ~ # dmesg | grep gnome-shell gnome-shell[3302] general protection ip:b687ddc2 sp:bf8623e4 error:0 in libmozjs185.so.1.0.0[b6843000+2ca000] gnome-shell[3456] general protection ip:b68d1dc2 sp:bfdf4de4 error:0 in libmozjs185.so.1.0.0[b6897000+2ca000] oldlap ~ # Not sure what to do now other than wait/hope that 3.2.1 (to be released next week) makes it to the overlay and is better for me. That's an option, of course. I don't know what else you could try; maybe try the gnome-shell version? I know the crash is happening in spidermonkey, but perhaps te live version of gnome-shell avoids that code path? The code for 3.2.1 cannot be *that* different from the live version. Maybe it's worth a try. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)
On Thu, Oct 13 2011, Canek Peláez Valdés wrote: On Thu, Oct 13, 2011 at 6:20 PM, Allan Gottlieb gottl...@nyu.edu wrote: Not sure what to do now other than wait/hope that 3.2.1 (to be released next week) makes it to the overlay and is better for me. That's an option, of course. I don't know what else you could try; maybe try the gnome-shell version? I know the crash is happening in spidermonkey, but perhaps te live version of gnome-shell avoids that code path? The code for 3.2.1 cannot be *that* different from the live version. Maybe it's worth a try. Regards. - didn't help. I still get the msg in dmesg about gnome-shell failing. I went back to 3.2.0-r1. Another difficulty has arising. I don't seem to be able to get out of fallback mode. Indeed even the command I used to get into fallback before is failing now. I think this should get me out of fallback oldlap ~ # gsettings set org.gnome.desktop.session session-name gnome ** (process:3534): WARNING **: Command line `dbus-launch --autolaunch=a80a835bfa47bbd35544058f000d --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n (msg repeated and snipped by allan) and this is just the command I successfully executed a day or two ago that now fails oldlap ~ # gsettings set org.gnome.desktop.session session-name gnome-fallback ** (process:3540): WARNING **: Command line `dbus-launch --autolaunch=a80a835bfa47bbd35544058f000d --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n (snipped) I should add that the first one above (trying to get back to straight gnome) was tried with the gnome-shell flag for gdm both set and unset. The failure is the same allan
[gentoo-user] subversion-1.7.0 and layman
Dear All, Yesterday my subversion has been upgraded because I have an ~amd64 system. This morning when I wanted to sync my layman repositorys I got this error message: svn: E155036: Please see the 'svn upgrade' command svn: E155036: Working copy is too old. Should I downgrade subversion or just waiting till the particular layman repositorys' format will be upgraded? Thanks in advance! András -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- Trust in God and keep your gunpowder dry! - Cromwell