Hi, Freeman
The patch just auto detect and install drivers.
But I think I'm fine with using extra_modules in kdump.conf though.
----- Original Message ----- From: "Freeman Zhang" zhezhang@redhat.com To: "Dave Young" dyoung@redhat.com Cc: kexec@lists.fedoraproject.org, "Baoquan He" bhe@redhat.com Sent: Friday, May 27, 2016 3:20:21 PM Subject: Re: [PATCH RFC] module-setup.sh: install usb serial driver for ttyUSB0
Hi Dave,
You once sent a patch to install usb serial driver for ttyUSB0 in dracut-module-setup:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org/...
Actually, we can achieve this without any patch by a delicate configuration.
One can use extra_modules configuration entry in /etc/kdump.conf to add USB serial drivers, e.g:
extra_modules pl2303
And enable the console by making sure 'console=ttyUSB0' is contained in kdump kernel cmdline. You may want to take a loot at KDUMP_COMMANDLINE_APPEND in /etc/sysconf/kdump.conf if current cmdline includes no 'console=ttyUSB0'.
I suppose we should let the configuration do the job. What do you think?
All the best! Freeman _______________________________________________ kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/kexec@lists.fedoraproject.org