kernel module sg gone
When I wanted to read iso files on dvd or cd I used to need to do modprobe sg first. That's gone with latest update of kernel and modules and I'd like to know what replaced it. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.
On Thu, 2024-02-01 at 14:16 -0500, Jude DaShiell wrote:
... sg first. That's gone with latest update of kernel and modules and ...
The module is in arch kernels : $ ls /usr/lib/modules/6.7.3-arch1-1/kernel/drivers/scsi/sg.ko.zst 24 /usr/lib/modules/6.7.3-arch1-1/kernel/drivers/scsi/sg.ko.zst What does this command return for you on the problem machine: modinfo sg Gene
On Thu, 2024-02-01 at 14:16 -0500, Jude DaShiell wrote: Quick thought - did you reboot after the kernel update? If not - the update wiped previous kernel modules away You can make sure to keep sg loaded by creating a file: /etc/modules-load.d/loadme.conf And add these : loop sg Loop is handy if you want to be able to mount usb drives after kernel update before rebooting. -- Gene
Hi Jude, On Thu, Feb 1, 2024 at 9:33 PM Jude DaShiell <jdashiel@panix.com> wrote:
When I wanted to read iso files on dvd or cd I used to need to do modprobe sg first. That's gone with latest update of kernel and modules and I'd like to know what replaced it.
The sg module with the latest kernel version It's not gone, it remains :-) $ uname -r 6.7.2-arch1-2 $ lsmod | grep sg sg 49152 0 $ modinfo sg filename: /lib/modules/6.7.2-arch1-2/kernel/drivers/scsi/sg.ko.zst [...] Although I believe it is necessary for a SCSI dvd driver, you can mount an ISO file without the sg module. $ lsmod | grep sg sg 49152 0 $ sudo modprobe -r sg $ lsmod | grep sg $ sudo mount ~/download/iso/archlinux/archlinux-2024.01.01-x86_64.iso /mnt/ mount: /mnt: WARNING: source write-protected, mounted read-only. Hope it helps. Best, M.
participants (3)
-
Genes Lists
-
Jude DaShiell
-
Matteo Piccinini