Re: [gentoo-user] Re: Hard drive RPMs and data speed.
Lots of HDD RPMs and company suggestions, but to the point... My two cents are: ESATA. I have multi TB external disks which I have physics data stored on and needs to be analyzed. USB might be as fast (in the best case), but it uses processor overhead. Not that a lot of machines support that kind of input. I picked up a decent laptop for cheap that also supports ESATA. I didn't do benchmarks or anything, but it's really insane IMO. ~daid PS Sorry I deleted all the reply text. I didn't want to copy/paste individual references to different company external drives and so on, just to not really care. Mine is something by Buffalo, but I care because it has ESATA. PPS Or you could be my friends using USB formated NTFS and I can use top to see how much processor power is used by ntfs-3g just to read the data. Ugh!
Re: [gentoo-user] [OT] How fast was ... ?
Thank you very much for any nice idea, story or of course comparison in advance!i :) Well, I still have a TI-86 calculator with a Z80 processor. Of course, even these are extremely mocked these days (eg http://xkcd.com/768/) My best friend in high school had programmer parents, and lots of computer magazines from the 80s. I know we found some computer with a Z80 processor from 1980 for $2000. I bought my calculator in 1998 for about $100. Using a random inflation calculator, the same computer would have cost $4000 at that time. Who knows about specs and other stuff, but you said you wanted stories, not science. ~daid PS Actually my calculator is MIA right now. Maybe I left it in the US or Canada...or it's packed in some bag in Japan? Whatever people can say, I miss my calculator.
Re: [gentoo-user] setting locale
On 30 May 2011 20:58, Allan Gottlieb gottl...@nyu.edu wrote: On Mon, May 30 2011, David W. Noon wrote: On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re: [gentoo-user] setting locale: måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb: What must I do to get en_US_utf8 ? echo LANG=en_US_utf8 /etc/env.d/02locale and env-update should work. The correct locale string is en_US.UTF-8. Thank you this fixed the problem. allan Indeed, my own notes are exactly the same as here. As far as the other debates on how to most concisely express the idea, my notes to myself read as the result rather than say how to edit config files. Spill the contents to the screen and you need to see that (or similar for different locale than US). daid@flux ~ % cat /etc/env.d/02locale LANG=en_US.UTF-8 Is there any kind of project using even a simple GUI like zenity for doing config file editing in Gentoo? I could use some good way to organize that stuff some days. Cheers, daid
Re: [gentoo-user] How do I eject an audio CD inside Gnome?
I can't be of much more help to you, I don't use Gnome at all (see above) Can't say I blame you. What's the choice, though? I appreciate the spare uncluttered desktop of Gnome. Last time I tried KDE (about 7 years ago) it was anything but uncluttered. I tried XFCE briefly, but couldn't get it to run stably. Besides, it was missing an application to switch between keyboard layouts, something I absolutely need. I hear good things about XFCE these days. If you haven't tried it lately, it might be worth a new look. And you can always write a small script to change your keyboard layout if there's no gui app. Not as convenient as a systray icon, but probably a small price to pay if everything else suits your needs My basic response was in fact that I now use XFCE, and I basically do not have any auto-mounting software even installed. I don't mind mounting and umounting manually for some stuff, and then using udev rules and scripts for like my regular USB items (harddisks, flash memory...). So yeah, you go mount the CD yourself, but then the eject button will work if you just set up a script in the very worst case, as long as all permissions are satisfied (group, whatever). Usually an eject call on the device will work fine for the hotkey. Just use some keyboard tweaking program to fix it up. And for me that's just fine. Other people may prefer it differently. But auto-mounting will do annoying stuff on my laptop every time it goes to sleep and wakes up and...it's just annoying to me personally. If you don't have much experience setting up you own custom 'automonting' tools, I'll give just a couple examples. I think with the comments it's clear enough. daid@titan ~ % cat /etc/udev/rules.d/10-local.rules # external USB, Seagate FreeAgent GO aka cyclops SUBSYSTEMS==usb, DRIVERS==usb, ATTRS{serial}== 5LZ2XQJ5, SYMLINK+=cyclops ACTION==add, RUN+=/etc/udev/scripts/mount_cyclops.sh daid@titan ~ % more /etc/udev/scripts/mount_cyclops.sh #!/bin/bash #mount Seagate FreeAgent Go with serial 5LZ2XQJ5 to /mnt/cyclops on ACTION='add' mount -t ext3 /dev/cyclops /mnt/cyclops chown root:users /mnt/cyclops chmod 775 /mnt/cyclops daid@titan ~ % ls -l /etc/udev/scripts/mount_cyclops.sh -rwxr--r-- 1 root root 186 Apr 27 04:21 /etc/udev/scripts/mount_cyclops.sh daid@titan ~ % ls -l /etc/udev/rules.d/10-local.rules -rw-r--r-- 1 root root 1409 May 25 13:43 /etc/udev/rules.d/10-local.rules The udev rule will do a tricky thing making the /dev/cyclops symlink so it doesn't matter what *order* the device was connected. Rather than 'naming' it like in some other operating systems, you just give it a static mount point. When you're done, just manually umount the mount point. Cheers, daid
Re: [gentoo-user] How do I eject an audio CD inside Gnome?
daid@titan ~ % cat /etc/udev/rules.d/10-local.rules # external USB, Seagate FreeAgent GO aka cyclops SUBSYSTEMS==usb, DRIVERS==usb, ATTRS{serial}== 5LZ2XQJ5, SYMLINK+=cyclops ACTION==add, RUN+=/etc/udev/scripts/mount_cyclops.sh Sorry, but make sure that the one entry (begins with SUBSYSTEMS) is on *only one line* since that is a general requirement for a udev rule format (but some email programs may auto-indent or mis-represent the single line, but this is a necessary detail, just like makefiles don't paste well from html either due to whitespace issues). ~daid.
Re: [gentoo-user] LXDE
I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop (amd64). It seems to work, but when I logout it hangs. It never returns to the command prompt and the keyboard doesn't work so I can switch to an alternate terminal. Strange. Never used LXDE, but KDE and Xfce I never had such a problem with startx. Anyway, if you're serious about using it, probably you'll want xdm and likely slim (since you're running something lightweight). Yeah, I ran startx for two years because I'm that lazy, but anyway, it's a good idea. From XDM you can get a terminal if you want. This is only at best a work around (or indication of deeper problems), but you may try it. Just make sure you edit slim.conf for your login_cmd since for zsh you get a little wrecked if you don't... Cheers, daid
Re: [gentoo-user] Gnumeric USE options and .xlsx files?
On 3 March 2011 11:44, Walter Dnes waltd...@waltdnes.org wrote: Is Gnumeric unable to handle Excel .xlsx files or am I missing a USE flag somewhere? emerge -pv libreoffice http://www.autoobserver.com/car-data-center/assets/2011-03%20Sales.xlsx Tried your file in OO.o 3.2.1. Let me get you my USE flags for reference: cups dbus gstreamer gtk java ldap nsplugin opengl* pam (-aqua) -bash-completion* -binfilter -debug -eds -gnome -kde (-kdeenablefinal) -odk -templates I hope that's cool for you. So I didn't build it with opengl, but I did with bash-completion, and I changed make.conf since. Anyway, if you ask me, libreoffice is still in the works in terms of the ebuild. I don't want to toot my own horn, but see http://bugs.gentoo.org/show_bug.cgi?id=295268 which very well indicates that the libreoffice ebuild was not derived from, nor seriously considering past problems encountered by, the openoffice ebuild. IMO I'd hash it to a libreoffice problem, since I can open your document over here. Don't get me wrong, I'll be more than happy to switch to libreoffice, but I'm not convinced, at the very least, that the Gentoo team has it squared away yet. No blame there, it's just as easily an upstream problem. But I really doubt it's a USE flag... Cheers, daid
Re: [gentoo-user] baselayout -- openrc ?
On 22 October 2010 11:02, James wirel...@tampabay.rr.com wrote: Hello, Well here it seems that openrc is going ~arch http://forums.gentoo.org/viewtopic-t-688090.html So has it been decided that openrc is the way forward? Any caveats with openrc we should be aware of? Just to put in my two cents, which is largely a smaller general point and not related to the fairly informative discussion regarding openrc itself. Basically, any time I do a major update like this, I make a disk image styled backup. I run other backups more regularly (rsnapshot), but if something hits the fan on an update and I don't have the time, patience, or luck to fix it right away, then I just toss my system back to exactly how it was without fretting. These days it's either the first point (a matter of time right then) or just a comfort factor from my older days of doing large Gentoo updates and not knowing a lot of the basics of how to properly update. Anyway, systemrescuecd or even something simple like gparted live cd will have partimage which is a quick and easy tool for full backups. Just don't turn off the 2GB file size if you use the gzip option (something goes wrong that I forget now). Of course you can even use dd if you it's your style. I'm aware this strays slightly from the main question asked here, but I think that question was considered already by others. That being said, I too did the openrc migration a long ways back and it was fine. I also agree with the general sentiment that sticking with ARCH or ~ARCH makes more sense. But if you have some time right now to do updates and plan to be really busy in the near future, then that could be a reason to do such an update. ~daid
Re: [gentoo-user] Preventing a package from being updated
Don't worry about it. I'm not sure if portage-2.1.9.20 will deal with this automagically (I *think* it does these days and 2.2 definitely does) but if not just emerge -C shadow ; emerge -1 shadow then emerge -avuND world. No good technical reason for doing shadow first apart from getting it over and done with while you watch and confirm it works fine. Then do world and wander over to the kettle letting portage go on with doing it's thing unattended For my own comfort, on a case like this, if I didn't have the portage FEATURE buildpkg or buildsyspkg turned on, I'd make sure that was on and that I had a functional backup of shadow to install from binary, in case something went very wrong. But I tend to be extremely cautious in terms of how I maintain my system, and a lot of that caution is just paranoia. ~daid
Re: [gentoo-user] emerge depclean gcc
2010/10/21 Michael Hampicke gentoo-u...@hadt.biz: May I just unmerge my old gcc ? Is it save ? Yes it's save to unmerge your old gcc. You could also - using quickpkg - create a binary package of your old gcc before unmerging (for backup puropses). From the strictly Gentoo side of things, it's safe (following instructions already posted). However, for myself, I use tons of third party physics software, among other things. A lot of it is not very recent, and sometimes they are picky about which gcc compiles is (and sometimes I need a shell script to switch the gcc for execution of those programs and switch back afterward...joy!) So if you do a lot of compiling of external programs that are not as well maintained and updated, there's not a lot of reason to *unmerge* an old gcc. There are two reasons to actually remove gcc's in my opinion: revdep-rebuild wants to reinstall all of them, you need the disk space. I have 10 options under gcc-config. I'm not at all recommending this to everyone, but just making the point that, depending on what other things you have going on, it's a good idea to check any third party stuff, at the very least, before just removing it, since there's not much harm in keeping a few extra gccs around for rainy days. ~daid
Re: [gentoo-user] Re: Slow Login, Sudo, etc.
The main correlation I've seen so far is with dhcpcd. Sometimes at my work I get a 192. IP (which doesn't work), and other times I get a 133. IP (which is correct). In fact, sometimes dhcp is giving me an IP address and resolv.conf related to a university I was visiting like a month ago. It sounds like someone at your work might be (accidentally) running a rogue DHCP server... For the 192 address - yeah, someone has probably plugged a WLAN or ADSL router into the local network, and other people will be have the same problem. If they were purposely running a rogue DHCP server to perform a Man In the Middle attack you wouldn't notice any connectivity problems (assuming they set it up correctly). Yes. I was getting the wireless IP. Turns out my officemate had turned off the dhcp server. _ Getting the university address is very odd. AFAIK dhcpcd has no function to fall back to the address from an expired lease. Grep your logs for dhcpcd and post the result. I found the outdated static configuration file. Woops! Well, so that was a very silly problem! Non-commented dated configuration file and broken dhcp server. But the behavior was so random. And I never new that the DNS lookup would delay logins. So that was very educational. Regards, daid
Re: [gentoo-user] Re: Slow Login, Sudo, etc.
On 10/11/2010 11:38 PM, daid kahl wrote: However, I noticed that logins, su, and sudo are all responding slowly. This was all fixed and fine once I updated my configuration files, but this week it's acting up again. Before it was just su and sudo that I noticed as slow (authentication takes around 20 seconds). But now even logins are delayed (xdm or command line). On 13 October 2010 07:12, walt w41...@gmail.com wrote: Whenever I see something that eventually works, but only after a long delay, I think of DNS problems. Who might be doing a nonsensical DNS lookup, I have no idea. But you might consider running a packet sniffer (wireshark, etc) while logging in or doing an su. Are you running your own local name server? Very very intersting!! The main correlation I've seen so far is with dhcpcd. Sometimes at my work I get a 192. IP (which doesn't work), and other times I get a 133. IP (which is correct). In fact, sometimes dhcp is giving me an IP address and resolv.conf related to a university I was visiting like a month ago. In other words, I know I have some networking problems, but I was reluctant to imagine it was at all related to this login problem, even though I had some basic empirical data on it. Anyway, it happened again tonight, and it was resolved after I did some of the same emerges as before, but I think that might be just chance. I look into the DNS stuff. Thanks for the sanity check! ~daid PS: Sorry for the initial top posting on myself...
DNS Issues [Was: [gentoo-user] Re: Slow Login, Sudo, etc.]
On 13 October 2010 22:38, daid kahl daid...@gmail.com wrote: On 10/11/2010 11:38 PM, daid kahl wrote: However, I noticed that logins, su, and sudo are all responding slowly. This was all fixed and fine once I updated my configuration files, but this week it's acting up again. Before it was just su and sudo that I noticed as slow (authentication takes around 20 seconds). But now even logins are delayed (xdm or command line). On 13 October 2010 07:12, walt w41...@gmail.com wrote: Whenever I see something that eventually works, but only after a long delay, I think of DNS problems. Who might be doing a nonsensical DNS lookup, I have no idea. But you might consider running a packet sniffer (wireshark, etc) while logging in or doing an su. Are you running your own local name server? Very very intersting!! The main correlation I've seen so far is with dhcpcd. Sometimes at my work I get a 192. IP (which doesn't work), and other times I get a 133. IP (which is correct). In fact, sometimes dhcp is giving me an IP address and resolv.conf related to a university I was visiting like a month ago. In other words, I know I have some networking problems, but I was reluctant to imagine it was at all related to this login problem, even though I had some basic empirical data on it. Anyway, it happened again tonight, and it was resolved after I did some of the same emerges as before, but I think that might be just chance. I look into the DNS stuff. Thanks for the sanity check! ~daid PS: Sorry for the initial top posting on myself... I've been having some networking problems lately, and apparently it's mucking up my logins and things like sudo sometimes as well. Thanks to Walt for telling me these two problems might be related. I'm on a MacBook, and I wouldn't say this is the first time I've had networking issues, but the hardware may not be at all the problem. At home I use wireless and NetworkManager for that. This is because I've never managed to get wicd working correctly for my wireless. Just tonight I had to stop dhcpcd for NM to actually connect. Maybe this is normal, I kind of forget how I hack things sometimes, though. At work I'm using DHCP, and the nameserver is controlled by the network. In that case, if I reboot, I (sometimes) get a correct IP. Normally I'm on top of what's controlling what, but I'm more confused these days. I can't tell if it's done by net, or dhcpd or what, since restarting them doesn't usually reboot net.eth0. Sometimes I get wicd working on it. It's kind of a mess! Very curiously, as in my previous post I mentioned, sometimes I'm getting resolv.conf for a university I visited like last month. Why or how that would happen I don't know. It's some config problem? I need to dig through everything, since sometimes at the university I statically connect, but I'm pretty sure all those are commented out. Why it will assign me up to three different nameservers, seemingly randomly, for ethernet, I can't understand. So, firstly I'll need some troubleshooting. I already have wireshark installed, so that could be helpful. I guess what might be helpful right now is how to purge my networking stuff and just start it all from scratch. There is so much garbage installed right now so I can hack it together that it's just a mess (this happened because I can get it to function eventually, yuck). Cheers, daid
[gentoo-user] Slow Login, Sudo, etc.
Hello, I did a large update a week or two ago (400 packages); system is ~x86. It took awhile and needed some cleaning, but in general everything went smoothly. However, I noticed that logins, su, and sudo are all responding slowly. This was all fixed and fine once I updated my configuration files, but this week it's acting up again. Before it was just su and sudo that I noticed as slow (authentication takes around 20 seconds). But now even logins are delayed (xdm or command line). As an example that I timed: su, it takes 20 seconds for the password prompt to appear, and over 60 seconds for the login to authenticate (assuming the correct password...it is a little faster to fail). What package(s) are most likely to be responsible for logins and su/sudo? I tried rebuilding (and also downgrading) pam, and I'm trying some other things now, but no luck so far. I'm happy to provide any information, but this kind of problem is nothing I have experience with, so I have no sense of what else to mention. Cheers, daid
[gentoo-user] Re: Slow Login, Sudo, etc.
Hmm, as usual, sending email to the user list makes subsequent guesses have good affects. Hard to say for certain, but at present, pam is on x86, and I rebuild most the dependencies I could find in the sudo ebuild (seemed a fine place to start looking for relevant packages, anyway). (pam 1.1.1-r2 is x86 and and 1.1.2 is ~x86 at present) I ran an emerge --oneshot --verbose --ask openldap cyrus-sasl pambase bison Or it could be gremlins... If the problem comes back (seems possible) I'll try to see if I can pinpoint the solution. ~daid On 12 October 2010 15:38, daid kahl daid...@gmail.com wrote: Hello, I did a large update a week or two ago (400 packages); system is ~x86. It took awhile and needed some cleaning, but in general everything went smoothly. However, I noticed that logins, su, and sudo are all responding slowly. This was all fixed and fine once I updated my configuration files, but this week it's acting up again. Before it was just su and sudo that I noticed as slow (authentication takes around 20 seconds). But now even logins are delayed (xdm or command line). As an example that I timed: su, it takes 20 seconds for the password prompt to appear, and over 60 seconds for the login to authenticate (assuming the correct password...it is a little faster to fail). What package(s) are most likely to be responsible for logins and su/sudo? I tried rebuilding (and also downgrading) pam, and I'm trying some other things now, but no luck so far. I'm happy to provide any information, but this kind of problem is nothing I have experience with, so I have no sense of what else to mention. Cheers, daid
[gentoo-user] Re: Slow Login, Sudo, etc.
Sorry, so I put pam back to ~x86 version without any further rebuilds, and I don't notice any trouble, so it doesn't seem related to pam at all (my email might imply that). ~daid On 12 October 2010 16:12, daid kahl daid...@gmail.com wrote: Hmm, as usual, sending email to the user list makes subsequent guesses have good affects. Hard to say for certain, but at present, pam is on x86, and I rebuild most the dependencies I could find in the sudo ebuild (seemed a fine place to start looking for relevant packages, anyway). (pam 1.1.1-r2 is x86 and and 1.1.2 is ~x86 at present) I ran an emerge --oneshot --verbose --ask openldap cyrus-sasl pambase bison Or it could be gremlins... If the problem comes back (seems possible) I'll try to see if I can pinpoint the solution. ~daid On 12 October 2010 15:38, daid kahl daid...@gmail.com wrote: Hello, I did a large update a week or two ago (400 packages); system is ~x86. It took awhile and needed some cleaning, but in general everything went smoothly. However, I noticed that logins, su, and sudo are all responding slowly. This was all fixed and fine once I updated my configuration files, but this week it's acting up again. Before it was just su and sudo that I noticed as slow (authentication takes around 20 seconds). But now even logins are delayed (xdm or command line). As an example that I timed: su, it takes 20 seconds for the password prompt to appear, and over 60 seconds for the login to authenticate (assuming the correct password...it is a little faster to fail). What package(s) are most likely to be responsible for logins and su/sudo? I tried rebuilding (and also downgrading) pam, and I'm trying some other things now, but no luck so far. I'm happy to provide any information, but this kind of problem is nothing I have experience with, so I have no sense of what else to mention. Cheers, daid
[gentoo-user] Re: sci-physics/root slotting?
Hello, For anyone who uses the data analysis framework ROOT developed mainly at CERN (sorry, I didn't name it 'root'), I can imagine that slotting would be an extremely useful feature. It occurred to me tonight that adding slotting should be easy and very useful. Not true! The slotting isn't supported upstream, and it requires a lot of modification to all the ebuilds. As I have no experience, it's also not clear to me if I slot everything including things in etc and man pages. I can see arguments both ways. If this seems like a good feature request, I'll put a modified ebuild on bugzilla for all present root versions after I can test it (may take a few days, since root isn't a quick compile and I have physics to do). I will consider this a serious project, but progress will not be quick, since I have a lot to learn. Honestly it might make more sense to hit the upstream mailing lists first and see what they think about slotting, since the implementation is probably a lot easier from the source than doing crazy crap in the ebuilds like moving things in, say, usr/include/root to usr/include/root-${SLOT} and every other directory, not to mention recursively hitting the same thing on bin/ and setting up symlinks and a module to handle switching all them. For example, suppose a new version gives me a new binary. Now the eselect module needs to know it can't switch that symlink on the old version; I'm sure this has been done for other packages, but like I said, I need to learn about it first. Obviously, if this happens, I need to consider a bugzilla feature request on eselect as well, or make eselect-root. This will need some learning as well on my part, as above. ~daid
[gentoo-user] sci-physics/root slotting?
Hello, For anyone who uses the data analysis framework ROOT developed mainly at CERN (sorry, I didn't name it 'root'), I can imagine that slotting would be an extremely useful feature. Anyone who doesn't use or know root, but has experience or opinions on how or when slots should be used, your feedback would be appreciated, too. All kinds of macros and libraries will go bonkers on the wrong version, and there are even binary linux executables out there that want certain versions installed. It's a pity I didn't think of this a few years ago. It occurred to me tonight that adding slotting should be easy and very useful. I've never added slotting, but I'm already running root as a local overlay because I need root-5.20 (with patches from 5.22+ to keep my system otherwise current!), and so I'm going to give it a go at least for myself. Actually, few of the people I know in physics run Gentoo, but they also complain about root versions. Maybe I at least have an argument that would compel anyone to switch to Gentoo if we get slots running. If this seems like a good feature request, I'll put a modified ebuild on bugzilla for all present root versions after I can test it (may take a few days, since root isn't a quick compile and I have physics to do). Obviously, if this happens, I need to consider a bugzilla feature request on eselect as well, or make eselect-root. Never touched that source either, but I will, if nothing else, be hacking together an eselect-root shell script for myself. If I manage to modify the eselect source, then at least I might be more deserving of the ChangeLog credit, since I don't think making the number for slot non-zero in a few ebuilds really qualifies as real work. Might also need the multislot use flag. Anyone out there interested in this or have some feedback for me? If it's only me, I'm hesitant to submit it to bugzilla (no sooner than next week), but I'll be running it as local ebuilds as slots from here on out. Regards, daid
Re: [gentoo-user] zsh and sudo [SOLVED]
On 22 February 2010 01:33, daid kahl daid...@gmail.com wrote: I just installed zsh recently and was working on making the switch over from bash for my daily user, provided I can get a few things worked out. Zsh is a wonderfull shell, but it does have a steep learning curve, due to its many features. Yes, you will bang your head on the wall many and many times if you don't read the documentation and continue to think in bash terms. Reading the manual (or the user friendly documentation) is a must. Zsh is an example of an open source project with a massive and excellent documentation, so no excuses for not reading it! :) Forgive the reorganization and slight top-posting nature of this post. Most of my googling to finish setting up zsh and resolve all my issues now hits this thread! So since I've gotten everything worked out for myself, here's what I've done (mostly from manuals and documentation, but in any case...) The biggest problem that I can't find useful results googling is zsh interaction with sudo. I'm noticing some strange behavior with the PATH and also the interpretation of '='. [snip] So sudo has the PATH set correctly, but it doesn't actually use the correct path. Fishy! Nope. If you do sudo echo $PATH $PATH is replaced by the calling shell before sudo even sees it, so no wonder you see the right one (btw, this should also answer your other question on why doing the same on a second instance of the shell seems to work). To test what path is seen when sudoing, do sudo zsh -c 'echo $PATH' that should be more accurate. But you already had an indication of what $PATH is in your first command above. Yes, that's true! This might be a good read about where to define PATH: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l19 It's true, this told me what I needed to know. So now I have critical path information in ~/.zprofile d...@flux ~ % more .zprofile #Basic PATH export PATH=$PATH:/sbin:/usr/sbin And more specific pathing and variables in ~/.zshenv (not boring you with details here) As for interpretation of '=' I really don't understand what's happening. It seems indiscriminate of the case in terms of mucking about, but the exact result it not always the same. Consider the monstrous output in the following simple case of making a new environment variable: Yes, setting unsetopt EQUALS in ~/.zshrc works perfectly for me. I also alluded to some other small points of confusion that I didn't ask for help on. None-the-less, I explain how I successfully resolved these issues in case it can be useful to anyone. For slim, the issue was that I wanted to copy/paste the bash line in /etc/slim.conf, but that's too lazy and naive. The following works fine (and it would be nice if this was a commented option in the default slim.conf for n00bs like me): login_cmd exec /bin/zsh -l ~/.xinitrc %session basically, the bash version has -login which zsh doesn't understand and wants to take as -l -o -g -i -n Honestly, bash's version should be --login based on standard gnu styled options IMO. For home/end keys, /etc/inputrc is not in a format zsh can understand, so it's an issue to map these manual, say, in .zshrc However, /etc/inputrc is commented well, and so one can look at that, use Ctrl+V at the command line, and get the basic idea. The escape key, denoted in config files as \e shows up from Ctrl+V at the command line as ^[ I make a file called ~/.zinputrc which is sourced by ~/.zshrc A sample line is: bindkey \eOH beginning-of-line I also find that some of my mappings change between console-login and xterm mode, so in some cases I have to map things two ways, or pick/choose if I have some collision (like Ctrl+Arrow in console mode is the same as an arrow in xterm mode for my machine, so that means I can't use it for word skipping. This could be an xinit issue, but in any case, bash was not doing this either on my machine, so I've not lost and functionality I was used to having. A topic for later perhaps) Also, if, for example, I use gcc-config to change compilers, then I need to source /etc/profile. Well this borks up my nice zsh prompt. So I edited /etc/profile so that it doesn't do this: if [ -n ${BASH_VERSION} ] ; then # Newer bash ebuilds include /etc/bash/bashrc which will setup PS1 # including color. We leave out color here because not all # terminals support it. if [ -f /etc/bash/bashrc ] ; then # Bash login shells run only /etc/profile # Bash non-login shells run only /etc/bash/bashrc # Since we want to run /etc/bash/bashrc regardless, we source it # from here. It is unfortunate that there is no way to do # this *after* the user's .bash_profile runs (without putting # it in the user's dot-files), but it shouldn't make any # difference. . /etc/bash/bashrc
Re: [gentoo-user] Re: How should I clean up my broken system?
On 23 February 2010 02:06, Harry Putnam rea...@newsguy.com wrote: Volker Armin Hemmann volkerar...@googlemail.com writes: well, cfg-update keeps a backup. It detects manual edits and try to resolve conflicts resulting from that automatically. Which works surprisingly well. If Volker gave me that same advice long ago, I've used cfg-update ever since. Its capable of dispatching meaningless file updates in the blink of an eye, and offers several well known methods for resolving those that need it. I personally use vimdiff with it, but there are several other options. Its just a good solid tool. Better than my first days of gentoo when I just either manually deleted the files or copied them to the new ones as portage complained. I'd just search for ._ files in /etc. Yeah, that sucked Then I was like oh, etc-update, this is great. Then I was like dispatch-conf, thats greater! So now that I've got a lot of crap to clean out again...I emerged both of these guys. I'll probably add some extra superlatives. Hah! ~daid
Re: [gentoo-user] recovery from /var corruption?
On 26 February 2010 12:33, Mark Knecht markkne...@gmail.com wrote: So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of corruption on the /var partition. e2fsck complained about 3 or 4 files and then repaired the partition. The machine booted cleanly as far as I can tell. Hey buddy! This happened to me, too! See below for my savage ranting for a good laugh. My rule for this is rsnapshot my present system as it is, grab a disk image backup (taken less frequently), and then go to town with portage. I emerged 620 packages today. (Much more in fact if I count rebuilding and stuff.) Only OO.o update is remaining in world. I don't think there's a good and safe way around it. I find inode corruption can be sneaky and hit other stuff. Assuming your backs all exist and stuff, then you can hit up stuff like rsync with the update flag for your personal files between newest and safest backups. Rant: Okay, so Mac OS is getting it to the face now, officially, and forever in my world. I've almost kind of said this before, and I can't remember why I don't follow my own advice, but nothing can be worse than twice-monthly 10% inode corruption. Now check this out: The e2fs program is told do not mount sda3 and if you ever do, mount it ro. Even though Mac OS is crazy enough not to use /etc/fstab, it will still (supposedly) listen to rules in here. I found some very retarded way of effectively serial-device referencing sda3, and I said, do not mount this drive at boot, and if you do, do it ro. Then I went into a Disk Utility thing. I told that the same thing. So that's three times I've said, Never touch this drive with a 10 foot pole, plz thx! Yeah, please explain to me how an unmounted, only ro drive can receive rectal examination of 11.4% inode corruption. Others, please take this as a lesson (in some form or another). I think it's the badly coded e2fs program, but that thing is so bad that if it is to blame, it happened after I tried to uninstall the program too, so who knows. So I'm going to put a tiny Tiger install this weekend so I can get nice boot, a few firmware accesses (kill the silly booting sound, and delay an annoying 20 second boot delay in the case there is no EFI partition...ugh). And then I am going to never look at it's ugly face again. System Rescue CD, partimage, and rsnapshot are my friends! (I had so many packages because over the holidays I didn't do sync and world updates, and then I decided to go back to the wonderful ~x86, but since I was super busy and I don't like backing up a system that's untested, then I didn't have good backups of the updates. Maybe a poor choice, but in any case, that was not the reason I was trying to kick myself in the face. Be bloody lucky, or don't use retarded softwarez--- daid So, something went bad and I managed to sneak around it for a while and now I'm sort of living with the machine wondering what to do. Do I just watch the logs looking for problems? I have no way of knowing right now whether this was a disk problem that's going to come back, a 1 time deal due to power, or something else entirely. As these cheap machines that don't use RAID what's the right way to go? emerge -e @world and then wait for the next event? Do nothing and wait? We've got decent personal data backups as well as basic /etc data. Thanks, Mark
Re: [gentoo-user] When copying an os to new disk
On 26 February 2010 10:06, Stroller strol...@stellar.eclipse.co.uk wrote: On 25 Feb 2010, at 17:59, daid kahl wrote: ... As a side note, I tried dd piped through ssh and my router (with firewall) was resetting the connection after around 4GB, and I don't know of anyway to resume a dd. NAME dd - convert and copy a file SYNOPSIS dd [OPERAND]... dd OPTION DESCRIPTION Copy a file, converting and formatting according to the operands. bs=BYTES read and write BYTES bytes at a time (also see ibs=,obs=) ... skip=BLOCKS skip BLOCKS ibs-sized blocks at start of input HTH, Stroller. Hey, shiny! I opted to reinstall from source that machine, which wasn't exactly a bad choice anyway. But as always, rtfm is good advice! Thanks (not sarcastic, except to mock myself). ~daid
[gentoo-user] alsamixer transparent, should submit feature to bugzilla?
Hello, I've been converting myself over to console applications when possible now. I think it has a sleek look, and it ought to reduce my overhead. So on my mutlimedia workspace, I'd considered running a nearly full screen terminal of alsamixer with a command line music player in a smaller terminal that is normally on top. However, for my pseduo-transparent terminals, this was a major eyesore to have a solid black background for alsamixer. Before I investigated other mixer option, google fu could produce a patch for alsa-utils to make alsamixer run transparent. So, with this patch in hand, then I could easily make a local overlay of alsa-utils, patch the ebuild, and get my desired result. The patch isn't for the latest ~x86 alsa-utils, so I may need to tweak it for more recent versions. My question is if anyone is going to accept this as a reasonable feature addition to alsa-mixer on the main portage tree. I assume perhaps not, but I can't really see almost any advantage of the forced black background. If you want a black background, I say run the terminal that way. I didn't make the patch, so I have no intention to take the credit myself, but I didn't want to look like a dunce on bugzilla, but I've never submitted a feature request that didn't make me look like a dunce, hence polling opinion here. You can see the patch below. In any case, of course ebuild patching plugins ~daid This idea came from https://www.prof-maad.org/blog/2009/11/11/transparent-alsamixer/ (and the website had some apparent security issues the other week when I found this, just fyi). d...@flux /usr/local/portage/media-sound/alsa-utils/files $ cat alsa-utils-1.0.20-transparency.patch --- alsa-utils-1.0.20/alsamixer/alsamixer.c 2009-05-06 15:07:24.0 +0800 +++ alsa-utils-1.0.20-profmaad1/alsamixer/alsamixer.c 2009-11-11 21:33:14.242278621 +0800 @@ -150,7 +150,7 @@ #define MIXER_CBAR_STD_HGT (10) #defineMIXER_MIN_Y (MIXER_TEXT_Y + 6) /* abs minimum: 16 */ -#define MIXER_BLACK(COLOR_BLACK) +#define MIXER_BLACK(-1) #define MIXER_DARK_RED (COLOR_RED) #define MIXER_RED (COLOR_RED | A_BOLD) #define MIXER_GREEN (COLOR_GREEN | A_BOLD) @@ -320,7 +320,9 @@ dc_fg[n] = f; dc_attrib[n] = a; dc_char[n] = c; - if (n 0) + if(b==-1) +init_pair (n, dc_fg[n] 0xf, b); + else if (n 0) init_pair (n, dc_fg[n] 0xf, b 0x0f); } @@ -339,6 +341,7 @@ mixer_init_draw_contexts (void) { start_color (); + use_default_colors(); mixer_init_dc ('.', DC_BACK, MIXER_WHITE, MIXER_BLACK, A_NORMAL); mixer_init_dc ('.', DC_TEXT, MIXER_YELLOW, MIXER_BLACK, A_BOLD);
Re: [gentoo-user] rsync backup system
On 26 February 2010 22:23, Ward Poelmans wpoel...@gmail.com wrote: On Thu, Feb 25, 2010 at 18:50, daid kahl daid...@gmail.com wrote: As a simple idea, cron task starts rsnapshot configured however. When this is done, backup is tarballed, and tarball is given as like, say, 440 permissions, where users are in some useful 'backup' group, then while tarball can be read to be passed across server, if tarball is extracted, user has no more privs then they have on the system anyway (I'm not saying chmod -R). Then local tarball can be removed or whatever. It's not a bad idea, but you need enough free space on the client to backup the entire system (which for me is not the case). Secondly, every backup you do is a full backup as rsnapshot needs to access a backup todo a incremental backup. You could mess around with something like sshfs but's it's not great either. A straight rsync between client and server could do it but it would suprise me if this doesn't already exist in some form. Regards, Ward Thanks for the feedback. For now, as you may easily guess, this case does not apply to me personally since I mostly just admin my own personal machine. But I think you raise very relevant difficulties with my suggestion for a practical administrative case for multiple machines. ~daid
Re: [gentoo-user] recovery from /var corruption?
On 26 February 2010 12:33, Mark Knecht markkne...@gmail.com wrote: So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of corruption on the /var partition. e2fsck complained about 3 or 4 files and then repaired the partition. The machine booted cleanly as far as I can tell. So, something went bad and I managed to sneak around it for a while and now I'm sort of living with the machine wondering what to do. Do I just watch the logs looking for problems? I have no way of knowing right now whether this was a disk problem that's going to come back, a 1 time deal due to power, or something else entirely. As these cheap machines that don't use RAID what's the right way to go? emerge -e @world and then wait for the next event? Do nothing and wait? We've got decent personal data backups as well as basic /etc data. Thanks, Mark I reconsidered your problem, and I actually wonder if emerging world is a valid notion in this case, as the world file is under /var and this is reported as corrupt. In this sense, it may be entirely non-trivial to regenerate (without backup) the correct world-file for a system. Am I out in the deep end, or is this, in fact, the critical point that needs consideration here? ~daid
Re: [gentoo-user] kde4 - prints pdf file sideways
On 25 February 2010 15:19, Joseph syscon...@gmail.com wrote: I just switched one of my machine to KDE4.3 and when I try to print pdf document it prints it sideways. I've tried Okurla and xpdf same effect. The pdf shows correctly on the screen and prints correctly from kde-3.5 Is it a bug or I need to make a correction/adjustment somewhere? -- Joseph Hello, I had a very similar problem to this in kde3.5 (I am not using kde4). I don't seem to have kept a written record, and I don't have direct access to a kde machine, but please test this idea. It is very strange. Open kedit, and go under the printing preferences and find something like print layout which gives you a landscape or portrait. Toggle this to whichever one it is not. Try printing again. This is very quaint, and the part that bothered me the most about it was that, according to my tests and memory: 1) this controls printing style for all users (including root) 2) this controls printing style outside of kde See if this can help you. Regards, daid
Re: [gentoo-user] Portage GUI interfaces...
On 25 February 2010 11:40, BRM bm_witn...@yahoo.com wrote: I am interested in finding a GUI interface for working with portage, preferably for KDE4. Namely b/c I am getting a little tired of having konsole windows open and not being able to keep track of where I am in the emerge update process - something a GUI _ought_ to be able to resolve. I thought that in the window title bar, it will tell you something useful about the present emerge command? I switched from kde a little while ago, and now I mostly use frameless terminals in xfce (it ends up looking something like xmonad). I am pretty sure I used to have this in konsole, whether it was default or I had to tweak some settings to get it, I dunno. And if konsole can't do it, something can. (I'm not answering your exact question, I know, but if it's just an issue to know your status on an emerge process generally, like which package you are on and what number package it is out of the full emerge list running, the title bar can show you that.) Regards, daid
Re: [gentoo-user] rsync backup system
On 26 February 2010 01:11, Ward Poelmans wpoel...@gmail.com wrote: On Thu, Feb 25, 2010 at 16:41, Alan McKinnon alan.mckin...@gmail.com wrote: A much better way is to run a dedicated agent on the client. If the server needs to schedule backups, it can ask the agent to do so using regular tcp traffic. The client can then do it's backup and rsync it over to the server when it's done, and that push can be done as a regular user on both ends. The actual backing up on the client must be done by root of course, no other user has the necessary access. Sounds great. Is there any software that works this way? Ward Sounds more or less like cron tasks and rsnapshot to me (can use other rsync scripts of course, but this one is nice to me anyway, and someone else mentioned it earlier in the thread). I'm not sure off hand I have a good way for it to be initialized from the server end, but if it's a backup, it might as well run on a local cron anyway rather than needing an external call. As a simple idea, cron task starts rsnapshot configured however. When this is done, backup is tarballed, and tarball is given as like, say, 440 permissions, where users are in some useful 'backup' group, then while tarball can be read to be passed across server, if tarball is extracted, user has no more privs then they have on the system anyway (I'm not saying chmod -R). Then local tarball can be removed or whatever. And call me silly for not reading documentation or assuming, but I was very happy last night when I realized system rescue CD includes rsnapshot already! ~daid
Re: [gentoo-user] When copying an os to new disk
On 22 February 2010 16:49, daid kahl daid...@gmail.com wrote: On 20 February 2010 05:34, Harry Putnam rea...@newsguy.com wrote: I'm currently rsyncing an OS (new gentoo install) from one vmware disk to a newly created one. you could dd it too, and then mount the new system and remove stuff in /proc and /dev you don't want. This could avoid any problems of your rsync options. Then in a chroot reinstall grub on the partition. I never tried this, but to my mind it should work, and it's faster than rsync. ~daid Sorry. I should note: It *can* be faster than rsync. If they disk has a ton of white space, then it could very well be much slower. But say for a drive that is mostly at capacity, then dd should easily be a few times faster. As a side note, I tried dd piped through ssh and my router (with firewall) was resetting the connection after around 4GB, and I don't know of anyway to resume a dd. There should be ways to ping the ssh to keep the connection alive, but I never tried that. But if you really want an exact copy of a system, I think dd could be the way to go. You can always rsync at the end to confirm. ~daid
Re: [gentoo-user] kde4 - prints pdf file sideways
On 26 February 2010 05:01, Joseph syscon...@gmail.com wrote: On 02/25/10 16:18, daid kahl wrote: On 25 February 2010 15:19, Joseph syscon...@gmail.com wrote: I just switched one of my machine to KDE4.3 and when I try to print pdf document it prints it sideways. I've tried Okurla and xpdf same effect. The pdf shows correctly on the screen and prints correctly from kde-3.5 Is it a bug or I need to make a correction/adjustment somewhere? -- Joseph Hello, I had a very similar problem to this in kde3.5 (I am not using kde4). I don't seem to have kept a written record, and I don't have direct access to a kde machine, but please test this idea. It is very strange. Open kedit, and go under the printing preferences and find something like print layout which gives you a landscape or portrait. Toggle this to whichever one it is not. Try printing again. This is very quaint, and the part that bothered me the most about it was that, according to my tests and memory: 1) this controls printing style for all users (including root) 2) this controls printing style outside of kde See if this can help you. Regards, daid You might be correct. When I print a document from my folder it printed correctly, but when my daughter logged in it is printing sideways. KDE4 does not have any printer setting, or does it? I was able to find link to cups but nothing specific to kde4 printers. -- Joseph Couldn't say much about kde4, but it should have kedit anyway. It would be a strange downgrade from 3.5, since I have to say, the kde printing manager I found much better than gnome-cups-manager. gnome-cups-manager never sees anything useful printers on networks when I tried it, but kde print manager (whatever it's called) could find lots of stuff. But if the two users are getting different behavior, that's not consistent with what I tried. I'm sure kedit was accessing something else, but in any case, it's a simple test case none-the-less. ~daid
Re: [gentoo-user] Re: pdf viewing suggestions?
On 25 February 2010 02:46, Willie Wong ww...@math.princeton.edu wrote: On Wed, Feb 24, 2010 at 06:19:52PM +0100, Zeerak Mustafa Waseem wrote: Does Foxit Reader support editing pdf files (By editing I mean making notes in them etc.), I've been having some trouble finding a pdf-reader that allowed that. If anyone has any suggestions as to what pdf readers (other than okular) do it, I'd be very grateful :-) I don't use a PDF reader for that :) I manage my PDF documents with Jabref, and I add a comment field to store general comments about the PDF. For margin-notes I use the PDF-annotation feature of xournal. W -- Willie W. Wong ww...@math.princeton.edu jabref is totally amazing, and I also use that. I can fully endorse it to anyone using bibtex sorts of things. ~daid
Re: [gentoo-user] pdf viewing suggestions?
[snips from daid / Willie Wong] evince will take an arbitrarily long time to print documents that are long or have big figures. That's odd. I use evince at work (though not on gentoo; work computer is a heavily customized version of scientific linux) and I don't have the printing problem. [snip] [also sorry if I used HTML formatting earlier, sometimes it is turned on for me and I forget] It could have been this crazy pdf I was printing, which was one of the first times I was really using evince a lot since other things were also complaining. I had pdftk'ed different files, and I think some of them were like US Letter and others were A4 and others weren't specified. Well, I kind of erased that experience from my memory, but I know almost everything on different OSes didn't like what I'd done, whatever it was. So this could be a very bad test case. There was something else in my mind from testing it that made me kind of shiver in a bad way, but I forget. It should be a good program from what I know, however. The interface for xpdf is pretty lame (especially default printing), but it's quick as demons chasing bats out of hell. But it works. It is my pdf viewer of choice at home. [snip] I'll check out what I can do for printing from it and maybe making it prettier. You probably know this already, but gv doesn't work too well a lot of times. Yeah, I kinda forget, but I assume it wasn't removed from my world for no reason at all. Unfortunately there aren't that many pdf viewing softwares to choose from. We seem to be doing well so far! ~daid
Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...
On 19 February 2010 20:43, Iain Buchanan iai...@netspace.net.au wrote: On Fri, 2010-02-19 at 00:49 -0500, James Homuth wrote: I performed a bit of an update on my laptop a day or two ago, and after reboot, I lost the ability to do anything with /dev/hda*. I currently have 0 swap space, and according to stat, ls etc, they don't exist. But, booting to an install CD I burned for diagnostic purposes, it sees them just fine. Also, and this is the strange part. It boots no problem, so the OS is able to mount at least /dev/hda3, even though from the command line I'm not seeing it. I'm probably missing something completely dead obvious (it's after midnight here and all), and Google's turning up nothing, so if someone could kindly slap me in the face with it, that'd be appreciated. Thanks either way for whatever help comes my way. The first thing that jumps to my mind is you have an older initrd that has your HD drivers in it (such as ATA), but the newer kernel you've probably just built (is that what you mean by a bit of an update?) doesn't. Check for an initrd, and tell us what a bit of an update means :) You could also compare config files between your rescue CD and your system, if you can find it! HTH, -- Iain Buchanan iaindb at netspace dot net dot au Copy the live cd kernel to your machine and make it an option in grub and try booting that. Then at least you can stop chrooting and optical mounting. This will give us some information on if it is a kernel problem or not. Make sure to make modules_install If it's the kernel, check out kccmp to compare the kernel options between Live CD and the machine's kernel configuration after you dig up the configuration for the kernel on the Live CD. Other people are mentioning udev, and I wonder about this, too. Either before or after you check the kernel (whichever you decide is easier or seems better to you), can you chroot and rebuild udev through portage and also run a revdep-rebuild please? You said you updated, but it is not clear to me that the full update was proper. If you don't have revdep-rebuild, emerge the gentoolkit in the portage tree to get it, and check out the documentation to see what else it includes! ~daid
Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...
Other people are mentioning udev, and I wonder about this, too. Either before or after you check the kernel (whichever you decide is easier or seems better to you), can you chroot and rebuild udev through portage and also run a revdep-rebuild please? You said you updated, but it is not clear to me that the full update was proper. If you don't have revdep-rebuild, emerge the gentoolkit in the portage tree to get it, and check out the documentation to see what else it includes! ~daid Sorry. Also emerge --oneshot udev as well please. ~daid
Re: [gentoo-user] When copying an os to new disk
On 20 February 2010 05:34, Harry Putnam rea...@newsguy.com wrote: I'm currently rsyncing an OS (new gentoo install) from one vmware disk to a newly created one. you could dd it too, and then mount the new system and remove stuff in /proc and /dev you don't want. This could avoid any problems of your rsync options. Then in a chroot reinstall grub on the partition. I never tried this, but to my mind it should work, and it's faster than rsync. ~daid
Re: [gentoo-user] Gentoo on SSD
On 17 February 2010 06:27, Grant emailgr...@gmail.com wrote: I thought SSDs were projected to last longer than HDs? Also, from what I've read, SLC should last much longer than MLC. It's the other way round: HD's last longer dan SSD's. [1] [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages Thanks for the link. I did some Googleing too and I'm really surprised at what I found. It sounds like SSDs don't have the projected longevity they did when I researched this a year or so ago. I'm troubled by the ever-lurking possibility of an HD failure and I thought SSDs would be my way out. Is an HD the best choice for reliability? - Grant As far as I know, solid state devices are much more susceptible to solar flare damage, particularly if you are outside. This is not exactly common, but hey. Of course I also have a theory that not an insignificant number of computer problems are caused by bit-flips from cosmic ray induced muon showers, but I digress... ~daid
Re: [gentoo-user] building pdftk (needs gcj)
On 22 February 2010 12:28, Michael P. Soulier msoul...@digitaltorque.ca wrote: So, I need pdftk to build some documents, so I emerge it and it tells me that I need to update my USE flags and rebuild gcc with gcj support. So, I do. I added gcj to my global make.conf and ran the emerge, and gcc was rebuilt. Nope! You did NOT rebuild gcc. You installed a new version of gcc, as gcc is slotted an an update to the portage tree has occurred since your last install of gcc, and you did not specify to rebuild your installed version of gcc with emerge =gcc(version) On 21/02/10 Stroller said: It's using the old version of gcc, because you haven't told it to use the new version. The output you posted specifically told you to run: gcc-config i686-pc-linux-gnu-4.3.4 source /etc/profile Ok, then shouldn't emerge have done that automatically, since it seemed to know that I needed gcj and to rebuild gcc before building pdftk? What's the point in continuing or pretending that the build process here is in any way automatic? Tad misleading. Mike -- Clearly I think this is the latter case of rtfm. And by read the fine manual, I mean read the emerge output you sent to me. gcc-config is very streamlined in this sense, it comes by default in Gentoo (as far as I know), and I've used plenty of machines without it, and it's very annoying to me to say the least. It even told you to do this. Did you want it to change you USE flags for you too? ~daid
Re: [gentoo-user] How should I clean up my broken system?
On a more serious note, conf-update automatically merges trivial changes, so any configs you ran at the default, which is probably the majority, won't be flaged at all. so does cfg-update Every now and then, someone mentions cfg-update - usually you :) - and I give it another try, but I don't really get on with it and always go back to conf-update. There's nothing specific wrong with it, I just prefer (or am used to) conf-update. I expect that if I were still using etc-update or dispatch-conf I would welcome it with open arms though. Yay, thanks for the ideas. dispatch-conf was a welcome change from etc-update, so this must be the next step. And just in time too, I updated to ~x86 last week, and I left around the 11 config files that need more than just hand waving to deal with (looks like important changes, but I did modifications as well to those cases). You make me feel out of touch with Gentoo! Is dispatch-conf and etc-update that bad then? out of touch would be rolling your own config update tool, like me ;) It hasn't changed much since I started using Gentoo... -- Iain Buchanan iaindb at netspace dot net dot au Sharing is caring! Can we try it? More importantly, would we want to? I'm wondering if some of these config manglers have configs themselves, or some place to keep track of the configs I want like red flagged to not get accidentially overwritten (sorry I didn't read the man pages yet because I didn't get too screwed without), because I want to keep track of the ones I edit other than some text file or my memory oh yeah, vim I hated the auto-line wrapping...where's that backup from last week? ~daid
Re: [gentoo-user] building pdftk (needs gcj)
On 22 February 2010 18:51, daid kahl daid...@gmail.com wrote: On 22 February 2010 12:28, Michael P. Soulier msoul...@digitaltorque.ca wrote: So, I need pdftk to build some documents, so I emerge it and it tells me that I need to update my USE flags and rebuild gcc with gcj support. So, I do. I added gcj to my global make.conf and ran the emerge, and gcc was rebuilt. [snip] Clearly I think this is the latter case of rtfm. And by read the fine manual, I mean read the emerge output you sent to me. [snip] ~daid Sorry, my conscience is getting the best of me, since in my mind sending rtfm to the user list is one of the biggest FUs and can only deter people from Gentoo. I also don't rtfm a lot of them time, although I try to do my own best before hitting the user list. But since the question has come up, I will go through the important points, which are short. Now gcc-config is a great tool. I have 6 gcc's installed, and I think I want another one once I'm not being overworked this week. I'm not saying you have use for more than one gcc yourself, but obviously you have a need for using gcc-config. So I find a gcc version I don't have installed as an example. d...@flux ~ $ emerge =gcc-4.4.2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] sys-devel/gcc-4.4.2 [3.4.6-r2, 4.1.2, 4.2.4-r1, 4.3.2-r3, 4.3.4, 4.4.3] USE=fortran gcj gtk mudflap multislot nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -graphite (-hardened) (-libffi) (-multilib) (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla 61,459 kB Total: 1 package (1 in new slot), Size of downloads: 61,459 kB Would you like to merge these packages? [Yes/No] (please set EMERGE_DEFAULT_OPTS=--ask --verbose in /etc/make.conf so this is your standard output) the part [ebuild ] tells you a lot of useful information. You should never ever emerge a package without pretend or ask on it in my opinion. Even when I did a world on ~x86 upgrade last week and it was 404 packages, I at least read every package name that was being installed to look for red flags and other things I might care about personally. Now in this case we see [ebuild NS ] which means it is New and Slotted. The slotted part is important, because it means that this action will not remove the old package, and now you will have at least two on the system. You need to run emerge --depclean to clean it, or unmerge it yourself manually. (By the way, can someone remind me if there is an easy way to keep depclean from cleaning gcc's? I kind of recall that explicitly listing them in world doesn't work, but for the most part I forget and just avoid depcleaning more than a few times a year.) If it was a rebuid as you said, then you'd have an R instead of and N. It also says 1 in new slot so please pretend/ask emerges and read what it says before continuing the emerge, again. For library access on gcc's, you don't need to change the compiler, (I need this for some janky binaries I have that are hardlinking to certain gcc libraries...ugh.) But if you want to *use* the compiler, you need to sudo gcc-config # source /etc/profile. Personally I don't use and I start typing source /etc/profile before gcc-config is done because it's faster. Get the # from gcc-config -l instead of typing the monstrosity portage suggested or evil of all evils, copy and pasting what portage told you to do blindly (although that's better than ignoring the advice or portage and complaining that portage is misleading because your results didn't work because you didn't follow what it said to do). Please never tell me ever again that the build process in portage is not automated (dude, you're installing source code with custom configs ... please consider Linux From Scratch) or that Gentoo has mislead anyone, unless like that actually somehow happens, which I highly doubt. Have you ever tried using other package managers? What about using them to build from source? On the topic but a rant, I wanted gcc-3.4.6 on Mac OS since sometimes I boot into Mac OS and proceed to rip the hair from my head. Please see the 20 month old bug I encountered trying to build a hardened gcc compiler, and also not that Mac OS does not ship with *any* form of Fortran compiler. Link: http://trac.macports.org/ticket/15838 Replies to the ticket (bugzilla) from people I can only pray are *not* developers, on a bug for the package gcc34: Why do you need gcc34? I do not know if it will be possible to make gcc 3.4 work on Leopard. gcc 3.4 is very old. It will probably be a better use of your time to update your software to work with gcc 4.3. For example the qemu port has been updated to work with gcc4 on Leopard on Intel. See its patches. As gcc34 does not compile on Tiger or Leopard, we should think about removing the port. Then they just talk about removing dependencies from macports to the package, but the package was *still there* like
Re: [gentoo-user] zsh and sudo
I just installed zsh recently and was working on making the switch over from bash for my daily user, provided I can get a few things worked out. The biggest problem that I can't find useful results googling is zsh interaction with sudo. I'm noticing some strange behavior with the PATH and also the interpretation of '='. [snip] So sudo has the PATH set correctly, but it doesn't actually use the correct path. Fishy! Nope. If you do sudo echo $PATH $PATH is replaced by the calling shell before sudo even sees it, so no wonder you see the right one (btw, this should also answer your other question on why doing the same on a second instance of the shell seems to work). To test what path is seen when sudoing, do sudo zsh -c 'echo $PATH' that should be more accurate. But you already had an indication of what $PATH is in your first command above. Yes, that's true! This might be a good read about where to define PATH: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l19 As for interpretation of '=' I really don't understand what's happening. It seems indiscriminate of the case in terms of mucking about, but the exact result it not always the same. Consider the monstrous output in the following simple case of making a new environment variable: [snip] This looks strange, and would indeed require more investigation. For some reason, sudo is running /bin/env instead of erroring out (as no command to run has been specified). However, I doubt that has anything to do with zsh. Or if I want to emerge a specific package, instead I get: d...@flux log % sudo emerge =sudo-1.7.2_p2-r2 zsh: sudo-1.7.2_p2-r2 not found This is expected. See http://zsh.sourceforge.net/Doc/Release/Expansion.html#SEC78 unsetopt EQUALS should cure it. Unless, of course, you DO want to take advantage of zsh's special handling of =, in which case read the documentation. Excellent! Zsh is a wonderfull shell, but it does have a steep learning curve, due to its many features. Yes, you will bang your head on the wall many and many times if you don't read the documentation and continue to think in bash terms. Reading the manual (or the user friendly documentation) is a must. Zsh is an example of an open source project with a massive and excellent documentation, so no excuses for not reading it! :) Etaoin -- your response gave me probably all the tools and conviction I need. I should read documentation before hitting user lists, but I like the gentoo user list for good reasons. The notes about zsh are greatly appreciated, but as long as I command the ability to take the time to learn well documented things, then if nothing else, it's a great learning experience. Using gentoo for me is largely motivated by this personal philosophy, and I changed from bash not because I dislike it but because I wanted to try something new. For example, just reading your response I've learned more about how the path works that I didn't know. I'm over my head right now for other work that's more pressing, but it seems like I should be able to get zsh running properly by next week. Regarding Helmut's comment: What is echo $SHELL saying? Here, is says /bin/zsh and your examples works just fine. This is a useful suggestion, but I had tried this and confirmed the same output you report. So the problem is buried deeper in my lack of knowledge about the operation of shells. Thanks! ~daid
Re: [gentoo-user] trouble with virtual/jdk
root:503 ~ equery d virtual/jdk [ Searching for packages depending on virtual/jdk... ] app-office/openoffice-3.1.1 (java? =virtual/jdk-1.5*) (java? =virtual/jdk-1.6*) dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*) (java6? =virtual/jdk-1.6) ... My 'make.conf' has 'java', but not 'java6', so there mb some obscure problem lurking in OO, which I haven't hit yet (Java in OO is largely for DB help, isn't it ? ). BTW can anyone advise what the '*' means in the list above ? Consider cd ls .* The star is the same wildcard... So like a dependency of jdk-1.5* means any java pacakge (full package here including the version number) with 1.5[anything] is accepted to meet the dependency in the case you don't use java6. ~daid
[gentoo-user] zsh and sudo
Hello, I just installed zsh recently and was working on making the switch over from bash for my daily user, provided I can get a few things worked out. The biggest problem that I can't find useful results googling is zsh interaction with sudo. I'm noticing some strange behavior with the PATH and also the interpretation of '='. d...@flux log % sudo which useradd which: no useradd in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin) d...@flux log % sudo echo $PATH /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/home/daid/scripts:/sbin:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/sbin:/usr/local/warlock2:/usr/local/sbin:/home/daid/physics/transport_for_crib/transport1.6/bin d...@flux log % which useradd /usr/sbin/useradd So sudo has the PATH set correctly, but it doesn't actually use the correct path. Fishy! It gets more confusing. Any new zsh opened within a first instance of zsh things work as expected: d...@flux log % zsh d...@flux log % sudo which useradd /usr/sbin/useradd This happens in X and at console login. One can assume that either ghosts are haunting my machine, there was a solar flare flipping bits on my hdd, or I've done something silly. If I make root set my user's path, then sudo is fine. So basically the problem is that it's defaulting to checking root's path and not the user path, which is not the documented behavior on Gentoo (nor consistent with sudo in other shells. As for interpretation of '=' I really don't understand what's happening. It seems indiscriminate of the case in terms of mucking about, but the exact result it not always the same. Consider the monstrous output in the following simple case of making a new environment variable: d...@flux log % sudo TEST=testing LESSOPEN=|lesspipe.sh %s XDG_DATA_DIRS=/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share GLADE_CATALOG_PATH=: GTK_PATH=:/usr/lib/gtk-2.0 PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin GDK_USE_XFT=1 SSH_AUTH_SOCK=/tmp/ssh-mCuWxp2532/agent.2532 USER=root QTDIR=/usr/qt/3 PRELINK_PATH_MASK=/usr/lib/klibc SHELL=/bin/zsh DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-HBS914aGoB,guid=109c64af5b65dda3804f8d4d4b7de295 LESS=-R -M --shift 5 JAVACC_HOME=/usr/share/javacc/ GCC_SPECS= CONFIG_PROTECT_MASK=/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild /etc/splash LIBGLADE_MODULE_PATH=:/usr/lib/libglade/2.0 OPENGL_PROFILE=xorg-x11 GENERATION=2 MAIL=/var/mail/daid JAVAC=/home/daid/.gentoo/java-config-2/current-user-vm/bin/javac ANT_HOME=/usr/share/ant XAUTHORITY=/home/daid/.Xauthority PAGER=/usr/bin/less SHLVL=2 _=/usr/bin/sudo QMAKESPEC=linux-g++ WINDOWID=25165872 GLADE_MODULE_PATH=: TERM=xterm PWD=/home/daid/log COLORTERM=Terminal CONFIG_PROTECT=/usr/share/X11/xkb /var/lib/hsqldb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config CVS_RSH=ssh GLADE_PIXMAP_PATH=: JDK_HOME=/home/daid/.gentoo/java-config-2/current-user-vm VMHANDLE=sun-jdk-1.4 INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.20/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/info SESSION_MANAGER=local/flux:@/tmp/.ICE-unix/2541,unix/flux:/tmp/.ICE-unix/2541 DISPLAY=:0.0 LOGNAME=root JAVA_HOME=/home/daid/.gentoo/java-config-2/current-user-vm SSH_AGENT_PID=2533 MANPATH=/home/daid/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.20/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/man:/opt/sun-jdk-1.4.2.17/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man XDG_CONFIG_DIRS=/etc/xdg SGML_CATALOG_FILES=/etc/sgml/sgml-ent.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/xml-docbook-4.1.2.cat HOME=/home/daid EDITOR=/usr/bin/vi OLDPWD=/home/daid/log MOCADI_DIR=/home/daid/physics/rib_model/mocadi MOCADI_DATA=/home/daid/physics/rib_model/mocadi/data MOCADI_SPLINES_GZ=/home/daid/physics/rib_model/mocadi/splines_gz ROOTSYS=/usr ROOT_LIBRARIES=/usr/lib/root MYSQL=/usr/include/mysql:/usr/lib/mysql MYSQL_TCP_PORT=3306 JAVADIR=/usr/lib/jvm/sun-jdk-1.6 USERNAME=root SUDO_COMMAND=/bin/env
Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...
On 19 February 2010 14:49, James Homuth ja...@the-jdh.com wrote: I performed a bit of an update on my laptop a day or two ago, and after reboot, I lost the ability to do anything with /dev/hda*. But, booting to an install CD I burned for diagnostic purposes, it sees them just fine. Kernel versions of native install and Live CD? I susupect Hung's suggestion may be the answer. AFAIK grub is boot strapping before the kernel, and so the devices can be named different from BIOS and the install. I had a similar strange problem where I needed symlinks for hd devices to sd devices or vice versa with an older kernel and newer hardware (and I think some BIOS tweaks). [I'm not recommending people to symlink devices, since that seems like a bad way to do things, but I'm willing to be stupid for myself in cases of need.] ~daid
Re: [gentoo-user] trouble with virtual/jdk
On 19 February 2010 10:44, Allan Gottlieb gottl...@nyu.edu wrote: When I run emerge --ignore-default-opts --pretend --deep --tree --verbose --update --with-bdeps=y world I get (after a DeprecationWarning about portage.dep.dep_getkey() that I believe I can ignore) Total: 0 packages, Size of downloads: 0 kB !!! The following update has been skipped due to unsatisfied dependencies: virtual/jdk:1.5 !!! All ebuilds that could satisfy =dev-java/sun-jdk-1.5.0* have been masked. !!! One of the following masked packages is required to complete your request: - dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s)) A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'. (dependency required by virtual/jdk-1.5.0 [ebuild]) But I don't see why virtual/jdk-1.5.0 is being referenced (it is not installed) I have icedtea6-bin installed and set as my system and user vm. I do not get the error when I don't have --with-bdeps=y so it must be some build dependency. But how do I find which one? # emerge --pretend --verbose --with-bdeps=y --depclean virtual/jdk:1.5 No packages selected for removal by depclean # emerge --pretend --verbose --with-bdeps=y --depclean =virtual/jdk-1.5.0 No packages selected for removal by depclean # eix virtual/jdk [I] virtual/jdk Available versions: (1.4) [M]1.4.1 [M]1.4.2 (1.5) 1.5.0 (1.6) 1.6.0 Installed versions: 1.6.0(1.6)(23:21:11 04/21/09) thanks, allan I'm not java expert, but some programs want specific virtual environments (deprecated code mostly I'd guess). To not answer your question, throw the following into make.conf and you will circumvent the block (provided you are cool to accept the license): ACCEPT_LICENSE=dlj-1.1 As far as which package from the dependency tree, then I'm guessing you can use equery depgraph and try to grep the results for the virtual/jdk-1.5.0 I'm crap at narrowing the outputs of depgraph, but I haven't had many cases where I needed to do this. If I'm depcleaning and updating the world on -uND I trust portage that it needs the things it says. ~daid
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
2009/12/14 Mike Mazur mma...@gmail.com: Hi, On Mon, Dec 14, 2009 at 19:17, Mick michaelkintz...@gmail.com wrote: 2009/12/13 Mike Mazur mma...@gmail.com: I ran across this issue last night. At some point /etc/rc.conf was no longer being sourced. Instead, setting the XSESSION variable in /etc/env.d is the correct way to do it. From the pkg_postinst section of the x11-apps/xinit ebuild[1]: ewarn If you use startx to start X instead of a login manager like gdm/kdm, ewarn you can set the XSESSION variable to anything in /etc/X11/Sessions/ or ewarn any executable. When you run startx, it will run this as the login session. ewarn You can set this in a file in /etc/env.d/ for the entire system, ewarn or set it per-user in ~/.bash_profile (or similar for other shells). ewarn Here's an example of setting it for the whole system: ewarn echo XSESSION=\Gnome\ /etc/env.d/90xsession ewarn env-update source /etc/profile So, creating /etc/env.d/90xsession with the contents XSESSION=Gnome (I use Gnome) did the trick. Thanks Mike, most helpful! What happens if you want to switch between different sessions at/from the Display Manager stage? Do you place them all in /etc/env.d/90xsession ? Sorry, I'm not sure how to do that. I'm the only user on my system and I don't use a graphical login manager. Mike This post might go without saying... You can just set this up in ~/.xinitrc then. exec startxfce4 or whatever... Regards, daid
Re: [gentoo-user] Re: Sound card is only usable by one application at a time
To say that a person only needs to hear one sound at a time is like telling someone to close one eye. Hey man, you're display's only 2D. What do you need that second eye for anyway? Regards, daid I say that because I have a bad eye. I wish I could see good with both because things sure do look different. I can't just distance for example. When the kids want to play baseball, I see the ball but it looks the same at a distance as it does just before it hits me in the forehead. Well, it is a little bigger at that point. O_o Yeah, but that's a 3D effect! ~daid
Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug
2 pieces of advice to avoid such problems: (1) never use the 'testing' versions of system pkgs; (2) never run 'emerge world' without the '-p' flag. I kindly disagree. ~[arch] is testing for Gentoo ebuild. It's considered stable upstream. This was an upstream bug, not a Gentoo bug. Yes, my comments didn't respond exactly to the problem reported, but offered more general advice which might help avoid such problems. someone's got to be testing stuff and filing reports upstream. It doesn't mean you want to do it, but I really think considering ~ as a test of upstream is rather silly. The defective version of 'patch' had got into 'testing', where the only remaining problems are supposed to be in the ebuild; in fact in this case, there was still a serious problem upstream that version of 'patch' has been re-masked (I believe). Anyway, don't do testing on the machine you use for everyday computing. If you want to get into testing, use a dedicated machine for it. My point is that using things out of portage, stable or unstable, shouldn't be considered as testing, as they are upstream stable releases. Doing testing is getting the latest stuff out of git, etc. Of course, there will be bugs in upstream stable code as well, but that's life I suppose. I've been using Gentoo for more than 6 years it's never happened to me. I believe the reason is that I follow my own advice as above: I do install 'testing' versions of non-vital pkgs (eg 'eix') items which are well-supported upstream (eg KDE, kernel), but I am very cautious about installing testing versions of system pkgs whose collapse would do real damage to my everyday activities. Even when stuff is well-supported upstream, I give it a few weeks to see if there are reports anywhere of bad things happening. There's nothing wrong with running stable gentoo, but as others have commented, one ought to be careful about mixing and matching, for example, ~x86 and x86. Running a stable base system with unstable packages can also lead to a lot of problems, since the code is never really considered to run together on the same system. Although I've only been at Gentoo about half the amount of time, I've run full stable and unstable systems, and I can't say there is much difference in my experience. If I had to generalize, I'd say that on unstable I might hit more bugs, but figuring out what to do to fix the problem is usually much faster. I was planning to switch back soon, actually. One can think of ~arch as either bad because it's so-called unstable, or good because you don't wait 6 months to get something like Firefox 3.5. I use a similar approach to you, and run EMERGE_DEFAULT_OPTS=--ask --verbose If anything looks suspicious, not only will I take note with paper, but I'll likely be sure to get a fresh system backup first as well before proceeding. Regards, daid
Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long
I have a project which requires normalizing names, and by that, I mean converting to lower case etc, whatever eliminates redundancies. I know Unicode has a different normalize meaning, but for my purposes, that has already been done. Maybe I should call it standardization or make up a new cromulent word. By which I really mean I am confused by a lot of advice I have gotten from USAians who get by with the good old 7 bit ASCII character set on a daily basis, whether it be written in Unicode or not. Yes, I am something of an ignorant American. I know some Japanese, French, and Spanish, but not the details of everyday usage. I'd like to learn. Your project sounds interesting, but I have little to contribute on the technical side. I'm curious about your handling of Japanese, just because I'm living outside Tokyo these days. My grasp on Japanese is basically rubbish, but I can at least claim to know a thing or two. To keep this in line with your stated application, I actually wonder how you handle Tokyo. For pronunciation purposes, if you put it in hiragana and literally romanized it, you'd probably get Toukyou. In Japanese a double-vowel just extends the sound and isn't a dipthong (and usually o is extended by u and only rarely another o). For a lot of cases on the double 'oo' they'll Romanize the second 'o' as an 'h', since other wise someone will pronounce it like (a) fool. So, take a family name Ohshiro. Probably it should be Romanized Oohshiro, but then people would say something like seeing fireworks. Tokyo is Romanized this way, according to one culture book I read, because everyone knows both the o's are extended! I'm sure all these people also know that kyo is a single syllable, too! So it's not To-key-oh it's just To-kyo where both syllables are extended from the double oo. Osaka is also an extended O at the beginning as I recall, and Kyoto is the same case as Tokyo (incidentally, the Chinese characters for those two cities are the same and just reversed in order!). Again to speak to the original application, I don't know who types Tookyoo or Tohkyoh or Toukyou. Probably no one because it's generally Romanized as we all know it. But for typing purposes, Japanese type the pronunciation of words via hiragana and then a little list pops up and they select the word they want. So in this sense, they are typing Toukyou into the keyboard...just it's in hiragana. If you had any questions about Japanese things, I could ask a colleague. They are all happy to answer questions. Regards, daid
Re: [gentoo-user] Re: Baffled by Perl dependancies
I'm not 100% sure but I think eix-test-obsolete will find things like this. It will also scan the /etc/portage/package.* files and a few other things as well. Be forewarned, the output can be pretty . . . . large. lol It mostly depends on how out of date things are. Mine is usually huge. Thanks goodness for Konsole and being able to scroll up. You put no-limit on the scroll-back lines, right? Sadly I switched away from KDE and so I'm using Terminal now and not Konsole, and it doesn't seem to have the 'no-limit' scroll-back option, so I think I just hit the 9 key a bunch and said ok. Of course, I do like that Terminal has actual borderless mode, and that if I go fullscreen I don't get a thin border drawn around the screen. Yeah...I'm a whiner...but if I say full screen, I mean full screen!! ~daid
Re: [gentoo-user] Re: Baffled by Perl dependancies
On 12/4/2009 10:21 PM, Dale wrote: Thanks goodness for Konsole and being able to scroll up. Where I come from, we use | less :p Meh, just into /tmp and use anything you want to view it if you really want to be hardcore. Less is really crappy for emerges at console-login. It requires you to hold down the page-down button pretty much (unless there is some option I don't know about? Does captial G do it like in vi?) I also don't like that less makes my colors disappear. Sure, it's not really important, but I mostly say this so someone can tell me I'm wrong and how to fix it. This matters sometimes if I'm doing work at console to unbreak my system and I'm getting an emerge error (not the colors, but the lack of auto-refresh or tailing). Regards, daid
Re: [gentoo-user] Re: Sound card is only usable by one application at a time
@Yoav Luft, I don't know if this is the same problem, maybe it doesn't relate at all. You should start by checking that there's no pulseaudio or something like that monopolizing the alsa output, because maybe the problem is not alsa itself. But, if alsa is running alone, I'd start by checking the alsa bug tracker and see if there's someone that has the same card/uses the same driver and has the same problem. Just a suggestion on how to test easily. Boot into console-login and run mplayer in one ty and mpg321 in another. I'm sure there are a million variants on ways to do this, but I assume most have mplayer installed, and mpg321 is small enough for a quick install, and it uses different libraries I believe, so it should access separately. Apparently I can't even follow my own advice, because mplayer is disallowing mpg321 to access my soundcard! Well, I guess that explains my youtube issues! Of course mpg321 isn't allowed access if youtube is playing either. I guess I should fix my own system Regards, daid
Re: [gentoo-user] Re: Sound card is only usable by one application at a time
alsasound is on boot runlevel, so it's running. Still, some apps, like flash movies in firefox, don't behave nicely. Can you give us a URL for a flash movie so I can test? Since I'm having trouble too, here is a youtube video. http://www.youtube.com/watch?v=KoAbMfg9_Uk Maybe you'll like the track. :P ~daid
Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long
Our handling is simple -- we don't yet. I don't know how to handle things like that, or the previous example of Copenhagen in different languages. Look at Naples -- that's not what Italins call it. Venice is really bad -- no idea how English got it so mangled. Speaking of Japanese, their word for Mexico (last time I checked) was taken from the English MEKS-ih-ko and comes out as may-kee-shoo-ko rather than the more more natural may-hee-ko if they had taken it straight from Spanish. Yeah, you get all kinds of crazy. For a long time I couldn't understand why 'computer' is in katakana (ie: taken from English) and 'calculus' isn't. As it turns out, the Japanese invented calculus independent of Newton and Leibniz. As for ToKyo being two syllables ... I think it depends on how one defines syllables. Ak a Japanese to pronounce three (san) slowly, and it wil be two syllables, sa-n, saw uhn. Ask for three hundred which comes out as sambyaku because the n syllable changes sound when it sounds better, and they will make quite a few syllables out of it, such as (I am guessing now) saw-umm-bee-yaw-koo. To write Tokyo in the proper furigana is probably something like toh-o-kee-yoh-o. Well, I don't think n is really a syllable. It's a sound, and it's the only part of the syllabary in Japanese that doesn't have a vowel. I'm not really convinced this is a syllable in reality. The proper way to write Tokyo for syllabary would be to-u-kyo-u I think, but I'm not certain. But really that's misleading because you're *not* supposed to pronounce the sounds twice, you just extend them, so they aren't really syllables either, they are just modifiers. Kyoto is the same case as Tokyo (incidentally, the Chinese characters for those two cities are the same and just reversed in order!). Nope -- Tokyo is 東京, east capital. Kyoto is 京都, capital city. Kyo is the same, to is different. Huh. I wonder how the hell I came up with that? I'm convinced I did not decide that on my own but that someone told me. And they told me I'm sure because I remember the story that went with it. Very strange. But you're absolutely right. Regards, daid
Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long
such as (I am guessing now) saw-umm-bee-yaw-koo. To write Tokyo in the proper furigana is probably something like toh-o-kee-yoh-o. Oh, I should mention that this is in writing correct. But the yo is a subscript, so it's also a modifier, so the ki part isn't pronounced, it's modified into a different sound... Good times. ~daid
Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug
I could take a whole day typing in exactly what I do, but I assumed the otherwise intelligent subscribers to the list would realise that I add '-1' to those pkgs which are not in 'world'. My 'world' file contains 112 entries, incl 28 'sys' + 35 'kde'. Really, does something like that need spelling out (tries to smile) ? It probably doesn't, but since this thread has gotten slightly hot, I'll only insult myself here. I forget to add 1 a lot more than I should, and as a result my world file is probably full of pollution. This isn't to say I don't clean it out from time to time, but in theory people are just posting reminders to be sure you weren't forgetting yourself -- I know I'm guilty of it sometimes. On that note, I'd like to ask a question I was going to post or email about. Can I comment the world file. More interestingly, is there a way to pass portage a comment to stick in world above the package? This would be really damn useful. For example, sometimes I'm testing things, and I really do mean to install a package without oneshot. But I might be installing a bunch of things to try to get some third-party dependencies resolved, and later I don't need all them (or I'd like to know why I put it there!!). Thoughts? Regards, daid
Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug
2 pieces of advice to avoid such problems: (1) never use the 'testing' versions of system pkgs; (2) never run 'emerge world' without the '-p' flag. I kindly disagree. ~[arch] is testing for Gentoo ebuild. It's considered stable upstream. This was an upstream bug, not a Gentoo bug. And, as others mentioned, someone's got to be testing stuff and filing reports upstream. It doesn't mean you want to do it, but I really think considering ~ as a test of upstream is rather silly. If this is your idea, run hardened or like slackware. ~daid
Re: [gentoo-user] Re: Sound card is only usable by one application at a time
I ran into a similar problem a good while back where only one sound would play at a time, it was annoying as heck. If I changed desktops, was playing a CD or even just left a tab open with some sound thingy playing, I couldn't hear anything else. I couldn't hear Kopete if someone was trying to get me on messenger, couldn't hear the little bell when I got a new email or anything. Oddly, since I updated my kernel the last few weeks, youtube and flash-like things are whiny. At worst I have to restart firefox and/or alsa. I'm pretty sure it's a simple fix, but, it's slightly irritating. To say that a person only needs to hear one sound at a time is like telling someone to close one eye. Hey man, you're display's only 2D. What do you need that second eye for anyway? Regards, daid
Re: [gentoo-user][SOLVED] troubles with emerge --sync
When I figured out that I was using the wrong march, I switched it out, but forgot to look over the cflags, which still contained -msse3. Hence some improvement but not a total fix. I was thinking of giving my safe cflags a go, when, looking at them and at my regular cflags, I realized that -msse3 didn't belong. Fixed it, emerge -uDNe world, and now emerge --sync works! Based on this experience, I would submit that if you're running Gentoo and seeing SIGILL, double checking your march and your cflags would be a pretty good place to start. Alexander Clark Just for anyone who might be keyword searching, you should guess it might be cflags when you get the error cannot make executables. Gotta love compilers that can't compile anything! ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Roy Marples, who is a(the?) openrc developer, roped me into using git to do whatever git is supposed to do and now it's much worse. /dev/sd1 and 2 fail to mount as before PLUS many init services fail to start PLUS it no longer matters if the battery is being used or the ac cord: Chaos ensues, castles crumble, empires totter ... If you don't know what git is, then probably it's a good idea to stay far, far away from it. It's just a repository for a number of project source code. But Gentoo is already building things from source and helping you to configure that source code correctly based on your make.conf settings and so on. Unless you are a developer or trying to get around bugs in portage where the ebuild isn't working, you should need to use git as a Gentoo user. I'm not saying there is anything wrong with git, but I don't think it's very good advice in this situation. I can't see at all how it's related to the problem except that someone who's not involved with Gentoo wants to be sure it's not a Gentoo issue. But there's no reason to think it's a Gentoo-specific problem. And, for the record, while people might be arguing with you, it's not malicious. We are only trying to help. ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Unless you are a developer or trying to get around bugs in portage where the ebuild isn't working, you should need to use git as a Gentoo user. *Shouldn't* need to use git.
Re: [gentoo-user] OO fails with useless 65280 error on unoxml
Somewhere in this thread was a mention of a failed patch. Where version of patch are you using? If it's 2.6, downgrade it as 2.6 is horribly broken http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-of- gnu-patch-2-6 There was some patching things that caught my eye related to redland. However, I found out that it was applied in both OO.o-3.0.0 and OO.o-3.1.1 and so I assumed it was not to blame. I can't remember if I actually posted about it in my brainstorming. In any case, I have not modified patch since dealing with the OO.o problems, and: Calculating dependencies... done! [ebuild R ] sys-devel/patch-2.5.9 USE=-static 0 kB Thanks for the notice, though. ~daid
Re: [gentoo-user] kopete needs net-libs/ortp ??
Thanks for letting me know this was blank. Gmail doesn't send me a copy back so I had no clue. I thought I had stumped everyone with this one. O_O I thought maybe you were testing some new super-concise method of asking for help by including all relevant info in the subject line. Hey...less to read! ~daid
Re: [gentoo-user] OO fails with useless 65280 error on unoxml
I've been getting the same silly OpenOffice compile error for a couple weeks now. Nothing I can search up or think of seems to do the trick. Here's the end of the output during compile: 1 module(s): unoxml need(s) to be rebuilt I had hoped to never ever see this error again, looks like my hopes were dashed. Long answer: The reason for the failure is in the build log, but it is never just above the error message. It is often many 1000s of lines higher. bugs.gentoo.org is infested with bug reports of this kind of thing, to get any meaningful answer you *MUST* follow the instructions in the ebuild and build with MAKEOPTS=-j1, also switch off distcc and cachecc as well. Using the ebuild instructions for building, the compile still fails, but the error above the fail is very slightly more useful: Entering /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/unoxml/source/rdf 217 Compiling: unoxml/unxlngi6/misc/unordf_dflt_version.c 218 Compiling: unoxml/source/rdf/CBlankNode.cxx 219 Compiling: unoxml/source/rdf/CURI.cxx 220 Compiling: unoxml/source/rdf/CLiteral.cxx 221 Compiling: unoxml/source/rdf/librdf_repository.cxx 222 Compiling: unoxml/source/rdf/librdf_services.cxx 223 Making:libunordfli.so 224 : ERROR: ../../unxlngi6.pro/lib/check_libunordfli.so: undefined symbol: librdf_free_storage 225 dmake: Error code 1, while making '../../unxlngi6.pro/lib/libunordfli.so' 226 227 ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/unoxml/source/rdf 228 rmdir /tmp/30017 229 make: *** [stamp/build] Error 1 So we at least can say that redland libraries are somehow related to the problem at hand. The only similar error I could find on google (http://www.mail-archive.com/allb...@openoffice.org/msg391683.html) appears independent of OO and implicates libcrypto as a problem. With this information in mind, I re-emerged redland and openssl (libcrypto belongs to openssl). I was digging through the emerge logs, and I have successful builds of OO-3.0.0 from a couple months ago. The thing that is very interesting is that code that is failing in 3.1.1 (librdf_*.cxx) was never even compiled in 3.0.0! The objects are there, the C++ codes are patched, but they are never compiled according to the emerge log. Having read the similar error from redland, I also notice something else suspicious: Log from 3.0.0 successful build: checking which redland library to use... internal Log from 3.1.1 failed build: checking which redland library to use... external If you didn't read the link on the only similar bug I googled, here is an excerpt: Building (with o3-build) fails because redland links agains the system's version of libcrypt. It later fails in unoxml because the linked-in lib is not found anymore: The error itself is quite similar, although the undefined reference itself is different (excerpt from above link): Checking DLL ../../unxlngi6.pro/lib/check_libunordfli.so ...: ERROR: libcrypto.so.0.9.6: cannot open shared object file: No such file or directory dmake: Error code 1, while making ´../../unxlngi6.pro/lib/libunordfli.so´ So why is OO using the external (system) redland libraries which are later not found, and how can I force it to use the internal redland libraries? (Please note: for this discussion, external library is the same as system library) There's no use flag, but the openoffice ebuild suggests: # Upstream this echo --with-system-redland ${CONFFILE} I should note that in the 3.0.0 and 3.0.1 ebuilds (I have them on backup -- they were removed from portage) redland is not a direct dependency of OO, and in fact, if you search the older ebuilds for 'redland' you won't find any occurrences. So, time to comment that line out, ebuild digest, and /var/log... | tail -f | grep redland checking which redland library to use... internal Now I wait for the compile. I suspect at least something should be different this time. Will post with a further report since this issue seems more serious than I at first suspected. Also..Walt: I checked all the java items as suggested, but nothing was out of place to my eye; thanks for the sanity check, though. Regards, daid
Re: [gentoo-user] nfs home directory vs kmail
I recently moved my local home directory to an nfs-mounted directory. Now I'm having trouble with kmail. It seems that the permissions on ~/.kde/share/apps/kmail/mail/sent-mail/cur are being... changed... How are you mounting the drive? If it's in fstab, do you have the right options set for the mounting permissions and filesystem permissions after mount? Your output of an ls isn't that useful without knowing the working directory (besides that those question marks are strange). What about the permissions of /home/mdiehl before and after mount -- in particular, does it change (and does your user have rwx permissions on it)? Regards, daid
Re: [gentoo-user] Re: [OT] Seamonkey and LastPass
[about LastPass] I have an alarm system in my head. It's called the Security by bullshit baffles brains Alert. It's ringing right now ;-) Hahahaha. Just make your doorknob turn the wrong way and you don't have to lock it. Or you could remap all your system filestructure, remove all PATHS and That gives me an idea. I'm going to remove the semantic layer from all my filesystems and reference my files directly by inode number. That should confuse the buggers :-) Linux security: Even in the worst case, it's so broken only you know how to use it.
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Wrong. There is no need to fsck ext2 at every boot. The default is to check it every 26 mounts. You can change that if you want, and send your reboot times sky-high.. Before that it wouldn't boot at all. That would appear to be a completely separate issue. Exactly. In fact, we had a lab computer running a 2.2 kernel and it was failing fsck and wouldn't boot, so I just turned off the fsck at boot. Hey, the filesystem could be corrupted, but it boots! ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
aarrrgh!! I'm the one with the netbook!! The default didn't work. Checking fs every boot does. Extra reboot time amounts to a few secs vs not booting at all, dammit! And I'm not sure about this fewseconds. I suppose a netbook drive is small. But if I'm toying around with kernel configs and rebooting all day, you better believe I turn off fsck because it takes like 10 minutes (and my partition is only 50 GB). ~daid
Re: [gentoo-user] OO fails with useless 65280 error on unoxml
Success on compiling OOo! I'm quite certain it was the ebuild, and that making it use the internal redland and not the system redland was the issue in my case. However, I've undone my changes in the ebuild and began compiling again so that I can confirm it fails with only that change. I had also rebuilt redland, but as I told OOo not to use the system redland, that's why I'm checking again with the default ebuild. Presuming my guess here is correct, then I need to make a bugzilla post on the matter. That's probably true anyway since I got the message: * QA Notice: * Package openoffice is breaking /usr/share/config permissions. * Please report this issue to gentoo bugzilla. * Permissions will get adjusted automatically now. But that could be from my tinkering in the ebuild as well. My assumption on the cause of the problem is that I'm missing some dependency of redland that OOo expects, and it's not called in explicitly by portage. Either that or somehow I diffed my own install (would be news to me). FWIW, here's what I have (my OOo build works fine): dev-libs/redland-1.0.9-r1 dev-java/lucene - 2.3.2 app-office/openoffice-3.1.1 (bash-completion cups dbus gstreamer gtk java kde ldap -mono -odk) These are the same as mine, with the exceptions that my lucene is slotted and my OOo has less USE flags. Regards, daid
Re: [gentoo-user] nfs home directory vs kmail
What nfs options are in use, both client and server side? I used this fstab entry on the client: 10.0.1.1:/home /home nfs defaults 0 0 Using defaults you are auto-mounting at boot. But usually from my experience items in fstab would be mounted before the network is initialized. You could test this either by manually unmounting and mounting it or turning off auto. But if you can see the files at all, it seems to say that it managed to mount. Regards, daid
Re: [gentoo-user] nfs home directory vs kmail
2009/12/1 daid kahl daid...@gmail.com: What nfs options are in use, both client and server side? I used this fstab entry on the client: 10.0.1.1:/home /home nfs defaults 0 0 Using defaults you are auto-mounting at boot. But usually from my experience items in fstab would be mounted before the network is initialized. You could test this either by manually unmounting and mounting it or turning off auto. But if you can see the files at all, it seems to say that it managed to mount. Regards, daid Can I also confirm that your user ID and group ID values are the same on the server and localhost? Running $ id as the user in question at the command line on both machines ought to do the trick. ~d
Re: [gentoo-user] OO fails with useless 65280 error on unoxml
That's a known issue - it saw a reference to it on b.g.o. last night. That bug report declared it to be a kde integration error. Logic tells me any number of faulty things could do it too). Shouldn't be kde. Unmerged that last month... I'm sure the OOo maintainer will appreciate the detailed bug report you are now in a position to give :-) Woah woah woah...you mean they don't like, Error 65280 WTF?!?! ~daid
Re: [gentoo-user] OO fails with useless 65280 error on unoxml
Success on compiling OOo! I'm quite certain it was the ebuild, and that making it use the internal redland and not the system redland was the issue in my case. Bing! Now submitted a bug report: http://bugs.gentoo.org/show_bug.cgi?id=295268 Regards, daid
Re: [gentoo-user] Re: Moving root filesystem to a new partition
I'm going through a transient at the moment, having more-or-less given up on trying to keep KDE-3 and not being ready for KDE-4 (or vice-versa). I've been trying a few other distros, and even Gnome (shows what a parlous state Gentoo's in; I couldn't imagine ever considering Gnome six months ago). Maybe not in line with the OP, but I had the same issue last month with using kde3 and needing to switch. I tried kde4, but my video card is garbage and I didn't want to tinker to find the reason X was so slow I went for Xfce and have been quite happy. Things run even faster now! ~daid
Re: [gentoo-user] OS inaccessable after brief uptime in X
I keep having a problem where the OS becomes inaccessable after running in X for a while. I haven't noticed a time pattern yet but it doesn't take long sometimes. I see no problem when starting X and I see nothing in /var/log/messages that gives a clue about what is happening. I'm running fairly up to date Desktop profile on kernel: I'm not sure how to track down the problem since I'm not seeing any give away clues in /var/log/messages So far, once the lockup has happened it appears there is no way in other than the reboot switch. Can you read through the recent thread titled ~amd64 : X11 (?) crashing? Myself and others post many trouble-shooting ideas for buggy X operation. It could be any number of things, but I think at least 4-5 different suggestions were posted. That'd be a good place to start. If all that's tried, then let us know and we can consider other options. On that thread, and maybe another, there is discussion about FF and youtube. I found I had to recompile FF after updating the kernel for audioout on flash, since there must have been some changes to ALSA. Regards, daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Hi group, When my netbook boots under battery power w/o the ac adapter connected I get this warning msg in the boot window: 'Skipping fsck due to not being an ac adapter'. Chaos ensues. The warning appears in /etc/init.d/fsck. How do I fix this? Some option in /etc/conf.d/fsck? I did some googling and found two links which could be of service. The first is the Gentoo Handbook on power management: http://www.gentoo.org/doc/en/power-management-guide.xml Do you have powermgmt-base installed? Also, the top post here seems similar to your question, but I can't find anything like lvcheck on my own system (or for Gentoo...maybe it's named something else): http://markmail.org/message/5ipnsva3xkdyzzfy I can say that with newer kernels (2.6.30 at least and above) if I pull the ac power, my backlight automatically dims. I'm pretty sure it was done automatically by either the kernel or another update (probably based on some option like Power Management enabled in the kernel), since I don't have any power management stuff setup except battery level monitoring. Regards, daid
[gentoo-user] OO fails with useless 65280 error on unoxml
I've been getting the same silly OpenOffice compile error for a couple weeks now. Nothing I can search up or think of seems to do the trick. Since it takes about 2 hours + to crash out (the *exact* same way), it's also not trivial to try lots of different ideas. I'd read something that suggested maybe I should update my kernel, so I got around to that last week, but it doesn't change the error. revdep-rebuild says the linking is fine. Here's the end of the output during compile: Making:vbaswobj.lib Entering /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sw/source/ui Making:ui1.lib Making:ui2.lib Entering /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sw/util Compiling: sw/unxlngi6/misc/sw_dflt_version.c Compiling: sw/unxlngi6/misc/swd_dflt_version.c Compiling: sw/unxlngi6/misc/swui_dflt_version.c Compiling: sw/unxlngi6/misc/msword_dflt_version.c Compiling: sw/unxlngi6/misc/vbaswobj_dflt.uno_version.c Compiling: sw/unxlngi6/misc/docx_dflt_version.c Making:swall.lib Making:swui.lib Making:libswli.so Making:libswdli.so Making:libswuili.so Making:libmswordli.so Making:libvbaswobjli.uno.so Making:libdocxli.so Making:swen-US.res Making:swja.res using rsc multi-res feature Module 'sw' delivered successfully. 267 files copied, 0 files unchanged 1 module(s): unoxml need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/unoxml/source/rdf Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command build --from unoxml rmdir /tmp/22720 make: *** [stamp/build] Error 1 * * ERROR: app-office/openoffice-3.1.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5283: Called die * The specific snippet of code: * make || die Build failed * The die message: * Build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-office:openoffice-3.1.1:20091117-060523.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.1.1/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH= JAVA_HOME=/opt/sun-jdk-1.6.0.17 JAVACFLAGS=-source 1.5 -target 1.5 COMPILER= Here's the emerge --info Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686) = System uname: linux-2.6.31-gentoo-r6-i686-intel-r-_core-tm-2_cpu_t72...@_2.00ghz-with-gentoo-2.0.0 Timestamp of tree: Wed, 25 Nov 2009 09:15:02 + ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 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 ALSA_CARDS=hda-intel 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 ANT_HOME=/usr/share/ant 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 ARCH=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CCACHE_DIR=/var/tmp/ccache/ CCACHE_SIZE=2G CFLAGS=-O2 -march=core2 -pipe CHOST=i686-pc-linux-gnu CLEAN_DELAY=5 COLLISION_IGNORE=/lib/modules COLORTERM=Terminal CONFIG_PROTECT=/etc /var/lib/hsqldb CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d CVS_RSH=ssh CXXFLAGS=-O2 -march=core2 -pipe DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nM6kVMCBOK,guid=5ddbbba80b18d65c4ffb17a54b11f908 DISPLAY=:0.0 DISTDIR=/usr/portage/distfiles EDITOR=/usr/bin/vi ELIBC=glibc EMERGE_DEFAULT_OPTS=--ask --verbose EMERGE_WARNING_DELAY=10 FEATURES=buildsyspkg ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox FETCHCOMMAND=/usr/bin/wget -t 5 -T 60
[gentoo-user] Re: OO fails with useless 65280 error on unoxml
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/usr/games/bin:/home/daid/scripts:/sbin:/usr/non-portage:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/sbin:/usr/local/warlock2:/usr/local/sbin VMHANDLE=sun-jdk-1.4 Two things popped out at me in the emerge --info I hadn't considered, which is that my machine for some reason believes it's still on sun-jdk-1.4 even though that's not installed (it was installed some time ago). So I'm considering those now and how to get my system clean of sun-jdk-1.4. But the vm should be set correctly... ~daid
Re: [gentoo-user] OO fails with useless 65280 error on unoxml
I had hoped to never ever see this error again, looks like my hopes were dashed. If my eyes needed a screen saver, this would be burned into my retinas. Long answer: The reason for the failure is in the build log, but it is never just above the error message. It is often many 1000s of lines higher. bugs.gentoo.org is infested with bug reports of this kind of thing, to get any meaningful answer you *MUST* follow the instructions in the ebuild and build with MAKEOPTS=-j1, also switch off distcc and cachecc as well. I'll give it a shot. It just crashed again. Thanks for the idea. I'll tell you if it works! ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
You say Chaos ensues ... in what way? Further errors, failure to boot, file system corruption, or...? The problem isn't likely rooted in the fact that it doesn't run an fsck when the system's booting on battery, but rather that you have some more pressing problem that should be addressed. /var and /home fail to mount with predictable consequences. That's not caused by fsck not running, on most boots it doesn't run anyway, just looks to see if it's due o be run. If those filesystems won't mount without being fscked first, there is something wrong with them and they need to be fixed. Right. Go ahead and turn off fsck at boot to deal with these more serious problems first. This is controlled by the 0 or 1 flag in /etc/fstab (1 being fsck during boot every so-often). You can make it look something like: /dev/sda3 / ext3noatime 0 0 Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. OpenRC is also in portage, so I'm not clear on why you need the bleeding edge source from git... In fact, if you're not familiar with git, and you want to shift to OpenRC (not a bad idea), I'd suggest following the Gentoo documentation, as I found it quite good: http://www.gentoo.org/doc/en/openrc-migration.xml Regards, daid
Re: [gentoo-user] Re: [OT] Seamonkey and LastPass
[about LastPass] I have an alarm system in my head. It's called the Security by bullshit baffles brains Alert. It's ringing right now ;-) Hahahaha. Just make your doorknob turn the wrong way and you don't have to lock it. Or you could remap all your system filestructure, remove all PATHS and ~daid
Re: [gentoo-user] cdrecord fails to burn dvd
Forgive the top-post, but I would like to say I was very impressed by the analysis of Joerg Schilling. Given the issue appears resolved, I can't help myself: When I bought this notebook in january and first installed gentoo, cdrecord used to work. Then at some point ago (probably after some update) it has stopped working with the behaviour I have described above. This is every single story of Gentoo and Linux in amazing brevity. ~daid
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. Really late post on this, but an emphasis on march settings is warranted. This will totally bungle all kinds of compiling. If you keep around things like gcc-3 for rainy days, you'll also find that some newer march optimizations are not defined in older gcc versions, and this will make you all confused why nothing will compile with your hardened compiler (which, incidentally, has g77). I have three march items commented out (with comments on what each one is) in my make.conf so at least I think about it if I'm trouble shooting. I got thrown off the other day setting up a newer machine with the same kind of problem (it needed old code and gcc3...grrr). Regards, daid
Re: [gentoo-user] No sound after suspend to ram + resume...
After suspending to ram (using hibernate-ram) and resuming, sound no longer works. I checked out dmesg, and it says that (among other things): Check the various hybernation/acpi config files. There should be the option somewhere in there to stop alsasound when it hybernates and start it again on resume. My wisdom agrees with this. 90% of problems I've had getting hibernate-ram to function correctly is all in the /etc/hibernate/common.conf file. Please check these options very well. For different kernel builds or X configurations, the best settings can easily change. If you recently updated the kernel, then please reboot once again, as the alsa configurations can change slightly, and it will try to auto-convert old alsa settings. Also please run alsaconf as well to make sure the settings are correct. ~daid
Re: [gentoo-user] what is overloaded my X server?
2009/11/25 Helmut Jarausch jarau...@igpm.rwth-aachen.de: Hi, on one of several machines and only occasionally my X-server (/usr/bin/X) takes nearly 100% CPU. I have killed some applications but this didn't help unless I killed X itself and restarted it. Is there any way to find out what is hogging my X server? Another thing worth note is what version of the kernel you are running versus how updated X is. I noticed when I migrated to libxcb under a 2.6.27 kernel that X starts running much more slowly for strange cases (like when audio is running, for example, X hogs the processor). I don't have a lot of insight as to how to determine which program makes X run hot, except for running very few things in X and starting a program and keeping an eye on something like top. But, in any case, another solution may be to keep the kernel updated if you are running the latest X software. ~daid
Re: [gentoo-user] what is overloaded my X server?
I'm running the 2.6.31-gentoo-r6 kernel, xorg-server-1.6.5-r1 and x11-drivers/ati-drivers-9.11 So, this is quite recent. Only killing X itself cures the problem. Of course, I have reemerged x11-base/xorg-server x11-drivers/ati-drivers and I have run revdep-rebuild. Probably I have to somehow compare every lib on the faulty machine to another once which should have identical packages. Another thing you might try it to have X automatically reconfigure itself. I find that my xorg.conf gets somewhat bloated from my manual edits, lack of bad commenting, and trying lots of options. This resulted in my machine loading a lot of modules, and I wasn't really sure which ones i needed and which ones I enabled for what reasons over the last three years since I compiled this machine. Make a copy of xorg.confcopy it to somewhere like /etc/X11/xorg.conf.backup Then let it autoconfigure: $ X -configure That will make a temporary xorg.conf which you should move to /etc/X11 or ~/ depending on your setup. It could be that one of the modules you're loading into X is the cause. I had done this recently as well trying to solve my X processor problems, and it might be useful. Alternatively, you can just comment out one-by-one any modules or devices you're loading with xorg.conf and see if any of them are responsible. It's more manual work than rebuilding all your libraries, but it beats the hell out of re-emerging your whole system on a guess Regards, daid
Re: [gentoo-user] ~amd64 : X11 (?) crashing
This reminds me of a problem we had just recently. Have you got a multi-core CPU ? If yes, read on. If you all think it might be multi-core related, check out a recent post that was syndicated to planet.gentoo: http://gentooexperimental.org/~patrick/weblog/archives/2009-11.html#e2009-11-19T00_43_58.txt This discusses how using a feature in the 2.6.32 kernel one can kill various cores in a multi-core system. In any case, it's a way to experiment with this theory. ~daid
Re: [gentoo-user] /bin contains busybox executables after installing busybox-1.13.2
This all happened because you didn't read this: pkg_preinst() { if use make-symlinks [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == yes ]] [[ ${ROOT} == / ]] ; then ewarn setting USE=make-symlinks and emerging to / is very dangerous. ewarn it WILL overwrite lots of system programs like: ls bash awk grep (bug 60805 for full list). ewarn If you are creating a binary only and not merging this is probably ok. ewarn set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy what you want. die silly options will destroy your system fi /bin/find is not associated with any packages because it's created in postinst() This was the best fragment of an ebuild I ever read. What a riot! ~daid
Re: [gentoo-user] what is overloaded my X server?
2009/11/25 Helmut Jarausch jarau...@igpm.rwth-aachen.de: Hi, on one of several machines and only occasionally my X-server (/usr/bin/X) takes nearly 100% CPU. I have killed some applications but this didn't help unless I killed X itself and restarted it. Is there any way to find out what is hogging my X server? Running accelerated graphics on my intel card (945GM) for things like compiz would always make X eat my processor time like mad. The workaround I used was not to accelerate graphics on a crappy card. Not sure if this applies to you. Regards, daid
Re: [gentoo-user] Moving root filesystem to a new partition
Just restore your latest backup to the new partition, then edit /etc/fstab to specify the proper layout. Easy - I do it often. A good idea. If for some reason you don't have disk image backups...grab something like system rescue cd, and partimage the whole drive and the restore from it... ~daid
Re: [gentoo-user] Re: udev (probably)
I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. I found it in /var/log/messages. It said: Nov 23 15:37:07 camille kernel: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly Nov 23 15:00:01 camille sudo: michael : TTY=pts/4 ; PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/udev restart I'm rebuilding the kernel with that option disabled, but in the meantime why did Mythtv forget my programs set to record? I checked that mysql is running, and it is, I checked mythbacked. The only discrepancy I can find is the existence of /dev/video0... I also had this message for maybe a week before I rebuilt the kernel (same way as you). The only difference I noticed was that the error message went away, but maybe it had some effect on your hardware? ~daid
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
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] 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] 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
[gentoo-user] Keyboard Mapping Issues
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. Examples: During console login, the key-combination Shift+2 deletes the whole line, and Shift+3 is a backspace, rather than the characters '@' and '#' respectively. However, once logged-in, these keys behave as expected. All other keys appear to work correctly. However, the Function behavior is toggled opposite to previous settings where they are normal F1-12 keys unless I hit the laptop's Fn key. Usually this would be controlled by something like pommed (a small daemon for Apple computers) or X, but those settings are not respected, and there seems to be no way to switch the keyboard Function modes anymore. Yesterday, I updated 18 packages and also the kernel. 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. I know some of the updates included things like removing device-mapper, updating lvm2 udev, as well as perhaps kbd. I expected these packages could be the problem, but I downgraded all of them and restored the /etc directory from backup, and the strange keyboard behavior remains. (Once I determined nothing in /etc causes this behavior, I restored the recent /etc directory.) revdep-rebuild doesn't show any broken dependencies that I might have missed through the downgrades. It is not the kernel or modules, since this behavior is now seen on all my kernels. Searching the internet and user-lists did not bring any solutions to my attention. Does anyone have some wisdom for me? Regards, daid
[gentoo-user] Re: Keyboard Mapping Issues
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. ~daid
Re: [gentoo-user] Downgrade glibc-2.11 to 2.10
if has_version ''${CATEGORY}/${PF} ; then eerror Sanity check to keep you from breaking your system: eerror Downgrading glibc is not supported and a sure way to destruction die aborting to save your system fi I want to do it anyway. I had a circumstance where I also had to downgrade glibc. It was a giant pain in the ass. The advice you gave me in July for the same question (from me that time): 1. Backup all user data, configs and critical files 2. Download a recent stage that suits your needs 3. Rebuild world plus add all the extra packages you use I followed your advice and it worked very well. From my experience, you're only going to do the same thing if you actually try to downgrade, and it's going to be much harder and take much longer. What better advice to follow than your own!! Regards, daid