Kernel Panic when R...
 
Notifications
Clear all

Kernel Panic when RAID 5 volume mounts

175 Posts
3 Users
6 Likes
4,897 Views
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support No problem with standalone disks. I have an external LaCie rugged drive that disconnects properly. No crashes.

 

 
Posted : 10/01/2022 5:30 pm
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi 

Here is what I tried to no success:

Setup:
M1 Max, 8TB Thunderblade, as RAID 5. External HDMI Dell Monitor, and a Thunderdock to plug the monitor in through. I tested both the Thunderblade direct connected, and through the dock. OS is Monterey.

1. Use the system in dual monitor mode for a while, sleep and wake
2. Use the System for a while, unmount the Thunderblade, close the lid and let it sit in clamshell mode.
3. Close the lid, and use the system for a while, Unmount the volume. wait.
4. Close the lid, and use the system for a while, Unmount the volume. Eject the Thunderblade and sleep.
5. Same test, eject the Thunderblade, sleep, unplug the dock while asleep.
6. Same test, no Dock, unplug both Monitor and drive while asleep.
7. Same test, no Dock, unplug only the Drive while asleep.
8. Same test, no Dock, unplug only the Monitor while asleep.

I tried a few other combos not listed above, but did not see any panics. Can you spot anything I am missing?

 
Posted : 11/01/2022 12:58 am
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support And you've set this up as a Time Machine backup volume?

 

 
Posted : 11/01/2022 11:13 am
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support Also, no matter how long I wait, when disconnecting, I ALWAYS see the SoftRAID error about a volume disappearing.

 

 
Posted : 11/01/2022 11:14 am
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi 

I did not have this as Time Machine, that must be it. I will test this tonight with a drive full of files.

The error from SoftRAID may be something we can filter out. Time Machine is holding onto the volume, it appears, even when unmounted. I think this is the same issue where users cannot "delete" a time machine volume, even when it is removed from time machine.

 
Posted : 11/01/2022 2:51 pm
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support OK, I downgraded from 12.2 beta back to 12.1. Installed Dock Ejector and SoftRAID 6.2.1 beta 5. I did NOT enable Time Machine and ejects work just fine! So, you were onto something when you said Time Machine must be holding onto some of the files.

Guess at this point all we can do is wait for Apple to fix.

 

 
Posted : 11/01/2022 3:31 pm
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi 

That does not resolve the kernel panic issue, however, just the eject issue. I am working on it currently.

 
Posted : 11/01/2022 9:52 pm
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi 

I did more testing. I may be closer. I was getting shutdown hangs with the volume used as Time Machine. I need to test more, as it was not consistent. No kernel panics, however and I can unmount the SoftRAID volume in both dual monitor and clamshell mode and not get an error when disconnecting the cable. I will keep working on that.

 
Posted : 12/01/2022 4:43 am
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support I guess I should have clarified more. If I don't have Time Machine enabled on the Thunderbay I am able to eject without any error AND I'm not getting a kernel panic.

 

 
Posted : 12/01/2022 8:36 am
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support Scratch that. I just got a kernel panic when ejecting the Thunderbay using the Ejector tool. Not using TM, but installed Carbon Copy Cloner and started using that instead. Was in clamshell mode at the time. When ejecting, it immediately froze and panicked.

Will continue to test other situations.

 

 
Posted : 12/01/2022 11:32 am
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi I will be testing with Time Machine backups from now on with your configuration.

 
Posted : 12/01/2022 11:49 am
(@mcvosi)
Posts: 112
Estimable Member
 

@softraid-support OK, let me know how that goes. 

FYI, had my Thunderbay plugged into the OWC dock and used Ejector tool to disconnect. As soon as I hit eject it froze my Mac and panicked. Happened twice today. Tomorrow I will just plug the Thunderbay into the Mac and see how it does.

 

 
Posted : 12/01/2022 6:01 pm
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi 

Two questions on this Dock Ejector:

If you eject with Finder (control e) does it also panic?

Can you save the panic report?

thanks

 

 
Posted : 12/01/2022 10:35 pm
(@softraid-support)
Posts: 8005
Member Admin
 

@mcvosi 

Can you test 6.2.1 b6? It has a minor change for Time Machine volumes and may help avoid your crash issue. Let me know either way.

 
Posted : 12/01/2022 10:44 pm
(@softraid-support)
Posts: 8005
Member Admin
 

Make sure you uninstall b5 and then install b6. as macOS may not update the StagedExtensions otherwise. you can tell with copy/paste this terminal command:

sudo kextstat -b com.softraid.driver.SoftRAID

This post was modified 2 years ago by SoftRAID Support
 
Posted : 12/01/2022 10:47 pm
Page 9 / 12
Share:
close
open