[Bug 658461] [NEW] -virtual kernel missing dependent modules (ahci fails to load)

Scott Moser smoser at canonical.com
Mon Oct 11 15:29:50 UTC 2010


Public bug reported:

with -virtual kernel modprobe ahci will fail to load the ahci module due
to missing symbols.

The symbols that are missing would be provided by
kernel/drivers/ata/libahci.ko . but that module is not included in
-virtual.


It seems this probably points a a problem with the white listing. white-listing should imply dependencies.

As far as I can tell (per 'sudo depmod --all --filesyms
/boot/System.map-2.6.35-22-virtual  --errsyms'), we're lucky that only
this one leaked through.   I think ideally kernel build would fail if
depmod showed missing symbols.


sudo depmod -a -F /boot/System.map-2.6.35-22-virtual  --errsyms
WARNING: /lib/modules/2.6.35-22-virtual/kernel/drivers/ata/ahci.ko needs unknown symbol ahci_ops
WARNING: /lib/modules/2.6.35-22-virtual/kernel/drivers/ata/ahci.ko needs unknown symbol ahci_start_engine
WARNING: /lib/modules/2.6.35-22-virtual/kernel/drivers/ata/ahci.ko needs unknown symbol ahci_interrupt
...
WARNING: /lib/modules/2.6.35-22-virtual/kernel/drivers/ata/ahci.ko needs unknown symbol ahci_reset_em
WARNING: /lib/modules/2.6.35-22-virtual/kernel/drivers/ata/ahci.ko needs unknown symbol ahci_save_initial_config
WARNING: /lib/modules/2.6.35-22-virtual/kernel/drivers/ata/ahci.ko needs unknown symbol ahci_ignore_sss

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-virtual 2.6.35-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: User Name 2.6.35-22.33-virtual 2.6.35.4
Uname: Linux 2.6.35-22-virtual i686
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
CurrentDmesg: [   19.800018] eth0: no IPv6 routers present
Date: Mon Oct 11 15:02:46 2010
Ec2AMI: ami-508c7839
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: t1.micro
Ec2Kernel: aki-407d9529
Ec2Ramdisk: unavailable
Lspci:
 
Lsusb: Error: command ['lsusb'] failed with exit code 1:
ProcCmdLine: root=LABEL=uec-rootfs ro console=hvc0
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcModules: acpiphp 17239 0 - Live 0xe6f2d000
SourcePackage: linux

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug ec2-images kernel-config maverick regression-release

-- 
-virtual kernel missing dependent modules (ahci fails to load)
https://bugs.launchpad.net/bugs/658461
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list