Re: [gentoo-user] fsck + emerge = crash
Hi all, 2009/11/16 Albert Hopkins mar...@letterboxes.org: My advice would have been to do periodic backups. But I guess it's too late for that. Ek, backups: She needs backup because she can't hang with the big dogs. Well now I learned a lesson. For the encoding error, that character qualifies as latin1 (â) so maybe it's an issue where your system (or python) encoding got out of wack. You may be able to fix it easily changing that, but my guess is along the way you'll find little errors here and there with other things (that's why backups are so handy). I will try this first, but I think you are with the little errors. 2009/11/16 Mick michaelkintz...@gmail.com: I assume that you ran fsck from a LiveCD? May want to use the same to rebuild your toolchain. As for the toolchain: is python part of it? Have a look here: http://www.gentoo.org/proj/en/portage/doc/manually-fixing- portage.xml in case it helps. That's where I first looked for advice, but the procedure doesn't help me fixing this issue over here. I think it would be nice if one sets up an article how to rebuild the current system. 2009/11/16 Volker Armin Hemmann volkerar...@googlemail.com: probably that files endet in LOST+FOUND. You also can get them from a portage tarfile Well, I found some of the files, but not all, so I will have to remerge at least the ones I didn't find. best thing you can do - remove the directories affected and re-emerge the stuff. Jip, that's what I heading for now. The funny thing is, that the system as whole runs charming, just emerge seems to be broken. - Will report soon which way I gone. Stay tuned! ~Loupy
Re: [gentoo-user] USB auto mounting
Using Windowmaker with Thunar as a file manager, with the volume manager in place and that plugin is enabled. For some reason Thunar is now not seeing any USB device when plugged in. I am not sure when this stopped working. My USB devices of keyboard, trackball, and webcam are working fine. If I lsusb I can see the flash drive listed when inserted. I have tried re-emerging various items hoping that it would bring it back to life. Obviously no luck since I am posting. Would anyone have any ideas on a possible cause and cure? I'm also using xfce thunar, but I've not setup any auto-mounting yet. So, I don't have any wisdom on the ground of getting back your old functionality. However, there is a reasonable alternative solution that might be more elegant, and also not dependent on your desktop, which is to use udev. Generally speaking, for my approach here, this isn't good for automounting any random device. However, for your standard devices, you can do things like collecting the usb serial number. The upside of this (and the reason I use it), is that for your standard USB storage devices, you can mount each one uniquely to any specified mount point. This is useful for things like backup to USB harddisk that you want mounted to the same point for, in my case, rsnapshot. (This is otherwise more difficult, since automounting without serial ID will just take the first usb drive connected and mount it somewhere in /media usually.) My usb camera is also mounted in such a manner, so that will also work. I assume a keyboard could be done likewise. In case this route is of interest, I will syndicate parts of a post I made to the list in October: To get the serial of a device, for this example, the device node /dev/sdb (which might be a USB key considered as a SATA drive here): # udevadm info -a -p $(udevadm info -q path -n /dev/sdb) | grep ATTRS{serial} You might get more than one return on this command. Us the first serial, and it is also the one without colons or periods, just numbers and letters. I include my own configuration files. The .rules config files should go into /etc/udev/rules.d and the scripts should be made executable and go under /etc/udev/scripts/ For a harddrive, then, you can make the directory in /mnt and put it into fstab /dev/cyclops/mnt/cyclopsext3rw,users 0 0 The system will complain on boot that it can't find the drive if it's not attached, but it won't do any harm as it's just a warning. PLEASE NOTE: For udev rules, each *new line* is considered as a *new rule*, thus for the same device, make sure there are no carriage returns. This could happen if you were Googling your hardware for udev rules and copy-pasting the udev rules from a web-browser (as not all sites will properly handle the carriage returns). Hope this helps, even if it is an alternative solution and doesn't tell you what happened to your system or why. ~daid 10-local.rules Description: Binary data isight.rules Description: Binary data mount_cyclops.sh Description: Bourne shell script
[gentoo-user] xconsole started appearing after update
HelloAfter world upgrade (3 weeks ago) I found that xconsole starts along with xdmstartup. It appears along with logging windows in xdm.I don't use neither kde nor gnome. I use fluxbox but I think that it does notmatter because xconsole appears before starting fluxbox."ps" shows me the following:xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFailI found in /etc/X11/xdm/Xsetup_0 the following (Note that it is commented out).### xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFailI have the following versions of the software:gentoo (3 weeks old world update)xorg-x11 7.4-r1xorg-server 1.6.3.901-r2fluxbox 1.0.0-r2How can I force xorg not to launch xconsole at startup.great thanks for helpGdzie planujesz spędzić sylwestra? Na plaży czy na nartach? - Turcja od 1669zł, Egipt od 1989zł, Włochy od 995zł, Austria od 1815zł. Sprawdź! - Kliknij:http://klik.wp.pl/?adr=http://wycieczki.wp.pl=915
Re: [gentoo-user] Re: decrapify your kernel config
On Mittwoch 18 November 2009, Alan McKinnon wrote: On Wednesday 18 November 2009 01:16:04 Stefan G. Weichinger wrote: Volker Armin Hemmann schrieb: Namespaces - you don't need it? Kick 'em out. hmm, interesting ... ;-) for sure I also want to decrapify my kernel-config ... To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct? This is rather counterintuitive to me, as my main workstation is far from an embedded or small system (ok, not compared to the 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for example, my embedded ALIX-PC I use as fw/router/something ...). So you suggest I set CONFIG_EMBEDDED=y and in turn get several new options/defaults to choose and get right or wrong ... ? ;-) I am quite sure to have at least *some* crap in my config as I tend to always do something like zcat /proc/config.gz /usr/src/linux-new-shiny-version/.config make oldconfig This gives me expected results and a it boots OK experience, getting rid of unused crap is another issue, yes. I wonder which EMBEDDED options would help me ... Likely none of them. The embedded menu is the most counter-intuitive thing in the whole kernel config. It does not supply a list of things you may enable, instead it activates a menu that allows you to switch stuff OFF that is normally ON. The rationale is that embedded devices need to get by on a very slim kernel and with some magic trickery they can successfully disable some features that are usually considered perfectly normal for regular desktop use. For example: CONFIG_HOTPLUG. It's unthinkable to remove this for a desktop, but does your TomTom need it? Does a GPS even have hotplug facilities? How about ADSL router/modems? To disable namespace, enable embedded, leave everything on, and you will find you can now disable namespaces. you can disable: - Enable 16-bit UID system calls - Sysctl syscall support without negative impact on a desktop. Most of it is broken for years anyway. - Core dumps are another feature that most people never use - Load all symbols for debugging/ksymoops and - Do an extra kallsyms pass stuff you can deactivate if you don't plan to send crash reports. - Enable PC-Speaker support oh hell - away with that one! Who needs beeps anyway?
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
On Mittwoch 18 November 2009, Alan McKinnon wrote: On Wednesday 18 November 2009 01:09:35 walt wrote: On 11/17/2009 10:45 AM, Alan McKinnon wrote: So this is one of those times where why words come back to haunt me?? :-) In another thread you just claimed that you plan to paint *one* bedroom. Speaking as a married man, I predict that you will be revisiting that one soon enough :o( Bedroom's gonna have to wait. Yesterday morning I wheelied the bike as per my usual fashion over the bump at the office park front gate. And snapped the drive belt when the back wheel came back down on the tar. Bloody American bikes. I can buy 3 Hondukiyamasaki superbike chains for the price of one American drive belt. Back on topic now :-) Apparently upstream is aware of this silly behaviour/bug, maybe I should wait a bit and see if they provide a knob to go back to the old behaviour the knob is the variable MALLOC_CHECK_ set it to (MALLOC_CHECK=) and you will be fine.
Re: [gentoo-user] can't boot, chroot no help
2009/11/18 Maxim Wexler maxim.wex...@gmail.com: Hi group, I ran emerge -avuDN world and came up with blocked packages which I eliminated by un-merging device-mapper and e2fsprogs-libs. When I rebooted was greeted by a maintenance console and the message libblkid.so.1 cannot open shared object file. A little googling later I realized that e2fsprogs-libs should not have been removed. No problem, I'll chroot and fix it. After the chroot I was able to mount /dev/sda1 on /mnt/gentoo but couldn't mount /dev/sdb2 on /var where portage is kept on this system. The error was identical to the original one when the pc was first rebooted: mount: error while loading shared libraries: libblkid.so.1... I tried to run e2fsck on /dev/sda2 but got this error msg: e2fsck: error while loading shared libraries: libcom_err.so.2: cannot open shared object file... Any one see a way past this impasse? I'm using ext2 with the journal option. I had to downgrade e2fsprogs last night to test some apparent incompatibility with the new HAL version (which won't compile on older util-linux, and this depends on e2fsprogs). I believe the advice already posted would be a good start and should fix your system. For the future, I suggest a useful thing to avoid annoyance and hassles like this in portage: One thing I suggest here is if you can spare some harddisk space, universally enable the portage feature buildpkg in make.conf. This will keep a .tgz of all binary packages as they were compiled before they were installed by portage. I've had the feature enabled for a few months, in which time a very large portion of my system has been re-compiled. Right now, /usr/portage/packages takes up about 600 MB of my disk space. When I was downgrading e2fsprogs (more difficult and risky than upgrade), I was able to emerge -k on e2fsprogs and libs (I had to disable collision-protect and protect-owned, which is only recommended for special cases when you are aware of what you're doing) and resume the system. For upgrading these kinds of files, what you need to do is a --fetchonly first on any blocked packages. If your problems persist and you just cannot get the system back in shape using a live CD, I suggest emailing the list your architecture and system details (ideally, just attach make.conf), and someone with similar hardware and USE flags might be nice enough to run a buildpkg for you and post the binaries somewhere. I'd post mine right now, but I'd rather wait to hear back your results and hardware specs. ~daid
Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10
Back on topic now :-) Apparently upstream is aware of this silly behaviour/bug, maybe I should wait a bit and see if they provide a knob to go back to the old behaviour This sounds like a reasonable plan. glibc downgrades aren't supported not only because they are a pain in the rear, but they shouldn't be required.
Re: [gentoo-user] Going ~x86?
I wonder if it's worth the trouble. I read here that running a full ~x86 system would probably be easier. And I'd like to try, but while going from x86 to ~x86 is easy, the other way is quite hard, isn't it? If possible at all. I just wanted to throw my two-cents in here, although much has been said. I was running ~x86 for about two years. Then I waited 6 months and was able to shift to x86 with only a few things in the keywords. (For example, I had already shifted to openrc and I didn't see the point in shifting back and then back-once-again.) However, for these cases, I almost exclusively keyword = version numbers, so that, in theory, I will eventually hit x86 minus a very few packages (for example, the ones that there is no x86 version available). But honestly, I've been nearly stable (x86) for a couple months now, and I can't say that the system seems any different. Problems still crop up, and I still have to deal with them. As one poster mentioned, when I was running ~x86 and an ebuild was annoying, I'd just emerge the stable one. This was a solution for 90% of the things I couldn't google up a bug report on. But the problems I've hit lately are taking me a lot more time. It could be the mixing of x86 ~and x86, even though the mixture is nearly all x86. While shifitng from ~x86 to x86 is 'harder' than the other way around, basically the way you're shifting is, by-and-large, just waiting for x86 to catch up to ~x86. Regards, daid
Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.
On Wed, 18 Nov 2009 09:09:35 +0200, Alan McKinnon wrote: eix comes with some useful utilities like eix-test-obsolete which scans all your portage files and tells you which settings are redundant, duplicated and so on. And flagedit warns if you have set any obsolete flags in make.conf. -- Neil Bothwick To most people solutions mean finding the answers. But to chemists solutions are things that are still all mixed up. signature.asc Description: PGP signature
Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.
Neil Bothwick wrote: On Wed, 18 Nov 2009 09:09:35 +0200, Alan McKinnon wrote: eix comes with some useful utilities like eix-test-obsolete which scans all your portage files and tells you which settings are redundant, duplicated and so on. And flagedit warns if you have set any obsolete flags in make.conf. I have used that eix one before. It was a while back tho. It does seem to output a LOT and takes a while to sort through it all. Don't worry, I won't post all that on here. I bet it is a lot of stuff. About to emerge flagedit now. See what it does. Thanks. Dale :-) :-)
Re: [gentoo-user] Reading a DVD as an ISO image
On Tue, Nov 17, 2009 at 09:49:52AM +0100, Sebastian Beßler wrote: Am 17.11.2009 09:09, schrieb Daniel Pielmeier: 2009/11/17 José Romildo Malaquias j.romi...@gmail.com: With both commands, the resulting image is 99.9% identical to the original one. Is there anything I can do to get an image identical to the original one? What about mounting the iso and create it again from the mountpoint. That he has deleted the iso? Yes, I have deleted the iso. How do you check the correctness of the new written iso? Have you a checksum of the old iso or do you check against the DVD? I have a sha1 checksum ot it. Romildo
Re: [gentoo-user] Reading a DVD as an ISO image
On Tue, Nov 17, 2009 at 12:02:12PM +0100, Joerg Schilling wrote: Daniel Pielmeier bil...@gentoo.org wrote: 2009/11/17 Sebastian Beßler webmas...@darkmetatron.de: What about mounting the iso and create it again from the mountpoint. That he has deleted the iso? Well, he then can create the iso again from the mounted DVD, without readcd or dd, but with the same program (mkisofs?) he used before. This works only in case that the OS correctly supports all features in the filesystem. As Linux does not support hard links correctly, callig mkisofs again will not always result in an identical image and the new image might not fit on the medium I have mounted the disc using the udf filesystem and then I have recreated the iso from the mounted disc using mkisofs with the same arguments. This time at least the new iso has the same size as the original one (while with dd and readcd the obtained iso is a little bigger). But the iso is still not identical to the original one. Romildo
Re: [gentoo-user] Re: Reading a DVD as an ISO image
On Tue, Nov 17, 2009 at 11:15:08AM -0500, Marcus Wanner wrote: On 11/17/2009 10:40 AM, Grant Edwards wrote: On 2009-11-17, Jos? Romildo Malaquias j.romi...@gmail.com wrote: Once I have written a dvd ISO image to a dvd-r disk and then I have deleted the image from the hard disk. Now I need the image again, but reading the image from disk does not give me an identical image to the original one. I have used the commands $ readcd -vvv dev=/dev/dvd f=image.iso and $ dd if=/dev/dvd of=image.iso With both commands, the resulting image is 99.9% identical to the original one. If you deleted the original, how do you know? the one you're creating from the DVD isn't identical? Is there anything I can do to get an image identical to the original one? Since you still seem to have a copy of the original ISO, just use it. 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. You guessed almost right. Except by the fact that the original iso was created by me and transfered to another machine, and now it is lost from both machines. Romildo
Re: [gentoo-user] Re: Reading a DVD as an ISO image
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. Romildo
Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1
On Tuesday 17 November 2009 23:00:23 Alan McKinnon wrote: On Tuesday 17 November 2009 23:56:00 Philip Webb wrote: Are you using Nvidia ? -- someone else mentioned that as a possible cause. Yes, nvidia-190.42-r3 I've noticed recently that kdm takes looong to start - more than 30 seconds, and xterm is still taking over 3 seconds to load. I'll try downgrade nvidia tomorrow when I have a chance and see what happens I've tried switching to the nv kernel driver and it made no difference here. I'm pretty sure it's an X problem. I'd better try reverting X to an older version. -- Rgds Peter
Re: [gentoo-user] sound on intel imac [solved]
Hello Daid, Thanks for your reply. daid kahl daid...@gmail.com writes: # emerge alsa-util alsa oss ...and alsa-utils I should go to sleep... After my post I knuckled down and worked systematically through the model= options for ALC883/888 and ALC882/885, having gleaned from the internet that these are most similar to the 889A. The possible choices are listed in /usr/src/linux/Documentation/alsa/HD-Audio-Models.txt. Several choices produced sound, but only this (for ALC882/885): options snd-hda-intel model=mbp3 in /etc/modprobe.d/alsa.conf, followed by running update-modules, produces sound and turns off the speakers when the headphones are plugged in. This was one of the options I tried before posting, having found it using google, but it did not work. I _think_ I made the mistake of rerunning alsaconf after editing /etc/modprobe.d/alsa.conf, which of course erased my edit! Dumb. Best wishes, Roger
Re: [gentoo-user] Reading a DVD as an ISO image
José Romildo Malaquias j.romi...@gmail.com wrote: I have mounted the disc using the udf filesystem and then I have recreated the iso from the mounted disc using mkisofs with the same arguments. This time at least the new iso has the same size as the original one (while with dd and readcd the obtained iso is a little bigger). But the iso is still not identical to the original one. with this method you will never be able to get to the same checksum. 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
Re: [gentoo-user] sound on intel imac [solved]
After my post I knuckled down and worked systematically through the model= options for ALC883/888 and ALC882/885, having gleaned from the internet that these are most similar to the 889A. The possible choices are listed in /usr/src/linux/Documentation/alsa/HD-Audio-Models.txt. Several choices produced sound, but only this (for ALC882/885): I had some trouble getting everything working on a newer kernel. I'll post the solved results of that on this list presently. If I didn't suggest it, pommed is a nice little daemon for using the Mac hotkeys. It was doing silly things today, but once I rebuilt and had the correct kernel settings, all was good. My sound was going to 0 at around 30% today, which was some interference between an older kernel and a newer kernel settings. Startup gave me funny messages about the sound card whenever I'd boot directly from one kernel into another, and I decided once everything else was working, if I just switched to the older kernel and back to the newer one, it could properly initalize itself. It worked! Who knows with these things.. Let me know if you need any other hardware working, since I've got it all I think. (Never tested bluetooth, but it shows up, and I deleted my old IR setup since I switched away from KDE, but it worked.) Regards, daid
[gentoo-user] nm-applet / vpnc / pptp / openvpn
Hi, 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 This is my versions [I] sys-apps/dbus Available versions: 1.2.3-r1 ~1.2.12 ~1.3.0 ~1.3.0-r1 {X debug doc selinux test} Installed versions: 1.2.3-r1(16.09.48 2009-11-17)(X -debug -doc -selinux) [I] net-misc/networkmanager Available versions: *0.6.5_p20070823 0.6.6 ~0.7.1-r3 0.7.1-r6 ~0.7.1_p20090824 [M]**0.8.0_pre20090824 [M]**0.8.0_pre20091105 {avahi bluetooth connection-sharing crypt debug dhclient dhcpcd doc gnome gnutls nss resolvconf} Installed versions: 0.7.1-r6(18.16.04 2009-10-19)(gnutls resolvconf -avahi -connection-sharing -dhclient -dhcpcd -doc -nss) Homepage:http://www.gnome.org/projects/NetworkManager/ Description: Network configuration and management in an easy way. Desktop environment independent. [D] net-misc/networkmanager-openvpn Available versions: ~0.3.2_p20070621 ~0.7.1-r1 {crypt debug doc gnome} Installed versions: 0.7.1-r1(16.02.50 2009-11-17)(-gnome) Homepage:http://www.gnome.org/projects/NetworkManager/ Description: NetworkManager OpenVPN plugin. [D] net-misc/networkmanager-pptp Available versions: ~0.1.0_p20070726 ~0.7.0 ~0.7.1 {crypt debug doc gnome} Installed versions: 0.7.1(16.03.03 2009-11-17)(-gnome) Homepage:http://www.gnome.org/projects/NetworkManager/ Description: NetworkManager PPTP plugin. [D] net-misc/networkmanager-vpnc Available versions: ~0.6.4_p20070621 ~0.7.0 ~0.7.1 {crypt debug doc gnome} Installed versions: 0.7.1(16.03.15 2009-11-17)(-gnome) Homepage:http://www.gnome.org/projects/NetworkManager/ Description: NetworkManager VPNC plugin. Do you have any idea? Thank you L:
[gentoo-user] Re: Keyboard Mapping Issues [solved]
2009/11/18 daid kahl daid...@gmail.com: Hello, After some recent updates, my keyboard shows some strange and undesirable behavior. It is a MacBook (no previous keyboard problems), with US mapping and UTF-8 mode. It appears that the problem is some unholy alliance between hal-0.5.13-r2 and the 2.6.30 gentoo-sources. I was upgrading from a fairly outdated kernel (2.6.27). Somehow (perhaps because hal looks for configurations in /usr/src/linux), even my old kernel functionality for hotkeys was bungled by the new kernel. The old kernel functionality was regained by rebuilding tons of packages against the properly eselected kernel. However, I have now gotten the hot keys working again in the newer kernel as well. The only unresolved issue is the '@' sign at command prompt is still a line-delete (very queer), but I regained all hotkeys and other features. The basic problem resulted from a new kernel configuration for the Apple hotkeys. Previously it was called USB_HIDINPUT_POWERBOOK (up until at least 2.6.27), but as of 2.6.28 (and up to at least 2.6.30) this is now called HID_APPLE. Although this feature got enabled from doing oldconfig, somehow it 'missed' a dependency. So in the raw .config it's showing up as being activated, but it won't show up in menuconfig. Using the menuconfig search tool (/) then I could check the dependencies of HID_APPLE, which I was missing EMBEDDED (it also depends on HID_SUPPORT HID (USB_HID || BT_HIDP)). This is, I suppose, a problem because I didn't follow my own advice to avoid oldconfig from very different kernel versions, as it can result in funky half-baked transformation of rule-name changes like the above. Then once I loaded HID_APPLE as a module, I could add a module rule which I called /etc/modprobe.d/fn-key : options hid_apple fnmode=2 Function mode 2 means that the F1-12 keys should behave as normal function keys, and only act like special hotkeys if I press the 'Fn' key -- I expect most Linux users would want this behavior...unless you like making the claw-hand to Fn-Alt-F4 and close windows... Just for a full report (and Google hits for other unfortunates), in the past, this was done through the usbhid module like: options hid pb_fnmode=2 At some point the battery indicator in xfce4-battery-plugin was reading 0 (tested some other indicators such as the xfce4-power-manager and got the same results). I regained proper battery % display by taking out the battery, rebooting into Mac OS, putting the battery back in, and rebooting back to Gentoo; maybe just temporarily removing the battery alone or booting to Mac OS alone was good enough, but I just did both at once through intuition. It's not at all clear which package was responsible for this bungling, since I was variously upgrading and downgrading e2fsprogs, e2fsprogs-libs, util-linux (none of these three are recommended for switching versions, by the way -- you probably need the buildpkg feature enabled in portage), udev, xf86-input-evdev, hal, device-mapper, and lvm2. If I had to guess, I'd say it was udev since now when I pull the power cable the screen auto-dims, which sounds like a udev feature (but I didn't scan the udev rules.d directory yet) -- but it was almost certainly hal, udev, or evdev, since those were the upgrades when I noticed on reboot that the battery read 0%. pommed had to rebuilt as well to get back volume control features. This was somewhere in the annoyance with ALSA not doing things correctly for my volume. I didn't test it, but it's possible pommed hotkeys don't work correctly in the old kernel now, since alsa and the keyboard mapping changed a bit in the 3 kernel versions. Now that everything works in the new kernel, I don't care to test. I wish my report on the upgrade from 2.6.27 to 2.6.30 was more systematic, but after so much work to get things functional, I'm in no position to go break it all again and pin point exactly the issue. But it seems to have been almost entirely in the kernel. Regards, daid
Re: [gentoo-user] Re: decrapify your kernel config
To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct? This is rather counterintuitive to me, as my main workstation is far from an embedded or small system (ok, not compared to the 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for example, my embedded ALIX-PC I use as fw/router/something ...). I wonder which EMBEDDED options would help me ... I just lost about a whole day from this silly option. I need to run embedded or my laptop hoykeys won't work! ~daid
Re: [gentoo-user] configuring wlan0
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? 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 pgpuUQk8pNXD6.pgp Description: PGP signature
Re: [gentoo-user] Re: Reading a DVD as an ISO image
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
[gentoo-user] Re: Reading a DVD as an ISO image
On 2009-11-18, Jos? Romildo Malaquias j.romi...@gmail.com wrote: 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. Have you tried truncating them to the same length as the original one and then checking the hash? 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. -- Grant Edwards grante Yow! Go on, EMOTE! at I was RAISED on thought visi.comballoons!!
Re: [gentoo-user] ~amd64 : X11 (?) crashing
On Sunday 15 November 2009 15:00:52 Alan McKinnon wrote: I can attest to xorg-server-1.7.1 working just fine here with latest nvidia- drivers in the tree on amd64 Here I have xorg-server-1.7.1 on an all-~amd64 system and I get long delays, no matter whether I use nv or nvidia-drivers-190.42-r3. This is with kde-4.3.3. -- Rgds Peter
Re: [gentoo-user] configuring wlan0
On Wednesday 18 November 2009 15: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? I don't think that there bugs in conf.d/net just a matter of preference. Alan suggested that wicd is a simpler way to have your wireless configured and it does not need /etc/init.d/*net scripts to function. I am running wpa_supplicant: modules=( wpa_supplicant ) wpa_supplicant_ath0=-Dwext and it just works™ for my wireless card. You may want to try something like this in your /etc/conf.d/net: sleep_scan_wlan0=1 config_wlan0=( dhcp ) fallback_wlan0=( 192.168.0.5 netmask 255.255.255.0 ) fallback_route_wlan0=( default via 192.168.0.1 ) in case there is a dhcp problem with how the router releases IP address leases. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] can't boot, chroot no help-D'UH!
On 11/17/09, Albert Hopkins mar...@letterboxes.org wrote: On Tue, 2009-11-17 at 20:46 -0700, Maxim Wexler wrote: Any one see a way past this impasse? I'm using ext2 with the journal option. Why didn't you mount/fsck all the filesystems from outside the chroot? Yeah, that's what I ended up doing. Something about those red !'s that renders me helpless, even after umpteen times ;( mw
Re: [gentoo-user] cdrecord fails to burn dvd
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 Romildo cdrecord.log.bz2 Description: BZip2 compressed data
Re: [gentoo-user] configuring wlan0
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? Mike 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) Laszlo
Re: [gentoo-user] nm-applet / vpnc / pptp / openvpn
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
[gentoo-user] Re: xconsole started appearing after update
On 11/18/2009 01:33 AM, fajfu...@wp.pl wrote: Hello After world upgrade (3 weeks ago) I found that xconsole starts along with xdm startup. It appears along with logging windows in xdm. I don't use neither kde nor gnome. I use fluxbox but I think that it does not matter because xconsole appears before starting fluxbox. ps shows me the following: xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail... Two ideas: use the 'f' flag with ps (ps -axf) to see who owns the xconsole process; and delete or rename xconsole and see who complains when X starts up.
Re: [gentoo-user] Re: xconsole started appearing after update
On Wed, 2009-11-18 at 11:41 -0800, walt wrote: On 11/18/2009 01:33 AM, fajfu...@wp.pl wrote: Hello After world upgrade (3 weeks ago) I found that xconsole starts along with xdm startup. It appears along with logging windows in xdm. I don't use neither kde nor gnome. I use fluxbox but I think that it does not matter because xconsole appears before starting fluxbox. ps shows me the following: xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail... Two ideas: use the 'f' flag with ps (ps -axf) to see who owns the xconsole process; and delete or rename xconsole and see who complains when X starts up. xdm starts it: $ equery f xdm| while read f ; do file $f |grep -qi text grep -H xconsole $f; done /etc/X11/xdm/Xresources:XConsole.text.geometry: 480x130 /etc/X11/xdm/Xresources:XConsole.verbose: true /etc/X11/xdm/Xresources:XConsole*iconic:true /etc/X11/xdm/Xresources:XConsole*font: fixed /usr/lib64/X11/xdm/GiveConsole:# By convention, both xconsole and xterm -C check that the /usr/lib64/X11/xdm/Xsetup_0:xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail /usr/share/man/man1/xdm.1:to run \fIxconsole\fP here). /usr/share/man/man1/xdm.1: xconsole\0\-geometry\0480x130\-0\-0\0 \-notify\0\-verbose\0\-exitOnFail /usr/lib64/X11/xdm/Xsetup_0 is the file that you want.
Re: [gentoo-user] configuring wlan0
On 18/11/09 Mick said: I don't think that there bugs in conf.d/net just a matter of preference. Alan suggested that wicd is a simpler way to have your wireless configured and it does not need /etc/init.d/*net scripts to function. I am running wpa_supplicant: modules=( wpa_supplicant ) wpa_supplicant_ath0=-Dwext and it just works??? for my wireless card. You may want to try something like this in your /etc/conf.d/net: sleep_scan_wlan0=1 config_wlan0=( dhcp ) fallback_wlan0=( 192.168.0.5 netmask 255.255.255.0 ) fallback_route_wlan0=( default via 192.168.0.1 ) in case there is a dhcp problem with how the router releases IP address leases. I'm not using dhcp, just a static address. All I want the damn scripts to do is this modprobe ndiswrapper iwconfig wlan0 essid digitaltorque ifconfig wlan0 192.168.0.5 netmask 255.255.255.0 route add default gw 192.168.0.1 After looking at the net.example again maybe I need this modules=( ifconfig iwconfig !wpa_supplicant ) Or maybe I should just run an rc.local script. 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 pgp4r9UwhWhPw.pgp Description: PGP signature
Re: [gentoo-user] configuring wlan0
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. 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 pgpX7t8RDY6kb.pgp Description: PGP signature
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
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. Thanks again Francisco -- 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
[gentoo-user] flash drive FAT partition disappears
I can't think of a specific place to look for this, so will try the eclectics at gentoo-user. A student handed me a USB flash drive with a video file on it he wanted to offer to me to watch. It mounted automatically, I copied the file, then I took the disk out of the drive and gave it to him. I cannot say with 100% certainty that I unmounted it. The file was completely copied. I am pretty careful, so I think I unmounted it. Today he came back to me, asking what happened to his disk. He said nothing it there anymore. I checked. Gparted says this drive (4 GB I think) has 2 Terabytes of unallocated space. None of the Windoze gurus (so to speak) around here know what to do. Any ideas? I'm afraid the little bit of progress I've made over the past 13 years in advocating GNU/Linux and Free Softwrae, will be lost if this problem isn't solved. Thanks, Alan
Re: [gentoo-user] flash drive FAT partition disappears
Hello, first, the disclaimer: take everything I'll say here as a starting point, not as an universal truth. I am by no means specialist in this kind of toys. On Thu, 19 Nov 2009 02:46:36 +, Alan E. Davis lngn...@gmail.com wrote: I can't think of a specific place to look for this, so will try the eclectics at gentoo-user. A student handed me a USB flash drive with a video file on it he wanted to offer to me to watch. It mounted automatically, I copied the file, then I took the disk out of the drive and gave it to him. I cannot say with 100% certainty that I unmounted it. The file was completely copied. I am pretty careful, so I think I unmounted it. 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. 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). But, that's not a substitute for a true umount, or a sync. It's just a way to shorten the scope of any possible problem if you accidentelly unplug the drive without having used umount first. As a note, FAT is not precisely known for being too solid. Today he came back to me, asking what happened to his disk. He said nothing it there anymore. I checked. Gparted says this drive (4 GB I think) has 2 Terabytes of unallocated space. None of the Windoze gurus (so to speak) around here know what to do. Any ideas? I'm afraid the little bit of progress I've made over the past 13 years in advocating GNU/Linux and Free Softwrae, will be lost if this problem isn't solved. Your problem with the size of the drive is a bit more alarming. It could be a problem in your partition table. In that case, the chance is high that testdisk can guess a valid partition table and restore the drive to a working state. However, it could also be a fortuitous electric accident that fried the unit, that happens sometimes, and it has nothing to do with you or linux. 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. All this, assuming that the student didn't already mess up the drive. Anyway, if s/he truly saved the only copy of anything important in a pendrive and then sent it around the world, s/he almost deserves any pain that could derive from that action. -- Jesús Guerrero
Re: [gentoo-user] flash drive FAT partition disappears
091119 Alan E. Davis wrote: A student handed me a USB flash drive with a video file on it he wanted to offer to me to watch. It mounted automatically, I copied the file, then I took the disk out and gave it to him. I cannot say with 100% certainty that I unmounted it. The file was completely copied. Today he came back asking what happened to his disk, nothing there anymore. I checked. Gparted says this drive (4 GB I think) has 2 Terabytes of unallocated space. ^ surely not on a USB drive ?? A few quick suggestions: (1) you told it 'mv', not 'cp' (I've done that); (2) he did something with it after he got it back (people do); (3) he brought back a different USB stick (people mix them up); (3) why don't you simply reformat the drive as Vfat for him copy the video file back onto it ? did it contain other items too ? -- Surely, nothing you can have done would have deleted a partition ! -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1
091118 Peter Humphrey wrote: I've tried switching to the nv kernel driver and it made no difference. I'm pretty sure it's an X problem. Extensive Googling found 1 useful hint of where the problem might lie: http://stackoverflow.com/questions/1087580/resource-temporarily-unavailable-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) -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
On Thu, 19 Nov 2009 12:44:43 Francisco Ares 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. Thanks again Francisco Before you do that, rename the .kde directories in their home directory to something like .kde_old and let KDE create new ones on her next login, and see what happens then. It could just be some bad config settings from previous versions. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
[gentoo-user] Strange X behaviour
I'm experiencing some interesting things when X starts. I have a dual-screen setup I recently upgraded to KDE4.3.1. When X starts, KDM is showed on the side of the screen. It seems like it's cut off in the middel and my desktop can scroll to the side (like having a virtual desktop). When KDE starts, the display returns to normal, but the screens are cloned and the desktop size is exactly the resolution size. If I log out of KDE, kdm shows up split across my two monitors and when i log in KDE uses the screens like I had one with w*2xh resolution. I guess kdm is calling some XrandR functions when I log out, but how do I find out what and get it to do so at the start? I'm using the ati-driver for my Radeon HD 2400 XT Sorry if my description is a bit unclear. Regards Dirk