Re: How to disable module in initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.11.2013 16:06, Gianluca Cecchi wrote:
> On Tue Nov 19 13:30:32 UTC 2013 Mateusz Marzantowicz wrote:
>> man 5 dracut.conf -> section: omit_drivers
> 
> It seems not to work.
> Created /etc/dracut.conf.d/qla2xxx_omit.conf
> # cat /etc/dracut.conf.d/qla2xxx_omit.conf
> omit_drivers+="qla2xxx "
> 
> dracut  --force "initramfs-3.11.8-200.fc19.x86_64.img" 3.11.8-200.fc19.x86_64
> I continue to see qla2xxx inside the generated initrd and server has
> problems to boot.
> 
> Tried also from command line:
> dracut --omit "qla2xxx" --force "initramfs-3.11.8-200.fc19.x86_64.img"
> 3.11.8-200.fc19.x86_64
> 
> but again qla2xxx is inside initrd and booting I have problems..
> # gunzip < /boot/initramfs-3.11.8-200.fc19.x86_64.img | cpio
> -itdmuv|grep qla2xxx
> drwxr-xr-x   2 root     root            0 Nov 19 15:28
> usr/lib/modules/3.11.8-200.fc19.x86_64/kernel/drivers/scsi/qla2xxx
> -rw-r--r--   1 root     root       822783 Nov 13 17:55
> usr/lib/modules/3.11.8-200.fc19.x86_64/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
> 54688 blocks
> 
> BTW: where is the old "init" script that loaded the kernel modules in the past?
> WHat if I want to manually remove qla2xxx from generated initrd?
> Gianluca
> 

This doesn't resolve you're problem but it might help you diagnose what
is going on there. In /etc/dracut.conf enable logging by removing
comment from:

logfile=/var/log/dracut.log

In /var/log/dracut.log, you should have results of running dracut
command. Maybe this will tell you something useful.


Mateusz Marzantowicz
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux