Infinite loop when installing Debian 10

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Infinite loop when installing Debian 10

Alexandre Bencz

I did the installation of Debian 10, after installing the system the screen for configuring APT appears, I select the option "no" (the Enter key no longer works at that point and I have to use the numpad 5 key), the system returns to the installer home screen, where I select the option to configure APT ... if I use any other option in the menu, it returns to the APT configuration and gets stuck in this loop

-- 
Alexandre S. Bencz
+55 {15} 991-707-384
Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
Hello!

On 4/15/20 8:20 PM, Alexandre Bencz wrote:
> I did the installation of Debian 10, after installing the system the screen for
> configuring APT appears, I select the option "no" (the Enter key no longer works
> at that point and I have to use the numpad 5 key), the system returns to the installer
> home screen, where I select the option to configure APT ... if I use any other option
> in the menu, it returns to the APT configuration and gets stuck in this loop

I'm unable to help you unless you are sharing more details on your hardware or
emulator you are using and which image you are trying to install how.

Also, attaching a log file is always helpful.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz
But, how I can get the log ?
Any option from installation menu redirect to apt conf.

On Thu, Apr 16, 2020, 04:50 John Paul Adrian Glaubitz <[hidden email]> wrote:
Hello!

On 4/15/20 8:20 PM, Alexandre Bencz wrote:
> I did the installation of Debian 10, after installing the system the screen for
> configuring APT appears, I select the option "no" (the Enter key no longer works
> at that point and I have to use the numpad 5 key), the system returns to the installer
> home screen, where I select the option to configure APT ... if I use any other option
> in the menu, it returns to the APT configuration and gets stuck in this loop

I'm unable to help you unless you are sharing more details on your hardware or
emulator you are using and which image you are trying to install how.

Also, attaching a log file is always helpful.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
On 4/16/20 3:07 PM, Alexandre Bencz wrote:
> But, how I can get the log ?
> Any option from installation menu redirect to apt conf.
You can at least answer my other questions so I can try to reproduce
the issue myself.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz
Hi!
Sorry

I'm using the Debian 10, this release:
https://cdimage.debian.org/cdimage/ports/2019-11-22/

Here we go:
On Windows:

qemu-system-m68k.exe -boot d -M q800 -m 1000M -serial none -serial
mon:telnet::3333,server,nowait -net nic,model=dp83932 -net user -kernel
vmlinux-4.19.0-2-m68k -initrd initrd.gz -drive
file=debian_m68k.qcow2,format=qcow2 -drive
file=debian-10.0-m68k-NETINST-1.iso,format=raw,media=cdrom

On Linux:

QEMU=qemu-system-m68k
ISO=debian-10.0-m68k-NETINST-1.iso
FILE=debian-10.0.qcow2,format=qcow2

VERSION=$(guestfish --add $ISO --mount /dev/sda:/ ls
/install/kernels|sed -n "/vmlinu[xz]-/s/vmlinu[xz]-//p"|sort -n|tail -1)

guestfish --add $ISO --mount /dev/sda:/ copy-out
/install/kernels/vmlinux-$VERSION .
guestfish --add $ISO --mount /dev/sda:/ copy-out /install/cdrom/initrd.gz .

KERNEL="-kernel vmlinux-$VERSION"
INITRD="-initrd initrd.gz"
CDROM="-cdrom $ISO"

$QEMU -M q800 \
       -m 128M \
       -serial none -serial mon:stdio \
       -drive file=$FILE \
       -net nic,model=dp83932,addr=09:00:07:12:34:57,netdev=hostnet0 \
       -netdev
bridge,id=hostnet0,br=virbr0,helper=/usr/libexec/qemu-bridge-helper \
       -g 1200x800x24 \
       $KERNEL \
       $INITRD \
       $CDROM \
       -append "console=ttyS0" \
       "$@"

Alexandre S. Bencz
+55 {15} 991-707-384

On 16/04/2020 10:09, John Paul Adrian Glaubitz wrote:
> On 4/16/20 3:07 PM, Alexandre Bencz wrote:
>> But, how I can get the log ?
>> Any option from installation menu redirect to apt conf.
> You can at least answer my other questions so I can try to reproduce
> the issue myself.
>
> Adrian
>

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
On 4/16/20 7:24 PM, Alexandre Bencz wrote:
> I'm using the Debian 10, this release: https://cdimage.debian.org/cdimage/ports/2019-11-22/

Please test the current release [1].

Adrian

> [1] https://cdimage.debian.org/cdimage/ports/2020-04-15/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz
There is no m68k version in this new release

Alexandre S. Bencz
+55 {15} 991-707-384

On 16/04/2020 14:29, John Paul Adrian Glaubitz wrote:
> On 4/16/20 7:24 PM, Alexandre Bencz wrote:
>> I'm using the Debian 10, this release: https://cdimage.debian.org/cdimage/ports/2019-11-22/
> Please test the current release [1].
>
> Adrian
>
>> [1] https://cdimage.debian.org/cdimage/ports/2020-04-15/

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
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.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Laurent Vivier-5
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 rather than
"macintosh_old" one with keyboard-configuration package?

Thanks,
Laurent

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
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.org/cdimage/ports/2020-04-16/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz

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/onii9Wp.png

Alexandre S. Bencz
+55 {15} 991-707-384
On 16/04/2020 16:43, John Paul Adrian Glaubitz wrote:
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.org/cdimage/ports/2020-04-16/

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Laurent Vivier-5
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/onii9Wp.png
>

Could you try to add "-k pt-br" on the qemu command line?

Thanks,
Laurent

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Laurent Vivier-5
In reply to this post by John Paul Adrian Glaubitz
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.org/cdimage/ports/2020-04-16/
>

Adrian,

Alexandre is using graphical interface rather than serial port and I
think once the keyboard-configuration package is installed and
configured the keyboard is broken because, as I reported previously, it
doesn't use the good keycode map. macintosh_old is for old kernels that
use a non-standard keycode map, we should use now "macintosh" keycode map.

Thanks,
Laurent

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
On 4/16/20 11:17 PM, Laurent Vivier wrote:
> Alexandre is using graphical interface rather than serial port and I
> think once the keyboard-configuration package is installed and
> configured the keyboard is broken because, as I reported previously, it
> doesn't use the good keycode map. macintosh_old is for old kernels that
> use a non-standard keycode map, we should use now "macintosh" keycode map.

I would have to dig into the source code first. I have commit access
for that repository, but there are tons of instances of "macintosh_old"
in the Code.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
On 4/16/20 11:31 PM, John Paul Adrian Glaubitz wrote:

> On 4/16/20 11:17 PM, Laurent Vivier wrote:
>> Alexandre is using graphical interface rather than serial port and I
>> think once the keyboard-configuration package is installed and
>> configured the keyboard is broken because, as I reported previously, it
>> doesn't use the good keycode map. macintosh_old is for old kernels that
>> use a non-standard keycode map, we should use now "macintosh" keycode map.
>
> I would have to dig into the source code first. I have commit access
> for that repository, but there are tons of instances of "macintosh_old"
> in the Code.

Do you know whether this change is sufficient?

diff --git a/debian/keyboard-configuration.config b/debian/keyboard-configuration.config
index 3229728..b2b37bc 100644
--- a/debian/keyboard-configuration.config
+++ b/debian/keyboard-configuration.config
@@ -429,7 +429,7 @@ case "$arch" in
        model_priority=medium
        ;;
     m68k/mac)
-       XKBMODEL=macintosh_old
+       XKBMODEL=macintosh
        model_priority=medium
        ;;
     m68k/sun*)

Looking at debian/rules, it seems the package could need a lot
of clean-up.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz

Could this keyboard mapping problem be causing the infinite loop in the installer menu?

Alexandre S. Bencz
+55 {15} 991-707-384
On 16/04/2020 18:36, John Paul Adrian Glaubitz wrote:
On 4/16/20 11:31 PM, John Paul Adrian Glaubitz wrote:
On 4/16/20 11:17 PM, Laurent Vivier wrote:
Alexandre is using graphical interface rather than serial port and I
think once the keyboard-configuration package is installed and
configured the keyboard is broken because, as I reported previously, it
doesn't use the good keycode map. macintosh_old is for old kernels that
use a non-standard keycode map, we should use now "macintosh" keycode map.
I would have to dig into the source code first. I have commit access
for that repository, but there are tons of instances of "macintosh_old"
in the Code.
Do you know whether this change is sufficient?

diff --git a/debian/keyboard-configuration.config b/debian/keyboard-configuration.config
index 3229728..b2b37bc 100644
--- a/debian/keyboard-configuration.config
+++ b/debian/keyboard-configuration.config
@@ -429,7 +429,7 @@ case "$arch" in
        model_priority=medium
        ;;
     m68k/mac)
-       XKBMODEL=macintosh_old
+       XKBMODEL=macintosh
        model_priority=medium
        ;;
     m68k/sun*)

Looking at debian/rules, it seems the package could need a lot
of clean-up.

Adrian

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
On 4/16/20 11:52 PM, Alexandre Bencz wrote:
> Could this keyboard mapping problem be causing the infinite loop in the installer menu?
That's basically what Laurent said, yes.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz

This is strange, in my view, it does not make sense that the keyboard type interferes with the APT configuration and causes this bug in the installer menu

Alexandre S. Bencz
+55 {15} 991-707-384
On 16/04/2020 18:55, John Paul Adrian Glaubitz wrote:
On 4/16/20 11:52 PM, Alexandre Bencz wrote:
Could this keyboard mapping problem be causing the infinite loop in the installer menu?
That's basically what Laurent said, yes.

Adrian

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

Alexandre Bencz
In reply to this post by John Paul Adrian Glaubitz
I just tried with the "-k pt-br" option... I got the same error...
Anyway, I recorded a small video to show the problem:
https://youtu.be/jxb_T57egAI

Alexandre S. Bencz
+55 {15} 991-707-384

On 16/04/2020 18:55, John Paul Adrian Glaubitz wrote:
> On 4/16/20 11:52 PM, Alexandre Bencz wrote:
>> Could this keyboard mapping problem be causing the infinite loop in the installer menu?
> That's basically what Laurent said, yes.
>
> Adrian
>

Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop when installing Debian 10

John Paul Adrian Glaubitz
In reply to this post by Alexandre Bencz
On 4/17/20 5:03 AM, Alexandre Bencz wrote:
> This is strange, in my view, it does not make sense that the keyboard type interferes
> with the APT configuration and causes this bug in the installer menu

It has absolutely nothing to do with APT configuration and unless you understand
how debian-installer works in detail, I don't think you are able to judge whether
the diagnosis by Laurent was correct or not.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

12