Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-30 Thread Pascal Hambourg

On 30/12/2022 at 01:03, Joshua McNeil wrote:

On Thu, 8 Dec 2022 13:05:48 +0100 Bastian Blank  wrote:


Hibernation does not work on any
modern x86 machine and you don't want to have huge swap on desktop
machines as it only adds latency.

(...)

Hibernation works just fine on all of my modern x86_64 machines when the
swap space is sufficient. Could you elaborate on why you believe it doesn't?


I am interested too. The only restriction I am aware of is that 
hibernation is currently disabled when UEFI secure boot is enabled 
(until the hibernation image can be validated with the TPM, IIRC). Has 
secure boot become mandatory on all modern x86 machines ? My most recent 
one is 10 years old, I'm afraid it does not qualify as "modern".



I agree that in many cases swap causes degraded
performance for modern systems.


Can you explain why unused swap space causes degraded performance ?
I mean, how does 8 GB unused swap is different from 1 GB unused swap ?
It was my naive understanding that performance was affected by swap 
activity, not swap size.




Re: Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-30 Thread Bjørn Mork
Bastian Blank  writes:

> Hibernation does not work on any modern x86 machine

"any"?  Really?  You've tested all of them?

And your definition of "modern" is?

Implying that Debian now only supports "modern" hardware matching that
definition?

Sorry, your argument is void.  Hibernation works. Except on Debian,
where x86 laptop users without "modern" hardware don't count.  They
should probably know better and just use some other distro?


Bjørn



Bug#1026986: console-setup: "Dead" keys do not work for Greek keyboard layout in tty

2022-12-30 Thread Παύλος Γκέσος
I confirm that all Greek characters with their accent appear normally.

It's the end of seven+ years of pain!
Thank you very much!



Cross-compiling Busybox debian package

2022-12-30 Thread Clément Péron
Dear Debian Mentors and Busybox Deb maintainers,

This is my first debian package compilation :)

I'm trying to cross compile the busybox deb package (ADM64 -> ARM64).

After reading a bit of doc on the compilation I do the following steps:

dpkg --add-architecture arm64
apt build-dep -aarm64 -y busybox
apt source busybox
cd busybox-1.35.0
export DEB_BUILD_OPTIONS=nocheck
debuild --host-arch arm64 -b --no-sign

You can find the complete step on my github repo:
https://github.com/clementperon/busybox-ubnt-build/blob/main/.github/workflows/default.yml#L37-L71

But I got the following errors:
dpkg-shlibdeps: error: cannot find library libresolv.so.2 needed by
debian/busybox/bin/busybox (ELF format: 'elf64-littleaarch64' abi:
'020100b7'; RPATH: '')
2474dpkg-shlibdeps: error: cannot find library libc.so.6 needed by
debian/busybox/bin/busybox (ELF format: 'elf64-littleaarch64' abi:
'020100b7'; RPATH: '')
2475dpkg-shlibdeps: error: cannot find library ld-linux-aarch64.so.1
needed by debian/busybox/bin/busybox (ELF format:
'elf64-littleaarch64' abi: '020100b7'; RPATH: '')
2476

The arm64 shared libs are stored in
'/usr/aarch64-linux-gnu/lib/libc.so.6'
I tried to set LD_LIBRARY_PATH to /usr/aarch64-linux-gnu/lib
But it didn't help :(

Do you have any idea what I'm missing ?

Thanks for your help,
BR,
Clement