Re: [gentoo-user] no keyboard no mouse
On Fri, 24 Jun 2011 22:53:32 +1000 Adam Carter adamcart...@gmail.com wrote: Make an entry in your grub.conf with gentoo=nox, so you can boot to command line. here's what mine looks like What a reboot to fix Xorg keyboard drivers? Thats not the Linux way. Press at the same time Ctrl + Alt + SysRq + r Then press Ctrl + Alt + F1 Login as root and type emerge x11-drivers/xf86-input-evdev Then /etc/init.d/xdm restart http://en.wikipedia.org/wiki/Magic_SysRq_key
Re: [gentoo-user] no keyboard no mouse
- Mail Original - De: Jonathan winelauncher.jonat...@googlemail.com À: gentoo-user@lists.gentoo.org Envoyé: Dimanche 26 Juin 2011 08h08:48 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [gentoo-user] no keyboard no mouse On Fri, 24 Jun 2011 22:53:32 +1000 Adam Carter adamcart...@gmail.com wrote: Make an entry in your grub.conf with gentoo=nox, so you can boot to command line. here's what mine looks like What a reboot to fix Xorg keyboard drivers? Thats not the Linux way. Press at the same time Ctrl + Alt + SysRq + r Then press Ctrl + Alt + F1 Login as root and type emerge x11-drivers/xf86-input-evdev Then /etc/init.d/xdm restart http://en.wikipedia.org/wiki/Magic_SysRq_key Citing Alan Mackenzies: It's a strange, depressing feeling when the only input device which works is the reset button - thank goodness that isn't handled by evdev. ;-) -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur
Re: [gentoo-user] no keyboard no mouse
On Sun, 26 Jun 2011 08:34:30 +0200 (CEST) Alain DIDIERJEAN alain.didierj...@free.fr wrote: Citing Alan Mackenzies: It's a strange, depressing feeling when the only input device which works is the reset button - thank goodness that isn't handled by evdev. ;-) Please use the mark for quotes or it's a pain to read your reply. Using Ctrl + Alt + SysRq + key by passes Xorg and gets handled by the kernel. I used the same key combo to fix my Xorg drivers the other day. Yes I know I should of read the elog. With the key combo you need to hit all 4 keys at the same time or it does not work.
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
Mike Edenfield wrote: On 6/25/2011 8:04 AM, Dale wrote: We restructured the dependency chain for fortran support, which includes a compile test now. The failure can be seen above. The Problem was in short, USE=fortran was enabled by default for linux arches, but people tend to disable it. Depending on gcc[fortran] doesn't work completely as gcc:4.4[fortran] and gcc:4.5[-fortran] with gcc-4.5 select can be installed, which would full fill the dependency but nevertheless doesn't give a working compiler. So now packages depend on virtual/fortran and use an eclass to check for a working compiler. So if you see this message, this means you somehow worked around gcc[fortran]. That make sense? Yes. He's saying they didn't change the USE flag, they changed the fortran dependency test to actually do a run-time check for fortran because the USE flag alone wasn't sufficient. Which means you most likely had a non-working cantor and no fortran compiler before and just didn't notice :) --Mike My understanding, USE flag was there and had been for a long time, got changed, this thread was started, discussion was had, USE flag was put back the way it was. So actually it was only not working while I was messing with it. That would be true ONLY if you were using the defaults. If you had -fortran then nothing should have changed as would having fortran enabled. It was only folks like me that didn't have any mention of fortran that were affected. Just one of those things. ;-) As someone else posted, this was minor compared to some things we have ran into. Dale :-) :-)
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
William Kenworthy wrote: On Sat, 2011-06-25 at 14:45 -0500, Dale wrote: What I like is the speed it got corrected. People that don't sync often most likely didn't even know it ever changed. ... I got bit, on a 6 monthly major update across multiple systems - what were the odds of that happening? Despite that, its small potatoes in the scheme of updating perl/python and other major packages ... BillK Um. Ouch !! Well compiling gcc a couple times will give them a workout. ;-) Dale :-) :-)
Re: [gentoo-user] cups 1.3 - 1.4 no more avahi?
On 26 June 2011, at 04:42, Michael George wrote: I upgraded cups to 1.4.6 today and my Macs could no longer print to it. … I'm not sure what I'm missing for the Macs to be happy like they were with 1.3 and avahi. Version of CUPS on your Mac? http://localhost:631/ Stoller.
Re: [gentoo-user] Do we have to build gcc with fortran now?
On 25 June 2011, at 14:58, Peter Humphrey wrote: On Saturday 25 June 2011 13:46:35 justin wrote: ... Trying to avoid any fortran at all is stupid, That's the sort of arrogance that gets developers a bad name. as already mentioned many math operations are faster if programmed in fortran. Whether many operations are written in Fortran is immaterial. What matters to me is whether any on my system are. If they aren't, I don't need a Fortran compiler and I'd rather not waste system resources on building one. Please don't bitch out the devs - we have few enough of them as it is. I have a number of bugs open (on b.g.o), one or two of which have not moved in months. The others are newer, and I assume they're are not going to get fixed much faster, and I assume the reason is that there just aren't the developer resources available. I mean, I could assume that the devs just hate me, but that seems a pessimistic attitude. I'm pretty sure they're not breaking things out of spite. None of my bugs are fixed as easily as recompiling a couple of packages - I don't whine about trivial stuff like that - they all require manual intervention and that I modify ebuilds myself and keep them in local. I sunk several hours into this this weekend. I would be glad to bitch out the devs and say why aren't you doing it this way?, why isn't this fixed yet? but I don't feel I have any right to. I'm reserving bitching out the devs until I can afford to pay them money on a regular basis. What's your entitlement? Stroller.
[gentoo-user] KDE4 NetworkManager applet?
I've just switched my laptop over to KDE4 to see how it feels on the smaller screen, and I can't find the KDE equivalent of nm-applet. KDE 3's knetworkmanager doesn't compile for me, and when I run the GNOME nm-applet it adds and then immediately removes itself from the notification area. I use NetworkManager for VPN connections so I'd rather not have to switch ti wicd if possible. Is there a KDE equivalent applet or plasmoid or whatever? --Mike
Re: [gentoo-user] KDE4 NetworkManager applet?
Am Sonntag, 26. Juni 2011, 13:10:36 schrieb Mike Edenfield: I've just switched my laptop over to KDE4 to see how it feels on the smaller screen, and I can't find the KDE equivalent of nm-applet. KDE 3's knetworkmanager doesn't compile for me, and when I run the GNOME nm-applet it adds and then immediately removes itself from the notification area. I use NetworkManager for VPN connections so I'd rather not have to switch ti wicd if possible. Is there a KDE equivalent applet or plasmoid or whatever? --Mike Hey Mike, i prefer wicd kvpnc. For me it seems that * kde-misc/knetworkmanager Available versions: (4) 4.4.0_p20110415!t ~4.4.0_p20110513!t {aqua consolekit debug kdeenablefinal} Homepage:http://kde.org/ Description: KDE frontend for NetworkManager is what you are looking for.
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
On Saturday 25 June 2011 20:12:00 Michael Schreckenbauer wrote: Try euse -I fortran. If anything besides gcc pops up, you should have one. Nope. -- Rgds Peter
[gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting
Harry Putnam rea...@newsguy.com writes: Mark Knecht markkne...@gmail.com writes: I think we're not communicating then. The file I sent you was [...] Egad... I wasn't far off about brain dead. I got mixed up with another fellow who posted an appliance. I'm really sorry. And thanks for the config... I'll try it with a kernel build shortly. OK, trying the build now... with minor changes.. nothing that should effect booting. The boot process does get a little farther but comes to a halt at Switching to clock source tsc And there it has sat for some time now. Apparently is not going to continue.
Re: [gentoo-user] Do we have to build gcc with fortran now?
On Sunday 26 June 2011 11:45:24 Stroller wrote: I would be glad to bitch out the devs and say why aren't you doing it this way?, why isn't this fixed yet? but I don't feel I have any right to. I'm reserving bitching out the devs until I can afford to pay them money on a regular basis. What's your entitlement? I don't do that either, but calling me stupid is not the best way to get my sympathy. -- Rgds Peter
Re: [gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting
On Sun, Jun 26, 2011 at 7:19 AM, Harry Putnam rea...@newsguy.com wrote: SNIP The boot process does get a little farther but comes to a halt at Switching to clock source tsc And there it has sat for some time now. Apparently is not going to continue. That EXACT symptom was EXACTLY what we saw on new hardware when we didn't have the /dev/null, /dev/console issue because they were missing from the recent tarballs. I actually had some photos that showed it but cannot find them. Probably deleted at this point. Here's a;link to the LKML thread and eventually Paul Hartman's pointer to what fixed it: https://lkml.org/lkml/2011/6/16/918 Please consider reviewing the links I sent earlier about the 10 or so steps required to get them into the VM correctly. To verify, boot the VM with the install CD, mount the partitions and just look at /dev. Is everything REALLY there? If /dev/null and /dev/console are there, and are special dev files and not just regular files, then make sure you are starting udev explicitly in rc-update. I am copying the post so you can go through them without worrying that you didn't find the post I'm talking about. HTH, Mark [QUOTE] I have the exact same problem as described in post #3. As this is not my first gentoo install, I also noticed that the English manual does not yet reflect the baselayout2/OpenRC changes. /dev isn't populated so booting with grub init=/sbin/init 3 doesn't do anything. Well, except for printing out the following. Code: /dev/initctl: No such file or directory Here is how to fix the problem described in post #3: (The problem being missing device nodes in /dev before /dev is mounted) Boot from a LiveCD and chroot into your system. Create the needed device nodes with the following commands. Code: cd ~ mkdir test mount --bind / test cd test/dev mknod -m 660 console c 5 1 mknod -m 660 null c 1 3 cd ../.. umount test rmdir test (taken from http://www.gentoo.org/doc/en/udev-guide.xml) OpenRC does not start udev by default at system startup. Make sure it is started at boot: Code: rc-update add udev sysinit [/QUOTE]
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
Michael Schreckenbauer wrote: Am Samstag, 25. Juni 2011, 14:58:56 schrieb Peter Humphrey: Whether many operations are written in Fortran is immaterial. What matters to me is whether any on my system are. If they aren't, I don't need a Fortran compiler and I'd rather not waste system resources on building one. Try euse -I fortran. If anything besides gcc pops up, you should have one. Regards Michael That doesn't appear to work like it should then. I get this: root@fireball / # euse -I fortran global use flags (searching: fortran) [+ CD ] fortran - Adds support for fortran (formerly f77) Installed packages matching this USE flag: sys-devel/gcc-4.4.5 local use flags (searching: fortran) no matching entries found root@fireball / # Thing is, I know a couple packages use it on this rig because I just had to recompile them. Cantor and R are two that I recall. Maybe it is because it is not a option in the list? The USE flag that is. Dale :-) :-)
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, walt w41...@gmail.com вы писали: On 06/25/2011 05:03 PM, walt wrote: On 06/25/2011 03:32 PM, Alexey Mishustin wrote: Hi. After updating udev the links /dev/cdrom, /dev/dvd etc disappeared. There are four /dev/sgX but there is no /dev/srX at all. No hdX, all sdX are hard drives. That's a good thing. The disk drivers that use/need/create /dev/hd* are obsolete. So, I can't mount any cd or dvd. My drive is IDE (Pioneer). Mine also, not a problem. # dmesg | grep sr # That seems to be the problem. sigh I beg pardon for my senility. I was reminded while reading a different group to run lsmod. The salient lines from lsmod: cdrom 24970 1 sr_mod The kernel module sr_mod is selected in the kernel config menu at Device Drivers::SCSI device support::SCSI CDROM support I guess, you mean CONFIG_BLK_DEV_SR? It was selected as Y. I changed it to M and recompiled the kernel. The module appeared: # lsmod | egrep rs_mod|cdrom|marvel cdrom 24804 1 sr_mod pata_marvell1761 0 libata123278 53 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix But nevertheless there is no neither /dev/sr0, nor links to cdrom, dvd... The same kernel (with CONFIG_BLK_DEV_SR = Y) works perfectly on my laptop with internal SCSI cdrom. All links and sr0 exist there. But that's no help for me... -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, Alexey Mishustin shum...@shumkar.ru вы писали: # lsmod | egrep rs_mod|cdrom|marvel cdrom 24804 1 sr_mod pata_marvell1761 0 libata123278 53 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix Sorry, # lsmod | egrep sr_mod|cdrom|marvel sr_mod 10262 0 cdrom 24804 1 sr_mod pata_marvell1761 0 libata123278 53 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix But it doesn't matter. -- Regards, Alex
Re: [gentoo-user] [OT] using ffmpeg for screen cast
On Sun, Jun 26, 2011 at 1:28 PM, Mick michaelkintz...@gmail.com wrote: Hi All, I was trying to record my desktop using: ffmpeg -f x11grab -s xga -r 25 -i :0.0 -aspect 4:3 /tmp/out.mpg but the result is rather blurred as you can see in the attached screenshot, when I play it with mplayer. Is there some other option (codec) I should add to improve the quality of the captured image? -- Regards, Mick I have used recordmydesktop and received good results; recordmydesktop -device hw:1 --width 1200 --height 800 -x 1900 -y 30 -o test.ogv control alt p to pause control alt s to stop Adjust to taste that is on a dual screen. HTH David
Re: [gentoo-user] [OT] using ffmpeg for screen cast
On Sunday, June 26 at 18:28 (+0100), Mick said: Hi All, I was trying to record my desktop using: ffmpeg -f x11grab -s xga -r 25 -i :0.0 -aspect 4:3 /tmp/out.mpg but the result is rather blurred as you can see in the attached screenshot, when I play it with mplayer. Is there some other option (codec) I should add to improve the quality of the captured image? Try passing -sameq -a
[gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting
Mark Knecht markkne...@gmail.com writes: On Sun, Jun 26, 2011 at 7:19 AM, Harry Putnam rea...@newsguy.com wrote: SNIP The boot process does get a little farther but comes to a halt at Switching to clock source tsc And there it has sat for some time now. Apparently is not going to continue. That EXACT symptom was EXACTLY what we saw on new hardware when we didn't have the /dev/null, /dev/console issue because they were missing from the recent tarballs. I actually had some photos that showed it but cannot find them. Probably deleted at this point. Here's a;link to the LKML thread and eventually Paul Hartman's pointer to what fixed it: https://lkml.org/lkml/2011/6/16/918 Please consider reviewing the links I sent earlier about the 10 or so steps required to get them into the VM correctly. To verify, boot the VM with the install CD, mount the partitions and just look at /dev. Is everything REALLY there? If /dev/null and /dev/console are there, and are special dev files and not just regular files, then make sure you are starting udev explicitly in rc-update. [...] First, thanks for going well beyond the call of duty and showing the patience of Job. Those files are there already and have been all along. But anyway I rm'ed them and followed the steps resulting in: (From chrooted shell) root@sysresccd /dev % ls -l console null crw-rw 1 root root 5, 1 Jun 26 17:33 console crw-rw 1 root root 1, 3 Jun 26 17:33 null rc-update |grep udev udev |sysinit udev-postmount | default ---- ---=--- - You may not have noticed that 2.6.38-r3 where your config came from is no longer available in portage... I used -r4 first time but now redoing it all I'm using your config but on 2.6.39-r1. Since I can't get the exact one you used I may as well get the latest. So to summarize... I've used a version I bastardized, of your config, on a different kernel version... maybe not the smartest way to go... I've recreated /dev/console and /dev/null using the steps you quoted. I notice on a reboot of the install media and chrooting into gentoo, that /dev/console now has 600 permissions even though I gave it 660. And /dev/null now has 666 although I gave it 660. cd /dev ls -l console null crw--- 1 root root 5, 1 Jun 26 13:02 console crw-rw-rw- 1 root root 1, 3 Jun 26 13:02 null Not sure if that is normal...but I think it is, anyway building the kernel now and we'll soon see how it works. OK, well nothing better happens on this go around. Boot still hangs up at `Switching to clocklsource tsc What is so aggravating is that building a guest from debian works first try.. no problems. I guess I'll have to relearn apt-get and other debian tricks if I want to get going on the reason I'm building a linux guest. I run gentoo on my main desktop but there, installs are usually trouble free. Seems like it should be just as easy with a vbox guest too since the hardware is kept pretty simple, but it never has been any time I've tried it, which has been quite a few over the years. I keep hoping it will work and try again some mnths later ... but it never has yet. If I want to get a tarsnap server in place (The reason I'm building a guest) anytime soon I will have to drop gentoo as guest I'm afraid. I may fool with it a bit more... but it's pretty discouraging.
Re: [gentoo-user] [OT] using ffmpeg for screen cast
On Sunday 26 Jun 2011 19:09:40 Albert Hopkins wrote: On Sunday, June 26 at 18:28 (+0100), Mick said: Hi All, I was trying to record my desktop using: ffmpeg -f x11grab -s xga -r 25 -i :0.0 -aspect 4:3 /tmp/out.mpg but the result is rather blurred as you can see in the attached screenshot, when I play it with mplayer. Is there some other option (codec) I should add to improve the quality of the captured image? Try passing -sameq -a WOW! Exceptional improvement in a single stroke! Thanks! :) Why is it that ffmpeg degrades the quality with default settings? What does it assume that the setting is? (sorry for the newbie Qs, but this area is until now outside my cognitive map! ;-) Thank you both for your suggestions. The recordmydesktop looks good, but I am not sure if I will have to transcode it to make sure that it would also work for MSWindows users? Is ogg MSWindows 'compatible'? Now, I hope I'm not getting greedy, but how do I add voice recording to the above stanza? Or do I have to record voice and then package it along with the video in a container as a separate step? Once I achieve that how can I go back and edit the voice part? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
Am Sonntag, 26. Juni 2011, 10:28:47 schrieb Dale: Michael Schreckenbauer wrote: Am Samstag, 25. Juni 2011, 14:58:56 schrieb Peter Humphrey: Whether many operations are written in Fortran is immaterial. What matters to me is whether any on my system are. If they aren't, I don't need a Fortran compiler and I'd rather not waste system resources on building one. Try euse -I fortran. If anything besides gcc pops up, you should have one. Regards Michael That doesn't appear to work like it should then. I get this: root@fireball / # euse -I fortran global use flags (searching: fortran) [+ CD ] fortran - Adds support for fortran (formerly f77) Installed packages matching this USE flag: sys-devel/gcc-4.4.5 local use flags (searching: fortran) no matching entries found root@fireball / # Thing is, I know a couple packages use it on this rig because I just had to recompile them. Cantor and R are two that I recall. Maybe it is because it is not a option in the list? The USE flag that is. Iirc you had problems with -fortran, because you have packages that really need fortran. My suggestion was for people like Peter, who have no problems without fortran. It shows only packages which could perform better, if a fortran compiler is available and otherwise fallback to a C implementation. At least, I think it does :) Dale :-) :-) Michael
[gentoo-user] gcc ebuild is hogging CPU?
Anyone emerged gcc lately? I've been doing it all day (it seems) so I finally used top to see if something besides gcc is using cpu. Sure enough, emerge is constantly using 50% cpu while the compiler is using the other half. I tried using ebuild directly instead of emerge and I find that now ebuild is using 50% cpu instead of emerge. I just tried emerging firefox and I see that the compiler is getting all of the cpu now instead of half. Can anyone reproduce this agonizing sloth? Thanks.
Re: [gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting
On Sun, 26 Jun 2011 13:34:56 -0500, Harry Putnam wrote: (From chrooted shell) root@sysresccd /dev % ls -l console null crw-rw 1 root root 5, 1 Jun 26 17:33 console crw-rw 1 root root 1, 3 Jun 26 17:33 null When you chroot to the install root, you normally bind mount dev first, so I would expect those files to be there. Are they there before you chroot or bind mount anything? -- Neil Bothwick STATUS QUO is Latin for the mess we're in. signature.asc Description: PGP signature
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
Michael Schreckenbauer wrote: Am Sonntag, 26. Juni 2011, 10:28:47 schrieb Dale: Michael Schreckenbauer wrote: Am Samstag, 25. Juni 2011, 14:58:56 schrieb Peter Humphrey: Whether many operations are written in Fortran is immaterial. What matters to me is whether any on my system are. If they aren't, I don't need a Fortran compiler and I'd rather not waste system resources on building one. Try euse -I fortran. If anything besides gcc pops up, you should have one. Regards Michael That doesn't appear to work like it should then. I get this: root@fireball / # euse -I fortran global use flags (searching: fortran) [+ CD ] fortran - Adds support for fortran (formerly f77) Installed packages matching this USE flag: sys-devel/gcc-4.4.5 local use flags (searching: fortran) no matching entries found root@fireball / # Thing is, I know a couple packages use it on this rig because I just had to recompile them. Cantor and R are two that I recall. Maybe it is because it is not a option in the list? The USE flag that is. Iirc you had problems with -fortran, because you have packages that really need fortran. My suggestion was for people like Peter, who have no problems without fortran. It shows only packages which could perform better, if a fortran compiler is available and otherwise fallback to a C implementation. At least, I think it does :) Dale :-) :-) Michael Thing is, I switched it back and programs on here now need fortran to build. So, euse is not reporting it but R and Cantor won't build without fortran. Basically, euse should also report R and cantor but it isn't. If mine isn't reporting that, then Peter's may not either. Dale :-) :-)
[gentoo-user] rfkill
Hi guys, I wanted to ask how to check what scripts/events are started when I press a key? I have some automagical stuff happening when I press Fn+F5 (I have a Thinkpad x200s). To be more precise, my Wifi card is switched off and on and I want to know what is causing this and turn it off. Thanks a lot for your help, Ignas -- Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon?
[gentoo-user] What's a KMNAME smoke?
I'm getting this when running layman -S: kde /var/lib/layman/kde (cache: parse|ebuild*#metadata-flat#assign) Reading category 75|155 ( 48%): kde-base .. * Unknown KMNAME smoke: Guessing branch name 'KDE/4.6' * Unknown KMNAME smoke: Guessing branch name 'KDE/4.7' Does anyone know what that is?
Re: [gentoo-user] rfkill
2011/6/26 Ignas Anikevicius anikevic...@gmail.com: Hi guys, I wanted to ask how to check what scripts/events are started when I press a key? I have some automagical stuff happening when I press Fn+F5 (I have a Thinkpad x200s). To be more precise, my Wifi card is switched off and on and I want to know what is causing this and turn it off. You don't need a script for this. If you have the rfkill-input kernel module or the thinkpad-acpi module they hook into the hotkeys and drive rfkill to enable/disable radios. Best regards, Maciej Grela
Re: [gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting
On Sun, Jun 26, 2011 at 11:34 AM, Harry Putnam rea...@newsguy.com wrote: SNIP First, thanks for going well beyond the call of duty and showing the patience of Job. Gawd, you must not know about all the public help I've received here over the years? It's the LEAST I can do. Those files are there already and have been all along. But anyway I rm'ed them and followed the steps resulting in: (From chrooted shell) root@sysresccd /dev % ls -l console null crw-rw 1 root root 5, 1 Jun 26 17:33 console crw-rw 1 root root 1, 3 Jun 26 17:33 null rc-update |grep udev udev | sysinit udev-postmount | default --- - ---=--- - OK, so that's good. I'm very curious - did you happen to try appending something like init=/sbin/init 1 to the boot kernel command and seeing what happens? That might be instructive about where it's really getting to or what is stopping it from proceeding. You may not have noticed that 2.6.38-r3 where your config came from is no longer available in portage... I used -r4 first time but now redoing it all I'm using your config but on 2.6.39-r1. Since I can't get the exact one you used I may as well get the latest. OK, you caught me. I've now updated to 2.6.39-gentoo-r2: mark@GentooVBVM ~ $ uname -a Linux GentooVBVM 2.6.39-gentoo-r2 #1 SMP PREEMPT Sun Jun 26 12:22:10 PDT 2011 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux mark@GentooVBVM ~ $ So to summarize... I've used a version I bastardized, of your config, on a different kernel version... maybe not the smartest way to go... To do the update I took the config I sent you, accepted all the changes with the defaults, and built the kernel. No problem here. (I'm actually writing this from within the VM itself using Firefox. I've recreated /dev/console and /dev/null using the steps you quoted. I notice on a reboot of the install media and chrooting into gentoo, that /dev/console now has 600 permissions even though I gave it 660. And /dev/null now has 666 although I gave it 660. cd /dev ls -l console null crw--- 1 root root 5, 1 Jun 26 13:02 console crw-rw-rw- 1 root root 1, 3 Jun 26 13:02 null As Neil noted, the instructions for fixing this stated not to mount /dev before chrooting into the Gentoo build. You probably did that correctly, but it's important as you moight be seeing something provided by the boot environment and not something you really created. SNIP Boot still hangs up at `Switching to clocklsource tsc When we had this problem I did some reading, as I'm sure you have also. Don't get overly fixated on that message. According to a number of threads I read the message is the proper result of a change in how the clock is getting set up. It's spawned earlier on and the messages print when the asynchronous process completes. Sometimes it prints earlier, sometimes it's the last message, but in our case it wasn't the real cause of the problem. The real end of the process, as far as it had gone, was that the kernel loaded, released memory and then just stopped. SNIP I may fool with it a bit more... but it's pretty discouraging. Sorry for the problems. Report back on the init=/sbin/init 1 thing. I'm interested. Cheers, Mark
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
Am Sonntag, 26. Juni 2011, 15:01:19 schrieb Dale: Michael Schreckenbauer wrote: Am Sonntag, 26. Juni 2011, 10:28:47 schrieb Dale: Michael Schreckenbauer wrote: Am Samstag, 25. Juni 2011, 14:58:56 schrieb Peter Humphrey: Whether many operations are written in Fortran is immaterial. What matters to me is whether any on my system are. If they aren't, I don't need a Fortran compiler and I'd rather not waste system resources on building one. Try euse -I fortran. If anything besides gcc pops up, you should have one. Regards Michael That doesn't appear to work like it should then. I get this: root@fireball / # euse -I fortran global use flags (searching: fortran) [+ CD ] fortran - Adds support for fortran (formerly f77) Installed packages matching this USE flag: sys-devel/gcc-4.4.5 local use flags (searching: fortran) no matching entries found root@fireball / # Thing is, I know a couple packages use it on this rig because I just had to recompile them. Cantor and R are two that I recall. Maybe it is because it is not a option in the list? The USE flag that is. Iirc you had problems with -fortran, because you have packages that really need fortran. My suggestion was for people like Peter, who have no problems without fortran. It shows only packages which could perform better, if a fortran compiler is available and otherwise fallback to a C implementation. At least, I think it does :) Dale :-) :-) Michael Thing is, I switched it back and programs on here now need fortran to build. So, euse is not reporting it but R and Cantor won't build without fortran. That's because R needs a fortran compiler to compile. It does not have a C fallback solution for its maths. cantor depends on R per default. So it won't build until a working R is installed. Peter is not having problems without fortran. Everything compiles fine. So I am quite shure he has neither R nor cantor installed or any other program that needs a fortran compiler to build at all. This euse command shows only packages where fortran is optional. This means better performance, when enabled, in all (at least almost all) cases. Basically, euse should also report R and cantor but it isn't. If mine isn't reporting that, then Peter's may not either. That's impossible, I think. euse reports USE-flags. These programs don't have a fortran-USE-flag. R needs it unconditionally.. Dale :-) :-) Michael
Re: [gentoo-user] zlib and WOFF
Necro bump! On 8 May 2011, at 02:31, luis jure wrote: … for some reason the file /usr/lib64/libz.so is a text file, the solution was linking it to the real .so file at /lib64/libz.so (or /lib64/libz.so.1 in my case). after that lilypond builds just fine. This isn't the best fix, IMO. AIUI these bugs have been closed WONTFIX in favour of bug #4411 for years. [1] [2] Seems to me like next time you re-emerge zlib your symlink will get overwritten. You don't give the full error message your original post, but I saw it for myself yesterday (sorry I no longer have it handy) and it is in fact fontforge that gives this error, as it's called during Lilypond's build process. This is now logged as bug 367425 [3], and there is a patch for fontforge there. For the benefit of posterity and anyone else who discovers this bug via google (this is not aimed specifically at Luis), IMO the correct fix for this is: mkdir -p /usr/local/portage/media-gfx/fontforge/files cp /usr/portage/media-gfx/fontforge/fontforge-20110222.ebuild /usr/local/portage/media-gfx/fontforge/ wget https://bugs.gentoo.org/attachment.cgi?id=273709 cp attachment.cgi?id=273709 /usr/local/portage/media-gfx/fontforge/files/fontforge-20110222-zlib.so.patch Open a text editor add one line to the fontforge-20110222.ebuild you just created in the local overlay: src_prepare() { epatch ${FILESDIR}/${P}-lxkbui.patch + epatch ${FILESDIR}/${P}-zlib.so.patch if use doc; then Check your accept keywords for the eBuild, and: ebuild /usr/local/portage/media-gfx/fontforge/fontforge-20110222.ebuild manifest emerge -1 fontforge Finally, report your success at bug 367425. This permits you to test the ebuild for lilypond-2.14.1 at bug 370273. [4] Stroller. [1] https://bugs.gentoo.org/show_bug.cgi?id=4411 [2] https://bugs.gentoo.org/show_bug.cgi?id=290974 [3] https://bugs.gentoo.org/show_bug.cgi?id=367425 [4] https://bugs.gentoo.org/show_bug.cgi?id=370273
[gentoo-user] Re: no cdrom (IDE)
On 06/25/2011 03:32 PM, Alexey Mishustin wrote: Hi. After updating udev the links /dev/cdrom, /dev/dvd etc disappeared. There are four /dev/sgX but there is no /dev/srX at all. No hdX, all sdX are hard drives. So, I can't mount any cd or dvd. My drive is IDE (Pioneer). I assume it's connected to a PATA disk controller like my dvd player is? #lspci -k [output edited] 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE Kernel driver in use: pata_via # dmesg | grep sg msgmni has been set to 1759 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 0:0:1:0: Attached scsi generic sg1 type 0 sd 2:0:0:0: Attached scsi generic sg2 type 0 sd 3:0:0:0: Attached scsi generic sg3 type 0 Surprise, I also have sg* devices I didn't know about: #dmesg | grep -i scsi Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) scsi0 : sata_promise scsi1 : sata_promise scsi2 : sata_promise scsi3 : pata_via scsi4 : pata_via - this is the dvdrom, on my old PATA controller scsi 0:0:0:0: Direct-Access ATA Maxtor 6Y080M0 YAR5 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] Attached SCSI disk scsi 3:0:0:0: Direct-Access ATA Maxtor 7Y250P0 YAR4 PQ: 0 ANSI: 5 sd 3:0:0:0: [sdb] Attached SCSI disk scsi 4:0:0:0: CD-ROMATAPIiHDP118 4 GL05 PQ: 0 ANSI: 5 sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 3:0:0:0: Attached scsi generic sg1 type 0 scsi 4:0:0:0: Attached scsi generic sg2 type 5- the dvd is sg2 sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray sr 4:0:0:0: Attached scsi CD-ROM sr0 #ls -l /dev/sg* crw-rw 1 root disk 21, 0 Jun 26 04:50 /dev/sg0 crw-rw 1 root disk 21, 1 Jun 26 04:50 /dev/sg1 crw-rw 1 root cdrom 21, 2 Jun 26 04:50 /dev/sg2 - sg2 again crw-rw 1 root disk 21, 3 Jun 26 04:50 /dev/sg3 crw-rw 1 root disk 21, 4 Jun 26 04:50 /dev/sg4 I'm trying to separate kernel device support problems from udev problems, as you can see. #cat /etc/udev/rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib/udev/write_cd_rules # program, run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and set the $GENERATED variable. # iHDP118_4 (pci-:00:11.1-scsi-1:0:0:0) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:11.1-scsi-1:0:0:0, SYMLINK+=cdrom, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:11.1-scsi-1:0:0:0, SYMLINK+=dvd, ENV{GENERATED}=1 Note how the pci number matches the output of lspci -k. If the number doesn't match your hardware then you should delete the 70-persistent-cd.rules file and reboot. A new file will be generated during the reboot.
[gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting
Neil Bothwick n...@digimed.co.uk writes: On Sun, 26 Jun 2011 13:34:56 -0500, Harry Putnam wrote: (From chrooted shell) root@sysresccd /dev % ls -l console null crw-rw 1 root root 5, 1 Jun 26 17:33 console crw-rw 1 root root 1, 3 Jun 26 17:33 null When you chroot to the install root, you normally bind mount dev first, so I would expect those files to be there. Are they there before you chroot or bind mount anything? No... and I'm now getting it that they should be. Anyway, I'm downloading the latest stage3 I found (06/14) I'll explode it in a test directory and see whats there. I've emerged so much stuff now on the one I been working on that I hate to bugger it up if there is much chance of salvaging it. All those kernel builds left lots of time for emerging all my pet stuff. ok, a freshly exploded stage3 from 06/14 shows only null being an un-bound /dev/ and its a plain file # ls -l -rw-r--r-- 1 root root 0 Jun 14 13:08 null So now I've got them in place BEFORE binding to the install media /dev. ls -l /mnt/gentoo/dev ---- ---=--- - Mark Knecht markkne...@gmail.com writes: [...] I'm very curious - did you happen to try appending something like init=/sbin/init 1 to the boot kernel command and seeing what happens? That might be instructive about where it's really getting to or what is stopping it from proceeding. No, haven't done that yet. In fact with /dev/console and dev/null created in an un-bound /dev as sharp eyed Neil pointed out, I can now get farther in the boot process. However, now I'm running into many other problems and still no boot. many tty could not be accessed but then on reboot with SystemRescueCD again, I see they were generated into /dev/ but are not character files. There was some kind of problem with fsck and at least 2 other problems something to do with urandom and another I lost track of. At this point, I'm going to scrap the guest as by now I don't know if I'm coming or going with this thing. Boot process has written junk into dev/, I've written junk into dev/ so I'm starting clean. I've downloaded a new stg3, new snapshot of portage so I'm going to try with all untampered with stuff. I guess I am to create /dev/null and /dev/console again as per instructions (that is, in an un-bound /mnt/gentoo/dev/) (Is it normal to find `null' created as a regular file in dev/ (before any tampering?) Install vim, eix, reiserfsprogs, rsyslog, grub and gentoo-sources. Build the kernel, then see what happens. (using your config again) If it doesn't boot I'll boot to single mode as you requested and see what I see.
Re: [gentoo-user] Re: Do we have to build gcc with fortran now?
On 6/26/2011 4:01 PM, Dale wrote: Michael Schreckenbauer wrote: Am Sonntag, 26. Juni 2011, 10:28:47 schrieb Dale: Michael Schreckenbauer wrote: Try euse -I fortran. If anything besides gcc pops up, you should have one. That doesn't appear to work like it should then. I get this: root@fireball / # euse -I fortran global use flags (searching: fortran) [+ CD ] fortran - Adds support for fortran (formerly f77) Installed packages matching this USE flag: sys-devel/gcc-4.4.5 local use flags (searching: fortran) no matching entries found root@fireball / # Thing is, I switched it back and programs on here now need fortran to build. So, euse is not reporting it but R and Cantor won't build without fortran. Basically, euse should also report R and cantor but it isn't. If mine isn't reporting that, then Peter's may not either. Neither of those packages has a fortran USE flag, and cantor doesn't know anything about FORTRAN. cantor has an R USE flag, to switch it's R backend on/off. R doesn't have a USE flag for FORTRAN because that would be pointless -- it *requires* an f77 compiler, so it depends on virtual/fortran unconditionally. You would probably be better off using root@platypus ~ # equery depends virtual/fortran dev-python/numpy-1.6.0 (lapack ? virtual/fortran) You will probably have both R and blas in that list as well. If so, you will need to continue to enable gcc[fortran] to build those. (The fact that gcc has a fortran USE flag is only relevant because it's the default compiler; you could also potentially have ifc installed to satisfy virtual/fortran, rendering gcc's USE flag irrelevant.) --Mike
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, walt w41...@gmail.com вы писали: #cat /etc/udev/rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib/udev/write_cd_rules # program, run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and set the $GENERATED variable. # iHDP118_4 (pci-:00:11.1-scsi-1:0:0:0) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:11.1-scsi-1:0:0:0, SYMLINK+=cdrom, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:11.1-scsi-1:0:0:0, SYMLINK+=dvd, ENV{GENERATED}=1 Note how the pci number matches the output of lspci -k. If the number doesn't match your hardware then you should delete the 70-persistent-cd.rules file and reboot. A new file will be generated during the reboot. My udev doesn't create 70-persistent-cd.rules, there is the 70-persistent-net.rules only. -- Regards, Alex