Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread KatolaZ
On Sun, Mar 13, 2016 at 02:41:28PM +1300, Daniel Reurich wrote:

[cut]

> 
> rpi1 and rpi0 both use the same chip which is armv6 abi but with a
> floating point unit
> 
> armel is armv6 with out the floating point support.
> 

I know that armel should work, but the problem is that raspbian calls
"armhf" a port that is compiled for arm6+FP2 (which is not a full
FPU), while the "standard" armhf in Debian/Devuan is compiled for
arm7, which instead includes a fully functional FPU by default. 

This means that when I pull packages from the Devuan repo on an rpi0
with Raspbian, apt looks for armhf packages but gets arm7 packages
instead of the arm6+FP2 it would expect. And you get plenty of
SIGILL. And your system is unusable. And you are back to square one.

Then I built a toolchain to arm6+FP2, which works, and cross-compiled
a few things (basically, almost all the packages of a minimal system)
which run smoothly on the rpi0. I haven't had time to provide a
functioning image, but that is my goal (see previous emails). I
believe that we should put energy on such port once Jessie is out,
though.

My2Cents

KatolaZ

-- 
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread Daniel Reurich
On 13/03/16 09:28, KatolaZ wrote:
> On Sat, Mar 12, 2016 at 07:54:19PM +0100, Dr. Nikolaus Klepp wrote:
> 
> 
> [cut]
> 
>>>
>>> I haven't said I gave up on the rpi0/1 port of Devuan. I have said
>>> that it would be difficult to maintain it, if we ever get to put it in
>>> place. 
>>
>> I might miss the whole point of this discussion, but I have a RPi 1 A + fvwm 
>> + devuan running without any problem. But it started with the "official" 
>> wheezy raspbian image ...
>>
> 
> Now I am the one who has missed the whole point then, since the armhf
> packages of Devuan should not run on the arm6 you have on the rpi1. 
>
that's incorrect, armhf is arm7 abi with vector floating point support.

rpi1 and rpi0 both use the same chip which is armv6 abi but with a
floating point unit

armel is armv6 with out the floating point support.

> I tried myself with the rpi0 (see the initial thread, a few weeks
> ago), dist-upgraded a raspbian to Devuan Jessie and got plenty of
> SIGILL (Illegal instruction), which made the system unusable after the
> dist-upgrade. I tried the procedure twice, with identical results.
> 
Yup, it would have worked with armel though but slow for the devuan
pacakges.

> To the best of my knowledge, the rpi0 should be identical to the rpi1,
> except from the form factor, so there should be something wrong
> somewhere, but I can't see neither what nor where it is
>


yup.


-- 
Daniel Reurich
Centurion Computer Technology (2005) Ltd.
021 797 722



signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread Daniel Reurich
On 07/03/16 21:19, Arnt Karlsen wrote:
> On Mon, 7 Mar 2016 07:39:13 +, KatolaZ wrote in message 
> <20160307073913.gn13...@katolaz.homeunix.net>:
> 
>> On Sun, Mar 06, 2016 at 10:53:51AM -0600, Nate Bargmann wrote:
>>> * On 2016 06 Mar 02:51 -0600, aitor_czr wrote:
 Hi all,

 I just uploaded an image of Devuan for Raspberry Pi 2 with LXDE.
>>>
>>> My guess is this will not run on the original Pi model B?
>>>
>>> - Nate
>>>
>>
>> It probably won't, since rpi2 is armhf, while rpi1 and rpi0 are midway
>> between armel and armhf. I have been running a few test with a custom
>> toolchain to make a bootable image for rpi0/1. The base system works
>> (single-user with bash and busybox, now I might play a bit around to
>> have coreutils instead), even if there are a few tweaks to
>> implement. 
>>
>> The problem is that this would be an almost completely independent
>> port, for which we might not have enough energy though. It would be
>> good to have a pivuan for armv6 + FP2 for rpi0, but it is true that
>> with the new rpi3 it would be far better and easier to invest time in
>> a pivuan for armhf, which is what aitor is rightfully doing. The
>> packages are already there, and there is no need to support another
>> port...
> 
> ..this means Devuan is _not_ the answer for the millions of 
> armv6+FP2/rpi0/1 users out there.  
> Pity, we could have used them here.
> 

For jessie you're probably right, but I am keen once Jessie is out to
look at building the entire debian archive, and that would make it
possible to have a native arm6+FP2 (arm6hf??) build of devuan as a side
effect.


-- 
Daniel Reurich
Centurion Computer Technology (2005) Ltd.
021 797 722



signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread KatolaZ
On Sat, Mar 12, 2016 at 07:54:19PM +0100, Dr. Nikolaus Klepp wrote:


[cut]

> > 
> > I haven't said I gave up on the rpi0/1 port of Devuan. I have said
> > that it would be difficult to maintain it, if we ever get to put it in
> > place. 
> 
> I might miss the whole point of this discussion, but I have a RPi 1 A + fvwm 
> + devuan running without any problem. But it started with the "official" 
> wheezy raspbian image ...
> 

Now I am the one who has missed the whole point then, since the armhf
packages of Devuan should not run on the arm6 you have on the rpi1. 

I tried myself with the rpi0 (see the initial thread, a few weeks
ago), dist-upgraded a raspbian to Devuan Jessie and got plenty of
SIGILL (Illegal instruction), which made the system unusable after the
dist-upgrade. I tried the procedure twice, with identical results.

To the best of my knowledge, the rpi0 should be identical to the rpi1,
except from the form factor, so there should be something wrong
somewhere, but I can't see neither what nor where it is

HND

KatolaZ

-- 
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread Dr. Nikolaus Klepp
Am Samstag, 12. März 2016 schrieb KatolaZ:
> On Mon, Mar 07, 2016 at 09:19:14AM +0100, Arnt Karlsen wrote:
> 
> [cut]
> 
> > > good to have a pivuan for armv6 + FP2 for rpi0, but it is true that
> > > with the new rpi3 it would be far better and easier to invest time in
> > > a pivuan for armhf, which is what aitor is rightfully doing. The
> > > packages are already there, and there is no need to support another
> > > port...
> > 
> > ..this means Devuan is _not_ the answer for the millions of 
> > armv6+FP2/rpi0/1 users out there.  
> > Pity, we could have used them here.
> > 
> 
> 
> I haven't said I gave up on the rpi0/1 port of Devuan. I have said
> that it would be difficult to maintain it, if we ever get to put it in
> place. 

I might miss the whole point of this discussion, but I have a RPi 1 A + fvwm + 
devuan running without any problem. But it started with the "official" wheezy 
raspbian image ...

Nik



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread KatolaZ
On Mon, Mar 07, 2016 at 09:19:14AM +0100, Arnt Karlsen wrote:

[cut]

> > good to have a pivuan for armv6 + FP2 for rpi0, but it is true that
> > with the new rpi3 it would be far better and easier to invest time in
> > a pivuan for armhf, which is what aitor is rightfully doing. The
> > packages are already there, and there is no need to support another
> > port...
> 
> ..this means Devuan is _not_ the answer for the millions of 
> armv6+FP2/rpi0/1 users out there.  
> Pity, we could have used them here.
> 


I haven't said I gave up on the rpi0/1 port of Devuan. I have said
that it would be difficult to maintain it, if we ever get to put it in
place. 

HND

KatolaZ

-- 
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-12 Thread Arnt Karlsen
On Mon, 7 Mar 2016 07:39:13 +, KatolaZ wrote in message 
<20160307073913.gn13...@katolaz.homeunix.net>:

> On Sun, Mar 06, 2016 at 10:53:51AM -0600, Nate Bargmann wrote:
> > * On 2016 06 Mar 02:51 -0600, aitor_czr wrote:
> > > Hi all,
> > > 
> > > I just uploaded an image of Devuan for Raspberry Pi 2 with LXDE.
> > 
> > My guess is this will not run on the original Pi model B?
> > 
> > - Nate
> > 
> 
> It probably won't, since rpi2 is armhf, while rpi1 and rpi0 are midway
> between armel and armhf. I have been running a few test with a custom
> toolchain to make a bootable image for rpi0/1. The base system works
> (single-user with bash and busybox, now I might play a bit around to
> have coreutils instead), even if there are a few tweaks to
> implement. 
> 
> The problem is that this would be an almost completely independent
> port, for which we might not have enough energy though. It would be
> good to have a pivuan for armv6 + FP2 for rpi0, but it is true that
> with the new rpi3 it would be far better and easier to invest time in
> a pivuan for armhf, which is what aitor is rightfully doing. The
> packages are already there, and there is no need to support another
> port...

..this means Devuan is _not_ the answer for the millions of 
armv6+FP2/rpi0/1 users out there.  
Pity, we could have used them here.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread KatolaZ
On Sun, Mar 06, 2016 at 10:53:51AM -0600, Nate Bargmann wrote:
> * On 2016 06 Mar 02:51 -0600, aitor_czr wrote:
> > Hi all,
> > 
> > I just uploaded an image of Devuan for Raspberry Pi 2 with LXDE.
> 
> My guess is this will not run on the original Pi model B?
> 
> - Nate
> 

It probably won't, since rpi2 is armhf, while rpi1 and rpi0 are midway
between armel and armhf. I have been running a few test with a custom
toolchain to make a bootable image for rpi0/1. The base system works
(single-user with bash and busybox, now I might play a bit around to
have coreutils instead), even if there are a few tweaks to
implement. 

The problem is that this would be an almost completely independent
port, for which we might not have enough energy though. It would be
good to have a pivuan for armv6 + FP2 for rpi0, but it is true that
with the new rpi3 it would be far better and easier to invest time in
a pivuan for armhf, which is what aitor is rightfully doing. The
packages are already there, and there is no need to support another
port...

HND

KatolaZ

-- 
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread Steve Litt
On Sun, 6 Mar 2016 12:06:42 +0100
"Ivan J."  wrote:


> Another thing is, you might need polkit/consolekit to run it
> unprivileged.

I think polkit and consolekit are the kind of thing we're trying to
stay away from. Why not just make a group and put the group in sudoers?

SteveT

Steve Litt 
March 2016 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread Nate Bargmann
* On 2016 06 Mar 02:51 -0600, aitor_czr wrote:
> Hi all,
> 
> I just uploaded an image of Devuan for Raspberry Pi 2 with LXDE.

My guess is this will not run on the original Pi model B?

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread aitor_czr


Thanks Ivan,

On 06/03/16 12:00, "Ivan J."  wrote:

To address that issue, you might try
# echo "needs_root_rights = yes" > /etc/X11/Xwrapper.config

Another thing is, you might need polkit/consolekit to run it
unprivileged.
--


I think it was a problem of free space in the disk. Maybe i resized the 
rootfs, but i did not save the changes. If there is not space in the 
disk, you won't be able to start Xsessions. I tested it again, and it works.


So..., sharing it again :)

You will need to change the date. The format is:

date 03061350

This is: mounth=03, day=06, hour=13, minuts=50

This is my first image for raspberry. So, *use it at your own risk*

  Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread Rainer Weikusat
aitor_czr  writes:
> Mmmm... There is a bug.  I can't start Xsession as "pi", only as
> "root". So, i remove the image. I will rectify this issue along the
> day.

That's not a fug. It's a beature. It makes the system
oh-so-much-more-secure against undesirable invididuals using graphics
hardware the claywand dosplay bananager will never support.

This already featured here a couple of times: For no particular reason, X is no
longer setuid-0 in "current Debian", hence, starting it as unprivileged
user without 'suitable middleware' won't work. There's reportedly a
wrapper package available restoring this feature.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread Ivan J.
To address that issue, you might try
# echo "needs_root_rights = yes" > /etc/X11/Xwrapper.config

Another thing is, you might need polkit/consolekit to run it
unprivileged.


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread aitor_czr
Mmmm... There is a bug.  I can't start Xsession as "pi", only as "root". 
So, i remove the image. I will rectify this issue along the day.


Sorry.

  Aitor.

On 06/03/16 10:42, aitor_czr wrote:

Hi again,

On 06/03/16 08:49, aitor_czr wrote:

Hi all,

I just uploaded an image of Devuan for Raspberry Pi 2 with LXDE. 
Download zone:


http://gnuinos.org/raspberry/

User: "pi"
Password: "raspberry"

The password for root is also "raspberry".

Cheers,

  Aitor.


You must type the following:

cat unofficial-devuan-rpi2_armhf.img.gz | gzip -dc | dd of=/dev/sdX

where sdX is your SD card.

This will create two partitions in the SD card. The first one is the 
bootloader, in FAT16. The second one is the rootfs, in ext4. *You have 
to expand this partition with gparted*


  Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Rpi2 Lxde

2016-03-06 Thread aitor_czr

Hi again,

On 06/03/16 08:49, aitor_czr wrote:

Hi all,

I just uploaded an image of Devuan for Raspberry Pi 2 with LXDE. 
Download zone:


http://gnuinos.org/raspberry/

User: "pi"
Password: "raspberry"

The password for root is also "raspberry".

Cheers,

  Aitor.


You must type the following:

cat unofficial-devuan-rpi2_armhf.img.gz | gzip -dc | dd of=/dev/sdX

where sdX is your SD card.

This will create two partitions in the SD card. The first one is the 
bootloader, in FAT16. The second one is the rootfs, in ext4. *You have 
to expand this partition with gparted*


  Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng