Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
On 16/06/2025 13:10, John Paul Adrian Glaubitz wrote: On Mon, 2025-06-16 at 13:05 +0200, Laurent Vivier wrote: I think an e_flags with a new value like EF_M68K_ABI2 would be more appropriate. How is it currently used on m68k and does QEMU use it? I think that would be certainly a way to go

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
On 16/06/2025 13:01, John Paul Adrian Glaubitz wrote: On Mon, 2025-06-16 at 12:07 +0200, Geert Uytterhoeven wrote: I think you need to change the ABI type in the ELF header: https://fr.wikipedia.org/wiki/Executable_and_Linkable_Format Interesting Does any system actually use ABI (byte 7)

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
Le 16/06/2025 à 12:07, Geert Uytterhoeven a écrit : Hi Laurent, On Mon, 16 Jun 2025 at 11:16, Laurent Vivier wrote: Le 16/06/2025 à 11:00, John Paul Adrian Glaubitz a écrit : And there will be a problem with binfmt_misc because we can't rely on the ELF signature to know which qemu-us

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
Le 16/06/2025 à 11:32, John Paul Adrian Glaubitz a écrit : On Mon, 2025-06-16 at 11:26 +0200, Laurent Vivier wrote: binfmt_misc doesn't use the sections to select the interpreter, but the 128 first bytes of the file. I think you need to change the ABI type in the ELF header:

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
Le 16/06/2025 à 11:15, John Paul Adrian Glaubitz a écrit : On Mon, 2025-06-16 at 11:10 +0200, Laurent Vivier wrote: Le 16/06/2025 à 11:00, John Paul Adrian Glaubitz a écrit : And there will be a problem with binfmt_misc because we can't rely on the ELF signature to know which qemu-us

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
Le 16/06/2025 à 11:00, John Paul Adrian Glaubitz a écrit : And there will be a problem with binfmt_misc because we can't rely on the ELF signature to know which qemu-user to run, the one with 2byte alignment or the one with 4byte alignment? What about the ELF note [1] that David Brownlee sugg

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
Le 16/06/2025 à 10:14, John Paul Adrian Glaubitz a écrit : On Mon, 2025-06-16 at 10:00 +0200, Laurent Vivier wrote: Could you point me to these packages which assume 2 bytes alignment? I'm genuinely interested as I would like to put these up on the wiki. So far I haven't found an

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-16 Thread Laurent Vivier
Le 16/06/2025 à 09:39, John Paul Adrian Glaubitz a écrit : You will create the exact same problem you want to fix: we can guess some softwares are built on linux/m68k with 2byte alignment in mind. So once the ABI is changed, you'll have to track them to fix them. Could you point me to these p

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-15 Thread Laurent Vivier
Le 14/06/2025 à 09:21, John Paul Adrian Glaubitz a écrit : On Fri, 2025-06-13 at 17:24 +0200, Laurent Vivier wrote: A stupid question: is this possible to remove from debian the packets that are broken? (I'm sorry if you already answered to this question). Sure, we can remove Pyth

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

2025-06-13 Thread Laurent Vivier
Hi Adrian, Le 13/06/2025 à 16:53, John Paul Adrian Glaubitz a écrit : On Fri, 2025-06-13 at 17:15 +0300, Eero Tamminen wrote: Wouldn't next upgrade completely break user's Debian system so it needs complete re-install? You would need to extract the glibc package manually from my tests. Af

Re: Bug#1105110: python3.14 FTBFS on m68k: Assertion `!PyStackRef_IsTaggedInt(ref)' failed

2025-05-14 Thread Laurent Vivier
Le 14/05/2025 à 10:45, John Paul Adrian Glaubitz a écrit : Hi Laurent, On Wed, 2025-05-14 at 10:10 +0200, Laurent Vivier wrote: You can use __alignof__() to have the data type alignment: int main(void) { printf("alignof(short) %ld\n", __align

Re: Bug#1105110: python3.14 FTBFS on m68k: Assertion `!PyStackRef_IsTaggedInt(ref)' failed

2025-05-14 Thread Laurent Vivier
Le 14/05/2025 à 09:41, John Paul Adrian Glaubitz a écrit : Hi Geert, On Wed, 2025-05-14 at 08:55 +0200, John Paul Adrian Glaubitz wrote: On Tue, 2025-05-13 at 22:08 +0200, John Paul Adrian Glaubitz wrote: There is a guide available which explains how to install AMIX on WinUAE: https://www.ami

[PATCH] [m68k/virt]: Add flavour for QEMU M68K Virtual Machine

2023-06-12 Thread Laurent Vivier
These changes to the linux package are needed to create kernel .debs and .udebs with all the needed modules for the QEMU m68k virt machine. These is also needed to create the debian-installer that will be usable with the virt machine. Signed-off-by: Laurent Vivier --- debian/config/m68k

Re: Booting Kernel on Amiga 3000

2022-09-06 Thread Laurent Vivier
Le 06/09/2022 à 17:52, Andreas Schwab a écrit : On Sep 06 2022, Eero Tamminen wrote: Hi, On 6.9.2022 4.46, Stephen Walsh wrote: [3.11] Call Trace: [<00354d80>] panic+0xc4/0x246 [3.11] [<00355744>] _printk+0x0/0x18 [3.11] [<00355756>] _printk+0x12/0x18 [3.11]

Re: globus-net-manager FTBFS during python 3.10 transition

2022-05-12 Thread Laurent Vivier
Le 12/05/2022 à 18:16, John Paul Adrian Glaubitz a écrit : Hi! Hi :) On 5/12/22 18:10, Laurent Vivier wrote: The flags are correct. This can be tested with: $ sudo chroot m68k-chroot sh -c 'echo $0' sh if the argument is not properly managed, you would have &q

Re: globus-net-manager FTBFS during python 3.10 transition

2022-05-12 Thread Laurent Vivier
Le 12/05/2022 à 17:51, John Paul Adrian Glaubitz a écrit : On 5/12/22 17:45, Laurent Vivier wrote: No, the 'F' means 'fix-binary': The interpreter is loaded in memory once when the binfmt_misc is configured (when the configuration is written to /proc/sys/fs/binfmt_misc/reg

Re: globus-net-manager FTBFS during python 3.10 transition

2022-05-12 Thread Laurent Vivier
Le 12/05/2022 à 17:41, John Paul Adrian Glaubitz a écrit : Hi Laurent! The issue can be reproduced on a freshly installed Debian system. Is the problem the additional "F" flag? glaubitz@z6:/tmp/test> cat /proc/sys/fs/binfmt_misc/qemu-m68k enabled interpreter /usr/libexec/qemu-binfmt/m68k-binfm

Re: globus-net-manager FTBFS during python 3.10 transition

2022-05-10 Thread Laurent Vivier
Le 10/05/2022 à 21:23, John Paul Adrian Glaubitz a écrit : Hi! On 4/27/22 11:19, John Paul Adrian Glaubitz wrote: On 4/27/22 11:04, Laurent Vivier wrote: Normally, since qemu v6.0.0 you can preserve argv[0]: (...) You need also kernel v5.12: OK, I'm installing QEMU 6.2 and kernel 5.16

Re: globus-net-manager FTBFS during python 3.10 transition

2022-04-27 Thread Laurent Vivier
Le 26/04/2022 à 21:24, John Paul Adrian Glaubitz a écrit : Hi! ... [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974004 Normally, since qemu v6.0.0 you can preserve argv[0]: commit 6e1c0d7b951e19c53b8467e8bc4b71ee73a394ea Author: Laurent Vivier Date: Mon Feb 22 11:50:04 2021

Re: m68k OCaml porting issue

2021-12-23 Thread Laurent Vivier
Le 23/12/2021 à 09:56, John Paul Adrian Glaubitz a écrit : Hi Laurent! On 12/22/21 17:48, Laurent Vivier wrote: With Qemu 6.2.50 (from git repo): -NAN With Quadra 800 with 68040 FPU: NAN Built with Qemu and debian bookworm/sid, gcc (Debian 10.2.0-15) 10.2.0. On Quadra 800 it's execut

Re: m68k OCaml porting issue

2021-12-22 Thread Laurent Vivier
Le 22/12/2021 à 15:40, John Paul Adrian Glaubitz a écrit : Hi Stéphane! On 12/22/21 14:47, Stéphane Glondu wrote: Another simpler example, not involving unions: -8<- #include #include #include int main(int argc, char** argv) { double d[2]; d[0] = NAN; d[1] = -d[0]; prin

Re: Kernel uses only half of Mac IIci memory with built-in video

2021-03-19 Thread Laurent Vivier
Le 19/03/2021 à 00:49, Finn Thain a écrit : > > On Thu, 18 Mar 2021, Finn Thain wrote: > >> Am I right in thinking that Linux only crashes when Penguin loads the >> kernel into Bank A (i.e. Penguin says "The kernel will be located at >> physical 0x1000") and the kernel then goes and drops t

Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries

2020-09-16 Thread Laurent Vivier
Le 16/09/2020 à 22:05, Michael Tokarev a écrit : > 16.09.2020 22:55, John Paul Adrian Glaubitz wrote: > >> It's called "--persistent yes", not preserve, my bad. > > It is entirely different thing, --persistent (or --fix-binary. F flag) > is here for quite some time and helps with chroots and the

Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries

2020-09-16 Thread Laurent Vivier
Le 16/09/2020 à 19:53, Michael Tokarev a écrit : > 16.09.2020 20:15, John Paul Adrian Glaubitz wrote: >> >>> On Sep 16, 2020, at 6:57 PM, Thorsten Glaser wrote: >>> >>> I’m attaching a test program that does the following: >>> >>> • if argv[1] is "-" it just outputs argv[0] and argv[1] >>> • other

Re: perl_5.32.0~rc1-1 FTBFS on m68k (experimental)

2020-06-19 Thread Laurent Vivier
Le 19/06/2020 à 11:08, John Paul Adrian Glaubitz a écrit : > On 6/19/20 11:03 AM, Geert Uytterhoeven wrote: >> Either invert the order of the two paddings, or replace them by a single one: >> >> U8 _padding[3]; > I just tried this variant and it didn't help: > > diff --git a/op.h b/op.h > ind

Re: Kernel crash on qemu-m68k-system while building r-cran packages

2020-05-30 Thread Laurent Vivier
Le 30/05/2020 à 17:27, John Paul Adrian Glaubitz a écrit : > Hi Laurent! > > On 5/30/20 5:12 PM, Laurent Vivier wrote: >> As the package is available, I've been able to reproduce the problem >> with logs enabled. Apparently the instruction is not decoded correctly: &g

Re: Kernel crash on qemu-m68k-system while building r-cran packages

2020-05-30 Thread Laurent Vivier
Le 30/05/2020 à 13:49, John Paul Adrian Glaubitz a écrit : > Hi Michael! > > On 5/30/20 1:49 AM, Michael Schmitz wrote: >> Can you try to run that R binary on a real 060 or 040? > Works fine on elgar: > > root@elgar:~> R As the package is available, I've been able to reproduce the problem with

Re: Kernel crash on qemu-m68k-system while building r-cran packages

2020-05-30 Thread Laurent Vivier
Le 30/05/2020 à 01:49, Michael Schmitz a écrit : > Adrian, > > that's from the Motorola FPSP package - the fault instruction is > > fmovel #0,%fpsr > > at the start of the unsupported data format trap handler. The trap > handler clears the FPU status register here (and will clear the control > r

Re: Where is last official ISOs for 68k?

2020-05-21 Thread Laurent Vivier
Le 18/05/2020 à 11:54, John Paul Adrian Glaubitz a écrit : > Hi Tero! > > On 5/18/20 10:35 AM, t...@yli-koski.fi wrote: >> Where is last official Debian installation CD ISOs for m68k? >> Even I cannot find official source for DVD-ISOs for Debian 3.1(Sarge) (last >> official for m68k). >> I have t

Re: Xorg server on QEMU on Sid

2020-05-18 Thread Laurent Vivier
Le 18/05/2020 à 09:46, John Paul Adrian Glaubitz a écrit : > On 5/18/20 9:44 AM, Alexander Voropay wrote: >> I'm trying to run Xorg server on the git QEMU on the current Sid. >> It fails on fb device setting >> >> QEMU graphic related options: >> -g 1200x800x24 -display gtk >> >> fd console works.

Re: Bug#959768: initramfs-tools: Does not account for different so versions of libgcc_s

2020-05-13 Thread Laurent Vivier
Le 05/05/2020 à 07:00, John Paul Adrian Glaubitz a écrit : > Source: initramfs-tools > Severity: important > User: debian-h...@lists.debian.org > Usertags: hppa,m68k > > Hello! > > In #950254 [1], a change was introduced to copy libgcc_s.so.1 into the > initrd. Unfortunately, this change has intr

Re: Infinite loop when installing Debian 10

2020-04-16 Thread Laurent Vivier
Le 16/04/2020 à 21:43, John Paul Adrian Glaubitz a écrit : > On 4/16/20 9:27 PM, John Paul Adrian Glaubitz wrote: >> On 4/16/20 8:46 PM, Alexandre Bencz wrote: >>> There is no m68k version in this new release >> >> That was by accident. Building new images now. > > Untested: https://cdimage.debian

Re: Infinite loop when installing Debian 10

2020-04-16 Thread Laurent Vivier
Le 16/04/2020 à 22:31, Alexandre Bencz a écrit : > I had exactly the same problem ... with this new image > > Keyboard problem too ... > The settings that I'm using: > > https://i.imgur.com/DrjyzJ4.png > https://i.imgur.com/Tn46Egx.png > https://i.imgur.com/ZQSPEQh.png > https://i.imgur.com/onii9

Re: Infinite loop when installing Debian 10

2020-04-16 Thread Laurent Vivier
Le 16/04/2020 à 21:27, John Paul Adrian Glaubitz a écrit : > On 4/16/20 8:46 PM, Alexandre Bencz wrote: >> There is no m68k version in this new release > > That was by accident. Building new images now. BTW, the 2019-11-22 works fine for me. Did you update the installer to use "macintosh" keymap

Re: Install Debian 68k using QEmu on Windows

2020-01-03 Thread Laurent Vivier
Le 03/01/2020 à 07:41, Carlos Rodrigues a écrit : > Hi! > I am wanting to study a little about 68k architecture, and for that I > want to install Debian on QEmu but I am not getting it because I am > getting the following error: > > $ qemu-system-m68k.exe -boot d -hda debian_68k.img --cdrom > debi

Re: Updated installation images for Debian Ports 2019-11-22

2019-11-25 Thread Laurent Vivier
Le 22/11/2019 à 14:42, Laurent Vivier a écrit : > Le 22/11/2019 à 11:28, John Paul Adrian Glaubitz a écrit : >> On 11/22/19 11:26 AM, Laurent Vivier wrote: >>> I tested a version of the installer on Mac (qemu-system-m68k -M q800) at >>> the beginning of the week and the

Re: Updated installation images for Debian Ports 2019-11-22

2019-11-22 Thread Laurent Vivier
Le 22/11/2019 à 11:28, John Paul Adrian Glaubitz a écrit : > On 11/22/19 11:26 AM, Laurent Vivier wrote: >> I tested a version of the installer on Mac (qemu-system-m68k -M q800) at >> the beginning of the week and the mac_sonic driver seemed to be missing >> from the

Re: Updated installation images for Debian Ports 2019-11-22

2019-11-22 Thread Laurent Vivier
Le 22/11/2019 à 11:23, John Paul Adrian Glaubitz a écrit : > Hi! > > I just uploaded updated installation images 2019-07-22 for the > following Debian Ports architectures [1]: > > * alpha > * hppa > * ia64 > * m68k > * powerpc > * ppc64 > * sparc64 > > debian-installer images for netboot

Re: Centris 650 Debian 10 SID Installation

2019-06-18 Thread Laurent Vivier
ion. The installer may not be at fault > here. Can you send /var/log/installer/partman? > There is a bug in parted that corrupts the AppleDriver partition. It is fixed in git repo now by: commit 43b061e90dcdab799ecd1e822852de110673bf7e Author: Laurent Vivier Date: Fri Dec 9 15:10:53 2016 +010

Re: Updated installation images 2019-01-21

2019-01-21 Thread Laurent Vivier
On 21/01/2019 18:40, John Paul Adrian Glaubitz wrote: > On 1/21/19 6:39 PM, Laurent Vivier wrote: >> Jan 21 17:00:01 debootstrap: Preparing to unpack >> .../python3-minimal_3.7.2-1_m68k.deb ... >>

Re: Updated installation images 2019-01-21

2019-01-21 Thread Laurent Vivier
On 21/01/2019 12:48, John Paul Adrian Glaubitz wrote: > Hello! > > I have created updated installation images for Debian Ports, > please find the updated images below and test them [1]. > > Feedback welcome. > > Adrian > >> [1] https://cdimage.debian.org/cdimage/ports/2019-01-21/ > Using qemu

Re: Usage of real m68k hardware

2018-03-28 Thread Laurent Vivier
Le 28/03/2018 à 10:10, John Paul Adrian Glaubitz a écrit : > On 03/28/2018 04:59 PM, Andreas Tille wrote: >> I see no point in your repeated "to be honest" and blame others about >> low quality. If in doubt read these three bug logs: >> >>#882555, #887680, #887682 >> >> All say >> >>this f

Re: Help installing Debian on an LCII macintosh

2017-12-31 Thread Laurent Vivier
Le 31/12/2017 à 00:02, Finn Thain a écrit : > On Sat, 30 Dec 2017, tom lukeywood wrote: > >> Hello I am trying to install Debian on my old LCII i found recently >> found in an attic and I am currently trying to find an install disk to >> use. >> >> i have found this page: >> http://archive.debi

Re: Debian installer image for Debian/m68k

2017-09-05 Thread Laurent Vivier
Le 04/09/2017 à 23:43, Laurent Vivier a écrit : > Le 04/09/2017 à 21:51, Laurent Vivier a écrit : >> Le 02/09/2017 à 07:33, John Paul Adrian Glaubitz a écrit : >>> On 09/02/2017 05:34 AM, Finn Thain wrote: >>>> The "-probe" and "--netatalk" options

Re: Debian installer image for Debian/m68k

2017-09-04 Thread Laurent Vivier
Le 04/09/2017 à 21:51, Laurent Vivier a écrit : > Le 02/09/2017 à 07:33, John Paul Adrian Glaubitz a écrit : >> On 09/02/2017 05:34 AM, Finn Thain wrote: >>> The "-probe" and "--netatalk" options are not listed in the upstream man >>> page for xorris

Re: Debian installer image for Debian/m68k

2017-09-04 Thread Laurent Vivier
Le 02/09/2017 à 07:33, John Paul Adrian Glaubitz a écrit : > On 09/02/2017 05:34 AM, Finn Thain wrote: >> The "-probe" and "--netatalk" options are not listed in the upstream man >> page for xorrisofs which makes me think that both the m68k and the powerpc >> code here has bit-rotted. > > No, no

Re: Debian installer image for Debian/m68k

2017-09-04 Thread Laurent Vivier
Le 04/09/2017 à 19:10, John Paul Adrian Glaubitz a écrit : > On 09/04/2017 07:07 PM, Laurent Vivier wrote: >> Debian-installer works fine. >> >> The keyboard is not correct when we boot the installed installed system. > > Then you're most likely right about &quo

Re: Debian installer image for Debian/m68k

2017-09-04 Thread Laurent Vivier
Le 04/09/2017 à 19:06, John Paul Adrian Glaubitz a écrit : > On 09/04/2017 07:04 PM, Laurent Vivier wrote: >> Or a package an keyboard-configuration? > > Could be. When exactly do you encounter the incorrect keyboard layout? > > Does the keyboard work correctly after booti

Re: Debian installer image for Debian/m68k

2017-09-04 Thread Laurent Vivier
Le 04/09/2017 à 18:57, John Paul Adrian Glaubitz a écrit : > On 09/04/2017 06:46 PM, Laurent Vivier wrote: >> The configuration file is not generated correctly by debian-installer: >> It uses the old key ids (macintosh specific) whereas kernel uses now the >> generic ones (si

Re: Debian installer image for Debian/m68k

2017-09-04 Thread Laurent Vivier
Le 01/09/2017 à 22:50, Laurent Vivier a écrit : > Le 01/09/2017 à 22:08, John Paul Adrian Glaubitz a écrit : >> On 09/01/2017 10:05 PM, Laurent Vivier wrote: >>> It works fine with (/usr/lib/base-installer/kernel.sh) >> >> So, were you able to fully install the syste

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 22:56, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 10:50 PM, Laurent Vivier wrote: >> I've a working system. > > Good. But I really need to find where that libxmlada package comes > from. It doesn't make any sense at all that it's being pu

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 22:44, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 10:32 PM, Laurent Vivier wrote: >> In the "Select and install software". >> I think it is pulled by "pkgsel". > > Hmm, I can't find it there. I'll continue searching. >

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 22:08, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 10:05 PM, Laurent Vivier wrote: >> It works fine with (/usr/lib/base-installer/kernel.sh) > > So, were you able to fully install the system? Any other errors? I've a working system. The first proble

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 22:30, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 10:20 PM, John Paul Adrian Glaubitz wrote: >> That's a package that's been removed long time ago [1]. >> We need to find out where it's referenced. Must be one of >> the other d-i components. > > Can you tell me in which d-

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 22:08, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 10:05 PM, Laurent Vivier wrote: >> It works fine with (/usr/lib/base-installer/kernel.sh) > > So, were you able to fully install the system? Any other errors? I have configured a remote repo (http://ftp.p

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 21:33, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 09:24 PM, John Paul Adrian Glaubitz wrote: >> So, I think that arch_get_kernel_flavour() needs to be patched to >> just always echo "m68k" in [1]. Compare this to amd64 [2]. > > You should be able to test this yourself. The

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 20:38, John Paul Adrian Glaubitz a écrit : > The kernel package was still missing from the debian-cd package inclusion > list. So my fix was correct. > > Please check for the actual log message from the syslog console (switch with > + Cursor keys). > > I need the error message

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 20:38, John Paul Adrian Glaubitz a écrit : > The kernel package was still missing from the debian-cd package inclusion > list. So my fix was correct. > > Please check for the actual log message from the syslog console (switch with > + Cursor keys). And with serial console, how

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 16:24, John Paul Adrian Glaubitz a écrit : > On 09/01/2017 04:18 PM, John Paul Adrian Glaubitz wrote: >> Suggestions which packages should be included there for m68k? >> >> I assume that should be: >> >> - busybox >> - linux-image-m68k >> - initramfs-tools >> - emile > > I just did

Re: Debian installer image for Debian/m68k

2017-09-01 Thread Laurent Vivier
Le 01/09/2017 à 11:18, John Paul Adrian Glaubitz a écrit : > On 08/31/2017 03:59 PM, John Paul Adrian Glaubitz wrote: >>> Aug 31 13:09:07 debootstrap: Errors were encountered while processing: >>> Aug 31 13:09:07 debootstrap: mac-fdisk >>> Aug 31 13:09:08 debootstrap: Setting up mac-fdisk (0.1-16+

Re: Debian installer image for Debian/m68k

2017-08-31 Thread Laurent Vivier
Le 31/08/2017 à 14:32, John Paul Adrian Glaubitz a écrit : > Hi! Hi, > I just created the first debian installer image for m68k since aeons, > it can be downloaded from here: > >> https://people.debian.org/~glaubitz/debian-cd/2017-08-31/ > > Note: This has not been tested at all and booting on

Re: debian-installer progress and input needed

2017-05-16 Thread Laurent Vivier
Le 16/05/2017 à 09:40, Geert Uytterhoeven a écrit : > Hi Adrian, > > On Mon, May 15, 2017 at 11:21 PM, John Paul Adrian Glaubitz > wrote: >> Thus, I would to ask around which modules are needed for the various >> hardware people have, e.g. SCSI driver for 68k Macs, IDE drivers for >> Amiga and At

Re: Testers with real m68k hardware needed

2017-05-12 Thread Laurent Vivier
Le 11/05/2017 à 19:01, John Paul Adrian Glaubitz a écrit : > On 05/11/2017 06:31 PM, Laurent Vivier wrote: >>> After hours: >> >> ... >> CC test_urcu_defer.o >> /tmp/cczwtyzj.s: Assembler messages: >> /tmp/cczwtyzj.s:298: Error: syntax error -- sta

Re: Testers with real m68k hardware needed

2017-05-11 Thread Laurent Vivier
Le 10/05/2017 à 23:08, John Paul Adrian Glaubitz a écrit : > Hi! > > liburcu is currently missing support m68k. The maintainer of the Debian > package > has kindly written a patch which adds m68k support to the library [1]. > However, > he was told by upstream that the patch should be tested on

Re: Seeking Mac testers, was Re: Linux Mac68k v4.1.39 test kernel build is available

2017-04-07 Thread Laurent Vivier
Le 07/04/2017 à 08:04, Finn Thain a écrit : > > On Thu, 6 Apr 2017, Stefan Niestegge wrote: > >> Here are the dmesg logs of both kernels. >> > > Thank you for sending these logs. There's no real difference between the > output from the two builds. So my patch queue hasn't caused a regression.

Re: Seeking Mac testers, was Re: Linux Mac68k v4.1.39 test kernel build is available

2017-04-02 Thread Laurent Vivier
Le 22/03/2017 à 01:56, Finn Thain a écrit : > > On Tue, 21 Mar 2017, Laurent Vivier wrote: > >> >> Tested on my Quadra 800. ADB/SCSI/Ethernet work fine. >> >> I've also tested with Q800 implementation in QEMU and works fine too. >> > > Than

Re: Seeking Mac testers, was Re: Linux Mac68k v4.1.39 test kernel build is available

2017-03-21 Thread Laurent Vivier
Le 20/03/2017 à 01:52, Finn Thain a écrit : > On Fri, 17 Mar 2017, I wrote: > >> I've just uploaded a new kernel build to the Linux Mac68k sourceforge >> project: https://sourceforge.net/projects/linux-mac68k/files/ >> >> This build has some patches for the mac_scsi and egret drivers that were >

Re: Seeking for porterbox

2016-07-28 Thread Laurent Vivier
Le 28/07/2016 à 13:37, Dmitry Bogatov a écrit : > [2016-07-28 13:29] John Paul Adrian Glaubitz >> >> On 07/28/2016 01:17 PM, Dmitry Bogatov wrote: >>> How can I connect to hurd box? Which login, which password? >> >> You need to apply for a guest account if you're not a Debian Developer. > > Si

Re: questionable use of qemu-m68k for building (was Re: ruby2.2 fuckup)

2015-12-06 Thread Laurent Vivier
Le 06/12/2015 14:09, Andreas Schwab a écrit : > Laurent Vivier writes: > >> I think qemu-m68k is emulating precisely the FPU. I've checked the >> result of testfloat on qemu-m68k, and moreover I've compared the result >> of softloat on my Quadra 800 (68040 FP

Re: questionable use of qemu-m68k for building (was Re: ruby2.2 fuckup)

2015-12-06 Thread Laurent Vivier
Le 05/12/2015 20:59, Thorsten Glaser a écrit : > Dixi quod… >> Laurent Vivier dixit: >>> Le 21/11/2015 13:07, Andreas Schwab a icrit : >> >>>> Does that include the FPU emulation? >>> >>> I don't know: FPU emulation is on 96 bits (in f

Re: First tests with qemu-m68k and sbuild

2015-11-23 Thread Laurent Vivier
Le 23/11/2015 15:23, John Paul Adrian Glaubitz a écrit : > On 11/19/2015 01:52 PM, Laurent Vivier wrote: >> I didn't really search the reason of that before, but: >> >> Socketcall 20 seems to be sendmmsg() (and 19 is recvmmsg()). >> >> I think it should b

Re: ruby2.2 fuckup (was Re: Log for attempted build of libselinux_2.4-3 on m68k (dist=unstable))

2015-11-21 Thread Laurent Vivier
Le 21/11/2015 13:07, Andreas Schwab a écrit : > Laurent Vivier writes: > >> I think the instruction emulation is at the same level as Aranym, > > Does that include the FPU emulation? I don't know: FPU emulation is on 96 bits (in fact 80...) and can have some bugs (I di

Re: ruby2.2 fuckup (was Re: Log for attempted build of libselinux_2.4-3 on m68k (dist=unstable))

2015-11-21 Thread Laurent Vivier
Le 21/11/2015 08:28, John Paul Adrian Glaubitz a écrit : > On 11/20/2015 11:11 PM, John Paul Adrian Glaubitz wrote: >> On 11/20/2015 10:50 PM, Thorsten Glaser wrote: ruby currently broken on m68k >> >> It's no longer broken. I already uploaded a fixed version to >> 'unreleased'. A new gcc-5

Re: qemu-m68k and prlimit64 - segfaults

2015-11-20 Thread Laurent Vivier
Le 20/11/2015 15:42, John Paul Adrian Glaubitz a écrit : > On 11/20/2015 03:34 PM, Andreas Schwab wrote: >> John Paul Adrian Glaubitz writes: >> >>> Now, running this with strace, I made a suspicious observation which >>> might be related to the the segmentation fault: >>> >>> prlimit64(0, RLIMI

Re: qemu-m68k and prlimit64 - segfaults

2015-11-20 Thread Laurent Vivier
Le 20/11/2015 15:39, John Paul Adrian Glaubitz a écrit : > On 11/20/2015 03:28 PM, Laurent Vivier wrote: >>> So, from your question I assume prlimit64 is not supposed to be present >>> in an m68k binary? I'll check what ruby does during configure. >> >> As t

Re: qemu-m68k and prlimit64 - segfaults

2015-11-20 Thread Laurent Vivier
Le 20/11/2015 15:09, John Paul Adrian Glaubitz a écrit : > On 11/20/2015 03:07 PM, Geert Uytterhoeven wrote: >>> Now, my question is: Is prlimit64 supposed to be used on 32-bit hardware >>> at all or might this be the result of ruby2.2 being compiled on >>> qemu-m68k on an amd64 host? >> >> How d

Re: First tests with qemu-m68k and sbuild

2015-11-19 Thread Laurent Vivier
On 19/11/2015 13:20, John Paul Adrian Glaubitz wrote: > On 11/19/2015 12:29 PM, Laurent Vivier wrote: >> revert: >> >> linux-user: add netlink audit >> linux-user: support netlink protocol NETLINK_KOBJECT_UEVENT >> linux-user: add rtnetlink(7) support >

Re: First tests with qemu-m68k and sbuild

2015-11-19 Thread Laurent Vivier
On 19/11/2015 12:13, John Paul Adrian Glaubitz wrote: > On 11/19/2015 11:48 AM, John Paul Adrian Glaubitz wrote: >> This is absolutely fantastic. Now for some compile tests :). > > Ok, something still seems to be missing. While running gpg --recv-keys > worked fine, running apt-get update afterw

Re: First tests with qemu-m68k and sbuild

2015-11-19 Thread Laurent Vivier
On 19/11/2015 11:40, John Paul Adrian Glaubitz wrote: > Hi Laurent! > > I gave your working tree qemu-m68k [1] a try with sbuild today. > > I configured the sources as follows: > > $ ./configure --target-list=m68k-linux-user --static see below. > Then ran "make && make install". > > Then cr

Re: Using sbuild with qemu-user-static - was: Re: TODO list for Debian/Linux m68k

2015-11-16 Thread Laurent Vivier
Le 16/11/2015 14:43, John Paul Adrian Glaubitz a écrit : > On 11/15/2015 07:49 PM, Laurent Vivier wrote: >> In GitHub repo (https://github.com/vivier/qemu-m68k), on branch >> 680x0-v2.4.0, you can find a LXC script to create debian container: >> (...) > > Looks inte

Re: Using sbuild with qemu-user-static - was: Re: TODO list for Debian/Linux m68k

2015-11-15 Thread Laurent Vivier
Hi, Le 15/11/2015 19:08, John Paul Adrian Glaubitz a écrit : > Hi! > > On 11/12/2015 03:34 PM, Laurent Vivier wrote: >> For the qemu-m68k part, I've tried to merge it after the qemu-2.4 >> release, but there have been some comments and I have to rewrite a major

Re: TODO list for Debian/Linux m68k

2015-11-12 Thread Laurent Vivier
Le 12/11/2015 15:21, John Paul Adrian Glaubitz a écrit : > Hi! > > I just realized it would be nice to have a condensed TODO for the m68k > port to have an overview what still needs to be done. It can be found > on the Debian Wiki: > > https://wiki.debian.org/M68k/TODO Ì have also propos

Re: TODO list for Debian/Linux m68k

2015-11-12 Thread Laurent Vivier
Le 12/11/2015 15:21, John Paul Adrian Glaubitz a écrit : > Hi! > > I just realized it would be nice to have a condensed TODO for the m68k > port to have an overview what still needs to be done. It can be found > on the Debian Wiki: > > https://wiki.debian.org/M68k/TODO For the qemu-m68k

Re: Current Debian m68k in Amiga

2015-08-31 Thread Laurent Vivier
Le 31/08/2015 10:23, John Paul Adrian Glaubitz a écrit : > Hi Carlos! > > Thanks for your efforts and testing vmdebootstrap! This is a very > useful information! > > On 08/29/2015 03:20 PM, Carlos Milán Figueredo wrote: >> Then I ran: >> >> $ vmdebootstrap --foreign=/usr/bin/qemu-m68k-static --

Re: Macintosh Quadra 950 Not Booting

2015-08-07 Thread Laurent Vivier
Le 07/08/2015 07:43, Finn Thain a écrit : > > On Thu, 6 Aug 2015, Greg Andrzejewski wrote: >> Still not 100% confident in Penguin, I tried booting with an EMILE >> rescue disk. EMILE reads the kernel from disk and shortly thereafter the >> chimes of death play (). Is this something the ker

Re: Macintosh Quadra 950 Not Booting

2015-08-07 Thread Laurent Vivier
Hi, If your kernel is bigger than 8 MB, you need a kernel with commit: commit 486df8bc4627bdfc032d11bedcd056cc5343ee62 m68k: Increase initial mapping to 8 or 16 MiB if possible If your RAM is not at 0 address, you need also: commit f1a1b63529986d0c8970da182f0935eae059421b

Re: Leaving

2015-07-08 Thread Laurent Vivier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, You mean http://lwn.net/Articles/649239/ ? Laurent Le 08/07/2015 20:58, Thorsten Glaser a écrit : > Hi *, > > after reading an LWN comment by neilm – supposedly the DPL – I > finally decided to not come back to being a Debian Developer, > per

Re: previous, a NeXT emulator

2014-12-22 Thread Laurent Vivier
Hi, 3 years ago, a google student has worked on qemu to be able to emulate next-cube. He was able to boot nextstep, but not really more. I didn't touch anything since, but the branch is always there. Perhaps I can try to rebase it on qemu-2.2 and all my m68k emulation improvements. https://gitor

Re: Installing to an Amiga HDF

2014-05-05 Thread Laurent Vivier
Le 05/05/2014 12:56, Intuition Amiga a écrit : [...] > This is where I get stuck I want to do the equivalent of > 'mkfs.ext4 /dev/sda1' but 'mkfs.ext4 /dev/loop71 doesn't work because > no such partition exists. Your loop module must be loaded with "max_part=N parameter" (where N is the maxim

Re: Accepted orbit2 1:2.14.19-0.3 (source amd64)

2013-11-22 Thread Laurent Vivier
> Le 22 novembre 2013 à 11:51, Geert Uytterhoeven a écrit > : > > > On Fri, Nov 22, 2013 at 11:12 AM, Josselin Mouette wrote: > > Le vendredi 22 novembre 2013 à 10:52 +0100, Thorsten Glaser a écrit : > >> On Fri, 22 Nov 2013, Josselin Mouette wrote: > >> > >> > Given your recent behavior on Debi

Re: Modernizing a Macintosh LC III

2013-11-12 Thread Laurent Vivier
> Le 12 novembre 2013 à 04:34, Finn Thain a écrit : > > > > On Mon, 11 Nov 2013, Scott Holder wrote: > > > On 11/11/2013 12:04 AM, Patrick McCarthy wrote: > > > > if it's still in 24-bit mode when emile tries to boot (thanks to PRAM > > settings) then that could account for the failures. > > I do

Re: Linux 3.1-2-m68k config (was: Re: Linux 3.10-2-m68k FPU support)

2013-10-20 Thread Laurent Vivier
Le 20/10/2013 10:52, Geert Uytterhoeven a écrit : On Sat, Oct 19, 2013 at 6:13 PM, Geert Uytterhoeven wrote: [...] Apart from that, (probably both) configs need more stripping in the common part. I want to have bootable (i.e. < 4 MiB) defconfig kernels. Moreover, a compressed kernel fitting on

Re: [PATCH] m68k: handle Atari interrupts in multi-platform kernels

2013-08-28 Thread Laurent Vivier
p://gcc.gnu.org/ Perhaps I missed something ? BTW, is debian-installer available for debian m68k unstable ? Regards, Laurent Le 26/08/2013 13:57, Thorsten Glaser a écrit : Laurent Vivier dixit: Thanks, but what is the URL, I want to wget it. I didn't find it on ftp.debian.org. They’re

Re: [PATCH] m68k: handle Atari interrupts in multi-platform kernels

2013-08-26 Thread Laurent Vivier
> Le 26 août 2013 à 13:12, Thorsten Glaser a écrit : > > > Laurent Vivier dixit: > > >I'd like to test this on my Quadra 800, where can I find the .deb ? > > In Debian unstable: apt-get install linux-image-3.10-2-m68k > (or better linux-image-m68k which is the

Re: [PATCH] m68k: handle Atari interrupts in multi-platform kernels

2013-08-26 Thread Laurent Vivier
> Le 22 août 2013 à 21:07, Thorsten Glaser a écrit : > > > Geert Uytterhoeven dixit: > > >Anyone who has tried this on real iron? I haven't (on Amiga). > > FWIW, that patch was in Debian linux-image-3.10-2-m68k > so everyone who successfully booted that counts. > > Scott Holder booted it on his M

Re: [RFC] m68k: Update defconfigs for v3.9

2013-05-28 Thread Laurent Vivier
Le 29/05/2013 03:03, Finn Thain a écrit : On Tue, 28 May 2013, Laurent Vivier wrote: Le 28/05/2013 14:45, Geert Uytterhoeven a ecrit : On Tue, May 28, 2013 at 1:46 PM, Finn Thain wrote: On Sun, 26 May 2013, Finn Thain wrote: On Sun, 26 May 2013, Laurent Vivier wrote: Le 26/05/2013 02:30

Re: [RFC] m68k: Update defconfigs for v3.9

2013-05-28 Thread Laurent Vivier
Le 28/05/2013 13:45, Finn Thain a écrit : On Sun, 26 May 2013, Laurent Vivier wrote: Please send any patch you want I test (including Kconfig one) Please try this one (with CONFIG_EARLY_PRINTK=y). I've compile tested but have no hardware here to run it. This patch should fix a couple of

Re: [RFC] m68k: Update defconfigs for v3.9

2013-05-28 Thread Laurent Vivier
Le 28/05/2013 14:45, Geert Uytterhoeven a écrit : On Tue, May 28, 2013 at 1:46 PM, Finn Thain wrote: On Sun, 26 May 2013, Finn Thain wrote: On Sun, 26 May 2013, Laurent Vivier wrote: Le 26/05/2013 02:30, Finn Thain a ecrit : This works if I disable "EARLY_PRINTK". To do that I nee

Re: [issue18062] m68k FPU precision issue

2013-05-26 Thread Laurent Vivier
Le 26/05/2013 19:44, Thorsten Glaser a écrit : Eero Tamminen dixit: Now as additional data point, UAE/WinUAE/etc. would be interesting. I built the test with fpu_control.h header from eglibc, using Sparemint GCC 2.9.5 (with 2010 binutils) and MiNTlib. When it's Nice ;) I.e. it seems that W

Re: [issue18062] m68k FPU precision issue

2013-05-26 Thread Laurent Vivier
Le 26/05/2013 16:23, Thorsten Glaser a écrit : Laurent Vivier dixit: For the "etc" ;-) , in Qemu, I have: Hm, I thought qemu did not emulate an MMU? You're right. I cheat : I use Qemu in linux-user mode, it means I use m68k user binaries on an x86_64 kernel within a

  1   2   >