FS#27903 - [kmod] ahci module no more loaded after upgrade to 3.2
Attached to Project:
Arch Linux
Opened by cyberic (cyberic) - Wednesday, 11 January 2012, 09:28 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 12 January 2012, 23:01 GMT
Opened by cyberic (cyberic) - Wednesday, 11 January 2012, 09:28 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 12 January 2012, 23:01 GMT
|
Details
I upgraded my kernel from linux-3.1.8-1 to linux 3.2-2
After that, my SATA hard disk was not present anymore in /dev, even with failsafe kernel. I had to manually load the "ahci" module Steps to reproduce: - upgrade from 3.1.8-1 to 3.2-2 - ahci is no more loaded |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 12 January 2012, 23:01 GMT
Reason for closing: Duplicate
Thursday, 12 January 2012, 23:01 GMT
Reason for closing: Duplicate
paste the packages update log from pacman.log
But I think the relevant lines are as follow (see below).
The initrd appears to be done after the kmod install.
after booting another distro to see what happened, I was able to see that SATA modules were built and in the ramdisk, but not loaded.
I was able to modprobe ahci in the recovery shell, and my disk appeared in /dev ...
After that, I try to remove 'autodetect' from mkinitcpio hppk, and built initrd again, without luck...
So the workaround I found it to add this to mkinitcpio.conf:
MODULES="ahci"
Here are my hooks:
HOOKS="base udev autodetect pata scsi sata uresume filesystems usbinput"
I think I didn't touch this line and that it was OK in 3.1
Please feel free to ask more questions, and I am sorry, I can't help you a lot, I am not familiar with arch yet...
here are the relevan lines from pacman.log:
[2012-01-08 11:06] starting full system upgrade
[2012-01-08 11:06] Running 'pacman -Syu pacman'
[2012-01-08 11:06] synchronizing package lists
[2012-01-08 11:06] starting full system upgrade
[2012-01-08 11:07] warning: /etc/modprobe.d/modprobe.conf saved as /etc/modprobe.d/modprobe.conf.pacsave
[2012-01-08 11:07] removed module-init-tools (3.16-3)
[2012-01-08 11:07] upgraded pacman (4.0.1-3 -> 4.0.1-3)
[2012-01-08 11:07] upgraded coreutils (8.14-1 -> 8.15-1)
[2012-01-08 11:07] upgraded gvfs (1.10.1-1 -> 1.10.1-2)
[2012-01-08 11:07] upgraded gvfs-obexftp (1.10.1-1 -> 1.10.1-2)
[2012-01-08 11:07] upgraded gvfs-smb (1.10.1-1 -> 1.10.1-2)
[2012-01-08 11:07] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
[2012-01-08 11:07] upgraded initscripts (2011.12.1-1 -> 2012.01.2-1)
[2012-01-08 11:08] upgraded kdelibs (4.7.4-4 -> 4.7.4-5)
[2012-01-08 11:08] upgraded kdebase-runtime (4.7.4-2 -> 4.7.4-3)
[2012-01-08 11:08] upgraded libdrm (2.4.29-1 -> 2.4.30-1)
[2012-01-08 11:08] installed kmod (3-4)
[2012-01-08 11:08] upgraded util-linux (2.20.1-1 -> 2.20.1-2)
[2012-01-08 11:08] upgraded mkinitcpio (0.8.0-3 -> 0.8.1-1)
[2012-01-08 11:08] >>> Updating module dependencies. Please wait ...
[2012-01-08 11:08] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2012-01-08 11:08] ==> Building image from preset: 'default'
[2012-01-08 11:08] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2012-01-08 11:08] ==> Starting build: 3.2.0-2-ARCH
[2012-01-08 11:08] -> Parsing hook: [base]
[2012-01-08 11:08] -> Parsing hook: [udev]
[2012-01-08 11:08] -> Parsing hook: [autodetect]
[2012-01-08 11:08] -> Parsing hook: [pata]
[2012-01-08 11:08] -> Parsing hook: [scsi]
[2012-01-08 11:08] -> Parsing hook: [sata]
[2012-01-08 11:08] -> Parsing hook: [uresume]
[2012-01-08 11:08] -> Parsing hook: [filesystems]
[2012-01-08 11:08] -> Parsing hook: [usbinput]
[2012-01-08 11:08] ==> Generating module dependencies
[2012-01-08 11:08] ==> Creating xz initcpio image: /boot/initramfs-linux.img
[2012-01-08 11:08] ==> Image generation successful
[2012-01-08 11:08] ==> Building image from preset: 'fallback'
[2012-01-08 11:08] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2012-01-08 11:08] ==> Starting build: 3.2.0-2-ARCH
[2012-01-08 11:08] -> Parsing hook: [base]
[2012-01-08 11:08] -> Parsing hook: [udev]
[2012-01-08 11:08] -> Parsing hook: [pata]
[2012-01-08 11:08] -> Parsing hook: [scsi]
[2012-01-08 11:08] -> Parsing hook: [sata]
[2012-01-08 11:08] -> Parsing hook: [uresume]
[2012-01-08 11:08] -> Parsing hook: [filesystems]
[2012-01-08 11:08] -> Parsing hook: [usbinput]
[2012-01-08 11:08] ==> Generating module dependencies
[2012-01-08 11:08] ==> Creating xz initcpio image: /boot/initramfs-linux-fallback.img
[2012-01-08 11:08] Running 'pacman -S meld'
[2012-01-08 11:08] ==> Image generation successful
[2012-01-08 11:08] upgraded linux (3.1.7-1 -> 3.2-2)
but how did it happen?
isn't there a dependency between the 3.2 kernel and kmod 3.5?
FS#27862.Thanks