Bug#1006149: linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads

2022-05-13 Thread Axel Beckert
Hi,

Salvatore Bonaccorso wrote:
> > > Francesco reported that the issue was fixed for him in 5.17.0-2-686 which 
> > > corresponds to 5.17.6 upstream kernel.
> > > Petra & Axel: can you verify whether it is also fixed for you?
[…]
> > and installed it with "dpkg -i" on both T41 Thinkpads, and they
> > both rebooted (and are now working) flawlessly  :-))
> > 
> > Thanks to all who have contributed to this solution!
> 
> Awesome, thanksfor confirming!

My Thinkpad A31 also works again, thanks!

(Had it off since the last test and it first had to apply about 2 GB
of updates, so it took a while until I could reboot.)

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#1006149: marked as done (linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads)

2022-05-13 Thread Debian Bug Tracking System
Your message dated Fri, 13 May 2022 17:20:37 +0200
with message-id 
and subject line Re: Bug#1006149: linux-image-5.16.0-1-686: Fails to boot on 
T41 Thinkpads
has caused the Debian Bug report #1006149,
regarding linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1006149: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006149
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux
Version: 5.16.7-2
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

This new kernel version does not boot on two fairly similar
old IBM T41 Thinkpads.

What reproducibly happens is as follows:

After the lines

   Loading Linux 5.16.0-1-686 ...
   Loading initial ramdisk ...

the screen gets flushed, and I see:
   
   [  4.xx] ata1.00: Read log 0x00 page 0x00 failed  Emask 0x1
   

The "xx" vary for every try.

Then nothing else happens.
Ctrl-Alt-Del has no effect.
I have to reset the computer by pressing the button.

On an old PC running the same kernel the same message "ata1.00: Read log ..."
appears, but then the boot process continues normally.

linux-image-5.15.0-3-686, which I am using to write this
message, runs fine.


  Thanks for maintaining this package
 and best regards,
   Petra R.-P.


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 82855PM Processor to I/O 
Controller [8086:3340] (rev 03)
Subsystem: IBM Thinkpad T40 series [1014:0529]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge [0604]: Intel Corporation 82855PM Processor to AGP 
Controller [8086:3341] (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- 
Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:1d.0 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 01) (prog-if 00 
[UHCI])
Subsystem: IBM ThinkPad [1014:052d]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- 
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge 
[8086:2448] (rev 81) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- 
Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:1f.0 ISA bridge [0601]: Intel Corporation 82801DBM (ICH4-M) LPC Interface 
Bridge [8086:24cc] (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- 
Kernel driver in use: snd_intel8x0
Kernel modules: snd_intel8x0

00:1f.6 Modem [0703]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) 
AC'97 Modem Controller [8086:24c6] (rev 01) (prog-if 00 [Generic])
Subsystem: IBM ThinkPad T4x Series [1014:0524]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: snd_intel8x0m
Kernel modules: snd_intel8x0m

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] RV200/M7 [Mobility Radeon 7500] [1002:4c57] (prog-if 00 [VGA 
controller])
Subsystem: IBM ThinkPad T4x Series [1014:0530]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping+ SERR+ FastB2B+ DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: radeon
Kernel modules: radeonfb, radeon

02:00.0 CardBus bridge [0607]: Texas Instruments 

Processed: tagging 1006149

2022-05-13 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 1006149 - moreinfo
Bug #1006149 [src:linux] linux-image-5.16.0-1-686: Fails to boot on T41 
Thinkpads
Removed tag(s) moreinfo.
> thanks
Stopping processing here.

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



Bug#1006149: linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads

2022-05-13 Thread Salvatore Bonaccorso
Source: linux
Source-Version: 5.17.6-1

On Fri, May 13, 2022 at 09:38:37AM +0200, Petra R.-P. wrote:
> Hello Diederik,
> 
> Thanks for the good news:
> 
> On Fri 13 May 2022 at 02:19:44 +0200  Diederik de Haas 
>  wrote:
>  
>  [...]
> 
> > Francesco reported that the issue was fixed for him in 5.17.0-2-686 which 
> > corresponds to 5.17.6 upstream kernel.
> > Petra & Axel: can you verify whether it is also fixed for you?
> 
> I downloaded 
> http://ftp.de.debian.org/debian/pool/main/l/linux-signed-i386/linux-image-5.17.0-2-686_5.17.6-1_i386.deb
> and installed it with "dpkg -i" on both T41 Thinkpads, and they
> both rebooted (and are now working) flawlessly  :-))
> 
> Thanks to all who have contributed to this solution!

Awesome, thanksfor confirming!

Regards,
Salvatore



Re: How to build a "linux-kbuild-.deb" package

2022-05-13 Thread Metztli Information Technology
On Mon, May 9, 2022 at 11:12 AM Robert Senger 
 wrote:
>
> Hi all,
>
> I am building my own custom Kernel by doing this (short version):
>
> apt install linux-source
> tar -xf linux-source-$VERSION.tar.xz
> cd linux-source-$VERSION
> make config
> make LOCALVERSION="-custom" -j8 bindeb-pkg
>
> This creates binary packages for the kernel image, the kernel headers
> and for linux-libc-dev. However, the kernel-headers package depends on
> the linux-kbuild-$VERSION.deb package, which must be installed from the
> debian repositories.
>
> Now I need to compile and install an older Kernel (with headers), for
> which version there is no linux-kbuild available any more in the debian
> repos.
>
> The debian website which describes the linux-kbuild-$VERSION.deb
> package points to the linux sources as source for the linux-kbuild
> package.
>
> But I have absolutely no idea how to build the linux-kbuild-
> $VERSION.deb package from the linux sources. Searched around Google a
> lot but with no success.
>
> So, what must I do to get a linux-kbuild deb package for a certain
> older Kernel version, if I have the appropriate kernel sources
> (installed as above) still available?
>
> Thanks!
>
> Robert
>

You may want to use the dpkg-buildpackage utility with the relevant Debian 
Packaging for your Linux kernel x.y.z ; this last can be obtained from 
https://anonscm.debian.org/git/kernel/linux.git 


Best Professional Regards.

-- 
Jose R R
http://metztli.it
-
Download Metztli Reiser4: Debian Bullseye w/ Linux 5.16.20 AMD64
-
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
-
or SFRN 5.1.3, Metztli Reiser5 https://sf.net/projects/debian-reiser4/
---
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/



Bug#1006149: linux-image-5.16.0-1-686: Fails to boot on T41 Thinkpads

2022-05-13 Thread Petra R.-P.
Hello Diederik,

Thanks for the good news:

On Fri 13 May 2022 at 02:19:44 +0200  Diederik de Haas  
wrote:
 
 [...]

> Francesco reported that the issue was fixed for him in 5.17.0-2-686 which 
> corresponds to 5.17.6 upstream kernel.
> Petra & Axel: can you verify whether it is also fixed for you?

I downloaded 
http://ftp.de.debian.org/debian/pool/main/l/linux-signed-i386/linux-image-5.17.0-2-686_5.17.6-1_i386.deb
and installed it with "dpkg -i" on both T41 Thinkpads, and they
both rebooted (and are now working) flawlessly  :-))

Thanks to all who have contributed to this solution!

   Best regards,
   Petra



Bug#1010916: linux-image-5.17.0-2-amd64 - KVM?

2022-05-13 Thread klak

Package:linux-image-5.17.0-2-amd64
Version:5.17.6-1


Hallo Kernel-Team,

without words:  (see also attachment)


[ 1093.830059] BUG: unable to handle page fault for address:
0002e503 [ 1093.832535] #PF: supervisor read access in kernel
mode [ 1093.834982] #PF: error_code(0x) - not-present page
[ 1093.837345] PGD 0 P4D 0
[ 1093.839660] Oops:  [#2] PREEMPT SMP NOPTI
[ 1093.841948] CPU: 17 PID: 2954 Comm: vhost-2947 Tainted: G  D
  5.17.0-2-amd64 #1  Debian 5.17.6-1 [ 1093.844244] Hardware name:
Intel Corporation S5520HC/S5520HC, BIOS
S5500.86B.01.00.0064.050520141428 05/05/2014 [ 1093.846531] RIP:
0010:__srcu_read_lock+0x5/0x30 [ 1093.848791] Code: 71 27 84 00 e8 fc
35 00 00 8b 03 85 c0 74 e2 0f 0b eb de 0f 0b 8b 03 83 f8 02 75 b3 0f 0b
eb af cc cc cc cc cc 0f 1f 44 00 00 <8b> 87 c8 c3 00 00 48 8b 97 f0 c3
00 00 41 89 c0 83 e0 01 41 83 e0 [ 1093.853319] RSP:
0018:b40b8683bc78 EFLAGS: 00010046 [ 1093.855582] RAX:
0001 RBX: 9b3bf645e008 RCX: 0001 [
1093.857782] RDX:  RSI: b40b8683bc80 RDI:
0002213b [ 1093.859940] RBP: 0001 R08:
9b3bf645e008 R09:  [ 1093.862061] R10:
2b30005a R11: 22308000 R12: 9b3bf6c2dff8 [
1093.864149] R13: 0003 R14: 0002213b R15:
0001 [ 1093.866200] FS:  ()
GS:9b47bfc0() knlGS: [ 1093.868234] CS:
0010 DS:  ES:  CR0: 80050033 [ 1093.870224] CR2:
0002e503 CR3: 000c7655c006 CR4: 000226e0 [
1093.872200] Call Trace: [ 1093.874128]   [ 1093.876055]
irqfd_wakeup+0x7e/0x1a0 [kvm] [ 1093.877989]  ?
__check_object_size+0x56/0x140 [ 1093.879812]  ?
__vhost_add_used_n+0x1ab/0x220 [vhost] [ 1093.881594]  ?
__local_bh_enable_ip+0x37/0x80 [ 1093.883337]
__wake_up_common+0x7d/0x180 [ 1093.885042]  eventfd_signal+0x76/0xb0 [
1093.886707]  vhost_tx_batch.constprop.0+0xb1/0x1d0 [vhost_net] [
1093.888396]  handle_tx_copy+0x16c/0x600 [vhost_net] [ 1093.890013]
handle_tx+0xa5/0xe0 [vhost_net] [ 1093.891590]  vhost_worker+0x76/0xc0
[vhost] [ 1093.893125]  ? __vhost_add_used_n+0x220/0x220 [vhost] [
1093.894722]  kthread+0xe5/0x110 [ 1093.896185]  ?
kthread_complete_and_exit+0x20/0x20 [ 1093.897610]
ret_from_fork+0x1f/0x30 [ 1093.899037]   [ 1093.900419] Modules
linked in: vfio_pci vfio_pci_core vfio_virqfd vfio_iommu_type1 vfio
vhost_net vhost vhost_iotlb tap tun veth rpcsec_gss_krb5 nfsv4
dns_resolver nft_masq nfs nft_chain_nat nf_nat fscache netfs
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink ksmbd
crc32_generic cifs_arc4 bridge binfmt_misc intel_powerclamp kvm_intel
kvm irqbypass mgag200 ghash_clmulni_intel aesni_intel drm_shmem_helper
drm_kms_helper ipmi_ssif crypto_simd cryptd iTCO_wdt cec intel_pmc_bxt
rc_core evdev joydev intel_cstate iTCO_vendor_support intel_uncore
watchdog pcspkr acpi_ipmi ioatdma sg ipmi_si i7core_edac ipmi_devintf
i5500_temp ipmi_msghandler button acpi_cpufreq jc42 coretemp nfsd 8021q
garp stp mrp llc auth_rpcgss nfs_acl parport_pc lockd ppdev grace
sunrpc lp parport drm configfs fuse ip_tables x_tables autofs4 ext4
crc16 mbcache jbd2 btrfs zstd_compress raid10 raid456 async_raid6_recov
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c
crc32c_generic raid1 raid0 [ 1093.900521]  multipath linear md_mod
dm_mod sr_mod sd_mod cdrom ses enclosure t10_pi crc_t10dif
scsi_transport_sas hid_generic crct10dif_generic ata_generic usbhid hid
ixgbe ata_piix megaraid_sas libata igb uhci_hcd ehci_pci ehci_hcd
xfrm_algo mdio_devres libphy usbcore scsi_mod i2c_algo_bit dca i2c_i801
crct10dif_pclmul ptp crct10dif_common crc32_pclmul crc32c_intel
i2c_smbus lpc_ich usb_common mdio scsi_common pps_core [ 1093.916813]
CR2: 0002e503 [ 1093.918105] ---[ end trace 
]--- [ 1093.959155] RIP: 0010:kvm_replace_memslot+0xcf/0x390 [kvm] [
1093.960396] Code: 44 24 08 48 85 db 0f 84 3b 02 00 00 48 89 ea 48 c1
e2 04 48 01 da 48 8b 4a 08 48 85 c9 74 1e 48 8b 32 48 89 31 48 85 f6 74
04 <48> 89 4e 08 48 c7 02 00 00 00 00 48 c7 42 08 00 00 00 00 48 8d 54
[ 1093.962721] RSP: 0018:b40b8786bd70 EFLAGS: 00010206 [
1093.963864] RAX: b40b88fb58b8 RBX: 9b3bf69b1000 RCX:
b40b88fb5c80 [ 1093.964999] RDX: 9b3bf69b1000 RSI:
0003 RDI: b40b88fb5000 [ 1093.966120] RBP:
 R08: 0001 R09: 0860 [
1093.967259] R10: 0001 R11:  R12:
9b3bf69b3a00 [ 1093.968342] R13:  R14:
0001 R15: b40b88fb5000 [ 1093.969413] FS:
() GS:9b47bfc0() knlGS:
[ 1093.970499] CS:  0010 DS:  ES:  CR0: 80050033 [
1093.971584] CR2: 0002e503 CR3: 000c7655c006 CR4:
000226e0 [ 1093.972696] note: vhost-2947[2954] exited with
preempt_count 1



May 13 06:09:26 kk-12x2260 kernel: [ 1093.830059] BUG: unable to handle page 
fault for