> Sent: Saturday, November 23, 2019 at 6:06 AM
> From: "Ken Moffat via blfs-support" <[email protected]>
> To: "BLFS Support List" <[email protected]>
> Cc: "Ken Moffat" <[email protected]>
> Subject: Re: [blfs-support] More weirdness in this install
>
> On Fri, Nov 22, 2019 at 05:43:21PM +0100, Pierre Labastie via blfs-support 
> wrote:
> > Le 22/11/2019 à 15:04, Christopher Gregory via blfs-support a écrit :
> [...]
> > 
> > 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
> 
> Sounds more likely than what I suggested.
> 
> Device Drivers
>   SCSI device support
>     SCSI CDROM support
>     SCSI generic support
> 
> I'm not sure if the device will show up if the modules have not been
> installed (they maybe get installed automatically, or maybe not).
> 
> ĸen
> -- 
> Whilst all mushrooms are edible, the trick is to eat only those which
> will prove to be edible more than once. The Celebrated Discworld Almanak
> recommends you play safe and eat beans on toast.
> -- 
> http://lists.linuxfromscratch.org/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 

Hello,

Thank you both for the suggestions, which I will be looking at.  The problem(s) 
I have is that I can no longer boot into the debian installation, it seems that 
when I installed grub it wiped out access to debian, even though the grub menu 
etries are still on the drive, and the drive is the one that boots lfs/blfs.  
It gives the error that it can not mount /root and the debian install is also 
lvm2.

The only dvd that I have, is the debian install dvd, not the live version that 
I could boot to.  Now as I do not have a live dvd of any distro, the catch 22 
comes in, that I can not burn one either.  I want to do this via dvd as if I 
plug in an external usb stick, I will get nasty results due to it being usb, 
and grub being its usual bruteish stubborn self.  I have never really been able 
to successfully tame grub.  That is why I have left it alone on my lfs/blfs 
since I first got things working correctly.  I actually have no idea where it 
is actually installed, and is actually booting from.  I have 4 internal hard 
drives, two of which are sdd drives.  

I had already checked the kernel config file, and CONFIG_CDROM=y is most 
certainly set.  I tweaked the conf years ago and have kept it up to date with 
changes.  So I am confident that the kernel configuration is correct.  

This is what I have set:

# SCSI device support
# 
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_PROC_FS=y

# SCSI support type (disk, tape, CD-ROM)
# 
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set


# SCSI Transports
# 
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# end of SCSI Transports

# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support

CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y


This weirdness is ontop of what I have already posted regarding gparted and 
blkid not seeing the fourth hard drive that I have installed, so it is all 
pointing to some form of screw up, of which I have never encountered before, 
and which I am not familiar with.  The only differences between this, and every 
other lfs/blfs install I have done, is that this is using an initramfs and lvm2 
both of which I am new to.

It would be ashame to have to ditch this install, but I need to be able to burn 
dvd's and need to know why the other disk is not seen.  I have no idea what 
other things may be broken that I have yet to discover.

Regards,

Christopher.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to