Question about old kernel driver atadisk

Greetings and thank you for your time in advance,

I have FreeBSD 12.4 installed on very old laptop everything works fine except when i attempt to read optical disks or probe bus with cdrecord.
ata0 already running

dmesg just drops that and the whole system is dead with no further reading allowed from storage except software that has been already loaded in RAM, i was reading that some people had similar problems when CAM driver replaced old atadisk driver.

So my question is following:

Is atadisk driver somehow still present in kernel sources so i can recompile kernel and use it?
 
Not only that, it's still included in the GENERIC kernel. If it was missing (or not loaded) then your controller wouldn't be detected at all.

Thank you for reply SirDice!

I was looking at that and i think those drivers are all CAM-based. After some research i think that old atadisk driver is removed from kernel in FreeBSD 10, i will attempt to take driver code from FreeBSD 8/9.
 
Back
Top