[gentoo-user] NVidia drivers and vanilla kernel Linux 4.7.0 anyone?

2016-07-29 Thread Meino . Cramer
Hi,

trying the new kernel linux-4.7 (vanilla, downloaded from
ftp.kernel.org) with nvidia drivers 
(Installed versions:  367.35-r1^md(03:00:46 07/30/16)(X driver kms
multilib uvm -acpi -compat -gtk3 -pax_kernel -static-libs -tools
-wayland KERNEL="linux -FreeBSD")).
The kernel compiled fine, the nvidia-drivers does not.

Anuone else with the same problem (read: This has to be
fixed by nvidia/Linus) or am I the only one (so it is
my problem...which does not neccessarily imply that I
know how to fix that ... ;) ???

Best regards
Meino






[gentoo-user] Re: icons and KDE

2016-07-29 Thread »Q«
On Fri, 29 Jul 2016 14:11:58 +0100
Stroller  wrote:

> > On 28 Jul 2016, at 20:22, »Q«  wrote:
> > 
> > Yesterday, I went from kde-plasma/plasma-desktop-5.5.5-r1 to -5.6.5,
> > after which I am not seeing nearly as many icons as I used to.  A
> > lot of other KDE packages were upgraded as well, and I don't know
> > where to start with troubleshooting.
> > 
> > In Dolphin, I no longer see icons for flac or mp3 files, just blank
> > space where an icon should be.  I haven't checked other file
> > types.  
> 
> 
> The place to start with troubleshooting is with some creative
> investigation.
> 
> `genlop -l --date "2016/07/28"` will show you all packages installed
> in the last 2 days - grep the output for "icon" and "theme".
> 
> Use `eix -I icon` to see what relevant packages are installed on your
> system. Now the same for `eix -I theme`.
> 
> If any of the installed icon or theme packages have not been updated
> in the last 2 days, update them.
> 
> I speculate that kde-plasma/plasma-desktop depends on packages X and
> Y, and between -5.5.5 and -5.6.5 some icons were moved from one
> package to the other.

The file-type icons are still be where they should be, but for some
reason they were no longer associated with their respective
mime types.  I've now solved the problem for them by going to the 'file
association' part of system settings and editing the icons for the mime
types which were missing icons.

The program icons which do not show up in the Quicklaunches haven't
changed on my system.  They also don't show up in the Kmenu, which uses
the same .desktop files -- I didn't realize that before because I
rarely look at the menu.  AFAICS, all the icons that no longer show up
in the menu or the launchers are in /usr/share/pixmaps/.  I can use
kmenuedit, which I think edits the .desktop files, to select the icons
which should be displayed, but they're still not displayed.

> Surely there are things you can try before posting here. I feel
> unkind saying this, so I apologise, but at the least you could have
> posted a list of the packages that you installed yesterday. 

Just the ones with 'theme|icon':

 kde-frameworks/breeze-icons-5.23.0
 kde-frameworks/oxygen-icons-5.23.0
 kde-frameworks/kemoticons-5.23.0
 kde-frameworks/kiconthemes-5.23.0

All the packages:

 kde-frameworks/extra-cmake-modules-5.23.0
 media-libs/libv4l-1.10.1
 kde-frameworks/breeze-icons-5.23.0
 kde-frameworks/oxygen-icons-5.23.0
 kde-frameworks/karchive-5.23.0-r1
 kde-plasma/breeze-gtk-5.6.5
 kde-frameworks/kitemmodels-5.23.0
 kde-frameworks/kdoctools-5.23.0
 kde-frameworks/threadweaver-5.23.0
 kde-frameworks/attica-5.23.0
 kde-plasma/kdecoration-5.6.5
 kde-frameworks/kimageformats-5.23.0
 kde-frameworks/kjs-5.23.0
 kde-frameworks/kwayland-5.23.0
 kde-frameworks/kguiaddons-5.23.0
 kde-frameworks/kplotting-5.23.0
 kde-frameworks/kidletime-5.23.0
 kde-plasma/libkscreen-5.6.5
 kde-frameworks/ki18n-5.23.0
 kde-frameworks/kcoreaddons-5.23.0
 kde-frameworks/kconfig-5.23.0
 kde-frameworks/kwidgetsaddons-5.23.0
 kde-frameworks/kwindowsystem-5.23.0
 kde-frameworks/kdbusaddons-5.23.0
 kde-frameworks/kitemviews-5.23.0
 kde-frameworks/kcodecs-5.23.0
 kde-frameworks/kunitconversion-5.23.0
 kde-frameworks/sonnet-5.23.0
 kde-frameworks/kcrash-5.23.0
 kde-frameworks/kcompletion-5.23.0
 kde-frameworks/kpty-5.23.0
 kde-frameworks/kjobwidgets-5.23.0
 kde-plasma/kwayland-integration-5.6.5
 kde-frameworks/kpackage-5.23.0
 kde-frameworks/kdnssd-5.23.0
 kde-frameworks/kglobalaccel-5.23.0-r1
 kde-frameworks/kservice-5.23.0
 kde-frameworks/kfilemetadata-5.23.0
 kde-frameworks/kjsembed-5.23.0
 kde-frameworks/solid-5.23.0
 kde-frameworks/kauth-5.23.0-r1
 kde-frameworks/kdesu-5.23.0
 kde-frameworks/kemoticons-5.23.0
 kde-frameworks/kpeople-5.23.0
 kde-frameworks/kconfigwidgets-5.23.0
 kde-frameworks/knotifications-5.23.0
 kde-frameworks/kiconthemes-5.23.0
 kde-plasma/kwrited-5.6.5
 kde-plasma/polkit-kde-agent-5.6.5
 kde-frameworks/ktextwidgets-5.23.0
 kde-frameworks/kwallet-5.23.0
 kde-frameworks/kxmlgui-5.23.0-r1
 kde-frameworks/frameworkintegration-5.23.0
 kde-frameworks/kbookmarks-5.23.0
 kde-frameworks/kio-5.23.0
 kde-frameworks/kinit-5.23.0
 kde-frameworks/kded-5.23.0
 kde-frameworks/kdeclarative-5.23.0
 kde-frameworks/kparts-5.23.0
 kde-frameworks/knotifyconfig-5.23.0
 kde-frameworks/kxmlrpcclient-5.23.0
 kde-frameworks/kcmutils-5.23.0
 kde-frameworks/knewstuff-5.23.0
 kde-frameworks/baloo-5.23.0
 kde-frameworks/khtml-5.23.0
 kde-frameworks/kdewebkit-5.23.0
 kde-frameworks/kdesignerplugin-5.23.0
 kde-frameworks/kross-5.23.0
 kde-apps/spectacle-16.04.3
 kde-plasma/oxygen-5.6.5
 kde-frameworks/ktexteditor-5.23.0
 kde-frameworks/kdelibs4support-5.23.0-r1
 kde-plasma/kde-cli-tools-5.6.5
 kde-plasma/kgamma-5.6.5
 kde-plasma/user-manager-5.6.5
 kde-plasma/kscreenlocker-5.6.5
 kde-apps/khelpcenter-5.6.2-r1
 net-libs/libproxy-0.4.13-r1
 kde-plasma/sddm-kcm-5.6.5
 kde-plasma/kde-gtk-config-5.6.5
 

Re: [gentoo-user] PostgreSQL Vs MySQL @Uber

2016-07-29 Thread Mick
On Saturday 30 Jul 2016 06:38:01 Rich Freeman wrote:
> On Sat, Jul 30, 2016 at 6:24 AM, Alan McKinnon  
wrote:
> > On 29/07/2016 22:58, Mick wrote:
> >> Interesting article explaining why Uber are moving away from PostgreSQL.
> >> I am
> >> running both DBs on different desktop PCs for akonadi and I'm also
> >> running
> >> MySQL on a number of websites.  Let's which one goes sideways first.  :p
> >> 
> >>  https://eng.uber.com/mysql-migration/
> > 
> > I don't think your akonadi and some web sites compares in any way to Uber
> > and what they do.
> > 
> > FWIW, my Dev colleagues support and entire large corporate ISP's
> > operational and customer data on PostgreSQL-9.3. With clustering. With no
> > db-related issues :-)
> 
> Agree, you'd need to be fairly large-scale to have their issues, but I
> think the article was something anybody interested in databases should
> read.  If nothing else it is a really easy to follow explanation of
> the underlying architectures.
> 
> I'll probably post this to my LUG mailing list.  I think one of the
> Postgres devs lurks there so I'm curious to his impressions.
> 
> I was a bit surprised to hear about the data corruption bug.  I've
> always considered Postgres to have a better reputation for data
> integrity.  

Yes, same here, I would be interested to hear what the Postgres dev says, 
should he respond to it.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] PostgreSQL Vs MySQL @Uber

2016-07-29 Thread Rich Freeman
On Sat, Jul 30, 2016 at 6:24 AM, Alan McKinnon  wrote:
> On 29/07/2016 22:58, Mick wrote:
>>
>> Interesting article explaining why Uber are moving away from PostgreSQL.
>> I am
>> running both DBs on different desktop PCs for akonadi and I'm also running
>> MySQL on a number of websites.  Let's which one goes sideways first.  :p
>>
>>  https://eng.uber.com/mysql-migration/
>>
>
>
> I don't think your akonadi and some web sites compares in any way to Uber
> and what they do.
>
> FWIW, my Dev colleagues support and entire large corporate ISP's operational
> and customer data on PostgreSQL-9.3. With clustering. With no db-related
> issues :-)
>

Agree, you'd need to be fairly large-scale to have their issues, but I
think the article was something anybody interested in databases should
read.  If nothing else it is a really easy to follow explanation of
the underlying architectures.

I'll probably post this to my LUG mailing list.  I think one of the
Postgres devs lurks there so I'm curious to his impressions.

I was a bit surprised to hear about the data corruption bug.  I've
always considered Postgres to have a better reputation for data
integrity.  And of course almost any FOSS project could have a bug.  I
don't know if either project does the kind of regression testing to
reliably detect this sort of issue.  I'd think that it is more likely
that the likes of Oracle would (for their flagship DB (not for MySQL),
and they'd probably be more likely to send out an engineer to beg
forgiveness while they fix your database).  Of course, if you're Uber
the hit you'd take from downtime/etc isn't made up for entirely by
having somebody take a few days to get everything fixed.

-- 
Rich



Re: [gentoo-user] PostgreSQL Vs MySQL @Uber

2016-07-29 Thread Alan McKinnon

On 29/07/2016 22:58, Mick wrote:

Interesting article explaining why Uber are moving away from PostgreSQL.  I am
running both DBs on different desktop PCs for akonadi and I'm also running
MySQL on a number of websites.  Let's which one goes sideways first.  :p

 https://eng.uber.com/mysql-migration/




I don't think your akonadi and some web sites compares in any way to 
Uber and what they do.


FWIW, my Dev colleagues support and entire large corporate ISP's 
operational and customer data on PostgreSQL-9.3. With clustering. With 
no db-related issues :-)




[gentoo-user] PostgreSQL Vs MySQL @Uber

2016-07-29 Thread Mick
Interesting article explaining why Uber are moving away from PostgreSQL.  I am 
running both DBs on different desktop PCs for akonadi and I'm also running 
MySQL on a number of websites.  Let's which one goes sideways first.  :p

 https://eng.uber.com/mysql-migration/

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: MBR & GPT dual compliant format

2016-07-29 Thread Mick
On Friday 29 Jul 2016 12:20:14 james wrote:
> On 07/29/2016 09:27 AM, R0b0t1 wrote:
> 
> 
> 
> 
> 
> I
> OK, so I have finally switch my posting to this email. Gmane.org is dead
> for now (hence my delayed responses).
> 
> [1] https://lars.ingebrigtsen.no/2016/07/28/the-end-of-gmane/
> 
> So in one thread, I'm going to post to variety of recent posts;
> recreated since I have a new email address now anyways and just got it
> setup with gentoo-user. (sorry if this makes the thread hard to follow.
> 
>  > Neil
>  > 
>  >  It's the ESP (EF00) that can be used as /boot, EF02 is a special
>  > 
>  > partition that should exist but not be used.
> 
> Agreed. The posted example partition tables (PT) were just an attempt
> to motivate any respondant to post an actual (PT) presented by whatever
> tool so I could actually see what I'm trying to drive to. Soon, later
> tonight or tomorrow, I'll post an actual attempt from recovered failures.
> 
>  > Tomh
>  > The OP wants a partition scheme for both "standard" and efi firmware,
>  > so he wants an EF02 (gdisk name) of 1MB and an EF00 (also gdisk name).
> 
> Yes, this is a key point.
> 
>  > The OP wanted the EF02 to be mounted as "/boot" so it has to be
>  > larger than 100MB in order to accomodate multiple kernels (and
>  > possibly initramfs "thingies" as they're sometimes called here).
>  > 
>  > It's the ESP (EF00) that can be used as /boot, EF02 is a
>  > special partition that should exist but not be used.
> 
> OK, my problem is I do not know exactly what this looks like. I am
> assuming I can do it all with gdisk (which is gptfdisk right)?
> 
> So this is just a starting point of what the PT & fstab cold look like
> 
> Number  Start   End SizeType File system Flags
>   1  1049kB  211MB   210MB   primary  ext2boot
>   2  211MB   139GB   138GB   primary  linux-swap(v1)
>   3  139GB   952GB   813GB   primary  ext4
>   4  952GB   2000GB  1049GB  primary  ext4
> 
> corresponding fstab::
> 
> /dev/sda1   /bootext2defaults,noatime 0 2
> /dev/sda2   none swapsw 0 0
> /dev/sda3   /  ext4defaults,noatime 0 1
> /dev/sda4   /usr/local   ext4defaults,noatime 0 1
> 
>  > David Haller
>  > You'd have to get rid of one of those partitions (I'd say /boot).
> 
> OK, I was already thinking about placing /boot under '/' anyway, as
> many of the stage-4 images I will be using in the auto-image installs
> are commonly found as using just 2 partitions anyway ('/' and swap)
> 
> The '/usr/local' will be optional depending on disk size and available
> space to provide this third partition. /usr/local will not be needed for
> boot(strap) and can be mounted after the systems is up. So /boot
> is part of / now.
> 
>  > Mick
>  > It seems you did not use gdisk or a late version of parted to created
>  > the partition table?  Modern partition tools align the logical and
>  > physical sectors to 4096B.
> 
> Yep, I just 'dogged' the PT hoping someone would create and post what it
> should look like, or copy/paste a correct example from somewhere. Sorry
> 
>  >> 1  1049kB  211MB   210MB   primary  ext2boot
>  > 
>  > Instead of ext2 follow the guide for creating a FAT fs partition with
>  > an EF00 partition type.
>  > James should set the boot flag in the partition table for /dev/sda1
>  > and mount it under /boot (or /boot/EFI) in fstab.
> 
> I'm going to do away with a separate /boot for now and 'boot' partition
> will be moved under /.
> 
>  > R0b0t1
>  > 
>  > > It seems you did not use gdisk or a late version of parted to
>  > 
>  > created the partition table?  Modern partition tools align the
>  > logical and physical sectors to 4096B.
>  > 
>  > It can be changed. SSDs are best used with 512B sectors. But, err...
> 
> Well, proper alignment was automatically taken care of with newer tools?
> That sort of perfromance issue is also critical. Eventuall, SSD and usb3
> mmc and all sorts of other media will be used, depending on the embedded
> board's supported interface mix that will work with the vendor's (board)
> bootstrap code to bring up linux.
> 
>  > The protective MBR can point to another one and you can select which
>  > GPT partitions are in it. But that's getting into some rube goldberg
>  > action.
> 
> Is this true if one is using grub-legacy?
> 
> While I'm at it (gentoo specific) what is the difference in
> sys-boot/grub-static (0.96-r1 to  0.97-r12) and sys-boot/grub (0.97-r16)
> in slot zero?
> 
> I'm assuming that sys-boot/grub-2.02_beta2-r9++ is all grub-2 with
> current enhancements.
> 
> 
> I do appreciate all the inputs, and appologize again for the
> transitioning emails, complicated by the demise of gmane.org (my fav
> reading/posting for gentoo-user).
> 
> I'm going to post back as soon as I get an actually 2T disk setup with
> all of this advise, just to check what folks think and eventually with
> the results of booting a variety of 

Re: [gentoo-user] Re: MBR & GPT dual compliant format

2016-07-29 Thread james

On 07/29/2016 09:27 AM, R0b0t1 wrote:

>
>
>

I
OK, so I have finally switch my posting to this email. Gmane.org is dead 
for now (hence my delayed responses).


[1] https://lars.ingebrigtsen.no/2016/07/28/the-end-of-gmane/

So in one thread, I'm going to post to variety of recent posts; 
recreated since I have a new email address now anyways and just got it

setup with gentoo-user. (sorry if this makes the thread hard to follow.

> Neil
>  It's the ESP (EF00) that can be used as /boot, EF02 is a special
> partition that should exist but not be used.

Agreed. The posted example partition tables (PT) were just an attempt
to motivate any respondant to post an actual (PT) presented by whatever
tool so I could actually see what I'm trying to drive to. Soon, later 
tonight or tomorrow, I'll post an actual attempt from recovered failures.


> Tomh
> The OP wants a partition scheme for both "standard" and efi firmware,
> so he wants an EF02 (gdisk name) of 1MB and an EF00 (also gdisk name).


Yes, this is a key point.

> The OP wanted the EF02 to be mounted as "/boot" so it has to be
> larger than 100MB in order to accomodate multiple kernels (and
> possibly initramfs "thingies" as they're sometimes called here).

> It's the ESP (EF00) that can be used as /boot, EF02 is a
> special partition that should exist but not be used.

OK, my problem is I do not know exactly what this looks like. I am
assuming I can do it all with gdisk (which is gptfdisk right)?

So this is just a starting point of what the PT & fstab cold look like

Number  Start   End SizeType File system Flags
 1  1049kB  211MB   210MB   primary  ext2boot
 2  211MB   139GB   138GB   primary  linux-swap(v1)
 3  139GB   952GB   813GB   primary  ext4
 4  952GB   2000GB  1049GB  primary  ext4

corresponding fstab::

/dev/sda1   /bootext2defaults,noatime 0 2
/dev/sda2   none swapsw   0 0
/dev/sda3   /ext4defaults,noatime 0 1
/dev/sda4   /usr/local   ext4defaults,noatime 0 1


> David Haller
> You'd have to get rid of one of those partitions (I'd say /boot).

OK, I was already thinking about placing /boot under '/' anyway, as
many of the stage-4 images I will be using in the auto-image installs
are commonly found as using just 2 partitions anyway ('/' and swap)

The '/usr/local' will be optional depending on disk size and available 
space to provide this third partition. /usr/local will not be needed for 
boot(strap) and can be mounted after the systems is up. So /boot

is part of / now.

> Mick
> It seems you did not use gdisk or a late version of parted to created
> the partition table?  Modern partition tools align the logical and
> physical sectors to 4096B.

Yep, I just 'dogged' the PT hoping someone would create and post what it
should look like, or copy/paste a correct example from somewhere. Sorry

>> 1  1049kB  211MB   210MB   primary  ext2boot

> Instead of ext2 follow the guide for creating a FAT fs partition with
> an EF00 partition type.
> James should set the boot flag in the partition table for /dev/sda1
> and mount it under /boot (or /boot/EFI) in fstab.

I'm going to do away with a separate /boot for now and 'boot' partition 
will be moved under /.


> R0b0t1
> > It seems you did not use gdisk or a late version of parted to
> created the partition table?  Modern partition tools align the
> logical and physical sectors to 4096B.

> It can be changed. SSDs are best used with 512B sectors. But, err...

Well, proper alignment was automatically taken care of with newer tools?
That sort of perfromance issue is also critical. Eventuall, SSD and usb3
mmc and all sorts of other media will be used, depending on the embedded
board's supported interface mix that will work with the vendor's (board) 
bootstrap code to bring up linux.


> The protective MBR can point to another one and you can select which
> GPT partitions are in it. But that's getting into some rube goldberg
> action.

Is this true if one is using grub-legacy?

While I'm at it (gentoo specific) what is the difference in 
sys-boot/grub-static (0.96-r1 to  0.97-r12) and sys-boot/grub (0.97-r16)

in slot zero?

I'm assuming that sys-boot/grub-2.02_beta2-r9++ is all grub-2 with 
current enhancements.



I do appreciate all the inputs, and appologize again for the 
transitioning emails, complicated by the demise of gmane.org (my fav 
reading/posting for gentoo-user).


I'm going to post back as soon as I get an actually 2T disk setup with
all of this advise, just to check what folks think and eventually with
the results of booting a variety of mbr systems (efi and newer embedded 
systems as they are purchased.)


I have a few SSD to experiment with now and may try some usb devices
after the spinning rust PT is happy.


James




Re: [gentoo-user] Re: MBR & GPT dual compliant format

2016-07-29 Thread R0b0t1
Fri, Jul 29, 2016 at 12:41 AM, Mick  wrote:
> On Thursday 28 Jul 2016 18:36:52 David Haller wrote:
>> Hello,
>>
>> On Tue, 26 Jul 2016, James wrote:
>> [..]
>>
>> Well, the best I found is this on the gdisk homepage:
>> http://www.rodsbooks.com/gdisk/hybrid.html
>>
>> Basically, you shouldn't. The article tackles most aspects and
>> pitfalls.
>>
>> [..]
>> > #parted -l /dev/sda
>> > Model: ATA WDC WD20EARX-00P (scsi)
>> > Disk /dev/sda: 2000GB
>> > Sector size (logical/physical): 512B/4096B
>  ^^
> It seems you did not use gdisk or a late version of parted to created the
> partition table?  Modern partition tools align the logical and physical
> sectors to 4096B.

It can be changed. SSDs are best used with 512B sectors. But, err...

> James should set the boot flag in the partition table for /dev/sda1 and mount
> it under /boot (or /boot/EFI) in fstab.
>
>> By following the example in the above webpage, it worked on a file.
>> But it is rather sure to fail if you need more than 3 partitions (as
>> one is taken for the GPT, that leaves 3 more primary ones in the MBR
>> and logical partitions is doomed to fail.
>>

The protective MBR can point to another one and you can select which
GPT partitions are in it. But that's getting into some rube goldberg
action.



Re: [gentoo-user] icons and KDE

2016-07-29 Thread Stroller

> On 28 Jul 2016, at 20:22, »Q«  wrote:
> 
> Yesterday, I went from kde-plasma/plasma-desktop-5.5.5-r1 to -5.6.5,
> after which I am not seeing nearly as many icons as I used to.  A lot
> of other KDE packages were upgraded as well, and I don't know where to
> start with troubleshooting.
> 
> In Dolphin, I no longer see icons for flac or mp3 files, just blank
> space where an icon should be.  I haven't checked other file types.


The place to start with troubleshooting is with some creative investigation.

`genlop -l --date "2016/07/28"` will show you all packages installed in the 
last 2 days - grep the output for "icon" and "theme".

Use `eix -I icon` to see what relevant packages are installed on your system. 
Now the same for `eix -I theme`.

If any of the installed icon or theme packages have not been updated in the 
last 2 days, update them.

I speculate that kde-plasma/plasma-desktop depends on packages X and Y, and 
between -5.5.5 and -5.6.5 some icons were moved from one package to the other.

Surely there are things you can try before posting here. I feel unkind saying 
this, so I apologise, but at the least you could have posted a list of the 
packages that you installed yesterday. 

Half the time I sit down to ask a question here, I solve it myself during the 
process of documenting the bug to explain my problem to the list (see ESR's 
"How To Ask Questions The Smart Way"). It's appropriate to work out what 
installed packages might be relevant, update them to the latest versions, and 
show the list that you've done this.

I think that if none of this works, it would be sensible to see if you can 
downgrade some relevant the packages that you installed yesterday (i.e. those 
with "icon" or "theme" in the name), and see if this reinstates your visual 
file-type portrayals. This is a bit more work, but it might document the 
problem sufficiently that you can document the bug at b.g.o. and help others.

Stroller