I cannot shutdown/poweroff after a HW upgrade - kernel gets stuck.
  
  
    I wanted to upgrade my server from 10 year old HW to something
    newer. THis server runs debian bullseye with v5.19 kernel from
    backports. Here is the list of items I got in the upgraded system 
    
      - Intel z690 mother board (asrock steel legend)
- Core i3-13100 cpu
- Super Flower 650W PSU, 
- G.SKILL DDR4 RAM
- 2x SK hynix P31 nvme SSD 1TB each. 
I reused these from old build
    
      - Geforce GT 630 video card
- SAS9211i HBA card for extra SATA ports
- All my large spinning drives that contained data in RAID6 and
        RAID1
I made a raid1 on mvme ssd and  created 3 partitions. In one I
    installed debian testing (bookworm with v6.1 kernel) and in another,
    I image copied the old installation I had before the HW upgrade.
    Debian bookworm runs fine and reboots/shutsdown as expected. My old
    system copied over also works fine for most part. It boots and runs
    everything that I care about. All my RAID disks are working. No
    issue as long as it runs.
    
    The only trouble I have is that it refuses to
    reboot/shutdown/poweroff. It seem to go through all steps and reach
    the end but seem to get stuck in this endless cycle complaining
    about some blkdev issue.  Here are the last lines printed on the
    console that shows the cycle
    [OK] Reached target Power-off
      [67652.NNNNNN] block device autoloading is deprecated and will be
      removed
      <repeat 9 more times with different numbers for NNNN>
      [67667.NNNNNN] blkdev_get_no_open: 119 callbacks suppressed
      <messge repeats endlessly from block device autoloading line
      with different NNNN and number of callbacks being slightly
      different>
    
    I assume by "[OK]..."  line that we are really at the end of shut
    down process. When I turn off physically using power switch and
    reboot, I do not get any fsck error messages. So, I assume that
    filesystems are safe and kernel is somehow lost in some thread and
    cannot end the reboot process. 
    
    Any ideas what I can do?
    
    Regards
    Ramesh
  
Reply to: