Re: [gentoo-user] git clone tricks

2015-09-04 Thread Michel Catudal

Le 2015-09-04 11:51, James a écrit :

hello,

So I'm still learning the tricks of git..

I tried all sorts of things suggested on the net, but I cannot
seem to find a way to clone this site:

https://gitweb.gentoo.org/proj/gli.git/tree/

This site does not exist::
https://gentoo.org/proj/gli.git/

Ideas or alternate archive sites are most appreciated.

wwk,
James






It will work with https://anongit.gentoo.org/git/proj/gli.git


Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] advice on transitioning from package.use file to package.use directory

2015-09-01 Thread Michel Catudal

Le 2015-09-01 06:21, Bill Kenworthy a écrit :

Hey! - I am not the only one doing this then :)

And it was also because of a cross-compiler.  When I looked at how much
extra work this type fragmentation causes, and how little (or any!)
advantage it gives makes one wonder about the designers sanity ...

BillK




I think that it is a very good idea. You can have several files in that 
directory. For example you can have one for anything to do with app that need a 
lot of override, this is needed a lot for MIPS and ARM ports.

Enven on a PC with AMD64 that can be usefull

michel@michel ~ $ dir /etc/portage/package.use/
total 28
drwxr-xr-x  2 root root 4096  1 sep 10:59 .
drwxr-xr-x 14 root root 4096  5 aoû 23:11 ..
-rw-r--r--  1 root root  326 30 jun 19:57 cross-armv7a-hardfloat-linux-gnueabi
-rw-r--r--  1 root root  366  1 jui 12:01 cross-mipsel-hardfloat-linux-gnueabi
-rw-r--r--  1 root root   33 22 fév  2015 iputils
-rw-r--r--  1 root root 1988  1 jui 21:36 misc.use


The misc.use on my ARM boards is getting a little big so I will split it in 
pieces to make it more readable.
When you need to add stuff, a big file is not as easy to handle. Having 
multiple files makes this very handy.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




[gentoo-user] MIPS question

2015-09-01 Thread Michel Catudal

What would be the HOST name for a MIPS achitecture that is 32 bit, little 
Endian and hardfloat. I have no interest whatsoever for a soft float system.

I want a hardfloat MIPS gentoo for the MIPS creator. I am not sure if the one that Imagination has is hard float or soft float. In the same light, is the stage available for MIPS 32 bit little Endian is hard float of soft float? If there is a hard float 
stage which one is it? If not I will have to figure out how to convert one or create one from scratch.


For hard float with ARM the word hardfloat is in the HOST name so it is obvious 
which one is hard float and which one isn't.

Thanks

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] MIPS question

2015-09-01 Thread Michel Catudal

Le 2015-09-01 11:11, Michel Catudal a écrit :

What would be the HOST name for a MIPS achitecture that is 32 bit, little 
Endian and hardfloat. I have no interest whatsoever for a soft float system.

I want a hardfloat MIPS gentoo for the MIPS creator. I am not sure if the one that Imagination has is hard float or soft float. In the same light, is the stage available for MIPS 32 bit little Endian is hard float of soft float? If there is a hard float 
stage which one is it? If not I will have to figure out how to convert one or create one from scratch.


For hard float with ARM the word hardfloat is in the HOST name so it is obvious 
which one is hard float and which one isn't.

Thanks

Michel


I meant CHOST not HOST

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Advantages or disadvantages of use package.use as directory

2015-08-30 Thread Michel Catudal

Le 2015-08-30 12:41, wraeth a écrit :

I wonder if there is some advantage to leaving things as my
installation has created them or should I revert to the old way
where package.use is file... not a directory.

There's no specific advantage to using separate files within a
directory to using a single monolithic file other than manageability
and some utilities, as far as I'm aware.


I think that having separate directories makes things much easier to manage 
when your system divert in major ways from the official ones.

For example in my ARM (and soon MIPS on the Creator) linux I want the mate desktop but not all packages have been tested and approved so I need a lot of entries to get them to compile. I do not want an entirely unstable system so I start with the stable 
one and customize, only using package that I consider stable enough for my use. Having multiple files makes my life easier.


Even if you do not need this kind of stuff it can still be usefull, why cram 
everything in one file!

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] system uptime

2015-08-30 Thread Michel Catudal

Le 2015-08-30 00:04, Philip Webb a écrit :

How long do desktop users typically leave their systems between reboots ?
How long between power off/on's ?

I've long been in the habit of switching everything off while I sleep,
then restarting after I've woken  got going again myself.
However recently, I've run into delays getting my router
(only  1  device attached) to shake hands successfully with my ISP's server,
which have been requiring several power off/on's before it works.
As a result, I've started rebooting only after my weekly system update
-- it means I get to use the new versions of everything --
 not powering off at all ; the monitor + Xscreensaver are off
whenever I'm away from the machine for  = 1 hr  (approx).

Are there any pro's/con's I sb aware of ?


For reboots many users may choose to reboot when they do changes, perhaps habit 
from windows or OS/2. It is usually not necessary unless you change your kernel 
or bootloader.

As for shutdowns there are several arguments for and against. What often kills 
electronic is the shock between hot and cold so there is an argument about 
keeping the system on.
Whether it is always safe to keep the computer on all the time remains to be proven. My son always leaves his computer on and I had to recently replace it, the mother board was gone. Mine which was purchased around the same time has had no issues, I 
shutdown every night unless I need to do some updates. An argument against it would be wasting energy. Computers are cheap, so are hard disk. Unless you run a server that has to be on all the time there is no logic in keeping the computer on unless you can 
get it to go sleep.


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] system uptime

2015-08-30 Thread Michel Catudal

Le 2015-08-30 11:56, Peter Humphrey a écrit :

On Sunday 30 August 2015 00:04:43 Philip Webb wrote:

How long do desktop users typically leave their systems between reboots ?
How long between power off/on's ?

I've long been in the habit of switching everything off while I sleep,
then restarting after I've woken  got going again myself.
However recently, I've run into delays getting my router
(only  1  device attached) to shake hands successfully with my ISP's server,
which have been requiring several power off/on's before it works.
As a result, I've started rebooting only after my weekly system update
-- it means I get to use the new versions of everything --
 not powering off at all ; the monitor + Xscreensaver are off
whenever I'm away from the machine for  = 1 hr  (approx).

Are there any pro's/con's I sb aware of ?

No-one has yet mentioned taking backups. I'm still using a brute-force
approach, in which I shut down each of my two machines once a week to make a
backup to external disk. Otherwise they're on 24 hours a day running BOINC
projects. On the desktop PC kmail makes a daily archive of messages, and once
a day a cron job copies my user directory to /home/me.bu/ .

I know it burns energy but I'm prepared to make my small contribution to what
I think is a good cause.

Backups are vital for a server in company. At work we do a backup every day. At home, it depends how important your stuff is. For pictures you should always copy them on DVD. I regularly backup pictures for people who have ususable windows systems, for 
them the pictures are the most important stuff but they do not back them up.


Personally I don't like to do regular backups because that involves too many 
DVDs. I probably should do my backups more often.
I do have 3 2TB hard disks with important data copied on each for redudancy. I 
also have some backups on a 500G driver which is not powered usually. I also 
make some backup on DVDs sometimes.
Anything that is of extreme importance I have in several DVDs which I make copies of every few months. I remembered that in the early days of CD that their life was rather limited and am not taking chances on DVD even though I think the technology is a lot 
better.


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: Grub1: Cant ? Re: keeping grub 1

2015-08-29 Thread Michel Catudal

Le 2015-08-28 07:24, Tom H a écrit :

On Thu, Aug 27, 2015 at 10:19 AM, Grant Edwards
grant.b.edwa...@gmail.com wrote:

On 2015-08-27, Mike Gilbert flop...@gentoo.org wrote:

On Wed, Aug 26, 2015 at 6:27 PM, Michel Catudal mcatu...@comcast.net wrote:

I've had serious problems in the past getting to to install on a partition
and gave up. Is that bug fixed? It insists on installing on the MBR which is
unacceptable.

It's not a bug, and it won't be fixed. Installing on a partition is
simply not supported.

So, grub2 refuses to share power and cooperate with another bootloader.
Bill Gates would be pround.

For those of us with multiple Linux installations on a disk, that's a
pretty big reason to stick with grub-legacy.

You can boot multiple installations via grub2 with os-prober.



You have to be able to boot the os that grub is installed on to be able to fix 
booting issues. If the OS that has control of grub2 is wacked you are screwed.
At least with a bootloader that independant of any operating system and with a 
nice graphic interface it is a piece of cake to fix things since you do not 
ever lose your bootloader unless you let grub write on the MBR or on your 
bootloader partition.

I know that you can boot on grub if it is not wiped but the interface is not friendly at all and if you do not remember the syntax you are screwed. Until grub becomes a nice real bootloader with a friendly user interface it cannot be allowed to be the sole 
controller of booting.


Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-29 Thread Michel Catudal

Le 2015-08-28 07:55, Tom H a écrit :

On Thu, Aug 27, 2015 at 7:36 PM, Michel Catudal mcatu...@comcast.net wrote:

Le 2015-08-27 15:18, Fernando Rodriguez a écrit :

Who are you to tell them what they should work on? They're acting like
FOSS developers, many of whom work for free or underpaid so they work on
whatever the fuck they want. The problem with FOSS is that we have too many
idiots that like to rant about what they don't like instead of doing
something about it. If all those energies went to improving the software
FOSS would be so much better.

No one is asking them to do that. As mentioned before it works with some
override. A solution to the problem would be to remove the arrogance toward
people who want grub on a partition and remove the part in the installer
that refuses to install it unless you give it an override. If I say write
the bootloader on the partition, that should work as requested, they can
still write a comment that they do not like us doing it but should not keep
us from doing it. If it doesn't work we will see it soon enough.

So you want the Gentoo grub2 maintainer to patch grub2 to remove the
warning about partitions and the need for --force so that you can
use grub2-install /dev/sda1?

Isn't simpleer and more efficient for you to use --force?!


By having this messages it makes the maintainers of some distributions assume that it is impossible and will do everything in their power to not allow you to install on the partition. That is the old Microsoft way of protecting the user against himself. 
That is fine for morons but people who know what they are doing should be allowed to wacked their system when they do stupid thing.


You probably know a few Linux distributions targeted to people who shouldn't be allowed anywere near a computer. So if we decide to install one of those to help one of those users we have some problem. Once I had that it got remove and I had to answer to 
the user, sorry I cannot allow this crappy linux distribution on my computer.


Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: Grub1: Cant ? Re: keeping grub 1

2015-08-29 Thread Michel Catudal

Le 2015-08-28 05:24, Neil Bothwick a écrit :

On Thu, 27 Aug 2015 19:34:30 + (UTC), Grant Edwards wrote:


I know it has worked in the past, and I know that recent versions of
some distros that use Grub2 still allow you to pick a partition for
the bootloader during the install.

I'm installing openSUSE 13.2 into a VM right now and the *default*
location for installing GRUB2 is a partition! So what's all the fuss
about?



Not all distributions are Microsoft type. Fedora comes to mind.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: Grub1: Cant ? Re: keeping grub 1

2015-08-29 Thread Michel Catudal

Le 2015-08-29 12:57, Mike Gilbert a écrit :
If you want an OS-independent boot loader, the syslinux family of boot loaders might be a good choice for you. Or keep using grub legacy. Just don't expect either of them to be able to boot Linux from ZFS, or ext4 on lvm on luks. That's where grub2 
comes in handy. 


Thanks, I will look a that. All I care about booting on is ext4. I used to have 
reiserfs but since the guy in charge is in jail I switched to ext4.
For windows I use a separate PC. I might do the same thing with ecomstation 
eventually.

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: Grub1: Cant ? Re: keeping grub 1

2015-08-29 Thread Michel Catudal

Le 2015-08-29 16:56, Neil Bothwick a écrit :

On Sat, 29 Aug 2015 12:00:51 -0400, Michel Catudal wrote:


I'm installing openSUSE 13.2 into a VM right now and the *default*
location for installing GRUB2 is a partition! So what's all the fuss
about?

Not all distributions are Microsoft type. Fedora comes to mind.

WTF are you on about? You complain that GRUB2 can't install to a
partition, and call such restrictions Microsoft-like. I point out that
openSUSE does indeed install GRUB2 to a partition, just ike you want, and
now you call them Microsoft-like?

So in your view, installing to  the MBR is dictatorial like Microsoft
while installing to a partition like you say you want is also Microsoft
like? I think you should take Alan's advice.



You should read more carefully, I mentioned that some distributions do not 
allow it. Someone mentioned that Fedora won't let you.
I did succeed with Fedora but not during the normal installation. I have never 
had problems with SuSE which used to be my favorite
before I started using gentoo and funtoo.

Forcing to use only one operating system to control the PC is dictatorial. When 
I buy a computer I want to be in total control. When I have several OS 
installed I do not want one of them wiping out my bootloader access.

My main system is gentoo and when I goof on an update I fall back on funtoo 
until I get time to fix the issue. My other installs are SuSE, Fedora. I also 
had centos and scientific linux before one of my hard disks died. I will 
probably install them again.

Matter closed as I am getting bored discussing the issue, since both sides will never agree on the subject there is no point in talking any more about it. Some people just will never understand the necessity for us doing the kind of work I do for the need 
to have a reliable bootloader that is independant of any OS.


Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-28 Thread Michel Catudal

Le 2015-08-27 23:36, Fernando Rodriguez a écrit :

On Thursday, August 27, 2015 9:25:01 PM Michel Catudal wrote:

This is nonsense. I have never had a case where it would not boot when I

have grub correctly installed on the partition.

Install grub to a partition and do something like this:

su
cd
mv /boot/grub grub
cp -r grub /boot
rm -r grub


What is your point? same if I do that with grub1, it was even more fun with windows 98 by 
deleting win.ini or renaming it win .ini
With grub on the partition my bootloader doesn't get wacked and I can restore 
the OS if I do a stupid thing like this.


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-27 Thread Michel Catudal

Le 2015-08-27 14:23, Fernando Rodriguez a écrit :


I just got it to work with these steps:

1. Mount the partition to /mnt/usb
2. Run:

#grub2-install --directory /usr/lib/grub/i386-pc --boot-
directory=/mnt/usb/boot --force /dev/sdb2
Installing for i386-pc platform.
grub2-install: warning: File system `ext2' doesn't support embedding.
grub2-install: warning: Embedding is not possible.  GRUB can only be installed
in this setup by using blocklists.  However, blocklists are UNRELIABLE and
their use is discouraged..
Installation finished. No error reported.

3. Set the partition as active with fdisk.

And it booted. To verify that it didn't overwrite the mbr I overwrote it with
syslinux's mbr as follows:

sudo dd conv=notrunc bs=440 count=1 if=/usr/share/syslinux/mbr.bin of=/dev/sdb

Still boots!




Thanks for the info. I will use this next time. How do you tell it to use some 
other display beside display for the blind?

I don't care for the automatic ways of grub2, I prefer to edit the boot file by 
hand and have a nice command line screen.
With grub1 you just tell it what type of display you want.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-27 Thread Michel Catudal

Le 2015-08-27 15:18, Fernando Rodriguez a écrit :
Who are you to tell them what they should work on? They're acting like FOSS developers, many of whom work for free or underpaid so they work on whatever the fuck they want. The problem with FOSS is that we have too many idiots that like to rant about 
what they don't like instead of doing something about it. If all those energies went to improving the software FOSS would be so much better. 


No one is asking them to do that. As mentioned before it works with some override. A solution to the problem would be to remove the arrogance toward people who want grub on a partition and remove the part in the installer that refuses to install it unless 
you give it an override. If I say write the bootloader on the partition, that should work as requested, they can still write a comment that they do not like us doing it but should not keep us from doing it. If it doesn't work we will see it soon enough.



Michel


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-27 Thread Michel Catudal

Le 2015-08-27 13:16, Alan Mackenzie a écrit :

On Thu, Aug 27, 2015 at 04:50:15PM +, mcatu...@comcast.net wrote:


The maintainers of grub are basically acting like dictators much like
Microsoft. The whole point of using Linux was to have complete control
of the PC. Who those morons think they are to tell me what I should use
to boot Operating systems on my computer?
Just to point out that the unparliamentary language is not going to
contribute towards any solution.  For all we know, some of the relevant
maintainers might be Gentoo users subscribed to this list, and slagging
them off isn't helpful.


The language toward us is not much nicer. There is some arrogance from the 
other side of the issue.
We've been fighting this for years. It is a lie to say that it cannot install 
on a partition. What makes it not install is the installer that refuses to 
install it.
One one install I was able to do this (with Fedora) by passing an argument to 
force it to install on the partition.

As another gentoo user says so well, it is them wanting to be the only 
bootloader, so Microsoft.

We want to be free from Microsoft, not just replace a dictator with another one.

You may love it but there are many of us who hate it with a passion.

The bottom line is that we have to use grub 1 or lilo until grub 2 is fixed or 
forked by someone who is interested to fix it.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-27 Thread Michel Catudal

Le 2015-08-27 20:31, Jeremi Piotrowski a écrit :

On Fri, 28 Aug 2015, Michel Catudal wrote:


No one is asking them to do that. As mentioned before it works with some
override. A solution to the problem would be to remove the arrogance toward
people who want grub on a partition and remove the part in the installer that
refuses to install it unless you give it an override.

To me they are dealing with this in the right way. As the developers they
have to decide what setups they want to support as the spectrum is huge
and manpower is limited.

There are problems with installing grub to a partition, read [1].
Therefore it is not supported and not allowed by default, because if they
don't do this people:

 1. _will_ try installing to a partition
 2. _will_ render their system unbootable
 3. _will_ come running for help and complaining
 4. _will_ get angry when you tell them `I told you so'

Seems perfectly legit to want to spare yourself this trouble.


This is nonsense. I have never had a case where it would not boot when I have grub correctly installed on the partition. By having each distribution with its own bootloader they do not mess things up for the other. I keep 4 different linux distributions on 
my computer plus Ecomstation. If in one experiment I goof on one distribution I have some others to help me recover. If one of the distributions that messes up is in control of the boot loader I am screwed. I do not want any operating system in charge of 
the bootloader, isn't that clear enough?


If grub ever messes up the partition that will be because they added some 
troyan functions to piss off people who disagree with their ownership of the 
whole computer.


If I say write the
bootloader on the partition, that should work as requested, they can still
write a comment that they do not like us doing it but should not keep us from
doing it. If it doesn't work we will see it soon enough.


I don't get you - that _is_ exactly what they are doing. You say 'write
bootloader to partition' by adding the force flag and grub2 complains but
does what it is told.

[1]: https://bbs.archlinux.org/viewtopic.php?pid=1229097#p1229097




You missed the point, I do not want some installation treating me like a child 
by denying an install to protect me against myself. If I mess up my system it 
is nobody's business but mine.


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-27 Thread Michel Catudal

Le 2015-08-27 21:50, Rich Freeman a écrit :

On Thu, Aug 27, 2015 at 9:25 PM, Michel Catudal mcatu...@comcast.net wrote:

You missed the point, I do not want some installation treating me like a child 
by denying an install to protect me against myself. If I mess up my system it 
is nobody's business but mine.


Well, then quit acting like a child and patch it to work the way you
want it to work.  :)



Right now grub1 works for me. I have no plan to fork grub2 as long as grub1 
works. When I can no longer use grub1 I will have to look at that option.

Commenting on dictatorial behavior by some developper is not acting like a 
child, it is just defending a point.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1

2015-08-26 Thread Michel Catudal

Le 2015-08-26 13:37, Fernando Rodriguez a écrit :


This may not be complete and some of these may be possible to some extent with
legacy grub:

1. Grub Legacy is 32-bit only, so you need 32-bit libraries or use grub-
static. Grub2 is portable, even beyond Intel architectures.
2. Grub2 has been rewritten to be modular. Instead of Grub's stages model it
uses a core image and a bunch of modules.
3. EFI support without chainloading or other hacks.
4. Better filesystem support. Including loopback devices.
5. Graphics and theming support.
6. Grub2's config file (the one it tells you not to edit manually) is scriptable
using a shell-like script language.
7. Password support for each entry.




I've had serious problems in the past getting to to install on a partition and 
gave up. Is that bug fixed? It insists on installing on the MBR which is 
unacceptable.

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules

2015-08-19 Thread Michel Catudal

Le 2015-08-19 19:14, Michael Orlitzky a écrit :

On 08/19/2015 06:21 PM, Rich Freeman wrote:

Copyright law makes everything illegal. Downloading the source and
reading it is illegal. Why wouldn't it be illegal? The copyright holders
have made it clear that you have no license to do so.


If I distribute a binary kernel module, I'm not copying anything that
I didn't write.  I'm the copyright holder of the binary kernel module.


Anything you can do without the kernel source code is legal, sure. But
we're talking about...

1. Downloading the kernel source (making a copy of) it.
2. Patching it.
3. Linking it with closed source code.
4. Distributing the result.

(If that's not what you have in mind, maybe we are at cross purposes).

Step #1 is illegal unless you have a licence. The burden of proof is on
you to show that you were allowed to do it.



That is why I want you to actually look up the letter of the law,
because if the specific action being done isn't in the letter of the
law, then those claiming copyright have an uphill battle ahead of
them.


I'm not going to go look up whatever statute says you can't make a copy
of copyrighted stuff =P




All the Linux manufacturer has to do is provide a kernel with the bullshit 
parts removed. It can provide a script to install the proprietary driver.
A judge would throw out of court any ridiculous complaint about someone 
installing a good video driver on their computer because they do not like the 
trash that came with it.

Manufacturers of video cards have plenty of customers with Winblows and MAC. 
They cannot afford to release information that their competition can use to 
steal their market share.
Business is a very competitive market, industrial espionage is not the only 
thing companies have to worry about it.

Our choice here is either to have a decent display or crap, my choice is the 
first. For the dev of the kernel to attempt to keep us from having decent 
display is uncalled for.
The day I will use nouveau instead of the good nvidia driver as my father use 
to say, in the week of three thursdays.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules

2015-08-19 Thread Michel Catudal

Le 2015-08-19 20:04, Michael Orlitzky a écrit :

On 08/19/2015 07:40 PM, Fernando Rodriguez wrote:

1. Downloading the kernel source (making a copy of) it.
2. Patching it.
3. Linking it with closed source code.
4. Distributing the result.

(If that's not what you have in mind, maybe we are at cross purposes).

Step #1 is illegal unless you have a licence. The burden of proof is on
you to show that you were allowed to do it.

You have the license, the GPL allows you to do steps 1-3.

The GPL would, if the authors granted it to you, but they don't.
Selectively quoting...

   4. You may not copy, modify, sublicense, or distribute the Program
  except as expressly provided under this License...

   5. You are not required to accept this License, since you have not
  signed it. However, nothing else grants you permission to modify
  or distribute the Program or its derivative works. These actions
  are prohibited by law if you do not accept this License...

The authors have been as clear as possible, even imposing a little
technical roadblock to the effect, that they do not grant you the GPL
under the aforementioned circumstances. The GPL faq mentions this,

https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#LinkingWithGPL

so the intent of anyone releasing their code under GPL-2 is clear.




The changes made have for reason to keep people from having an acceptable 
display. This would not hold in court.
This move from the dev could seriously hurt the community on the long run for 
many reason.

No sane person will accept a crappy display. If the dev do not care it is 
likely that they are not using Linux as a desktop so you should stick to their 
windows, mac, xbox or playstation and stop pissing off the Linux users.

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules

2015-08-19 Thread Michel Catudal

Le 2015-08-19 20:48, Michael Orlitzky a écrit :

On 08/19/2015 08:37 PM, Fernando Rodriguez wrote:

What's the purpose of these quotes?
Neither of them says it doesn't allow steps 1-3. Instead of doing selective
reading you should read the whole thing. If that's too much just read the first
few questions under General understanding of the GPL on the FAQ.


The point was that the GPL doesn't allow shit unless the copyright
holders grant you the license in the first place.



Then why is it that the changes only allows shit?

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Anyone using xfce4 with compositing turned off?

2015-08-19 Thread Michel Catudal

Le 2015-08-19 22:18, walt a écrit :

I'm seeing horrible performance from the xfce window manager (xfwm4) on
my main, everyday machine, but not on an older backup machine or on any
of the linux virtual machines I run on virtualbox.

The symptoms:  moving a window with the mouse is so slow as to be
painful, and the CPU usage (on one of four CPUs) jumps to 100% almost
immediately (xfwm4 is the culprit, see below).

If I open an xterm and run (for example) /usr/bin/marco --replace,
this sluggish behavior returns to normal immediately.

After wasting hours on google I finally noticed that I had compiled
x11-wm/xfwm4 with the xcomposite useflag disabled, so I enabled it and
re-emerged xfwm4.

Now I can get decent performance from xfwm4, but only if first I turn on
compositing by running xfwm4-tweaks-settings.  (No, not by running the
puny and feeble xfwm4-settings app:  I need to invoke a tweak to make
xfce4 an acceptable Desktop Environment on my main desktop machine.

official rant mode
I remember going through this same frustration with gnome3, which was
(and is) unusable without installing the gnome-tweak-tool package and
using it to customize settings that I still don't understand.

(That's why I finally gave up on gnome3, and I may yet give up on xfce4
and go back to mate.)

Note that I'm not turning off official rant mode yet, but I should
mention that this machine is ~amd64 with ati-drivers-15.7 and vanilla
kernel 3.14.51.  (Same problem with gentoo-sources-3.18.19, BTW.)





That is strange, disabling this crap should bring sanity back. I have always 
thought that this was designed to slow down PCs that were too fast.

Joke aside,  You must be using the free video driver, no surprise there, it is junk. Since I could only get the so called free driver on my wife's ATI video I bought her an Nvidia card and installed the proprietary driver, now it works perfectly (with 
Mate, I don't really care for gnome 3 or xfwm)


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: [~amd64] Keyboard stops working several times/day

2015-08-17 Thread Michel Catudal

Le 2015-08-17 03:17, netfab a écrit :

Le 16/08/15 à 19:27, Michel Catudal a tapoté :

the latest kernel from sunxi that supports the mali GPU (3.4.103) for
my old Mele A2000G

[offtopic]

Latest up to date (3.4.108) can be found here [1].
It also embeds patchs and fixs from armbian [2].

¹. https://github.com/dan-and/linux-sunxi
². http://forum.armbian.com/

[/offtopic]



michel linux-sunxi # make
  CHK include/linux/version.h
  CHK include/generated/utsrelease.h
make[1]: « include/generated/mach-types.h » est à jour.
  CALLscripts/checksyscalls.sh
  CHK include/generated/compile.h
  CHK kernel/config_data.h
  CC  drivers/char/sunxi_mem/sunxi_physmem.o
drivers/char/sunxi_mem/sunxi_physmem.c:22:27: erreur fatale: mach/includes.h : 
Aucun fichier ou dossier de ce type
 #include mach/includes.h
   ^
compilation terminée.
scripts/Makefile.build:307 : la recette pour la cible « 
drivers/char/sunxi_mem/sunxi_physmem.o » a échouée
make[3]: *** [drivers/char/sunxi_mem/sunxi_physmem.o] Erreur 1
scripts/Makefile.build:443 : la recette pour la cible « drivers/char/sunxi_mem 
» a échouée
make[2]: *** [drivers/char/sunxi_mem] Erreur 2
scripts/Makefile.build:443 : la recette pour la cible « drivers/char » a échouée
make[1]: *** [drivers/char] Erreur 2
Makefile:947 : la recette pour la cible « drivers » a échouée
make: *** [drivers] Erreur 2


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: installation failure

2015-08-17 Thread Michel Catudal

Le 2015-08-17 14:58, »Q« a écrit :

On Mon, 17 Aug 2015 20:46:44 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:


Er, no. You don't. You really, really REALLY don't want to go Stage
1 :-)

My second install was a stage 1, way back in the day when the stage 3s
weren't fully usable out of the box yet. My first was a stage 2 (fully
documented back then) and for the second one I decided to be brave.

I did learn something, but it really wasn't worth the effort.

For my second or third install I also used a stage 2, and I completely
agree with you.


It is always interesting to experiment with challenging stuff. I still remember 
the days when it was exciting just to be able to boot a Linux even though you 
couldn't do much with it.

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: [~amd64] Keyboard stops working several times/day

2015-08-16 Thread Michel Catudal

Le 2015-08-16 17:07, walt a écrit :

On Sun, 16 Aug 2015 21:48:04 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:


On 16/08/2015 21:42, walt wrote:

On Sun, 16 Aug 2015 18:58:27 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:
   

On 16/08/2015 18:45, walt wrote:

I've been seeing this keyboard problem for the past few weeks:
after running some command from a bash prompt (haven't tried zsh
yet) the keyboard stops working.  Almost like somebody unplugged
the keyboard from its usb port (except that the LED on the
keyboard stays lit so I know the power is still on).

There are no error messages in journalctl or
in /var/log/Xorg.0.log

I don't know how to change to a console without using a
ctrl-alt-Fn keystroke from the keyboard (anyone know if it's
possible?).

When I unplug the keyboard from the usb port I can see the kernel
recognize the unplug event, which makes me think that it's not a
kernel/usb bug or a broken wire in the keyboard cable.

When I re-plug the keyboard into a usb port the keyboard
immediately starts working normally again until the next time I
happen to trigger the problem by running some black-magical
command from a command prompt.  There is no particular command
that causes it--it can be any arbitrary command AFAICT.

Just one weird example:  I can be typing a URL in a web browser
window when a bash command finishes running in a terminal window
and the keyboard stops working in the middle of my typing :(

Any debugging suggestions would be most welcome.


First step (more to half the problem space than anything else):

Does the same happen if you use another keyboard?

I agree with your assessment -- and I will buy another usb keyboard
tomorrow because I'm using the only one I have and this machine has
no ps/2 ports.  Never thought I'd miss the ps/2 ports til now :)

I kind of assumed you'd have lots of spare keyboards lying around and
had already done the test :-)

I do have spares, all ps/2 :-(


I recall something similar happening to me,
perhaps a year ago or longer. I tried to debug it and gave up, then
one day it was no longer happening. I assumed it was a fixed kernel
bug then promptly forgot all about it.

While you are waiting on a new keyboard, do you have the same bug on
different kernels?

Affirmative, and thereby hangs yet another woeful tale.  I've been
running the gentoo-sources-3.14.xx series forever because I wearied of
spending so many hours debugging unstable kernels.

This morning I decided to take a giant leap forward all the way to
3.18.19 (BTW 3.18.20 is already on kernel.org) because, surely, I
wouldn't need to debug a kernel as old as that, right?

Wrong.  Linus and friends have been marking lots of existing kernel
symbols with the SYMBOL_EXPORT_GNU macro, which was designed to block
the loading of any kernel module not explicitly licensed as GNU
software.  (see output of modinfo)

x11-drivers/ati-drivers installs a proprietary binary blob (as does
nvidia-drivers) so the linker refused even to link the kernel module
into a .ko file, nevermind the kernel actually loading the module at
runtime.

The remedy for ati-drivers is well-hidden in a comment in a gentoo bug
report that I found at oh-dark-hundred hours this morning.  Only two
hours later I got the module installed and loaded :)

But yes, kernel 3.18.19 still has my same keyboard halting problem, so
I'm back to 3.14.50 until the ati-drivers package is patched.  I'm sure
gentoo-sources-3.18.20 will be available almost immediately and I'm not
going through that hell again.



I am running Kernel 4.0.5 with no problem with the keyboards. I did encounter one issue, I purchased a French Canadian keyboard off ebay, turned out that the computer box had to be close to the mouse/keyboard otherwise I either lost signal or it was very 
slow. It seemed that when I would connect and reconnect it would work correctly again. That mouse/keyboard combo was from HP.


Is your issue with Logitech remote mouse/keyboard? If so you may want to read 
about my experience on the subject.

I had an issue with Debian on an Olimex A20 Arm board, no issue with ArchLinux on the same board with the same kernel. I found out that the difference was some special options for HID support for Logitech that were disabled by default. Archlinux noticed 
but not debian, in the debian world they must think that nobody uses logitech devices.


This morning I downloaded the latest kernel from sunxi that supports the mali GPU (3.4.103) for my old Mele A2000G, I wanted to upgrade it to Gentoo from SuSE. Someone seemed to have backport the debian bug into it as my logitech keyboard didn't work. 
After I enabled the HID special support for Logitech, both mouse and keyboard now work perfectly.



Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] Re: [~amd64] Keyboard stops working several times/day

2015-08-16 Thread Michel Catudal

Le 2015-08-16 21:43, walt a écrit :

On Sun, 16 Aug 2015 19:27:41 -0400
Michel Catudal mcatu...@comcast.net wrote:


But yes, kernel 3.18.19 still has my same keyboard halting problem,
so I'm back to 3.14.50 until the ati-drivers package is patched.
I'm sure gentoo-sources-3.18.20 will be available almost
immediately and I'm not going through that hell again.


  

I am running Kernel 4.0.5 with no problem with the keyboards.

Okay, thanks, that's good to know.

I'm aware that I'm mixing posts about video drivers in the same thread
(that I started) about keyboard problems, but that's no accident:  both
topics involve kernel device drivers *and* differences between kernel
versions.  I think the two apparently different problems are related.

snipped for brevity


Someone seemed to have backport the debian bug
into it as my logitech keyboard didn't work.

Yes, I wonder if some of the problems I'm having are caused by the
patches to gentoo-sources and/or ati-drivers that were committed by our
gentoo devs, or are my problems coming from upstream?  I have no idea.


A patch for bugs should be checked so it doesn't create other bugs. When they 
tried to fix a problem with some keyboards they destroyed the support for 
Logitech keyboards.
I have several remote keyboards and I find them to be the ones that works the 
best.

This may not be the only part that is problematic right now in the latest 
updates in Gentoo.
Handbrake for instance no longer works. To get it to work I had to install the 
latest x264 (not the latest one from gentoo which doesn't work either)
In the process I also upgraded Handbrake to 0.10.2 which works on ArchLinux, I 
think that x264 might probably have been good enough. The  version didn't 
even compile, likely due to some gentoo patches.


After I enabled the HID
special support for Logitech, both mouse and keyboard now work
perfectly.

Heh.  I just ordered a replacement Logitech USB keyboard from
amazon.com.  I picked the Logitech because it was from a company
(Logitech) whose name I recognize, as opposed to the other keyboards
that amazon offers under its own brand.

If my new Logitech keyboard fails to work correctly I will try enabling
the special HID support in whatever kernel(s) I'm using at the moment.
(Three days from now...who knows?)






--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/