Re: [gentoo-user] kernel 3.2-3.5 upgrade unusable: keyboard borked
On Sunday 02 Dec 2012 06:39:16 Yohan Pereira wrote: On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel is unusable because it always puts the keyboard into a mode where it maps the numeric keypad to the right-hand home position (J-1, K-2, L-3, U-4, etc.). After sshing into the machine and booting back into 3.2, everything is fine again. There must have been a new kernel setting that I missed when I did a make oldconfig which defaults to an unusable settings. I haven't been able to come up with a Google search that provides anything remotely relevent. Does anybody recognize this problem? Is this a laptop? with no num pad? On my laptop the numpad is mapped to the keys like you described, so when Num Lock is toggled those keys function as the num pad. You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kernel 3.2-3.5 upgrade unusable: keyboard borked
Mick michaelkintz...@gmail.com wrote: On Sunday 02 Dec 2012 06:39:16 Yohan Pereira wrote: On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel is unusable because it always puts the keyboard into a mode where it maps the numeric keypad to the right-hand home position (J-1, K-2, L-3, U-4, etc.). After sshing into the machine and booting back into 3.2, everything is fine again. There must have been a new kernel setting that I missed when I did a make oldconfig which defaults to an unusable settings. I haven't been able to come up with a Google search that provides anything remotely relevent. Does anybody recognize this problem? Is this a laptop? with no num pad? On my laptop the numpad is mapped to the keys like you described, so when Num Lock is toggled those keys function as the num pad. You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. I think numlock is on by default in newer kernels -- just turn it off with the key -- I am pretty sure even your laptop has such a simulated key. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] emerge --update : how to keep it going?
On Sat, 01 Dec 2012 19:58:45 + Graham Murray gra...@gmurray.org.uk wrote: Volker Armin Hemmann volkerar...@googlemail.com writes: --keep-going does not help you, if the emerge does not start because of missing dep/slot conflict/blocking/masking whatever... Though it would be nice if there was some flag, probably mainly of use with either ' -u @world' or --resume, to tell portage to get on and merge what it can and leave any masked packages or those which would generate blockers or conflicts. That is a terribly bad idea, and you need to have a fairly deep understanding of IT theory to see it (which is why so few people see it). I don't know which camp you are in. The command is to emerge world, and it's supposed to be determinate, i.e. when it's ready to start you can tell what it's going to do, and that should be what you told it to do, no more and no less[1] the command is emerge world not emerge the-bits-of-world-you-think-you-can-deal-with If portage cannot emerge world and fully obey what root told it to do, then portage correctly refuses to continue. It could not possibly be any other way, as eg all automated build tools (puppet, chef and friends, even flameeyes's sandbox) break horribly if you do it any other way. Life is hard enough dealing with build failures without adding portage do somethign different to what it was told into the mix. [1] determinate excludes build failures, as those are not predictable. Dep graph failures happen before the meaty work begins. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] emerge --update : how to keep it going?
On Sun, 2 Dec 2012 16:12:02 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Sat, 01 Dec 2012 19:58:45 + Graham Murray gra...@gmurray.org.uk wrote: Volker Armin Hemmann volkerar...@googlemail.com writes: --keep-going does not help you, if the emerge does not start because of missing dep/slot conflict/blocking/masking whatever... Though it would be nice if there was some flag, probably mainly of use with either ' -u @world' or --resume, to tell portage to get on and merge what it can and leave any masked packages or those which would generate blockers or conflicts. That is a terribly bad idea, and you need to have a fairly deep understanding of IT theory to see it (which is why so few people see it). I don't know which camp you are in. The command is to emerge world, and it's supposed to be determinate, i.e. when it's ready to start you can tell what it's going to do, and that should be what you told it to do, no more and no less[1] the command is emerge world not emerge the-bits-of-world-you-think-you-can-deal-with If portage cannot emerge world and fully obey what root told it to do, then portage correctly refuses to continue. It could not possibly be any other way, as eg all automated build tools (puppet, chef and friends, even flameeyes's sandbox) break horribly if you do it any other way. Life is hard enough dealing with build failures without adding portage do somethign different to what it was told into the mix. [1] determinate excludes build failures, as those are not predictable. Dep graph failures happen before the meaty work begins. While there are good reasons not to implement it in portage itself, you can implement it with a bit of help from shell scripts telling portage what to do. Do an emerge -uDpv world, use sed or awk or whatever to replace the beginning [ebuild ...] and whatever come after the package nameversion, and finally loop emerge -1 =${package} for each package in that list. Now provided you discard the return value of emerge, if such ${package} will give you something that portage doesn't think is a good idea (e.g. unsatisfiable dependencies), the loop will go on to the next package instead of completely halting. The shell script is thus left as an exercise. The usual warning applies:- it can be done doesn't necessarily mean it is a good idea to do it. Kerwin. signature.asc Description: PGP signature
Re: [gentoo-user] kernel 3.2-3.5 upgrade unusable: keyboard borked
On Sun, Dec 02, 2012 at 06:23:52AM -0500, cov...@ccs.covici.com wrote: I think numlock is on by default in newer kernels -- just turn it off with the key -- I am pretty sure even your laptop has such a simulated key. Where do you get numlock as a kernel option? It is a BIOS option, but afaik not a kernel module. -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] kernel 3.2-3.5 upgrade unusable: keyboard borked
On Sun, Dec 02, 2012 at 08:06:43AM +, Mick wrote: You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. -- Regards, Mick Though there is no /etc/conf.d/numlock, Mick's post caused me to read /etc/init.d/numlock ... interesting. So if your rc-update -s -v | grep numlock shows numlock but no runlevel, you can determine from the aforementioned file how it got turned on. -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] intel HD graphics 4000 and viewing DVDs
On 12/02/2012 03:02 AM, Allan Gottlieb wrote: On Sat, Dec 01 2012, Florian Philipp wrote: Am 28.07.2012 10:22, schrieb Florian Philipp: Am 27.07.2012 22:57, schrieb Michael Mol: On Fri, Jul 27, 2012 at 4:39 PM, Florian Philipp li...@binarywings.net wrote: Am 27.07.2012 22:22, schrieb Michael Mol: On Fri, Jul 27, 2012 at 4:10 PM, Allan Gottliebgottl...@nyu.edu wrote: I am getting a new laptop. (likely dell 6430). The two graphics options are intel HD 4000 and nvidia NVS 5200M. Dell is as expected suggesting the 5200M. I do not need 3D or fast response. Dell hinted that DVDs might not play with the intel HD 4000. This seems weird to me as the 4000 is supposed to be a big improvement over the 3000 and I can't believe dell or others would have sold laptops that can't play dvds Any comments or experiences? My Duron 750MHz was able to decode DVDs in realtime. After that, all you're doing is blitting (or using xv) the frames to the screen. I would be absolutely shocked if the Intel HD 4000 GPU couldn't handle that basic of a 2D acceleration function. Now, DVDs use MPEG2. Blu-Ray uses h.264, which is a much harder beast to decode in realtime. It's possible the HD 4000 GPU can't handle hardware decode of h.264, but I don't know. I've never looked into it. (Software decode of 1080p h.264 on my Phenom 9650 worked somewhat, but highly active scenes would cause frame drops.) I've experienced issues playing DVDs on fullscreen with the OSS radeon driver. Therefore I'm cautious of assumptions that something works simply because the input is easy to decode. Upscaling to large displays with high resolutions can be an issue. I'm not saying the Intel driver cannot handle it. I'm just saying you should try it or look for reports. How high is 'high' resolution? I was upscaling to 1600x1200 using an a Radeon 9600; that card would now be almost ten years old. A bit later, I did the same on a 2.4GHz Pentium 4 using an i845-based Intel graphics card. Here's the line from lspci, as run in May of 2007: 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01) Hardware scaling a 2D image is one of the most trivial hardware-accelerated options GPUs perform. If someone had difficulties upscaling a 480p (roughly what DVDs are) to 1080p at 24 or 33fps, I would be very highly suspicious of a software misconfiguration. That kind of scaling should even be comfortably doable in software on any modern x86-derived processor. (With the plausible exclusion of the Atom CPU) 1920x1080, on-board Radeon HD 4250. I haven't diagnosed it further (except of playing around with mplayer2 options) as it was easier to use the closed source driver. Regards, Florian Philipp I realize this thread is pretty stale but since I talked bullshit and just now realized it, I want to correct myself: Since updating the kernel to 3.5 forced me to update the X server beyond 1.11 which in turn forced me to update ati-drivers to a version that no longer supported my Radeon HD 4250, I had to look into my issues with the open source driver. It turns out, my problems had two reasons: - I didn't enable KMS and DRM for radeon in the kernel - I didn't have x11-drivers/radeon-ucode installed Both resulted in a fully functioning X server that - could run glxgears just fine - could (with some tuning) render videos in DVD quality with opengl output - was too slow for videos in any higher resolution Regards, Florian Philipp Thanks for the response. I should say that I have indeed purchased the laptop with intel graphics and it works fine with DVDs. allan My laptop HP g4-1057tu of HD 3000 GPU can handle hardware decode of 720P easily with vaapi-mplayer
[gentoo-user] What utility do you use to sync user files?
I've been using rsync to sync binary files, shell scripts, my workspace, and random user files under my home directory across multiple machines. I'm using one server as the master copy, which makes daily incremental backups of my files to a separate disk with rsync. At the moment, I have my sync script set up as a Makefile with the following targets. I run this from multiple workstations. It would be nice to use something as easy as svn, but many of my files are binary. Or something like dropbox would be great. I don't work from windows, so I don't need a cross-platform solution. What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order and might move the Makefile to an interactive script to protect against that. I have to call 'make clobber' after I remove a local file to push that change to the server, and if I forgot to call 'make get' first, I have to fix it manually. ---sync makefile get: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(HOST):$(SERVER_DIR) $(LOCAL_DIR) put: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) clobber: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) --end--- ---backup script # if files are already there, hard link # the last lines mark it as complete and move a soft link pointer rsync -zavi --progress --delete \ --link-dest=$BACKUP_PATH/current \ $SOURCE $BACKUP_PATH/backup_part_$DATE \ mv $BACKUP_PATH/backup_part_$DATE $BACKUP_PATH/backup_$DATE \ unlink $BACKUP_PATH/current \ ln -s $BACKUP_PATH/backup_$DATE $BACKUP_PATH/current ---end- Randy
Re: [gentoo-user] kernel 3.2-3.5 upgrade unusable: keyboard borked
Bruce Hill da...@happypenguincomputers.com wrote: On Sun, Dec 02, 2012 at 06:23:52AM -0500, cov...@ccs.covici.com wrote: I think numlock is on by default in newer kernels -- just turn it off with the key -- I am pretty sure even your laptop has such a simulated key. Where do you get numlock as a kernel option? It is a BIOS option, but afaik not a kernel module. All I know is, that when I boot with kernel 3.6 or above, numlock is on and I have to turn it off, whereas with my 3.4 kernel I do not have to do this. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] What utility do you use to sync user files?
On Sun, Dec 2, 2012 at 9:21 AM, Randy Westlund rwest...@gmail.com wrote: I've been using rsync to sync binary files, shell scripts, my workspace, and random user files under my home directory across multiple machines. I'm using one server as the master copy, which makes daily incremental backups of my files to a separate disk with rsync. At the moment, I have my sync script set up as a Makefile with the following targets. I run this from multiple workstations. It would be nice to use something as easy as svn, but many of my files are binary. Or something like dropbox would be great. I don't work from windows, so I don't need a cross-platform solution. What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order and might move the Makefile to an interactive script to protect against that. I have to call 'make clobber' after I remove a local file to push that change to the server, and if I forgot to call 'make get' first, I have to fix it manually. Dunno if it's of any value but the new Linux Journal has a pointer to grsync which is in portage and built fine on my system here. It looks interesting in that you can create 'sessions' which probably could do much of what at least I'm doing in simple rsync scripts. I'm going to play with it a bit more but thought I'd point it out as I hadn't heard of it before. HTH, Mark
Re: [gentoo-user] What utility do you use to sync user files?
On Sun, Dec 02, 2012 at 12:21:40PM -0500, Randy Westlund wrote: I've been using rsync to sync binary files, shell scripts, my workspace, and random user files under my home directory across multiple machines. I'm using one server as the master copy, which makes daily incremental backups of my files to a separate disk with rsync. At the moment, I have my sync script set up as a Makefile with the following targets. I run this from multiple workstations. It would be nice to use something as easy as svn, but many of my files are binary. Or something like dropbox would be great. I don't work from windows, so I don't need a cross-platform solution. What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order and might move the Makefile to an interactive script to protect against that. I have to call 'make clobber' after I remove a local file to push that change to the server, and if I forgot to call 'make get' first, I have to fix it manually. ---sync makefile get: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(HOST):$(SERVER_DIR) $(LOCAL_DIR) put: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) clobber: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) --end--- ---backup script # if files are already there, hard link # the last lines mark it as complete and move a soft link pointer rsync -zavi --progress --delete \ --link-dest=$BACKUP_PATH/current \ $SOURCE $BACKUP_PATH/backup_part_$DATE \ mv $BACKUP_PATH/backup_part_$DATE $BACKUP_PATH/backup_$DATE \ unlink $BACKUP_PATH/current \ ln -s $BACKUP_PATH/backup_$DATE $BACKUP_PATH/current ---end- Randy What about Network File System (NFS)? Our little wiki has an article: https://wiki.gentoo.org/wiki/NFSv4 -- haven't read it yet, though. -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
[gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On 2012-12-02, Yohan Pereira yohan.pere...@gmail.com wrote: On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel is unusable because it always puts the keyboard into a mode where it maps the numeric keypad to the right-hand home position (J-1, K-2, L-3, U-4, etc.). After sshing into the machine and booting back into 3.2, everything is fine again. [...] Does anybody recognize this problem? Is this a laptop? with no num pad? No, it's a PS2 keyboard with no num pad (IBM spacesaver II). On my laptop the numpad is mapped to the keys like you described, so when Num Lock is toggled those keys function as the num pad. That's how it works with the 3.2 kernel. With 3.5, the numlock light is on, and the numlock key doesn't turn it off like it does with 3.2. -- Grant
[gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On 2012-12-02, cov...@ccs.covici.com cov...@ccs.covici.com wrote: Mick michaelkintz...@gmail.com wrote: Is this a laptop? with no num pad? On my laptop the numpad is mapped to the keys like you described, so when Num Lock is toggled those keys function as the num pad. You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. I think numlock is on by default in newer kernels That pretty much sucks. Is that configurable sowewhere? -- just turn it off with the key The Numlock key doesn't work with the 3.5 kernel. -- I am pretty sure even your laptop has such a simulated key. My keyboard does have a numlock key, but it doesn't turn numlock on/off with the 3.5 kernel. -- Grant
[gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On 2012-12-02, cov...@ccs.covici.com cov...@ccs.covici.com wrote: I think numlock is on by default in newer kernels -- just turn it off with the key -- I am pretty sure even your laptop has such a simulated key. I booted back into 3.5, and the NumLk doesn't toggle num-lock like it does in 3.2. In 3.5, the NumLk key toggles shift-lock. Is there some kernel setting to disable the new brokeness where num-lock is enabled at starup with no way to turn it off? -- Grant
[gentoo-user] new dhcpcd behaviour
I updated to Openrc 0.11.6 yesterday on waking the machine up today starting DHCP from a terminal (as I always do), instead of a long list of interactions with the router there's 1 line dhcpcd[1035]: sending commands to master dhcpcd process. There's also a new display in Gkrellm 'sit0', which is new to me. Everything is working, but can anyone explain the change ? Also, I have PPP installed (2.4.5-r3): do I still need this with DHCP ? -- I suspect it's left over from pre-router days. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] What utility do you use to sync user files?
As soon as you said svn I got the idea you want revisions of files you send to storage, which is a fine idea. Backups are fine, but if you have to work at the granularity of yesterday or maybe the day before it can become cumbersome. To my mind the first question to answer is how do you want to commit these files to a revision control system. This determines what you do next. If you want it file-by-file, then getting a single file is a simple svn checkout, but rolling everything back to yesterday (eg for when you accidentally did an rm on .kde or .mail) will be tricky. To do this, commit the files to remote svn and just put up with the hassles of the binary files. Yes, I know binary in SVN is amazingly evil and makes the worst ever out of Redmond look like child's play, but sometimes you have no choice... Or use a revision control system that can deal with binaries OK. All depends on what *you* need stuff to do. If you are happy committing an entire Makefile run and are OK to work with that, then you use an FS (or LVM) that can do snapshots, and make one as the last command in your Makefile. Restores are a case of mount the snapshot, find the file of interest and do what you need with it. It really comes down to the old story of precisely define first what exactly you want to achieve and then the tools to do that often present themselves. On Sun, 2 Dec 2012 12:21:40 -0500 Randy Westlund rwest...@gmail.com wrote: I've been using rsync to sync binary files, shell scripts, my workspace, and random user files under my home directory across multiple machines. I'm using one server as the master copy, which makes daily incremental backups of my files to a separate disk with rsync. At the moment, I have my sync script set up as a Makefile with the following targets. I run this from multiple workstations. It would be nice to use something as easy as svn, but many of my files are binary. Or something like dropbox would be great. I don't work from windows, so I don't need a cross-platform solution. What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order and might move the Makefile to an interactive script to protect against that. I have to call 'make clobber' after I remove a local file to push that change to the server, and if I forgot to call 'make get' first, I have to fix it manually. ---sync makefile get: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(HOST):$(SERVER_DIR) $(LOCAL_DIR) put: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) clobber: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) --end--- ---backup script # if files are already there, hard link # the last lines mark it as complete and move a soft link pointer rsync -zavi --progress --delete \ --link-dest=$BACKUP_PATH/current \ $SOURCE $BACKUP_PATH/backup_part_$DATE \ mv $BACKUP_PATH/backup_part_$DATE $BACKUP_PATH/backup_$DATE \ unlink $BACKUP_PATH/current \ ln -s $BACKUP_PATH/backup_$DATE $BACKUP_PATH/current ---end- Randy -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] backing up system files
My recently-built machine has an SSD for everyday storage + an HDD for less often used stuff + back-ups (in dir /y ). To avoid having to re-install the system if the SSD collapses one day, I wanted to make a simple back-up copy of vital files on the HDD. There are lots of apps in 'app-backup' I looked at 3 -- Backintime, Luckybackup, Kbackup -- , which did the job, tho' configuring them took a bit of concentration. I also wrote a simple Bash script, which also does the job very well which has caused me to remove the GUI apps use it instead; it uses 2 exclude files the code is below (from /usr/local/bin/ ). root:510 bin cat bsys #!/bin/bash mount /dev/sdb8 /y rsync -av /bin /y/bkp-sys rsync -av /etc /y/bkp-sys rsync -av /lib32 /y/bkp-sys rsync -av /lib64 /y/bkp-sys rsync -av /opt /y/bkp-sys rsync -av /root /y/bkp-sys rsync -av /sbin /y/bkp-sys rsync -av /usr --exclude-from '/usr/local/bin/bsys-usrx' /y/bkp-sys rsync -av /var --exclude-from '/usr/local/bin/bsys-varx' /y/bkp-sys umount /y echo done root:508 bin cat bsys-usrx # bsys-usrx : 121116 -- files to exclude from /usr local/ portage/ src/ root:509 bin cat bsys-varx # bsys-varx : 121116 -- files to exclude from /var empty/ log/emerge-logs/ tmp/ HTH others. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On 2012-12-02, Bruce Hill da...@happypenguincomputers.com wrote: On Sun, Dec 02, 2012 at 08:06:43AM +, Mick wrote: You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. Though there is no /etc/conf.d/numlock, Mick's post caused me to read /etc/init.d/numlock ... interesting. So if your rc-update -s -v | grep numlock shows numlock but no runlevel, The numlock service is not enabled for any runlevel. you can determine from the aforementioned file how it got turned on. Can you explain a bit? I've looked at that file, and I still don't see how it's getting turned on. I can ssh into the machine and use setleds to turn it off to get the keyboard back into a usable state. I suppose I could create an unnumlock rc script and enable that for all runlevels. But I'd much rather the keyboard's default state was usable... I've grep'ed the 3.5.7 kernel .config file for numlock, numeric, keypad, and a half-dozen other similar strings, and have found nothing. -- Grant Edwards grant.b.edwardsYow! Did an Italian CRANE at OPERATOR just experience gmail.comuninhibited sensations in a MALIBU HOT TUB?
Re: [gentoo-user] What utility do you use to sync user files?
On Sun, 2 Dec 2012 12:21:40 -0500, Randy Westlund wrote: What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order net-misc/unison Think of it as a two-way rsync. It keeps track of what has changed and been synced on each host and makes changes in both directions on a single run. If you add or modify a file on one side, it copies it over. If you delete a file on one side it deletes if from the other and if you modify a file on both sides since the last run, it asks what you want to do (or skips the file if running non-interactively). -- Neil Bothwick c:Press Enter to Exit signature.asc Description: PGP signature
Re: [gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
Grant Edwards grant.b.edwa...@gmail.com wrote: On 2012-12-02, cov...@ccs.covici.com cov...@ccs.covici.com wrote: Mick michaelkintz...@gmail.com wrote: Is this a laptop? with no num pad? On my laptop the numpad is mapped to the keys like you described, so when Num Lock is toggled those keys function as the num pad. You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. I think numlock is on by default in newer kernels That pretty much sucks. Is that configurable sowewhere? -- just turn it off with the key The Numlock key doesn't work with the 3.5 kernel. -- I am pretty sure even your laptop has such a simulated key. My keyboard does have a numlock key, but it doesn't turn numlock on/off with the 3.5 kernel. At least with 3.6 kernel and above, the numlock key does work -- I am using a desktop with the regular keyboard. So I wonder if you go to 3.6 will it be any better? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
[gentoo-user] gst-plugins-ugly Update Error install phase
Hello, i run update and by gstreamer i become the error message: Source compiled. Test phase [not enabled]: media-libs/gst-plugins-ugly-0.10.18 Install gst-plugins-ugly-0.10.18 into /var/tmp/portage/media-libs/gst-plugins-ugly-0.10.18/image/ category media-libs * ERROR: media-libs/gst-plugins-ugly-0.10.18 failed (install phase): * __eapi2_src_install is not supported Has someone an idea what is wrong? Has someone same msg and has realized the Error? Regards Silvio
Re: [gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On Sun, Dec 2, 2012 at 12:05 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2012-12-02, cov...@ccs.covici.com cov...@ccs.covici.com wrote: SNIP I think numlock is on by default in newer kernels That pretty much sucks. Is that configurable sowewhere? This is not my experience. I'm using 3.5.* everywhere and haven't had this problem on any machine to date. numlock is off by default on all machines as best I can tell. /etc/init.d/numlock on/off will change the state of the lights on my keyboard. Have you tried that? I didn't know that OpenRC had added numlock control but it's there and documented in a Gentoo Wiki. HTH, Mark
[gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On 2012-12-02, Mark Knecht markkne...@gmail.com wrote: On Sun, Dec 2, 2012 at 12:05 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2012-12-02, cov...@ccs.covici.com cov...@ccs.covici.com wrote: SNIP I think numlock is on by default in newer kernels That pretty much sucks. Is that configurable sowewhere? This is not my experience. I'm using 3.5.* everywhere and haven't had this problem on any machine to date. numlock is off by default on all machines as best I can tell. Armed with the clue that the change happened at 3.4 rather than 3.5, I found the thread in the kernel dev list where it was discussed. Before 3.4, numlock defaulted to off. Starting in 3.4, numlock defaults to whatever the BIOS configuration is. I change the numlock setting in my BIOS (didn't know it had one), and everything's cool. /etc/init.d/numlock on/off will change the state of the lights on my keyboard. Have you tried that? On my system it's start/stop rather than on/off. You can also just use the setleds utility directly, but either is hard to do, keyboard doesn't allow you to enter the letters u,i,o,p,j,k,l,m :) I didn't know that OpenRC had added numlock control but it's there and documented in a Gentoo Wiki. OK, I understand how to enable numlock for various run states, but just for curiousity's sake, how do you get the script called with the stop paramter instead of the start parameter during startup? Do other people's numlock keys still work with 3.4 and 3.5 kernels? When running 3.5, my numlock key functions as a shift lock. -- Grant Edwards grant.b.edwardsYow! I have many CHARTS at and DIAGRAMS.. gmail.com
Re: [gentoo-user] gst-plugins-ugly Update Error install phase
ive had my own issues with the gstreamer libs. but its with rebuilding, for some reason its failing saying there isnt a make file On Sun, Dec 2, 2012 at 2:41 PM, Silvio Siefke siefke_lis...@web.de wrote: Hello, i run update and by gstreamer i become the error message: Source compiled. Test phase [not enabled]: media-libs/gst-plugins-ugly-0.10.18 Install gst-plugins-ugly-0.10.18 into /var/tmp/portage/media-libs/gst-plugins-ugly-0.10.18/image/ category media-libs * ERROR: media-libs/gst-plugins-ugly-0.10.18 failed (install phase): * __eapi2_src_install is not supported Has someone an idea what is wrong? Has someone same msg and has realized the Error? Regards Silvio
Re: [gentoo-user] Re: External monitor is stretched 4:3
I've connected my laptop to a lot of HDTV's and whenever I switch the output to display on both screens, black bars appear on the left and right of my laptop screen so it displays at 4:3, and the HDTV output is 16:9 but looks horizontally stretched. Does anyone know how to keep the output at 16:9 on both screens? - Grant You don't give a lot of information here. Are you using mirrored screen or an extended desktop? Also what is the desktop environment or window manager you use? On thing that might help is to provide the output of xrandr. I'm using xfce4, but I'm not sure if I'm using a mirrored screen or an extended desktop. All I do is plug the laptop into the HDTV with an HDMI cable and hit the keyboard shortcut to switch screens which brings up a little dialog. There is nothing too complex here, if the TV and laptop are showing the same thing, one screen is *mirroring* the other, otherwise, if you see different things in different screens, you're using an extended desktop. I was able to change the resolution from 1024x768 to 1366x768 with xfce4's Display settings, but when I disconnect and reconnect to the HDTV it displays at 1024x768 again. Do you know how to select the output resolution for an external screen permanently? Is this done in xorg.conf? This is, I'd guess, a preferred video mode announced through EDID, where the TV, even if it supports 1366x768, will anounce 1024x768 as preferred. You could do the change with a small xrandr one-liner, and there must be some way to do it through xorg.conf, although I don't know how. In the end, having the output of xrandr (both before and after you change the video modes) would help *a lot*, as it answers most of our questions... You can set this up either with xranrd entries in your ~/.xprofile or in your /etc/X11/xorg.conf I experimented with xorg.conf, but I think the problem is with the xfce4 display switching component. If I don't have anything pertinent in xorg.conf and I reboot with the HDTV connected, both screens come up in 1366x768. I can even display and un-display either of the two screens in the xfce4 Display settings and they come up in 1366x768. But if I use the small xfce4 display switcher dialog that comes up when I hit the keyboard shortcut, the resolution always drops to 1024x768 on both screens if I choose Both displays cloned. - Grant
Re: [gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On Sun, Dec 2, 2012 at 1:08 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2012-12-02, Mark Knecht markkne...@gmail.com wrote: SNIP /etc/init.d/numlock on/off will change the state of the lights on my keyboard. Have you tried that? On my system it's start/stop rather than on/off. You can also just use the setleds utility directly, but either is hard to do, Yes, of course you're right about start/stop. I was just writing a response from memory and stupidly not testing anything. Anyway, you got the idea. Glad you found the kernel dev thread and reported the info back. Thanks! Cheers, Mark
Re: [gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On Sun, 2 Dec 2012 21:08:23 + (UTC), Grant Edwards wrote: You can also just use the setleds utility directly, but either is hard to do, keyboard doesn't allow you to enter the letters u,i,o,p,j,k,l,m :) set[tab][tab][tab]... :) -- Neil Bothwick Top Oxymorons Number 25: New York culture signature.asc Description: PGP signature
Re: [gentoo-user] intel HD graphics 4000 and viewing DVDs
On Fri, Jul 27, 2012 at 04:10:30PM -0400, Allan Gottlieb wrote I am getting a new laptop. (likely dell 6430). The two graphics options are intel HD 4000 and nvidia NVS 5200M. Dell is as expected suggesting the 5200M. I do not need 3D or fast response. Dell hinted that DVDs might not play with the intel HD 4000. This seems weird to me as the 4000 is supposed to be a big improvement over the 3000 and I can't believe dell or others would have sold laptops that can't play dvds Any comments or experiences? 2 personal experiences... 1) I have a Dell D530, over 4 years old, that could not keep up with the slowest feed of hockey games on NHLGameCenterLive. The feed runs via Flash. This was just after I had done a fresh install, and most of the system was lowest-common-denominator i686 code from the i686 install CD. After I ran emerge system and emerge world, optimised with CFLAGS... CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe ...the machine was able to keep up stutter-free on the low-speed feed. BTW, my current CFLAGS are... CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables 2) I have an early ASUS Atom netbook, 2 gigs ram, with a Poulsbo GMA500. With the in-kernel GMA500 driver, it plays 720p HD from Youtube no problem. By setting mem=1920mb in the boot parameters, I now have it playing 1080p just fine even in Youtube's large player, but not in fullscreen mode. If this old POS can play 1080p Youtube clips, a newer machine should easily be able to handle it. Additional comments... 1) Dell is probably thinking Windows built with lowest-common-denominator i686 code, running with full visual eye-candy. Yes, that would slow it down to a crawl. 2) Gentoo optimised to your machine has a huge advantage over any binary distro, be it Windows or linux. 3) I run ICEWM, a lightweight but powerful WM with minimal eye-candy. This allows the CPU and GPU to devote their power to doing stuff you really want/need. See my sig. 4) Use mplayer to play DVDs. It is much lighter than other popular linux players, and it can be optimised to your machine. My setup... [ebuild R] media-video/mplayer-1.1-r1 USE=X a52 alsa dga encode gif iconv jpeg mmx mng mp3 opengl png quicktime rtmp sse sse2 ssse3 theora truetype vdpau vorbis win32codecs x264 xv xvid -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdio -cdparanoia -cpudetection -debug -directfb -doc -dts -dv -dvb -dvd -dvdnav -dxr3 -enca -faac -faad -fbcon -ftp -ggi -gsm -ipv6 -jack -joystick -jpeg2k -ladspa -libass -libcaca -libmpeg2 -lirc -live -lzo -mad -md5sum -mmxext -nas -network -nut -openal -osdmenu -oss -pnm -pulseaudio -pvr -radio -rar -real -rtc -samba -sdl -shm -speex -tga -toolame -tremor -twolame -unicode -v4l -vidix -xanim -xinerama -xscreensaver -xvmc -zoran VIDEO_CARDS=-mga -s3virge -tdfx Note... do *NOT* blindly copy my flags. Select the ones appropriate to your CPU and GPU and playback/recording needs. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] gst-plugins-ugly Update Error install phase
On Sun, Dec 02, 2012 at 04:13:34PM -0600, Kevin Brandstatter wrote ive had my own issues with the gstreamer libs. but its with rebuilding, for some reason its failing saying there isnt a make file Desparate measure... try temporarily setting MAKEOPTS=-j1 in your make.conf file. It should not be necessary, but sometimes is. As the old saying goes... In theory, there's no difference between theory and practice In practice, there's a huge difference between theory and practice -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] gst-plugins-ugly Update Error install phase
On 12/02/2012 12:41 PM, Silvio Siefke wrote: Hello, i run update and by gstreamer i become the error message: Source compiled. Test phase [not enabled]: media-libs/gst-plugins-ugly-0.10.18 Install gst-plugins-ugly-0.10.18 into /var/tmp/portage/media-libs/gst-plugins-ugly-0.10.18/image/ category media-libs * ERROR: media-libs/gst-plugins-ugly-0.10.18 failed (install phase): * __eapi2_src_install is not supported Has someone an idea what is wrong? Has someone same msg and has realized the Error? Just try emerging it again. gstreamer consists of a dozen or so ebuilds. They tried to mask it out until all the files were up, but it looks like they missed something. Everything is up now, so it should work fine...at least it did for me (the second time around).
[gentoo-user] Re: kernel 3.2-3.5 upgrade unusable: keyboard borked
On 2012-12-03, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 2 Dec 2012 21:08:23 + (UTC), Grant Edwards wrote: You can also just use the setleds utility directly, but either is hard to do [when the] keyboard doesn't allow you to enter the letters u,i,o,p,j,k,l,m :) set[tab][tab][tab]... :) Logging in is the tricky part -- no tab completion... -- Grant
Re: [gentoo-user] What utility do you use to sync user files?
On 12/2/2012 14:33, Neil Bothwick wrote: On Sun, 2 Dec 2012 12:21:40 -0500, Randy Westlund wrote: What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order net-misc/unison I use unison to emulate Windows's offline files feature for several subdirectories in ~, and I can say it works really well. It took me quite some time to understand all of its options, and it has some very strange behavioral quirks which are easily worked around, but I like the what I ended up with. I currently have it set up to automatically synchronize a couple of locations on my notebook with a share on my file server about every five minutes. If the server is unavailable (i.e. I am not at home), it exits silently, but will try again at the next scheduled time. In the event of file conflicts (i.e. I changed the same file on the server and on the notebook between syncs), it sends me an email listing the conflicting filenames, and I can look into it later. -- ♫Dustin
[gentoo-user] libvirt
So, anyone have any experience with libvirt here? I'm familiar with VMWare and Xen. Not so much libvirt, which I understand to be a wrapper around other virt models. Starting from scratch in virsh...how do I ask libvirtd what pool formats it supports? -- :wq
Re: [gentoo-user] What utility do you use to sync user files?
On Sun, Dec 2, 2012 at 10:14 PM, Dustin C. Hatch admiraln...@gmail.com wrote: On 12/2/2012 14:33, Neil Bothwick wrote: On Sun, 2 Dec 2012 12:21:40 -0500, Randy Westlund wrote: What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order net-misc/unison I use unison to emulate Windows's offline files feature for several subdirectories in ~, and I can say it works really well. It took me quite some time to understand all of its options, and it has some very strange behavioral quirks which are easily worked around, but I like the what I ended up with. I currently have it set up to automatically synchronize a couple of locations on my notebook with a share on my file server about every five minutes. If the server is unavailable (i.e. I am not at home), it exits silently, but will try again at the next scheduled time. In the event of file conflicts (i.e. I changed the same file on the server and on the notebook between syncs), it sends me an email listing the conflicting filenames, and I can look into it later. -- ♫Dustin Unison is exactly what I was looking for. Thanks, Neil and Dustin. Randy
Re: [gentoo-user] new dhcpcd behaviour
On Sun, Dec 02, 2012 at 03:18:38PM -0500, Philip Webb wrote: I updated to Openrc 0.11.6 yesterday on waking the machine up today starting DHCP from a terminal (as I always do), instead of a long list of interactions with the router there's 1 line dhcpcd[1035]: sending commands to master dhcpcd process. There's also a new display in Gkrellm 'sit0', which is new to me. Everything is working, but can anyone explain the change ? Also, I have PPP installed (2.4.5-r3): do I still need this with DHCP ? -- I suspect it's left over from pre-router days. My LAN has a Linux router with a simple (for now) setup using dhcp and unbound. However, the sit0 is IPV4 to IPV6. Check for CONFIG_IPV6 in your kernel ... it will probably go away when you don't have that, or ipv6 USE flags where you don't use them. -- Happy Penguin Computers ') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] What utility do you use to sync user files?
Here is a good example on using rsync http://rsync.samba.org/examples.html I've modified the first one for 7-days incremental backup. -- Joseph On 12/02/12 12:21, Randy Westlund wrote: I've been using rsync to sync binary files, shell scripts, my workspace, and random user files under my home directory across multiple machines. I'm using one server as the master copy, which makes daily incremental backups of my files to a separate disk with rsync. At the moment, I have my sync script set up as a Makefile with the following targets. I run this from multiple workstations. It would be nice to use something as easy as svn, but many of my files are binary. Or something like dropbox would be great. I don't work from windows, so I don't need a cross-platform solution. What utilities do you guys use? Is there a better way to do this? It would be nice to move everything to the background, but I've already clobbered a few files by calling this in the wrong order and might move the Makefile to an interactive script to protect against that. I have to call 'make clobber' after I remove a local file to push that change to the server, and if I forgot to call 'make get' first, I have to fix it manually. ---sync makefile get: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(HOST):$(SERVER_DIR) $(LOCAL_DIR) put: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) clobber: rsync -azOuvihh --progress -e ssh $(EXCLUDE) \ --delete \ $(LOCAL_DIR) $(HOST):$(SERVER_DIR) --end--- ---backup script # if files are already there, hard link # the last lines mark it as complete and move a soft link pointer rsync -zavi --progress --delete \ --link-dest=$BACKUP_PATH/current \ $SOURCE $BACKUP_PATH/backup_part_$DATE \ mv $BACKUP_PATH/backup_part_$DATE $BACKUP_PATH/backup_$DATE \ unlink $BACKUP_PATH/current \ ln -s $BACKUP_PATH/backup_$DATE $BACKUP_PATH/current ---end- Randy
Re: [gentoo-user] new dhcpcd behaviour
121202 Bruce Hill wrote: On Sun, Dec 02, 2012 at 03:18:38PM -0500, Philip Webb wrote: I updated to Openrc 0.11.6 yesterday on waking the machine up today starting DHCP from a terminal (as I always do), instead of a long list of interactions with the router there's 1 line dhcpcd[1035]: sending commands to master dhcpcd process. There's also a new display in Gkrellm 'sit0', which is new to me. Everything is working, but can anyone explain the change ? I spoke too soon (grimace)! My LAN has a Linux router with a simple (for now) setup using dhcp and unbound. However, the sit0 is IPV4 to IPV6. Check for CONFIG_IPV6 in your kernel ... it will probably go away when you don't have that or ipv6 USE flags where you don't use them. For whatever reason, mail wasn't coming in : it was going out. I edited /etc/conf.d/netmount to comment 'dhcpcd' now all's well : it was listed by 'etc-update', so I assumed it needed authorising -- the notes in the file are explicit -- , but I don't want DHCP running as a daemon. Also, the router connection is as before 'sit0' has disappeared. Also, I have PPP installed (2.4.5-r3): do I still need this with DHCP ? -- I suspect it's left over from pre-router days. any advice ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca