Bug 711143

Summary: No modules.dep file after upgrading to kernel-3.0-0.rc1.git0.2.fc16.x86_64
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-06 17:37:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2011-06-06 16:27:18 UTC
Description of problem:

I don't know if this is intentional or not, but /lib/modules/3.0*/modules.dep
is missing after I upgraded to the latest kernel package in Rawhide.

Version-Release number of selected component (if applicable):

 kernel-3.0-0.rc1.git0.2.fc16.x86_64

How reproducible:

?

Steps to Reproduce:
1. Install Fedora 15
2. Update kernel to latest from Rawhide.
3.
  
Actual results:

modules.dep is not created by the %post scripts.

Expected results:

I guess it should exist.

Additional info:

$ ll /lib/modules/3.0-0.rc1.git0.2.fc16.x86_64/
total 136
lrwxrwxrwx.  1 root root    53 Jun  6 15:12 build -> ../../../usr/src/kernels/3.0-0.rc1.git0.2.fc16.x86_64
drwxr-xr-x.  2 root root  4096 Jun  3 14:05 extra
drwxr-xr-x. 12 root root  4096 Jun  6 15:12 kernel
-rw-r--r--.  1 root root  1764 Jun  3 14:05 modules.block
-rw-r--r--.  1 root root  6098 Jun  3 14:04 modules.builtin
-rw-r--r--.  1 root root   246 Jun  3 14:04 modules.devname
-rw-r--r--.  1 root root    94 Jun  3 14:05 modules.drm
-rw-r--r--.  1 root root    39 Jun  3 14:05 modules.modesetting
-rw-r--r--.  1 root root  2156 Jun  3 14:05 modules.networking
-rw-r--r--.  1 root root 89156 Jun  3 14:04 modules.order
-rw-r--r--.  1 root root   131 Jun  3 14:04 modules.softdep
lrwxrwxrwx.  1 root root     5 Jun  6 15:12 source -> build
drwxr-xr-x.  2 root root  4096 Jun  3 14:05 updates
drwxr-xr-x.  2 root root  4096 Jun  6 15:12 vdso

Comment 1 Richard W.M. Jones 2011-06-06 16:53:12 UTC
This is the %posttrans script:

/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update 3.0-0.rc1.git0.2.fc16.x86_64 || exit $?
/sbin/new-kernel-pkg --package kernel --rpmposttrans 3.0-0.rc1.git0.2.fc16.x86_64 || exit $?

Running this by hand produces hundreds of warnings like this:

WARNING: /lib/modules/2.6.38.6-27.fc15.x86_64/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko needs unknown symbol cpufreq_debug_printk
WARNING: /lib/modules/2.6.38.6-27.fc15.x86_64/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko needs unknown symbol mutex_lock
WARNING: /lib/modules/2.6.38.6-27.fc15.x86_64/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko needs unknown symbol cpufreq_debug_printk
[...]

Notice that the warning is about the previously installed
kernel.  Not sure if that's a problem or not.

Comment 2 Richard W.M. Jones 2011-06-06 17:37:00 UTC
Sorry for the noise.  This is a bug in depmod in module-init-tools
which has already been fixed.  I fixed this by updating module-init-tools.