Re: [gentoo-user] linux kernel disabling irq 16
On 07/11/2015 01:22 AM, Peter Humphrey wrote: What's wrong with eix? It gives you a nice, easily understood list of all the current versions. If you don't use eix (like me) there's always eshowkw (available in the gentoolkit package.) It shows packages, slots, and keywording for all arch combinations: ~ $ eshowkw gentoo-sources Keywords for sys-kernel/gentoo-sources: | | u | | a a a n p s | n | | l m r h i m m i p s p | u s | r | p d a m p a 6 i o p c 3 a x | s l | e | h 6 r 6 p 6 8 p s p 6 9 s r 8 | e o | p | a 4 m 4 a 4 k s 2 c 4 0 h c 6 | d t | o -+---+-+--- 3.4.106| ~ ~ ~ o ~ ~ o o o ~ ~ ~ ~ ~ ~ | o 3.4.106 | gentoo -+---+-+--- 3.4.107| ~ ~ ~ o ~ ~ o o o ~ ~ ~ ~ ~ ~ | o 3.4.107 | gentoo -+---+-+--- 3.4.| o o o o o o o o o o o o o o o | o 3.4. | gentoo -+---+-+--- 3.10.77| + + + o + + o ~ o + + ~ ~ + + | o 3.10.77 | gentoo --snip-- (There's a lot more output) Dan
Re: [gentoo-user] Re: Printer margins
On 07/06/2015 06:40 PM, walt wrote: On Mon, 06 Jul 2015 19:41:07 -0500 Dale rdalek1...@gmail.com wrote: walt wrote: On Mon, 06 Jul 2015 16:01:44 -0500 Dale rdalek1...@gmail.com wrote: Howdy, I finally got around to ordering some ink cartridges. Now I want to do some printing. Thing is, it tries to print ALL the way to the bottom which ends up blurred and unreadable. I've looked in Seamonkey settings, nothing. I've looked in Hplip, nothing there. I've even looked in cups, well, nothing that makes sense. I don't like the new cups interface. cups, bah! Every time cups is updated my printer 'breaks'. From painful years of experience I now know to 'delete' whatever printer/fax devices cups knows about and use hp-setup (not cups) to recreate them. By 'delete' I'm referring to the cups interface I access by visiting localhost:631 in a web browser. Is that the cups interface you're using? It used to do the same with me but that stopped a long time ago. Dale, did you try it *this* time? If not, please try the same-ole-same-ole tired remedy just one more time. The price is right :) Have you tried lpadmin? I seem to recall my old printer I had this problem and was able to use: `lpadmin -o page-bottom-default=36 -o page-top-default=36` That set a system-wide default. IIRC it's set by dpi, but it's been a while. Might have to experiment to see if it still works. To see options you can use `lpoptions -l` My new printer uses foomatic drivers and it works properly without messing around with options to set the margins. If that doesn't help then I don't have a clue... There should be man pages for both lpadmin and lpoptions. Dan
Re: [gentoo-user] minimal installation cd vs system rescue cd
On 07/01/2015 08:17 AM, gottl...@nyu.edu wrote: My new laptop should arrive this month. It will presumably support UEFI, which I have never used before. I have two questions. 1. The gentoo handbook favors using the minimal installation CD. I downloaded the iso, verified it's integrity, and burned it to a USB stick with dd. I don't think the minimal CD has UEFI support. At least it didn't when I installed gentoo on my UEFI systems, but that was some time ago now. However the wiki page UEFI_Dual_boot_with_Windows_7/8 says to use a system rescue CD. Is that required or can I use the minimal installation CD? You can either use SystemRescueCD or use a Mint boot CD. Both are UEFI bootable. Make sure you actually boot in UEFI mode though, most BIOSes have a key to bring up the boot menu with a list of choices. UEFI boot sources are clearly marked there (at least they were when I installed.) I myself used the Mint CD (I had one on hand already) so I had a browser to bring up webpages while I installed. 2. The handbook, when discussing Booting the installation CD, says Important When installing Gentoo with the purpose of using the UEFI interface instead of BIOS, it is recommended to boot with UEFI immediately. If not, then it might be necessary to create a bootable UEFI USB stick (or other medium) once before finalizing the Gentoo Linux installation. If you use SystemRescueCD or the Mint boot CD you'll boot in UEFI mode so this is irrelevant. Pretty certain you need to be booted in UEFI to install the boot loader of your choice. I stuck with grub2 and had no issues installing it. I don't understand what I am to do? Must I change the USB stick to somehow specify UEFI? Or will the laptop firmware ask me whether to boot UEFI? Or something else? The boot CD/USB needs to support UEFI, if it doesn't you can't boot in that mode. I think my NUC was F10 or F12 to show the boot menu, then you can pick the UEFI boot source. Dan
Re: [gentoo-user] purchasing a dell laptop
On 06/23/2015 10:50 AM, gottl...@nyu.edu wrote: On Tue, Jun 23 2015, Christopher Jones wrote: Sent from my iPhone Regarding the touch screens/tablets, Gentoo has drivers for them. I've been using Gentoo on my tablet PC for years now. However there's no swipe capability. I've read someone who did it but that was just one person and couldn't figure out how he did it. I think they used KDE's Plasma. Thanks. I use gnome and would make little use of the touch screen capability if it were available. As a result I decided against it for this purchase since it appears the admin overhead would exceed the very modest use I would make of it. Hopefully in 3 years, when I buy my next laptop it will be well supported and just works in gnome. thanks again, allan I discovered another mark against touchscreens - I tried to repair a friend's laptop with a touch screen (not a Dell) and found that the supply chain for parts for repair is slim to none. They do break and in a couple years you may not be able to find a digitizer (or if you do you can't get it separate from the laptop screen assembly - camera, screen, digitizer). And if you are really unlucky you'll find that the connectors are different from the non-touch to the touch models so swapping in a plain screen won't work. Dan
Re: [gentoo-user] After Updates System hang on system waits for uevents to be processed
On 06/18/2015 02:53 AM, Marko Weber | 8000 wrote: i found 2 mails here in list, but they talk about other problems there. (nvidia cards etc). any ideas how to solve this? server starts up after reboot, then it hangs on waiting for uevents to be prcocessed. DEVTMPFS is set YES in Kernel. i have no idea why it hangs there. i need some help from you guys. thanks ,marko Do you have an nvidia card? It is hanging loading a module, and both times this happened to me it was the nvidia module failing to load. In my case I found out newer driver versions do not support my card any longer. Dan
Re: [gentoo-user] OT: Southbridge chip on laptop overheating
On 06/12/2015 12:32 AM, Marc Joliet wrote: With a Fujitsu Lifebook A530 that I lent from the University I had the problem that it can overheat and actually shut down. However, I semi-recently discovered thermald, which has (in its default configuration state) successfully kept it from overheating. It can still get hot where the CPU is (sensors say around 80°C), but never enough to actually overheat and shut down, and with long running emerges, it gets more proactive such that the laptop starts cooling down by 10-20°. Maybe this tool can help further (especially if you configure it explicitly)? HTH Thanks for the tip, I'll look into thermald as well. Anything to help extend the life of this laptop a little further. Dan
Re: [gentoo-user] Re: OT: Southbridge chip on laptop overheating
On 06/07/2015 09:05 PM, James wrote: HAVIT® HV-F2056 15.6-17 Laptop Cooler - Three Quiet 110mm Fans at 1,000RPM, Last, I think some folks make a cooling pad for laptops. If you have agressive compile options (like mine MAKEOPTS=-j9 -l9) in your make.conf, slow them way down (-j1) etc. Well, the cooling pad makes a big difference - at least I can rest my wrists while typing again. Dan
Re: [gentoo-user] some keyboard lag
On 06/08/2015 11:56 AM, Stefan G. Weichinger wrote: I browsed their udev rules and found some rules pointing in that direction but none specifically matching the PCI ID of my keyboard and the wildcards ... I am not sure. But they seem to do it specifically, yes - # cat /sys/module/usbcore/parameters/autosuspend 2 # my keyboard # cat /sys/bus/usb/devices/3-1.6/power/control on I assume it won't hurt much if I disable USB autosuspend in general for now? Power savings should be minimal, right? (desktop here, AC etc) I doubt it'll hurt anything. The power savings bit are more or less all left to userspace now, and you can toggle something in /sys more than likely to disable it on the keyboard (as was mentioned already.) It's probably best to write a udev rule specifically for your keyboard (and mouse, while you're at it) if you want to go that route. Dan
Re: [gentoo-user] Re: OT: Southbridge chip on laptop overheating
So many replies! On 06/08/2015 11:22 AM, Mick wrote: On Monday 08 Jun 2015 13:03:53 James wrote: Franz Fellner alpine.art.de at gmail.com writes: James wrote: There may be a generic processor fan you can mount/glue onto the chip for cooling. Make sure all other fans are running. Blow out the laptop with an air compressor. I cleaned it when I took it apart and reapplied thermal paste (which worked wonders on the CPU and northbridge - idles at 35C ish now.) My laptop gets hot on big package emerge-fests, so on hot summer days I use a desk fan to blow air at it from the side. The cooling effect is noticeable, 4-5°C, or more if I recall right. I think I'm going to invest in one of those cooling docks. There does appear to be vents in the general area of the southbridge chip, just no fan or heatsink. This laptop is still working fine, as in I don't notice hardware spottiness, so I'd rather not replace it. The processor itself is fine speed-wise. I'd rather spend $20 on a cooler versus $1000+ on a laptop. Cause I know when I go get one it'll be a quad core. :-) I've also set up a distcc farm with 16 threads, that speeds compiling right along. :-) I also use a vacuum cleaner to suck out any dust from cooling fins and the entrance to CPU cooler once a week or so. I don't have pets any more, after the last pet died I didn't want to repeat the anguish. So I'm lucky in that regard, I don't get fuzz in the laptop. I was surprised how clean the fins on the heat pipe were, actually... This has kept it going for some years now (keeps fingers crossed). I hope to get a few more years out of this laptop. Lately I don't even really use it that much compared to a year ago. Usually I set it up next to my desktop when systemd fails on my main machine after an upgrade (which has happened a few times in the past few months.) Dan
Re: [gentoo-user] OT: Southbridge chip on laptop overheating
On 06/08/2015 03:47 PM, Volker Armin Hemmann wrote: are you sure it is overheating and not operating within spec? A lot of laptops have 'hot spots'. I've had this laptop for a really long time, and it's getting hot where I normally rest my right wrist while typing. I would have noticed this shortly after I bought it way back when. When it heats up, I cannot rest my wrist for more than a few seconds, that's not normal for this old beast. I tend to use my laptop when it's updating and I've only noticed this the last couple of times updating. It may be different now that I've reapplied the thermal paste to the northbridge CPU. I've also picked up one of those cooling pads just in case. I've set it up now to see if it makes any difference. I'll leave the laptop running Dan
Re: [gentoo-user] Re: OT: Southbridge chip on laptop overheating
On 06/07/2015 09:05 PM, James wrote: Last, I think some folks make a cooling pad for laptops. If you have agressive compile options (like mine MAKEOPTS=-j9 -l9) in your make.conf, slow them way down (-j1) etc. I picked up one of these in the store today: http://www.newegg.ca/Product/Product.aspx?Item=9SIA7S92RB3559cm_re=laptop_cooler-_-34-982-182-_-Product I paid about half that price, though. The fans are movable so I've moved one fan to the northbridge/cpu and one to the southbridge. I guess I'll leave the laptop running for a while and see what happens. Dan
Re: [gentoo-user] some keyboard lag
On 06/08/2015 05:32 AM, Stefan G. Weichinger wrote: Am 2015-06-08 um 14:22 schrieb Andrew Lowe: Any chance this is a Logitech K520r wireless keyboard? I have one of these and it at times goes to sleep for several seconds. Logitech know about the problem but refuse to do anything. A google search will reveal all the gory details. If on the other hand it isn't, sorry, got nothing to offer. No, it's wired keyboard by Lenovo: SK-8815 And, by the way, kernel 4.0.5 ... I cross-checked with 4.0.1 and 4.0.4 ... same issue (maybe also the same problematic setting somewhere) thanks, S I would check if USB autosuspend is set for your keyboard, and if it is, disable it on the keyboard. Dan
Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing
On 06/07/2015 08:10 AM, Andrew Lowe wrote: On 06/07/2015 10:42 PM, Alan McKinnon wrote: So there is something else here that also plays a role Same here. Hi all, I may have a solution for you. I noticed this behaviour some time back, except I had two workstations - one worked, and one didn't. So I went to compare the two machines (which took a very long time) and discovered kdelibs is built differently on the one that shows the previews. It appears the default USE flags do not enable this functionality. That overwrite dialog is in kdelibs and it looks like it depends on nepomuk (semantic desktop support) that is marked deprecated. I enabled a few use flags trying to correct the problem, but I'm pretty sure it's the nepomuk USE flag that fixed it. # emerge -pv kdelibs [ebuild R] kde-base/kdelibs-4.14.3-r1:4/4.14::gentoo USE=acl alsa bzip2 crypt fam handbook jpeg2k lzma nepomuk nls openexr opengl (policykit) spell ssl udev udisks upower zeroconf (-altivec) (-aqua) -debug -doc -kerberos {-test} CPU_FLAGS_X86=mmx sse sse2 -3dnow 0 KiB This appears to pull: [IP-] [ ] kde-base/nepomuk-core-4.14.3:4/4.14 [IP-] [ ] kde-base/nepomuk-widgets-4.14.3:4/4.14 in to be built, and nepomuk-core has a ffmpeg dependency: [ebuild R] kde-base/nepomuk-core-4.14.3:4/4.14::gentoo USE=exif ffmpeg migrator pdf (-aqua) -debug -epub -taglib 0 KiB I'm currently building kdelibs with the nepomuk USE-flag on my other PC (the one that does not work), will report back if it's successful. Dan
Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing
On 06/07/2015 08:10 AM, Andrew Lowe wrote: Same here. Can't seem to reply to myself, just posting back the nepomuk USE-flag did indeed fix it. Dan
Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing
On 06/07/2015 10:30 AM, Paul Klos wrote: Op zondag 7 juni 2015 10:17:24 schreef Daniel Frey: On 06/07/2015 08:10 AM, Andrew Lowe wrote: Same here. Can't seem to reply to myself, just posting back the nepomuk USE-flag did indeed fix it. Dan Interesting, I have indeed still enabled the nepomuk USE flag on kdelibs. I'm curious to know why nepomuk is marked deprecated when it's still in use. It doesn't appear there's a replacement for this functionality. Dan
Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing
On 06/07/2015 10:31 AM, Mick wrote: On Sunday 07 Jun 2015 18:17:24 Daniel Frey wrote: On 06/07/2015 08:10 AM, Andrew Lowe wrote: Same here. Can't seem to reply to myself, just posting back the nepomuk USE-flag did indeed fix it. Dan Did you set it globally or only for some package, e.g. kdelibs? (I can't tell on my system because I don't have the full KDE installed). I only set the USE-flag on kdelibs on the machine that didn't work, and it works now. I did an `emerge -pvuDN world` after setting the flag, and there were five packages rebuilt (some new - two nepomik packages for sure - but I don't remember fully.) Dan
[gentoo-user] OT: Southbridge chip on laptop overheating
Hi all, Not really Gentoo-related (well except the overheating part - lots of compiling ;-) ) I have a very old laptop. It is an LG F1 laptop (circa 2005/2006 I believe) about nine years old. This has a Core2 1.6GHz chip and 4GB RAM, even though it only sees 3GB (that should tell you it's pretty old!) Anyway, I noticed during my last compile-fest on my laptop (reinstalled, switched to systemd for testing) that a corner of the laptop is getting really hot. We are talking a fair bit of heat here, you can't keep it on your lap when it warms up. So I took it apart yesterday, figuring I should re-do the thermal paste. During this process, I discovered it's the southbridge ICH chip that's overheating. There's no cooler at all on this chip (the northbridge and CPU have heat piping), it's a bare chip. Now, I suspect there's not much I can do about this given it being a laptop and I might have to resign myself to the fact that I'm going to have to buy a laptop later this year/early next year. I am curious though, what causes this chip to overheat, and can I do something about it? I'm using lm_sensors, which doesn't provide a temperature for this particular chip. I've monitored processes and nothing really stands out. I've even tried disabling plasma, no luck. Dan
[gentoo-user] Update: OK, so not everything works properly with systemd
Regarding my other thread started some time ago, I finally fixed it after a lot of experimentation. I had to do several things to make mdadm work properly with dracut/systemd: 1. I had to add rd.auto=1 to kernel options in grub; 2. Upgraded to mdadm-3.3.2-r1; 3. Installed dracut-041; 4. Installed systemd 218-r3 5. I also changed kdmrc to use the systemd reboot/shutdown. Now my PC doesn't have a fit every time I reboot/shutdown. Dan
Re: [gentoo-user] Dual OS clock issues
On 06/05/2015 03:29 PM, Fernando Rodriguez wrote: The main problem is that Windows will change the local time twice a year on DST zones, aside from NTP how can Linux tell if the time is adjusted? Windows can be set to not do DST updates, I've set this option in the time control panel for both dual-boot Windows installs as I don't use them that often. Dan
Re: [gentoo-user] [~and64] Headsup for google-chrome users
On 05/22/2015 10:21 AM, Dale wrote: I have always copied mine over manually too. I keep quite a few spares laying around, just in case. I had one that got corrupted a long time ago. After I booted another kernel and looked at the one I was trying to boot, it was only a few kilo bytes worth. No clue what happened there. I just copied it over again and the size was right. Then it booted fine. Weird. I've manually copied the kernel .config over and had that happen. I remember thinking why is it so small, then I opened it with vim and went O. ;-) Dan
Re: [gentoo-user] [~and64] Headsup for google-chrome users
On 05/22/2015 02:19 AM, Alan McKinnon wrote: On 22/05/2015 10:38, Neil Bothwick wrote: On Fri, 22 May 2015 02:53:17 -0500, Dale wrote: So I'm the 3rd one in row to state that I haven't had any deleterious effects that I noticed. Make that 4. /raises hand: 5 /raises hand too Make that 6. I've been compiling kernels since 2003 and never used make clean or make mrproper. I use make oldconfig all the time. I didn't even know about make install until I read this thread, I always manually copied kernels over. Dan
Re: [gentoo-user] Re: Question for users of the Firefox browser
On 05/19/2015 09:35 AM, »Q« wrote: ctrl+k does the same thing for the search box. (And if the search box is hidden in your UI, ctrl+k opens about:home and puts the carat in its search box.) For browsers a lot of things are mousey, but for inherently type-y things, I really like the keyboard shortcuts. All (or most) Fx ones are listed at https://support.mozilla.org/kb/keyboard-shortcuts-perform-firefox-tasks-quickly. I didn't know that either. I've always found Alt+D the easiest to use, and the search box to me is Alt+D then Tab. Dan
Re: [gentoo-user] howto make github look nice
On 05/18/2015 05:47 PM, James wrote: Howdy, One of the things I find ugly about github is the first appearance of the main (base) page of a given project. One thing I really like about sourceforge is how some projects look much more professional. I do not need (nor want) a lecture on why this is. I only want solutions or ideas of how to create a github base page that looks much more (www) presentable like this sourceforge page: http://qjackctl.sourceforge.net/ Sourceforge allows you to ftp/scp html pages to a directory which you have access to and this is the page that project.sf.net points to. From what I remember they even have access to PHP, and maybe even a database. So ideas on how to do this are most appreciated; or facts as to why it is not possible with github. Also notice in the 'menu bar' the [GIT] functionality built in. Slick. Really slick and this is how I want my pages to look, as soon as I become brave enough to start moving codes from my workstations (ugly; no gui) to the larger world for folks to start playing with some codes and overlays. Presumably github has something similar, perhaps googling will help you out. Heck, maybe it's even done through your git repo. Or maybe post to a github list? FWIW, I googled 'github pages' and got a bunch of interesting results. Dan
Re: [gentoo-user] Re: Question for users of the Firefox browser
On 05/17/2015 02:54 PM, Mick wrote: Chromium now selects the whole URL when you click in the address bar. I'm not sure when it started doing this but it was quite recently. This is not a problem at all, because this address bar auto-highlighting in Chromium does not take over the system clipboard. When I click once it selects the whole address and I can delete it, before I middle click to insert whatever was in the clipboard. As has already been commented, this won't work with FF, which replaces the clipboard when I necessarily double click to select the content of the address bar. I didn't even know Firefox had this behaviour when clicking the address bar, because it's something I never do. I usually use Alt+D on the keyboard, it moves the caret to the location bar and highlights its text, and I just checked, it doesn't touch the clipboard. Dan
Re: [gentoo-user] Hard drive storage questions
On 04/27/2015 12:41 AM, Dale wrote: What do you guys, gals too, think about this? Just add a drive or buy a larger drive and move things over? Or is this a six of one and half dozen of the other thing? I just went through this myself, and I found a NAS with four drives in it. I actually got it as a part of some special, I couldn't even buy the four 2TB disks included in it individually for the price of the whole NAS. That reminds me, I should set it up. :-) Dan
Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...
On 04/26/2015 12:38 AM, Alan McKinnon wrote: There is nothing to get out of, and there is no circular dep. I didn't mean a true circular dep, more like you want this and it wants that, repeat. :-) Dan
Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...
On 04/25/2015 09:07 AM, meino.cra...@gmx.de wrote: Hi, A novice asks the master Emerge: Is there Zen also in every upgrade, which will serve to Gentoo? Master Emerge moved a little bit and spoke: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: Hah! x11-libs/libXfont:0 (x11-libs/libXfont-1.5.1:0/0::gentoo, ebuild scheduled for merge) conflicts with x11-libs/libXfont-1.5.0 required by (x11-base/xorg-server-1.12.4-r4:0/1.12.4::gentoo, installed) ^ ^ Emerge is trying to install libXfont 1.5.1 but the xorg-server version installed requires 1.5.0. x11-proto/fontsproto:0 (x11-proto/fontsproto-2.1.3:0/0::gentoo, ebuild scheduled for merge) conflicts with x11-proto/fontsproto-2.1.3 required by (x11-libs/libXfont-1.4.9:0/0::gentoo, installed) ^ ^ x11-proto/fontsproto-2.1.3 required by (x11-base/xorg-server-1.12.4-r4:0/1.12.4::gentoo, installed) ^ ^ It can't upgrade fontsproto because the current installed version of libXfont requires 2.1.3. Looks like all these messages are thrown because of libXfont. The novice was buffled and did not understand a single word. He tries hard to circumvent any conflict with the master but finally he struggled and failed. Looks like Master Emerge was confused by a circular dependency it could not resolve. Dan
Re: [gentoo-user] abi_x86_32 FLAG
On 04/20/2015 06:14 PM, Joseph wrote: I don't think grub is asking for it. Not grub specifically, but grub is probably built with ncurses support and ncurses needs it. Dan
Re: [gentoo-user] abi_x86_32 FLAG
On 04/20/2015 04:27 PM, Mike Gilbert wrote: Better yet, upgrade to grub:2 already. I only use grub2 on machines with EFI, and in my house that's only two... I can't stand how it tries to add things automatically. It actually got so annoying that I created a manual boot entry that is symlinked to the kernel I want to run. It was easier than trying to fight it all the time. Dan
Re: [gentoo-user] ffmpeg command not found
On 04/12/2015 04:08 PM, Dale wrote: There's been a discussion on the default switching back to ffmpeg on -dev too. I think I read that correctly. Yeah, I read that too - apparently they are going to a saner default, i.e. USE=-libav. Darnit, I just read this within the last week or so. Ah, here it is: http://www.gossamer-threads.com/lists/gentoo/dev/299798 Although, take a look at the posted date. Hrm. Dan
Re: [gentoo-user] gentoo announces total website makeover :-)
On 04/01/2015 12:18 AM, Matti Nykyri wrote: Nice. The load time is really fast :) Send the floppies to me. Can't wait to get installing ;) Ditto! I can finally dust off my 5.25 drive and use it for something! ;-) Dan
Re: [gentoo-user] openrc-systemd command comparison
On 04/01/2015 02:21 AM, Neil Bothwick wrote: Nice! Apart from the zap thing that Canek has already covered, I think it could be useful. Could you add a link to it to the main systemd page. I've added it to the See Also section at the end of the Systemd page. I didn't know where else to put it. Dan
Re: [gentoo-user] openrc-systemd command comparison
On 04/01/2015 02:21 AM, Neil Bothwick wrote: On Tue, 31 Mar 2015 18:53:39 -0700, Daniel Frey wrote: Anyway, I've finally gotten around to putting together a short cheatsheet @ https://wiki.gentoo.org/wiki/OpenRC_to_Systemd_Cheatsheet . Nice! Apart from the zap thing that Canek has already covered, I think it could be useful. Could you add a link to it to the main systemd page. It doesn't help me with the problem I still have running a mixture of openrc and systemd setups, the different order of the arguments. I still keep trying to run systemctl someservice start :( I feel your pain. I maintain Windows boxes at works, every time I drop to a shell it goes like: ls Command not found Me: ?? ifconfig Command not found Me: ? Oh, right. :-) For systemd, I kept tripping up on the difference between list-units and list-unit-files. I'd use list-units and go WHY isn't systemd #%($# telling me what's installed??? Dan
Re: [gentoo-user] Hungry firefox
On 04/01/2015 07:03 AM, Peter Humphrey wrote: Hello list, Has anyone else here noticed firefox consuming 15% or so of CPU time, even while it's not supposed to be doing anything? This is version 31.5.3, with just AdBlock Plus and YesScript added. I have remerged it and saw no difference. [ebuild R] www-client/firefox-31.5.3::gentoo USE=dbus jit minimal startup-notification -bindist -custom-cflags -custom-optimization -debug - gstreamer -hardened (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx -system-sqlite {-test} -wifi LINGUAS=en_GB [...] I was going to post no, but then I realized I have ~36.0.1 installed. I also have more plugins installed. Now that I think of it, I updated to unstable because of some issue I had, but for the life of me I can't remember what it is. I am using Adblock Plus, DownThemAll, Ghostery, NoRedirect, NoScript, RequestPolicy, WOT, and Xmarks - no issues on 36.0.1. I stared at top for about a minute and didn't notice any CPU usage. Dan
Re: [gentoo-user] openrc-systemd command comparison
On 04/01/2015 09:26 AM, Neil Bothwick wrote: On Wed, 01 Apr 2015 08:19:18 -0700, Daniel Frey wrote: I've added it to the See Also section at the end of the Systemd page. I didn't know where else to put it. That's where I was thinking of. It's not there right now, are edits moderated? I just hit Ctrl+F5 and it's visible for me. (I'm logged in to the wiki though.) https://wiki.gentoo.org/wiki/Systemd#See_Also I just logged out of the wiki and it's still showing for me. Odd. I put it under Sakaki's EFI Install Guide. Dan
Re: [gentoo-user] openrc-systemd command comparison
On 03/17/2015 10:20 AM, Rich Freeman wrote: The cheat sheets are useful for reference, but I'd strongly encourage anybody using systemd to get a decent understanding of the fundamentals. Oh, certainly - but going in completely blind and being stuck for 15 minutes trying to do a simple task sucks. I'm not saying that a cheatsheet is enough to avoid reading manpages, but at least it's a start where users can find information to do basic stuff with systemd. I'm also not talking about a cheatsheet about writing units/services/etc. When I did the switch there wasn't anything in the gentoo-related wikis for even things like starting kdm. This is what I'm talking about - how to list services, start and stop things - basic stuff. Anyway, I've finally gotten around to putting together a short cheatsheet @ https://wiki.gentoo.org/wiki/OpenRC_to_Systemd_Cheatsheet . Dan
Re: [gentoo-user] OK, so not everything works properly with systemd
On 03/21/2015 02:46 PM, Canek Peláez Valdés wrote: Could you run this immediately after booting: systemd-delta Just to check that the unit files you are using are not being overridden by something. OK, I've confirmed the poweroff target works fine but the reboot and shutdown targets don't. Is there an easy way to list the differences between the targets? One other question, I have an APC UPS, and use apcupsd - systemd always waits a minute and a half for apcupsd to stop. The thing is, it IS stopping, but for some reason systemd doesn't seem to notice: -- Reboot -- Mar 31 19:08:14 osoikaze apcupsd[618]: apcupsd 3.14.8 (16 January 2010) gentoo startup succeeded Mar 31 19:08:14 osoikaze apcupsd[618]: NIS server startup succeeded Mar 31 19:31:52 osoikaze apcupsd[618]: apcupsd exiting, signal 15 -- Reboot -- Dan
Re: [gentoo-user] openrc-systemd command comparison
On 03/31/2015 07:05 PM, Canek Peláez Valdés wrote: Thanks for doing this, I think it will help all the people switching to systemd from OpenRC in Gentoo. However, I think the zap command is a little misleading, even with the note stating that is no exactly the same. Duly noted, I've removed it and the note. I was thinking this is really stretching it here when I put that in there. I knew it manually reset its status in OpenRC. Dan
Re: [gentoo-user] OK, so not everything works properly with systemd
On 03/21/2015 02:46 PM, Canek Peláez Valdés wrote: They are; basically everything nowadays is systemd aware. Even OpenRC can now use some of its configurations. Could you run this immediately after booting: systemd-delta I've finally gotten around to doing this: [OVERRIDDEN] /etc/systemd/system/distccd.service → /usr/lib/systemd/system/distccd.service --- /usr/lib/systemd/system/distccd.service 2015-02-20 09:03:58.46960 -0800 +++ /etc/systemd/system/distccd.service 2015-03-12 14:49:15.145608558 -0700 @@ -4,7 +4,7 @@ [Service] User=distcc -ExecStart=/usr/bin/distccd --verbose --no-detach --daemon --port 3632 -N 15 --allow $ALLOWED_SERVERS +ExecStart=/usr/bin/distccd --verbose --no-detach --daemon --port 3632 -N 15 --allow 127.0.0.1 --allow $ALLOWED_SERVERS [Install] WantedBy=multi-user.target [EXTENDED] /etc/systemd/system/distccd.service → /etc/systemd/system/distccd.service.d/00gentoo.conf [EXTENDED] /run/systemd/system/session-1.scope → /run/systemd/system/session-1.scope.d/50-SendSIGHUP.conf [EXTENDED] /run/systemd/system/session-1.scope → /run/systemd/system/session-1.scope.d/50-After-systemd-user-sessions\x2eservice.conf [EXTENDED] /run/systemd/system/session-1.scope → /run/systemd/system/session-1.scope.d/50-After-systemd-logind\x2eservice.conf [EXTENDED] /run/systemd/system/session-1.scope → /run/systemd/system/session-1.scope.d/50-Description.conf [EXTENDED] /run/systemd/system/session-1.scope → /run/systemd/system/session-1.scope.d/50-Slice.conf [EXTENDED] /usr/lib/systemd/system/sntp.service → /etc/systemd/system/sntp.service.d/00gentoo.conf [EXTENDED] /usr/lib/systemd/system/ntpdate.service → /etc/systemd/system/ntpdate.service.d/00gentoo.conf 9 overridden configuration files found. I had to override distccd myself, as it didn't allow specifying multiple hosts. I did discover something else today, the shutdown target doesn't work either. I'm waiting for my array to rebuild. So the reboot and shutdown targets don't work, but the poweroff target seems to. I'm going to double-check that next. I did check my profile: [7] default/linux/amd64/13.0/desktop/kde/systemd * So I am built using a systemd profile. I'm getting a little confused. Dan
Re: [gentoo-user] preserved-rebuild python endless loop
On 03/23/2015 05:12 PM, Dale wrote: Is it me or does the search function at fgo pretty much stink? I find a lot of times I type in something and where it should show what I searched for, it is blank which means it kicked all my search terms out. Surely it ain't just me. o_O It's not just you, when I'm looking for something on the forums I use Google and specifically search the gentoo forums by adding 'site:forums.gentoo.org' to the search terms. Dan
[gentoo-user] OK, so not everything works properly with systemd
Hi list, In one of my earlier posts I mentioned I wasn't having any issues with systemd. Well, I guess I lied, although I didn't know about it at the time. My laptop works fine, no issues. My desktop, however, has an issue, but only while rebooting. I use mdadm to access my IMSM raid, and during the reboot process, the last message I see is (from memory, so it's not exact): Stopping mdmon... And it hangs there. The journal shows this: = -- Reboot -- Mar 18 20:48:42 osoikaze systemd-journal[485]: Journal stopped Mar 18 20:48:42 osoikaze systemd-shutdown[1]: Sending SIGTERM to remaining processes... Mar 18 20:48:41 osoikaze systemd[1]: Shutting down. = mdmon is normally stopped right at the end, so it should be a part of 'Sending SIGTERM to remaining processes'. The Journal stops, then from what I gather, it hangs on the next one, which is mdmon. I have left it for a half an hour and it doesn't do anything. When rebooting: = Mar 18 20:49:39 osoikaze kernel: md/raid10:md126: active with 4 out of 4 devices Mar 18 20:49:39 osoikaze kernel: md/raid10:md126: not clean -- starting background reconstruction Mar 18 20:49:39 osoikaze kernel: md: bindsdi Mar 18 20:49:39 osoikaze kernel: md: bindsdh Mar 18 20:49:39 osoikaze kernel: md: bindsdg Mar 18 20:49:39 osoikaze kernel: md: bindsdf Mar 18 20:49:39 osoikaze kernel: md: bindsdi Mar 18 20:49:39 osoikaze kernel: md: bindsdg = Indicating that mdmon was not stopped properly. (The array starts a rebuild.) Checking /proc/mdstat confirms this. Now this is the odd thing: `systemctl poweroff` works fine! It shuts everything down, and turns my workstation off without corrupting the RAID array! So why does `systemctl reboot` not want to work? I'm a little confused. I also noticed this in the USE flags for systemd: - - sysv-utils : Install sysvinit compatibility symlinks and manpages for init, telinit, halt, poweroff, reboot, runlevel, and shutdown Should I enable that USE flag? (By the way, KDE shows the same behaviour. If I shutdown with the K Menu, it works. Reboot from the K Menu hangs.) Dan
Re: [gentoo-user] OK, so not everything works properly with systemd
On 03/21/2015 10:27 AM, Canek Peláez Valdés wrote: So why does `systemctl reboot` not want to work? I'm a little confused. What kind of initramfs are you using? Supposedly, the only difference between poweroff and reboot is that the former turns off the machine and reboot does a reset. In either case, systemd pivots back to the initramfs before umounting everything, so perhaps there lies the problem. I was using genkernel, but it was whining about not supporting systemd, so I tried dracut for the first time. However, the initramfs created by genkernel has the same issue. I didn't do any special configuation of dracut, I read that just running it can usually create a initramfs without any additional configuration. It did detect I have mdadm of course, or my system wouldn't have booted at all. I also noticed this in the USE flags for systemd: - - sysv-utils : Install sysvinit compatibility symlinks and manpages for init, telinit, halt, poweroff, reboot, runlevel, and shutdown Should I enable that USE flag? No. In Gentoo in particular the SysV compatibility is completely useless. I was wondering more about the symlinks to the regular shutdown/reboot/etc commands. I never actually checked to see if they're already systemd-aware. Dan
Re: [gentoo-user] Re: Is this a bug in firefox-36.0?
On 03/18/2015 04:41 PM, walt wrote: On 03/17/2015 04:49 PM, walt wrote: I get a certificate verification error when visiting https://www.att.com using firefox-36.0, but not when using chrome-41.0.2272.76. Thanks to all who replied. I'm surprised by the variety of different results you reported. (BTW, I'm running firefox-bin-36.0, so the behavior may be a bit different from the gentoo build.) FF will not even show me the secure att.com webpage. I get an entire html page with this (very big) error message: Secure Connection Failed An error occurred during a connection to www.att.com. The OCSP server experienced an internal error. (Error code: sec_error_ocsp_server_error) The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem. Am I the only one seeing this error message on firefox? I'll try compiling the gentoo version to see if the behavior is different. I'm using: # equery list firefox * Searching for firefox ... [IP-] [ ] www-client/firefox-36.0.1:0 (not the -bin) and I also get the triangle in the URL stating the website doesn't supply identify information. It does load for me, though. Dan
Re: [gentoo-user] getting blocks for system and world update not resolved
On 03/17/2015 09:11 PM, Tamer Higazi wrote: Hi people! I have problems getting these blocks at a system update solved... I executed: emerge --backtrack=30 -fuDN @system @world Any ideas ?! ... ... ... [blocks B ] perl-core/ExtUtils-Install-1.670.0 (perl-core/ExtUtils-Install-1.670.0 is blocking virtual/perl-ExtUtils-Install-1.670.0) [blocks B ] media-libs/libpostproc (media-libs/libpostproc is blocking media-video/ffmpeg-1.2.6-r1) [blocks B ] perl-core/Parse-CPAN-Meta-1.441.400 (perl-core/Parse-CPAN-Meta-1.441.400 is blocking virtual/perl-Parse-CPAN-Meta-1.441.400) [blocks B ] media-video/ffmpeg:0 (media-video/ffmpeg:0 is blocking media-video/libav-9.17, media-libs/libpostproc-10.20140517-r1) [blocks B ] perl-core/ExtUtils-Manifest-1.630.0 (perl-core/ExtUtils-Manifest-1.630.0 is blocking virtual/perl-ExtUtils-Manifest-1.630.0-r1) [blocks B ] perl-core/version-0.990.900 (perl-core/version-0.990.900 is blocking virtual/perl-version-0.990.900-r1) [blocks B ] perl-core/CPAN-Meta-YAML-0.12.0 (perl-core/CPAN-Meta-YAML-0.12.0 is blocking virtual/perl-CPAN-Meta-YAML-0.12.0) Do you have the perl-core packages in your world file? They shouldn't be there. If you remove them emerge will figure out how to update them. Regarding libav trying to replace ffmpeg, it's an annoying problem that pops up now and then. It could be that a package you are trying to install requires some USE flags for ffmpeg that aren't set, so it's trying to replace it with libav with the USE flags it requires. Not very intuitive... Output from `emerge -pvuDN @world` would be better, it'll be easier to sort out what ffmpeg needs. Dan
Re: [gentoo-user] Re: Is this a bug in firefox-36.0?
On 03/17/2015 06:15 PM, walt wrote: On 03/17/2015 05:47 PM, Daniel Frey wrote: Mozilla installs a privileged service that auto updates its software. Interesting. I didn't know about 'privileged services' in Windows. I hope M$ grants these 'privileges' carefully. You mean the user. Any app can install a service like that if the user lets them. I'm assuming Mozilla's service runs as a SYSTEM user so it can modify things, but I've never cared enough to look. I always remove the Mozilla Maintenance Service and update manually. Dan
Re: [gentoo-user] Is this a bug in firefox-36.0?
On 03/17/2015 04:49 PM, walt wrote: I get a certificate verification error when visiting https://www.att.com using firefox-36.0, but not when using chrome-41.0.2272.76. Anyone else see the same with firefox-36? I haven't tried, honestly. But I have had problems with Firefox not including some intermediary certificates before. That breaks the whole chain of trust. BTW, I tried the latest firefox in a Win7 virtual machine and I was shocked to see that firefox was updating itself when I was logged in as an unprivileged user (i.e. *not* an Administrator). Are the idiots at M$ *really* that stupid? They've learned nothing, apparently, since Win 95 :( Remove the 'Mozilla Maintenance Service' from Programs Features (or whatever it's called) and it won't auto update. Mozilla installs a privileged service that auto updates its software. Dan
Re: [gentoo-user] openrc-systemd command comparison
On 03/17/2015 06:56 AM, Bob Wya wrote: I've not seen any that are OpenRC specific... But this one is pretty decent for SysVInit vs. systemd... http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/ Yeah I found one similar to that, but located elsewhere. Maybe if I have some time today I'll do some research and create an openrc-specific one on the wiki. This way it'll help others (besides me.) Dan
[gentoo-user] openrc-systemd command comparison
Hey all, I've now converted two systems to systemd and so far haven't had too much issues with systemd itself, other than me constantly forgetting commands. Is there a nice table or chart somewhere that lists openrc commands with equivalent systemd commands? That would really help me from bashing my head and then wandering through man pages for a while trying to figure out what I want to do. I'll eventually remember but it would be nice to have something to help me along. My memory sure isn't what it used to be. Dan
Re: [gentoo-user] Strange network behaviour: NIC goes down, DHCP lease renewal fails (WORKED AROUND)
On 03/06/2015 11:57 AM, Marc Joliet wrote: I wasn't aware you had e1000e hardware - those are about as reliable as they come. I've used many of them and never had the slightest trouble at all. By all means study up on firmware and driver options - if you don;t know much about that area it's very illuminating to find out more. But based on experience I'd say the chances of finding an oddity with e1000e are slim, and I'd be looking at a misconfigured switch. That's pretty much what the sysadmin said, too, when I asked what he thought of the power management issue idea. There are some strange switches out there that let you make crazy configuration, like eg blanket drop all broadcast traffic on one or more ports. That's where I'd be looking first. Yeah, that agrees with my instinct that it's most something to do with the switch. Is the dhcp server virtualized using vmware? I've come across a very strange issue where ESXi's e1000e driver is very buggy and caused random disconnects to the virtual machine. This is strictly server side, however, nothing to do with the client and/or switch. I suspect that you probably aren't using ESXi, but figured I'd mention it anyway. This happened (in my experience) with both Windows and Linux guests on ESXi, and the only way to get around it was to use some other driver for the virtual machines (like VMWare's vmnet3 driver.) Dan
Re: [gentoo-user] No 'libs' in world file?
On 03/03/2015 10:06 PM, Walter Dnes wrote: And a lib is not necessarily always a direct dependancy. E.g. my HDHomerun OTA TV tuner requires the media-libs/libhdhomerun ebuild to be explicitly installed. Wait, really? I've had mine since 2010 and I've never had that package installed (media-libs/libhdhomerun). MythTV detected and used it without complaints. Or is it required for other programs? I just tried genlop and it is saying I've never had any version of libhdhomerun installed. Dan
Re: [gentoo-user] Re: repos.conf migration lost overlay priority
On 02/22/2015 03:26 AM, lee wrote: Nikos Chantziaras rea...@gmail.com writes: On a side note, someone should inform the portage devs that higher priorities should equal lower numbers. Don't do it the opposite way to the rest of the world, please :-P Why should low mean high? The rest of the world usually considers high as high and low as low. That's not how the real world deals with priority lists. If I have something urgent and I tell someone it's priority 10 they'll tell me to I'll have to deal with it faster than that. 1=First thing to do 2=Second thing to do etc... Dan
Re: [gentoo-user] distcc implementation failure
On 02/20/2015 05:19 PM, Andrew Savchenko wrote: Looks like you are using pump mode. Disable it and use normal distcc. This was the cause. Just an update. Dan
Re: [gentoo-user] distcc implementation failure
On 02/20/2015 05:19 PM, Andrew Savchenko wrote: Looks like you are using pump mode. Disable it and use normal distcc. Yes, I read about how it works and enabled it. Of course I didn't think of that when these errors happened. I'll try disabling that shortly. Yes, there is. Create a file /etc/portage/env/no-distcc.conf with the following content: FEATURES=${FEATURES} -distcc and add the following entry in /etc/portage/package.env (create file, if it doesn't exist): category1/foo no-distcc.conf category2/bar no-distcc.conf Good to know, thanks. Hopefully I won't need it after disabling distcc-pump. Dan
[gentoo-user] distcc implementation failure
Well, I decided to try distcc once again and set up a few machine to do so. I have set the -march directive on each machine to its own (and not native), and set up the accesses. It seems to work on most packages. However, I've found that there's some packages that just don't work: -mysql/mariadb errors out can't find synch.h -ffmpeg errors out can't find windows.h -xbmc and mythtv both failed as well, but this may be because of the above two errors. These are repeatable errors and they occur on all three of my mythtv frontends. Now, I've disabled distcc on one machine completely and above packages compile fine, so it must be something to do with distcc. So that's what I'm doing for the time being. However, this poses another question: is there a way to tell portage to NOT use distcc for certain packages? Rather than manually disabling it. Dan
Re: [gentoo-user] Issues with USB memory sticks
On 02/02/2015 11:57 PM, bitlord wrote: On Mon, 02 Feb 2015 18:22:17 -0800 Daniel Frey djqf...@gmail.com wrote: I've been having a strange issue with my USB flash drives. I can't seem to copy much anything to them. It appears to copy and then hangs, then I get: [ 6841.490036] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6848.540029] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6855.590031] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6862.640026] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6869.690025] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6876.740023] usb 2-6: reset high-speed USB device number 16 using ehci-pci dmesg is full of these messages. An update: New kernel didn't do anything. However, while checking the filesystems, I noticed that some are FAT and some are NTFS. I checked the partition types and they were set right. So, for some reason, on my machine FAT- or NTFS-formatted devices simply do not work. I took a few of the flash drives and formatted them as ext4, no issues (and no resets in the kernel log.) Repartitioned and reformatted as NTFS or FAT, they don't work. Now how weird is that? Most of the time I use my esata enclosure when I need to move stuff off of my computer, when I discovered this it was one of those rare times where I used a flash drive. I'm not sure what I can do about the FAT support, but I can try ntfs-3g for ntfs - although I don't feel like testing that now. I'm just happy it's not my motherboard. Dan
Re: [gentoo-user] Issues with USB memory sticks
On 02/02/2015 11:57 PM, bitlord wrote: Not an expert, but check contacts (if ports are not used for a long time check if there is dust in them), if you use extension cable or a hub, try without it (power issues), or try different port (does it happen on all ports?) Tried several ports, different usb sticks, result is the same. Only message in logs is what I posted in my original message. Going to try a new kernel maybe reconfigure my old kernel to systemd. However, I'll have to do it this weekend. Too busy with other things right now... I'll post back if I find anything. Dan
[gentoo-user] Issues with USB memory sticks
I've been having a strange issue with my USB flash drives. I can't seem to copy much anything to them. It appears to copy and then hangs, then I get: [ 6841.490036] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6848.540029] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6855.590031] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6862.640026] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6869.690025] usb 2-6: reset high-speed USB device number 16 using ehci-pci [ 6876.740023] usb 2-6: reset high-speed USB device number 16 using ehci-pci dmesg is full of these messages. Now, I haven't used any USB flash drives for quite some time (months.) I know this used to work fine. For example, it took 20 minutes to copy 300MB of data and it was all corrupt. I've tried different file systems, makes no difference. I also have a lot of USB flash drives and I've used at least a half a dozen different ones with the same results. In early January I updated the kernel to gentoo-sources-3.17.7 (which is my current running kernel.) I've done some googling and while I did find some issues with 3.10.x there's nothing recent. Does anyone know if there was a USB regression or something with the 3.17 branch? In the last month I've used 3.12, 3.14, and 3,16 before the switch to 3.17. I also switched to systemd for 3.17, but I don't think that has anything to do with the issue I have. I'm going to try to update my kernel later on, I see that 3.17.8-r1 is marked stable now. Dan
Re: [gentoo-user] Question about flakey RAM
On 01/27/2015 03:28 PM, walt wrote: My question is why didn't memtest86+ find any errors? Could it be that the first RAM I bought was actually okay but this machine didn't like it for some reason? Both were DDR3/1333MHz, just from different manufacturers. If the timing/voltage is set wrong in the BIOS this can happen. I had bad memory sticks where the BIOS assumed certain timings and voltage, but when I set them to the manufacturers recommendations (manually changing voltage and timings, and no, I was not overclocking...) they were fine. I ran the memory I had in its bad state and memtest checked out okay after leaving it for three days straight testing. Weirdest thing I'd ever seen. Dan
Re: [gentoo-user] Calculating dependencies...: Any way to make it faster?
On 01/23/2015 08:20 PM, meino.cra...@gmx.de wrote: Hi, for my embedded systems I use gentoo. Their harddisks are simple microSDcards. When updateing or emerging especially the Calculation dependencies... is a step which needs a lot of patience of the user (me ;). I have a QX9650 and it can be a few minutes on mine, especially on a world update. My slower CPUs (Celerons) can take more than five minutes, I don't even want to think about embedded. Is there any way to make it faster or (in other words): Are there different ways to Calculating dependencies... and have only chossen the slowest one...? I'd be interested as well to know as well. It used to be it did a simple dependency check and installed packages - then revdep-rebuild could check for packages that need rebuilds. It's not really an issue if you only run emerge once, but if you have to do it several times in one session it gets old really quick. It reminds me of waiting for Windows XP checking for updates. Just give it a half hour, it'll figure it out. :-( Dan
Re: [gentoo-user] SMART drive test results, 2.0 for same drive as before.
On 01/20/2015 09:58 AM, Dale wrote: 1 Raw_Read_Error_Rate 0x000f 116 099 006Pre-fail Always - 114620384 5 Reallocated_Sector_Ct 0x0033 053 051 036Pre-fail Always - 62752 197 Current_Pending_Sector 0x0012 088 088 000Old_age Always - 1984 198 Offline_Uncorrectable 0x0010 088 088 000Old_age Offline - 1984 Anyway, no clue how long this issue has been going on but there it is again. When I google, some places say this is somewhat normal. Some say it needs to be watched and some say the world is coming to a end and we are all going to die a horrible death. Me, I'm thinking this drive came out the south end of a north bound something bad, skunk maybe. Basically, it stinks and I'm not real happy about it. :-@ Based on those 4 I quoted from your original post I wouldn't use the drive anymore. It's indicating it can't correct some of the bad sectors and they're still visible to the OS (Current_Pending_Sector). This is very bad. It's also reallocated some sectors and they are not visible to the OS anymore. It's reallocated 62752 sectors. Since this is the 2nd time for this specific drive, thoughts? Recycle it. By the way, I'm doing a dd to erase the drive just for giggles. Since it ain't blowing smoke, I may use it as a backup still, just to play with, until I can get another drive. I think that moved up the priority list a bit now. Don't rely on this drive for backups. Dan
Re: [gentoo-user] Get off my lawn?
On 01/16/2015 03:25 PM, Paul B. Henson wrote: http://www.linuxvoice.com/interview-lennart-poettering/ I find it amusing that in the second question he laments on how Upstart was a pain in the ass to deal with because Canonical made it difficult to contribute code. I recall not too long ago they weren't exactly helpful while acknowledging a couple of serious bugs. Even Linus at one point said to straighten up or we won't accept commits from them. :-) Dan
Re: [gentoo-user] KDE Activities
On 12/29/2014 12:57 AM, Peter Humphrey wrote: How did you remove the icon? I haven't found a way yet. I did it by the following (I think, anyway): 1. Open the Panel toolbox. (Click the cashew-looking thing to the right of the clock) That thing's so discreet I'd hardly noticed it. 2. mouse over the three circles 3. Click Close (the 'X') 4. Close the Panel toolbox. Excellent! Well done that man! Thank you Dan No problem! I remember clicking on that Activities thing by accident and going WTF? and it did something strange to my desktop. It took me about 10 minutes to figure out how to close it, in the process I closed the kicker panel itself and really went Oh shit! until I figured out how to restore it (I didn't reboot, I found another way but it escapes me now.) Shortly after that frustrating experience I found that cashew thing. Dan
Re: [gentoo-user] KDE Activities
On 12/28/2014 07:16 AM, Peter Humphrey wrote: On Sunday 28 December 2014 11:54:11 Mick wrote: I'm not sure I understand - what shortcuts cause problems with Activities? I have removed the icon on a KDE desktop here and I don't think users have noticed any problem with Activities; but they wouldn't really know what Activities is, so any problem may go unreported. It's impossible to say what key strokes cause the problems because I've only ever hit them by accident when rushing. But something dumps me into uncharted waters in the Activities sea, and at least once the only recourse was to reboot. How did you remove the icon? I haven't found a way yet. I did it by the following (I think, anyway): 1. Open the Panel toolbox. (Click the cashew-looking thing to the right of the clock) 2. mouse over the three circles 3. Click Close (the 'X') 4. Close the Panel toolbox. Dan
Re: [gentoo-user] Removing openrc after installing systemd
On 12/26/2014 07:10 AM, Alec Ten Harmsel wrote: Just curious; is this even possible? `emerge --depclean --ask --verbose sys-apps/openrc` gives: Calculating dependencies... done! sys-apps/openrc-0.12.4 pulled in by: @system requires sys-apps/openrc net-misc/netifrc-0.2.2 requires =sys-apps/openrc-0.12 virtual/service-manager-0 requires sys-apps/openrc wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives: Calculating dependencies... done! net-misc/netifrc-0.2.2 pulled in by: sys-apps/openrc-0.12.4 requires net-misc/netifrc I'd rather not have both installed, although it doesn't really matter that much. It makes sense that @system requires virtual/service-manager, but why on earth does systemd not provide that virtual? I just checked the ebuild and eclass to make sure. Alec I installed systemd some time ago but I'm keeping openrc around in case it doesn't boot. I wonder if it's possible to remove openrc and have systemd only, I've never tried... These are just the scripts and support stuff openrc uses for networking, I myself would keep it around in case the other methods fail. Dan
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/2014 09:56 AM, Joseph wrote: On 12/22/14 07:50, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-22 07:16]: On 12/22/14 06:21, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-22 06:18]: How to configure alsamixer and or XFCE4 to get playback from my motherboard card and input sound from USB? I'm trying to configure skype for input sound from USB cam abut playback from my sound card on motherboard. At the moment the only option I have is pulse audio. Well sure, Skype as of v4.3 requires pulseaudio. From lspci, it shows me I have audio: Audio device: NVIDIA Corporation GF116 High Definition Audio Controller (rev a1) In kernel I have set: CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_MEDIA_PCI_SUPPORT=y CONFIG_MEDIA_SUBDRV_AUTOSELECT=y CONFIG_SND_HDA_CODEC_CMEDIA=y That's for your onboard sound, what about kernel drivers for the USB device? Also, forcing it to use ALSA will definitely not work with Skype as it requires pulseaudio, as you've found out. You have to set up pulseaudio to do all your audio processing or nothing will work. I don't use Skype, but google even shows an entry on the gentoo wiki detailing all these issues: http://wiki.gentoo.org/wiki/Skype It even was a workaround for non-pulseaudio users. Google tells me Skype problems are pretty common, there are problems and solutions on the web already. Dan
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/2014 06:49 PM, Joseph wrote: When I try to run: guvcview video device: /dev/video0 ERROR opening V4L2 interface for /dev/video0 unable to detect video devices on your system (0) ERROR opening V4L interface: Permission denied It can't open the device. You probably aren't in the right group for access. I suspect it'd be the video group, just do: ls -lhd /dev/video0 ...and see what the permissions are, it's probably going to be root:video. For my mythtv card, I know for sure it's root:video. If that's all it is, use gpasswd and add yourself to the group then log out and in again. Dan
Re: [gentoo-user] New PC, new boot concepts
On 12/19/2014 07:22 AM, Mick wrote: I'll be taking my time to google, read and make appropriate selections, so please bear with me while I start relevant threads as necessary to complement my sparse knowledge in these topics. Starting from the top, with this thread I am trying to find out what is considered good practice as far as UEFI/MBR and boot management goes. I got myself an Intel NUC some months ago and ran into this problem. I wound up using UEFI+GPT with grub2 and had no issues, other than learning new grub2 syntax. I didn't like the idea of it scanning automatically and adding new entries. The MoBo is capable of booting in CMS mode, but I am not sure if there are any benefits in creating a 2MB partition for a conventional MBR bootloader, or I should forego MBR altogether and go directly with a GPT FAT32 EFI System Partition (ESP). Keep in mind that your motherboard may have to boot in UEFI to get access to features. For example, my NUC's hdmi audio will not work booted in CMS mode. If the latter is the way to go and I forget all things I ever learned about MBR, does the 550MB FAT32 ESP partition have to be at the beginning of the drive? Is it beneficial to install a Linux boot loader/manager like GRUB2, or rEFInd, etc., or should I just use the kernel EFI Boot Stub to boot gentoo with? The PC will single boot in Gentoo, although I may drop in a sysrescuecd image for recovery purposes and would be nice to be able to boot this straight off the disk, without having to burn it on a CDROM. Is it simply a matter of adding the LiveCD iso in the ESP with a .efi suffix, or will I need to use efibootmgr to inform the UEFI about *any* kernel images in the ESP other than the default EFI/BOOT/bootx64.efi? I found it useful to have grub2 for testing new kernels. I set up this box mostly as an appliance (mythtv frontend) but sometimes booting to recovery etc is useful. Especially since you can boot a Mint ISO with UEFI support when something barfs. Finally, what's your opinion on 'secure boot'? I'm mostly thinking of its benefit as a pre-boot malware protection utility, but I don't want to introduce too much complexity which may make recovery of my data difficult in the future. I've heard some horror stories resulting from NVRAM corruption, or flashing with new UEFI firmware rendering the PC unbootable, etc. but don't know if this is due to user error. If you have experience using secure boot what is your preferred method? I didn't bother with it. Any other pointers and gotchas I should be careful with? Only thing I screwed up with when messing around with my new NUC was I set the grub platform incorrectly. I used pc-x86_64 instead of efi-64 (I think, it's been a while.) Once I had the grub platform set properly the install went well. Dan
Re: [gentoo-user] apcupsd.powerfail script
On 12/11/2014 03:09 PM, Joseph wrote: I'm running apcupsd, I've added: apcupsd and apcupsd.powerfail scripts to rc level default and shutdown. On a slave machine do I run only apcupsd only or I need to add: apcupsd.powerfail to shutdown level as well? apcupsd.powerfail kills power to the UPS - it should only be enabled on the last machine to shutdown, otherwise it will cut power to machines that could potentially still be shutting off. Dan
Re: [gentoo-user] Debian forked, because of systemd brouhaha
On 11/30/2014 05:13 AM, Neil Bothwick wrote: systemd isn't monolithic so I can only assume you are referring to the Linux kernel here :) systemd most certainly is monolithic as well as modular. You can't run journald without systemd and you most certainly can't replace journald with a third party binary. Dan
Re: [gentoo-user] Does systemd work with mdadm?
On 11/29/2014 12:19 AM, Mark Pariente wrote: mdadm works perfectly fine with systemd. I am running a 4-disk RAID-10 configuration and it gets assembled properly by systemd. I have the ARRAY ... definition in /etc/mdadm.conf and the /dev/mdXXX mount point in /etc/fstab and AFAICT that's all you need, the default udev/systemd configuration brings it all up as expected. --Mark I managed to get it going without too much trouble. I followed a guide on the gentoo wiki but it didn't mention anything about setting up a network, so I didn't. When I rebooted that caused a mess but I was still able to log in. Fixed that and added services that were enabled in openrc (like kdm...) and everything's good to go. So far, it's better than openrc in that there's a bug shutting down an imsm raid that's still not been addressed. It causes the array to do a rebuild next time it starts up and from my testing systemd doesn't have this issue. Dan
[gentoo-user] Does systemd work with mdadm?
OK, I decided I'm going to try systemd to see what all the hubbub is about. I know there are people on here that use it so I'm hoping someone's can alleviate my concerns on it with mdadm. I use an IMSM container (Intel fakeraid) as I dual boot with Windows. This has happily worked for some time now. I've googled around and it seems there could be a bug using mdadm and lvm at the same time, but that's not what I'm doing. Considering when I first set up this dual boot there was some configuration involved, I don't believe I can just install it and pray it works as I've read if systemd goes sideways you can't even log in. Are there people running systemd and mdadm together that can comment? I think I'm going to try anyway, and I have a suspicion that systemd is going to bomb the first time it boots. Dan
Re: [gentoo-user] OT: new thinkpad with Gentoo
On 11/20/2014 11:16 AM, thegeezer wrote: yeah at first it's odd, but then when you start getting used to navigating without removing hands from keyboard it does become almost a prerequisite. does anyone know if you can get usb keyboards that have the trackpoint style mini-joystick in the middle of them ? Yep: http://shop.lenovo.com/us/en/itemdetails/0B47190/460/60AC6A0372B14F5BA7B12F1FF88E33C7 I almost bought this one but I wanted a usb port on my keyboard itself for my mouse, IIRC this one didn't have that. I have used a lenovo keyboard with it, I liked it, just wish it had a USB port for the mouse. the other big thing with the thinkpads used to be the keyboards. the x201 had a great almost totally full size keyboard, but they are increasingly becoming a thing of a bygone era with apple style calculator buttons that have nothing like the tactile response they used to have. as lenovo are moving away from these big-key style keyboards, does anyone have any recommendations of a laptop supplier that is starting to use them ? I've been looking around too and it seems like everyone's doing the chicklet keyboards. I haven't looked that hard, but almost every laptop I've found seems to have the goofy keyboards. Dan
Re: [gentoo-user] apcupsd to recycle power
On 11/15/2014 09:05 AM, Thanasis wrote: However, in the even that power is restored between the UPS kill and the time it actually turns off the mains will still not be cycled. Why would this be so? That was a musing, it wasn't based on testing. On most UPS systems I've seen when the power comes back the UPS resets. As I said, you can time your shutdown and set KILLDELAY, but make sure you add some extra time in case the shutdown takes longer than expected. `man apcupsd.conf` only has a two-sentence description for killdelay usage. Dan
[gentoo-user] Mythtv artwork issues
Hi all, Back when I was running 0.26, mythtv would automatically download cover art, banners, and wallpaper. Since upgrading to 0.27, this hasn't happened. I did discover that 0.26 was dropping everything into the default storage group (i.e. my recordings directory) and the grabber was complaining about writes. So I've set up separate storage groups for each one, each being in their own directory. I manually ran: `mythmetadatalookup --refresh-all-rules` `mythmetadatalookup --refresh-all` `mythmetadatalookup --refresh-all-artwork` And it did update coverart, but no banners or fanart. I can go into recording rules and do this manually, but even if I set the banners and fanart and go to the watch recordings screen the only things shown in the cover art (DVD cover). Is the fanart/cover art/banners all retrieved automatically by the backend? I'm using the Arclight theme and I remember all of this working without intervention. I'm just curious to know what went wrong and if someone else bumped across this issue. I ran mythfrontend from the console and no errors appear. The backend log lists this: 2014-11-14 19:56:36.742166 W [9776/10185] ProcessRequest ringbuffer.cpp:658 (Start) - RingBuf(/mnt/mythstorage/fanart//ttvdb.py_257655_fanart.jpg): Not starting read ahead thread, this is a write only RingBuffer The backend and frontend are separate, could this be an issue sending the artwork from the backend to the frontend? Dan
Re: [gentoo-user] emerge world problem with one package
On 26/10/2014 8:58 AM, Jacques Montier wrote: Hello all, Since few, when i run emerge -auvDN world, i get hugin to re-emerge again and again (with r to force re-install)... [ebuild rR ~] media-gfx/hugin-2014.0.0-r1 USE=python -debug -lapack -sift LINGUAS=fr -cs -da -de -en_GB -es -eu -fi -hu -it -ja -nl -pl -pt_BR -ro -ru -sk -sv -zh_CN -zh_TW PYTHON_SINGLE_TARGET=python2_7 (-python3_2) -python3_3 -python3_4 PYTHON_TARGETS=python2_7 python3_3 (-python3_2) -python3_4 0 kB I don't have any PYTHON_SINGLE_TARGET and PYTHON_TARGETS lines in make.conf. This may be a python package problem elsewhere, have you tried running `python-updater`? Dan
Re: [gentoo-user] has anyone tried KDE5?
On 10/14/2014 01:16 PM, Alan McKinnon wrote: Not really strange - I got something similar with dolphin too. I use NFS mounts in dolphin a lot (not using the built-in nfs kpart, it's a traditional mount). Double clicking through on folder names would often select everything from where the cursor landed to the top of what is shown in the dolphin window. F5 refresh, or Alt-left and Alt-right wouldn't change anything (I assume some caching is involved). But, clicking away from the current pane to some other folder outside the nfs mount, then re-navigating back to it would make the issue go away. This is exactly the issue I have but it isn't with an NFS mount, it's with a mount to my raid device (actual full 3ware RAID card, not a fakeraid.) I keep this ~amd64 system quite current (update twice weekly or so) and haven't run into this again for about 6 weeks now. Looks like someone fixed something, in whole or in part. I don't update that often, generally once a month I update. Maybe sooner than that, but not once a week. I usually exclude mythtv until I have enough time to upgrade the backend and all frontends at the same time, but I am going to have to do a full update including mythtv really soon as Tribune (and as such, schedulesdirect) do not offer the old XML TV listings as of November 1. Sigh... That aside, when I do this major update on all of my PCs maybe the issue will finally go away. Dan
Re: [gentoo-user] [slightly O/T] mysql problems
On 10/14/2014 11:54 AM, Mick wrote: Hi All, This may be slightly off topic, but I thought of asking here first. I noticed two problems, one specific to a particular database, the other more general. In reverse order: 1. I am getting this error when I start mysqld 141014 19:41:38 [Warning] /usr/sbin/mysqld: unknown option '--loose-federated' Did you compile with the 'extraengine' USE flag? It's required for federated engine support. 141014 19:41:37 InnoDB: Error: trying to open a table, but could not InnoDB: open the tablespace file './website1@002dnew/webform_validation_rule_components.ibd'! Does this file (and directory) exist? Is this some error imported from the live site, or is it due to something being wrong locally? Most likely the live website stores its files in a different place. I'm not sure how to fix that, though. I would imagine the error text gives hints. (DISCARD TABLESPACE and IMPORT TABLESPACE - I've never used them.) Then again, I only use mysql for pretty basic stuff. Dan
Re: [gentoo-user] has anyone tried KDE5?
On 10/13/2014 10:50 PM, J. Roeleveld wrote: What do you mean with select Do all the entries become selected (marked) ready for delete/copy/...? Yes. It's been doing this since I upgraded to KDE4 with Dolphin. KDE3 was perfectly fine. I have seen this behaviour in a lot of different programs (also on MS Windows). Usually caused by some key-combination which is accidentally pressed and forces the shift-key to be locked. I thought that but it isn't the case. I am using this particular install through spawning VNC sessions on my server. As I said, KDE3 did not have this issue at all (used with the exact same VNC setup), nor does it present itself in apps other than Dolphin. Strange, huh? Dan
Re: [gentoo-user] world update wants to downgrade genoo-sources
On 10/11/2014 12:27 AM, Alan McKinnon wrote: That's an awfully complicated command to see what's in the tree. Do you know about eix? eix gentoo-sources immediately shows you that the only stable version is 3.14.14 which is why portage is merging it. The fact that it's a new slot lower5 than something you had - that is incidental There's also eshowkw from the app-portage/gentoolkit package, which he may have installed already. Dan
Re: [gentoo-user] Re: Handbook missing portage unpacking
On 10/11/2014 01:37 PM, James wrote: James wireless at tampabay.rr.com writes: I was just following the handbook for an amd64 install; I have not looked at the handbook in a while. I downloaded the stage3 tarball and the portage-latest tarball at the same time, like I always have done. The handbook give instructions for untaring the stage3, in section 5, but not the portage tarball, or did I miss something? Well I see the emerge --sync takes care of installing a new portage. It's been a while; but I remember downloading a portage tarball and uppacking it? Yes, the last couple of times I did a fresh install portage took care of installing it. I don't remember when this change actually happened though. From memory (a very sketchy memory, I might add, so check before doing it) the command was: $ tar xvjf portage-latest.tar.bz2 -C /usr/portage oh well, we'll see. No need to reply Meh, I noticed this a while ago but didn't think to mention it. The docs were already updated then. Dan
Re: [gentoo-user] has anyone tried KDE5?
On 10/07/2014 09:42 PM, J. Roeleveld wrote: Are you talking about the behaviour when you actually click on the foldername, instead of the? If yes, then that is as designed. No, I'm clicking on the . Sometimes I've expanded folders three to four levels deep and so it selects completely unrelated folders and files, as it selects everything from where I've clicked to the top of the list. It's really annoying, do you know if that feature be turned off? Dan
Re: [gentoo-user] has anyone tried KDE5?
On 10/07/2014 11:26 AM, J. Roeleveld wrote: Why not use Dolphin as file manager? Dolphin is pretty buggy. I've found a few and one repeats itself frequently. I'm pretty sure I found an existing bug for the issue, but it's been happening to me since 4.0. (When viewing things in tree view and you expand a folder, Dolphin randomly decides to select everything from the top of the tree to where you clicked to expand the folder. I still don't know what causes it as it happens intermittently. It sure is annoying though.) Dan
Re: [gentoo-user] i965 (Valley View) video acceleration
On 09/11/2014 10:34 AM, Grant wrote: When you get a chance, I'd be interested to know which opengl package has vaapi/vdpau USE and also your output for: # eselect opengl list - Grant Hi Grant, I haven't forgotten, just been really busy with work. Here's some info - Card: 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0c) Subsystem: Intel Corporation Device 2055 Kernel driver in use: i915 opengl mesa: ~ # eselect opengl list Available OpenGL implementations: [1] xorg-x11 * ~ # eselect mesa list i915 (Intel 915, 945) [1] classic [2] gallium * i965 (Intel GMA 965, G/Q3x, G/Q4x, HD) [1] classic * r300 (Radeon R300-R500) r600 (Radeon R600-R700, Evergreen, Northern Islands) sw (Software renderer) [1] classic [2] gallium * USE flags: USE=-ldap -ipv6 -gnome -kde X lirc python mmx sse sse2 ssse3 sse3 sse4 sse4_1 sse4_2 aac alsa mp3 rtmp vorbis x264 xvid threads theora vaapi libass opengl flac mad jpeg png gif xv mpeg qt3support cec dvd ass consolekit Some installed versions: # equery list opengl mesa ffmpeg * Searching for opengl ... [IP-] [ ] virtual/opengl-7.0-r1:0 * Searching for mesa ... [IP-] [ ] media-libs/mesa-10.0.4:0 * Searching for ffmpeg ... [IP-] [ ] media-video/ffmpeg-1.2.6-r1:0 # emerge -pv opengl mesa ffmpeg mplayer2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] media-libs/mesa-10.0.4 USE=classic egl gallium llvm nptl -bindist -debug -gbm -gles1 -gles2 -llvm-shared-libs -opencl -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa -xvmc ABI_X86=(64) (-32) (-x32) VIDEO_CARDS=intel (-freedreno) -i915 -i965 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware 0 kB [ebuild R] virtual/opengl-7.0-r1 ABI_X86=(64) (-32) (-x32) 0 kB [ebuild R] media-video/ffmpeg-1.2.6-r1 USE=X aac alsa bzip2 encode hardcoded-tables iconv libass mmx mp3 network rtmp sdl ssse3 theora threads truetype vaapi vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -avx -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libcaca -libsoxr -libv4l -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -schroedinger -speex -static-libs {-test} -twolame -v4l -vdpau (-vis) -vpx ABI_X86=(64) (-32) (-x32) FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher 0 kB [ebuild R] media-video/mplayer2-2.0_p20130126 USE=X a52 alsa cdio dts dv dvd dvdnav enca faad gif iconv jpeg lcms libass lirc mad mmx mng mp3 network opengl png postproc rar rtc sdl shm speex sse sse2 ssse3 theora unicode vorbis xscreensaver xv xvid -3dnow -3dnowext (-altivec) (-aqua) -bluray -bs2b -cddb -cpudetection -debug -directfb -doc -dvb -fbcon -ftp -ipv6 -jack -joystick -ladspa -libcaca -md5sum -mmxext -nut -oss -pnm -portaudio -pulseaudio -pvr -quvi -radio -samba (-selinux) -symlink -tga -v4l -vcd -vdpau -xanim -xinerama -yuv4mpeg 0 kB # uname -a Linux htpcbedroom 3.14.14-gentoo #3 SMP Sat Aug 30 14:51:20 PDT 2014 x86_64 Intel(R) Celeron(R) CPU N2820 @ 2.13GHz GenuineIntel GNU/Linux As you can see, ffmpeg is built with vaapi and threading support. I'm pretty sure mplayer2 uses ffmpeg. I also seem to remember kernels 3.13 are required, as is mesa 9.2 (in the case of the NUC.) I don't remember why I switched to mplayer2 now, but quite a while back I was having a problem with mplayer and someone on IRC somewhere said to try mplayer2. It solved whatever issue I had and I've been using it since. Wish I could remember what it was though... As I said, CPU usage as reported by top while playing 1080p with mplayer2 was 80-90% so it must be doing it on the CPU. I tried playing a 1080i recording with mplayer with 5 channel audio and it takes 5-10%. I know for sure xbmc and mythtv are using vaapi and it works beautifully. Dan
Re: [gentoo-user] i965 (Valley View) video acceleration
On 09/11/2014 10:34 AM, Grant wrote: When you get a chance, I'd be interested to know which opengl package has vaapi/vdpau USE and also your output for: Argh! My last post to the list - I played the 1080i with 5 channel audio (using 5-10%) with _mythtv_ not mplayer2. Dan
Re: [gentoo-user] i965 (Valley View) video acceleration
On 09/10/2014 11:28 AM, Grant wrote: Daniel, no rush, but I'm still curious how you got mplayer2 accelerating. I tried everything up to mplayer2- with -vo gl but no accel. Hi Grant, Now that I think about it, I think that maybe mplayer2 wasn't accelerating. If it was, it was because opengl was built with vaapi/vdpau support. It's possible that the N2820 in the NUC is powerful enough to do 1080p on the CPU without acceleration, and now that I think about it, i believe CPU usage was 80-90% - but I am also certain that the N2820 is an integrated CPU/GPU... I have to run off again. Hopefully tomorrow or Friday for sure I can look into it. Sorry for the delay... Work is hell right now :-( Dan
Re: [gentoo-user] i965 (Valley View) video acceleration
On 09/08/2014 03:02 PM, Grant wrote: No luck. Weird. It's working in xbmc so I can't be far off. What could I be missing? Sorry I've been crazy busy. I hope tomorrow I'll have some time to power up the NUC and check some settings. I'll get the USE flags and my /etc/portage/package.use if I have one, the profile I'm using and perhaps some versions of software I have installed. Dan
Re: [gentoo-user] mini-PCIe SSD
On 09/07/2014 11:55 AM, Grant wrote: I'm trying to use one of these mini-PCIe storage devices: http://www.amazon.com/gp/product/B008KWEA88 in a Gigabyte Brix mini-computer but there isn't a /dev/sd* entry for it and it isn't in lspci. Any ideas? This may be a silly question - if you have an early revision of one of these, does the BIOS even support an SSD in the mini-PCIe slot? Maybe there's a BIOS update? I see that the new revisions do in fact support mini-PCIe SSDs, but that doesn't mean earlier revisions do. I've read online that some manufacturers are using the mini-PCIe slot in some devices but they don't adhere to the mini-PCIe specs, which means if you plug something other than the card provided (like your SSD) it won't work... Dan
Re: [gentoo-user] mini-PCIe SSD
On 09/07/2014 12:28 PM, Grant wrote: I just checked and I'm using BIOS version F2 which is the latest available. My hardware revision is v1.1. It sounds like I may be out of luck. The device does have a SATA3 port but I was hoping not to cram an entire 2.5 SSD in there to cut down on heat since it's fanless. Do I have any other options? - Grant Is it possible that the device is DOA? Can you check it on another laptop (or another device with the mini-PCIe slot? Alternatively maybe an adapter can be acquired to test it on a regular PC. Maybe a USB - PCIe mSata bridge adapter exists? I have had DOA RAM and such before, although not on a SSD. Dan
Re: [gentoo-user] i965 (Valley View) video acceleration
On 09/07/2014 09:25 PM, Grant wrote: I can't seem to get video acceleration working on my Gigabyte Brix 2807 device which lspci identifies as Valley View. 1080p playback is still stuttery. I've tried every trick I know and Googled a lot. Could anyone throw me some suggestions? What kernel are you running? I had this problem initially with my NUC - I updated to gentoo-sources:3.14.14, enabled the vaapi thread globally, rebuilt, and forced mplayer2 to use opengl (-vo gl). After that, I am even able to play 1080p with no glitches. Apparently Intel made a lot of enhancements to the intel in-kernel driver with the 3.14 series. Dan
Re: [gentoo-user] {OT} Intel NUC install -- no display on OLED TV
On 09/06/2014 02:21 AM, Stefan G. Weichinger wrote: Yes, thanks, I heard about that already. It's for debian, but seems to list some general know-how for NUCs and mythtv: https://docs.google.com/document/d/1alWSZZ8tLYe4I-lmdrsAGT67xV77q4F4jivGeEzIklk/edit# I didn't actually search for stuff until I found things that were badly broken, like video playback on kernels 3.14. I just dove in headfirst and was scratching my head for a while... I also found out (the hard way) that kernel =3.14 are required for the Intel video support. Thanks, will consider that. Even 3.14.14 is stable in portage right now, I wouldn't have started any lower. I will install gentoo stable ... btw, how did you start installing? Some rescue-disk on a stick? PXE? (I should fix my PXE-setup ...) I used the Mint 17 ISO written to USB. It showed up in the NUC's boot menu as EFI-bootable. By the way, the IR on mine wasn't obvious, I had kernel support for Media Center Ed. and it wasn't detected - nor was it listed with lsusb/lspci. Turns out it was an ITE Tech IT8712. Just FYI... Dan
Re: [gentoo-user] {OT} Intel NUC install -- no display on OLED TV
On 09/05/2014 11:16 AM, Stefan G. Weichinger wrote: I read about outdated BIOS-versions and the need/fix to connect something via DisplayPort and enter BIOS once ... to reset things or something. I don't have such a box ... just echoing something I read (as I play with the thought to buy a Intel NUC-Kit D34010WYK for use as a mythtv-frontend). Going off topic a bit, but I recently bought a DN2820FYKH (Celeron model) and it works beautifully with mythtv. Compiling is a litter slower due to the processor, but it works well with its built-in IR. Very happy with it. I have everything working including HDMI audio passthrough. Best ~$250 I spent to date (NUC, RAM, SSD.) Bear in mind that HDMI audio passthrough doesn't work when booting in legacy mode, you have to boot with native EFI. Had no issues with grub2. I also found out (the hard way) that kernel =3.14 are required for the Intel video support. Dan
Re: [gentoo-user] {OT} Intel NUC install -- no display on OLED TV
On 09/05/2014 01:12 PM, Canek Peláez Valdés wrote: I'm planning on updating my aging media center. The Celeron+Intel video card are able to handle FullHD (1920x1080) video? My local OTA broadcasts are almost all 1080i, and mythtv handles that no problem with vaapi. I looked around and found a 1080p video, and used mplayer2 with opengl output and it plays with no issues. CPU usage on both cores were between 80-90%. Video in question: [mkv] Track ID 1: video (V_MPEG4/ISO/AVC) Video (AVC 1080p), -vid 0 Dan
Re: [gentoo-user] installed Gentoo on SSD - no bootable device
On 09/04/2014 05:36 PM, Joseph wrote: When I installed grub2 I got no errors: grub2-install /dev/sda Installation finished. No error reported. If you are trying to boot in EFI mode, you aren't installing it correctly. That installed to the MBR in legacy mode. Instructions are here: http://wiki.gentoo.org/wiki/GRUB2 You need to mount /boot, and mount the EFI boot partition before installing grub2 using `grub2-install --target=x86_64-efi`. Dan
Re: [gentoo-user] new installation - partitions
On 09/04/2014 01:05 PM, Håkon Alstadheim wrote: On 04. sep. 2014 16:52, Tom H wrote: On Thu, Sep 4, 2014 at 10:00 AM, Rich Freeman ri...@gentoo.org wrote: When booting from EFI you need a GPT boot partition (FAT - ugh) that actually contains the image that gets booted, so it needs to have room for at least a couple of kernels/initramfs - so that will be larger. I'm working on getting a new motherboard, Will I still be able to have my boot filesystem on a flash-stick? Currently I have everything except /boot on LVM on top of Physical Volumes on unpartitioned raid volumes. Having a single drive with an odd size makes swapping drives around when they fail and drop out of the raid a hassle, and I do not want to waste 2G on every drive just to have a 2G boot partition. A flash stick (and another one for backup) is very pleasant to work with. Especially when i bork my initramfs or need to run maintenance without mounting my root filesystem. Will this work on an EFI board ? It should work with no issues. You may want to boot it in EFI mode as some motherboards cripple functionality in 'legacy' mode. I just ran into that with hdmi audio passthrough not working on an Intel NUC I recently set up. It is possible to boot in EFI mode off of a USB, as I used a Mint ISO to boot from in EFI mode. I would presume the USB needs to have the FAT partition that EFI requires. Dan
Re: [gentoo-user] installed Gentoo on SSD - no bootable device
On 09/04/2014 08:14 PM, Joseph wrote: I'm still lost with this grab2, very confusing. Gentoo official documentation did not mention any of this :-/ Official documentation did ask to create /dev/sda1 2M BIOS boot partition but there was no instruction how to mount it or format it. I was under impression Grub2 will do all of this. I booted with CD-minimal and there is no mkdosfs command. Do I need to format the /dev/sda1? If I do: mkfs -t vfat -F 32 -n efi-boot /dev/sda1 mkfs.vfat: No such file or directory The easiest method would be to chroot into your installation. From there, you can format the EFI partition, then mount it. If you don't have mkfs.vfat in your chroot, I think the package that has it is dosfstools. So basically: 1. chroot into your install (makes sure /boot is mounted before chroot'ing in) 2. format the EFI partition, install dosfstools if required 3. mount the EFI partition to /boot/efi 4. grub2-install --target=x86_64-efi The grub.cfg you showed before looked correct to me, the Gentoo GNU/Linux entry was trying to boot off of root='hd0,gpt2' which is correct. Dan
Re: [gentoo-user] installed Gentoo on SSD - no bootable device
On 09/04/2014 08:14 PM, Joseph wrote: On 09/04/14 19:41, Daniel Frey wrote: On 09/04/2014 05:36 PM, Joseph wrote: When I installed grub2 I got no errors: grub2-install /dev/sda Installation finished. No error reported. If you are trying to boot in EFI mode, you aren't installing it correctly. That installed to the MBR in legacy mode. Instructions are here: http://wiki.gentoo.org/wiki/GRUB2 You need to mount /boot, and mount the EFI boot partition before installing grub2 using `grub2-install --target=x86_64-efi`. I'm still lost with this grab2, very confusing. Gentoo official documentation did not mention any of this :-/ Official documentation did ask to create /dev/sda1 2M BIOS boot partition but there was no instruction how to mount it or format it. I was under impression Grub2 will do all of this. I booted with CD-minimal and there is no mkdosfs command. Do I need to format the /dev/sda1? If I do: mkfs -t vfat -F 32 -n efi-boot /dev/sda1 mkfs.vfat: No such file or directory I forgot to mention in my last post that you absolutely must boot from an EFI-enabled kernel, the gentoo ISOs do not do this. I used the Mint 17 ISO to do this, when you go to boot options it should list it as EFI bootable. Dan
Re: [gentoo-user] SSD recmmendation / input
On 08/28/2014 09:54 PM, Joseph wrote: No, I wouldn't get 1TB SSD too expensive but something like 300GB I might consider it. Are they worth the investment? What brand do you have and how long? I have several SSDs. I currently use Kingston, Crucial, and Intel. A bit of background - I use a mythtv setup with multiple frontends. I had a SSD in the backend but it failed after about two years with no warning -- one day I noticed the frontends behaving strangely and found out I couldn't log into the backend (via ssh or directly.) The server sustained a lot of writes to the database daily, however, the actual recordings were on rust disks. It was a Kingston that failed, a 32GB model. The Crucial and Intel I have are still relatively new, the Crucial being a year and a bit old, and the Intel only a few days old. :-) Speedwise, there's no comparison. Especially running emerge/compiling - my frontend (equipped with an E8400 and 2GB RAM) with the Kingston SSD beats my main workstation equipped with a rust raid10 (a QX9650 with 8 GB RAM) every time. I have two recommendations for a new SSD user - 1) Flash the firmware to a new version right away if available, and 2) Don't partition the entire SSD if you can avoid it. Apparently SSDs will use unused space for wear leveling - as an example I believe I only partitioned 20GB (out of a 64GB SSD) on my frontends. That's a bit excessive and you may not be able to do that, but you get the idea. Also make sure to use parted to partition so the partitions themselves are aligned properly. (Regarding the firmware update - my Crucial had one and I ignored it. About 3 months later my laptop was acting weird and complaining about the disk. I was lucky - I flashed the firmware and it was fine with no data loss. Others are not so lucky...) Dan
Re: [gentoo-user] Re: akonadi ... don't you just love it?
On 08/12/2014 12:31 AM, Neil Bothwick wrote: Yes, I think it was dev-qt/qtsql that broke MythTV. I notice that dev-python/mysql-python was rebuilt at the same time, so that must have been missed too, whereas dev-perl/DBD-mysql was re-emerged right after mysql. It most definitely was, I just updated my backend and 3 remote frontends and had this issue. Portage missed this completely, it was revdep-rebuild that found this breakage and repaired it. From what I remember there was a python sql package that wound up being broken too. Dan
Re: [gentoo-user] --exclude gentoo-sources
On 08/01/2014 01:19 PM, behrouz khosravi wrote: On Fri, Aug 1, 2014 at 12:58 PM, James wirel...@tampabay.rr.com wrote: Howdy, I know I can use this option to protect kernel sources I want to keep around, from removal, via depclean. Well I not a proficient user, but I think that depclean wont remove packages from distfiles. At least what happened to me was that depclean removed the sources from /usr/src/ folder but the linux.xxx remained in the disfiles folder. If you want to clean the distfiles directory, use eclean-dist. It scans what you have installed and removes sources that you don't need. Use `eclean-dist --help` for more info. Dan
Re: [gentoo-user] resolv.conf is different after every reboot
On 07/27/2014 04:30 AM, Grand Duet wrote: and also the output of the rc-update show command? # rc-update show alsasound | boot bootmisc | boot dbus | default devfs | sysinit dmesg | sysinit fsck | boot hostname | boot hwclock | boot keymaps | boot killprocs | shutdown kmod-static-nodes | sysinit local | default localmount | boot loopback | boot metalog | default modules | boot mount-ro | shutdown mtab | boot net.eth0 | default net.lo | boot netmount | default privoxy | default procfs | boot root | boot savecache | shutdown swap | boot swapfiles | boot sysctl | boot sysfs | sysinit termencoding | boot tmpfiles.dev | sysinit tmpfiles.setup | boot udev | sysinit udev-mount | sysinit urandom | boot Everywhere above eth0 has been put instead of its udev predictable name. Do you think that I need carrier_timeout_eth0=20 somewhere in /etc/conf.d/net ? Have you tried disabling network hotplugging in /etc/rc.conf? i.e. setting rc_hotplug=!net.* Sounds like the interfaces are being brought up out of order. Dan