Re: [gentoo-user] flash drive FAT partition disappears
On Thu, 19 Nov 2009 04:30:46 +0100, Jesús Guerrero wrote: Even if you didn't, in my understanding, all that could cause (normally) is a broken file system. The effects will usually depends on whatever was happening at the moment, and at the fs you are using. As he was only reading from the drive, I doubt he could have corrupted the filesystem, let alone the partition table. Some mount options can influence this as well. To palliate the effects of a catastrophic plug off without having umounted before you can use the -osync mount option, which will enable synchronous writes (making your device seems slower, because writes will no longer be deferred/cached for a later oportunity). However, these increase writes to the device, particularly to the FAT, shortening the life of the drive. I suspect you did nothing wrong and that the problem is either a coincidental hardware failure or something the owner did to the stick after you returned it. Convincing the owner of that is another matter. -- Neil Bothwick Of all the people I've met you're certainly one of them signature.asc Description: PGP signature
Re: [gentoo-user] flash drive FAT partition disappears
On 19 Nov 2009, at 03:30, Jesús Guerrero wrote: ... In any case, and to max the chance to recover anything, the first thing you should be doing is an image of the device, using dd, just in case. This. Then run Photorec on the image. http://www.cgsecurity.org/wiki/PhotoRec Stroller.
Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
2009/11/18 Albert Hopkins mar...@letterboxes.org I've succesfullly installed Networkmanager and nm-applet with all the plugins under Gnome / Kde-4-3 using the instructions can be found at gentoo-wiki. It is working perfectly for wired and wireless LAN but not for any VPN (this part of the applet is grey I was searching the archive and googled this thing but I cannot find a solution, so I decided to ask you :) I suppose this is some problem with the dbus registration of the plugins, but I'm not sure Why do you suppose that? Have you looked at the logs. In my experience the NetworkManager daemon spits out plenty of info by default in syslog. Have a look at those. Paste those so we're not wandering around in the dark. -a Here is my log after starting Networkmanager. It is not talking about any vpnc or openvpn stuff...do you have any idea? /etc/init.d/NetworkManager start * Starting NetworkManager ... Nov 19 12:18:48 brutal NetworkManager: info starting... [ ok ] brutal ~ # Nov 19 12:18:49 brutal NetworkManager: nm_device_ethernet_new: assertion `driver != NULL' failed Nov 19 12:18:49 brutal NetworkManager: nm_device_ethernet_new: assertion `driver != NULL' failed Nov 19 12:18:49 brutal NetworkManager: info (eth0): new Ethernet device (driver: 'tg3') Nov 19 12:18:49 brutal NetworkManager: info (eth0): exported as /org/freedesktop/Hal/devices/net_00_26_55_c9_e5_22 Nov 19 12:18:49 brutal NetworkManager: info (wlan0): driver supports SSID scans (scan_capa 0x01). Nov 19 12:18:49 brutal NetworkManager: info (wlan0): new 802.11 WiFi device (driver: 'iwlagn') Nov 19 12:18:49 brutal NetworkManager: info (wlan0): exported as /org/freedesktop/Hal/devices/net_00_1e_65_72_ab_2e Nov 19 12:18:49 brutal NetworkManager: info (ttyS0): ignoring due to lack of mobile broadband capabilties Nov 19 12:18:53 brutal kernel: tg3 :85:00.0: wake-up capability disabled by ACPI Nov 19 12:18:53 brutal kernel: tg3 :85:00.0: PME# disabled Nov 19 12:18:53 brutal NetworkManager: info (eth0): device state change: 1 - 2 Nov 19 12:18:53 brutal NetworkManager: info (eth0): bringing up device. Nov 19 12:18:53 brutal kernel: tg3 :85:00.0: irq 32 for MSI/MSI-X Nov 19 12:18:53 brutal kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready Nov 19 12:18:53 brutal NetworkManager: info (eth0): preparing device. Nov 19 12:18:53 brutal NetworkManager: info (eth0): deactivating device (reason: 2). Nov 19 12:18:53 brutal vmnetBridge: RTM_NEWLINK: name:eth0 index:3 flags:0x1003 Nov 19 12:18:53 brutal vmnetBridge: Can't remove interface eth0 3 (does not exist). Nov 19 12:18:53 brutal NetworkManager: info (wlan0): device state change: 1 - 2 Nov 19 12:18:53 brutal NetworkManager: info (wlan0): bringing up device. Nov 19 12:18:53 brutal vmnetBridge: RTM_NEWLINK: name:wlan0 index:5 flags:0x1003 Nov 19 12:18:53 brutal vmnetBridge: Can't remove interface wlan0 5 (does not exist). Nov 19 12:18:53 brutal kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready Nov 19 12:18:53 brutal NetworkManager: info (wlan0): preparing device. Nov 19 12:18:53 brutal NetworkManager: info (wlan0): deactivating device (reason: 2). Nov 19 12:18:53 brutal NetworkManager: info (wlan0): device state change: 2 - 3 Nov 19 12:18:53 brutal vmnetBridge: RTM_NEWLINK: name:wlan0 index:5 flags:0x1003 Nov 19 12:18:53 brutal vmnetBridge: Can't remove interface wlan0 5 (does not exist). Nov 19 12:18:53 brutal NetworkManager: info (wlan0): supplicant interface state: starting - ready Nov 19 12:18:54 brutal kernel: tg3: eth0: Link is up at 100 Mbps, full duplex. Nov 19 12:18:54 brutal kernel: tg3: eth0: Flow control is on for TX and on for RX. Nov 19 12:18:54 brutal kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Nov 19 12:18:54 brutal NetworkManager: info (eth0): carrier now ON (device state 2) Nov 19 12:18:54 brutal NetworkManager: info (eth0): device state change: 2 - 3 Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) starting connection 'Auto eth0' Nov 19 12:18:54 brutal NetworkManager: info (eth0): device state change: 3 - 4 Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) Stage 1 of 5 (Device Prepare) started... Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) Stage 1 of 5 (Device Prepare) complete. Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) Stage 2 of 5 (Device Configure) starting... Nov 19 12:18:54 brutal NetworkManager: info (eth0): device state change: 4 - 5 Nov 19 12:18:54 brutal vmnetBridge: RTM_NEWLINK: name:eth0 index:3 flags:0x00011043 Nov 19 12:18:54 brutal NetworkManager: info Activation (eth0) Stage 2 of 5 (Device Configure) successful. Nov 19 12:18:54 brutal NetworkManager: info Activation
Re: [gentoo-user] cdrecord fails to burn dvd
José Romildo Malaquias j.romi...@gmail.com wrote: On Mon, Nov 16, 2009 at 03:43:12PM +0100, Joerg Schilling wrote: José Romildo Malaquias j.romi...@gmail.com wrote: To find the reason for the following Impossible because illegal error situation: Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s CDB: 00 00 00 00 00 00 cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error CDB: 00 00 00 00 00 00 cmd finished after 0.000s timeout 40s please run the command again and add debug=2 to the list of options. I am attaching the compressed output of the command: script -f -c cdrecord -v debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso cdrecord.log I cannot see any problem like the problem above. BTW: this may be caused by the fact that you did not simply add debug=2 but at the same time removed -V. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
[gentoo-user] Xorg / Intel VGA and multiple display
Hi, I have the following set-up HP 6530B laptop with 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 1440x900 Laptop LCD resolution 1600x1200 Ext LCD resolution connected to the DVI port of the docking station Currently my multi monitor support not working at all and single also looks very buggy. When I start X the LCD screen is fine at 1440x900 and same at my external LCD. When I start monitor applet, my external LCD changes to 1600x1200 together with my internal (which become useless from this point) The ideal solution would be to use dual monitor with the native resolution of both device and different screen on the two monitors. As I heard with Intel VGA it is not an easy job For me it would be a big results if my internal display can keep the resolution after I connect to the external one, so when I remove my laptop from the docking station I can still use it without restarting xdm :) I was searching for a working xorg.conf but I cannot find any. Maybe some of you already faced with this problem and can send me a working config or can show me some resources where I can find out more info on this topic Thank you Laszlo --- [I] x11-drivers/xf86-video-intel Available versions: 2.6.3-r1 (~)2.7.1 2.8.1 (~)2.9.0 (~)2.9.1 {debug dri} Installed versions: 2.9.1(16.13.53 2009-11-13)(dri -debug) Homepage:http://xorg.freedesktop.org/ Description: X.Org driver for Intel cards [I] x11-base/xorg-server Available versions: 1.5.3-r6 ~1.5.3-r7 1.6.3.901-r2 ~1.6.4 ~1.6.5 ~1.7.1 {3dfx debug dmx hal input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom ipv6 kdrive minimal nptl sdl tslib video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_fglrx video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_imstt video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vermilion video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi xorg} Installed versions: 1.6.3.901-r2(00.07.36 2009-10-10)(hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib) Homepage:http://xorg.freedesktop.org/ Description: X.Org X servers [I] x11-base/xorg-drivers Available versions: 1.6 ~1.7 {input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_fglrx video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_imstt video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vermilion video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi} Installed versions: 1.6(15.47.46 2009-11-16)(input_devices_evdev input_devices_keyboard input_devices_mouse video_cards_fbdev video_cards_glint video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nv video_cards_r128 video_cards_radeon video_cards_savage video_cards_sis video_cards_tdfx video_cards_trident
Re: [gentoo-user] configuring wlan0
On Wednesday 18 November 2009 17:11:05 Michael P. Soulier wrote: On 18/11/09 Alan McKinnon said: Forget all about conf.d/net, and disable the init scripts for it. Install and run wicd instead. I'll look into it, but the Gentoo Handbook still points at conf.d/net, so should there not be an update if it has fallen out of favour? Should the bugs in conf.d/net not be fixed? conf.d/net is not buggy - it is suitable for static networking where the interfaces never change and neither does the address. It is simply inadequate for desktop use, *especially* roaming laptops. A side note in the docs to this effect would not be amiss. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] configuring wlan0
On Thursday 19 November 2009 01:39:23 Michael P. Soulier wrote: On 18/11/09 Space Cakex said: for me the best solution is to use networkmanager, delete net scripts and everything plus install nm-applet, so I have a real user friendly look and feel :) my only issue now is vpnc (see my other mail) I'm not a fan of networkmanager. On my ubuntu laptop I use whereami. On this gentoo desktop, it doesn't roam. I want one network config to set a static IP on my wireless card, always to the same essid. That's easy enough, here's what I used to use: x means the essid y means the wep passphrase modules=( dhclient ) modules=( iwconfig ) config_eth0=( dhcp ) essid_wlan0=x key_x=s:'y' enc open preferred_aps_wlan0=( x ) channel_wlan0=11 config_x=( dhcp ) config_wlan0=(dhcp) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
On Thu, 2009-11-19 at 12:28 +0100, SpaceCake wrote: Here is my log after starting Networkmanager. It is not talking about any vpnc or openvpn stuff...do you have any idea? It doesn't talk about openvpn stuff until/unless you actually attempt to open an openvpn connection.
Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1
On Thursday 19 November 2009 04:33:14 Philip Webb wrote: Extensive Googling found 1 useful hint of where the problem might lie: http://stackoverflow.com/questions/1087580/resource-temporarily-unavaila ble-in-boost-asio 'Resource temporarily unavailable' is normally the text description for EAGAIN, indicating that the operation should be retried ... It's generally worth looking at the man page for the underlying libc function; which is recvfrom in this case Yes, 'man recvfrom' has rather opaque info which mb relevant ... (sigh) Relevant, perhaps, but not useful - to me, at least. I'll just have to wait for the next release of X. Thanks anyway. -- Rgds Peter
[gentoo-user] Re: Downgrade glibc-2.11 to 2.10
* Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten
Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
yes, but as I told earlier in nm-applet this section is grey, so I cannot add vpn configs. when I start vpnc with the correct config from root's shell, it is working perfectly and connect me to the vpn gw I use, so this is why I said the problem maybe in the deep somewhere around dbus communication, but I'm not sure Laszlo 2009/11/19 Albert Hopkins mar...@letterboxes.org On Thu, 2009-11-19 at 12:28 +0100, SpaceCake wrote: Here is my log after starting Networkmanager. It is not talking about any vpnc or openvpn stuff...do you have any idea? It doesn't talk about openvpn stuff until/unless you actually attempt to open an openvpn connection.
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Thursday 19 November 2009 16:52:39 Thorsten Kampe wrote: * Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten the important ones are firefox and amarok (had to downgrade binutils to get amarok to access it's collection at all) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Reading a DVD as an ISO image
On Wed, Nov 18, 2009 at 09:36:03AM -0600, Paul Hartman wrote: 2009/11/18 José Romildo Malaquias j.romi...@gmail.com: On Tue, Nov 17, 2009 at 04:54:20PM +, Grant Edwards wrote: On 2009-11-17, Marcus Wanner marc...@cox.net wrote: My guess is that he has a slow internet connection, he downloaded a large iso, burned it, deleted it, and now wants to get the iso back without downloading it again, but he has access to the checksum/filesize of the original iso from the place he downloaded it, and when he makes an iso, the checksum/filesize does not match. In my experience that happens because one or the other of the images has extra garbage blocks past the end of the actual ISO filesystem image. If you look at the ISO filesystem header and find the actual size of the image, it's probably smaller than the image file. If you only compare the bytes within the ISO image itself, I bet the two will match. In fact the size of the iso images obtained with dd and with cdread are a little bit larger than the original one. The iso image obtained by mkisofs on the mounted disc (with the udf filesystem type) are of the right size, but still not identical to the original. This webpage has some info about comaring ISO images to burnt discs and a possible solution: http://twiki.org/cgi-bin/view/Wikilearn/CdromMd5sumsAfterBurning Thanks for the link. As I know the size and the sha1sum of the original ISO image, I succeeded in creating an identical ISO image from the dvd disc with the command: dd if=/dev/dvd | head -c 4610877440 /var/tmp/image2.iso Is it possible to do something similar using readcd instead of dd? Romildo
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 16:52:39 Thorsten Kampe wrote: * Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten the important ones are firefox and amarok (had to downgrade binutils to get amarok to access it's collection at all) both work fine here - with glibc 2.11 and without workarounds. but have you tried MALLOC_CHECK_?
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Thursday 19 November 2009 17:27:26 Volker Armin Hemmann wrote: On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 16:52:39 Thorsten Kampe wrote: * Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten the important ones are firefox and amarok (had to downgrade binutils to get amarok to access it's collection at all) both work fine here - with glibc 2.11 and without workarounds. but have you tried MALLOC_CHECK_? Not yet, that check will have to wait for later tonigh as I have just seen the elog for qt-core.4.6.0_rc1 (which explains why I can't launch new apps since lunchtime.) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 17:27:26 Volker Armin Hemmann wrote: On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 16:52:39 Thorsten Kampe wrote: * Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten the important ones are firefox and amarok (had to downgrade binutils to get amarok to access it's collection at all) both work fine here - with glibc 2.11 and without workarounds. but have you tried MALLOC_CHECK_? Not yet, that check will have to wait for later tonigh as I have just seen the elog for qt-core.4.6.0_rc1 (which explains why I can't launch new apps since lunchtime.) sometimes it is a good idea to read planet.gentoo.org before you do an update ;)
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Thursday 19 November 2009 17:37:16 Volker Armin Hemmann wrote: On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 17:27:26 Volker Armin Hemmann wrote: On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 16:52:39 Thorsten Kampe wrote: * Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten the important ones are firefox and amarok (had to downgrade binutils to get amarok to access it's collection at all) both work fine here - with glibc 2.11 and without workarounds. but have you tried MALLOC_CHECK_? Not yet, that check will have to wait for later tonigh as I have just seen the elog for qt-core.4.6.0_rc1 (which explains why I can't launch new apps since lunchtime.) sometimes it is a good idea to read planet.gentoo.org before you do an update ;) Timeline: T minus 10: read planet. Nothing new. T minus 8: emerge -avuND world T minus 6: examine list, fix blockers, fix dumbass USE requirements, enter T minus 4: do work $STUFF T minus 2: new planet post in RSS reader T minus 0: oh shit -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 17:37:16 Volker Armin Hemmann wrote: On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 17:27:26 Volker Armin Hemmann wrote: On Donnerstag 19 November 2009, Alan McKinnon wrote: On Thursday 19 November 2009 16:52:39 Thorsten Kampe wrote: * Alan McKinnon (Tue, 17 Nov 2009 18:06:45 +0200) A multitude of apps that used to run just fine now give free(): invalid pointer errors since I upgraded to glibc-2.11 Which ones are these? I installed glibs 2.11 on Monday and had exactly zero problems afterwards... Thorsten the important ones are firefox and amarok (had to downgrade binutils to get amarok to access it's collection at all) both work fine here - with glibc 2.11 and without workarounds. but have you tried MALLOC_CHECK_? Not yet, that check will have to wait for later tonigh as I have just seen the elog for qt-core.4.6.0_rc1 (which explains why I can't launch new apps since lunchtime.) sometimes it is a good idea to read planet.gentoo.org before you do an update ;) Timeline: T minus 10: read planet. Nothing new. T minus 8: emerge -avuND world T minus 6: examine list, fix blockers, fix dumbass USE requirements, enter T minus 4: do work $STUFF T minus 2: new planet post in RSS reader T minus 0: oh shit if you have buildpkg turned on, you can save yourself some time with a qt downgrade ;)
[gentoo-user] rsync backup system
I just finished an rsync backup system that works like this: Each of 4 Gentoo systems contains a folder called backup which contains symlinks to local files and folders for backup. 2 of the systems contain a folder called sync which contains the contents of the backup folder for each of the 4 systems. 3 of the systems rsync with one of the sync systems, and that system rsyncs with the other sync system. I've got a few questions for you guys about this. 1. I back up the entire /etc folder of each system, and some files have read-only permissions. This means I get permission denied when I try to rsync them. How would you handle this? 2. Some of the files I back up only allow root to read. I can run rsync as root on each system, but I don't allow root logins. This means in order to rsync the second sync system with the first sync system, I must run the rsync command from the first sync system. This means I have to run rsyncd on the second sync system in addition to the first sync system. I'd rather only run one instance of rsyncd. Can anyone think of another option? 3. The rsync process always completes with rsync error: some files/attrs were not transferred. How can I get more information about which files this pertains to? 4. Should I be comfortable running the entire sync operation every night, or am I jeopardizing the longevity of my HDs? 5. If I end up with filesystem corruption on the SRC system, will that corruption transfer over to the DST system during an rsync, or will the transfer just fail? 6. Can I run rsyncd on a system facing the internet without fear? - Grant
[gentoo-user] [the end] icons missing in k3b
Hi everybody, Some news about k3b and its missing icons. I looked at your useflags and changed mine. So i had to re-build plenty of packages and spent a very long compiling time with my 8 year-old pc... Well, after that,...nothing has changed.. :-( http://sites.google.com/site/jacquesfr35/telechargement/k3b.jpg?attredirects=0 Never mind, the problem is not very important, so i stop here and will use xfburn if i want all my icons :-) As i work with Xfce4, i think i'll put all kde stuff away. Thank you very much for your help. Regards, -- Jacques
Re: [gentoo-user] rsync backup system
On Thu, 19 Nov 2009 08:44:44 -0800, Grant wrote: 2. Some of the files I back up only allow root to read. I can run rsync as root on each system, but I don't allow root logins. This means in order to rsync the second sync system with the first sync system, I must run the rsync command from the first sync system. This means I have to run rsyncd on the second sync system in addition to the first sync system. I'd rather only run one instance of rsyncd. Can anyone think of another option? Allow root logins only with a key, set up a specific user on the backup server to run the backup tasks and add that users key to the authorized_users file on the machine to be backed up. 3. The rsync process always completes with rsync error: some files/attrs were not transferred. How can I get more information about which files this pertains to? Run rsync with the verbose option and direct stdout and stderr to files. 5. If I end up with filesystem corruption on the SRC system, will that corruption transfer over to the DST system during an rsync, or will the transfer just fail? If data is corrupted, that will be backed up. If the filesystem corruption causes read errors, rsync will bail out. 6. Can I run rsyncd on a system facing the internet without fear? Yes, as long as the rsync ports are closed in your router. Instead of all this, I'd recommend BackupPC. It handles all of your issues and more and is efficient at backing up multiple machines. You could run one BackupPC server and then rsync its store to the backup backup server. The latest version in portage is old, get the 3.x ebuild from bgo. -- Neil Bothwick Of all the people I've met you're certainly one of them signature.asc Description: PGP signature
Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
On Thu, 2009-11-19 at 15:55 +0100, SpaceCake wrote: yes, but as I told earlier in nm-applet this section is grey, so I cannot add vpn configs. when I start vpnc with the correct config from root's shell, it is working perfectly and connect me to the vpn gw I use, so this is why I said the problem maybe in the deep somewhere around dbus communication, but I'm not sure I don't know why these options would be greyed out. Unless.. do you actually have the plugins installed? $ equery l networkmanager* * Searching for networkmanager* ... [IP-] [ ~] net-misc/networkmanager-0.7.1_p20090824 (0) [IP-] [ ~] net-misc/networkmanager-openvpn-0.7.1-r1 (0) [IP-] [ ~] net-misc/networkmanager-vpnc-0.7.1 (0) Does it even show up in nm-connection-editor? AFAIK the UI just uses these plugins to create a vpn configuration. This is long before actually talking to the nm daemon. So the UI just creates a config and stores it (in GNOME the non-system configs are stored in gconf at /system/networking/connections. Then when you want to connect, the UI grabs whatever config and passes it to the nm daemon (via dbus?). Your issue seems to be with the first part of this process (the UI), not the second. -a
Re: [gentoo-user] rsync backup system
On Thu, 2009-11-19 at 08:44 -0800, Grant wrote: I just finished an rsync backup system that works like this: Each of 4 Gentoo systems contains a folder called backup which contains symlinks to local files and folders for backup. 2 of the systems contain a folder called sync which contains the contents of the backup folder for each of the 4 systems. 3 of the systems rsync with one of the sync systems, and that system rsyncs with the other sync system. I've got a few questions for you guys about this. 1. I back up the entire /etc folder of each system, and some files have read-only permissions. This means I get permission denied when I try to rsync them. How would you handle this? I've never had this problem. You should only need read permissions to copy a file: $ touch this $ chmod 0400 this $ rsync -a this that $ /bin/cp -f /etc/issue this $ chmod 0400 this $ rsync -a this that $ ls -l this that 4.0K -r 1 percy users 3 Nov 19 12:38 that 4.0K -r 1 percy users 3 Nov 19 12:38 this 2. Some of the files I back up only allow root to read. I can run rsync as root on each system, but I don't allow root logins. This means in order to rsync the second sync system with the first sync system, I must run the rsync command from the first sync system. This means I have to run rsyncd on the second sync system in addition to the first sync system. I'd rather only run one instance of rsyncd. Can anyone think of another option? Well if #1 was not run as root then this is where you have problems. And you will continue to have problems if you don't copy as root or some user who has at least read access to all the files on each source and can also preserve ownership/permissions on the target system. Like... root. ssh. Why are you using rsyncd anyway? AFAIK rsyncd is not encrypted. You can allow a non-root user to ssh in and run rsync as root via a proxy command. You can also configure sshd to only allow root to log in and execute a particular command (such as rsync). See PermitRootLogin and ForcedCommand under ssh_config(5) 3. The rsync process always completes with rsync error: some files/attrs were not transferred. How can I get more information about which files this pertains to? It should spit it out to stderr. If you using -v they probably scrolled by. Redirect stderr to a file. If you are running rsync as non-root then it can't preserve ownership and some perms. If you are using extended attributes/ACLs and did not tell rsync to use them (or comple support in) or if the target system does not support them then they will not be transferred. 4. Should I be comfortable running the entire sync operation every night, or am I jeopardizing the longevity of my HDs? This is a joke. 5. If I end up with filesystem corruption on the SRC system, will that corruption transfer over to the DST system during an rsync, or will the transfer just fail? If the filesystem returns an error to rsync then rsync will error out. Simple as that. If the file is currupt (not the filesystem) then, standard garbage-in/garbage-out rules apply. 6. Can I run rsyncd on a system facing the internet without fear? No. Rsyncd is not encrypted (see above) also the authentication is weak (see the man page). Use ssh. It's more secure and had better lock-down mechanisms. Better yet, use a VPN and ssh through the VPN (double authentication (and encryption)).
Re: [gentoo-user] rsync backup system
On Thu, 2009-11-19 at 12:58 -0500, Albert Hopkins wrote: 4. Should I be comfortable running the entire sync operation every night, or am I jeopardizing the longevity of my HDs? This is a joke. I should apologize and explain this better. If you bought a fancy expensive hard drive then it's probably designed for extremely heavy use and comes with nice coverage by the guy that sold it to you. But since you ask this question I'll assume that it's not the case. Ok so you bought a relatively cheap heard drive. But the question seems irrelevant. Because these are cheap, mass-produced hard drives you could do absolutely nothing with them and they could still die tomorrow. That's the price you pay for cheaper drives. Cheap hard drives are like life. Life is cheap. You could take all kinds of precautions and still die tomorrow. But your drive is cheap and easily replaced (esp. if it's still under warranty). Your data on the other hand is not. I'd rather have a dead drive with the data backed up than a dead drive with no backup. Drives are so cheap nowadays it's a non-issue. I'm actually hoping my 2-year old drive dies soon because it will give me an excuse to go out and buy a *bigger* one for the same price. But I feel comfortable with that because I keep backups.
Re: [gentoo-user] rsync backup system
2. Some of the files I back up only allow root to read. I can run rsync as root on each system, but I don't allow root logins. This means in order to rsync the second sync system with the first sync system, I must run the rsync command from the first sync system. This means I have to run rsyncd on the second sync system in addition to the first sync system. I'd rather only run one instance of rsyncd. Can anyone think of another option? Allow root logins only with a key, set up a specific user on the backup server to run the backup tasks and add that users key to the authorized_users file on the machine to be backed up. 3. The rsync process always completes with rsync error: some files/attrs were not transferred. How can I get more information about which files this pertains to? Run rsync with the verbose option and direct stdout and stderr to files. 5. If I end up with filesystem corruption on the SRC system, will that corruption transfer over to the DST system during an rsync, or will the transfer just fail? If data is corrupted, that will be backed up. If the filesystem corruption causes read errors, rsync will bail out. 6. Can I run rsyncd on a system facing the internet without fear? Yes, as long as the rsync ports are closed in your router. Instead of all this, I'd recommend BackupPC. It handles all of your issues and more and is efficient at backing up multiple machines. You could run one BackupPC server and then rsync its store to the backup backup server. The latest version in portage is old, get the 3.x ebuild from bgo. BackupPC does look pretty good. Would anyone recommend I *don't* can this whole thing and set up BackupPC instead? - Grant
[gentoo-user] GCC gone bad! Help!
I've started seeing this line after failed emerges: checking for C compiler default output file name... configure: error: C compiler cannot create executables Checking gcc-config returns this: carter sys-devel # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.4 How can I get gcc back? Here's some other information on the system: carter ~ # emerge --info !!! No gcc found. You probably need to 'source /etc/profile' !!! to update the environment of this terminal and possibly !!! other terminals also. Portage 2.1.6.13 (default/linux/x86/10.0/desktop, [unavailable], glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) = System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-1.12.13 Timestamp of tree: Thu, 19 Nov 2009 06:00:01 + distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS=x86 CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /var/bind CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d CXXFLAGS=-O2 -march=i686 -pipe DISTDIR=/usr/portage/distfiles EMERGE_DEFAULT_OPTS=--with-bdeps y FEATURES=distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo; LDFLAGS=-Wl,-O1 LINGUAS=en es fr MAKEOPTS=-j2 PKGDIR=/usr/portage-packages/carter PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_EXTRA_OPTS=--human-readable PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage /usr/local/portage/bscharpf SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=X a52 aac acl acpi alsa apache2 apm bash-completion berkdb bind-mysql bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dhcp doc dri dts dvd dvdr eds emboss encode evo examples exim fam firefox flac foomaticdb fortran gdbm geoip gif gnome gpm gstreamer gtk hal iconv imap imlib innodb ipv6 ithreads jadetex java jpeg kde ldap libclamav libg++ libnotify libwww mad mikmod mmx mode-owner modules mp3 mp4 mpeg mpm-leader mudflap mysql ncurses networking nls nptl nptlonly oav offensive ogg opengl openmp pam pcre pdf perl perlsuid png ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl search server session slp spell spl ssl startup-notification svg sysfs syslog tcpd tetex threads thunar tiff tk truetype unicode usb virus-scan vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zaptel zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en es fr USERLAND=GNU VIDEO_CARDS=fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS carter ~ # ls -l /etc/make.profile lrwxrwxrwx 1 root root 52 Nov 19 12:47 /etc/make.profile - /usr/portage/profiles/default/linux/x86/10.0/desktop Please help! This has happened on two of my three systems so far...
Re: [gentoo-user] Xorg / Intel VGA and multiple display
On Thu, Nov 19, 2009 at 10:59 AM, SpaceCake spaceca...@gmail.com wrote: Hi, I have the following set-up HP 6530B laptop with 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 1440x900 Laptop LCD resolution 1600x1200 Ext LCD resolution connected to the DVI port of the docking station Currently my multi monitor support not working at all and single also looks very buggy. When I start X the LCD screen is fine at 1440x900 and same at my external LCD. When I start monitor applet, my external LCD changes to 1600x1200 together with my internal (which become useless from this point) The ideal solution would be to use dual monitor with the native resolution of both device and different screen on the two monitors. As I heard with Intel VGA it is not an easy job For me it would be a big results if my internal display can keep the resolution after I connect to the external one, so when I remove my laptop from the docking station I can still use it without restarting xdm :) I was searching for a working xorg.conf but I cannot find any. Maybe some of you already faced with this problem and can send me a working config or can show me some resources where I can find out more info on this topic Thank you Laszlo --- [I] x11-drivers/xf86-video-intel Available versions: 2.6.3-r1 (~)2.7.1 2.8.1 (~)2.9.0 (~)2.9.1 {debug dri} Installed versions: 2.9.1(16.13.53 2009-11-13)(dri -debug) Homepage:http://xorg.freedesktop.org/ Description: X.Org driver for Intel cards [I] x11-base/xorg-server Available versions: 1.5.3-r6 ~1.5.3-r7 1.6.3.901-r2 ~1.6.4 ~1.6.5 ~1.7.1 {3dfx debug dmx hal input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom ipv6 kdrive minimal nptl sdl tslib video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_fglrx video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_imstt video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vermilion video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi xorg} Installed versions: 1.6.3.901-r2(00.07.36 2009-10-10)(hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib) Homepage:http://xorg.freedesktop.org/ Description: X.Org X servers [I] x11-base/xorg-drivers Available versions: 1.6 ~1.7 {input_devices_acecad input_devices_aiptek input_devices_citron input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_mutouch input_devices_penmount input_devices_synaptics input_devices_tslib input_devices_virtualbox input_devices_vmmouse input_devices_void input_devices_wacom video_cards_apm video_cards_ark video_cards_ast video_cards_chips video_cards_cirrus video_cards_dummy video_cards_epson video_cards_fbdev video_cards_fglrx video_cards_geode video_cards_glint video_cards_i128 video_cards_i740 video_cards_impact video_cards_imstt video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_newport video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_radeonhd video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vermilion video_cards_vesa video_cards_via video_cards_virtualbox video_cards_vmware video_cards_voodoo video_cards_xgi} Installed versions: 1.6(15.47.46 2009-11-16)(input_devices_evdev input_devices_keyboard input_devices_mouse video_cards_fbdev video_cards_glint video_cards_intel video_cards_mach64 video_cards_mga
Re: [gentoo-user] GCC gone bad! Help!
On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan msulli1...@gmail.comwrote: I've started seeing this line after failed emerges: checking for C compiler default output file name... configure: error: C compiler cannot create executables Checking gcc-config returns this: carter sys-devel # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.4 When I upgraded gcc to 4.3.4 I runned # gcc-config i686-pc-linux-gnu-4.3.4 # source /etc/profile Maybe it helps you. gcc-config i686-pc-linux-gnu-4.3.4 How can I get gcc back? Here's some other information on the system: carter ~ # emerge --info !!! No gcc found. You probably need to 'source /etc/profile' !!! to update the environment of this terminal and possibly !!! other terminals also. Portage 2.1.6.13 (default/linux/x86/10.0/desktop, [unavailable], glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) = System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-1.12.13 Timestamp of tree: Thu, 19 Nov 2009 06:00:01 + distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS=x86 CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /var/bind CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d CXXFLAGS=-O2 -march=i686 -pipe DISTDIR=/usr/portage/distfiles EMERGE_DEFAULT_OPTS=--with-bdeps y FEATURES=distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo; LDFLAGS=-Wl,-O1 LINGUAS=en es fr MAKEOPTS=-j2 PKGDIR=/usr/portage-packages/carter PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_EXTRA_OPTS=--human-readable PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage /usr/local/portage/bscharpf SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=X a52 aac acl acpi alsa apache2 apm bash-completion berkdb bind-mysql bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dhcp doc dri dts dvd dvdr eds emboss encode evo examples exim fam firefox flac foomaticdb fortran gdbm geoip gif gnome gpm gstreamer gtk hal iconv imap imlib innodb ipv6 ithreads jadetex java jpeg kde ldap libclamav libg++ libnotify libwww mad mikmod mmx mode-owner modules mp3 mp4 mpeg mpm-leader mudflap mysql ncurses networking nls nptl nptlonly oav offensive ogg opengl openmp pam pcre pdf perl perlsuid png ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl search server session slp spell spl ssl startup-notification svg sysfs syslog tcpd tetex threads thunar tiff tk truetype unicode usb virus-scan vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zaptel zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en es fr USERLAND=GNU VIDEO_CARDS=fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS carter ~ # ls -l /etc/make.profile lrwxrwxrwx 1 root root 52 Nov 19
[gentoo-user] Avahi + mDNSResponder at the same time?
I was under the impression that avahi with the mDNSResponder-compat USE flag would make it possible to have both mDNSResponder and avahi installed at the same time, yet I am getting blocked packages error messages. Is this impossible to pull off?
Re: [gentoo-user] GCC gone bad! Help!
On Thu, 2009-11-19 at 11:25 -0800, James Ausmus wrote: On Thu, Nov 19, 2009 at 10:51 AM, Michael Sullivan msulli1...@gmail.com wrote: I've started seeing this line after failed emerges: checking for C compiler default output file name... configure: error: C compiler cannot create executables Please send the contents of the config log for the package you are trying to build - it should approximately be in /var/tmp/portage/$CATEGORY/$PACKAGE-$VERSION/work/$PACKAGE/config.log -James This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-dns --with-db=/usr/include/db4.7 --with-dblib=db-4.7 --enable-geoip --with-language=english ## - ## ## Platform. ## ## - ## hostname = carter uname -m = i686 uname -r = 2.6.30-gentoo-r4 uname -s = Linux uname -v = #1 SMP Thu Nov 5 13:47:33 CST 2009 /usr/bin/uname -p = AMD Athlon(tm) 7550 Dual-Core Processor /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lib/portage/bin/ebuild-helpers PATH: /usr/local/sbin PATH: /sbin PATH: /usr/sbin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /opt/bin PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.2 PATH: /usr/qt/3/bin ## --- ## ## Core tests. ## ## --- ## configure:1831: checking for i686-pc-linux-gnu-gcc configure:1858: result: gcc configure:2130: checking for C compiler version configure:2138: gcc --version 5 gcc-config: error: could not run/locate 'gcc' configure:2142: $? = 1 configure:2149: gcc -v 5 gcc-config: error: could not run/locate 'gcc' configure:2153: $? = 1 configure:2160: gcc -V 5 gcc-config: error: could not run/locate 'gcc' configure:2164: $? = 1 configure:2187: checking for C compiler default output file name configure:2209: gcc -O2 -march=i686 -pipe -Wl,-O1 conftest.c 5 gcc-config: error: could not run/locate 'gcc' configure:2213: $? = 1 configure:2251: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2257: error: in `/var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10': configure:2260: error: C compiler cannot create executables See `config.log' for more details. ## ## ## Cache variables. ## ## ## ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -march=i686 -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-Wl,-O1 ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_prog_CC=gcc ## - ## ## Output variables. ## ## - ## CC='gcc' CFLAGS='-O2 -march=i686 -pipe' CPP='' CPPFLAGS='' DEFAULT_LANG='english' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ETCDIR='' EXEEXT='' GDLIB='' GDLOC='' GEOIPINC='' GEOIPLIB='' GREP='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='-Wl,-O1' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' OBJEXT='' OPTS='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/sh' ac_ct_CC='' bindir='${exec_prefix}/bin' build_alias='i686-pc-linux-gnu' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host_alias='i686-pc-linux-gnu' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var/lib' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## --- ## ## confdefs.h. ## ## --- ## #define PACKAGE_NAME #define PACKAGE_TARNAME #define PACKAGE_VERSION #define PACKAGE_STRING #define PACKAGE_BUGREPORT
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
On Wed, Nov 18, 2009 at 5:44 PM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 3:11 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 2:29 AM, Gmail hungp...@gmail.com wrote: Have you added consolekit to the boot level? If you did then please post your xdm and kdm log file. Hung Francisco Ares wrote: Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- Hy, Hung, thanks for your answer. I don't have consolekit at boot runlevel. Don't even have it emerged yet. Didn't know I was supposed to. Doing so right now. Meanwhile, I have no xdm log, but in kdm.log there is a difference during my login and my wife's login, it is this only two entries in /var/log/kdm.log after my wife's user login: (EE) XKB: No components provided for device Virtual core keyboard (EE) XKB: No components provided for device Virtual core keyboard I've done a search for Virtual core and didn't find a thing up to now. Any hint? Thanks again Francisco Well, I had consolekit up an running and didn't know that, sorry. There is no xdm log, and the only two entries already mentioned. I'll try to remove the user and add it again, perhaps a permissions issue. Have you checked to see what ~/.xsession-errors contains? It might give you some hints as to what is happening. Also, does top show anything consuming a lot of CPU or a lot of memory? (M to sort by memory usage, P to sort by CPU usage) -James
Re: [gentoo-user] GCC gone bad! Help!
On Thu, Nov 19, 2009 at 10:51 AM, Michael Sullivan msulli1...@gmail.comwrote: I've started seeing this line after failed emerges: checking for C compiler default output file name... configure: error: C compiler cannot create executables Please send the contents of the config log for the package you are trying to build - it should approximately be in /var/tmp/portage/$CATEGORY/$PACKAGE-$VERSION/work/$PACKAGE/config.log -James
Re: [gentoo-user] flash drive FAT partition disappears
On 11/19/2009 3:22 AM, Neil Bothwick wrote: I suspect you did nothing wrong and that the problem is either a coincidental hardware failure or something the owner did to the stick after you returned it. Convincing the owner of that is another matter. I am pretty sure that this is the case. The fact that the partition table is no longer valid is very interesting, and I would be interested in seeing the first 512 bytes (I believe that is where the partition table resides) of the dd image, if you can make one, just to see if it's corrupt or has been correctly erased. The fact that there is 2 TB left according to gparted leads me to believe that it is corrupt, which would mean that it is probably a hardware failure, and nothing to do with Linux, as someone else said. Good luck with that student, here's hoping there was nothing important on that drive when it died! Marcus
Re: [gentoo-user] Avahi + mDNSResponder at the same time?
On Thu, 19 Nov 2009 11:38:28 -0800, John Lowry wrote: I was under the impression that avahi with the mDNSResponder-compat USE flag would make it possible to have both mDNSResponder and avahi installed at the same time, yet I am getting blocked packages error messages. Is this impossible to pull off? It's hard to say while the error message remains secret. -- Neil Bothwick PCMCIA: People Can't Memorize Computer Industry Acronyms signature.asc Description: PGP signature
[gentoo-user] where can I find USE flags description?
Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first emerge --pretend xorg-drivers and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example vmmouse, what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] GCC gone bad! Help!
On Thu, Nov 19, 2009 at 11:44 AM, Michael Sullivan msulli1...@gmail.comwrote: snip configure:2138: gcc --version 5 gcc-config: error: could not run/locate 'gcc' There's your problem right there, Vern... ;) Run gcc-config -l Pick the gompuler that looks best (most likely #1), then run gcc-config compiler_number source /etc/profile Then try running gcc -v If you get output that looks sane (ie. no command not found message), then you should be good to go - try emerging again. HTH- James
Re: [gentoo-user] [the end] icons missing in k3b
On Thu, 19 Nov 2009 18:00:03 +0100, Jacques Montier wrote about [gentoo-user] [the end] icons missing in k3b: Hi everybody, Some news about k3b and its missing icons. I looked at your useflags and changed mine. So i had to re-build plenty of packages and spent a very long compiling time with my 8 year-old pc... Well, after that,...nothing has changed.. :-( http://sites.google.com/site/jacquesfr35/telechargement/k3b.jpg?attredirects=0 This looks like your XDG_DATA_DIRS environment variable might be missing a directory or two. No amount of recompiling will cure that. Instead, you need to look in the /etc/env.d directory, correct any errors, then logout and login. Here's mine: /usr/local/share:/usr/share:/usr/kde/3.5/share:/usr/share/gdm:/usr/share The duplication of /usr/share is, at this point in time, quite deliberate. It works around a problem in GNOME. Never mind, the problem is not very important, so i stop here and will use xfburn if i want all my icons :-) As i work with Xfce4, i think i'll put all kde stuff away. I use Brasero as a burner for GNOME and Xfce. It's actually rather good, almost on par with K3b. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] Xorg / Intel VGA and multiple display
I'm using xf86-video-intel - 2.9.1 ; xorg-server - 1.6.5 and xorg-drivers - 1.6 My hardware : 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) I using 2.6.31-gentoo-r2 with KMS and Idon't have a xorg.conf file. I set my two monitors using xrandr : xrandr --output LVDS1 --mode 1280x800 xrandr --output VGA1 --mode 1280x1024 --above LVDS1 X works fine, but XFCE display setting don't, waiting for a fix already in the XFCE roadmap. yes, something similar working fine for me, but what I'm really looking for is a solution to make it automatic :) so, when I put my laptop on the docking station this should change to dual mode, but when I remove it can switch back to standalone at least I would like to make an xorg.conf to handle my two monitors better than currently where I have to configure resolutions and display placements each time I reboot my machine or changing from or to docking station I know this is a nice dream, but I'm sure the future where this is true with linux is not so far :) Laszlo
[gentoo-user] Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. Thanks, and sorry for my noobishness. Marcus
Re: [gentoo-user] where can I find USE flags description?
Jarry writes: I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... There's also /usr/local/portage/layman/*/profiles/use.local.desc Wonko
Re: [gentoo-user] Avahi + mDNSResponder at the same time?
On Thu, 2009-11-19 at 11:38 -0800, John Lowry wrote: I was under the impression that avahi with the mDNSResponder-compat USE flag would make it possible to have both mDNSResponder and avahi installed at the same time, yet I am getting blocked packages error messages. Is this impossible to pull off? If you USE=mdnsResponder-compat you are telling avahi that you *don't* want mDNSRespdonder. Consider the ebuild: mdnsresponder-compat? ( !net-misc/mDNSResponder ) So enabling the flag is results in explicit blockage. But, I'm assuming, the flag provides avahi with mdnsresponder-compat(ibility) so you shouldn't need both installed at the same time. Also, from the USE description: mdnsresponder-compat : Enable compat libraries for mDNSResponder So it looks like having them both installed simultaneously would result in both providing the same service. HTH, -a
[gentoo-user] Re: GCC gone bad! Help!
On 11/19/2009 10:51 AM, Michael Sullivan wrote: ... Checking gcc-config returns this: carter sys-devel # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.4 gcc-config manipulates the contents of /etc/env.d/gcc $ls -la /etc/env.d/gcc total 24 drwxr-xr-x 2 root root 4096 2009-11-14 08:19 . drwxr-xr-x 5 root root 4096 2009-11-15 05:20 .. -rw-r--r-- 1 root root 32 2009-11-14 08:19 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 235 2009-10-17 11:28 i686-pc-linux-gnu-4.3.4 lrwxrwxrwx 1 root root 23 2009-11-14 08:19 .NATIVE - i686-pc-linux-gnu-4.3.4 What do you have there?
Re: [gentoo-user] Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
On Thu, Nov 19, 2009 at 03:49:19PM -0500, Marcus Wanner wrote: I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. http://sources.gentoo.org/viewcvs.py/linux-patches/genpatches-2.6/tags/ -- Eray
[gentoo-user] how to get emerge --depclean to skip a pkg?
Hi group, emerge -av --depclean wants to remove sys-kernel/gentoo-sources-2.6.30-r7 after a world update. How do I prevent this? I've tried the --deselect and --noreplace switches but that has the opposite effect I'm looking for. Maxim
Re: [gentoo-user] GCC gone bad! Help! [SOLVED]
On Thu, 2009-11-19 at 17:10 -0200, Fernando Antunes wrote: On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan msulli1...@gmail.com wrote: I've started seeing this line after failed emerges: checking for C compiler default output file name... configure: error: C compiler cannot create executables Checking gcc-config returns this: carter sys-devel # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.4 When I upgraded gcc to 4.3.4 I runned # gcc-config i686-pc-linux-gnu-4.3.4 # source /etc/profile Maybe it helps you. That fixed it! Thank you!
Re: [gentoo-user] how to get emerge --depclean to skip a pkg?
I think --noreplace should do it, but if it didn't, try adding this ebuild name to /var/lib/portage/world: =sys-kernel/gentoo-sources-2.6.30-r7 On Thu, Nov 19, 2009 at 9:20 PM, Maxim Wexler maxim.wex...@gmail.comwrote: Hi group, emerge -av --depclean wants to remove sys-kernel/gentoo-sources-2.6.30-r7 after a world update. How do I prevent this? I've tried the --deselect and --noreplace switches but that has the opposite effect I'm looking for. Maxim -- Crístian Deives dos Santos Viana [aka CD1] Sent from Campinas, SP, Brazil
[gentoo-user] [OT] interrupting runscripts during startup
Hi all. When hitting Ctrl-C during startup, I manage to interrupt services at the early stages of init, yet later-on I can no-longer do this. It seems that up till runlevel 'default', services can be hit with the interrupt. I'm wondering where is this behavior being set, and whether I can enable the interruption by SIGINT in 'default' level runscripts (e.g. 'local.start'). I'm suspecting this is somewhere in /sbin/init, but can't ascertain this. Anyone knows? thanks, Amit
Re: [gentoo-user] [OT] interrupting runscripts during startup
On Fri, 20 Nov 2009 00:02:47 +0200 Amit Dor-Shifer ami...@oversi.com wrote: When hitting Ctrl-C during startup, I manage to interrupt services at the early stages of init, yet later-on I can no-longer do this. It seems that up till runlevel 'default', services can be hit with the interrupt. Why do you want to stop services by hitting CTRL-C ? Services are shell scripts. Hitting CTRL-C stops the script somewhere in the middle during its execution. Everything that was done until that moment won't be automagically undone. There can be files left , and processes already started will still run. That's not clean. Better use the interactive init feature. Just hit 'I' when init starts (init even tells you, that you can do it) and choose which services to start by hitting 'y' and 'n'. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
Thanks a lot, guys. I don't like it, but I have removed and created again the user, and now everything works as expected. I said I don't like it because we didn't exactly know where the problem was. I've checked permissions and groups before that, and had the home directory backed up before removing the user and completely restored after the user creation, so all files and directories kept the same permissions and mode bits and the user has the same uid and belongs to the same groups as before. I'm surely capable to live without that knowledge, but I can't help thinking I would live better if knowing ;-) Thanks again Francisco On Thu, Nov 19, 2009 at 5:22 PM, James Ausmus james.aus...@gmail.comwrote: On Wed, Nov 18, 2009 at 5:44 PM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 3:11 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 2:29 AM, Gmail hungp...@gmail.com wrote: Have you added consolekit to the boot level? If you did then please post your xdm and kdm log file. Hung Francisco Ares wrote: Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- Hy, Hung, thanks for your answer. I don't have consolekit at boot runlevel. Don't even have it emerged yet. Didn't know I was supposed to. Doing so right now. Meanwhile, I have no xdm log, but in kdm.log there is a difference during my login and my wife's login, it is this only two entries in /var/log/kdm.log after my wife's user login: (EE) XKB: No components provided for device Virtual core keyboard (EE) XKB: No components provided for device Virtual core keyboard I've done a search for Virtual core and didn't find a thing up to now. Any hint? Thanks again Francisco Well, I had consolekit up an running and didn't know that, sorry. There is no xdm log, and the only two entries already mentioned. I'll try to remove the user and add it again, perhaps a permissions issue. Have you checked to see what ~/.xsession-errors contains? It might give you some hints as to what is happening. Also, does top show anything consuming a lot of CPU or a lot of memory? (M to sort by memory usage, P to sort by CPU usage) -James -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] how to get emerge --depclean to skip a pkg? --RESOLVED
On 11/19/09, Crístian Viana cristiandei...@gmail.com wrote: I think --noreplace should do it, but if it didn't, try adding this ebuild name to /var/lib/portage/world: =sys-kernel/gentoo-sources-2.6.30-r7 Yes, that did it. Thanks. using --noreplace or --deselect has the effect of focusing on the one package but only because that pkg *alone* will be removed, the opposite of what I trying to do. mw
Re: [gentoo-user] Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
On Thu, 19 Nov 2009 15:49:19 -0500 Marcus Wanner wrote: I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. Thanks, and sorry for my noobishness. Marcus It uses a tarball and patches: $$ ( cd /usr/portage/distfiles ; ls -l *2.6.31* ) ... 114701 2009-11-07 17:37 genpatches-2.6.31-6.base.tar.bz2 ...24961 2009-11-07 17:37 genpatches-2.6.31-6.extras.tar.bz2 ... 139031 2009-11-16 14:50 genpatches-2.6.31-7.base.tar.bz2 ...24961 2009-11-16 14:50 genpatches-2.6.31-7.extras.tar.bz2 ... 61494822 2009-09-12 20:14 linux-2.6.31.tar.bz2
Re: [gentoo-user] troubles with emerge --sync
So I managed to fix the other wonkiness on my system (viz, gcc and emacs not emerging). Turns out, I had been sloppy in putting together my make.conf and used march=prescott when I should have been using march=pentium4. Fixed it, ran emerge -uDNe world. Things emerge now. Unfortunately, the original problem with emerge --sync has not been resolved: rsync error: sibling process crashed (code 15) at main.c(1505) [generator=3.0.6] Retrying... and from dmesg: grsec: signal 4 sent to /usr/bin/rsync[rsync:32164] uid/euid:0/0 gid/ egid:0/0, parent /usr/bin/rsync[rsync:32163] uid/euid:0/0 gid/egid:0/0 Still getting this error. I took a look at the core dump using gdb: (no debugging symbols found) Core was generated by `rsync --recursive --links --safe-links --perms --times --compress --force --who'. Program terminated with signal 4, Illegal instruction. Use my mirror and see if things are better. Alan, thanks for letting me try this. Unfortunately, same result. I actually set up my own as well. All the other boxen in the rack are able to sync to it, but not this one. I've tried re-emerging portage and rsync to no avail. I'm running out of ideas... Alexander Clark
Re: [gentoo-user] how to get emerge --depclean to skip a pkg?
On Thu, Nov 19, 2009 at 9:20 PM, Maxim Wexler maxim.wex...@gmail.com wrote: Hi group, emerge -av --depclean wants to remove sys-kernel/gentoo-sources-2.6.30-r7 after a world update. How do I prevent this? I've tried the --deselect and --noreplace switches but that has the opposite effect I'm looking for. I asked this same question earlier this year and got a perfect solution from Mike Kazantsev along with help from Boris Fersing. Edit (or create) /etc/portage/sets.conf and put this inside: [kernels] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/src Then edit/create /var/lib/portage/world_sets and add this line: @kernels Now --depclean should never try to remove your kernel packages! It works great for me.
Re: [gentoo-user] how to get emerge --depclean to skip a pkg?
On Thu, Nov 19, 2009 at 4:18 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Thu, Nov 19, 2009 at 9:20 PM, Maxim Wexler maxim.wex...@gmail.com wrote: Hi group, emerge -av --depclean wants to remove sys-kernel/gentoo-sources-2.6.30-r7 after a world update. How do I prevent this? I've tried the --deselect and --noreplace switches but that has the opposite effect I'm looking for. I asked this same question earlier this year and got a perfect solution from Mike Kazantsev along with help from Boris Fersing. Edit (or create) /etc/portage/sets.conf and put this inside: [kernels] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/src Then edit/create /var/lib/portage/world_sets and add this line: @kernels Now --depclean should never try to remove your kernel packages! It works great for me. By the way, I think this only works in portage 2.2 :)
[gentoo-user] Re: where can I find USE flags description?
Jarry wrote: Where can I find their description? For example vmmouse, what is this USE flag good for? Is it something for vmware? emerge gentoolkit euse -i vmmouse -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] where can I find USE flags description?
On Thu, Nov 19, 2009 at 2:15 PM, Jarry mr.ja...@gmail.com wrote: Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first emerge --pretend xorg-drivers and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example vmmouse, what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... I'm sure there are 10 ways of doing it, but this is what I use: equery u x11-base/xorg-drivers equery is part of app-portage/gentoolkit in case you don't have it installed. It can do other useful things such as tell you which package installed a file, or show all files installed by a package.
Re: [gentoo-user] where can I find USE flags description?
On Thu, Nov 19, 2009 at 4:41 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Thu, Nov 19, 2009 at 2:15 PM, Jarry mr.ja...@gmail.com wrote: Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first emerge --pretend xorg-drivers and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example vmmouse, what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... I'm sure there are 10 ways of doing it, but this is what I use: equery u x11-base/xorg-drivers equery is part of app-portage/gentoolkit in case you don't have it installed. It can do other useful things such as tell you which package installed a file, or show all files installed by a package. And in the specific case of xorg-drivers those aren't USE flags at all but driver flags :)
Re: [gentoo-user] flash drive FAT partition disappears
On Thu, Nov 19, 2009 at 2:11 PM, Marcus Wanner marc...@cox.net wrote: On 11/19/2009 3:22 AM, Neil Bothwick wrote: I suspect you did nothing wrong and that the problem is either a coincidental hardware failure or something the owner did to the stick after you returned it. Convincing the owner of that is another matter. I am pretty sure that this is the case. The fact that the partition table is no longer valid is very interesting, and I would be interested in seeing the first 512 bytes (I believe that is where the partition table resides) of the dd image, if you can make one, just to see if it's corrupt or has been correctly erased. The fact that there is 2 TB left according to gparted leads me to believe that it is corrupt, which would mean that it is probably a hardware failure, and nothing to do with Linux, as someone else said. Good luck with that student, here's hoping there was nothing important on that drive when it died! Marcus On the bright side, if ONLY the partition table was corrupt, maybe re-creating it with fdisk might make the data accessible again. You might also try a tool like dfsee which might be able to analyse or extract some partiton/FAT data from it.
[gentoo-user] gentoo on ssds? intel anyone?
Greets, gentoo-users, I hope not to bring up some boring ricer-topic ;-) I am thinking of getting one of those shiny new SSDs for my main workstation. Not that I really *need* it, my box is performing well, I admit that I am curious and somehow childish ... some way of getting myself a christmas present or something like that ... anyway Although I read of Intel's various firmware-problems with their SSDs, I tend to buy one of their 80GB X25-M G2 Postville SSDs. I definitely *know* that I will shake my head a few months later at how I could spend that much money for those few and slow gigs of ssd ... but ... (think 100$ for 128MB usb-stick ... you know ...) I think of using that ssd for my gentoo-os-partition(s) and I wonder if one of you is already doing that. And I would like to hear of any problems/blockers/sensations this brings. Thanks for any infos, I'd be happy to hear whatever your experience is ... Stefan
Re: [gentoo-user] Re: Keyboard Mapping Issues
On Tuesday 17 November 2009 15:26:09 daid kahl wrote: Is there some simple tool in portage to report 1) The local build date of an installed package 2) Display the emerge history? Such tools would assist me in locating the problem, which I assume resulted from an upgrade. Sorry, I am looking at /var/log/emerge.log now. Have a look at app-portage/genlop You can just ask it to show you what you emerged in the last 1, or 2 days only. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] gentoo on ssds? intel anyone?
On Donnerstag 19 November 2009, Stefan G. Weichinger wrote: Greets, gentoo-users, I hope not to bring up some boring ricer-topic ;-) I am thinking of getting one of those shiny new SSDs for my main workstation. Not that I really *need* it, my box is performing well, I admit that I am curious and somehow childish ... some way of getting myself a christmas present or something like that ... anyway Although I read of Intel's various firmware-problems with their SSDs, I tend to buy one of their 80GB X25-M G2 Postville SSDs. I definitely *know* that I will shake my head a few months later at how I could spend that much money for those few and slow gigs of ssd ... but ... (think 100$ for 128MB usb-stick ... you know ...) I think of using that ssd for my gentoo-os-partition(s) and I wonder if one of you is already doing that. And I would like to hear of any problems/blockers/sensations this brings. Thanks for any infos, I'd be happy to hear whatever your experience is ... Stefan since ssds don't like write/erase cycles you should only put your system on the ssd. Everything else, PORTDIR, PKGDIR, /var, /tmp, /usr/tmp and /usr/src should be on a harddisk.
Re: [gentoo-user] where can I find USE flags description?
Don't know how current the list is, but: http://www.gentoo.org/dyn/use-index.xml http://www.gentoo.org/dyn/use-index.xmlSteve On Thu, Nov 19, 2009 at 12:15 PM, Jarry mr.ja...@gmail.com wrote: Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first emerge --pretend xorg-drivers and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example vmmouse, what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them...
[gentoo-user] Re: Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
On 11/19/2009 10:49 PM, Marcus Wanner wrote: I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. In addition to the link Eray posted, you can also always check /usr/portage/sys-kernel/gentoo-sources/ChangeLog
Re: [gentoo-user] configuring wlan0
On 19/11/09 Alan McKinnon said: conf.d/net is not buggy - it is suitable for static networking where the interfaces never change and neither does the address. It is simply inadequate for desktop use, *especially* roaming laptops. A side note in the docs to this effect would not be amiss. In my case the interface won't change and neither will the address. It worked fine when it was a wired eth0 interface. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpMGmoHaK9Hv.pgp Description: PGP signature
Re: [gentoo-user] where can I find USE flags description?
Paul Hartman wrote: On Thu, Nov 19, 2009 at 4:41 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Thu, Nov 19, 2009 at 2:15 PM, Jarry mr.ja...@gmail.com wrote: Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first emerge --pretend xorg-drivers and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example vmmouse, what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... I'm sure there are 10 ways of doing it, but this is what I use: equery u x11-base/xorg-drivers equery is part of app-portage/gentoolkit in case you don't have it installed. It can do other useful things such as tell you which package installed a file, or show all files installed by a package. And in the specific case of xorg-drivers those aren't USE flags at all but driver flags :) But it beats having to type in each one of them separately with euse -i. I like this little guy: r...@smoker / # equery u seamonkey [ Searching for packages matching seamonkey... ] [ 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 www-client/seamonkey-1.1.18 ] U I - - crypt: Add support for encryption -- using mcrypt or gpg where applicable - - 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 - - gnome: Adds GNOME support + + ipv6 : Adds support for IP version 6 + + java : Adds support for Java + + ldap : Adds LDAP support (Lightweight Directory Access Protocol) - - mozdevelop : Enable features for web developers (e.g. Venkman) - - moznocompose : Disable building of mozilla's HTML editor component - - moznoirc : Disable building of mozilla's IRC client - - moznomail: Disable building mozilla's mail client - - moznopango : Disable x11-libs/pango during runtime - - moznoroaming : sroaming extension support - - postgres : Adds support for the postgresql database - - xforms : XForms is a standard to split up XHTML into XForms, instance data, and user interface - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors r...@smoker / # This is cool. Can emerge do this too? You know, maybe some flag to have in addition to -p or -a and have it show this? Since I asked, watch it do this in some nice shiney new version of portage. lol Yep, another tool to add to frequent commands. Dale :-) :-)
[gentoo-user] emerge hints needed
Some time back I saw someone mention a way to get emerge to install an ebuild with a bad digest - man emerge shows nothing so can someone give me a hint. It was much easier than going down the ebuild path. Also, I am in the process of rescuing a system from the e2fs/util-linux/device-mapper snafu and find that now I have it booted re-emerging util-linux wont overwrite the files I manually installed to replace the missing ones - necessitating manually rm'ing some 50 or so files - is there a way to force emerge to ignore file collisions and just overwrite them in this circumstance? BillK
Re: [gentoo-user] emerge hints needed
Bill Kenworthy wrote: Some time back I saw someone mention a way to get emerge to install an ebuild with a bad digest - man emerge shows nothing so can someone give me a hint. It was much easier than going down the ebuild path. I think it is --digest. I don't see it in the man page so you may have to do that with the ebuild command and the manifest option. See man page to make sure. I will also add, you should not do this unless it passed the first test and you had to edit the file for some reason. It could be corrupt or altered in some unknown way otherwise. Also, I am in the process of rescuing a system from the e2fs/util-linux/device-mapper snafu and find that now I have it booted re-emerging util-linux wont overwrite the files I manually installed to replace the missing ones - necessitating manually rm'ing some 50 or so files - is there a way to force emerge to ignore file collisions and just overwrite them in this circumstance? BillK I think you are looking for this option with emerge: --noconfmem Causes portage to disregard merge records indicating that a config file inside of a CONFIG_PRO- TECT directory has been merged already. Portage will normally merge those files only once to prevent the user from dealing with the same config multiple times. This flag will cause the file to always be merged. Keep in mind that it will replace whatever it emerges which may include dependencies. I have never used that option before so be forewarned if it does. Hope that helps. Dale :-) :-)
[gentoo-user] Re: gentoo on ssds? intel anyone?
On Thu, 19 Nov 2009 23:47:37 +0100, Stefan G. Weichinger wrote: Although I read of Intel's various firmware-problems with their SSDs, I tend to buy one of their 80GB X25-M G2 Postville SSDs. I have the older 80MB (G1) and a new 160GB G2 for another machine just arrived. The fixed TRIM-enabled firmware for the G2 should reappear soon as well. Btw the problem with the previous version mostly affected Windows7. I definitely *know* that I will shake my head a few months later at how I No you won't. I think of using that ssd for my gentoo-os-partition(s) and I wonder if one of you is already doing that. And I would like to hear of any problems/blockers/sensations this brings. Been using one in my day-to-day workstation under both Windows and Gentoo (with ext4). After 5 minutes you will fight anyone who would try to take it away again to the death. -h