Re: [gentoo-user] Is perl broken?
On Monday 06 April 2015 04:30:35 I wrote: After a bit more thought I remember that GCC was upgraded last week, and the change log referred to many bug fixes. (That's what my memory tells me, anyway, but I can't see where I found it now.) So I decided to emerge -e world, which I did in two passes: first emerge -eB world, then boot to a minimal system and emerge -eK world. Then etc-update and reboot, compile the kernel again (gentoo-sources-3.18.9) and a final reboot. Maybe something went wrong in the middle of that, so I've set off the same process again. It'll take a few hours, so I'm off to bed again meanwhile - it's 04:30 here. Well, after 18 hours of that emerge -e world, I started the completely rebuilt system, removed those three packages from package.mask: $ cat /etc/portage/package.mask =sys-boot/grub-2.00 =sys-fs/lvm2-2.02.109 # #=dev-lang/perl-5.20.2 #~virtual/perl-File-Spec-3.480.100 #~virtual/perl-Storable-2.490.100 ...and ran perl-cleaner again. Same result - portage exited silently when given the list of packages to install. Next, eselect python set 1 set the main active version from its previous 3.3 to 2.7, just in case of some problem with 3.3. No difference. Then I chose one of the silently ignored packages and tried to emerge it myself, but still portage did nothing: - $ sudo emerge -1av dev-perl/Text-WrapI18N These are the packages that would be merged, in order: Calculating dependencies done! Total: 0 packages, Size of downloads: 0 KiB Nothing to merge; quitting. - Yet the package is in the database: $ eix -Ic dev-perl/Text-WrapI18N [I] dev-perl/Text-WrapI18N (0.60.0-r1{tbz2}@10/02/15): Internationalized substitute of Text::Wrap Today's routine sync and update has pulled two packages in: gentoo- sources-3.18.11 and chromium-41.0.2272.118. Gentoo-sources has just been installed and I'm compiling the new kernel; chromium will take longer. This just gets weirder and weirder. When does portage do what it's told and when does it not? ;) -- Rgds Peter.
[gentoo-user] [SOLVED] System date/time goes to GMT when PC wakes from hibernate
On Mon, Apr 06, 2015 at 06:13:41PM -0400, Fernando Rodriguez wrote There's an option CONFIG_RTC_HCTOSYS on the kernel to do it automatically. I think it uses utc so if you use localtime it may mess it up. This also came up recently on this list but I can't remember what the problem was so you may want to look there. Thanks, I think that's the problem. # CONFIG_RTC_HCTOSYS is not set ...on both my desktop, and on the netbook. The only difference is that the netbook's Poulsbo chipset (bleagh) doesn't play nice with hibernate, so I do a full shutdown, and the startup is from the text console login prompt. The problem didn't show up when I was re-installing (32 - 64 bit upgrade) on my desktop, and doing full shutdowns and rebooting. So this seems I seem to remember this popping up as a new option recently during a kernel upgrade... Device Drivers Real Time Clock [ ] Set system time from RTC on startup and resume This appears to do automatically what I do with the hwclock command in the OnResume option. Like 99% of all new stuff on make oldconfig, I said No. This time, it came back to bite me. Next kernel upgrade, I'll have to set that option on. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] Is perl broken?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Dienstag, 7. April 2015, 11:20:07 schrieb Peter Humphrey: Then I chose one of the silently ignored packages and tried to emerge it myself, but still portage did nothing: - $ sudo emerge -1av dev-perl/Text-WrapI18N These are the packages that would be merged, in order: Calculating dependencies done! Total: 0 packages, Size of downloads: 0 KiB Nothing to merge; quitting. - Yeah, looks strange. Anything in your make.conf EMERGE_DEFAULT_OPTS ? - -- Andreas K. Huettel Gentoo Linux developer dilfri...@gentoo.org http://www.akhuettel.de/ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0 iQJ8BAEBCgBmBQJVJDpPXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5AmAQAMblxzu6NwC130CAkREcoGXy LfsbXL0b7JRKkFpK79Zmb7GYZfdwMYOTgJkWJhlgpWrQ+ZZY9jm+iye7yw1qtbj2 Wy9eqH/z6SY0uf/sxwj07OZG4Gn2wxS7n7f1LvdnFWjZZtP8U9C9OlsswZhuqE00 7D6ENKMqHYDp9mlpXPlGrFq5koWM8AcMG+08KNY+jrlZyWZbI9cMYEnJL4fY6eIv Ou+DFaXB8EWoc4X1l2SxuQ4md0JYETKbTozYnBob2q8WeUyoVF6NJq496IkQMllB EpSJ8RG3fD/QWkja588ffWwMmkVBhKm+xgW3JSqcjLjLV1eFHdkg1JK1PXxVq7jV JSP4RAbRVFyijygVWN40L6PD/AdXDDshwxw+88Np30CePn2m1vvAbx0ljTEUUjYX yAGNSIvm5kuNa8vdNfxwEZNybSNd6KHtfP1I9evNyqyNZ+lVprkJg6o4HHq3VYxZ vJnUj+pWh3GeobSZB5nQMP7tu1d3WcmT1mGU/unW9zcI7l0bc/CAaodcTg/F3dHJ TCjlhAxTpCklCKzoUAJqGyvy2KcVvR2GzLZyXqzcTO5pcvpfYQlo+aiNcke+MYDX E6hyZbrM+Aoa2LDV+Gs8fiURIFnOlzP/0f2GEoDJ6kqWTAHy6CA0ZxHib4IQm+FJ SxgT3vSxeI/muGjhEDKc =gQJm -END PGP SIGNATURE-
Re: [gentoo-user] Re: How to poweroff the system from user?
Fernando Rodriguez frodriguez.develo...@outlook.com writes: On Saturday, April 04, 2015 2:41:12 PM lee wrote: I always can't remember which keys to press with that, so I have it disabled. And when the keyboard is unresponsive, it won't work. It will in many cases (probably most). Usually it's xorg that freezes the keyboard, in those cases ctrl-alt-sysrq-r followed by ctrl-alt-f1 should get you to the VT where you can restart xorg. I think the kernel needs to be completely locked with interrupts disabled or locked in a higher priority interrupt (unlikely) for it not to work or the USB stack totally broken. I can see some of the commands failing or even completely locking the kernel if something's really messed up. How do you remember these keys? A long time ago, I even printed a list, and of course, it got lost before I ever came close to needing it. Paper is just too volatile. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] Re: How to poweroff the system from user?
Rich Freeman ri...@gentoo.org writes: On Sat, Apr 4, 2015 at 8:41 AM, lee l...@yagibdah.de wrote: Oh I mean the *default*. We should not need to change the inittab to have it disabled by default. Isn't commenting out the whole line sufficient? Uh, commenting out the line is changing the inittab (and I have no idea if it works or not offhand). With Gentoo I prefer to not have huge religious debates about Gentoo. We try to give users as much choice as possible which lets us sidestep stupid arguments about whether such-and-such is better than something else. The problem is that by their nature there usually can only be one default (or one default default if you want to make it turtles all the way down with profiles and such). So, suddenly we end up fighting over this stuff anyway... Living in the past is not onwardly a good default. (At first I wanted to say Living in the past seldom is a good default. --- but the usage of seldom and the idea of using seldomly gave me to think, and it seems that seldom can mean something like not onwardly. And I don't know whether it should be Living in the past is seldom a good default. --- which even I notice could be considered as rather unfriendly by native English speakers --- or ... seldom is However, not onwardly might create an interesting tautology here, so it has it's merits.) -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] what to use for a pppoe client?
Heiko Baums li...@baums-on-web.de writes: Am 04.04.2015 um 14:32 schrieb lee: Which package would you recommend? There seem to be at least two I could use: net-dialup/ppp net-dialup/rp-pppoe I used rp-pppoe. I found it easier to configure. ppp is installed as a dependency anyway. So there isn't really a choice and rp-pppoe is some kind of additional thing? What are its advantages? I'd like to see some connection statistics, i. e. the connection should be active 24/7, and I want to know when it's interrupted and re-established, preferably with good error reporting. It would suffice when I get an email telling me that the connection is down/up. If your ISP doesn't disconnect you the connection usually stays active as long as you want resp. the computer is running. That's the idea, and in practise, the connection is interrupted rather frequently. I'm pretty sure the router sucks and contributes to the problem. If it's not only the router, that's just another thing they need to fix. Currently, I'm taking my money back from them until they fix the problems, and they don't even notice: Fee internet for me --- though I'd rather have it working. I don't know anything about the other features (anymore) but with rp-pppoe you get at least the same error messages/logs as with ppp. Hm, I think I'll start with ppp then. You can also use net-misc/networkmanager. If you're using a desktop environment then you can also install gnome-extra/nm-applet for GTK based desktops or a similar package for KDE. This way you always see the connection status in the systray. And it's easier to configure. With networkmanager you can also easily choose and switch between different connection types like Ethernet, WLAN, DSL, Mobile Broadband, VPN etc. Networkmanager sucks, it overwrites /etc/resolv.conf and does all kinds of weird things. Maybe it's useful when you need to switch between connections all the time; that's not what I'm doing. I'm not using kde or gnome, either. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] Re: How to poweroff the system from user?
On Tuesday, April 07, 2015 9:21:38 PM lee wrote: Fernando Rodriguez frodriguez.develo...@outlook.com writes: On Saturday, April 04, 2015 2:41:12 PM lee wrote: I always can't remember which keys to press with that, so I have it disabled. And when the keyboard is unresponsive, it won't work. It will in many cases (probably most). Usually it's xorg that freezes the keyboard, in those cases ctrl-alt-sysrq-r followed by ctrl-alt-f1 should get you to the VT where you can restart xorg. I think the kernel needs to be completely locked with interrupts disabled or locked in a higher priority interrupt (unlikely) for it not to work or the USB stack totally broken. I can see some of the commands failing or even completely locking the kernel if something's really messed up. How do you remember these keys? A long time ago, I even printed a list, and of course, it got lost before I ever came close to needing it. Paper is just too volatile. Like I said: Reboot Even If System Utterly Broken I don't have a way to remember the specific keys other than knowing what the shutdown sequence is. -- Fernando Rodriguez
Re: [gentoo-user] Re: How to poweroff the system from user?
lee l...@yagibdah.de writes: Living in the past is not onwardly a good default. s/is not onwardly/seldwhen is/
Re: [gentoo-user] Is perl broken?
On Tuesday 07 April 2015 22:12:57 Andreas K. Huettel wrote: Am Dienstag, 7. April 2015, 11:20:07 schrieb Peter Humphrey: Then I chose one of the silently ignored packages and tried to emerge it myself, but still portage did nothing: - $ sudo emerge -1av dev-perl/Text-WrapI18N These are the packages that would be merged, in order: Calculating dependencies done! Total: 0 packages, Size of downloads: 0 KiB Nothing to merge; quitting. - Yeah, looks strange. Anything in your make.conf EMERGE_DEFAULT_OPTS ? $ grep EMERGE_DEFAULT_OPTS /etc/portage/make.conf EMERGE_DEFAULT_OPTS=--autounmask=n --changed-use --keep-going --nospinner --quiet-unmerge-warn $ cat make.conf # I made a local copy and removed a lot of comments #CFLAGS=-O2 -march=core2 -pipe [1] CFLAGS=-O2 -march=corei7 -pipe CHOST=x86_64-pc-linux-gnu CPU_FLAGS_X86=mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 CXXFLAGS=${CFLAGS} ACCEPT_LICENSE=dlj-1.1 google-chrome Intel-SDP sun-bcla-java-vm Oracle-BCLA-JavaSE PUEL AdobeFlash-11.x googleearth ALSA_CARDS=hda-intel CHECKREQS_ACTION=error CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/consolefonts /usr/bin/startx /usr/share/applications/boincmgr-boinc.desktop CONFIG_PROTECT_MASK=/etc/init.d /etc/pam.d DISTDIR=/usr/portage/distfiles EMERGE_DEFAULT_OPTS=--autounmask=n --changed-use --keep-going --nospinner --quiet-unmerge-warn FEATURES=buildpkg buildsyspkg FETCHCOMMAND=/usr/bin/wget --progress=bar:force -t 2 -T 30 --passive-ftp -O \\${DISTDIR}/\${FILE}\ \\${URI}\ ftp_proxy=http://serv.prhnet:8080; GENTOO_MIRRORS=http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/; GRUB_PLATFORMS=pc http_proxy=http://serv.prhnet:8080; INPUT_DEVICES=evdev LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 LIBREOFFICE_EXTENSIONS=pdfimport LINGUAS=en_GB en MAKEOPTS=-j -l16 PKGDIR=/usr/portage/packages PORTAGE_NICENESS=3 PORTAGE_TMPDIR=/var/tmp PORTDIR=/var/portage PORTDIR_OVERLAY=/usr/local/portage RESUMECOMMAND=/usr/bin/wget --progress=bar:force -c -t 2 -T 30 --passive-ftp -O \\${DISTDIR}/\${FILE}\ \\${URI}\ USE=-bluetooth -fortran -gcj -gnome -iodbc -ldap -lirc -nis -odbc -systemd -thin -upower mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 VIDEO_CARDS=nouveau [1] This bothers me. Various docs tell me to specify march=core17, but this is an i5 CPU. Could this be my problem? -- Rgds Peter.
[gentoo-user] Re: Is perl broken?
On 04/07/2015 02:48 PM, Peter Humphrey wrote: On Tuesday 07 April 2015 22:24:38 Peter Humphrey wrote: $ cat make.conf # I made a local copy and removed a lot of comments #CFLAGS=-O2 -march=core2 -pipe [1] ---8 [1] This bothers me. Various docs tell me to specify march=corei7, but this is an i5 CPU. Could this be my problem? Any reason you don't want to use march=native?
Re: [gentoo-user] Re: How to poweroff the system from user?
On Tue, 07 Apr 2015 21:21:38 +0200, lee wrote: It will in many cases (probably most). Usually it's xorg that freezes the keyboard, in those cases ctrl-alt-sysrq-r followed by ctrl-alt-f1 should get you to the VT where you can restart xorg. I think the kernel needs to be completely locked with interrupts disabled or locked in a higher priority interrupt (unlikely) for it not to work or the USB stack totally broken. I can see some of the commands failing or even completely locking the kernel if something's really messed up. How do you remember these keys? BUSIER backwards, or bookmark http://en.wikipedia.org/wiki/Magic_SysRq_key in your phone's browser :) -- Neil Bothwick Q. What is the difference between Queensland and yoghurt? A. Yoghurt has an active culture. pgp9AzXPs1_De.pgp Description: OpenPGP digital signature
Re: [gentoo-user] what to use for a pppoe client?
On Sunday 05 Apr 2015 16:29:58 lee wrote: Heiko Baums li...@baums-on-web.de writes: Am 04.04.2015 um 14:32 schrieb lee: Which package would you recommend? There seem to be at least two I could use: net-dialup/ppp net-dialup/rp-pppoe I used rp-pppoe. I found it easier to configure. ppp is installed as a dependency anyway. So there isn't really a choice and rp-pppoe is some kind of additional thing? What are its advantages? I have not installed rp-pppoe, only net-dialup/ppp, but it brought in rp- pppoe.so: $ ls -1 /usr/lib64/pppd/2.4.7/ minconn.so openl2tp.so passprompt.so passwordfd.so pppol2tp.so rp-pppoe.so winbind.so I'd like to see some connection statistics, i. e. the connection should be active 24/7, and I want to know when it's interrupted and re-established, preferably with good error reporting. It would suffice when I get an email telling me that the connection is down/up. You can increase the verbosity of the ppp logs by adding 'debug' in /etc/ppp/peers/my_isp. If your ISP doesn't disconnect you the connection usually stays active as long as you want resp. the computer is running. That's the idea, and in practise, the connection is interrupted rather frequently. I'm pretty sure the router sucks and contributes to the problem. If it's not only the router, that's just another thing they need to fix. This may have nothing to do with ppp and everything to do with noise on the line. ADSL is susceptible to REIN, cross-talk and all sort of poor connectivity (high resistance joints) problems. Currently, I'm taking my money back from them until they fix the problems, and they don't even notice: Fee internet for me --- though I'd rather have it working. I don't know anything about the other features (anymore) but with rp-pppoe you get at least the same error messages/logs as with ppp. Hm, I think I'll start with ppp then. I'd suggest the same and if you are not happy with its behaviour and output you can look at what additional features or benefits the rp-pppoe command interface brings. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Is perl broken?
On Tuesday 07 April 2015 15:02:36 walt wrote: On 04/07/2015 02:48 PM, Peter Humphrey wrote: On Tuesday 07 April 2015 22:24:38 Peter Humphrey wrote: $ cat make.conf# I made a local copy and removed a lot of comments #CFLAGS=-O2 -march=core2 -pipe [1] ---8 [1] This bothers me. Various docs tell me to specify march=corei7, but this is an i5 CPU. Could this be my problem? Any reason you don't want to use march=native? Not that I can think of now. I'll try it - thanks, both of you. -- Rgds Peter.
Re: [gentoo-user] Is perl broken?
On Tuesday 07 April 2015 22:24:38 Peter Humphrey wrote: $ cat make.conf # I made a local copy and removed a lot of comments #CFLAGS=-O2 -march=core2 -pipe [1] ---8 [1] This bothers me. Various docs tell me to specify march=core17, but this is an i5 CPU. Could this be my problem? s/17/i7/ -- Rgds Peter.
Re: [gentoo-user] Is perl broken?
On Tuesday 07 Apr 2015 22:48:54 Peter Humphrey wrote: On Tuesday 07 April 2015 22:24:38 Peter Humphrey wrote: $ cat make.conf # I made a local copy and removed a lot of comments #CFLAGS=-O2 -march=core2 -pipe [1] ---8 [1] This bothers me. Various docs tell me to specify march=core17, but this is an i5 CPU. Could this be my problem? s/17/i7/ I doubt it, but is there any reason you do not use: -march=native instead of core2 or i7 ? -- Regards, Mick signature.asc Description: This is a digitally signed message part.