0

I just installed Ubuntu 11.04 with the linux-image-2.6.38-11-virtual kernel as a virtual machine in VirtualBox (4.1.2). When I booted the machine after installation, I got this error message:

FATAL: Error inserting ahci (/lib/modules/2.6.38-11-virtual/kernel/drivers/ata/ahci.
ko): Unknown symbol in module, or unknown parameter (see dmesg)

I found this bug report. In prior Ubuntu releases, the virtual linux kernel did not include the ahci module, which I suspect is causing my problem. Could someone confirm my suspicion and tell me how to correct the error? I'm a bit new to linux, so thorough detail would be helpful.

Here is a capture of my dmesg output:

enter image description here

4
  • Shouldn't virtualbox be using the virtual disk interface ( /dev/vda ), instead of pretending to have an AHCI interface? Also it suggests checking dmesg for more details, so what does it say?
    – psusi
    Commented Sep 30, 2011 at 0:40
  • @psusi - I have several other Ubuntu installations in Virtualbox using /dev/sda, and they work without a problem. As for dmesg--it's hundreds of lines long, and I can get the contents of it. The basic terminal that loads uses rootfs as / (I assume a virtual file system), and it does not have ftp, less, gpated, fdisk, or apt-get. Unless you can tell me a way to copy the dmesg contents, I cannot provide them to you. Commented Sep 30, 2011 at 2:17
  • only the last few lines are likely to matter. Take a look at them and just retype them by hand if you need to. You should be able to spot the one or two lines that relate to the ahci module failing to load.
    – psusi
    Commented Sep 30, 2011 at 14:44
  • @psusi - see the link I added under edit. Commented Sep 30, 2011 at 15:17

1 Answer 1

0

It appears that libahci.ko ( on which ahci depends ) is missing from the -virtual kernel package. This is a bug.

3
  • That's what I suspected. How do I fix it? Commented Oct 1, 2011 at 3:40
  • @BrandonLebedev, report the bug to Ubuntu.
    – psusi
    Commented Oct 1, 2011 at 17:08
  • Bug report here. Commented Oct 2, 2011 at 3:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .