Re: [gentoo-user] Is "-flto" supported by Gentoo?
On 22 March 2017 at 02:20, P Levinewrote: > A while back I decided to try my hand at including " -flto" in my > C{XX}FLAGS and do `emerge -e @world`. Needless to say, by the end of it my > "/etc/portage/package.env" was filled with a list of packages that had to > disable the flag either because it failed to build or broke other builds. > I never reported them as bugs because I always assumed the flag was unsafe > and unsupported by Gentoo. > > Lately, I have been trying to fix some GCC-6 related bugs and have come > across some bug reports that seem possibly more "-flto" related than GCC-6 > related. Doing a search for "-flto", Gentoo bugtracker, a number of open > bugreports clearly show them to be "-flto" bugs in their titles. > > Does Gentoo support the "-flto" flag and are "-flto" related bugreports > valid? > See this Gentoo forum thread on the subject that I've read/followed with interest ... https://forums.gentoo.org/viewtopic-t-1052716.html I haven't tried any LTO building since gcc 4.9.x - it was a bit of pain in the bum as I recall :-) Bob
Re: [gentoo-user] Diagnosing file corruption
On 6 August 2015 at 01:34, Bryan Gardiner b...@khumba.net wrote: Hello list, This is the disk: *-disk description: ATA Disk product: ST1000LM024 HN-M vendor: Seagate physical id: 0.0.0 bus info: scsi@4:0.0.0 logical name: /dev/sda version: 0001 size: 931GiB (1TB) capabilities: gpt-1.00 partitioned partitioned:gpt configuration: ansiversion=5 guid=---- sectorsize=4096 Thanks for any help you can provide, Bryan Complex question. Simple answer... Spinrite :-) -- All the best, Robert
Re: [gentoo-user] Searching for Overlays
On 6 August 2015 at 09:50, Alan McKinnon alan.mckin...@gmail.com wrote: On 06/08/2015 03:27, James wrote: OK so yes I know overlays in the wild can be disastrous. Reading the devmanual while parsing through various ebuilds both portage and in the wild, does make for some interesting reading:: ymmv. I'm not sure my overlay (kung_fu) is complete. 'layman -L' lists reasonably qualified overlay sites; but you have to add them to search out their content directly. 'eix -R keywordname ' will search far and wide for a given overlay; like the distributed database 'cassandra. Some googling suggest that zugaina contains a master list of overlays? (not sure how true this is). I'm not sure if 'eix -R' or 'browsing zugaina' provides the widest possible list of (mostly safe) overlay sites. Last, googling for the name + ebuild or overlay can find packages, but if the archive (git etc) is not listed with a layman -L:: be very cautious audit the details of the overlay. Specifically, on dev-db/cassandara I find 2.1.3 and 2.12 ([5] spike-community-overlay layman/spike-community-overlay) but the cassandra.apache.org site shows 2.1.8 and 2.20 as the stable and testing downloads currently available. So is it safe to use the spike-community overlay as a basis to update the cassandra ebuild I have available? In general, is there a list (even a private list) of know good/bad actors on these overlay sites? Any further tidbits on searching out and qualifying overlays (yes I know only a full code audit is actually safe) that folks use or would suggest would be keen. I did see some gentoo wiki pages on the subject but they seem terse or dated. To find Joe Random Hacker's overlay and see what's in it, I tend to browse zugaina. Coverage is decent and most stuff from most folks active in the Gentoo ecosystem is there. If an overlay is not listed on zugaina, these days it tends to be on github or similar. I usually just do a git checkout and cast my own eyeballs over the ebuilds. If I'm happy, import into layman (I think it's -o) with the xml file that should be provided Thus far I've had good success. As with everything else in Gentoo it's buyer beware, and train your eyeballs and brain beforehand. There does not seem to be an easy shortcuts. -- Alan McKinnon alan.mckin...@gmail.com I would concur with Alan. The zugaina site is a very valuable resource. I happen to have an overlay in Layman and I have contacted Ycarus (who runs the zugaina site) when one of my packages wasn't sync'd with Layman. Apparently his site pulls in the overlays on an automated basis (cron job style). It is pretty quick to update/stay in sync though. I tend to look out for quality (or lack of) 3rd-party ebuilds by running repoman over them. Stale Overlays are pretty easy to spot as well... :-) -- All the best, Robert
Re: [gentoo-user] some keyboard lag
On Mon, 8 Jun 2015 19:57 Stefan G. Weichinger li...@xunil.at wrote: Am 2015-06-08 um 20:25 schrieb J. Roeleveld: There was a similar thread here before about USB and suspend. Check that for specifics if in a hurry. Not at computer now to find the earlier email. didn't find it yet .. but no hurry at all. Apart from kernel level USB suspend. There are settings in /sys/ where you can disable USB suspend on a per-device level. .. as mentioned in: https://wiki.gentoo.org/wiki/USB_Power_Saving ? I would assume Fedora disables that for keyboards and mice (think previous thread was about mice getting forgotten) when detected as such. 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) Doesn't the powertop utility have a facility to do this per-device and to see what the current power-save settings are per-device? Surely a bit easier to use than directly messing about with udev rules?
Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2
On Wed, 20 May 2015 16:09 Peter Humphrey pe...@prh.myzen.co.uk wrote: I followed the instructions in https://wiki.gentoo.org/wiki/GRUB2_Migration , after copying my grub.conf as you suggested, but when I rebooted, the GRUB2 menu text was minuscule, it only included one of the five kernel lines it should have, and when it ran it didn't start my RAID devices. As I said before, maybe later. I need to find out far more about GRUB2 before i dive in, and that's not for today. -- Rgds Peter Personally I feel the Grub 2 OS detection script sucks really badly. So much so that I completely re-wrote it so I got proper entries for my various Windows installs (version accurately detected using chntpw) and multiple Linux distros (sorted/detailed listings for all available kernel versions). OCD probably - but much easier to navigate! One day I might try and open a dialogue with Upstream... ;-) Robert
Re: [gentoo-user] Re: Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
On 31 March 2015 at 23:10, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Tue, Mar 31, 2015 at 10:17:27AM +0100, Bob Wya wrote: @Nicolas, I think I'm getting it now. The patchsets are cumulative and I just need the base patchset - right? base, extras and experimental are all applied. -- Nicolas Sebrecht @Nicolas, The experimental patchset is only applied if the experimental USE flag is enabled surely?? See I'm learning stuff now! :-) -- All the best, Robert
Re: [gentoo-user] Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
Sorry folks - I guess I've made a right dogs dinner of this whole thread... I'll make more efforts not to be that noob next time :-) But I've got the information I needed about how to build old gentoo-sources kernels. So thanks! I've done my tests and the outcome is: 3.8.8 (gentoo-sources - manually built) = NO nfs suspend issue 3.8.9 (gentoo-sources - manually built - nfs specific patches, removed from 1008_linux-3.18.9.patch) = NO nfs suspend issue 3.8.9 (gentoo-sources, stock) = boot hangs with pNFS block error 3.8.10 (gentoo-sources, stock) = nfs suspend issue Anyway that's pretty much what the ML thread was kicked off to achieve - so thanks all! Plus I've written a little script for ordered patch application - so that might come in useful at some point :-) Just wondering in passing what the motivation is for kernel eclass dropping support for automated building of, what many would consider, very recent kernel revisions? Could support not be retained (for renaming kernel versions to build older revisions) - but say masking off these versions as not security patched / maintained? Personally I was quite surprised I couldn't just rename the stock gentoo-sources ebuild to say gentoo-sources-3.18.8.ebuild to pull that kernel revision with automated patching... But perhaps I'm just showing my inexperience / naivety in this matter? -- All the best thanks, Robert
Re: [gentoo-user] Re: Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
@Holger, that's my symptoms to tee... :-) Strangely it doesn't effect Arch Linux - running on the same box - with a newer 3.19.2 kernel. So they must have a patch for the issue (but I can't figure out what). Perhaps I'll check through the (stock) kernel configuration as well - to check it matches mine. Thanks On 31 March 2015 at 01:29, Holger Hoffstätte holger.hoffstae...@googlemail.com wrote: On Mon, 30 Mar 2015 23:22:58 +0100, Bob Wya wrote: I'm getting a bit bogged down trying to build an early release of the 3.18 kernel. Since I can't automatically go back before 3.18.9 now (using portage anyway)... Basically I trying to check if a suspend/resume issue I've got was introduced after the 3.18 kernel was released (or was in the base release). I've got a reproduce-able failure to suspend-to-ram with =3.18.x gentoo kernel sources. However this issue is not present with the gentoo kernel sources =3.17.x. (A systemd nfs client mount problem - which blocks the suspend-to-ram process.) You are probably looking at this bug: http://thread.gmane.org/gmane.linux.nfs/69717 This was introduced in 3.18.9 (as you found out), so simply using vanilla 3.18.8 should fix it; I don't remember seeing it before. I never bothered to try and now just stop NFS before suspend. 3.19.x gained the same problem. -h
Re: [gentoo-user] Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
Neil, Simply changing the ebuild version to 3.18.1 doesn't work. The kernel-2 eclass simply won't allow one to build a gentoo-sources 3.18.x kernel lower than / before 3.18.9 now. (Try it if you don't believe me...) That was the first thing I tried. :-) On 31 March 2015 at 00:05, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 30 Mar 2015 23:22:58 +0100, Bob Wya wrote: I'm getting a bit bogged down trying to build an early release of the 3.18 kernel. Since I can't automatically go back before 3.18.9 now (using portage anyway)... https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/gentoo-sources/?hideattic=0 Pick the versions you want and copy the ebuilds to a local overlay. -- Neil Bothwick In a classified ad: Tired of cleaning yourself? Let me do it. -- All the best, Robert
Re: [gentoo-user] Re: Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
@Nicolas This is the first place I went to. But I don't understand what all the different tar balls of gentoo kernel patch-sets actually mean. It would nice if the site had a little a bit of Wiki love to make it clearer. For example I can't figure out what steps are needed to apply the patchsets, to a vanilla kernel, to get a gentoo-sources kernel. On 31 March 2015 at 00:16, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Mon, Mar 30, 2015 at 06:45:40PM -0400, Fernando Rodriguez wrote: You can use git. I believe gentoo patches are only for config options so if you configure it with make oldconfig it *should* be the same as using gentoo- sources. Actually no, gentoo-sources aren't vanilla kernel while efforts are made to avoid including intrusive patches. http://dev.gentoo.org/~mpagano/genpatches/about.htm http://dev.gentoo.org/~mpagano/genpatches ,-) -- Nicolas Sebrecht -- All the best, Robert
Re: [gentoo-user] Re: Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
@Nicolas, I think I'm getting it now. The patchsets are cumulative and I just need the base patchset - right? I'm still a little unclear as to what kernel source I should apply the base patchset to. I want to rebuild the 3.18.8 kernel to double check it's free of the bug... I can see some nfs suspend patches here... So that could be culprit! http://dev.gentoo.org/~mpagano/genpatches/trunk/3.18/1008_linux-3.18.9.patch On 31 March 2015 at 10:00, Bob Wya bob.mt@gmail.com wrote: @Nicolas This is the first place I went to. But I don't understand what all the different tar balls of gentoo kernel patch-sets actually mean. It would nice if the site had a little a bit of Wiki love to make it clearer. For example I can't figure out what steps are needed to apply the patchsets, to a vanilla kernel, to get a gentoo-sources kernel. On 31 March 2015 at 00:16, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Mon, Mar 30, 2015 at 06:45:40PM -0400, Fernando Rodriguez wrote: You can use git. I believe gentoo patches are only for config options so if you configure it with make oldconfig it *should* be the same as using gentoo- sources. Actually no, gentoo-sources aren't vanilla kernel while efforts are made to avoid including intrusive patches. http://dev.gentoo.org/~mpagano/genpatches/about.htm http://dev.gentoo.org/~mpagano/genpatches ,-) -- Nicolas Sebrecht -- All the best, Robert -- All the best, Robert
Re: [gentoo-user] Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
Neil, (a) Should I download the vanilla 3.18.1 kernel sources and apply all the gentoo-sources tar-ball patches in numerical order?? (b) I tried downloading the vanilla 3.18.8 kernel. But of course the earlier gentoo-sources 3.18.1 - 3.18.6 patches don't apply cleanly... Will I get to the same place if I ignore these?? Or should I go with option (a) :-) Thanks On 31 March 2015 at 12:00, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 31 Mar 2015 09:51:11 +0100, Bob Wya wrote: lease don't top-post, it is frowned upon on this list, and for good reason. Simply changing the ebuild version to 3.18.1 doesn't work. The kernel-2 eclass simply won't allow one to build a gentoo-sources 3.18.x kernel lower than / before 3.18.9 now. (Try it if you don't believe me...) That was the first thing I tried. :-) I wasn't suggesting renaming the ebuild but downloading the older version. However, on checking the content I see it still uses the kernel-2 eclass. You can deal with this by downloading the older version of the eclass from CVS and putting it in an overlay, but it's probably easier to just apply the patches manually in this case. gentoo-sources uses both the base and extra patchsets from genpatches. -- Neil Bothwick Fragile. Do not turn umop ap1sdn! -- All the best, Robert
Re: [gentoo-user] Re: online browsable ebuilds by arch?
On 31 March 2015 at 08:31, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 31 Mar 2015 05:21:13 + (UTC), James wrote: It's not quite what you are asking for, but packages.g.o lets you filter by arch, and view the contents of ebuilds. Yea, I have seen that often when I google. Correct but is not comprehensive but chronologically organized. I'm looking for something organized by what your see, when you 'cd' into the /usr/portage dir comprehensive by category but filters so only those packages available for that specified arch are visible. Yes, the old p.g.o let you browse categories, but the current incarnation does not appear to. -- Neil Bothwick And if you say No, I shall be forced to shoot you. Ycarus responds really to quickly to issues with the gpo site... Perhaps a feature request could be put in for a new arch tab - to be added a future date? -- All the best, Robert
[gentoo-user] Easy (cough) way to build earlier gentoo-sources 3.18.x kernel?
I'm getting a bit bogged down trying to build an early release of the 3.18 kernel. Since I can't automatically go back before 3.18.9 now (using portage anyway)... Basically I trying to check if a suspend/resume issue I've got was introduced after the 3.18 kernel was released (or was in the base release). I've got a reproduce-able failure to suspend-to-ram with =3.18.x gentoo kernel sources. However this issue is not present with the gentoo kernel sources =3.17.x. (A systemd nfs client mount problem - which blocks the suspend-to-ram process.) I had a look at the kernel-2 eclass and my head started to hurt... Do I need to wade into the weeds or is there a short-cut I can take to go back to the earliest gentoo-sources 3.18 kernel build :-) -- Thanks, Robert
Re: [gentoo-user] Re: http://gitweb.gentoo.org/user/
It's a neat idea - but the process could be a little speedier... Took me about 3 months to get my Overlay registered with Layman... On 26 March 2015 at 01:53, James wirel...@tampabay.rr.com wrote: Mike Gilbert floppym at gentoo.org writes: It says /user/ so are these just ordinary users? As far as I know, any gentoo user can create a repository there, so long as they are going to use it for something Gentoo-related. Ah. excellent. Just file a bug under the Gentoo Overlays component. https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20 Infrastructurecomponent=Gentoo%20Overlays See also this blog entry: https://blog.hartwork.org/?p=843 I guess this compliments project sunrise. Pretty cool... thx, James -- All the best, Robert
Re: [gentoo-user] openrc-systemd command comparison
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/ On 17 March 2015 at 01:58, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Mar 16, 2015 at 7:47 PM, Daniel Frey djqf...@gmail.com wrote: 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. I remember seeing a table like that in the wiki a long time ago, but I can't find it now. Anyway, the translatable commands are obvious: /etc/init.d/service start → systemctl start service /etc/init.d/service stop → systemctl stop service and the rest are usually are not translatable. There is nothing like systemctl mask service in OpenRC, AFAIK, and there is no equivalent for /etc/init.d/service zap in systemd (the whole idea of systemd is that an ugly hack like zap will never be necessary). Not sure if this will help you. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México -- All the best, Robert
Re: [gentoo-user] {OT} offline backups
I own a BluRay writer. A few years ago I had a serious attempt at BluRay archival storage. It works - but it's slow (very slow) and expensive. Then there is the cost / GB - that remains high due to the low volume of BD-RE media sales... Now factor in the super high volume of MLC NAND flash SSDs prevalent on today's mass market. A good SSD will last far longer than the slowly degrading dye on a BD-RE disc. Just dust off an Intel SSD every 5 years and to run a level 2 Spinrite scan on it and it could potentially hold data for decades... No optical media could match that... All the best, Robert On 3 Mar 2015 18:00, waben...@gmail.com wrote: Am Dienstag, 03.03.2015 um 07:51 schrieb Grant emailgr...@gmail.com: I have several encrypted backup repositories online and I'd like to somehow mirror that offline. I currently have about 20G of data to back up. Any ideas? Rewritable Blu-Ray? I never had a Blu-Ray writer, so I don't know how reliable these medias are. But I avoid CDs and DVDs since many years because I made the experience that optical medias are faulty when you really need them. I use harddisks for my backups and I always use RAID. Harddisks are much more reliable (as long as you avoid concussions etc.) and also much faster. Greetings wabe
Re: [gentoo-user] the new ssd, is it happy?
So it probably is Samsung's dodgy firmware not working with the SATA-3.0 extensions (aka SATA 3.1). Like I mentioned I can't even run my Samsung SSD's @6Gbit because none of the models I own support deterministic trim - which is a much bigger problem than yours! I assumed the 850 Pro would support deterministic trim - as the 840 Pro models supported it - but hell no! I wouldn't rely on any firmware updates from Samsung to fix any of this stuff... It has to be really, really bad - like the 840 issues - before they'll pull their finger out. I'll certainly be raising a support issue, over the lack of non-deterministic trim support in the 850 Pro firmware, but I expect that will get as far as my LSI Support issue did... :-( On 26 February 2015 at 10:16, Stefan G. Weichinger li...@xunil.at wrote: On 25.02.2015 17:16, Bob Wya wrote: For my Samsung 830 / 850 Pro SSDs I don't see any similar NCQ queuing error(s) in my boot logs (they are hooked up to the Intel Controller just now - since I can't connect them to my 6Gbit LSI Controller - arrrggg!!) Perhaps this issue is confined to the Samsung EVO lines? It seems like. Maybe I had that with the 840 EVO already, I never looked so close ... but now as I put the 840 into the thinkpad I see that behavior there as well! And the 840 had some firmware updates already while there are no updates yet for the 850. -- All the best, Robert
Re: [gentoo-user] the new ssd, is it happy?
This made me recall having to download and alter a Windows SATA Host Controller driver. For some reason I had to get hold of an 6Gbyte development .iso to do this (that's Microsoft for you)... Now that was fun and games!! Basically because the SATA controller driver tried to enable NCQ (I can't remember which now!!) for some old Hitachi IDE drives - I had hooked these up via a SATA-PATA bridge - the bridge said NCQ - YES!! - the drive said NCQ - NO!!. The drives would lock up Windows when I hooked them up to the controller and start twanging constantly as they were reset, over and over again... I read through that bug report - interesting. It shouldn't be too hard for you add a User patch for your Gentoo kernel - to force-ably disable the attempt to negotiate SATA 3.1 and T13 ATA ACS-3 support - for the SATA connection. Since (I guess) you are building the kernel from source anyway! Basically your 850 EVO returns RECEIVE/SEND FPDMA QUEUED supported when initially queried Then when the (Linux) kernel tries to actually queue these commands - the 850 EVO firmware says Uhhhmm, duh - no I don't know how to do that one!! Just out of interest what make is the Host Controller on your motherboard... Is it a Intel one? Or some crappy addon chipset? Perhaps you could post the output of lscpi (with lots of - flags - just the Host Controller bit)? I'm starting get the feeling that Samsung take some very caliver shortcuts with the QC on their SSDs. I've recently bought a Samsung 850 Pro - sucker - as I have already experienced poor after-sales support with some Samsung 830 SSD issues. Now I've found out that the 850 Pro also doesn't support non-deterministic trim - so I can't use it with *any* Host Controllers with LSI-based firmware (or whatever they are called now) - because trim support will be completely disabled!! Sure we all want V-NAND - but perhaps I should have waited a year or two for Intel to catch up... To quote from the bug report (referring to the crappy Samsung 840 EVO firmware): I tried to contact Samsung support, but they answered that for the support of this product, you should contact the reseller. In other words, they don't want to answer. We are dealing with a drive that claims (during identification) to have a capability that it doesn't actually have. :-( On 25 February 2015 at 12:45, Stefan G. Weichinger li...@xunil.at wrote: On 25.02.2015 10:23, Stefan G. Weichinger wrote: good hint, thanks! I will report back if I find something. Swapped the cable and also the SATA-socket on the board. It always gives the same result ... What is interesting: the HDDs negotiate their NCQ fine: [2.254804] ata2.00: ATA-8: Hitachi HDS721010CLA632, JP4OA41A, max UDMA/133 [2.254809] ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA [2.254842] ata5.00: ATA-8: ST31000524AS, JC4B, max UDMA/133 [2.254846] ata5.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32) and that with those cheap cables ... I googled that and found https://bugzilla.kernel.org/show_bug.cgi?id=72341 digging through that now :-) -- All the best, Robert
Re: [gentoo-user] the new ssd, is it happy?
So this is for my motherboard's (Nehalem - so only one generation before yours) onboard Intel Host Controller... Only a SATA-2 3Gbit capable device. 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 27 Region 0: I/O ports at 8c00 [size=8] Region 1: I/O ports at 8880 [size=4] Region 2: I/O ports at 8800 [size=8] Region 3: I/O ports at 8480 [size=4] Region 4: I/O ports at 8400 [size=32] Region 5: Memory at f7efc000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Address: fee0 Data: 4082 Capabilities: [70] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=0004 Capabilities: [b0] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: ahci uname -r 3.19.0-gentoo For my Samsung 830 / 850 Pro SSDs I don't see any similar NCQ queuing error(s) in my boot logs (they are hooked up to the Intel Controller just now - since I can't connect them to my 6Gbit LSI Controller - arrrggg!!) Perhaps this issue is confined to the Samsung EVO lines? On 25 February 2015 at 15:02, Stefan G. Weichinger li...@xunil.at wrote: On 25.02.2015 14:18, Bob Wya wrote: Just out of interest what make is the Host Controller on your motherboard... Is it a Intel one? Or some crappy addon chipset? Perhaps you could post the output of lscpi (with lots of - flags - just the Host Controller bit)? 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company 6 Series/C200 Series Chipset Family SATA AHCI Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 26 Region 0: I/O ports at f070 [size=8] Region 1: I/O ports at f060 [size=4] Region 2: I/O ports at f050 [size=8] Region 3: I/O ports at f040 [size=4] Region 4: I/O ports at f020 [size=32] Region 5: Memory at fb205000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: feeff00c Data: 41d1 Capabilities: [70] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=0004 Capabilities: [b0] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: ahci -- All the best, Robert
Re: [gentoo-user] the new ssd, is it happy?
Ahhh, Quoting from the Intel 6 Series Chipset pdf... The PCH supports the Serial ATA Specification, Revision 3.0. The PCH also supports several optional sections of the Serial ATA II: Extensions to Serial ATA 1.0 Specification, Revision 1.0 (AHCI support is required for some elements). Please see Section 1.3 for details on SKU feature availability. So your (newer) Intel Chipset supports the SATA-3 specification. That's probably why you are seeing the issue and I'm not... On 25 February 2015 at 16:16, Bob Wya bob.mt@gmail.com wrote: So this is for my motherboard's (Nehalem - so only one generation before yours) onboard Intel Host Controller... Only a SATA-2 3Gbit capable device. 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 27 Region 0: I/O ports at 8c00 [size=8] Region 1: I/O ports at 8880 [size=4] Region 2: I/O ports at 8800 [size=8] Region 3: I/O ports at 8480 [size=4] Region 4: I/O ports at 8400 [size=32] Region 5: Memory at f7efc000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Address: fee0 Data: 4082 Capabilities: [70] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=0004 Capabilities: [b0] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: ahci uname -r 3.19.0-gentoo For my Samsung 830 / 850 Pro SSDs I don't see any similar NCQ queuing error(s) in my boot logs (they are hooked up to the Intel Controller just now - since I can't connect them to my 6Gbit LSI Controller - arrrggg!!) Perhaps this issue is confined to the Samsung EVO lines? On 25 February 2015 at 15:02, Stefan G. Weichinger li...@xunil.at wrote: On 25.02.2015 14:18, Bob Wya wrote: Just out of interest what make is the Host Controller on your motherboard... Is it a Intel one? Or some crappy addon chipset? Perhaps you could post the output of lscpi (with lots of - flags - just the Host Controller bit)? 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company 6 Series/C200 Series Chipset Family SATA AHCI Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 26 Region 0: I/O ports at f070 [size=8] Region 1: I/O ports at f060 [size=4] Region 2: I/O ports at f050 [size=8] Region 3: I/O ports at f040 [size=4] Region 4: I/O ports at f020 [size=32] Region 5: Memory at fb205000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: feeff00c Data: 41d1 Capabilities: [70] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=0004 Capabilities: [b0] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- Kernel driver in use: ahci -- All the best, Robert -- All the best, Robert
Re: [gentoo-user] Report: Experience with f2fs
I would always recommend a secure erase of an SSD - if you want a fresh start. That will mark all the NAND cells as clear of data. That will benefit the longevity of your device / wear levelling. I've been messing about with native exfat over the past few months. I found this to be a pretty decent shared partition file system - for use with MS Windows. The read performance will saturate a 3Gbit SATA link - but write performance is only in the order of 100Mbytes/second. Personally having been burned by btrfs I would not try one of these experimental file systems again... That was the same sort of pattern as your experience. I carefully followed the Arch Wiki (large partition size - due to COW issues, etc.) - was using it on my home brew NAS running OpenSUSE as root /. One day it just blew up and was really screwed for recovery (I did manage to get the few small bits of data I needed with some Googling) - as none of the btrfs tools for this actually work! Back to ext4 for root / - now running Arch on that box... Ironically the native ZFS port has always been stable on that box (with a very large storage array)! Just my $0.02!! On 24 February 2015 at 00:46, Peter Humphrey pe...@prh.myzen.co.uk wrote: Some list members might be interested in how I've got on with f2fs (flash-friendly file system). According to genlop I first installed f2fs on my Atom mini-server box on 1/11/14 (that's November, for the benefit of transpondians), but I'm pretty sure it must have been several months before that. I installed a SanDisk SDSSDP-064G-G25 in late February last year and my admittedly fallible memory says I changed to f2fs not many months after that, as soon as I discovered it. Until two or three weeks ago I had no problems at all. Then while doing a routine backup tar started complaining about files having been moved before it could copy them. It seems I had a copy of an /etc directory from somewhere (perhaps a previous installation) under /root and some files when listed showed question marks in all fields except their names. I couldn't delete them, so I re-created the root partition and restored from a backup. So far so good, but then I started getting strange errors last week. For instance, dovecot started throwing symbol-not-found errors. Finally, after remerging whatever packages failed for a few days, /var/log/messages suddenly appeared as a binary file again, and I'm pretty sure that bug's been fixed. Time to ditch f2fs, I thought, so I created all partitions as ext4 and restored the oldest backup I still had, then ran emerge -e world and resumed normal operations. I didn't zero out the partitions with dd; perhaps I should have. I'll watch what happens, but unless the SSD has failed after only a year I shouldn't have any problems. An interesting experience. Why should f2fs work faultlessly for several months, then suffer repeated failures with no clear pattern? -- Rgds Peter. -- All the best, Robert
Re: [gentoo-user] the new ssd, is it happy?
Super obvious question... but can you enable AHCI mode for your SATA Controller - in the BIOS. Are you using HP supplied SATA cables - because these may be sucky crap. If so I would try replacing them - especially if they don't have latches on the plugs. I think this is the specification for your motherboard chipset: http://www.intel.com/content/www/us/en/chipsets/mainstream-chipsets/h67-express-chipset.html So you probably need the decent SATA 3G (6Gbit) cables to get the best support for your SSD. I've had some issues with 6Gbit SATA... Basically you are looking at really high switching speeds - where connector quality makes a huge difference. It might even be worth cleaning out your SATA connectors with isopropyl alcohol (99%). On 24 February 2015 at 20:49, Stefan G. Weichinger li...@xunil.at wrote: ordered myself a new and shiny ssd last week. one thinkpad still had that 60GB OCZ Vertex3 and that was a bit tight now and then. So I ordered a Samsung SSD 850 EVO 500GB for my desktop and planned to move the former 840 EVO 250GB to the thinkpad. Done today. Moving was rather *boring* - partition ssd, add new partition to btrfs filesystem, remove old partition from btrfs filesystem, wait ~15 minutes, in the meantime copy over the UEFI ESP to the new disk, install gummiboot there ... it booted up at first time ... oh my, what has happened to good old gentoo? :-P (resized stuff, yes ... but no big blockers anywhere) What I would like to discuss now: # dmesg | grep ata1 [1.930869] ata1: SATA max UDMA/133 abar m2048@0xfb205000 port 0xfb205100 irq 26 [2.235852] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [2.237378] ata1.00: supports DRM functions and may not be fully accessible [2.237506] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1 [2.237509] ata1.00: ATA-9: Samsung SSD 850 EVO 500GB, EMT01B6Q, max UDMA/133 [2.237521] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 31/32), AA [2.237979] ata1.00: supports DRM functions and may not be fully accessible [2.238071] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1 [2.238166] ata1.00: configured for UDMA/133 [20207.916327] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [20207.916528] ata1.00: supports DRM functions and may not be fully accessible [20207.916598] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1 [20207.918249] ata1.00: supports DRM functions and may not be fully accessible [20207.918325] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1 [20207.918419] ata1.00: configured for UDMA/133 Are these failed lines ok? The box itself is a bit older, a Hewlett-Packard HP Elite 7300 Series MT/2AB5, BIOS 7.12 (I never found a BIOS update! btw ...) so maybe the chipset lacks features the SSD might be able to use. Everything works fine so far, I would just like to understand if things are OK with this new piece of hardware. additional: Device Model: Samsung SSD 850 EVO 500GB Firmware Version: EMT01B6Q I did not find any firmware update online, do you agree? Thanks, regards, Stefan -- All the best, Robert
Re: [gentoo-user] portage alternatives
Michael, I tried out paludis a few months ago. I do find Portage can be a bit slow. So I thought great - a C++ version of Portage! However cave does do much stricter checking and has much more verbose output than emerge (way too much - like eix I guess). I really gave it my best shot to migrate over fully - but had to bale after a couple of weeks of trying to get one clean upgrade cycle. Speed wise - cave was slower than emerge (with no backtracking). So regular day-to-day installs would be quite slow (with the package tree being churned over multiple times). I'm sure I'll give it another go at some point... Maybe I was simply using it wrong... But boy it felt like it was for geeks who think Portage is way too easy - give me something much harder!! Robert On 2 February 2015 at 10:26, Michael Vetter michael.vet...@uni-konstanz.de wrote: Hello list, just for fun I am reading about alternatives to portage. So far the most interesting I found are: paludis and pkgsrc. paludis mostly because it seems to come from some gentoo-like enviroment and pkgsrc because of the nice thought to have the same pkg files for multiple OSes. Is anybody of you using one of them and can tell me about pros and cons? regards -- Michael -- All the best, Robert
Re: [gentoo-user] SMART drive test results, 2.0 for same drive as before.
It would be far better to use Spinrite (like I mentioned before) - to allow a really low level access to the drive. While Spinrite is running the HDD will not be able to automatically relocate sectors. I've been blown away how effective this piece of software is - even when run with (apparently) very knackered Maxtor drives!! It was like they were brought back from the dead... On 25 January 2015 at 13:41, Mick michaelkintz...@gmail.com wrote: On Saturday 24 Jan 2015 18:18:36 Dale wrote: Since I already replaced this drive, nothing lost. We did learn something tho. Just because it claims to have fixed itself doesn't mean it will be a long term solution. ;-) Dale :-) :-) Your repeated dd action probably relocated some bad blocks. I would also run a long test overnight to see where and how it fails. I recently had a drive which went sideways on me. Running dd was successful in relocating some problematic sectors. However, repeating the smart tests revealed that more and more sectors were going bad. I recall a warning that a catastrophic drive failure was imminent, when reading the output of 'smartctl -a'. Instead of dd'ing the whole drive, just dd the suspect sector and repeat the smart tests to see how things move around. I concur with other posters that this drive should only be used for experimentation, rather than production or back ups. -- Regards, Mick -- All the best, Robert
Re: [gentoo-user] REQUIRED_USE on dev-db/mariadb-10.0 confuses me
Mick, In these instances I find it easier to look directly at the ebuild file for the package I'm installing... Sadly this highlights the fact that the output from Portage is remarkably obtuse... On 25 January 2015 at 20:56, Mick michaelkintz...@gmail.com wrote: On Sunday 25 Jan 2015 19:41:58 Neil Bothwick wrote: On Sun, 25 Jan 2015 19:17:00 +, Mick wrote: Calculating dependencies... done! The following REQUIRED_USE flag constraints are unsatisfied: xml? ( extraengine ) Can you please remind me what the above message means? What is the meaning of the question mark after xml? I remember this has been answered before (at least by Alan) but I can't seem to find the thread just now. The question mark is a test, what this means is if USE contains xml: USE most also contain extraengone Add extraengine to package.use and all should be well. At least until the next time emerge decides to puke all over your terminal in an attempt to hide the cause of the error :( Thanks Neil, I clearly failed the test. :p I had added extraengine to package.use and the message went away, but couldn't understand why xml *needs* extraengine. So, I stopped and asked here, in case I emerge things I don't really need. -- Regards, Mick -- All the best, Robert
Re: [gentoo-user] SMART drive test results, 2.0 for same drive as before.
Dale, As a double check I always like to test failing drives with Spinrite: https://www.grc.com/sr/spinrite.htm If that software can't recover/access any bits of the drive - it's pretty much a toaster in my book! Robert On 20 January 2015 at 17:58, Dale rdalek1...@gmail.com wrote: Howdy, This is concerning a hard drive I had issues with a while back. I been using it to do backups with as a test if nothing else. Anyway, it seems to have issues once again. root@fireball / # smartctl -l selftest /dev/sdd smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.16.3-gentoo] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 40% 21406 4032272464 # 2 Short offline Completed without error 00% 21387 - # 3 Short offline Completed without error 00% 21363 - # 4 Extended offlineCompleted: read failure 40% 21343 4032272464 # 5 Short offline Completed without error 00% 21315 - # 6 Short offline Completed without error 00% 21291 - # 7 Short offline Completed without error 00% 21267 - # 8 Short offline Completed without error 00% 21243 - # 9 Short offline Completed without error 00% 21219 - #10 Short offline Completed without error 00% 21195 - #11 Extended offlineCompleted: read failure 40% 21174 4032272464 #12 Short offline Completed without error 00% 21147 - #13 Short offline Completed without error 00% 21123 - #14 Short offline Completed without error 00% 21099 - #15 Short offline Completed without error 00% 21075 - #16 Short offline Completed without error 00% 21051 - #17 Short offline Completed without error 00% 21026 - #18 Extended offlineCompleted: read failure 40% 21005 4032267424 #19 Short offline Completed without error 00% 20978 - #20 Short offline Completed without error 00% 20954 - #21 Short offline Completed without error 00% 20930 - root@fireball / # More info: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 116 099 006Pre-fail Always - 114620384 3 Spin_Up_Time0x0003 092 092 000Pre-fail Always - 0 4 Start_Stop_Count0x0032 100 100 020Old_age Always - 39 5 Reallocated_Sector_Ct 0x0033 053 051 036Pre-fail Always - 62752 7 Seek_Error_Rate 0x000f 080 060 030Pre-fail Always - 102219639 9 Power_On_Hours 0x0032 076 076 000Old_age Always - 21403 10 Spin_Retry_Count0x0013 100 100 097Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020Old_age Always - 40 183 Runtime_Bad_Block 0x0032 100 100 000Old_age Always - 0 184 End-to-End_Error0x0032 100 100 099Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000Old_age Always - 0 0 0 189 High_Fly_Writes 0x003a 100 100 000Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 068 063 045Old_age Always - 32 (Min/Max 23/36) 191 G-Sense_Error_Rate 0x0032 100 100 000Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always - 11 193 Load_Cycle_Count0x0032 001 001 000Old_age Always - 276725 194 Temperature_Celsius 0x0022 032 040 000Old_age Always - 32 (0 17 0 0 0) 197 Current_Pending_Sector 0x0012 088 088 000Old_age Always - 1984 198 Offline_Uncorrectable 0x0010 088 088 000Old_age Offline - 1984 199 UDMA_CRC_Error_Count0x003e 200 200 000Old_age Always - 0 240 Head_Flying_Hours 0x 100 253 000Old_age Offline - 18810h+14m+31.520s 241 Total_LBAs_Written 0x 100 253 000Old_age Offline - 110684232213092 242 Total_LBAs_Read 0x 100 253 000Old_age Offline - 92603114597547 I thought I would check this thing manually just to be nosy. When I saw the errors, I then