[gentoo-user] starting wlan0 only when wireless is turned on
Hello, I would like to have net.wlan0 started only when the wireless card is switched on. I am using ifplugd for starting net.eth0 when an ethernet cable is plugged in. Is there a similar utility for net.wlan0? Ideally so that it is configurable in conjunction with ifplugd. Thanks, -- Valmor
Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
On 12/12/2010 05:59 AM, Mick wrote: [snip] Guys I'm glad that my pointers helped you get it going - but I have to say that soon with xorg-server-1.9 becoming stable HAL and its xml configuration files will be a thing of the past. Still, you have the satisfaction of cracking this one! :-) Looking forward to xorg-server-1.9. Thanks, -- Valmor
Re: [gentoo-user] starting wlan0 only when wireless is turned on
On 12/12/2010 03:54 PM, Alan McKinnon wrote: Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de Almeida did opine thusly: Hello, I would like to have net.wlan0 started only when the wireless card is switched on. I am using ifplugd for starting net.eth0 when an ethernet cable is plugged in. Is there a similar utility for net.wlan0? Ideally so that it is configurable in conjunction with ifplugd. Chuck all that net.* bullshit out the window and use wicd instead. Okay I am new to this wireless stuff. If I do - emerge -vp wicd I get These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] net-wireless/wireless-tools-29 USE=nls -multicall 0 kB [ebuild N] dev-python/dbus-python-0.83.0-r1 USE=-doc -examples -test 483 kB [ebuild N] dev-python/urwid-0.9.9.1 USE=-examples 233 kB [ebuild N] x11-misc/ktsuss-1.4 273 kB [ebuild N] net-misc/wicd-1.7.0 USE=X gtk ncurses nls pm-utils (-ioctl) -libnotify 402 kB Total: 5 packages (5 new), Size of downloads: 1,390 kB which will install wireless-tools. This does not mean I need to use it to configure my wireless net right? I am asking this because I am using wpa_supplicant and in the /etc/conf.d/net config file, I can only use one or the other. Since wicd deals with both wired and wireless, should I also get rid of ifplugd? Thanks, -- Valmor
Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
On 12/12/2010 07:17 PM, Peter Humphrey wrote: On Sunday 12 December 2010 17:10:10 Valmor de Almeida wrote: Looking forward to xorg-server-1.9. So why not install it? It's been running here for three months without a single problem. Just add x11-base/xorg-server to /etc/portage/package.keywords. Job done. Soon after travel; don't need surprises on the road. -- Valmor
[SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on
On 12/12/2010 04:46 PM, Alan McKinnon wrote: Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de Almeida did opine thusly: On 12/12/2010 03:54 PM, Alan McKinnon wrote: Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de Almeida did opine thusly: Hello, I would like to have net.wlan0 started only when the wireless card is switched on. I am using ifplugd for starting net.eth0 when an ethernet cable is plugged in. Is there a similar utility for net.wlan0? Ideally so that it is configurable in conjunction with ifplugd. Chuck all that net.* bullshit out the window and use wicd instead. Okay I am new to this wireless stuff. If I do - emerge -vp wicd I get These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] net-wireless/wireless-tools-29 USE=nls -multicall 0 kB [ebuild N] dev-python/dbus-python-0.83.0-r1 USE=-doc -examples -test 483 kB [ebuild N] dev-python/urwid-0.9.9.1 USE=-examples 233 kB [ebuild N] x11-misc/ktsuss-1.4 273 kB [ebuild N] net-misc/wicd-1.7.0 USE=X gtk ncurses nls pm-utils (-ioctl) -libnotify 402 kB Total: 5 packages (5 new), Size of downloads: 1,390 kB which will install wireless-tools. This does not mean I need to use it to configure my wireless net right? You are going to take the entirety of net.* except net.lo as installed by baselayout/openrc/whatever and get rid of it. That stuff never worked right for anything except servers with fixed IPs I am asking this because I am using wpa_supplicant and in the /etc/conf.d/net config file, I can only use one or the other. Discard /etc/conf.d/net That's part of the thing you are getting rid of Since wicd deals with both wired and wireless, should I also get rid of ifplugd? Yes. Just following the wicd docs and it will all work just fine Thank you very much. I don't know how this magic is happening since I had posted another message in this list on problems with wpa_supplicant and frequent dropouts during connection. I am now sending this e-mail with a wireless connection. For the record, what I had to do was: emerge --unmerge ifplugd wpa_supplicant rm /etc/wpa_supplicant/*.conf rm /etc/conf.d/net touch /etc/conf.d/net rm /etc/init.d/net.eth0 rm /etc/init.d/net.wlan0 emerge -av wicd emerge wicd /etc/init.d/wicd start rc-update add wicd boot reboot and check wired connection. disconnect, turn on wireless wicd-client -n Thanks, -- Valmor
[SOLVED] Re: [gentoo-user] wpa_supplicant connect-disconnect loop
On 12/12/2010 05:55 AM, Mick wrote: On Sunday 12 December 2010 02:07:02 Valmor de Almeida wrote: On 12/11/2010 08:35 PM, Valmor de Almeida wrote: To add to the above from the message logs, wlan0 deauthenticates from the AP by local choice (reason=3) If you are getting these disconnections even with WPA/2 encryption disabled then this is probably related to a bug on the driver, which falls over itself when running with wpa_supplicant. There are reports in google about it and a suggested fix is to disable 11n and 5.0GHz: http://www.jpdw.org/blog/intel-wireless-broken-ubuntu-904 Run modinfo for your driver and find the parameters that control other than 802.11g modes and disable them by creating and adding them to a file in /etc/modprobe.d/ for your driver if it's not already there. Alternatively, see if you can disable any modes other than 802.11g at your AP and test to find out if this resolves the problem for now. HTH. Solved and saved by wicd! I am now sending this e-mail with my wireless connection. Don't know how this magic happens but all is fine after the net stuff from baselayout was thrown out the window and wicd installed as suggested by Alan on another e-mail thread. I even get the wireless LED working. My /var/log/messages is clean, etc. Great. Thanks. Since wpa_supplicant is used by wicd the problem must be either the way /etc/conf.d/net is handling the network setup or my ignorance on how to configure wpa_supplicant by hand. The iwlagn driver is good. -- Valmor
[gentoo-user] wpa_supplicant connect-disconnect loop
Hello, The output of wpa_supplicant -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -d dhcpcd on my laptop shows continuous output to screen which appears to be looping on association and disassociation to my wireless router (I am not posting this long list here). The corresponding effect is this - ping yahoo.com PING yahoo.com (72.30.2.43) 56(84) bytes of data. 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=1 ttl=47 time=88.2 ms 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=2 ttl=47 time=88.6 ms 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=3 ttl=47 time=91.1 ms ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable [snip] ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=21 ttl=47 time=94.8 ms 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=22 ttl=47 time=90.7 ms 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=23 ttl=47 time=87.6 ms 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=24 ttl=47 time=89.5 ms ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ^C --- yahoo.com ping statistics --- 32 packets transmitted, 7 received, 78% packet loss, time 31009ms rtt min/avg/max/mdev = 87.615/90.125/94.813/2.283 ms I have never setup wireless networking and have been reading the web and other information on how to use wpa_supplicant to connect to my home router. I would appreciate help on this. I emerged wpa_supplicant with the following USE flags: - equery uses wpa_supplicant [ Searching for packages matching wpa_supplicant... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [: Right column (I) - USE flags packages was installed with ] [ Found these USE variables for net-wireless/wpa_supplicant-0.7.2-r3 ] U I - - dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - eap-sim: Add support for EAP-SIM authentication algorithm - - fasteap: Add support for FAST-EAP authentication algorithm - - gnutls : Adds support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support) - - kernel_FreeBSD : KERNEL setting for system using the FreeBSD kernel + + kernel_linux : KERNEL setting for system using the Linux kernel - - madwifi: Add support for madwifi (Atheros chipset) - - ps3: Add support for ps3 hypervisor driven gelic wifi - - qt4: Adds support for the Qt GUI/Application Toolkit version 4.x + + readline : Enables support for libreadline, a GNU line-editing library that almost everyone wants + + ssl: Adds support for Secure Socket Layer connections - - wps: Add support for Wi-Fi Protected Setup There were a number of steps to get to where I am now and I would be glad to post additional information if required. Thanks a lot. -- Valmor
Re: [gentoo-user] wpa_supplicant connect-disconnect loop
On 12/11/2010 06:28 PM, Mick wrote: On Saturday 11 December 2010 20:26:54 Valmor de Almeida wrote: Hello, [snip] There were a number of steps to get to where I am now and I would be glad to post additional information if required. You could try changing channels (if there is a clash with other local APs) but it's most likely that the dropouts you notice are due to the wireless driver. Waiting for developers to catch up or using later drivers/firmware usually fixes this problem. Here is some info. - dmesg | grep -i iwl [ 12.442620] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d [ 12.442622] iwlagn: Copyright(c) 2003-2010 Intel Corporation [ 12.442691] iwlagn :02:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16 [ 12.442699] iwlagn :02:00.0: setting latency timer to 64 [ 12.442743] iwlagn :02:00.0: Detected Intel Wireless WiFi Link 6000 Series 3x3 AGN REV=0x74 [ 12.452866] iwlagn :02:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels [ 12.452988] iwlagn :02:00.0: irq 31 for MSI/MSI-X [ 12.453271] iwlagn :02:00.0: firmware: requesting iwlwifi-6000-4.ucode [ 12.486540] iwlagn :02:00.0: loaded firmware version 9.221.4.1 [ 12.488339] phy0: Selected rate control algorithm 'iwl-agn-rs' [ 807.914432] iwlagn :02:00.0: RF_KILL bit toggled to enable radio. I could use the iwl6050 firmware. I am currently using iwl6000 (both are masked for amd64) * net-wireless/iwl6000-ucode Latest version available: 9.221.4.1 Latest version installed: 9.221.4.1 Size of files: 211 kB Homepage: http://intellinuxwireless.org/?p=iwlwifi Description: Intel (R) Wireless WiFi Advanced N 6000 ucode License: ipw3945 * net-wireless/iwl6050-ucode [ Masked ] Latest version available: 9.201.4.1 Latest version installed: [ Not Installed ] Size of files: 212 kB Homepage: http://intellinuxwireless.org/?p=iwlwifi Description: Intel (R) Wireless WiFi Link 6250-AGN ucode License: ipw3945 I am using the 2.6.34-gentoo-r12 kernel with the iwlagn driver built with the following kernel config M Intel Wireless Wifi [*] Enable full debugging output in iwlagn and iwl3945 drivers [ ] iwlwifi device access tracing M Intel Wireless WiFi Next Gen AGN (iwlagn) [ ] Intel Wireless WiFi 4965AGN [*] Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000, This is based on searching the web. Also in the wpa_supplicant.conf I use # Let wpa_supplicant take care of scanning and AP selection ap_scan=1 This is all new to me. Do I still need to configure the iwl6000-ucode microcode? Thanks, -- Valmor
Re: [gentoo-user] wpa_supplicant connect-disconnect loop
On 12/11/2010 08:35 PM, Valmor de Almeida wrote: On 12/11/2010 06:28 PM, Mick wrote: On Saturday 11 December 2010 20:26:54 Valmor de Almeida wrote: Hello, [snip] There were a number of steps to get to where I am now and I would be glad to post additional information if required. You could try changing channels (if there is a clash with other local APs) but it's most likely that the dropouts you notice are due to the wireless driver. Waiting for developers to catch up or using later drivers/firmware usually fixes this problem. Here is some info. - dmesg | grep -i iwl [ 12.442620] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d [ 12.442622] iwlagn: Copyright(c) 2003-2010 Intel Corporation [ 12.442691] iwlagn :02:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16 [ 12.442699] iwlagn :02:00.0: setting latency timer to 64 [ 12.442743] iwlagn :02:00.0: Detected Intel Wireless WiFi Link 6000 Series 3x3 AGN REV=0x74 [ 12.452866] iwlagn :02:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels [ 12.452988] iwlagn :02:00.0: irq 31 for MSI/MSI-X [ 12.453271] iwlagn :02:00.0: firmware: requesting iwlwifi-6000-4.ucode [ 12.486540] iwlagn :02:00.0: loaded firmware version 9.221.4.1 [ 12.488339] phy0: Selected rate control algorithm 'iwl-agn-rs' [ 807.914432] iwlagn :02:00.0: RF_KILL bit toggled to enable radio. I could use the iwl6050 firmware. I am currently using iwl6000 (both are masked for amd64) * net-wireless/iwl6000-ucode Latest version available: 9.221.4.1 Latest version installed: 9.221.4.1 Size of files: 211 kB Homepage: http://intellinuxwireless.org/?p=iwlwifi Description: Intel (R) Wireless WiFi Advanced N 6000 ucode License: ipw3945 * net-wireless/iwl6050-ucode [ Masked ] Latest version available: 9.201.4.1 Latest version installed: [ Not Installed ] Size of files: 212 kB Homepage: http://intellinuxwireless.org/?p=iwlwifi Description: Intel (R) Wireless WiFi Link 6250-AGN ucode License: ipw3945 I am using the 2.6.34-gentoo-r12 kernel with the iwlagn driver built with the following kernel config M Intel Wireless Wifi [*] Enable full debugging output in iwlagn and iwl3945 drivers [ ] iwlwifi device access tracing M Intel Wireless WiFi Next Gen AGN (iwlagn) [ ] Intel Wireless WiFi 4965AGN [*] Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000, This is based on searching the web. Also in the wpa_supplicant.conf I use # Let wpa_supplicant take care of scanning and AP selection ap_scan=1 This is all new to me. Do I still need to configure the iwl6000-ucode microcode? Thanks, -- Valmor To add to the above from the message logs, wlan0 deauthenticates from the AP by local choice (reason=3) Dec 11 15:37:01 lpt1 wpa_cli: interface wlan0 CONNECTED Dec 11 15:37:01 lpt1 rc-scripts: Configuration not set for wlan0 - assuming DHCP Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: dhcpcd 4.0.15 starting Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: broadcasting for a lease Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: offered 192.168.10.9 from 192.168.10.1 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: acknowledged 192.168.10.9 from 192.168.10.1 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: checking 192.168.10.9 is available on attached networks Dec 11 15:37:06 lpt1 kernel: [13221.781187] wlan0: deauthenticating from 00:0c:e5:52:09:13 by local choice (reason=3) Dec 11 15:37:06 lpt1 dhcpcd[11253]: wlan0: carrier lost Dec 11 15:37:41 lpt1 dhcpcd[11253]: wlan0: timed out Dec 11 15:37:41 lpt1 wpa_cli: executing '/etc/init.d/net.wlan0 --quiet start' failed Dec 11 15:37:41 lpt1 wpa_cli: interface wlan0 DISCONNECTED
Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
On 12/11/2010 08:52 PM, Grant Edwards wrote: On 2010-11-19, Mick michaelkintz...@gmail.com wrote: [snip] and paste this in it: ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device match key=info.capabilities contains=input.touchpad merge key=input.x11_driver type=stringsynaptics/merge [ synaptic driver options] /match /device /deviceinfo Then see the examples in the file and man synaptics for finely tuning your touchpad. However ... I would at this stage suggest again that you have a look at xorg-server-1.9.x instead of trying to get HAL working. Brilliant. After tweaking a few of the pressure settings, my touchpad works great! The hard part is remembering to restart hald as well as the X server whenever you make any changes... Thanks for all the posts. I finally fixed the same problem I've had with my Thinkpad X201. In my case I had to do 1) Edit /etc/make.conf INPUT_DEVICES=evdev synaptics 2) emerge xorg-drivers (also emerged xorg-server and xorg-x11 to be on the safe side) 3) cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi /etc/hal/fdi/policy/. 4) edit 11-x11-synaptics.fdi 5) /etc/init.d/hald restart 6) restart xorg-server -- Valmor
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/28/2010 05:50 AM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? I thought I would get things fixed with revdep-rebuild but you are correct the ld.so.conf file is missing lib32. Will rebuild the system now. Thanks, -- Valmor
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/28/2010 11:51 AM, Valmor de Almeida wrote: On 11/28/2010 05:50 AM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? I thought I would get things fixed with revdep-rebuild but you are correct the ld.so.conf file is missing lib32. Will rebuild the system now. Thanks, -- Valmor I re-emerged the system (emerge -e system). The ld.so.conf got updated: - cat /etc/ld.so.conf # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib include ld.so.conf.d/*.conf //usr/lib64/opengl/xorg-x11/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/32 //usr/lib64/xulrunner-1.9.2 /usr/lib/qt4 /usr/lib64/qt4 /usr/lib64/fltk-1.1 /usr/lib64/octave-3.2.4 However no luck emerging wine. Will emerge the world next (this is going to take a while...) -- Valmor
[SOLVED] Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/28/2010 03:03 PM, Valmor de Almeida wrote: On 11/28/2010 11:51 AM, Valmor de Almeida wrote: On 11/28/2010 05:50 AM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? I thought I would get things fixed with revdep-rebuild but you are correct the ld.so.conf file is missing lib32. Will rebuild the system now. Thanks, -- Valmor I re-emerged the system (emerge -e system). The ld.so.conf got updated: [snip] However no luck emerging wine. Will emerge the world next (this is going to take a while...) -- Valmor The emerge -e world fixed it. Was able to install wine and fire it up. I guess this means the change from no-multilib to multilib works. Phew! changing from no-multilib to multilib is compilation-intense. I wish the gentoo install instructions for amd64 had a red flag on this issue. Thanks, -- Valmor
[gentoo-user] wine configure: error: No OpenGL library found on this system.
Hello, I am trying to install wine on my system which I recently changed from no-multilib to multilib; so this may be causing this problem. The emerge issue is here checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... not found checking for -lGL... not found checking for -lGLU... not found configure: error: No OpenGL library found on this system. OpenGL and Direct3D won't be supported. This is an error since --with-opengl was requested. However I do have these libraries installed: - locate libglut /usr/lib32/libglut.so /usr/lib32/libglut.so.3 /usr/lib32/libglut.so.3.8.0 /usr/lib64/libglut.a /usr/lib64/libglut.la /usr/lib64/libglut.so /usr/lib64/libglut.so.3 /usr/lib64/libglut.so.3.9.0 The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). The USE flags for emerging wine are: app-emulation/wine-1.2 USE=X alsa cups fontconfig gecko jpeg ncurses opengl oss perl png ssl threads truetype (-capi) -custom-cflags -dbus (-esd) -gnutls (-gphoto2) -gsm (-hal) -jack -lcms -ldap -mp3 -nas -openal -pulseaudio -samba (-scanner) -test -win64 -xcomposite -xinerama -xml Thanks for inputs. -- Valmor
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/27/2010 01:43 PM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am trying to install wine on my system which I recently changed from no-multilib to multilib; so this may be causing this problem. The emerge issue is here checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... not found checking for -lGL... not found checking for -lGLU... not found configure: error: No OpenGL library found on this system. OpenGL and Direct3D won't be supported. This is an error since --with-opengl was requested. However I do have these libraries installed: - locate libglut /usr/lib32/libglut.so /usr/lib32/libglut.so.3 /usr/lib32/libglut.so.3.8.0 /usr/lib64/libglut.a /usr/lib64/libglut.la /usr/lib64/libglut.so /usr/lib64/libglut.so.3 /usr/lib64/libglut.so.3.9.0 The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). The USE flags for emerging wine are: app-emulation/wine-1.2 USE=X alsa cups fontconfig gecko jpeg ncurses opengl oss perl png ssl threads truetype (-capi) -custom-cflags -dbus (-esd) -gnutls (-gphoto2) -gsm (-hal) -jack -lcms -ldap -mp3 -nas -openal -pulseaudio -samba (-scanner) -test -win64 -xcomposite -xinerama -xml Thanks for inputs. How are your /usr/lib{32,64}/libGL.so symlinks? Use eselect opengl list and set to check that they exist and are set into whatever you really use. I've checked this. Here is some info. Seems correct to me. Thanks, -- Valmor - eselect opengl list Available OpenGL implementations: [1] xorg-x11 * - ll /usr/lib32/libglut* lrwxrwxrwx 1 root root 16 Nov 27 05:07 /usr/lib32/libglut.so - libglut.so.3.8.0* lrwxrwxrwx 1 root root 16 Nov 27 05:07 /usr/lib32/libglut.so.3 - libglut.so.3.8.0* -rwxr-xr-x 1 root root 208860 Sep 13 18:00 /usr/lib32/libglut.so.3.8.0* - equery belongs /usr/lib32/libglut.so.3.8.0 [ Searching for file(s) /usr/lib32/libglut.so.3.8.0 in *... ] app-emulation/emul-linux-x86-opengl-20100915 (/usr/lib32/libglut.so.3.8.0) - ll /usr/lib64/libglut* -rw-r--r-- 1 root root 509838 Oct 21 10:50 /usr/lib64/libglut.a -rw-r--r-- 1 root root 1082 Oct 21 10:50 /usr/lib64/libglut.la lrwxrwxrwx 1 root root 16 Oct 21 10:50 /usr/lib64/libglut.so - libglut.so.3.9.0* lrwxrwxrwx 1 root root 16 Oct 21 10:50 /usr/lib64/libglut.so.3 - libglut.so.3.9.0* -rwxr-xr-x 1 root root 296336 Oct 21 10:50 /usr/lib64/libglut.so.3.9.0* - equery belongs /usr/lib64/libglut.so.3.9.0 [ Searching for file(s) /usr/lib64/libglut.so.3.9.0 in *... ] media-libs/freeglut-2.6.0 (/usr/lib64/libglut.so.3.9.0)
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/27/2010 03:03 PM, Valmor de Almeida wrote: On 11/27/2010 01:43 PM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am trying to install wine on my system which I recently changed from no-multilib to multilib; so this may be causing this problem. The emerge issue is here checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... not found checking for -lGL... not found checking for -lGLU... not found configure: error: No OpenGL library found on this system. OpenGL and Direct3D won't be supported. This is an error since --with-opengl was requested. However I do have these libraries installed: - locate libglut /usr/lib32/libglut.so /usr/lib32/libglut.so.3 /usr/lib32/libglut.so.3.8.0 /usr/lib64/libglut.a /usr/lib64/libglut.la /usr/lib64/libglut.so /usr/lib64/libglut.so.3 /usr/lib64/libglut.so.3.9.0 The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). The USE flags for emerging wine are: app-emulation/wine-1.2 USE=X alsa cups fontconfig gecko jpeg ncurses opengl oss perl png ssl threads truetype (-capi) -custom-cflags -dbus (-esd) -gnutls (-gphoto2) -gsm (-hal) -jack -lcms -ldap -mp3 -nas -openal -pulseaudio -samba (-scanner) -test -win64 -xcomposite -xinerama -xml Thanks for inputs. How are your /usr/lib{32,64}/libGL.so symlinks? Use eselect opengl list and set to check that they exist and are set into whatever you really use. I've checked this. Here is some info. Seems correct to me. Thanks, -- Valmor - eselect opengl list Available OpenGL implementations: [1] xorg-x11 * - ll /usr/lib32/libglut* lrwxrwxrwx 1 root root 16 Nov 27 05:07 /usr/lib32/libglut.so - libglut.so.3.8.0* lrwxrwxrwx 1 root root 16 Nov 27 05:07 /usr/lib32/libglut.so.3 - libglut.so.3.8.0* -rwxr-xr-x 1 root root 208860 Sep 13 18:00 /usr/lib32/libglut.so.3.8.0* - equery belongs /usr/lib32/libglut.so.3.8.0 [ Searching for file(s) /usr/lib32/libglut.so.3.8.0 in *... ] app-emulation/emul-linux-x86-opengl-20100915 (/usr/lib32/libglut.so.3.8.0) - ll /usr/lib64/libglut* -rw-r--r-- 1 root root 509838 Oct 21 10:50 /usr/lib64/libglut.a -rw-r--r-- 1 root root 1082 Oct 21 10:50 /usr/lib64/libglut.la lrwxrwxrwx 1 root root 16 Oct 21 10:50 /usr/lib64/libglut.so - libglut.so.3.9.0* lrwxrwxrwx 1 root root 16 Oct 21 10:50 /usr/lib64/libglut.so.3 - libglut.so.3.9.0* -rwxr-xr-x 1 root root 296336 Oct 21 10:50 /usr/lib64/libglut.so.3.9.0* - equery belongs /usr/lib64/libglut.so.3.9.0 [ Searching for file(s) /usr/lib64/libglut.so.3.9.0 in *... ] media-libs/freeglut-2.6.0 (/usr/lib64/libglut.so.3.9.0) Just to add to this: - find /usr/lib/ -name libGL\* | xargs ls -l lrwxrwxrwx 1 root root 32 Nov 27 15:09 /usr/lib/libGL.so - opengl/xorg-x11/lib/libGL.so.1.2 -rw-r--r-- 1 root root 570028 Oct 21 10:47 /usr/lib/libGLEW.a lrwxrwxrwx 1 root root 16 Oct 21 10:47 /usr/lib/libGLEW.so - libGLEW.so.1.5.6 lrwxrwxrwx 1 root root 16 Oct 21 10:47 /usr/lib/libGLEW.so.1.5 - libGLEW.so.1.5.6 -rwxr-xr-x 1 root root 407448 Oct 21 10:47 /usr/lib/libGLEW.so.1.5.6 lrwxrwxrwx 1 root root 11 Nov 27 04:48 /usr/lib/libGLU.so - libGLU.so.1 lrwxrwxrwx 1 root root 20 Nov 27 04:48 /usr/lib/libGLU.so.1 - libGLU.so.1.3.070802 -rwxr-xr-x 1 root root 461272 Nov 27 04:48 /usr/lib/libGLU.so.1.3.070802 lrwxrwxrwx 1 root root 10 Nov 27 04:48 /usr/lib/opengl/xorg-x11/lib/libGL.so - libGL.so.1 lrwxrwxrwx 1 root root 12 Nov 27 04:48 /usr/lib/opengl/xorg-x11/lib/libGL.so.1 - libGL.so.1.2 -rwxr-xr-x 1 root root 477920 Nov 27 04:48 /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 Also on my (now multilib) system: lrwxrwxrwx 1 root root 5 Nov 27 02:12 lib - lib64/ drwxr-xr-x 3 root root 3696 Nov 27 02:12 lib32/ drwxr-xr-x 10 root root 4304 Nov 27 02:12 lib64/ where in the past with no-multilib I had the lib32/ but it was pretty much empty. I've done some re-emerge of packages but still can't get wine to install. Thanks, -- Valmor
Re: [gentoo-user] Re: wine configure: error: No OpenGL library found on this system.
On 11/27/2010 02:35 PM, walt wrote: On 11/27/2010 11:00 AM, Valmor de Almeida wrote: Hello, I am trying to install wine on my system which I recently changed from no-multilib to multilib; so this may be causing this problem. The emerge issue is here checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... not found checking for -lGL... not found checking for -lGLU... not found I just got a shock when searching my ~amd64 machine for libGL.so: the 32-bit version was missing from my machine :( That file is supposed to be in /usr/lib32/opengl/x11-org/lib/ but it was gone. I re-emerged emul-linux-x86-opengl and it's back again. Maybe you have the same problem? Do you use the proprietary nividia video drivers? eselect opengl does mess with symlinks to files like libGL. I do have the lib32/ files and app-emulation/emul-linux-x86-opengl has been re-emerged a few time now. I am not using any nvidia drivers; my graphics is Intel onboard. Thanks, -- Valmor
Re: [gentoo-user] Re: wine configure: error: No OpenGL library found on this system.
On 11/27/2010 03:55 PM, Valmor de Almeida wrote: On 11/27/2010 02:35 PM, walt wrote: On 11/27/2010 11:00 AM, Valmor de Almeida wrote: Hello, I am trying to install wine on my system which I recently changed from no-multilib to multilib; so this may be causing this problem. The emerge issue is here checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... not found checking for -lGL... not found checking for -lGLU... not found I just got a shock when searching my ~amd64 machine for libGL.so: the 32-bit version was missing from my machine :( That file is supposed to be in /usr/lib32/opengl/x11-org/lib/ but it was gone. I re-emerged emul-linux-x86-opengl and it's back again. Maybe you have the same problem? Do you use the proprietary nividia video drivers? eselect opengl does mess with symlinks to files like libGL. I do have the lib32/ files and app-emulation/emul-linux-x86-opengl has been re-emerged a few time now. I am not using any nvidia drivers; my graphics is Intel onboard. Thanks, -- Valmor One thing that may be the problem: [r...@lpt1 /usr/lib32] - ll libGLU.so* lrwxrwxrwx 1 root root 11 Nov 27 05:07 libGLU.so - libGLU.so.1* lrwxrwxrwx 1 root root 20 Nov 27 05:07 libGLU.so.1 - libGLU.so.1.3.070802* -rwxr-xr-x 1 root root 447992 Sep 13 18:28 libGLU.so.1.3.070802* Then - equery belongs libGLU.so.1.3.070802 [ Searching for file(s) libGLU.so.1.3.070802 in *... ] media-libs/mesa-7.8.2 (/usr/lib64/libGLU.so.1.3.070802) app-emulation/emul-linux-x86-opengl-20100915 (/usr/lib32/libGLU.so.1.3.070802) Two packages own the same file? Is this correct? Thanks, -- Valmor
Re: [gentoo-user] Impossible question... Swithcing from no multilib to multilib
On 07/22/2010 03:14 PM, Etaoin Shrdlu wrote: On Thu, 22 Jul 2010 11:56:50 +0200 Andrea Momesso momesso.and...@gmail.com wrote: That's impossible, isn't it? Swithcing profile and reemerging everithing isn't gonna work? Even from a chroot? Should I reinstall a new stage from scratch? Adobe stopped providing flash for linux 64 bit, and I some of the sites I need to visit for work need it. Mantaining a chroot is not worth the effort, so I really want to switch. The only time I had to do that I followed these instructions: http://www.gentoo-wiki.info/HOWTO_AMD_64#Howto_switch_to_multilib and it did work just fine (I'm writing from that computer now). WARNING WARNING WARNING Take backups, consider that it might not work for you, etc. Hello, I've been using the no-multilib profiloe for sometime now and it's been excellent. Until now that I have to use virtualbox and I am not able to unmask it since I am in a no-multilib profile. Has there been any change in a safe move from no-multilib to multilib? Is the wiki info above the only thing to rely on? Alternatively, what other options would I have? Thanks for inputs. -- Valmor
Re: [gentoo-user] Internal error: Maps lock 14270464 unlock 14274560
On 09/15/2010 07:40 AM, Alex Schuster wrote: Valmor de Almeida writes: Filesystem isclean * Remounting root filesystem read/write ... * Setting up the Logical Volume Manager ... Internal error: Maps lock 14270464 unlock 14274560 Internal error: Maps lock 14274560 unlock 14278656 Internal error: Maps lock 14278656 unlock 14282752 Internal error: Maps lock 14282752 unlock 14286848 Internal error: Maps lock 14286848 unlock 14290944 * Setting up dm-crypt mappings ... [snip] Filesystem is clean I don't find other messages in /var/log/messages. Also the system seems to run fine. Has anyone seen these messages? Are they a false positive? I had similar errors when doing LVM stuff (while creating shapshots). They did no harm, and I found some bug report about it saying it's not a big problem, happing in some recent kernel. I'm running 2.6.35-tuxonice-r1 now, and I no longer have them. But that might also have come from an update of lvm2. Wonko Thanks. Here is what I have at the moment emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 x86_64) = System uname: linux-2.6.34-gentoo-r6-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-with-gentoo-1.12.13 Timestamp of tree: Sun, 12 Sep 2010 15:45:01 + Maybe the messages will go away next time I sync and update gentoo. -- Valmor
[gentoo-user] Internal error: Maps lock 14270464 unlock 14274560
Hello, After a recent new gentoo install on a lenovo laptop I get during booting: Filesystem isclean * Remounting root filesystem read/write ... * Setting up the Logical Volume Manager ... Internal error: Maps lock 14270464 unlock 14274560 Internal error: Maps lock 14274560 unlock 14278656 Internal error: Maps lock 14278656 unlock 14282752 Internal error: Maps lock 14282752 unlock 14286848 Internal error: Maps lock 14286848 unlock 14290944 * Setting up dm-crypt mappings ... [snip] Filesystem is clean I don't find other messages in /var/log/messages. Also the system seems to run fine. Has anyone seen these messages? Are they a false positive? Thanks, -- Valmor
[gentoo-user] gentoo on laptop suggestion
Hello, I would appreciate suggestions on what ultraportable laptop to put gentoo on. I am looking for a desktop replacement, therefore a powerful yet very portable machine would be ideal. Thanks, -- Valmor
Re: [gentoo-user] gentoo on laptop suggestion
On Sun, Aug 15, 2010 at 11:05 PM, Thomas Yao t.yao...@gmail.com wrote: [snip] Thinkpad is perfect, I strongly recommend you buy Thinkpad X/T series to hack gentoo or any other Linux distros with it. And this website will prove me right: http://www.thinkwiki.org/ You gotta love it~ -- @ghosTM55 Mechanism, not policy Thanks for pointing this out. It seems the X series is what I need. Regards, -- Valmor
[gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table
Hello, After a recent sync and new kernel built, I get these messages from fdisk -l that did not use to get before. Searching the web, it appears that fdisk is listing my LVM partitions. Why is it doing now? It has never done it before. Thanks, -- Valmor fdisk -l Disk /dev/dm-0: 26.8 GB, 26843545600 bytes 255 heads, 63 sectors/track, 3263 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/dm-1 doesn't contain a valid partition table Disk /dev/dm-2: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/dm-2 doesn't contain a valid partition table Disk /dev/dm-3: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/dm-3 doesn't contain a valid partition table Disk /dev/dm-4: 53.7 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/dm-4 doesn't contain a valid partition table df /dev/mapper/vfda-usr 26213596 11144004 15069592 43% /usr /dev/mapper/vfda-var 10485436232620 10252816 3% /var /dev/mapper/vfda-opt 5242716311388 4931328 6% /opt /dev/mapper/vfda-tmp 2097084 32852 2064232 2% /tmp /dev/mapper/vfda-home
CLOSED Re: [gentoo-user] panic:: octave: magick/semaphore.c:525: [...] failed
On 07/29/2010 06:19 AM, pk wrote: On 2010-07-29 06:49, Valmor de Almeida wrote: Thanks for the feedback. I posted the same question on the octave users list but no answers. Maybe vacation time so most users are offline? I'm on vacation but still online... :-) If you know C you could check out the semaphore.c file to see what it looks like and how whatever function is used should be called... maybe it can give you some clue? Best regards Peter K For the record, the work around this problem was posted on the octave users list. It appears to me to be either initialization problem or race condition. The workaround that works for me is to read some file first fith imread, after that imwrite works fine. I.e.: junk1 = imread(some_file.png) im=ones(2); imwrite(im, myfile.png) Dmitri. -- Valmor
Re: [gentoo-user] timed out rsync error:
Dale wrote: Valmor de Almeida wrote: Mick wrote: On 26 July 2010 17:24, Valmor de Almeidaval.gen...@gmail.com wrote: I am still running into the same problem since a couple of days ago. I tried both SYNC=rsync://rsync.gentoo.org/gentoo-portage SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage Is anyone having issues with syncing the portage tree? - emerge --sync Starting rsync with rsync://88.198.83.250/gentoo-portage... Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... [snip ...] Alejandro Pino Oreamuno wrote: same problem here with 134.68.240.59 , 88.198.83.249 , 88.198.83.250 , 140.211.166.189 For a couple of weeks I was having problems with rsync://rsync.europe.gentoo.org/gentoo-portage and changed it to rsync://rsync.uk.gentoo.org/gentoo-portage - you may want to change it to the mirror which is nearest to you (and works). Either try mirrorselect -i -r -o /mnt/gentoo/etc/make.conf to automatically find a suitable rsync server, have a look here for your nearest rsync server and set it up manually: http://www.gentoo.org/main/en/mirrors-rsync.xml I tried many of those rsync servers in the gentoo web site. No luck. Maybe my system is broken. I even tried the uk rsync. Don't know where to go from here... Thanks, -- Valmor I just synced to this server. It worked fine. You may want to try it. If it doesn't work, then you know something is wrong on your end, if it does, then there is something weird going on. From my make.conf: SYNC=rsync://rsync21.us.gentoo.org/gentoo-portage By the way, they don't limit the number of syncs you can do each day either. Dale :-) :-) Thanks for the info. It just worked; weird. -- Valmor
Re: [gentoo-user] panic:: octave: magick/semaphore.c:525: [...] failed
pk wrote: [snip] Hi, I tested your code (and variations of it) and I get the same result as you. Googling seems to indicate that lots of other people are having similar problems with imwrite/imread function. The functions are not part of the octave package but is an add-on. However, from what I can see it may be a problem in the way octave make the graphicsmagick write-call (of course there may be a problem with graphicksmagick itself as well). Don't know enough to be of more help... Sorry! Best regards Peter K Thanks for the feedback. I posted the same question on the octave users list but no answers. Regards, -- Valmor
[gentoo-user] panic:: octave: magick/semaphore.c:525: [...] failed
Hello, The test code below for writing an image to a file crashes octave. Would anyone be able to help? I am using octave-3.2.4-r1 and graphicsmagick-1.3.12 Thanks, -- Valmor file test.m --- #! /usr/bin/octave -qf im = ones(2,2); im(2,1) = 0.5; im(1,2) = 0.5; imwrite(im,image.png); -- - ./test.m octave: magick/semaphore.c:525: LockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed. panic: Aborted -- stopping myself... attempting to save variables to `octave-core'... save to `octave-core' complete Aborted
Re: [gentoo-user] timed out rsync error:
I am still running into the same problem since a couple of days ago. I tried both SYNC=rsync://rsync.gentoo.org/gentoo-portage SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage Is anyone having issues with syncing the portage tree? Thanks, -- Valmor - emerge --sync Starting rsync with rsync://88.198.83.250/gentoo-portage... Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... Starting retry 1 of 3 with rsync://88.198.83.249/gentoo-portage Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... Starting retry 2 of 3 with rsync://134.68.240.59/gentoo-portage Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... Starting retry 3 of 3 with rsync://134.68.240.58/gentoo-portage Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Exceeded PORTAGE_RSYNC_RETRIES: 3 Alejandro Pino Oreamuno wrote: same problem here with 134.68.240.59 , 88.198.83.249 , 88.198.83.250 , 140.211.166.189 Alejandro
Re: [gentoo-user] timed out rsync error:
Albert Hopkins wrote: On Mon, 2010-07-26 at 11:24 -0500, Valmor de Almeida wrote: I am still running into the same problem since a couple of days ago. I tried both SYNC=rsync://rsync.gentoo.org/gentoo-portage SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage Is anyone having issues with syncing the portage tree? I had no problems syncing a few hours ago (I'm just using whatever the default is). -a Could you post your SYNC value from your /etc/make.conf file? Thanks, -- Valmor
Re: [gentoo-user] timed out rsync error:
Mick wrote: On 26 July 2010 17:24, Valmor de Almeida val.gen...@gmail.com wrote: I am still running into the same problem since a couple of days ago. I tried both SYNC=rsync://rsync.gentoo.org/gentoo-portage SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage Is anyone having issues with syncing the portage tree? - emerge --sync Starting rsync with rsync://88.198.83.250/gentoo-portage... Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... [snip ...] Alejandro Pino Oreamuno wrote: same problem here with 134.68.240.59 , 88.198.83.249 , 88.198.83.250 , 140.211.166.189 For a couple of weeks I was having problems with rsync://rsync.europe.gentoo.org/gentoo-portage and changed it to rsync://rsync.uk.gentoo.org/gentoo-portage - you may want to change it to the mirror which is nearest to you (and works). Either try mirrorselect -i -r -o /mnt/gentoo/etc/make.conf to automatically find a suitable rsync server, have a look here for your nearest rsync server and set it up manually: http://www.gentoo.org/main/en/mirrors-rsync.xml I tried many of those rsync servers in the gentoo web site. No luck. Maybe my system is broken. I even tried the uk rsync. Don't know where to go from here... Thanks, -- Valmor
[gentoo-user] timed out rsync error:
Hello, Is anyone experiencing this problem at the moment? Wondering what is wrong on my side. Thanks, -- Valmor - emerge --sync Starting rsync with rsync://134.68.240.40/gentoo-portage... Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... Starting retry 1 of 3 with rsync://209.177.148.226/gentoo-portage Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... Starting retry 2 of 3 with rsync://140.211.166.189/gentoo-portage Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Retrying... Starting retry 3 of 3 with rsync://134.68.240.58/gentoo-portage Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.6] Exceeded PORTAGE_RSYNC_RETRIES: 3
Re: [gentoo-user] Re: gcc upgrade
Mark Knecht wrote: On Sat, Jul 10, 2010 at 6:28 AM, Mark Knecht markkne...@gmail.com wrote: On Sat, Jul 10, 2010 at 4:52 AM, Alan McKinnon alan.mckin...@gmail.com wrote: SNIP Unless he's the kind of guy who likes to rip his Ferrari apart for kicks and put it all back together again so that not even the factory can notice... Precisely... :-) Oh, and besides liking the smell of fresh baked 1 and 0's in the morning emerge -e @world was an easy way to solve my libpng problem. Woke up this morning to a freshly baked Gentoo machine. - Mark Exactly. My Ferrari is back with a brand new engine and no libpng issue. -- Valmor
Re: [gentoo-user] Re: gcc upgrade
Mark Knecht wrote: On Sat, Jul 10, 2010 at 6:28 AM, Mark Knecht markkne...@gmail.com wrote: On Sat, Jul 10, 2010 at 4:52 AM, Alan McKinnon alan.mckin...@gmail.com wrote: SNIP Unless he's the kind of guy who likes to rip his Ferrari apart for kicks and put it all back together again so that not even the factory can notice... Precisely... :-) Oh, and besides liking the smell of fresh baked 1 and 0's in the morning emerge -e @world was an easy way to solve my libpng problem. Woke up this morning to a freshly baked Gentoo machine. - Mark One interesting thing on the new Ferrari. If I do - emerge --pretend --verbose --newuse --update --deep world These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB However - emerge -evp world [ebuild U ] x11-proto/scrnsaverproto-1.2.0 [1.1.0] 49 kB [0] [ebuild U ] sys-devel/automake-1.10.3 [1.10.2] 936 kB [0] Total: 536 packages (2 upgrades, 534 reinstalls), Size of downloads: 1,015 kB Portage tree and overlays: [0] /usr/portage [1] /var/lib/layman/science Where - revdep-rebuild --ignore --pretend --verbose * Checking dynamic linking consistency [ 100% ] * Dynamic linking on your system is consistent... All done. and - emerge --depclean --pretend --verbose No packages selected for removal by depclean Packages installed: 538 Packages in world:69 Packages in system: 50 Required packages:538 Number to remove: 0 So emerge -evp is useful to get those last inconsistencies out of the system. -- Valmor
Re: [gentoo-user] Re: gcc upgrade
Dale wrote: Valmor de Almeida wrote: Mark Knecht wrote: On Sat, Jul 10, 2010 at 6:28 AM, Mark Knechtmarkkne...@gmail.com wrote: On Sat, Jul 10, 2010 at 4:52 AM, Alan McKinnonalan.mckin...@gmail.com wrote: SNIP Unless he's the kind of guy who likes to rip his Ferrari apart for kicks and put it all back together again so that not even the factory can notice... Precisely... :-) Oh, and besides liking the smell of fresh baked 1 and 0's in the morning emerge -e @world was an easy way to solve my libpng problem. Woke up this morning to a freshly baked Gentoo machine. - Mark One interesting thing on the new Ferrari. If I do - emerge --pretend --verbose --newuse --update --deep world These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB However - emerge -evp world [ebuild U ] x11-proto/scrnsaverproto-1.2.0 [1.1.0] 49 kB [0] [ebuild U ] sys-devel/automake-1.10.3 [1.10.2] 936 kB [0] Total: 536 packages (2 upgrades, 534 reinstalls), Size of downloads: 1,015 kB Portage tree and overlays: [0] /usr/portage [1] /var/lib/layman/science Where - revdep-rebuild --ignore --pretend --verbose * Checking dynamic linking consistency [ 100% ] * Dynamic linking on your system is consistent... All done. and - emerge --depclean --pretend --verbose No packages selected for removal by depclean Packages installed: 538 Packages in world:69 Packages in system: 50 Required packages:538 Number to remove: 0 So emerge -evp is useful to get those last inconsistencies out of the system. -- Valmor You can add this option to help with those: --with-bdeps y I consider it -D on steroids. I actually added it to make.conf so that I don't have to type it in each time. Dale :-) :-) Will use. Thanks, -- Valmor
[gentoo-user] dependency on unmerged imagemagick
Hello, I have unmerged imagemagick from my system did a revdep-rebuild and emerge --depclean but continue to get this output - equery depends imagemagick [ Searching for packages depending on imagemagick... ] gnome-extra/libgsf-1.14.15 (gnome? media-gfx/imagemagick) media-libs/gegl-0.0.22 (doc? media-gfx/imagemagick why are these packages still depending on imagemagick? Thanks, -- Valmor
Re: [gentoo-user] dependency on unmerged imagemagick
Daniel Pielmeier wrote: [snip] Do you have the gnome USE flag enabled for gnome-extra/libgsf or the doc USE flag for media-libs/gegl? I guess not. no Equery depends does not give you the correct information. I guess it just looks for imagemagick in the dependencies list but does not take the USE flags into account. Use emerge -pv --depclean media-gfx/imagemagick for correct information - emerge -pv --depclean media-gfx/imagemagick No packages selected for removal by depclean Thanks, -- Valmor
[gentoo-user] gcc upgrade
Hello, I just updated the portage tree and gcc was upgraded. I have set gcc to the newer version - gcc-config -l [1] i686-pc-linux-gnu-4.3.4 [2] i686-pc-linux-gnu-4.4.3 * and I am trying to rebuild the whole system with emerge -e system emerge -e world assuming this all goes without trouble (will take a while), should I unmerge version 4.3.4? Thanks, -- Valmor
Re: [gentoo-user] Re: gcc upgrade
Dale wrote: [snip] Is rebuilding the whole system needed for that upgrade tho? Dale :-) :-) Thought it would be a good idea to have a consistent system; not sure whether it is necessary. Thanks for the replies. -- Valmor
[gentoo-user] SIOCSIFMTU: Invalid argument
Hello, I am getting a SIOCSIFMTU: Invalid argument [ok] message when re/starting eth0. I am wondering about that. The router's MTU is set at 1500. Looking at the /etc/init.d/net.eth0 it seems the inteface metrics should be calculated automatically. Any ideas about where to look for the reason for the message? Additional info below. Thanks, -- Valmor - /etc/init.d/net.eth0 restart * Caching service dependencies ...[ ok ] * Unmounting network filesystems ...[ ok ] * Stopping eth0 * Bringing down eth0 * Stopping dhcpcd on eth0 ...[ ok ] * Shutting down eth0 ... [ ok ] * Starting eth0 * Bringing up eth0 * dhcp * Running dhcpcd ... eth0: dhcpcd 4.0.15 starting eth0: waiting for carrier eth0: carrier acquired eth0: broadcasting for a lease eth0: offered 192.168.0.200 from 192.168.0.1 eth0: acknowledged 192.168.0.200 from 192.168.0.1 eth0: checking 192.168.0.200 is available on attached networks dnseth0: leased 192.168.0.200 for 259200 seconds SIOCSIFMTU: Invalid argument [ ok ] * eth0 received address 192.168.0.200/24 * Mounting network filesystems ...[ ok ] - cat /proc/net/route Iface Destination Gateway Flags RefCnt Use Metric MaskMTU Window IRTT eth0A8C000010 0 0 00FF0 0 0 lo 007F00010 0 0 00FF0 0 0 eth00100A8C000030 0 0 0 0 0
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? - bar performance so far
Mark Knecht wrote: [snip] This has been helpful for me. I'm glad Valmor is getting better results also. [snip] These 4k-sector drives can be problematic when upgrading older computers. For instance, my laptop BIOS would not boot from the toshiba drive I mentioned earlier. However when used as an external usb drive, I could boot gentoo. Since I have been using this drive as backup storage I did not investigate the reason for the lower speed. I am happy to get a factor of 8 in speed up now after you did the research :) Thanks for your postings. -- Valmor
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? - bar performance so far
Mark Knecht wrote: On Sun, Feb 7, 2010 at 11:39 AM, Willie Wong ww...@math.princeton.edu wrote: [snip] OK - it turns out if I start fdisk using the -u option it show me sector numbers. Looking at the original partition put on just using default values it had the starting sector was 63 - probably about the I too was wondering why a Toshiba HDD 1.8 MK2431GAH (4kB-sector), 240 GB I've recently obtained was slow: - time tar xfj portage-latest.tar.bz2 real16m5.500s user0m28.535s sys 0m19.785s Following your post I recreated a single partition (reiserfs 3.6) starting at the 64th sector: Disk /dev/sdb: 240.1 GB, 240057409536 bytes 255 heads, 63 sectors/track, 29185 cylinders, total 468862128 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0xe7bf4b8e Device Boot Start End Blocks Id System /dev/sdb1 64 468862127 234431032 83 Linux and the time was improved - time tar xfj portage-latest.tar.bz2 real2m15.600s user0m28.156s sys 0m18.933s -- Valmor
Re: [gentoo-user] waiting for uevents...
On Mon, Feb 1, 2010 at 4:20 PM, Philip Webb purs...@ca.inter.net wrote: 100201 Valmor de Almeida wrote: Recently I bumped up the number of HDD on a relatively old system [snip] I had this on my stand-by machine discovered it was waiting for a broken CD drive; when I unplugged the drive, all was well. I had a drive that had not been used yet and had no partitions or file system on it. I booted the machine from a gentoo LiveCD (with no problem; weird), made a partition and created a fs then rebooted and all worked. Don't know why I was able to boot from a LiveCD in the first place; maybe my kernel still need some fine tuning. Thanks. -- Valmor
Re: [gentoo-user] Re: configuring x2go on gentoo
On Mon, Feb 1, 2010 at 1:57 PM, Nikos Chantziaras rea...@arcor.de wrote: On 02/01/2010 08:06 PM, Valmor de Almeida wrote: [snip] Don't know about the server configuration on Gentoo. Â I only run the client on my Gentoo box. Â The server runs on a Debian machine and IIRC the Here are the steps I followed to configure and test the server. 1) emerge x2goserver (needed to rebuild the kernel with FUSE) 2) following message from emerge of postgresql-8.1.11 did: emerge --config =postgresql-8.1.11 3) /etc/init.d/postgresql start 4) visudo and added users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper 5) run script to create database cd /usr/share/x2go/script ./x2gocreatebase.sh 6) /etc/init.d/postgresql restart 7) /etc/init.d/x2goserver start The /var/log/messages file is filled with Feb 1 17:45:56 xeon0 sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot xeon0 Feb 1 17:45:56 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 1 17:45:56 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 1 17:45:56 xeon0 su[3869]: Successful su for postgres by root Feb 1 17:45:56 xeon0 su[3869]: + ??? root:postgres Feb 1 17:45:56 xeon0 su[3869]: pam_unix(su:session): session opened for user postgres by (uid=0) Feb 1 17:45:57 xeon0 su[3869]: pam_unix(su:session): session closed for user postgres Feb 1 17:46:02 xeon0 sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot xeon0 Feb 1 17:46:02 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 1 17:46:02 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 1 17:46:02 xeon0 su[3880]: Successful su for postgres by root Feb 1 17:46:02 xeon0 su[3880]: + ??? root:postgres Feb 1 17:46:02 xeon0 su[3880]: pam_unix(su:session): session opened for user postgres by (uid=0) Feb 1 17:46:02 xeon0 su[3880]: pam_unix(su:session): session closed for user postgres Any ideas on how to stop this? Thanks, -- Valmor
Re: [gentoo-user] Re: configuring x2go on gentoo
On Tue, Feb 2, 2010 at 9:37 AM, Valmor de Almeida val.gen...@gmail.com wrote: [snip] Â Â users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper There is a % missing at the beginning of the line above. My x2go client/server is not working. It starts a session but immediately kicks me out. This is what I see on the client side after firing x2goclient (at this point I am only trying to open an xterm on the server): Can't load translator (:/x2goclient_en_us) ! Can't load translator (:/qt_en_US) ! Selected from list normal export HOSTNAME x2golistsessions host: 192.168.0.4 exitCode: 0 status: 0 normal x2gostartagent 1280x1024 lan 16m-jpeg-9 unix-kde-depth_24 us pc105/us 0 R xterm host: 192.168.0.4 50 f3bb191128995c903396a065e1b1d1da 5941 dealmeida-50-1265133894_stRxterm_dp24 30001 30002 30003 exitCode: 0 status: 0 tunnel normal mkdir ~/.pulse;echo default-server=localhost:30002 ~/.pulse/client.conf host: 192.168.0.4 tunnel exitCode: 0 status: 0 normal setsid x2goruncommand 50 5941 dealmeida-50-1265133894_stRxterm_dp24 30002 /usr/bin/xterm nosnd R /dev/null exit host: 192.168.0.4 exitCode: 0 status: 0 QProcess: Destroyed while process is still running. QProcess: Destroyed while process is still running. check command message normal x2gocmdexitmessage dealmeida-50-1265133894_stRxterm_dp24 host: 192.168.0.4 exec /usr/bin/xterm exitCode: 0 status: 0 On the server side, in the messages file I can't see what is wrong (here is the beginning): Feb 2 13:17:23 xeon0 sshd[7559]: Accepted keyboard-interactive/pam for dealmeida from 192.168.0.200 port 37244 ssh2 Feb 2 13:17:23 xeon0 sshd[7559]: pam_unix(sshd:session): session opened for user dealmeida by (uid=0) Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ; PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessions xeon0 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 2 13:17:23 xeon0 su[7567]: Successful su for postgres by root Feb 2 13:17:23 xeon0 su[7567]: + ??? root:postgres Feb 2 13:17:23 xeon0 su[7567]: pam_unix(su:session): session opened for user postgres by (uid=0) Feb 2 13:17:23 xeon0 su[7567]: pam_unix(su:session): session closed for user postgres Feb 2 13:17:23 xeon0 sshd[7559]: pam_unix(sshd:session): session closed for user dealmeida Feb 2 13:17:23 xeon0 sshd[7572]: Accepted keyboard-interactive/pam for dealmeida from 192.168.0.200 port 37245 ssh2 Feb 2 13:17:23 xeon0 sshd[7572]: pam_unix(sshd:session): session opened for user dealmeida by (uid=0) Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ; PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper getdisplays xeon0 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 2 13:17:23 xeon0 su[7585]: Successful su for postgres by root Feb 2 13:17:23 xeon0 su[7585]: + ??? root:postgres Feb 2 13:17:23 xeon0 su[7585]: pam_unix(su:session): session opened for user postgres by (uid=0) Feb 2 13:17:23 xeon0 su[7585]: pam_unix(su:session): session closed for user postgres Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ; PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper insertsession 50 xeon0 dealmeida-50-1265134643_stRxterm_dp24 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 2 13:17:23 xeon0 su[7599]: Successful su for postgres by root Feb 2 13:17:23 xeon0 su[7599]: + ??? root:postgres Feb 2 13:17:23 xeon0 su[7599]: pam_unix(su:session): session opened for user postgres by (uid=0) Any help appreciated. Thanks. -- Valmor
[gentoo-user] configuring x2go on gentoo
Nikos Chantziaras wrote: On 01/22/2010 12:10 AM, Valmor de Almeida wrote: Hello, I would like to try a remote desktop server/client app (linux to linux). Would anyone have suggestions? freenx x ltsp x vnc x others? I use x2go, which is based on NX. FreeNX, which I used before, was semi-abandoned at some point. You can find it in the nx overlay. I am experimenting with it. I could not find config instructions for gentoo therefore I am following http://wiki.archlinux.org/index.php/X2go Is this sufficient? Does fuse need to be a module or can it be built into the kernel? I am follwing the latter. Thanks for inputs. -- Valmor
[gentoo-user] waiting for uevents...
Hello, Recently I bumped up (really) the number of HDD on a relatively old system (PATA IDE's) and I noticed that it took a while for gentoo to boot. After several weeks running, I tried to reboot and here is where I have a problem: *Populating /dev/ with existing devices through uevents... *Waiting for uevents to be processed... [34.7540621] Disabling IRQ #48 It just sits there for a very long time. Any inputs appreciated. Thanks. -- Valmor
Re: [gentoo-user] Re: remote desktop suggestion
Nikos Chantziaras wrote: [snip] I use x2go, which is based on NX. FreeNX, which I used before, was semi-abandoned at some point. You can find it in the nx overlay. Will give x2go a try. Thanks, -- Valmor
[gentoo-user] usb to ps2 adapter not working for left handed mouse
Hello, I am just trying to understand why my usb mouse does not work properly when connected via a usb to ps2 adapter. I have in /etc/hal/fdi/policy/10-x11-input.fdi the following section match key=info.capabilities contains=input.mouse merge key=input.x11_driver type=stringmouse/merge !-- 20Jan10 left-handed mouse -- merge key=input.x11_options.ZAxisMapping type=string4 5 6 7/merge merge key=input.x11_options.ButtonMapping type=string3 2 1/merge match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux merge key=input.x11_driver type=stringevdev/merge /match /match which sets up a left-handed mouse. It works when the usb mouse is plugged into the usb port but not when plugged into the ps2 port via the adapter. The wheel works but the left and right buttons work in the right handed mode. Thanks for insights. -- Valmor
[gentoo-user] cannot open root device sda3
Hello, I am trying to boot gentoo from an external USB HDD. I am getting the error message: Â VFS: Cannot open root device sda3 or unknown-block(2,0) Â Please append a correct root= boot option; here are the available partitions: Â Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) I am assuming that the device will be named /dev/sda since there is no other HDD on the system. The message above does not list any available partitions. Any thoughts? Here is the info from fdisk on this drive (it is a new 4096-byte sector drive): Disk /dev/sdb: 240.1 GB, 240057409536 255 heads, 63 sectors/track, 29185 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0c7786a9 Device Boot Start EndBlocks Id System /dev/sdb1 * 1 26208813+83 Linux /dev/sdb2 27 158 1060290 82 Linux swap / Solaris /dev/sdb3 159211715735667+83 Linux /dev/sdb42118 29185 217423710 8e Linux LVM Thanks, -- Valmor
Re: [gentoo-user] cannot open root device sda3
Dirk Heinrichs wrote: Am Donnerstag 21 Januar 2010 19:08:53 schrieb Valmor de Almeida: [snip] If yes, lookup the list archive a couple of weeks back, somebody mentioned a boot option to delay booting to give the kernel some time to discover USB devices. HTH... Dirk Yup, rootdelay=5 boot option did the trick. Thanks, -- Valmor
[gentoo-user] remote desktop suggestion
Hello, I would like to try a remote desktop server/client app (linux to linux). Would anyone have suggestions? freenx x ltsp x vnc x others? Thanks, -- Valmor
Re: [gentoo-user] [CLOSED] Re: is ddrescue this slow?
Stroller wrote: [snip] I would try running fsck on a copy of the image. I did try and thought I would post here some final info just for the record. I proceeeded with the command r...@sysresccd /root % ddrescue -r 1 /dev/sda /dev/sdc rescued.log which took ~50 hours to finish with the message: Press Ctrl-C to interrupt Initial status (read from logfile) rescued:58811 MB, errsize: 48909 kB, errors: 95 Current status rescued:77815 MB, errsize: 2210 MB, current rate:0 B/s ipos:66589 MB, errors: 598,average rate:56872 B/s opos:66589 MB, time from last successful read:18.5 m Trimming failed blocks... ddrescue: write error: Input/output error Again the same error message. I did not care about it and moved forward to mount the /dev/sdc drive. Enabled the LVM volume groups with vgchange -a y (all this under the systemrescuecd boot), mounted the partition of interest under LVM control and did a reiserfsck --check /dev/myvg/mylv It ended with 1 found corruptions can be fixed only when running with --rebuild-tree ### reiserfsck finished at Fri Jan 15 11:46:23 2010 ### The next step was then reiserfsck --rebuild-tree --logfile rebuild.log /dev/myvg/mylv I was then able to mount the partition and inspect the newly created lost+found/ directory. Surprisingly I was able to find the file I was looking for!! It was the first time I tried this kind of HDD forensics and was surprised with the time that it took to recover data from a relative low storage drive: 80GB. The rebuild.log file had over 8000 lines. Stroller, thanks for all your comments and suggestions. Yes having extra disk space is a must to be able to recover data. -- Valmor I hope this makes sense. I'm by no means an expert, but I'm glad to help in any way possible. Having lots of disk space helps a lot. Stroller.
Re: [gentoo-user] Re: is ddrescue this slow?
On Sun, Jan 10, 2010 at 8:09 AM, Stroller strol...@stellar.eclipse.co.ukwrote: Would love to comment on this. Is it possible you could resend this post in plain text format? Stroller. Below is my last post copied and pasted into gmail without the html hot links. I am doing this from within systemrescuecd using firefox and gmail. Don't know how to make it plain ascii otherwise. Hopefully just eliminating the html links will work. Stroller, is this what you are referring to? Thanks, -- Valmor On Sat, Jan 9, 2010 at 11:10 AM, Stroller wrote: [snip] in the GNU manual page [1]. I believe that GNU ddrescue is the better version - it was inspired by garloff's original work, and makes improvements, but it operates differently. Comment. Another reason I moved away from dd (apart from the slow running time) to ddrescue was because of this note related to LVM. hhttp://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html http://www.interference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html Steve Holmes reports that dd with conv=sync,noerror doesn't correctly image disks with LVM2 Logical Volumes. I haven't investigated this. He also points out GNU ddrescue ( not the same as dd_rescue mentioned above) which looks useful. According to Steve, ddrescue works finewith LVM2, and some people seem to suggest it's generally superior to dd_rescue. The partition I would like to get data from is under LVM (previous post). Thanks, -- Valmor
Re: [gentoo-user] Re: is ddrescue this slow?
On Sun, Jan 10, 2010 at 9:28 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 10 Jan 2010, at 18:09, Valmor de Almeida wrote: On Sun, Jan 10, 2010 at 8:09 AM, Stroller strol...@stellar.eclipse.co.uk wrote: Would love to comment on this. Is it possible you could resend this post in plain text format? Stroller. Below is my last post copied and pasted into gmail without the html hot [snip] Both messages contain html text formatting. If you look at your last message (the one to which I'm replying now, Message-ID: 128ccc221001101009v75f23dcey7d52967b16f7d...@mail.gmail.com) in a text editor, for instance: I share all of your comments. Yes I was/am stuck inside systemrescuecd. I typically use thunderbird to get my mail from the gmail server as imap and always use plain text (to send and receive). Therefore I am not knowledgeable of the web gmail application; I seldom log into my gmail account with a web browser. Your next e-mail pointed me to the plain option; thanks! Don't know how I could have missed it. Originally I had looked at the settings of my gmail account but it did not help. On my next e-mail I will send a clean plain text resend. Thanks, -- Valmor
Re: [gentoo-user] Re: is ddrescue this slow?
On Sun, Jan 10, 2010 at 8:09 AM, Stroller strol...@stellar.eclipse.co.uk wrote: Would love to comment on this. Is it possible you could resend this post in plain text format? Stroller. Here it goes. On Sat, Jan 9, 2010 at 11:10 AM, Stroller strol...@stellar.eclipse.co.uk wrote: [snip] in the GNU manual page [1]. I believe that GNU ddrescue is the better version - it was inspired by garloff's original work, and makes improvements, but it operates differently. Comment. Another reason I moved away from dd (apart from the slow running time) to ddrescue was because of this note related to LVM. http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html Steve Holmes reports that dd with conv=sync,noerror doesn't correctly image disks with LVM2 Logical Volumes. I haven't investigated this. He also points out GNU ddrescue ( not the same as dd_rescue mentioned above) which looks useful. According to Steve, ddrescue works finewith LVM2, and some people seem to suggest it's generally superior to dd_rescue. The partition I would like to get data from is under LVM (previous post). Thanks, -- Valmor
Re: [gentoo-user] Re: is ddrescue this slow?
On Sun, Jan 10, 2010 at 9:39 PM, Stroller strol...@stellar.eclipse.co.uk wrote: [snip] I just reread the above (from within systemrescuecd), which implies you may be stuck without another working system. Yes. I am afraid the text below will be confusing but will send anyway. Will be happy to send clarifications if needed. This is a resend (in plain text) of another e-mail I sent with information on the LVM partition on the broken drive. On Sat, Jan 9, 2010 at 11:10 AM, Stroller strol...@stellar.eclipse.co.uk wrote: [snip] I think Valmor is using GNU ddrescue, with which one makes the multiple passes manually. The -n flag on the command line that Valmor posted (`ddrescue -n /dev/sda /dev/sdc rescued.log`) relates to the examples given in the GNU manual page [1]. I believe that GNU ddrescue is the better version - it was inspired by garloff's original work, and makes improvements, but it operates differently. Indeed I am using GNU ddrescue and the -n flag is supposed to expedite the recovery of data as posted in http://www.cgsecurity.org/wiki/Damaged_Hard_Disk The best solution - both faster and more efficient - seems to be Antonio Diaz's 'ddrescue' (ddrescue) # first, grab most of the error-free areas in a hurry: ./ddrescue -n /dev/old_disk /dev/new_disk rescued.log # then try to recover as much of the dicy areas as possible: ./ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log expectation, not a reasoned one. I think the best thing he can do is hold his breath, wait until its finished and see how if the results are readable, after running `fsck` on the mounted filesystem. The first step above finished; don't know how long it took but it was a long time (maybe 20 hours or more?) and the screen output was Press Ctrl-C to interrupt Initial status (read from logfile) rescued: 0 B, errsize: 0 B, errors: 0 Current status rescued:58811 MB, errsize: 48909 kB, current rate: 83 B/s ipos:58860 MB, errors: 95,average rate:1365 kB/s opos:58860 MB, time from last successful read: 0 s Copying non-tried blocks... ddrescue: write error: Input/output error Comparing with the screen output at the time of my first post, Current status rescued went from 58656 MB to 58811 MB, errsize went from 4408 kB to 48909 kB. Don't know how the write error: Input/output error message affect the data in the new drive copied to. Not sure whether I should do the next step with option -r 1. This failed drive is still bootable and the corruption is in the partitions /var (which I do not care) and /home; these cannot be mounted. I would like to attempt to get a couple of files from /home that were not in the most recent backup. Maybe I should try to rescue only the partition /home. However this partition is under LVM. Specifically, /dev/sda4 is a linux LVM partition. The volume group is vfda and the logical volume of interest is /dev/vfda/home which has reiserfs file system. Is it possible to rescue data only from this partition when under LVM? Valmor: when I ran the `ddrescue -dr3` stage I had no success at all, however the system was fine after a reboot a `chkdsk`. Better than it had been, in fact, on the old hard-drive. You might have more luck getting *some* of the blocks showing as failed when you run it on your drive, but don't be too disheartened if you don't. Stroller. Stroller, you mean your rescue.log showed no problematic entries? I got over 400 lines in my rescue.log file. r...@sysresccd /root % head rescued.log # Rescue Logfile. Created by GNU ddrescue version 1.11 # current_pos current_status 0xDB45D9000 ? # possize status 0x 0x9CE341000 + 0x9CE341000 0x0200 - 0x9CE341200 0x0001F000 * 0x9CE360200 0x0200 - 0x9CE360400 0x0002 * 0x9CE380400 0x3BD63AC00 + Thanks for inputs. -- Valmor
Re: [gentoo-user] Re: is ddrescue this slow?
On Sat, Jan 9, 2010 at 11:10 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 9 Jan 2010, at 09:23, Neil Bothwick wrote: On Sat, 9 Jan 2010 07:20:18 +, Valmor de Almeida wrote: Sometimes the current rate reads 0 B/s for a long time... and time from last successful read can be 8m. Would any one know whether this is normal? Doesn't ddrescue retry on blocks it cannot read? That would explain the variable read rate, even the period of zero activity. If your drive is that badly damaged, dd would have been no use anyway. I think Valmor is using GNU ddrescue, with which one makes the multiple passes manually. The -n flag on the command line that Valmor posted (`ddrescue -n /dev/sda /dev/sdc rescued.log`) relates to the examples given in the GNU manual page [1]. I believe that GNU ddrescue is the better version - it was inspired by garloff's original work, and makes improvements, but it operates differently. Indeed I am using GNU ddrescue and the -n flag is supposed to expedite the recovery of data as posted in http://www.cgsecurity.org/wiki/Damaged_Hard_Disk The best solution - both faster and more efficient - seems to be Antonio Diaz's 'ddrescue' (ddrescue http://savannah.gnu.org/projects/ddrescue/) # first, grab most of the error-free areas in a hurry: ./ddrescue -n /dev/old_disk /dev/new_disk rescued.log # then try to recover as much of the dicy areas as possible: ./ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log expectation, not a reasoned one. I think the best thing he can do is hold his breath, wait until its finished and see how if the results are readable, after running `fsck` on the mounted filesystem. The first step above finished; don't know how long it took but it was a long time (maybe 20 hours or more?) and the screen output was Press Ctrl-C to interrupt Initial status (read from logfile) rescued: 0 B, errsize: 0 B, errors: 0 Current status rescued:58811 MB, errsize: 48909 kB, current rate: 83 B/s ipos:58860 MB, errors: 95,average rate:1365 kB/s opos:58860 MB, time from last successful read: 0 s Copying non-tried blocks... ddrescue: write error: Input/output error Comparing with the screen output at the time of my first post, Current status rescued went from 58656 MB to 58811 MB, errsize went from 4408 kB to 48909 kB. Don't know how the write error: Input/output error message affect the data in the new drive copied to. Not sure whether I should do the next step with option -r 1. This failed drive is still bootable and the corruption is in the partitions /var (which I do not care) and /home; these cannot be mounted. I would like to attempt to get a couple of files from /home that were not in the most recent backup. Maybe I should try to rescue only the partition /home. However this partition is under LVM. Specifically, /dev/sda4 is a linux LVM partition. The volume group is vfda and the logical volume of interest is /dev/vfda/home which has reiserfs file system. Is it possible to rescue data only from this partition when under LVM? Valmor: when I ran the `ddrescue -dr3` stage I had no success at all, however the system was fine after a reboot a `chkdsk`. Better than it had been, in fact, on the old hard-drive. You might have more luck getting *some* of the blocks showing as failed when you run it on your drive, but don't be too disheartened if you don't. Stroller. Stroller, you mean your rescue.log showed no problematic entries? I got over 400 lines in my rescue.log file. r...@sysresccd /root % head rescued.log # Rescue Logfile. Created by GNU ddrescue version 1.11 # current_pos current_status 0xDB45D9000 ? # possize status 0x 0x9CE341000 + 0x9CE341000 0x0200 - 0x9CE341200 0x0001F000 * 0x9CE360200 0x0200 - 0x9CE360400 0x0002 * 0x9CE380400 0x3BD63AC00 + Thanks for inputs. -- Valmor
Re: [gentoo-user] Re: Externel drive should be /dev/sda1, but /dev/sda1 does not exist
On Sat, Jan 2, 2010 at 2:35 PM, Michael Sullivan msulli1...@gmail.comwrote: [snip] All I know is that at one time, the external drive was recognized on /dev/sda and at that time I formatted the drive for swap space and ran swapon /dev/sda1 Now for some reason it doesn't work. I want it to work. Could you post your /etc/fstab? Could you hotplug your drive and post the results of fdisk -l and also lsusb -v? -- Valmor
Re: [gentoo-user] Re: is ddrescue this slow?
On Sat, Jan 9, 2010 at 11:10 AM, Stroller strol...@stellar.eclipse.co.ukwrote: [snip] in the GNU manual page [1]. I believe that GNU ddrescue is the better version - it was inspired by garloff's original work, and makes improvements, but it operates differently. Comment. Another reason I moved away from dd (apart from the slow running time) to ddrescue was because of this note related to LVM. http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html Steve Holmes reports that dd with conv=sync,noerror doesn't correctly image disks with LVM2 Logical Volumes. I haven't investigated this. He also points out GNU ddrescue http://www.gnu.org/software/ddrescue/ddrescue.html ( not the same as dd_rescue mentioned above) which looks useful. According to Steve, ddrescue works finewith LVM2, and some peoplehttp://www.mail-archive.com/bug-ddres...@gnu.org/msg00038.htmlseem to suggest it's generally superior to dd_rescue. The partition I would like to get data from is under LVM (previous post). Thanks, -- Valmor
[gentoo-user] is ddrescue this slow?
Hello, I am trying to recover data from a failed drive. An initial attempt with dd took over 12 hours and it was not even at half of the 80GB damaged drive; so I quit. Info on the web pointed me to ddrescue ddrescue -n /dev/sda /dev/sdc rescued.log which has taken over 6 hours so far Press Ctrl-C to interrupt Initial status (read from logfile) rescued: 0 B, errsize: 0 B, errors: 0 Current status rescued:58656 MB, errsize: 4408 kB, current rate: 4096 B/s ipos:58660 MB, errors: 32,average rate:2958 kB/s opos:58660 MB, time from last successful read: 0 s Copying non-tried blocks... The current rate varies and sometimes is down to a few B/s! Is this normal? The drive copied to is a USB external drive. Thanks for inputs. -- Valmor
[gentoo-user] Re: is ddrescue this slow?
On Sat, Jan 9, 2010 at 3:33 AM, Valmor de Almeida val.gen...@gmail.comwrote: Hello, I am trying to recover data from a failed drive. An initial attempt with dd took over 12 hours and it was not even at half of the 80GB damaged drive; so I quit. Info on the web pointed me to ddrescue ddrescue -n /dev/sda /dev/sdc rescued.log which has taken over 6 hours so far Press Ctrl-C to interrupt Initial status (read from logfile) rescued: 0 B, errsize: 0 B, errors: 0 Current status rescued:58656 MB, errsize: 4408 kB, current rate: 4096 B/s ipos:58660 MB, errors: 32,average rate:2958 kB/s opos:58660 MB, time from last successful read: 0 s Copying non-tried blocks... The current rate varies and sometimes is down to a few B/s! Is this normal? The drive copied to is a USB external drive. Thanks for inputs. -- Valmor It's about 10 hours now since it started and here it is Press Ctrl-C to interrupt Initial status (read from logfile) rescued: 0 B, errsize: 0 B, errors: 0 Current status rescued:58763 MB, errsize: 22918 kB, current rate:1376 kB/s ipos:58786 MB, errors: 66,average rate:1751 kB/s opos:58786 MB, time from last successful read: 0 s Copying non-tried blocks... Sometimes the current rate reads 0 B/s for a long time... and time from last successful read can be 8m. Would any one know whether this is normal? Thanks, -- Valmor
Re: [gentoo-user] problem with install-x86-minimal-20091103
On Thu, Dec 10, 2009 at 12:02 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 10 Dec 2009, at 03:07, Valmor de Almeida wrote: ... I just burned the install-x86-minimal-20091103 iso on a cd and tried to boot a relatively old machine with it. Here is where it stops ... Have you tried SystemRescueCD? http://www.sysresccd.org/Download Thanks; never tried; always used the gentoo minimal Also, somewhere at the top of the screen output during the boot process it says this is a LiveCD? I am confused here. Wasn't the minimal iso not Live in the past? I think this may depend upon your definition of a LiveCD. To me it is an operating system which boots from CD which requires no hard-drive. Stroller. Right. I meant the Live version that comes with a X Window login manager, etc. Thanks, -- Valmor
[gentoo-user] problem with install-x86-minimal-20091103
Hello, I just burned the install-x86-minimal-20091103 iso on a cd and tried to boot a relatively old machine with it. Here is where it stops Mounting the squashfs filesystem mount: mounting /dev/loop0 on /newroot/mnt/livecd failed: Invalid argument !! Failed to $1; failing back to the shell... Also, somewhere at the top of the screen output during the boot process it says this is a LiveCD? I am confused here. Wasn't the minimal iso not Live in the past? Thanks for inputs. -- Valmor
Re: [gentoo-user] need sound to listen to a adobe flash video
James Ausmus wrote: [snip] First off - do you have PulseAudio running? If so, for HW/ALSA testing purposes, shut it down. Second, check your mixer settings to determine No I don't have it installed. if your volume levels are appropriate. A great quick CLI app for this is alsamixer (media-sound/alsa-utils) - first start the alsasound service (sudo /etc/init.d/alsasound start), then run alsamixer - set your volumes to about 80%, and unmute all channels (use the 'm' key to toggle mute), then restart the alsasound service to save your volume levels (sudo /etc/init.d/alsasound restart), then add the alsasound service to your boot runlevel (sudo rc-update add alsasound boot). This will set it up to restore these volume levels on every startup (it will also save your *current* volume levels on every shutdown, so don't mute, shutdown, and expect to be unmuted after starting back up). Followed all steps after emerging alsa-utils Now, double-check that PulseAudio is not running (ps -elf | grep -i pulse), and kill it if it is. Then run: aplay /usr/share/sounds/alsa/Front_Center.wav Tried this instead - aplay /usr/lib/mozilla-thunderbird/res/samples/test.wav ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default aplay: main:608: audio open error: No such file or directory If you hear sound - great, ALSA and your sound HW are working, and Flash No sound yet. audio will almost certainly start magically working. If not, please post the output of: aplay -l aplay -L - aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 - aplay -L default:CARD=Intel HDA Intel, STAC92xx Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers null Discard all samples (playback) or generate zero samples (capture) I am using hal-0.5.12_rc1-r8. Do I need to do any hal config? Thanks for the help. -- Valmor
Re: [gentoo-user] need sound to listen to a adobe flash video
Stroller wrote: [snip] You haven't made it clear - in any of your subsequent posts, either - if sound is working for other applications. I have never configured sound. It has never worked. If you get a new email, does your laptop go bing!? Can you play an MP3 by double clicking on it or at the command line? What if you run mplayer at the command line on an AVI video? No sound. If you have only previously used your laptop for email, surfing the web or writing code, it's not clear that sound may *ever* have been Indeed this is the case and I am trying to get it to work since some tutorials I need to listen to are only available on video with audio. working on it. IMO you need to get sound working for a basic program that uses audio before worrying about Flash, which seems more problematic. Thanks, -- Valmor Stroller.
Re: [gentoo-user] [solved] need sound to listen to a adobe flash video
Valmor de Almeida wrote: Stroller wrote: [snip] You haven't made it clear - in any of your subsequent posts, either - if sound is working for other applications. I have never configured sound. It has never worked. If you get a new email, does your laptop go bing!? Can you play an MP3 by double clicking on it or at the command line? What if you run mplayer at the command line on an AVI video? No sound. If you have only previously used your laptop for email, surfing the web or writing code, it's not clear that sound may *ever* have been Indeed this is the case and I am trying to get it to work since some tutorials I need to listen to are only available on video with audio. working on it. IMO you need to get sound working for a basic program that uses audio before worrying about Flash, which seems more problematic. Thanks, -- Valmor Stroller. After rebuilding the kernel with additional intel driver support and adding users to the audio group, sound was enabled. Thanks for the help. -- Valmor
Re: [gentoo-user] need sound to listen to a adobe flash video
Dale wrote: ...[snip]... At least you are past the kernel part and know the hardware should be working. I had to install alsamixergui to unmute mine. Since I have a somewhat bloated install, I'm not sure how you would unmute yours. You may have to install some kind of alsa to do that. I'm not really sure in this situation. Here is a link about alsa: http://www.alsa-project.org/main/index.php/Matrix:Module-intel8x0 I read in there that cards are muted by default. It says it this way: Now adjust your soundcard's volume levels. All mixer channels are muted by default. You must use a native mixer program to unmute appropriate channels, for example alsamixer from the alsa-utils package. I would do a emerge -p alsa-utils and just see if it is going to try to install the kitchen sink or just it and perhaps a couple others that you can live with. That help? Dale :-) :-) I think I am getting close. My video player is vlc and I reemerged with alsa support; that pulled only the relevant alsa packages. Then downloaded a flv video and played; no sound. But got some clue. [0x9e5e950] main demux error: no meta reader module matched any mdb:382, lastbuf:0 skipping granule 0 mdb:382, lastbuf:0 skipping granule 0 mdb:382, lastbuf:0 skipping granule 1 mdb:382, lastbuf:0 skipping granule 1 ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned erro r: No such file or directory ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error : No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default mdb:511, lastbuf:382 skipping granule 0 mdb:511, lastbuf:382 skipping granule 0 mdb:511, lastbuf:382 skipping granule 1 mdb:511, lastbuf:382 skipping granule 1 QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 Will follow the gentoo online doc on alsa to troubleshoot. Seems I will have to revisit my hal configuration? Thanks, -- Valmor
Re: [gentoo-user] Re: VGA output?
James Ausmus wrote: On Wed, Nov 4, 2009 at 9:47 AM, Grant emailgr...@gmail.com mailto:emailgr...@gmail.com wrote: How are you guys getting your laptops to do VGA output? My system functions fine without an xorg.conf right now. Do I need to create one if I want VGA output? - Grant Actually it works great after a reboot. Is there a better method for switching VGA output on and off than plug/unplug + reboot? Depending on the driver you are dealing with, regular old xrandr from the command-line should do the trick (or a wrapper app like krandrtray that Nikos suggested) HTH- James (A) ;) I use xrandr and do have an xorg.conf; some info I used in the past http://www.thinkwiki.org/wiki/Xorg_RandR_1.2 Typically I use my laptop on a port replicator attached to a VGA. I use windowmaker; after a switch from laptop monitor to vga or vice-versa, I need to restart wm; all through the command-line. -- Valmor
[gentoo-user] need sound to listen to a adobe flash video
Hello, I would appreciate some guidance in getting sound working such that I can listen to an adobe flash video. I am using firefox (have the adobe flash plugin installed which plays video but no sound) and a pretty updated gentoo laptop. Thanks in advance. -- Valmor PS: never tried to get sound working.
Re: [gentoo-user] Xorg slow after upgrade
Alan McKinnon wrote: On Saturday 31 October 2009 17:34:30 Valmor de Almeida wrote: [...] I am using kernel 2.6.30.9 i686 xorg-server 1.6.3.901-r2 xorg-x11 7.4-r1 xf86-video-intel 2.8.1 hal 0.5.12_rc1-r8 Also have some unresolved issues with windowmaker-0.92.0-r8 not accepting background images on workspaces, and glxgears results lower (by half) than I had with xorg-server-1.5: - glxgears 2095 frames in 5.0 seconds = 418.739 FPS 1800 frames in 5.0 seconds = 359.967 FPS 1881 frames in 5.0 seconds = 376.091 FPS 2097 frames in 5.0 seconds = 419.294 FPS 2097 frames in 5.0 seconds = 419.286 FPS 1887 frames in 5.0 seconds = 377.349 FPS 1891 frames in 5.0 seconds = 378.111 FPS 1911 frames in 5.0 seconds = 382.009 FPS Are either of you using KDE-4? I get this too, it's caused by plasma-desktop (top says it's 35% cpu) which makes X block on some IO (100% of one cpu). Killing and starting plasma-desktop fixes it for me. No I only use a window manager (windowmaker); ultraportable laptop. The result from glxgears used to be twice as much what is posted above when I had xorg-server-1.5. -- Valmor PS: Just realized that my imagemagick import application is not working (this adds to the list of unresolved issues I currently have with xorg). I can copy a section of my X window but the resulting image saved by import is just a black rectangle (imagemagick-6.5.2.9)
Re: [gentoo-user] Xorg slow after upgrade
Krzysztof Poc wrote: Hello I've recently upgraded my system and I found that Xorg redraws the screen very slowly. top shows me that X process takes up around 95% of the CPU while I have Intel Core 2 Duo. What's wrong with my system ? I have the following installed: kernel 2.6.30.7 #3 SMP (without PAE) xorg-server-1.6.3.901-r2 xorg-x11-7.4-r1 xf86-video-intel-2.8.1 I've also successfully migrated to X.org Server 1.6 and libxcb 1.4 as written in official gentoo documentation. great thanks for any indications I am using kernel 2.6.30.9 i686 xorg-server 1.6.3.901-r2 xorg-x11 7.4-r1 xf86-video-intel 2.8.1 hal 0.5.12_rc1-r8 Also have some unresolved issues with windowmaker-0.92.0-r8 not accepting background images on workspaces, and glxgears results lower (by half) than I had with xorg-server-1.5: - glxgears 2095 frames in 5.0 seconds = 418.739 FPS 1800 frames in 5.0 seconds = 359.967 FPS 1881 frames in 5.0 seconds = 376.091 FPS 2097 frames in 5.0 seconds = 419.294 FPS 2097 frames in 5.0 seconds = 419.286 FPS 1887 frames in 5.0 seconds = 377.349 FPS 1891 frames in 5.0 seconds = 378.111 FPS 1911 frames in 5.0 seconds = 382.009 FPS -- Valmor PS: I have fully recompiled, relinked, etc. all that is related to graphics.
Re: [gentoo-user] Re: glxgears with no ... gears?!
Mick wrote: Am I the only one with dodgy glxgears? Any ideas at all? On Tuesday 06 October 2009, Mick wrote: I've updated xorg following all relevant instructions by gentoo devs on an old laptop and when I run glxgears I get no graphic and pedestrian speeds: $ glxgears 629 frames in 5.0 seconds = 125.622 FPS 629 frames in 5.0 seconds = 125.718 FPS 627 frames in 5.0 seconds = 125.377 FPS If I maximise the window, still no gears just a black terminal window and I get: 93 frames in 5.0 seconds = 18.474 FPS It's never been that bad before. I've noticed that emerge -uDv world pulled in xorg-drivers and it also emerged xf86-video-ati. I attach the list of the packages that were emerged today and my Xorg.0.log, just in case you see something amiss in there. Please ask if you need more info. PS. I have no xorg.conf, but can post the *.fdi files if needed. No. See recent post: [gentoo-user] Xorg slow after upgrade -- Valmor
[gentoo-user] xorg-server-1.6: Window Maker received signal 6
Hello, I recently upgraded to xorg-server-1.6.3.901-r2 (gcc-4.3.4); followed all info on gentoo web site. Window Maker does not start; it pops up an error window: Window Maker received signal 6. I think the X server is running okay. I have re emerged windowmaker-0.92.0-r7 but the problem persists. Next I tried to start windowmaker with a default GNUstep/ and it works. I am wondering whether there is a fix for this without having to rebuild my customization into the GNUstep/ files. Thanks for inputs. -- Valmor
Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick
Keith Dart wrote: === On Mon, 08/31, Paul Hartman wrote: === Sure, it works fine for me using vfat. Be sure it's not mounted read-only, and be sure the write-protect switch on the device is not enabled. You may want to mount with the check=relaxed option to make file accesses case-insensitive (since FAT is not case sensitive itself). === Also use the user= option so the files and directories on it are owned by the you, the non-root user. -- Keith Dart Thanks for all responses. The user option solved the problem. -- Valmor
[gentoo-user] using SanDisk Ultra SDHC or USB memory stick
Hello, When I mount a SD memory card on my laptop, the format is NTFS and I am not able to write. Is there a way to write to it and still be compatible with Windows OS? Similarly when using a USB memory stick, the format is VFAT and I am also not able write. Is it possible to write and still preserver compatibility with Windows OS? Thanks, -- Valmor
Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR*
AJ Spagnoletti wrote: Using the link you posted I was able to get similar numbers on my card, if you scroll down to the bottom of the page there where it talks about driconf, and set up your drirc file you should be able to apply these settings system wide. I am still have some issues with compiz-fusion running smoothly I currently dont have the cube working it lags very bad with that. I will do some more research into the kernel bug and see if upgrading and re-enabling tiling fixes this issue. Thanks for the link and pointing me in the right direction. AJ Indeed I am also using driconf; do get faster FPS Still get the fences failed, etc... -- Valmor
[gentoo-user] ooimpress: Message: don't know how to handle video
Hello, I have emerged openoffice with USE gstreamer and java. Still unable to import a movie. Just about any movie format I try I get: --com.sun.star.media.Manager_GStreamer uno reference ** Message: don't know how to handle video/x-msvideo ** Message: don't know how to handle video/x-msvideo ** Message: don't know how to handle video/x-msvideo Either using Tools-Media Player or Insert-Movie and Sound I get the same message. Any inputs appreciated. Thanks, -- Valmor
Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR*
Neil Bothwick wrote: On Thu, 28 May 2009 01:44:58 -0400, Valmor de Almeida wrote: Anytime I fireup openoffice-3.0.0 components, I get this message at the command prompt: get fences failed: -1 param: 6, val: 0 I used to get this, although it caused no apparent problems. The message disappeared after upgrading to OOo 3.1.0. Whether it was the upgrade or rebuilding OOo that fixed it, I have no idea. I just noticed that I do get the same messages when I run glxinfo and glxgears In fact glxgears seems quite slow: - glxgears get fences failed: -1 param: 6, val: 0 300 frames in 5.0 seconds = 59.565 FPS 298 frames in 5.0 seconds = 59.524 FPS 299 frames in 5.0 seconds = 59.737 FPS 300 frames in 5.0 seconds = 59.884 FPS Also I finally can reproduce a strange thing that I see when I run ooimpress, namely as the mouse pointer moves from the original window where the application was run to another window, a portion of the original window is highlighted as if it were selected for copy? Not sure I am doing a good job at describing it. For instance the frames info I listed above cannot be seen on the window once I move the mouse pointer out of it because the entire window is highlighted; in my case with yellow color. Then I kill glxgears and scroll the xterm up and down to see the frames output from glxgears; always ~60 FPS. Shouldn't I be getting a lot more? I wonder whether I should reemerge mesa? I just did an updated of x11 * x11-base/xorg-server Latest version available: 1.5.3-r6 Latest version installed: 1.5.3-r6 Size of files: 5,549 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org X servers License: xorg-server MIT * x11-base/xorg-x11 Latest version available: 7.2 Latest version installed: 7.2 Size of files: 0 kB Homepage: http://xorg.freedesktop.org Description: An X11 implementation maintained by the X.Org Foundation (meta package) License: as-is Thanks for any inputs. -- Valmor - glxinfo name of display: :0.0 get fences failed: -1 param: 6, val: 0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap GLX version: 1.2 GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20090114 OpenGL version string: 1.4 Mesa 7.4 OpenGL extensions: GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_env_combine
Re: [gentoo-user] Re: [SOLVED] Re: xterm fonts not loaded
Nikos Chantziaras wrote: Valmor de Almeida wrote: Paul Hartman wrote: And specifically make sure that media-fonts/font-misc-misc is not having problems. It was not installed. Now xterm is happy. Thanks, Hmm, how can that be? It's a dependency of x11-base/xorg-x11. My xorg has been acting strange since the update to 1.5. Little problems here and there. As of now I need font-misc-misc emerged into world. Therefore - equery depends font-misc-misc [ Searching for packages depending on font-misc-misc... ] There were other posts in this list with the same problem. -- Valmor
Re: [gentoo-user] Cleaning up world
Volker Armin Hemmann wrote: Look into /usr/portage/profiles/base/packages. Everything in there must not be in your world file. Afterwards start the big deleting. You have gnome installed? Remove everything X11, glib, gtk from world. kde? qt does not belong there. With a little bit of thinking you can reduce world A LOT. I find sys-devel/gcc in my world file. It is listed in ...base/packages too. How exactly do I remove it from world? Just edit the world file by removing the sys-devel/gcc line and do a revdep-rebuild --ignore followed by a emerge --depclean ? Thanks for inputs; I don't want to break my system. -- Valmor
Re: [gentoo-user] Re: [SOLVED] Re: xterm fonts not loaded
Nikos Chantziaras wrote: Valmor de Almeida wrote: Nikos Chantziaras wrote: Valmor de Almeida wrote: Paul Hartman wrote: And specifically make sure that media-fonts/font-misc-misc is not having problems. It was not installed. Now xterm is happy. Thanks, Hmm, how can that be? It's a dependency of x11-base/xorg-x11. My xorg has been acting strange since the update to 1.5. Little problems here and there. As of now I need font-misc-misc emerged into world. Therefore - equery depends font-misc-misc [ Searching for packages depending on font-misc-misc... ] There were other posts in this list with the same problem. Weird. Here's mine: equery depends font-misc-misc * Searching for font-misc-misc ... x11-base/xorg-x11-7.4 (=media-fonts/font-misc-misc-1.0.0) How can that be? Do you actually have x11-base/xorg-x11-7.4 installed? If not, I can imagine many problems popping up. No I am using the stable 7.2 * x11-base/xorg-x11 Latest version available: 7.2 Latest version installed: 7.2 Size of files: 0 kB Homepage: http://xorg.freedesktop.org Description: An X11 implementation maintained by the X.Org Foundation (meta package) License: as-is I typically try to stick with the stable version of packages specially when dealing with xorg. I wonder whether other problems I am having are related to the version of xorg-x11 I am using. Thanks, -- Valmor
Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR*
AJ Spagnoletti wrote: - glxgears get fences failed: -1 param: 6, val: 0 300 frames in 5.0 seconds = 59.565 FPS 298 frames in 5.0 seconds = 59.524 FPS 299 frames in 5.0 seconds = 59.737 FPS 300 frames in 5.0 seconds = 59.884 FPS I have run into this same problem following an xorg-server upgrade, The problem started with the upgrade to xorg-server-1.5.x, using intel graphics driver version 2.7.1 and mesa version 7.4.2, my thread ran dead and as of writing this email I still have yet to find a solution to the problem. To the best of my knowledge there are known issues with new versions of the intel video drivers, however I cannot personally confirm this nor do I know of any plans or time line for the fixes to be made. AJ Same here the upgrade to xorg-server-1.5.x introduced lots of surprises. There were too many changes for me: upgrade of gcc to 4.3.2, and configuration of hal (a difficult thing to do on a laptop at the moment). What really slowed me down was that for some unknown reason my windowmaker was completely messed up and took me almost a day to get it fixed. Back to the glxgears problem. This is critical for me since my ooimpress presentations have embedded animated gifs and they play really really slow under slideshow after the xorg upgrade. A random run of glxgears gave me this clue (go figure; I must have ran glxgears a hundred times before I saw this message) - glxgears get fences failed: -1 param: 6, val: 0 298 frames in 5.0 seconds = 59.518 FPS 297 frames in 5.0 seconds = 59.293 FPS 297 frames in 5.0 seconds = 59.281 FPS do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. Try adjusting the vblank_mode configuration parameter. Googling vblank_mode on the web I came across this web site http://en.gentoo-wiki.com/wiki/Intel_GMA which is pertinent to my hardware and kernel/drivers. Therefore if I do - vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. get fences failed: -1 param: 6, val: 0 4418 frames in 5.0 seconds = 883.510 FPS 4490 frames in 5.0 seconds = 897.871 FPS 4491 frames in 5.0 seconds = 898.054 FPS 4481 frames in 5.0 seconds = 896.043 FPS 4382 frames in 5.0 seconds = 876.251 FPS I get much better performance as I used to have before the xorg upgrade. This is where I am now trying to gather information on how to deal with dri and vblank_mode settings. Hope this helps. -- Valmor
[SOLVED] Re: [gentoo-user] xterm fonts not loaded
Paul Hartman wrote: And specifically make sure that media-fonts/font-misc-misc is not having problems. It was not installed. Now xterm is happy. Thanks, -- Valmor
Re: [gentoo-user] fontset
Gavin Seddon wrote: Hi, When I try to run snns I get 'Warning: Cannot convert string 7x13bold to type FontStruct Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Can't find display font specified in command line [1]Exit 1snns' can anyone help me pls? gs From a previous thread: reemerge or install: font-misc-misc -- Valmor
[gentoo-user] how to move overlays to a new storage location
Hello, A recent update of layman changed the storage variable in /etc/layman/layman.cfg to storage : /usr/local/portage/layman It was previously /usr/portage/local/layman. As a result I would like to move things to the new location. I actually like it better under /usr/local/portage. Is this just a matter of manually fixing the content of the files: /etc/makec.conf and /usr/portage/local/layman/make.conf to reflect the change and moving the directory /usr/portage/local/ to /usr/local/portage/ ? Thanks, -- Valmmor
[gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR*
Hello, Anytime I fireup openoffice-3.0.0 components, I get this message at the command prompt: get fences failed: -1 param: 6, val: 0 and a line in the /var/log/messages file [drm:i915_getparam] *ERROR* Unknown parameter 6 does anyone know what these mean? The application runs but apparently unusually slow when in slide show mode. This started after an update to xorg-server-1.5.3/hal-0.5.11-r8 and gcc-4.3.2 Thanks, -- Valmor - equery uses openoffice [ Searching for packages matching openoffice... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [: Right column (I) - USE flags packages was installed with ] [ Found these USE variables for app-office/openoffice-3.0.0 ] U I + + cups : Add support for CUPS (Common Unix Printing System) + + gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) + + linguas_en: English locale + + linguas_en_GB : English locale for Britain + + linguas_en_US : English locale + + opengl: Adds support for OpenGL (3D graphics) + + pam : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
[gentoo-user] xterm fonts not loaded
Hello, After an update to xorg-1.5.3 (with hal), following the gentoo xorg 1.5 update guide doc, I get warnings when launching a simple xterm. Also when trying to change the font size (ctrl+left_mouse_button) I get additional warnings and no font change. Do I need to emerge font packages? Thanks, -- Valmor Warning: Cannot convert string nil2 to type FontStruct xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset xterm: cannot load font -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
[gentoo-user] Re: xterm fonts not loaded
Valmor de Almeida wrote: Hello, After an update to xorg-1.5.3 (with hal), following the gentoo xorg 1.5 update guide doc, I get warnings when launching a simple xterm. Also when trying to change the font size (ctrl+left_mouse_button) I get additional warnings and no font change. Do I need to emerge font packages? Thanks, -- Valmor Warning: Cannot convert string nil2 to type FontStruct xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset xterm: cannot load font -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 Just to add to the info above; from Xorg.0.log (WW) The directory /usr/share/fonts/TTF/ does not exist. Entry deleted from font path. (WW) The directory /usr/share/fonts/OTF does not exist. Entry deleted from font path. (WW) The directory /usr/share/fonts/TTF/ does not exist. Entry deleted from font path. (WW) The directory /usr/share/fonts/OTF does not exist. Entry deleted from font path. (**) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/, /usr/share/fonts/misc/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/, built-ins (**) ModulePath set to /usr/lib/xorg/modules Thanks, -- Valmor
SOLVED Re: [gentoo-user] Re: mouse button mapping with evdev+hal+xorg-1.5.3
ABCD wrote: names begin with two digits, so as to facilitate sorting. Also, it appears that you might not have restarted hal after adding the file - try /etc/init.d/hald restart, then restart X. Also, after doing so, if it doesn't work, reply with the full output of `lshal` (yes, I know it's long, but it can be helpful. Also, again if it doesn't work, send the contents of all files under /etc/hal/fdi/policy/. Indeed. After a restart, all fine. Thanks, -- Valmor
Re: [gentoo-user] Re: mouse button mapping with evdev+hal+xorg-1.5.3
ABCD wrote: As I understand it, everything that can be done in xorg.conf can be done via HAL, but I'm not sure how you would do so for the video devices. That said, you should be able to completely get rid of the input devices in xorg.conf, and instead install this in a file in /etc/hal/fdi/policy: --- 8 --- /etc/hal/fdi/policy/99-local.fdi --- 8 --- ?xml version=1.0 encoding=UTF-8? deviceinfo version=0.2 device match key=info.capabilities contains=input.mouse merge key=input.x11_driver type=stringevdev/merge merge key=input.x11_options.ZAxisMapping type=string4 5 6 7/merge merge key=input.x11_options.ButtonMapping type=string3 2 1/merge /match /device /deviceinfo --- 8 --- /etc/hal/fdi/policy/99-local.fdi --- 8 --- This sets the options for each device that has the input.mouse capability to the same values you had in xorg.conf. This partially solved the problem. The optical mice were correctly configured but the quick pointing device on the laptop keyboard was not. That is the left/right buttons were not switched. HAL does list (below) the device in two entries that contain the input.mouse keyword. I find it difficult to get info on configuring HAL devices on the web; do I need to join a mailing list? It would be helpful to find some examples of the naming of the fdi files their contents that go under the /etc/hal/*/policy/ directory. Thanks for the help and any other additional inputs. -- Valmor udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input_0' info.capabilities = {'input', 'input.mouse', 'input.touchpad'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string) info.product = 'AlpsPS/2 ALPS DualPoint TouchPad' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input_0' (string) input.device = '/dev/input/event8' (string) input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string) input.product = 'AlpsPS/2 ALPS DualPoint TouchPad' (string) input.x11_driver = 'evdev' (string) linux.device_file = '/dev/input/event8' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'input' (string) linux.sysfs_path = '/sys/devices/platform/i8042/serio4/input/input8/event8' (string) udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input' info.capabilities = {'input', 'input.mouse'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string) info.product = 'DualPoint Stick' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input' (string) input.device = '/dev/input/event7' (string) input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string) input.product = 'DualPoint Stick' (string) input.x11_driver = 'evdev' (string) linux.device_file = '/dev/input/event7' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'input' (string) linux.sysfs_path = '/sys/devices/platform/i8042/serio4/input/input7/event7' (string)
Re: [gentoo-user] Capture dmesg output on boot?
Dan Cowsill wrote: Adam Carter wrote: Have you tried shift+PgUp ? I have no idea if it will work in that circumtance... Remember that depending how you setup the kernel the IDE devices could be hdX or sdX. Thanks, Yes, I've tried shift+pgUp and it doesn't appear to work. And yes, I've verified that my root argument is the proper notation. D I had similar problem in the past when the livecd would boot on hda but once I booted into the new kernel I had to set fstab to sda. As far as saving the messages during boot, there is a kernel parameter that allows for scrolling the messages but only after the hd is mounted. This is too late for checking kernel panic messages for example. -- Valmor
[gentoo-user] mouse button mapping with evdev+hal+xorg-1.5.3
Hello, After an evdev+hal+xorg-1.5.3 upgrade, I suppose I don't need a input device section for a mouse in my xorg.conf. (I do need xorg.conf so I can get an external monitor working with my laptop correctly). However I would like to reverse the order of the buttons and this old xorg.conf section does not do it: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 Option ButtonMapping 3 2 1 EndSection My driver now is evdev but how about the device driver line? still /dev/.../mice? or something else out of the lshal output? info.product = 'Microsoft Basic Optical Mouse' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_45e_83_noserial_if0_logicaldev_input' (string) input.device = '/dev/input/event7' (string) Thanks, -- Valmor
[gentoo-user] Re: mouse button mapping with evdev+hal+xorg-1.5.3
Valmor de Almeida wrote: Hello, After an evdev+hal+xorg-1.5.3 upgrade, I suppose I don't need a input device section for a mouse in my xorg.conf. (I do need xorg.conf so I can get an external monitor working with my laptop correctly). However I would like to reverse the order of the buttons and this old xorg.conf section does not do it: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 Option ButtonMapping 3 2 1 EndSection My driver now is evdev but how about the device driver line? still /dev/.../mice? or something else out of the lshal output? info.product = 'Microsoft Basic Optical Mouse' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_45e_83_noserial_if0_logicaldev_input' (string) input.device = '/dev/input/event7' (string) Thanks, -- Valmor Okay. If I do Driver evdev Option Device /dev/input/event7 it works. However the touchpad which is event9 does not reverse buttons (as expected). Do I need to configure a second input device and point it to the appropriate event? Is this the right way of configuring evdev/xorg through hal? Thanks, -- Valmor
[SOLVED] Re: [gentoo-user] unable to login to user account or do su - username
Alan McKinnon wrote: experiment to see if it's the new hashes that are doing it. Find an account that can sudo to root on the affected machines and examine the shadow file. See what kind of hashes the affected accounts are using. md5 is 34 characters long and sha512 is 98 in this format: $x$salt$hash x is 1 for md5 and 6 for sha512. salt is 8 characters for both Thanks for spending time with this. After looking at the shadow file, I have accounts with both md5 and sha512. In particular affected accounts that have md5 and sha512. I looked closely at the .bashrc (used echo made to here marks to follow the login sequence) of the bad accounts and they were all sourcing a script from a third-party package that went bad after the OS update. Luckily this was not in all accounts and specially not in the root account. Otherwise I would have been locked outside the machine. After getting rid of that line in the users .bashrc all returned to normal. One more thing to do was to uncomment the line PrintMotd no PrintLastLog no in /etc/sshd_config to avoid the double motd/last log messages upon login.I guess after the portage update, pam is now printing that. Here's mine which works: authinclude system-auth account include system-auth passwordinclude system-auth session include system-auth And you did confirm that sudo checks for wheel group membership, and that you are still in this group? This is exactly like mine. Thanks for all the help. -- Valmor
Re: [gentoo-user] unable to login to user account or do su - username
Florian Philipp wrote: A low hanging fruit: Maybe the user wrote 'exit' or 'exec' into her .bashrc By the way: Which shell is defined in /etc/passwd? .bashrc is fine. The shell is /bin/bash Thanks, -- Valmor
Re: [gentoo-user] unable to login to user account or do su - username
Mike Kazantsev wrote: I don't know about motd, but the rest looks like pam problem to me, if you're using pam, of course. Try 'euse -i pam' to see if it's enabled. If that's the case, first of all I'd suggest to check etc-update. Then look through /etc/pam.d, especially system-* files. There you can remove some of the required (for successfull authentication) modules, so their failure won't affect the process. Yeah. It is my feeling too that pam may be a problem. I've been comparing the system files against my other gentoo machine and they are just the same. However the fact that motd appears twice even when I login as root continues to puzzle me. I've checked all user accounts and only 3 out of 37 accounts have the login/su problem. I will create some new accounts and see what happens. Thanks, -- Valmor
Re: [gentoo-user] unable to login to user account or do su - username
Alan McKinnon wrote: On Sunday 03 May 2009 04:53:41 Mike Kazantsev wrote: On Sat, 02 May 2009 20:52:39 -0400 I don't know about motd, but the rest looks like pam problem to me, if you're using pam, of course. Try 'euse -i pam' to see if it's enabled. If that's the case, first of all I'd suggest to check etc-update. Then look through /etc/pam.d, especially system-* files. There you can remove some of the required (for successfull authentication) modules, so their failure won't affect the process. And read the elogs. There's been some pam updates come through on my machines the last few weeks/months. I re-emerged pam and following this message: -- LOG: postinst Starting from version 20080801, pambase optionally enables SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1 built against sys-libs/glibc-2.7 or later. If you don't have support for this, it will automatically fallback to MD5-hashed passwords, just like before. Please note that the change only affects the newly-changed passwords and that SHA512-hashed passwords will not work on earlier versions of glibc or Linux-PAM. -- I edited /etc/login.defs # This variable is deprecated. You should use ENCRYPT_METHOD. # #MD5_CRYPT_ENAB yes # Note: If you use PAM, it is recommended to use a value consistent with # the PAM modules configuration. # #ENCRYPT_METHOD DES ENCRYPT_METHOD SHA512 --- since I find this in /etc/pam.d/system-auth passwordrequiredpam_unix.so try_first_pass use_authtok nullok sha512 shadow -- After these changes (do I need to reboot? I am doing this remotely so I will have to wait till I can sit on the console) still can't login or su to 3 of the accounts. Also created a new account and no luck login to to it nor using su. Apparently newly created accounts definitely are affected. Older accounts still work (???) I have used a debug option on the pam modules but didn't manage to get additional info in the /var/log/message file. Thanks for any suggestions. -- Valmor
[gentoo-user] unable to login to user account or do su - username
Hello, After a system/world update my user account dealmeida cannot be logged to or root cannot su to it. When su - dealmeida is issued at the root command prompt, it immediately returns to root. When login is at the console the motd appears (twice; why?) and then the session is closed. In the /var/log/messages I get May 2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root May 2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened for user dealmeida by root(uid=0) May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed for user dealmeida No other account has this problem. Any ideas? Thanks, -- Valmor
Re: [gentoo-user] unable to login to user account or do su - username
Paul Hartman wrote: On Sat, May 2, 2009 at 7:52 PM, Valmor de Almeida val.gen...@gmail.com wrote: Hello, After a system/world update my user account dealmeida cannot be logged to or root cannot su to it. When su - dealmeida is issued at the root command prompt, it immediately returns to root. When login is at the console the motd appears (twice; why?) and then the session is closed. In the /var/log/messages I get May 2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root May 2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened for user dealmeida by root(uid=0) May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed for user dealmeida No other account has this problem. Any ideas? Thanks, Is the user's shell set properly? I made no changes in the account and looked over the . startup files; they look okay. Also, the output of password -S dealmeida are fine. Still puzzled why motd appears twice even at root login. Thanks -- Valmor