Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Tecra R840 fails 2 boot SATA SSD w/ LVM / and LILO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
vesperto
n00b
n00b


Joined: 21 May 2015
Posts: 34

PostPosted: Wed Feb 24, 2016 11:47 am    Post subject: [SOLVED] Tecra R840 fails 2 boot SATA SSD w/ LVM / and LILO Reply with quote

Greetings,

I've had a similar issue with this, i believe i'm missing a kernel option somewhere.

I have a Toshiba Tecra R840-10T with the following upgrades: 8GiB of RAM, a Kingston SHSS37A240G SSD in the regular HDD bay and the original Toshiba MK5061GSYN HDD (actually the original was a Seagate replaced in warranty) in the optical bay.

/boot is the first partition in the SSD, ext2; swap is second; the third is LVM, with / (XFS), /usr, /usr/src, /var (ext4).
(The HDD has /home and /opt, both ext4.)

Since i'm using LVM, a separate /usr and lilo, i need an initrd, which i generated with genkernel using --lvm.

However, when booting, i don't see LVM mentioned in the modules as they're loaded and the boot process dies with:

Code:
Block device /dev/myVG/myRootLV is not a valid root device...
Could not find the root block device in .


Which leads me to conclude i'm missing something in the kernel. I believe i have all the related SATA flags on, i don't think there's anything special for using an SSD.

Code:
#lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1c.6 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
01:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] Seymour [Radeon HD 6400M/7400M Series]
01:00.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] Caicos HDMI Audio [Radeon HD 6400 Series]
02:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 07)
05:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)


Code:
# cat /etc/lilo.conf
boot=/dev/sda
prompt
timeout=50
default=gentoo

image=/boot/vmlinuz
  label=gentoo
  append="root=/dev/myVG/myRootLV"
  initrd=/boot/initramfs-genkernel-x86_64-4.1.15-gentoo-r1


Can i replace that /dev/sda with a /dev/disk/by-id entry?
/boot/vmlinuz is a symlink to /boot/vmlinuz-4.1.15-gentoo-r1

Can anyone tell me which are the required kernel drivers for this SATA? I didn't find anything "C200" in the kernel (nor did i find the modems, where are they?).

Edit 1: this same laptop booted a Slackware64 14.1 with a single / and lilo off of the SSD, so i don't think it's a hardware problem.
Edit 2: my .config


Last edited by vesperto on Thu Feb 25, 2016 12:22 am; edited 1 time in total
Back to top
View user's profile Send private message
vesperto
n00b
n00b


Joined: 21 May 2015
Posts: 34

PostPosted: Thu Feb 25, 2016 12:21 am    Post subject: Reply with quote

Ok, guess i solved the boot problem.

The error message was

Code:
  >> Activating mdev
  >> Loading modules
      :: Loading from pata : pata_oldpiix
      :: Loading from sata :
      :: Loading from scsi :
      :: Loading from usb :
      :: Loading from firewire :
      :: Loading from waitscan :
      :: Loading from dmraid :
      :: Loading from mdadm : raid0 raid1 linear
      :: Loading from fs : nfs fuse
      :: Loading from net :
      :: Loading from iscsi :
      :: Loading from crypto : sha256_generic
  >> Determining root device ...
  !! Block device /dev/myvg/mylv is not a valid root device...
  !! Could not find the root block device in .

After fiddling some more in the kernel i ended up with this .config.
I generated the initrd with:

Code:
genkernel --color --keymap --lvm --e2fsprogs --disklabel --busybox --firmware -- install initramfs

(more stuff than needed most likely). I also added dolvm to the append line in /etc/lilo.conf

This led to lilo booting (as it was before) and loaading an enormous amount of modules (well at least that's what i think all the ........ dots are, some 7 lines of'em). And then i got the login prompt.
Only i kinda forgot e1000 and iwlwifi is a module, but i logged into the system. Other quirks will come.

Edit as a heads-up for not having network interfaces on boot at all, the wired gigabit interface uses e100e (PCIe), not e1000 (which i did have compiled in). I found this via lspci -k from the livecd.

Edit 2 and the wireless interface should be loaded as a module. Also, --lvm suffices for genkernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum