Bug#1041007: linux-image-6.1.0-0.deb11.7-amd64: Please enable TPM hardware RNG support (CONFIG_HW_RANDOM_TPM)

2023-08-14 Thread Björn Persson
Hello, has there been any progress with this?

I just spent several days investigating why my random number generator
disappeared. I'm now running Bookworm on a Bullseye kernel because of
this regression. That's not a good long-term solution.

Björn Persson


pgpB2b4b1eCFY.pgp
Description: OpenPGP digital signatur


Processed: reassign 1049346 to src:linux

2023-08-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 1049346 src:linux
Bug #1049346 [linux] Debian OS ARM64: Please enable support for Renesas 
RZ/G2L-SMARC
Bug reassigned from package 'linux' to 'src:linux'.
No longer marked as found in versions 6.1.0-10-arm64.
Ignoring request to alter fixed versions of bug #1049346 to the same values 
previously set
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1049346: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049346
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[bts-link] source package src:linux

2023-08-14 Thread debian-bts-link
#
# bts-link upstream status pull for source package src:linux
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
# https://bts-link-team.pages.debian.net/bts-link/
#

user debian-bts-l...@lists.debian.org

# remote status report for #1043315 (http://bugs.debian.org/1043315)
# Bug title: linux-image-6.1.0-10-amd64: i915 kernel modesetting fails on GPD 
MicroPC and GPD Pocket 3
#  * https://gitlab.freedesktop.org/drm/intel/-/issues/8419
#  * remote status changed: (?) -> opened
usertags 1043315 + status-opened

thanks



Bug#1049346: Debian OS ARM64: Please enable support for Renesas RZ/G2L-SMARC

2023-08-14 Thread John Vincent
Package: linux
Version: 6.1.0-10-arm64
Severity: normal
File: linux

Dear Maintainer,

The RZ/G2L SMARC is the reference board for the Renesas RZ/G2L MPU: 
https://renesas.info/wiki/RZ-G/RZ-G2L_SMARC

I think the following few configuration options in debian/config/arm64/config 
are missing to run Debian on this board.

For SoC support:

CONFIG_ARCH_R9A07G044=y

For USB2 support:

CONFIG_RESET_RZG2L_USBPHY_CTRL=m

Please note a similar bug was created for RZ/G2M hihope platform earlier ( 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033232) and this has been 
fixed now. Thank you.

Best regards,
John



Renesas Electronics Europe GmbH
Registered Office: Arcadiastrasse 10
DE-40472 Duesseldorf
Commercial Registry: Duesseldorf, HRB 3708
Managing Director: Carsten Jauch
VAT-No.: DE 14978647
Tax-ID-No: 105/5839/1793

Legal Disclaimer: This e-mail communication (and any attachment/s) is 
confidential and contains proprietary information, some or all of which may be 
legally privileged. It is intended solely for the use of the individual or 
entity to which it is addressed. Access to this email by anyone else is 
unauthorized. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, is 
prohibited and may be unlawful.


Bug#1049332: alg: self-tests for stdrng using drbg_nopr_hmac_sha512 failed (rc=-22)

2023-08-14 Thread Farblos
Package: src:linux
Version: 6.4.4-3
Severity: normal
X-Debbugs-Cc: in.cognit...@arcor.de

Dear Maintainer,

   * What led up to the situation?

Latest kernel update from Debian testing.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Latest kernel update from Debian testing.

   * What was the outcome of this action?

Getting warnings and errors reported related to some RNG:

 [   16.355099] sappc1 kernel: iTCO_wdt iTCO_wdt: Found a Intel PCH TCO 
device (Version=6, TCOBASE=0x0400)
 [   16.355328] sappc1 kernel: iTCO_wdt iTCO_wdt: initialized. heartbeat=30 
sec (nowayout=0)
 [   16.357735] sappc1 kernel: DRBG: could not allocate digest TFM handle: 
hmac(sha512)
 [   16.357739] sappc1 kernel: alg: drbg: Failed to reset rng
 [   16.357740] sappc1 kernel: alg: drbg: Test 0 failed for 
drbg_nopr_hmac_sha512
 [   16.357741] sappc1 kernel: alg: self-tests for stdrng using 
drbg_nopr_hmac_sha512 failed (rc=-22)
 [   16.357743] sappc1 kernel: [ cut here ]
 [   16.357744] sappc1 kernel: alg: self-tests for stdrng using 
drbg_nopr_hmac_sha512 failed (rc=-22)
 [   16.357751] sappc1 kernel: WARNING: CPU: 15 PID: 851 at 
crypto/testmgr.c:5936 alg_test+0x516/0x630
 [   16.357757] sappc1 kernel: Modules linked in: sha512_ssse3(+) 
mei_hdcp(+) mei_wdt(+) mei_pxp(+) sha512_generic iTCO_wdt intel_pmc_bxt 
snd_hwdep drbg(+) rapl iTCO_vendor_support pmt_telemetry joydev intel_cstate 
nft_redir cfg80211 watchdog intel_rapl_msr pmt_class snd_pcm intel_uncore 
snd_timer ansi_cprng mei_me wmi_bmof processor_thermal_device_pci snd pcspkr 
ecdh_generic(+) intel_lpss_pci processor_thermal_device ecc rfkill mei i2c_i801 
intel_lpss soundcore thunderbolt(+) ucsi_acpi processor_thermal_rfim 
nft_chain_nat i2c_smbus idma64 processor_thermal_mbox typec_ucsi nf_nat 
processor_thermal_rapl roles intel_rapl_common intel_vsec typec int3403_thermal 
igen6_edac nf_conntrack i2c_hid_acpi i2c_hid button int340x_thermal_zone 
battery ac nf_defrag_ipv6 int3400_thermal intel_pmc_core acpi_pad 
nf_defrag_ipv4 acpi_thermal_rel nf_tables msr parport_pc ppdev lp parport 
nfnetlink fuse loop efi_pstore configfs ip_tables x_tables autofs4 ext4 crc16 
mbcache jbd2 dm_crypt dm_mod efivarfs raid10 raid456 libcrc32c crc32c_generic
 [   16.357799] sappc1 kernel:  async_raid6_recov async_memcpy async_pq 
async_xor xor async_tx raid6_pq raid1 raid0 multipath linear md_mod hid_cherry 
hid_generic usbhid hid i915 i2c_algo_bit drm_buddy drm_display_helper 
drm_kms_helper cec rc_core crc32c_intel ttm nvme xhci_pci xhci_hcd nvme_core 
t10_pi drm usbcore aesni_intel psmouse evdev crypto_simd cryptd serio_raw 
crc64_rocksoft crc64 crc_t10dif crct10dif_generic usb_common crct10dif_pclmul 
crct10dif_common video wmi
 [   16.357820] sappc1 kernel: CPU: 15 PID: 851 Comm: cryptomgr_test 
Tainted: G U 6.4.0-2-amd64 #1  Debian 6.4.4-3
 [   16.357823] sappc1 kernel: Hardware name: Framework Laptop (12th Gen 
Intel Core)/FRANMACP04, BIOS 03.05 08/23/2022
 [   16.357824] sappc1 kernel: RIP: 0010:alg_test+0x516/0x630
 [   16.357827] sappc1 kernel: Code: ff ff 4c 89 e6 4c 89 e7 41 89 c7 e8 24 
fa fe ff e9 37 ff ff ff 44 89 f9 48 89 ea 4c 89 ee 48 c7 c7 d0 d9 ca 99 e8 4a 
f2 b5 ff <0f> 0b e9 7d fe ff ff 48 89 c2 48 89 ee 48 c7 c7 08 d9 ca 99 45 89
 [   16.357829] sappc1 kernel: RSP: :bce9c0b63e30 EFLAGS: 00010282
 [   16.357831] sappc1 kernel: RAX:  RBX:  
RCX: 
 [   16.357832] sappc1 kernel: RDX: 0002 RSI: 0027 
RDI: 
 [   16.357833] sappc1 kernel: RBP: 921b60dc7000 R08:  
R09: bce9c0b63cc0
 [   16.357834] sappc1 kernel: R10: 0003 R11: 9a2d26a8 
R12: 0058
 [   16.357836] sappc1 kernel: R13: 921b60dc7080 R14: 0058 
R15: ffea
 [   16.357837] sappc1 kernel: FS:  () 
GS:921edfbc() knlGS:
 [   16.357838] sappc1 kernel: CS:  0010 DS:  ES:  CR0: 
80050033
 [   16.357840] sappc1 kernel: CR2: 7f6f22050579 CR3: 000154614000 
CR4: 00f50ee0
 [   16.357841] sappc1 kernel: PKRU: 5554
 [   16.357842] sappc1 kernel: Call Trace:
 [   16.357844] sappc1 kernel:  
 [   16.357845] sappc1 kernel:  ? alg_test+0x516/0x630
 [   16.357848] sappc1 kernel:  ? __warn+0x81/0x130
 [   16.357853] sappc1 kernel:  ? alg_test+0x516/0x630
 [   16.357855] sappc1 kernel:  ? report_bug+0x191/0x1c0
 [   16.357859] sappc1 kernel:  ? prb_read_valid+0x1b/0x30
 [   16.357862] sappc1 kernel:  ? handle_bug+0x3c/0x80
 [   16.357865] sappc1 kernel:  ? exc_invalid_op+0x17/0x70
 [   16.357867] sappc1 kernel:  ? asm_exc_invalid_op+0x1a/0x20
 [   16.357870] sappc1 kernel:  ? alg_test+0x516/0x630
 [   16.357873] sappc1 kernel:  ? 

Re: CONFIG_KEYBOARD_GPIO for debian linux-image-rpi

2023-08-14 Thread Uwe Kleine-König

Hello,

On 8/13/23 14:24, Salvatore Bonaccorso wrote:

On Mon, Aug 07, 2023 at 01:05:06AM +0200, Pali Rohár wrote:

On Saturday 15 July 2023 10:50:42 Pali Rohár wrote:

On Saturday 15 July 2023 10:31:53 Salvatore Bonaccorso wrote:

Hi,

Let's loop in the Debian kernel team.


Hi, any opinion there?


On Fri, Jul 14, 2023 at 10:51:19PM +0200, Pali Rohár wrote:

Hello! I'm not sure who to ask about this issue but you are the last
person who modified linux-image-rpi debian package for bookworm.

I have done clean install of bookworm for raspberrypi (armel, rev1b) and
I figured out that kernel does not contain CONFIG_KEYBOARD_GPIO anymore.

   $ uname -a
   Linux raspberrypi 6.1.0-10-rpi #1 Debian 6.1.37-1 (2023-07-03) armv6l 
GNU/Linux

   $ grep CONFIG_KEYBOARD_GPIO /boot/config-6.1.0-10-rpi
   # CONFIG_KEYBOARD_GPIO is not set
   # CONFIG_KEYBOARD_GPIO_POLLED is not set

So any gpio based keyboard on raspberry pi does not work. Personally I'm
using shutdown gpio button and I read more forums that lot of other
people are using gpio button for shutdown action too. So I think that in
raspberrypi kernel specific package, this driver can be useful to have.

It there any reason why CONFIG_KEYBOARD_GPIO is disabled in bookworm
kernel from linux-image-rpi package? And if not, would it be possible to
enable this driver?


Hmm, the status quo is strange here:

 - enabled including the polled variant on arm64 and i686
 - enabled without the polled variant on armhf and amd64 (and I think
   x32)
 - only the polled driver on armel-marvell

I'm in favor of enabling them both as modules for arm*. I didn't find 
when it was disabled for armel-rpi, looking at the output of


git grep KEYBOARD_GPIO debian/5.10.179-5
git grep KEYBOARD_GPIO debian/4.19.160-2

I would have said that it was off on bullseye and buster, but maybe I'm 
missing something. (In that case my summary about master above is likely 
wrong, too.)


Best regards
Uwe



Processed: reassign 1048892 to src:linux

2023-08-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 1048892 src:linux 6.1.38-4
Bug #1048892 [linux-image-amd64] linux-image-amd64: 7z mistaken cpu core count, 
qemu vm's cpu are 50% slower than 5.10 kernel from debian 11
Bug reassigned from package 'linux-image-amd64' to 'src:linux'.
No longer marked as found in versions linux-signed-amd64/6.1.38+4.
Ignoring request to alter fixed versions of bug #1048892 to the same values 
previously set
Bug #1048892 [src:linux] linux-image-amd64: 7z mistaken cpu core count, qemu 
vm's cpu are 50% slower than 5.10 kernel from debian 11
Marked as found in versions linux/6.1.38-4.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1048892: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1048892
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems