Re: [gentoo-user] [OT] Thanks to the devs
On Wed, May 23, 2012 at 03:10:25PM -0400, Michael Mol wrote I'd just like to say thank you for the work you guys do. Thank you for the work you guys do. There. I said it. *Goes back to work* Me too. They answered my questions as I stumbled along replacing udev with mdev. And they even accepted a feature request from me to include busybox[mdev] as an option in virtual/dev-manager... $ grep Walter /usr/portage/virtual/dev-manager/ChangeLog Add busybox[mdev] as a provider #395319 by Walter Dnes. Thank you again. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] OT: mount so that other users can write to mounted dir?
On Wed, May 23, 2012 at 02:42:46AM +0200, Alan McKinnon wrote What filesystem is on that stick? For vfat and ntfs what you are truing should work. For Unix file systems (ext*, reiser, etc), it will not work. You cannot override owners and permissions with the mount command on those. Thanks. That does make sense. I wouldn't want my regular user account to be able to do stuff to root's files on my external backup (reiserfs). Experimentation confirms that posix/linux filesystems mount with the mountpoint being user:root and group:root when mounted or pmounted by root. FAT32 etc mounts as user:root and group:plugdev. Making my user account a member of the plugdev group, and pmounting with umask 007 allows me to do whatever I want to files on the USB stick. So I guess FAT32 has its uses. One last sticking point is manual unmounting. You obviously want to unmount properly before disconnecting a USB key or drive, if you've done any writing to it. If the pmount is done as root, pumount or umount has to be done as root. What's the proper sudoers wildcard syntax for unmounting a mountpoint under /media? Does this look OK? waltdnes d531 = (root) NOPASSWD: /bin/umount /media/sd[a-z][1-9] -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Re: [entirely ON topic] Thanks to the devs
On Thu, 24 May 2012 13:16:51 +0800 kwk...@hkbn.net wrote: On Thu, 24 May 2012 02:03:07 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Wed, 23 May 2012 16:42:15 -0700 walt w41...@gmail.com wrote: On 05/23/2012 12:10 PM, Michael Mol wrote: I've noticed a lot of overt participation on this list by gentoo devs[1], especially in scenarios where they're explaining rationales and reasoning behind changes that affect users. I'd just like to say thank you for the work you guys do. Thank you for the work you guys do. I posted the same, but a long time ago, so I'll add a mee too. Another me too. (Thanking the suse devs here would of course be very inappropriate ;) But then you'd be excluding gregkh and *that* would be very inappropriate ;-) Is gregkh still a SUSE dev? I thought he now works for Linux Foundation (since February). He did mention on his blog at the time he wanted to continue working on SuSE and Gentoo kernels. As for what he is actually doing these day, I don't know -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] [OT] CPU temperature monitoring?
On Thu, 24 May 2012 01:59:40 +0200, Alex Schuster wrote: The k10temp kernel module loads automatically at boot with no errors, so I just hope something (somewhere) is taking care of this stuff automatically. But I'm only hoping, not knowing. Any ideas how to find out for sure? emerge sys-apps/lm_sensors, run 'sensors-detect', and hopefully the 'sensors' command will show you the fan speeds and temperatures then. You can also read the temperatures directly from /sys. On this Intel core powered box they are in /sys/devices/platform/coretemp.* -- Neil Bothwick I don't know what makes you tick but I wish it was a time bomb. signature.asc Description: PGP signature
Re: [gentoo-user] udevd boot messages
On 2012-05-23 5:25 PM, Markos Chandras hwoar...@gentoo.org wrote: On 05/23/2012 05:24 PM, Tanstaafl wrote: *Especially* for servers, there really, REALLY needs to be a way to see this kind of warning BEFORE updating... ie, the warning should be printed to the screen during an 'emerge -pvuDN world' or something, so I know that a reboot will be required for this update. /pet-peeve This kind of messages are also printed at the end of -uDNav world so if you scroll your screen up you can see all the warning/log messages from every package that you have updated. Also, these kind of messages are logged in/var/log/portage/ Ummm... yes, I know that, I get my elogs via email... You must have missed the words 'BEFORE updating' above... I put BEFORE in caps, not sure what else I could have done to make it more plain... ;)
Re: [gentoo-user] udevd boot messages
On 2012-05-23 5:54 PM, Markos Chandras hwoar...@gentoo.org wrote: On 05/23/2012 10:47 PM, Alan McKinnon wrote: Tanstaafl wants to know if a reboot*will* be required*before* he does the update. What you are describing tells him that after the update completes when it is already too late. I face the same issue at work. We have a change policy requiring 14 days advance notice of any change affecting service. If I do a routine world update then have to log an emergency change for an unexpected reboot, the change manager will have my nuts for breakfast. If it happens more than once, I'd be having a really unusual conversation with the CTO which probably ends with him standing behind me watching while I migrate every single box that isn't RHEL6 (all 200 of them) over to RHEL6 where I*do* have exact knowledge in advance of the impact of a change. Did either of you ever open a bug about this or even discuss it in the gentoo-dev mailing list? What you say sounds like a valid concern to me but unless you express your needs to maintainers, nothing is ever going to happen. However, in this particular case, yes a news item would be the ideal solution. I didn't discuss it on the dev list (I'm not a dev), but I did ask a question about this, but it was more general in nature (how to get ewarn/einfo during --pretend): http://forums.gentoo.org/viewtopic.php?p=5930125#5930125 As a result of that thread, I then opened this bug which was subsequently closed: https://bugs.gentoo.org/show_bug.cgi?id=281248
[gentoo-user] wpa_supplicant annoyances (mask_service_inactive)
So, wpa_supplicant never worked fine. It's been giving me headache since day zero, but I've been -mostly- able to handle it in one or another way. Yesterday I rebooted (I rarely do), and another horror story begun. Now I am getting this messages at init: Código: INIT: Entering runlevel: 3 * Restoring Mixer Levels ... [ ok ] * Starting D-BUS system messagebus ...[ ok ] * Starting metalog ...[ ok ] * Starting ConsoleKit daemon ... [ ok ] * Bringing up interface wlan0 * Starting wpa_supplicant on wlan0 ... [ ok ] * mark_service_inactive: unknown applet * Starting wpa_cli on wlan0 ... [ ok ] * Backgrounding ... ... * ERROR: net.wlan0 failed to start * Starting cupsd ... [ ok ] * ERROR: cannot start fail2ban as net.wlan0 would not start * ERROR: cannot start netmount as net.wlan0 would not start * ERROR: cannot start samba as net.wlan0 would not start * Starting S.M.A.R.T. monitoring daemon ... [ ok ] * Starting sshd ... [ ok ] * Doing udev cleanups * Starting vixie-cron ... [ ok ] * Starting local [ ok ] This is Jesus-PC.O (Linux x86_64 3.4.0) 00:34:56 Jesus-PC login: For the most part, wpa_supplicant seems to start fine though. I can reach the net and everything works... well... maybe 7 times out of 10. Sometimes I have to kill everything related to wpa_supplicant and restart the net.wlan0 service, while I cross my fingers in the hope to reach the internet. But what annoys me the most is the fact that many important services do not start because they depend on net.wlan0, which spits out these errors disrupting the init process. I've been using this for some time now, and I changed the config a lot of times. Always had problems. The last time I set this up I removed everything from /etc/conf.d/net and /etc/conf.d/wpa_supplicant, and let it did it's automatic job instead. So far, it's working... some random times. The errors always show though. And they screw up the init. The worst is that it bits sshd, which leaves me without remote access any random day. Ugh. So, any idea where to start looking? :D -- Jesús Guerrero Botella
[gentoo-user] Compile program with older libraries
Hi! I have some program which I am using in a thin client which has Gentoo stage 3 root fs (kernel 2.6.39.4), lets call it system A. I've also compiled that program chroot-ed in this stage 3 fs from my personal computer. I have an other thin clients which have older system (B) on it which is older linux kernel 2.6.16.27. Library version which are needed are of course different and for that reason my program can not be run in this sistem. System A: Linux redondo 2.6.39.4 #18 Mon Mar 19 13:14:32 CET 2012 i586 i586 i386 GNU/Linux /lib/libc-2.12.2.so gcc version 4.0.3 System B: Linux carlos 2.6.16.27 #1 Sun Mar 25 11:09:40 CEST 2007 i586 i586 i386 GNU/Linux /lib/libc-2.3.6.so gcc version 4.0.3 Shared libraries that my binary uses are (in system A): linux-gate.so.1 = (0xe000) libpthread.so.0 = /lib/libpthread.so.0 (0xf76d6000) libuuid.so.1 = /lib/libuuid.so.1 (0xf76d1000) libstdc++.so.6 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libstdc++.so.6 (0xf75da000) libm.so.6 = /lib/libm.so.6 (0xf75b2000) libc.so.6 = /lib/libc.so.6 (0xf7468000) /lib/ld-linux.so.2 (0xf76f3000) libgcc_s.so.1 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libgcc_s.so.1 (0xf7449000) If i try to compile my program using '-static' directive, I still have a problem with 4 functions: -initgroups, -getpwnam, -getaddrinfo, -gethostbyname. If I got that right, they use functions which are located in NSS shared libraries. I am looking for a way of compiling my program so that I can run it in system B. I have libraries available from system B and that is all that I have. I need help on getting this done. I guess gcc versions are the same and as well libgcc_s.so.1 shared library. My questions are: Can I pull those libraries from system B and use it in compilatin process? Would that work? I would still need to get include source files of that version, right? Is there some archive site where I can find so old version of linux kernel source? One thing that pops in to my mind is also trying to find gentoo stage 3 tarball of the kernel version 2.6.16.27 and compile the program there...I tried to search that but no luck in that... Any help would be welcomed!
Re: [gentoo-user] wpa_supplicant annoyances (mask_service_inactive)
On 24 May 2012 11:50, Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com wrote: So, wpa_supplicant never worked fine. It's been giving me headache since day zero, but I've been -mostly- able to handle it in one or another way. Yesterday I rebooted (I rarely do), and another horror story begun. Now I am getting this messages at init: * Bringing up interface wlan0 * Starting wpa_supplicant on wlan0 ... [ ok ] * mark_service_inactive: unknown applet * Starting wpa_cli on wlan0 ... [ ok ] * Backgrounding ... ... * ERROR: net.wlan0 failed to start So, any idea where to start looking? :D Add -dd in your /etc/conf.d/net to increase the log verbosity and then look in your syslog messages. You can also try invoking wpa_supplicant in a terminal and see what it spews out. BTW, just pointing the obvious ... if this is a laptop have you checked with rfkill that the hardware is switched on? -- Regards, Mick
Re: [gentoo-user] wpa_supplicant annoyances (mask_service_inactive)
On Thu, 24 May 2012 12:50:27 +0200, Jesús J. Guerrero Botella wrote: I've been using this for some time now, and I changed the config a lot of times. Always had problems. The last time I set this up I removed everything from /etc/conf.d/net and /etc/conf.d/wpa_supplicant, and let it did it's automatic job instead. So far, it's working... some random times. The errors always show though. And they screw up the init. The worst is that it bits sshd, which leaves me without remote access any random day. Ugh. So, any idea where to start looking? :D genlop -l --date yesterday is always a good place to start. I knew this wasn't down to wpa_supplicant as I got it this morning on a wirelessless desktop. Genlop showed that openrc was updated yesterday and searching bugzilla for openrc found https://bugs.gentoo.org/show_bug.cgi?id=417227 It appears that a fix has been committed. -- Neil Bothwick Last yur I kudnt spel modjerater now I are won. signature.asc Description: PGP signature
Re: [gentoo-user] Compile program with older libraries
On Thu, May 24, 2012 at 2:15 PM, Marko Košmerl mark...@gmail.com wrote: Hi! I have some program which I am using in a thin client which has Gentoo stage 3 root fs (kernel 2.6.39.4), lets call it system A. I've also compiled that program chroot-ed in this stage 3 fs from my personal computer. I have an other thin clients which have older system (B) on it which is older linux kernel 2.6.16.27. Library version which are needed are of course different and for that reason my program can not be run in this sistem. System A: Linux redondo 2.6.39.4 #18 Mon Mar 19 13:14:32 CET 2012 i586 i586 i386 GNU/Linux /lib/libc-2.12.2.so gcc version 4.0.3 System B: Linux carlos 2.6.16.27 #1 Sun Mar 25 11:09:40 CEST 2007 i586 i586 i386 GNU/Linux /lib/libc-2.3.6.so gcc version 4.0.3 Shared libraries that my binary uses are (in system A): linux-gate.so.1 = (0xe000) libpthread.so.0 = /lib/libpthread.so.0 (0xf76d6000) libuuid.so.1 = /lib/libuuid.so.1 (0xf76d1000) libstdc++.so.6 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libstdc++.so.6 (0xf75da000) libm.so.6 = /lib/libm.so.6 (0xf75b2000) libc.so.6 = /lib/libc.so.6 (0xf7468000) /lib/ld-linux.so.2 (0xf76f3000) libgcc_s.so.1 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libgcc_s.so.1 (0xf7449000) If i try to compile my program using '-static' directive, I still have a problem with 4 functions: -initgroups, -getpwnam, -getaddrinfo, -gethostbyname. If I got that right, they use functions which are located in NSS shared libraries. I am looking for a way of compiling my program so that I can run it in system B. I have libraries available from system B and that is all that I have. I need help on getting this done. I guess gcc versions are the same and as well libgcc_s.so.1 shared library. My questions are: Can I pull those libraries from system B and use it in compilatin process? Would that work? I would still need to get include source files of that version, right? Is there some archive site where I can find so old version of linux kernel source? One thing that pops in to my mind is also trying to find gentoo stage 3 tarball of the kernel version 2.6.16.27 and compile the program there...I tried to search that but no luck in that... Any help would be welcomed! You can statically compile your program on system A ( use gcc -static -o test test.c for example ). Then you should be able to run it in system B without any problem
Re: [gentoo-user] wpa_supplicant annoyances (mask_service_inactive)
Hi again. This is just a desktop that's on a remote corner. Some months ago I decided to clean a bit and take off some wires, and I am using an usb wifi dongle to connect it to my lan, just because that's what I had at hand at the moment, lying in some drawer. 2012/5/24 Neil Bothwick n...@digimed.co.uk: On Thu, 24 May 2012 12:50:27 +0200, Jesús J. Guerrero Botella wrote: I've been using this for some time now, and I changed the config a lot of times. Always had problems. The last time I set this up I removed everything from /etc/conf.d/net and /etc/conf.d/wpa_supplicant, and let it did it's automatic job instead. So far, it's working... some random times. The errors always show though. And they screw up the init. The worst is that it bits sshd, which leaves me without remote access any random day. Ugh. So, any idea where to start looking? :D genlop -l --date yesterday is always a good place to start. I knew this wasn't down to wpa_supplicant as I got it this morning on a wirelessless desktop. Genlop showed that openrc was updated yesterday and searching bugzilla for openrc found https://bugs.gentoo.org/show_bug.cgi?id=417227 It appears that a fix has been committed. Thank you, it's exactly my problem. Poor wpa_supplicant, it seems it's not guilty after all. :P Well, thank you a ton. I can go from here myself. :) -- Jesús Guerrero Botella
Re: [gentoo-user] Compile program with older libraries
On compile time I get warnings: watcher.cpp:(.text+0x85): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking watcher.cpp:(.text+0x16f): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking client.cpp:(.text+0xb1a): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking reg.cpp:(.text+0x3d6): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking On running it: ./watcher: /lib/libuuid.so.1: no version information available (required by ./watcher) ./watcher: /lib/libc.so.6:e version `GLIBC_2.4' not found (required by ./watcher) ./watcher: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./watcher) ./watcher: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./watcher) On Thu, May 24, 2012 at 3:33 PM, Markos Chandras hwoar...@gentoo.orgwrote: On Thu, May 24, 2012 at 2:15 PM, Marko Košmerl mark...@gmail.com wrote: Hi! I have some program which I am using in a thin client which has Gentoo stage 3 root fs (kernel 2.6.39.4), lets call it system A. I've also compiled that program chroot-ed in this stage 3 fs from my personal computer. I have an other thin clients which have older system (B) on it which is older linux kernel 2.6.16.27. Library version which are needed are of course different and for that reason my program can not be run in this sistem. System A: Linux redondo 2.6.39.4 #18 Mon Mar 19 13:14:32 CET 2012 i586 i586 i386 GNU/Linux /lib/libc-2.12.2.so gcc version 4.0.3 System B: Linux carlos 2.6.16.27 #1 Sun Mar 25 11:09:40 CEST 2007 i586 i586 i386 GNU/Linux /lib/libc-2.3.6.so gcc version 4.0.3 Shared libraries that my binary uses are (in system A): linux-gate.so.1 = (0xe000) libpthread.so.0 = /lib/libpthread.so.0 (0xf76d6000) libuuid.so.1 = /lib/libuuid.so.1 (0xf76d1000) libstdc++.so.6 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libstdc++.so.6 (0xf75da000) libm.so.6 = /lib/libm.so.6 (0xf75b2000) libc.so.6 = /lib/libc.so.6 (0xf7468000) /lib/ld-linux.so.2 (0xf76f3000) libgcc_s.so.1 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libgcc_s.so.1 (0xf7449000) If i try to compile my program using '-static' directive, I still have a problem with 4 functions: -initgroups, -getpwnam, -getaddrinfo, -gethostbyname. If I got that right, they use functions which are located in NSS shared libraries. I am looking for a way of compiling my program so that I can run it in system B. I have libraries available from system B and that is all that I have. I need help on getting this done. I guess gcc versions are the same and as well libgcc_s.so.1 shared library. My questions are: Can I pull those libraries from system B and use it in compilatin process? Would that work? I would still need to get include source files of that version, right? Is there some archive site where I can find so old version of linux kernel source? One thing that pops in to my mind is also trying to find gentoo stage 3 tarball of the kernel version 2.6.16.27 and compile the program there...I tried to search that but no luck in that... Any help would be welcomed! You can statically compile your program on system A ( use gcc -static -o test test.c for example ). Then you should be able to run it in system B without any problem
Re: [gentoo-user] Compile program with older libraries
On Thu, May 24, 2012 at 2:58 PM, Marko Košmerl mark...@gmail.com wrote: On compile time I get warnings: watcher.cpp:(.text+0x85): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking watcher.cpp:(.text+0x16f): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking client.cpp:(.text+0xb1a): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking reg.cpp:(.text+0x3d6): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking On running it: ./watcher: /lib/libuuid.so.1: no version information available (required by ./watcher) ./watcher: /lib/libc.so.6:e version `GLIBC_2.4' not found (required by ./watcher) ./watcher: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./watcher) ./watcher: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./watcher) On Thu, May 24, 2012 at 3:33 PM, Markos Chandras hwoar...@gentoo.org wrote: On Thu, May 24, 2012 at 2:15 PM, Marko Košmerl mark...@gmail.com wrote: Hi! I have some program which I am using in a thin client which has Gentoo stage 3 root fs (kernel 2.6.39.4), lets call it system A. I've also compiled that program chroot-ed in this stage 3 fs from my personal computer. I have an other thin clients which have older system (B) on it which is older linux kernel 2.6.16.27. Library version which are needed are of course different and for that reason my program can not be run in this sistem. System A: Linux redondo 2.6.39.4 #18 Mon Mar 19 13:14:32 CET 2012 i586 i586 i386 GNU/Linux /lib/libc-2.12.2.so gcc version 4.0.3 System B: Linux carlos 2.6.16.27 #1 Sun Mar 25 11:09:40 CEST 2007 i586 i586 i386 GNU/Linux /lib/libc-2.3.6.so gcc version 4.0.3 Shared libraries that my binary uses are (in system A): linux-gate.so.1 = (0xe000) libpthread.so.0 = /lib/libpthread.so.0 (0xf76d6000) libuuid.so.1 = /lib/libuuid.so.1 (0xf76d1000) libstdc++.so.6 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libstdc++.so.6 (0xf75da000) libm.so.6 = /lib/libm.so.6 (0xf75b2000) libc.so.6 = /lib/libc.so.6 (0xf7468000) /lib/ld-linux.so.2 (0xf76f3000) libgcc_s.so.1 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libgcc_s.so.1 (0xf7449000) If i try to compile my program using '-static' directive, I still have a problem with 4 functions: -initgroups, -getpwnam, -getaddrinfo, -gethostbyname. If I got that right, they use functions which are located in NSS shared libraries. I am looking for a way of compiling my program so that I can run it in system B. I have libraries available from system B and that is all that I have. I need help on getting this done. I guess gcc versions are the same and as well libgcc_s.so.1 shared library. My questions are: Can I pull those libraries from system B and use it in compilatin process? Would that work? I would still need to get include source files of that version, right? Is there some archive site where I can find so old version of linux kernel source? One thing that pops in to my mind is also trying to find gentoo stage 3 tarball of the kernel version 2.6.16.27 and compile the program there...I tried to search that but no luck in that... Any help would be welcomed! You can statically compile your program on system A ( use gcc -static -o test test.c for example ). Then you should be able to run it in system B without any problem Why don't you want to compile the program in system B if you already have the libraries around?
Re: [gentoo-user] Compile program with older libraries
The following is the problem: root@carlos:/tmp/temp# g++ hello.cc -o hello g++: installation problem, cannot exec 'cc1plus': No such file or directory Also there is no make tool in that system... On Thu, May 24, 2012 at 4:10 PM, Markos Chandras hwoar...@gentoo.orgwrote: On Thu, May 24, 2012 at 2:58 PM, Marko Košmerl mark...@gmail.com wrote: On compile time I get warnings: watcher.cpp:(.text+0x85): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking watcher.cpp:(.text+0x16f): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking client.cpp:(.text+0xb1a): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking reg.cpp:(.text+0x3d6): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking On running it: ./watcher: /lib/libuuid.so.1: no version information available (required by ./watcher) ./watcher: /lib/libc.so.6:e version `GLIBC_2.4' not found (required by ./watcher) ./watcher: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./watcher) ./watcher: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./watcher) On Thu, May 24, 2012 at 3:33 PM, Markos Chandras hwoar...@gentoo.org wrote: On Thu, May 24, 2012 at 2:15 PM, Marko Košmerl mark...@gmail.com wrote: Hi! I have some program which I am using in a thin client which has Gentoo stage 3 root fs (kernel 2.6.39.4), lets call it system A. I've also compiled that program chroot-ed in this stage 3 fs from my personal computer. I have an other thin clients which have older system (B) on it which is older linux kernel 2.6.16.27. Library version which are needed are of course different and for that reason my program can not be run in this sistem. System A: Linux redondo 2.6.39.4 #18 Mon Mar 19 13:14:32 CET 2012 i586 i586 i386 GNU/Linux /lib/libc-2.12.2.so gcc version 4.0.3 System B: Linux carlos 2.6.16.27 #1 Sun Mar 25 11:09:40 CEST 2007 i586 i586 i386 GNU/Linux /lib/libc-2.3.6.so gcc version 4.0.3 Shared libraries that my binary uses are (in system A): linux-gate.so.1 = (0xe000) libpthread.so.0 = /lib/libpthread.so.0 (0xf76d6000) libuuid.so.1 = /lib/libuuid.so.1 (0xf76d1000) libstdc++.so.6 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libstdc++.so.6 (0xf75da000) libm.so.6 = /lib/libm.so.6 (0xf75b2000) libc.so.6 = /lib/libc.so.6 (0xf7468000) /lib/ld-linux.so.2 (0xf76f3000) libgcc_s.so.1 = /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/libgcc_s.so.1 (0xf7449000) If i try to compile my program using '-static' directive, I still have a problem with 4 functions: -initgroups, -getpwnam, -getaddrinfo, -gethostbyname. If I got that right, they use functions which are located in NSS shared libraries. I am looking for a way of compiling my program so that I can run it in system B. I have libraries available from system B and that is all that I have. I need help on getting this done. I guess gcc versions are the same and as well libgcc_s.so.1 shared library. My questions are: Can I pull those libraries from system B and use it in compilatin process? Would that work? I would still need to get include source files of that version, right? Is there some archive site where I can find so old version of linux kernel source? One thing that pops in to my mind is also trying to find gentoo stage 3 tarball of the kernel version 2.6.16.27 and compile the program there...I tried to search that but no luck in that... Any help would be welcomed! You can statically compile your program on system A ( use gcc -static -o test test.c for example ). Then you should be able to run it in system B without any problem Why don't you want to compile the program in system B if you already have the libraries around?
[gentoo-user] media-tv/mythtv-0.24.1_p20110524 fails to emerge
I seriously screwed up my system this week, and broke myth. Now I'm trying to emerge media-tv/mythtv-0.24.1_p20110524 since my old myth version is no longer supported (the ebuilds aren't even still around). The emerge goes along fine until it gets to this part: mythrender_opengl.cpp: In function 'int __glCheck__(const QString, const char*, int)': mythrender_opengl.cpp:38: error: 'gluErrorString' was not declared in this scope make[2]: *** [mythrender_opengl.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.24.1_p20110524/work/MythTV-mythtv-347cd24/mythtv/libs/libmythui' make[1]: *** [sub-libmythui-make_default] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.24.1_p20110524/work/MythTV-mythtv-347cd24/mythtv/libs' make: *** [libs] Error 2 Most of our TV watching is off Myth. We only have one show that we follow that's currently in season and that's on Monday, so I'd really like to have this working by then. Can anyone help me? -Michael Sullivan-
Re: [gentoo-user] XFCE 4.10
On Mon, 21 May 2012 19:25:10 -0700 Willie Matthews matthews.wil...@gmail.com wrote: You need to add a spacer to your panel. Right click on the panel. Select the panel pop out menu. Select Add New Items Select Separator. It will add it to the panel at the end, from what is see you might want it to the right of your Windows List. When you do get it to where you want it just right click the Separator that you just added, go to properties. In the drop down select Transparent and check Expand. It should come out to exactly what you want. Yes thats it. Thank u much. Nice Day, Regards Silvio
Re: [gentoo-user] XFCE 4.10
No problem at all! On 05/24/12 11:01, Silvio Siefke wrote: On Mon, 21 May 2012 19:25:10 -0700 Willie Matthews matthews.wil...@gmail.com wrote: You need to add a spacer to your panel. Right click on the panel. Select the panel pop out menu. Select Add New Items Select Separator. It will add it to the panel at the end, from what is see you might want it to the right of your Windows List. When you do get it to where you want it just right click the Separator that you just added, go to properties. In the drop down select Transparent and check Expand. It should come out to exactly what you want. Yes thats it. Thank u much. Nice Day, Regards Silvio -- Willie Matthews matthews.wil...@gmail.com
Re: [gentoo-user] media-tv/mythtv-0.24.1_p20110524 fails to emerge
On Thu, 24 May 2012 10:53:04 -0500 Michael Sullivan msulli1...@gmail.com wrote: I seriously screwed up my system this week, and broke myth. Now I'm trying to emerge media-tv/mythtv-0.24.1_p20110524 since my old myth version is no longer supported (the ebuilds aren't even still around). The emerge goes along fine until it gets to this part: mythrender_opengl.cpp: In function 'int __glCheck__(const QString, const char*, int)': mythrender_opengl.cpp:38: error: 'gluErrorString' was not declared in this scope make[2]: *** [mythrender_opengl.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.24.1_p20110524/work/MythTV-mythtv-347cd24/mythtv/libs/libmythui' make[1]: *** [sub-libmythui-make_default] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.24.1_p20110524/work/MythTV-mythtv-347cd24/mythtv/libs' make: *** [libs] Error 2 Most of our TV watching is off Myth. We only have one show that we follow that's currently in season and that's on Monday, so I'd really like to have this working by then. Can anyone help me? -Michael Sullivan- I can't help you fix that error, but I have something just as good :-) myth is still installed, just broken right? You didn;t uninstall it? In /var/db/pkg/cat/package-version/ you will find the ebuild that is currently installed (despite it not being in the tree anymore). Copy it to your personal overlay and continue to use it till you get the error sorted out. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] udevd boot messages
On Mon, May 21, 2012 at 5:00 PM, Markos Chandras hwoar...@gentoo.org wrote: On 05/21/2012 03:27 PM, Michael Hampicke wrote: I updated udev from 171-r5 to 171-r6 and now i get several udevd boot message as : udevd[1389]: can not find '/lib/udev/rules.d/90-network.rules': No such file or directory udevd[1389]: can not find '/lib/udev/rules.d/95-keymap.rules': No such file or directory .. and so on. /lib is a symlink pointing to /lib64. /lib64/udev/rules.d is ok with all the rules that udevd does not find at boot. No I would guess it was because of the upgrade of sys-apps/baselayout to 2.1-r1. Things got crazy here with that upgrade. I had to re-merge every package with files under /lib/ In your case re-merging udev should to the trick. The package clearly informed you that you need to reboot for things to work properly You should reboot the system now to get /run mounted with tmpfs! Have a look on pkg_postinst() function in that ebuild. You chose to ignore it and this is why you had these problems after the update. Ok, now I'm coming up on a bind. I've spent the last few days trying to get my laptop back up to snuff, cycling emerge updates, revdep-rebuilds and eix-syncs. That particular warning, for me, was buried in a mountain of ruby and libicu build failures. I just now started going through /var/log/portage/messages, and was reminded of this thread. I just wanted to note that deleting the rules.d directory, and then only re-emerging udev, strikes me as setting oneself up for more problems in the future. Turns out, there are a lot of packages on my system I might want to look at re-emerging. A lot of it belongs to udev, but a lot of it...doesn't. I'm going to try Jacques's method of removing the old rules.d folder, and re-emerging the packages equery identified. Hopefully, I won't see the same boot messages that hit other people. saffron rules.d # for pkg in $(ls); do equery b $pkg; done * Searching for 10-dm.rules ... sys-fs/lvm2-2.02.88 (/lib/udev/rules.d/10-dm.rules) * Searching for 11-dm-lvm.rules ... sys-fs/lvm2-2.02.88 (/lib/udev/rules.d/11-dm-lvm.rules) * Searching for 13-dm-disk.rules ... sys-fs/lvm2-2.02.88 (/lib/udev/rules.d/13-dm-disk.rules) * Searching for 30-kernel-compat.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/30-kernel-compat.rules) * Searching for 40-gentoo.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/40-gentoo.rules) * Searching for 42-qemu-usb.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/42-qemu-usb.rules) * Searching for 50-firmware.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/50-firmware.rules) * Searching for 50-udev-default.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/50-udev-default.rules) * Searching for 60-cdrom_id.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-cdrom_id.rules) * Searching for 60-persistent-alsa.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-persistent-alsa.rules) * Searching for 60-persistent-input.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-persistent-input.rules) * Searching for 60-persistent-serial.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-persistent-serial.rules) * Searching for 60-persistent-storage.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-persistent-storage.rules) * Searching for 60-persistent-storage-tape.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-persistent-storage-tape.rules) * Searching for 60-persistent-v4l.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/60-persistent-v4l.rules) * Searching for 70-libgphoto2.rules ... media-libs/libgphoto2-2.4.12 (/lib/udev/rules.d/70-libgphoto2.rules) * Searching for 70-udev-acl.rules ... sys-auth/consolekit-0.4.5_p20120320 (/lib/udev/rules.d/70-udev-acl.rules) * Searching for 75-cd-aliases-generator.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/75-cd-aliases-generator.rules) * Searching for 75-persistent-net-generator.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/75-persistent-net-generator.rules) * Searching for 75-probe_mtd.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/75-probe_mtd.rules) * Searching for 77-nm-olpc-mesh.rules ... net-misc/networkmanager-0.8.4.0-r2 (/lib/udev/rules.d/77-nm-olpc-mesh.rules) * Searching for 80-drivers.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/80-drivers.rules) * Searching for 80-udisks.rules ... sys-fs/udisks-1.0.4-r1 (/lib/udev/rules.d/80-udisks.rules) * Searching for 90-alsa-restore.rules ... media-sound/alsa-utils-1.0.25-r1 (/lib/udev/rules.d/90-alsa-restore.rules) * Searching for 90-network.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/90-network.rules) * Searching for 95-dm-notify.rules ... sys-fs/lvm2-2.02.88 (/lib/udev/rules.d/95-dm-notify.rules) * Searching for 95-udev-late.rules ... sys-fs/udev-171-r6 (/lib/udev/rules.d/95-udev-late.rules) * Searching for 95-upower-battery-recall-dell.rules ... sys-power/upower-0.9.16 (/lib/udev/rules.d/95-upower-battery-recall-dell.rules) * Searching for
Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card
On Thu, May 24, 2012 at 9:18 AM, Salvatore Borgia salvo2...@gmail.comwrote: this http://en.gentoo-wiki.com/wiki/X.Org/nVidia_Optimus is the old way to do the trick, instead this http://bumblebee-project.org/ is an interesting recent project but I haven't tried it yet. Thanks Salvatore, and thanks everyone. Finally I got it solved by follow Salvatore's suggestion. I am using the bumblebee project. there are still some other minor problems solved before success running bumblebee. The vgl init script doesn't work on xdm. the xauth section should have a update. the start function of /etc/init.d/vgl was updated. paste here for anyone may need it. start() { ebegin Starting VirtualGL truncate --size=0 /etc/VirtualGL/vgl_xauth_key # Check if XAUTHORITY was set successfully, if not wait a bit and let X to start [ -z $XAUTHORITY ] sleep 3 set_xauth [ -e $XAUTHORITY ] || sleep 3 for i in `xauth -f $XAUTHORITY list | awk '{print $3}'`; do xauth -f /etc/VirtualGL/vgl_xauth_key add $DISPLAY . $i \ chmod 644 /etc/VirtualGL/vgl_xauth_key done eend $? } and i915(and its modsetting ) is required for my intel onboard card, but we have to disable all framebuffer driver options before going that. else the screen will get blank during boot stage. -- Dreaming my dream!
Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card
Thanks for your information. The problem has been solved. It is caused by the nvidia Optimus feature. 在 2012-5-24 下午12:46,Seong-ho Cho darkcircle.0...@gmail.com写道: first of all sorry for my poor english :-$ you may check your hardware PCI ID by lspci -ns 01:00.0. make sure that like below manual (Link. you can find easily nvidia download site) whether your hardware is supported or not. http://us.download.nvidia.com/XFree86/Linux-x86_64/295.53/README/supportedchips.html if there is no same pci id, your hardware is not supported yet. I've met some same problem due to purchase gtx 560 SE. so I changed to gtx 560 Ti and same problem is resolved. 2012/5/24 du yang duyang@gmail.com: Thanks the update, but still get the same problem. 在 2012-5-24 上午9:45,Nikos Chantziaras rea...@gmail.com写道: On 24/05/12 03:51, du yang wrote: Section Device Identifier NVidia GeForce GTX 560 Ti Oops, I forgot to change the ID there. Try setting it to NVidia GT 610M, like the Screen section.
[gentoo-user] Re: How to access newsgroup?
On 25/05/12 06:30, wenpin cui wrote: hi, all, I want to read some newsgroup so emerged net-nntp/slrn. Then I uncompressed /usr/share/doc/slrn-0.9.9_p1/slrn.rc.bz2 and modify username/hostname/realname, then saved as $HOME/.slrnrc. After that, I run wenpincui@Gentoo ~ $ slrn --create -h news.newsgroup.com.hk slrn 0.9.9p1 Shouldn't that be news.newsgroups.com.hk? (With an s.)
Re: [gentoo-user] Re: How to access newsgroup?
On Fri, May 25, 2012 at 06:39:07AM +0300, Nikos Chantziaras wrote: On 25/05/12 06:30, wenpin cui wrote: hi, all, I want to read some newsgroup so emerged net-nntp/slrn. Then I uncompressed /usr/share/doc/slrn-0.9.9_p1/slrn.rc.bz2 and modify username/hostname/realname, then saved as $HOME/.slrnrc. After that, I run wenpincui@Gentoo ~ $ slrn --create -h news.newsgroup.com.hk slrn 0.9.9p1 Shouldn't that be news.newsgroups.com.hk? (With an s.) Still no luck :( wenpincui@Gentoo ~ $ slrn --create -h news.newsgroups.com.hk slrn 0.9.9p1 Loading /usr/share/slrn/slang/slrn.sl Reading startup file /home/wenpincui/.slrnrc.***Warning: Unable to find a unique fully-qualified host name. slrn will not generate any Message-IDs. Please note that the hostname setting does not affect this; see the slrn reference manual for details. Using newsrc file /home/wenpincui/.jnewsrc for server news.newsgroups.com.hk. Connecting to host news.newsgroups.com.hk ... Failed to resolve news.newsgroups.com.hk Run-Time Error slrn fatal error: Failed to initialize server. -- Best regards Wenpin Cui (崔文频) Hangzhou, Zhejiang, PRC Tel: +86-0571-86726288 ext:8095
Re: [gentoo-user] media-tv/mythtv-0.24.1_p20110524 fails to emerge
On Thu, 24 May 2012 10:53:04 -0500 Michael Sullivan msulli1...@gmail.com wrote: I seriously screwed up my system this week, and broke myth. Now I'm trying to emerge media-tv/mythtv-0.24.1_p20110524 since my old myth version is no longer supported (the ebuilds aren't even still around). The emerge goes along fine until it gets to this part: mythrender_opengl.cpp: In function 'int __glCheck__(const QString, const char*, int)': mythrender_opengl.cpp:38: error: 'gluErrorString' was not declared in this scope See bug #407845 and the workaround. I believe mythtv-0.25 has a fix (the fix was committed to git 7 months ago) but gentoo hasn't packaged that yet, see bug #411547. Kerwin. signature.asc Description: PGP signature
[gentoo-user] Re: How to access newsgroup?
On 25/05/12 07:46, Adam Carter wrote: Using newsrc file /home/wenpincui/.jnewsrc for server news.newsgroups.com.hk. Connecting to host news.newsgroups.com.hk ... Failed to resolve news.newsgroups.com.hk So the host is not called news.newsgroups.com.hk. $ host news.newsgroups.com.hk Host news.newsgroups.com.hk not found: 3(NXDOMAIN) $ host -t NS newsgroups.com.hk newsgroups.com.hk name server ns11.dnsmadeeasy.com. newsgroups.com.hk name server ns10.dnsmadeeasy.com. newsgroups.com.hk name server ns13.dnsmadeeasy.com. newsgroups.com.hk name server ns14.dnsmadeeasy.com. newsgroups.com.hk name server ns15.dnsmadeeasy.com. newsgroups.com.hk name server ns12.dnsmadeeasy.com. So newsgroups.com.hk is a real domain, but the hostname in that domain is not news. You'll need to double check what the hostname is. Hmm, his original hostname works though: $ host news.newsgroup.com.hk news.newsgroup.com.hk has address 59.188.5.218
Re: [gentoo-user] Re: How to access newsgroup?
On Fri, May 25, 2012 at 08:14:45AM +0300, Nikos Chantziaras wrote: On 25/05/12 07:46, Adam Carter wrote: Using newsrc file /home/wenpincui/.jnewsrc for server news.newsgroups.com.hk. Connecting to host news.newsgroups.com.hk ... Failed to resolve news.newsgroups.com.hk So the host is not called news.newsgroups.com.hk. $ host news.newsgroups.com.hk Host news.newsgroups.com.hk not found: 3(NXDOMAIN) $ host -t NS newsgroups.com.hk newsgroups.com.hk name server ns11.dnsmadeeasy.com. newsgroups.com.hk name server ns10.dnsmadeeasy.com. newsgroups.com.hk name server ns13.dnsmadeeasy.com. newsgroups.com.hk name server ns14.dnsmadeeasy.com. newsgroups.com.hk name server ns15.dnsmadeeasy.com. newsgroups.com.hk name server ns12.dnsmadeeasy.com. So newsgroups.com.hk is a real domain, but the hostname in that domain is not news. You'll need to double check what the hostname is. Hmm, his original hostname works though: $ host news.newsgroup.com.hk news.newsgroup.com.hk has address 59.188.5.218 hey, guys, actually it's not newsgroup(s).com.hk issue. other usenet server like news.cn99.com can't be accessed, neither. I've checked with IT administator, port 119 was blocked. So ... TIA. -- Best regards Wenpin Cui (崔文频) Hangzhou, Zhejiang, PRC Tel: +86-0571-86726288 ext:8095