Re: Updated installation images - 2016-03-22

2016-04-07 Thread John Paul Adrian Glaubitz
Hi Knut!

On 04/07/2016 01:48 PM, Knut Petter Ølberg wrote:
> Trying to install from ftp.debian-ports.org/debian/
>  is currently just throwing "The
> installer failed to download a file from the mirror." for me atleast.
> This is in an LDOM on T5140. Any way of getting around this?
> 
> (...)
> Apr  7 03:13:49 main-menu[166]: DEBUG: resolver (libc6-udeb): package
> doesn't exist (ignored)
> (...)
> Apr  7 03:15:40 main-menu[166]: DEBUG: resolver (libc6-udeb): package

It looks like the libc6-udeb is not installable. This is most likely
related to the fact that glibc (the source package for libc6-udeb)
fails to build from source with the testsuite enabled (the same
is true for systemd, btw):

> https://buildd.debian.org/status/package.php?p=glibc=sid

Many testsuite are failing on sparc64 due to segmentation faults,
albeit the number of such cases has dropped by around 100-150
packages ever since the buildds were updated to kernel 4.5
which addresses a stack corruption bug which was responsible
for many segmentation faults we were seeing.

I will build both systemd and glibc manually tonight with
the testsuites disabled, upload them and generate a new
set of installation images.

Those should be available tomorrow.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Updated installation images - 2016-03-22

2016-04-07 Thread Knut Petter Ølberg
On 22 March 2016 at 13:48, John Paul Adrian Glaubitz <
glaub...@physik.fu-berlin.de> wrote:

> Hi!
>
> I just generated a fresh set of installation images [1].
>
> These images should fix (at least) the following two issues:
>
>  * debian-installer hangs when formatting ext2 partitions [2]
>  * missing sunvnet and sunvdc kernel modules in d-i [3]
>
> Feedback welcome.
>
> Adrian
>
> > [1] https://people.debian.org/~glaubitz/debian-cd/2016-03-22/
> > [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817174
> > [3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815977
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>
> Hi,

Trying to install from ftp.debian-ports.org/debian/ is currently just
throwing "The installer failed to download a file from the mirror." for me
atleast. This is in an LDOM on T5140. Any way of getting around this?

Apr  7 03:13:34 main-menu[166]: INFO: Menu item 'choose-mirror' selected
Apr  7 03:13:35 anna-install: Queueing udeb apt-mirror-setup for later
installation
Apr  7 03:13:46 choose-mirror[1393]: DEBUG: command: wget -q
http://ftp.debian-ports.org/debian/dists/oldstable/Release -O - | grep -E
'^(Suite|Codename|Architectures):'
Apr  7 03:13:46 choose-mirror[1393]: DEBUG: command: wget -q
http://ftp.debian-ports.org/debian/dists/stable/Release -O - | grep -E
'^(Suite|Codename|Architectures):'
Apr  7 03:13:47 choose-mirror[1393]: DEBUG: command: wget -q
http://ftp.debian-ports.org/debian/dists/testing/Release -O - | grep -E
'^(Suite|Codename|Architectures):'
Apr  7 03:13:47 choose-mirror[1393]: DEBUG: command: wget -q
http://ftp.debian-ports.org/debian/dists/unstable/Release -O - | grep -E
'^(Suite|Codename|Architectures):'
Apr  7 03:13:48 choose-mirror[1393]: DEBUG: command: wget -q
http://ftp.debian-ports.org/debian/dists/sid/Release -O - | grep -E
'^(Suite|Codename|Architectures):'
Apr  7 03:13:48 choose-mirror[1393]: INFO: suite/codename set to:
unstable/sid
Apr  7 03:13:48 choose-mirror[1393]: DEBUG: command: wget -q
http://ftp.debian-ports.org/debian//dists/sid/main/binary-sparc64/Release
-O - | grep ^Architecture:
Apr  7 03:13:49 anna-install: Queueing udeb sid-support for later
installation
Apr  7 03:13:49 main-menu[166]: (process:1386): wget: server returned
error: HTTP/1.1 404 Not Found
Apr  7 03:13:49 main-menu[166]: (process:1386): wget: server returned
error: HTTP/1.1 404 Not Found
Apr  7 03:13:49 main-menu[166]: (process:1386): wget: server returned
error: HTTP/1.1 404 Not Found
Apr  7 03:13:49 main-menu[166]: DEBUG: resolver (libc6-udeb): package
doesn't exist (ignored)
Apr  7 03:13:49 main-menu[166]: INFO: Menu item 'download-installer'
selected
Apr  7 03:13:50 net-retriever: gpgv:
Apr  7 03:13:50 net-retriever: md_enable: algorithm 10 not available
Apr  7 03:13:50 net-retriever: gpgv:
Apr  7 03:13:50 net-retriever: Signature made Thu Apr  7 08:10:46 2016 UTC
using RSA key ID 705A2CE1
Apr  7 03:13:50 net-retriever: gpgv:
Apr  7 03:13:50 net-retriever: Can't check signature: unknown digest
algorithm
Apr  7 03:13:50 net-retriever: error: Bad signature on
/tmp/net-retriever-1440-Release.
Apr  7 03:15:40 anna
[1436]: WARNING **: bad d-i Packages file
Apr  7 03:15:40 main-menu[166]: INFO: Menu item 'download-installer'
succeeded but requested to be left unconfigured.
Apr  7 03:15:40 main-menu[166]: DEBUG: resolver (libc6-udeb): package
doesn't exist (ignored)
Apr  7 03:15:43 main-menu[166]: INFO: Menu item 'di-utils-shell' selected

-kp


Re: Status

2016-04-07 Thread Artyom Tarasenko
On Thu, Apr 7, 2016 at 1:38 PM, Artyom Tarasenko  wrote:
> On Thu, Apr 7, 2016 at 11:29 AM, Michael-John Turner  
> wrote:
>> On Thu, Apr 07, 2016 at 11:12:50AM +0200, John Paul Adrian Glaubitz wrote:
>>> The document you linked is over 6 years old! sparc64 emulation is pretty
>>> usable already, I have installed the sparc64 netinst images that I built
>>> without any problems.
>>
>> Ah, I missed the date at the bottom of the page and didn't realise that!
>> I'm not sure that installing newer version of Solaris works yet though (at
>> least according to this[1] 2015 thread from Stack Exchange). Still,
>> possibly worth a try though.
>
> Not yet. There is some  progress, for instance, qemu-system-sparc64
> can boot Linux since March 2013 [1], and NetBSD since 2014 [2].
> One of the problems is that qemu-system-sparc64 emulates a workstation
> which has been never existed as a bare metal. Therefore it's not
> possible to use an existing firmware to boot Solaris and Solaris for
> 64 bit SPARC machines is very picky about the firmware.
> But Mark Cave-Ayland is working on OpenBIOS (in the mean time it can
> already boot FreeBSD)

Ops. Have just seen the mail from Mark, that not yet. Sorry for the
mis-information.
The rest is still valid. :-)

> and I work on sun4v emulation which could re-use
> Firmware from the OpenSPARC project (its Firmware is indeed
> Solaris-compatible).
> So, stay tuned.
>
>
> 1. http://tyom.blogspot.de/2013/03/debiansparc64-wheezy-under-qemu-how-to.html
> 2. http://tyom.blogspot.de/2014/08/upstream-qemu-can-run-netbsdsparc64.html
> --
> Regards,
> Artyom Tarasenko
>
> SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu



-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu



Re: Status

2016-04-07 Thread Artyom Tarasenko
On Thu, Apr 7, 2016 at 11:29 AM, Michael-John Turner  wrote:
> On Thu, Apr 07, 2016 at 11:12:50AM +0200, John Paul Adrian Glaubitz wrote:
>> The document you linked is over 6 years old! sparc64 emulation is pretty
>> usable already, I have installed the sparc64 netinst images that I built
>> without any problems.
>
> Ah, I missed the date at the bottom of the page and didn't realise that!
> I'm not sure that installing newer version of Solaris works yet though (at
> least according to this[1] 2015 thread from Stack Exchange). Still,
> possibly worth a try though.

Not yet. There is some  progress, for instance, qemu-system-sparc64
can boot Linux since March 2013 [1], and NetBSD since 2014 [2].
One of the problems is that qemu-system-sparc64 emulates a workstation
which has been never existed as a bare metal. Therefore it's not
possible to use an existing firmware to boot Solaris and Solaris for
64 bit SPARC machines is very picky about the firmware.
But Mark Cave-Ayland is working on OpenBIOS (in the mean time it can
already boot FreeBSD) and I work on sun4v emulation which could re-use
Firmware from the OpenSPARC project (its Firmware is indeed
Solaris-compatible).
So, stay tuned.


1. http://tyom.blogspot.de/2013/03/debiansparc64-wheezy-under-qemu-how-to.html
2. http://tyom.blogspot.de/2014/08/upstream-qemu-can-run-netbsdsparc64.html
-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu



Re: Status

2016-04-07 Thread Mark Cave-Ayland
On 07/04/16 10:29, Michael-John Turner wrote:

> On Thu, Apr 07, 2016 at 11:12:50AM +0200, John Paul Adrian Glaubitz wrote:
>> The document you linked is over 6 years old! sparc64 emulation is pretty
>> usable already, I have installed the sparc64 netinst images that I built
>> without any problems.
> 
> Ah, I missed the date at the bottom of the page and didn't realise that!
> I'm not sure that installing newer version of Solaris works yet though (at
> least according to this[1] 2015 thread from Stack Exchange). Still,
> possibly worth a try though.
> 
> [1] 
> https://unix.stackexchange.com/questions/199827/booting-solaris-10-or-11-for-sparc-in-qemu-system-sparc64

Currently FreeBSD and Solaris don't boot under qemu-system-sparc64,
although progress has been slow recently as most of my spare time went
into last year's GSoC. I'm gradually starting to find time to look at
SPARC issues again and of course more testing/bug reports are always
welcome :)


ATB,

Mark.



Re: Status

2016-04-07 Thread Mark Cave-Ayland
On 07/04/16 10:12, John Paul Adrian Glaubitz wrote:

> Hi Michael!
> 
>> On Apr 7, 2016, at 10:43 AM, Michael-John Turner  wrote:
>>
>>>
>>
>> I believe that will only work on x86 systems - KVM isn't supported on SPARC.
>> QEMU has some early emulation support for 64-bit SPARC hardware but it's
>> not really usable yet[1].
> 
> The document you linked is over 6 years old! sparc64 emulation is pretty 
> usable already, I have installed the sparc64 netinst images that I built 
> without any problems.

Wow, yes. The link you've posted below references a snapshot from the
documentation for QEMU 0.12 which is, well, old. I recently submitted an
update which can be found in the automated builds here:
http://qemu.weilnetz.de/qemu-doc.html#Sparc64-System-emulator.


ATB,

Mark.



Re: Status

2016-04-07 Thread Michael-John Turner
On Thu, Apr 07, 2016 at 11:12:50AM +0200, John Paul Adrian Glaubitz wrote:
> The document you linked is over 6 years old! sparc64 emulation is pretty
> usable already, I have installed the sparc64 netinst images that I built
> without any problems.

Ah, I missed the date at the bottom of the page and didn't realise that!
I'm not sure that installing newer version of Solaris works yet though (at
least according to this[1] 2015 thread from Stack Exchange). Still,
possibly worth a try though.

[1] 
https://unix.stackexchange.com/questions/199827/booting-solaris-10-or-11-for-sparc-in-qemu-system-sparc64

Cheers, MJ
-- 
Michael-John Turner * m...@mjturner.net * http://mjturner.net/



Re: Status

2016-04-07 Thread John Paul Adrian Glaubitz
Hi Michael!

> On Apr 7, 2016, at 10:43 AM, Michael-John Turner  wrote:
> 
>> 
> 
> I believe that will only work on x86 systems - KVM isn't supported on SPARC.
> QEMU has some early emulation support for 64-bit SPARC hardware but it's
> not really usable yet[1].

The document you linked is over 6 years old! sparc64 emulation is pretty usable 
already, I have installed the sparc64 netinst images that I built without any 
problems.

Cheers,
Adrian

> If the OP has a newer system, a possible option would be to install Solaris
> in an LDOM and use that.
> 
> [1] 
> http://wiki.qemu.org/download/qemu-doc.html#QEMU-System-emulator-for-non-PC-targets
> 
> Cheers, MJ
> -- 
> Michael-John Turner * m...@mjturner.net * http://mjturner.net/



Re: Status

2016-04-07 Thread Michael-John Turner
On Mon, Apr 04, 2016 at 10:38:25AM +0200, John Paul Adrian Glaubitz wrote:
> On 04/04/2016 05:04 AM, Jerome Ibanes wrote:
> > * Does Debian/sparc64 offer any binary compatibility layer for solaris
> > 10/sparc64 binaries?
> 
> No, unfortunately not. You would have to resort to kvm to install
> an instance of Solaris in a kernel-based virtual machine.

I believe that will only work on x86 systems - KVM isn't supported on SPARC.
QEMU has some early emulation support for 64-bit SPARC hardware but it's
not really usable yet[1].

If the OP has a newer system, a possible option would be to install Solaris
in an LDOM and use that.

[1] 
http://wiki.qemu.org/download/qemu-doc.html#QEMU-System-emulator-for-non-PC-targets

Cheers, MJ
-- 
Michael-John Turner * m...@mjturner.net * http://mjturner.net/