site  contact  subhomenews

A new fault in the 5.15.x kernel

July 30, 2022 — BarryK

I reported early this year, kernel releases after 5.15.16 were badly broken:

https://bkhome.org/news/202202/temporary-easyos-341rc-with-51516-kernel.html

It did eventually "come good", but that was many releases after 5.15.16.

EasyOS has 5.15.57 kernel, and there is a new problem. It was in the previous version used in Easy, 5.15.53 I think, don't recall if had the problem before that. Anyway, it is recent.

I found that if plug in a USB-stick, sometimes its partitions are not recognized. If the stick is, for example, /dev/sdb with two partitions, then /sys/block/sdb is created, but not /sys/block/sdb/sdb1 and sdb2.

This happened to me just now. Here is output from 'dmesg':

[ 4005.337350] usb 1-8: new high-speed USB device number 6 using xhci_hcd
[ 4005.478569] usb 1-8: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.07
[ 4005.478587] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4005.478596] usb 1-8: Product: Firebird6Sp9
[ 4005.478603] usb 1-8: Manufacturer: SanDisk Corporation
[ 4005.478609] usb 1-8: SerialNumber: 0123456789ABCDEF
[ 4005.481279] usb-storage 1-8:1.0: USB Mass Storage device detected
[ 4005.481662] scsi host6: usb-storage 1-8:1.0
[ 4006.484794] scsi 6:0:0:0: Direct-Access SanDisk Firebird 1.07 PQ: 0 ANSI: 2
[ 4006.485763] sd 6:0:0:0: [sdb] 131072 512-byte logical blocks: (67.1 MB/64.0 MiB)
[ 4006.486130] sd 6:0:0:0: [sdb] Write Protect is off
[ 4006.486139] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 4006.486455] sd 6:0:0:0: [sdb] No Caching mode page found
[ 4006.486462] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4006.571440] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4006.571445] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4006.571447] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4006.584510] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 4006.637884] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4006.637889] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4006.637890] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4007.877878] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4007.877882] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4007.877884] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4008.977812] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4008.977816] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4008.977818] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4009.327819] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4009.327823] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4009.327825] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4010.564531] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4010.564535] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4010.564537] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4010.794553] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4010.794557] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4010.794559] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4012.047824] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4012.047828] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4012.047830] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4012.281265] sd 6:0:0:0: ioctl_internal_command return code = 70000
[ 4012.281269] sd 6:0:0:0: Sense Key : Hardware Error [current]
[ 4012.281271] sd 6:0:0:0: Add. Sense: No additional sense information
[ 4154.435325] usb 1-8: USB disconnect, device number 6

I unplugged the USB-stick and replugged it:

[ 4165.647338] usb 1-8: new high-speed USB device number 7 using xhci_hcd
[ 4165.788093] usb 1-8: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.26
[ 4165.788106] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4165.788112] usb 1-8: Product: Cruzer Blade
[ 4165.788116] usb 1-8: Manufacturer: SanDisk
[ 4165.788121] usb 1-8: SerialNumber: 4C530001321026113335
[ 4165.790242] usb-storage 1-8:1.0: USB Mass Storage device detected
[ 4165.790493] scsi host6: usb-storage 1-8:1.0
[ 4166.804885] scsi 6:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 6
[ 4166.809125] sd 6:0:0:0: [sdb] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 4166.809903] sd 6:0:0:0: [sdb] Write Protect is off
[ 4166.809914] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 4166.810282] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 4166.827284] sdb: sdb1 sdb2
[ 4166.829474] sd 6:0:0:0: [sdb] Attached SCSI disk

...this time, success. Notice the different "Product:" identification.

Maybe the SanDisk Cruzer is failing, but I am pretty sure had the same problem with a different USB-stick recently. The problem is, it happens "sometimes", can't make it happen. So cannot verify it happens with other sticks.

If you experience this with Easy 4.3, please report to the forum:

https://forum.puppylinux.com/viewtopic.php?t=6457       



Tags: easy