Le 22/11/2019 à 15:04, Christopher Gregory via blfs-support a écrit :
> Hello,
>
> It seems that this install is faulty. I have just discovered that my working
> dvd rom drive will not burn dvd's. I have tried all that are in the book,
> and sg3 can not detect an optical drive, Brasero keeps saying to insert a
> supported type.
>
> Upon looking in /dev there is no /dev/sr0 listed. I have no idea how to
> solve these issues. The dvd drive is working correctly. I have followed the
> book instructions to the letter, as always. The only difference is that I
> have switched to using lvm2 and am booting from an initramfs. Do I have to
> destroy everything yet again because no one is willing to assist, or is
> unable to?
>
Christopher, I think you do not need (yet) to "destroy" everything again. What
you describe really looks like some missing kernel feature: if a dvd drive is
correctly connected (either through sata or scsi), and all the relevant
options are correctly set when building the kernel, the kernel itself should
create /dev/sr0 in the devtmpfs. Udev is not involved I think.
So compare what you build in or as module for your kernel to what the host
distro has (lsmod on host distro). Note: builtin modules list is at
/lib/modules/<version>/modules.builtin.
For example, from host distro (with the lfs root mounted on $LFS, and VERSION
set to the lfs kernel version string):
------
lsmod | while read module notused; do
if ! find $LFS/lib/modules/$VERSION/ -name ${module}\* > /dev/null; then
if ! grep -q $module $LFS/lib/modules/$VERSION/modules.builtin; then
echo $module is missing
fi
fi
done
------
Any output should be questioned (well, the command above has not been much
tested, too!).
You may want also to start from the host's modules.builtin, instead of lsmod.
HTH
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page