Re: kernel module sg gone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Feb 1, 2024, at 3:56 PM, Matteo Piccinini <matteo.piccinini@xxxxxxxxx> wrote:


Hi Jude,

On Thu, Feb 1, 2024 at 9:33 PM Jude DaShiell <jdashiel@xxxxxxxxx> 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.


Earlier when I ran cdrecord -scanbus without having loaded sg cdrecord couldn't find my dvd drive.  After modprobe sg then running cdrecord -scanbus cdrecord was able to find and use my dvd.  That was the situation with several earlier kernel versions.

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux