Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VirtualBox IDE Interface driver problem. [SOLVED]
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
truthSEeker71
n00b
n00b


Joined: 15 Jun 2015
Posts: 32

PostPosted: Mon Feb 22, 2016 9:38 am    Post subject: VirtualBox IDE Interface driver problem. [SOLVED] Reply with quote

Hello,
I installed Gentoo on VirtualBox 5.0.14r and kernel isn't booting. I got this very common problem "block device /dev/sda4 is not a valid root device ..." Kernel isn't listing my all partitions so I'm assuming that this is problem with driver for my IDE controller. According to lspci -k:
Code:
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
   Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
   Kernel driver in use: e1000
   Kernel modules: e1000
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
   Subsystem: Dell 82801AA AC'97 Audio Controller
   Kernel driver in use: snd_intel8x0
   Kernel modules: snd_intel8x0
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:18.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:19.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
   Subsystem: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge
00:1f.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
   Kernel driver in use: ata_piix
   Kernel modules: ata_piix, pata_acpi, ata_generic
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1f.4 USB controller: Apple Inc. KeyLargo/Intrepid USB
   Kernel driver in use: ohci-pci
   Kernel modules: ohci_pci
00:1f.5 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci

I must have ata_piix driver. And I compiled ata_piix driver into kernel. Here's my config file:
http://pastebin.com/kyWqNeyd
So eventually I don't know why kernel isn't booting. I tried with various configurations I was reading posts on forum and I'm stuck. Maybe my /etc/fstab is wrong:
Code:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2/      /boot/      ext3      noauto,noatime         0 2
/dev/sda4/      /      jfs      defaults         0 1
/dev/sda3/      none      swap      sw            0 2

/dev/cdrom/      /mnt/cdrom/   auto      noauto,ro         0 0

Thanks for any help. :)


Last edited by truthSEeker71 on Sun May 08, 2016 10:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
truthSEeker71
n00b
n00b


Joined: 15 Jun 2015
Posts: 32

PostPosted: Sun May 08, 2016 10:40 pm    Post subject: Reply with quote

Hello,
Eventually I was able to solve this problem. As it was just VirtualBox install I simply reinstalled Gentoo using ext4 instead of jfs. And now everythink is booting fine. I know that it's very poor solution. I think problem was with configuration of jfs not with IDE controller (because in virtual machine virtual IDE controller is the same) but I didn't know how to cope with jfs misconfiguration so reinstalling system was best for me.
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