[gentoo-user] Re: subversion-1.7.0 and layman
On 14 October 2011 07:58, András Csányi sayusi.a...@gmail.com wrote: 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? Ok, it's morning and my brain didn't work well without coffee. :S I deleted the old working copies and created again. Everything is okay. -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- Trust in God and keep your gunpowder dry! - Cromwell
Re: [gentoo-user] subversion-1.7.0 and layman
Hello, 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? The problem is with your working copy, not with the repository. Subversion 1.7 uses a new format for storing metadata in working copies which is not compatible with the one used up to 1.6. You can upgrade to the new format with $ svn upgrade /var/lib/layman/overlay name Be warned, though, that there is no way to convert back to the old format -- if you decide to downgrade subversion later on you will need to delete the overlay and check it out again. andrea
[gentoo-user] Set eth0 parameters via conf.d?
Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Re:
... I've sent a message to Dennis suggesting he change his password. -- :wq
Re: [gentoo-user] How to cross compile Perl for ARM?
On 10/14/2011 01:14 PM, czernitko wrote: Hello! I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple. Now I'd like to emerge some more packages, but perl constantly refuses to emerge and it is needed by many packages. Not a direct answer to your question, but I managed to cross-build a functional linux rootfs (including X11/Xfbdev and QTEmbedded) for ARM using buildroot. I found buildroot much easier to use than trying to follow the now-deprecated Gentoo Cross Development Guide. Also, I used CodeSourcery's toolchain instead of building my own.
Re: [gentoo-user] How to cross compile Perl for ARM?
hi peter! Am Fri, 14 Oct 2011 13:14:51 +0200 schrieb czernitko czerni...@gmail.com: Hello! I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple. Now I'd like to emerge some more packages, but perl constantly refuses to emerge and it is needed by many packages. For example when running # arm-none-linux-gnueabi-emerge -av1 perl [ebuild N ] dev-lang/perl-5.12.4-r1 to /usr/arm-none-linux-gnueabi/ USE=berkdb gdbm -build -debug -doc -ithreads 0 kB [ebuild N ] app-admin/perl-cleaner-2.10 to /usr/arm-none-linux-gnueabi/ 0 kB it fails right in configure phase. Relevant logs are attached, except for configure log which I couldn't find. When I've read through /usr/arm-none-linux-gnueabi/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4/Cross/README which is aimed to give more instructions for cross compiling, I've found out that I should run make patch make from Cross directory. Unfortunately, I've got no clue how to combine that with the whole emerge process? there is probably a better way to do this, but it should be possible to make a local overlay and modify the ebuild's src_compile to do emake in the Cross directory. http://devmanual.gentoo.org/ebuild-writing/index.html I know I could compile it by hand, but then portage would not know that perl is already installed and it would try to install it anyway... there are some ways around that, but its still ugly. a lot of the things you are finding out now might be *very* interesting to me in a few months, i am also planning a small project that might include cross compiling to arm. are you documenting your progress somewhere? can you please point me to the documents that helped you put together the cross compilation toolchain? from looking at build.log: Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include stdio.h int main() { printf(Ok\n); return(0); } I used the command: arm-none-linux-gnueabi-gcc -o try -O2 -pipe -fomit-frame-pointer -I/usr/arm-none-linux-gnueabi/usr/include/ -I/usr/arm-none-linux-gnueabi/include/ -DOVR_DBL_DIG=14 -L/usr/arm-none-linux-gnueabi/lib -L/usr/arm-none-linux-gnueabi/usr/lib -L/usr/local/lib try.c -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat ./try and I got the following output: /bin/sh: ./try: cannot execute binary file The program compiled OK, but exited with status 126. that actually sounds like it successfully cross-compiled try.c, but *of course* it does not run on your host platform! that check is probably omitted in Cross/Makefile which might why they are telling you to run that one. Any help would be highly appreciated! Peter
Re: [gentoo-user] Set eth0 parameters via conf.d?
Am Fri, 14 Oct 2011 19:31:57 +0700 schrieb Pandu Poluan pa...@poluan.info: Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ? yes, set: txqueuelen_eth0=1000 or whichever value you want. have a look at /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 your version of openrc may be different. in that case try locate net.example /jonas
Re: [gentoo-user] Set eth0 parameters via conf.d?
On Oct 14, 2011 9:12 PM, Jonas de Buhr jonas.de.b...@gmx.net wrote: Am Fri, 14 Oct 2011 19:31:57 +0700 schrieb Pandu Poluan pa...@poluan.info: Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ? yes, set: txqueuelen_eth0=1000 Ah , thanks! So, basically, any parameter settable using 'ip link set' can be declared as parameter_eth0? or whichever value you want. have a look at /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 your version of openrc may be different. in that case try locate net.example I'm using openrc-0.9.3-r1 Rgds,
Re: [gentoo-user] How to cross compile Perl for ARM?
Hello Jonas! there is probably a better way to do this, but it should be possible to make a local overlay and modify the ebuild's src_compile to do emake in the Cross directory. http://devmanual.gentoo.org/ebuild-writing/index.html So far this seems to me to be the most reasonable way. I would like to stick to the gentoo way of doing cross compilation, even if it encounters some minor hacks. I'll try it, thanks for pointing me there. are you documenting your progress somewhere? Nope, but for quite a while I'm considering to put up some blog (or something on google sites)... can you please point me to the documents that helped you put together the cross compilation toolchain? In fact only embedded gentoo documentationhttp://www.gentoo.org/proj/en/base/embedded/and trial and error method. I succeeded with crossdev --b 2.21.1 --g 4.5.3 --l 2.11.3 --k 2.6.36 -t arm-none-linux-gnueabi which compiled succesfully and created toolchain that can create binaries compatible with my Netgear Stora. So far I haven't tried emerged packages as I am not sure if they will run unless built statically, but sample C program compiled with cross compiler runs ok. that actually sounds like it successfully cross-compiled try.c, but *of course* it does not run on your host platform! that check is probably omitted in Cross/Makefile which might why they are telling you to run that one. I agree, I hope I can make some workaround in a short time for that. Using my own overlay seems to be the most appropriate way, I'll write back as soon as I have working ebuild limited to arm architecture... Peter
Re: [gentoo-user] How to cross compile Perl for ARM?
Hi Raffaele, Gentoo Cross Development Guide is deprecated in favour of Gentoo Embedded project, which so far seems to suit my needs. I had a quick look on CodeSourcery's products a few days ago, but in freely available version they don't seem to offer me more than toolchain compiled with crossdev. Maybe I'm wrong and if I'll get stuck I'll give them a go. AFAIK the biggest disadvantage of crossdev-created toolchain, compared to other cross compilation tools, is that without usage of emulator (like qemu-user) it is not possible to compile things that use in their configure scipts checks that need to be run on the target architecture (like Perl). Sticking to arm-none-linux-gnueabi-emerge offers quite a lot of comfort so far, so I'll see where I can get. Thanks for your tips! Peter 2011/10/14 Raffaele BELARDI raffaele.bela...@st.com On 10/14/2011 01:14 PM, czernitko wrote: Hello! I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple. Now I'd like to emerge some more packages, but perl constantly refuses to emerge and it is needed by many packages. Not a direct answer to your question, but I managed to cross-build a functional linux rootfs (including X11/Xfbdev and QTEmbedded) for ARM using buildroot. I found buildroot much easier to use than trying to follow the now-deprecated Gentoo Cross Development Guide. Also, I used CodeSourcery's toolchain instead of building my own.
Re: [gentoo-user] zram / compcache, anyone?
Am 14.10.2011 03:33, schrieb Adam Carter: 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 Okay, so just to verify I understand this correctly (I doubt it): Cleancache (not to be confused with compcache) is an intermediate layer using a transcendent memory framework [6] for pages that can disappear from the cache at any time. When the kernel has a clean page backed by persistent memory (i.e. a file that has not been changed), instead of removing the page from memory when the space is needed, it can push it into cleancache. When the kernel later loads the page again, it checks the cache to see if it is still there.[1,4] Cleancache requires changes on the filesystem implementations. The patches I've seen did not include any changes to Ext4 or others. Somewhere it was mentioned that a generic hook was included so most filesystems would immediately use it. However, the patches listed on kernelnewbies.org did not include anything that looked like it so I guess it was not included in 3.0. Therefore cleancache looks pretty useless now but might be really neat in the future. Frontswap, on the other hand, can be used for persistent pages (i.e. normal anonymous memory for program data).[4] When the kernel would normally swap out the page, it now presents it to frontswap and either frontswap accepts the page (i.e. store it compressed in memory) or refuses it (after which the kernel will really swap it out).[5] Frontswap does not seem to be part of linux-3.0. The article at [4] says it is somewhat controversial. The difference between frontswap and cleancache is that cleancache accepts everything but might not keep it while frontswap does not accept everything but guarantees to keep it. The slightly older zram implementation, on the other hand, uses the same interface as a block device (which can be formatted as a swap device) and therefore cannot decline an offered page like frontswap can. Zram was easier to implement and to get accepted by the kernel community but it is less efficient because it might save pages which are uncompressable. Zcache is a backend used by frontswap and cleancache. It basically reuses zram to offer a storage service for the transcendent memory framework.[2,3] Another backend is implemented in Xen, using hypervisor memory.[1] Any remarks on that summary? Regards, Florian Philipp [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4fe4746ab694690af9f2ccb80184f5c575917c7f [2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9cc06bf88d554dd527ded26eab28eec6a0d0e3df [3] http://lwn.net/Articles/397574/ [4] http://lwn.net/Articles/386090/ [5] http://lwn.net/Articles/386103/ [6] https://lwn.net/Articles/340080/ signature.asc Description: OpenPGP digital signature
[gentoo-user] Apologize to everyone for my nonprofessional
First of all I think I should apologize for my poor English , you must be very painful to read my letters. I'm a Chinese student and my English is not very well , actually it's suck. So I will pay attention to making letters more clear to understand. To be honest, I'm not good at writing e-mails as most Chinese does . We almost don't use e-mail . I know the letters I send don't have a clear subject and its contents are verbose , so I'm really sorry , I won't do that any longer. Michael Mol , you're right , I should reply in time, but you know it is 11:00 pm here when it is 7:00 am or 8:00 am in your place , maybe I went to bed and forgot this next morning . But it's not an excuse for me , so I will note it . You said there're no line-breaks in my letters , I'm not very clear about this, can you send a screenshot for me ? It is all normall in my mailbox . At last I want to explain why I don't try some methods you provide . I like to reach the essence of one thing , I want to know exactly why it should be this but not that . So the letters I reply become more and more simple , I will control myself to reply clearly.
Re: [gentoo-user] Apologize to everyone for my nonprofessional
On Fri, Oct 14, 82011 at 11:43 AM, Lavender 448463...@qq.com wrote: First of all I think I should apologize for my poor English , you must be very painful to read my letters. I'm a Chinese student and my English is not very well , actually it's suck. So I will pay attention to making letters more clear to understand. To be honest, I'm not good at writing e-mails as most Chinese does . We almost don't use e-mail . I know the letters I send don't have a clear subject and its contents are verbose , so I'm really sorry , I won't do that any longer. Very much appreciated! Michael Mol , you're right , I should reply in time, but you know it is 11:00 pm here when it is 7:00 am or 8:00 am in your place , maybe I went to bed and forgot this next morning . But it's not an excuse for me , so I will note it . Hey, we've all got lives outside this mailing list. Except Dale, perhaps. :) You said there're no line-breaks in my letters , I'm not very clear about this, can you send a screenshot for me ? It is all normall in my mailbox . This one came across fine, but see the attached screenshot. (Not sure if the list will filter it. If the attachment doesn't make it through, I'll link to the file) At last I want to explain why I don't try some methods you provide . I like to reach the essence of one thing , I want to know exactly why it should be this but not that . So the letters I reply become more and more simple , I will control myself to reply clearly. I hope your experiences on this mailing list help you refine your language skills. Sounds like you're reasonably motivated. :) -- :wq attachment: No-line-breaks.PNG
Re: [gentoo-user] Set eth0 parameters via conf.d?
Am Fri, 14 Oct 2011 21:39:15 +0700 schrieb Pandu Poluan pa...@poluan.info: On Oct 14, 2011 9:12 PM, Jonas de Buhr jonas.de.b...@gmx.net wrote: Am Fri, 14 Oct 2011 19:31:57 +0700 schrieb Pandu Poluan pa...@poluan.info: Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ? yes, set: txqueuelen_eth0=1000 Ah , thanks! So, basically, any parameter settable using 'ip link set' can be declared as parameter_eth0? i'm not sure about that, give it a try ;) I'm using openrc-0.9.3-r1 then the example file you should read should be located at /usr/share/doc/openrc-0.9.3-r1/net.example.bz2
[gentoo-user] 回复: [gentoo-user] Apologize to everyone for my nonprofessional
It's my fault, there're no line-breaks because I wrote the letters exactly like what the screenshot shows . I will write just like this letter. No more questions , good evening and tomorrow is a nice day ! -- 原始邮件 -- 发件人: Michael Molmike...@gmail.com; 发送时间: 2011年10月14日(星期五) 晚上11:52 收件人: gentoo-usergentoo-user@lists.gentoo.org; 主题: Re: [gentoo-user] Apologize to everyone for my nonprofessional On Fri, Oct 14, 82011 at 11:43 AM, Lavender 448463...@qq.com wrote: First of all I think I should apologize for my poor English , you must be very painful to read my letters. I'm a Chinese student and my English is not very well , actually it's suck. So I will pay attention to making letters more clear to understand. To be honest, I'm not good at writing e-mails as most Chinese does . We almost don't use e-mail . I know the letters I send don't have a clear subject and its contents are verbose , so I'm really sorry , I won't do that any longer. Very much appreciated! Michael Mol , you're right , I should reply in time, but you know it is 11:00 pm here when it is 7:00 am or 8:00 am in your place , maybe I went to bed and forgot this next morning . But it's not an excuse for me , so I will note it . Hey, we've all got lives outside this mailing list. Except Dale, perhaps. :) You said there're no line-breaks in my letters , I'm not very clear about this, can you send a screenshot for me ? It is all normall in my mailbox . This one came across fine, but see the attached screenshot. (Not sure if the list will filter it. If the attachment doesn't make it through, I'll link to the file) At last I want to explain why I don't try some methods you provide . I like to reach the essence of one thing , I want to know exactly why it should be this but not that . So the letters I reply become more and more simple , I will control myself to reply clearly. I hope your experiences on this mailing list help you refine your language skills. Sounds like you're reasonably motivated. :) -- :wq
Re: [gentoo-user] Apologize to everyone for my nonprofessional
Michael Mol wrote: Hey, we've all got lives outside this mailing list. Except Dale, perhaps. :) A'right now. I'm going to start on hal and /usr being on / again. :-P Dale :-) :-)
Re: [gentoo-user] Apologize to everyone for my nonprofessional
On Fri, 14 Oct 2011 11:15:24 -0500, Dale wrote: A'right now. I'm going to start on hal and /usr being on / again. :-P Jeez, 43 years on and you're still going on about it... -- Neil Bothwick Be strict when sending and tolerant when receiving. RFC 1958 - Architectural Principles of the Internet - section 3.9 signature.asc Description: PGP signature
Re: [gentoo-user] Apologize to everyone for my nonprofessional
Neil Bothwick wrote: On Fri, 14 Oct 2011 11:15:24 -0500, Dale wrote: A'right now. I'm going to start on hal and /usr being on / again. :-P Jeez, 43 years on and you're still going on about it... Dang, I was only a year old when hal came out? That just doubled my age. It's closer to what I feel like tho. I'm still not happy with /usr being required tho. That is still standing on a bad nerve. Don't worry tho, I got plenty of those bad nerves. :-P Dale :-) :-)
[gentoo-user] pam-1.1.4 emerge error on x86
/doc' make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' Making install in examples make[1]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' Making install in xtests make[1]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[1]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found * ERROR: sys-libs/pam-1.1.4 failed (install phase): * unable to read SONAME from libpam.so * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 3509: Called gen_usr_ldscript '-a' 'pam' 'pamc' 'pam_misc' * environment, line 2227: Called die * The specific snippet of code: * [[ -z ${tlib} ]] die unable to read SONAME from ${lib}; * * If you need support, post the output of 'emerge --info =sys-libs/pam-1.1.4', * the complete build log and the output of 'emerge -pqv =sys-libs/pam-1.1.4'. * The complete build log is located at '/var/log/portage/sys-libs:pam-1.1.4:20111014-213620.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-1.1.4/temp/environment'. * S: '/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' * QA Notice: command not found: * * /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found Another x86 machine installs fine. emerge --info attached. -- Regards, Mick emerge.info Description: Binary data
Re: [gentoo-user] pam-1.1.4 emerge error on x86
/bin/install -c -m 644 'index.html' '/var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html/index.html' make[3]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' Making install in examples make[1]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/examples' Making install in xtests make[1]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/xtests' make[1]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found you could try reinstalling app-misc/pax-utils. this is either a missing dependency or for some reason your pax-utils install is broken. * ERROR: sys-libs/pam-1.1.4 failed (install phase): * unable to read SONAME from libpam.so * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 3509: Called gen_usr_ldscript '-a' 'pam' 'pamc' 'pam_misc' * environment, line 2227: Called die * The specific snippet of code: * [[ -z ${tlib} ]] die unable to read SONAME from ${lib}; * * If you need support, post the output of 'emerge --info =sys-libs/pam-1.1.4', * the complete build log and the output of 'emerge -pqv =sys-libs/pam-1.1.4'. * The complete build log is located at '/var/log/portage/sys-libs:pam-1.1.4:20111014-213620.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-1.1.4/temp/environment'. * S: '/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' * QA Notice: command not found: * * /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found Another x86 machine installs fine. emerge --info attached.
Re: [gentoo-user] Postfix to relay mail even if acting as primary MX host?
On 10/13/2011 3:11 AM, Pandu Poluan wrote: # 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). The point of this is to say, If some dude points DNS at your server and/or configures their mail server to send mail to yours, it's not going to relay mail for them. You have to actually configure the domains to be relayed. Since you're planning to configure the domain you should be fine. Also less overthinking and more testing solves most of this stuff quicker. kashani
[gentoo-user] Can't find driver for VGA in kernel source tree
Hello, everyone ! I'm trying to build a kernel manully and there is a problem. I use lspci command and it shows my VGA card information: 01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP Then I type $ cd /sys/bus/pci/devices/:01:00.0 $ cat vendor $ cat device Now I get the vendor ID 0x1002 and the device ID 0x9552 for my VGA card Then I type $ grep -i 0x1002 include/linux/pci_ids.h It shows #define PCI_VENDOR_ID_ATI 0x1002 $grep -i 0x9552 include/linux/pci_ids.h It shows nothing $grep -Rl PCI_VENDOR_ID_ATI It prints a lot message, but I should notice files in directory drivers/media video and gpu. Here are the files in them: /drivers/media/video/cx88/cx88-card.c /drivers/video/aty/radeon_base.c /drivers/video/aty/atyfb_base.c /drivers/video/aty/aty128fb.c /drivers/drm/radeon/radeon_agp.c I have searched through these files, but I didn't find both 0x1002 and 0x9552 in one file which means these files are not drivers I need. If it means that there is no driver for my VGA in kernel source tree ? But my laptop is bought two years ago, hardware is not fashion.
Re: [gentoo-user] Can't find driver for VGA in kernel source tree
On Sat 15 Oct 2011 07:43:23 AM IST, Lavender wrote: Hello, everyone ! I'm trying to build a kernel manully and there is a problem. I use lspci command and it shows my VGA card information: 01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP Then I type $ cd /sys/bus/pci/devices/:01:00.0 $ cat vendor $ cat device Now I get the vendor ID 0x1002 and the device ID 0x9552 for my VGA card Then I type $ grep -i 0x1002 include/linux/pci_ids.h It shows #define PCI_VENDOR_ID_ATI 0x1002 $grep -i 0x9552 include/linux/pci_ids.h It shows nothing $grep -Rl PCI_VENDOR_ID_ATI It prints a lot message, but I should notice files in directory drivers/media video and gpu. Here are the files in them: /drivers/media/video/cx88/cx88-card.c /drivers/video/aty/radeon_base.c /drivers/video/aty/atyfb_base.c /drivers/video/aty/aty128fb.c /drivers/drm/radeon/radeon_agp.c I have searched through these files, but I didn't find both 0x1002 and 0x9552 in one file which means these files are not drivers I need. If it means that there is no driver for my VGA in kernel source tree ? But my laptop is bought two years ago, hardware is not fashion. Have you tried lspci -v which gives verbose information about the device, including the modules involved? -- Nilesh Govindarajan http://nileshgr.com
[gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree
I have just tried , the output is like something below 01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP Subsystem: Hewlett-Packard Company Device 3644 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at 8000 (32bit, prefetchable) [size=256M] I/O ports at 3000 [size=256] Memory at 9030 (32bit, non-prefetchable) [size=64K] Expansion ROM at 9032 [disabled] [size=128K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enabel- Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 ? How can I find the driver according to these information ? -- 原始邮件 -- 发件人: Nilesh Govindarajancont...@nileshgr.com; 发送时间: 2011年10月15日(星期六) 中午11:43 收件人: gentoo-usergentoo-user@lists.gentoo.org; 主题: Re: [gentoo-user] Can't find driver for VGA in kernel source tree On Sat 15 Oct 2011 07:43:23 AM IST, Lavender wrote: Hello, everyone ! I'm trying to build a kernel manully and there is a problem. I use lspci command and it shows my VGA card information: 01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP Then I type $ cd /sys/bus/pci/devices/:01:00.0 $ cat vendor $ cat device Now I get the vendor ID 0x1002 and the device ID 0x9552 for my VGA card Then I type $ grep -i 0x1002 include/linux/pci_ids.h It shows #define PCI_VENDOR_ID_ATI 0x1002 $grep -i 0x9552 include/linux/pci_ids.h It shows nothing $grep -Rl PCI_VENDOR_ID_ATI It prints a lot message, but I should notice files in directory drivers/media video and gpu. Here are the files in them: /drivers/media/video/cx88/cx88-card.c /drivers/video/aty/radeon_base.c /drivers/video/aty/atyfb_base.c /drivers/video/aty/aty128fb.c /drivers/drm/radeon/radeon_agp.c I have searched through these files, but I didn't find both 0x1002 and 0x9552 in one file which means these files are not drivers I need. If it means that there is no driver for my VGA in kernel source tree ? But my laptop is bought two years ago, hardware is not fashion. Have you tried lspci -v which gives verbose information about the device, including the modules involved? -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Postfix to relay mail even if acting as primary MX host?
On Oct 15, 2011 8:16 AM, kashani kashani-l...@badapple.net wrote: On 10/13/2011 3:11 AM, Pandu Poluan wrote: # 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). The point of this is to say, If some dude points DNS at your server and/or configures their mail server to send mail to yours, it's not going to relay mail for them. You have to actually configure the domains to be relayed. Since you're planning to configure the domain you should be fine. Ah, thanks! That's a very succinct yet clearest explanation! :-) Also less overthinking and more testing solves most of this stuff quicker. I prefer to arm myself with enough knowledge before deploying -- even in a testing setup -- to reduce any 'WTF?!' moments :-) Rgds,
Re: [gentoo-user] Apologize to everyone for my nonprofessional
On Oct 15, 2011 5:49 AM, Dale rdalek1...@gmail.com wrote: Neil Bothwick wrote: On Fri, 14 Oct 2011 11:15:24 -0500, Dale wrote: A'right now. I'm going to start on hal and /usr being on / again. :-P Jeez, 43 years on and you're still going on about it... Dang, I was only a year old when hal came out? That just doubled my age. It's closer to what I feel like tho. I'm still not happy with /usr being required tho. That is still standing on a bad nerve. Don't worry tho, I got plenty of those bad nerves. :-P Do you know that there's a plan to move /var/run to / also? ;-) Rgds,