Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363369 - sys-kernel/genkernel does not load hpsa
Summary: sys-kernel/genkernel does not load hpsa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-04-12 19:40 UTC by Rodrigo Campos
Modified: 2011-06-07 22:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Campos 2011-04-12 19:40:55 UTC
I've compiled a kernel with --all-ramdisk-modules and hpsa modulo built. And booting with doscsi. But it does not boot, as hpsa module is not loaded in the initramfs

It is included in the initramfs, but not in the files in /etc. So it is not loaded.
I've rebuilt the initrd adding it to the file in /etc (just bellow cciss) and now it is loaded and it boots OK.

Also, please note that hpsa is the replacement for cciss and it seems there is no problem loading both, as explained here: http://www.mjmwired.net/kernel/Documentation/scsi/hpsa.txt

So please include it in the /usr/share/genkernel/defaults/modules_load




Thanks,
Rodrigo

Reproducible: Always

Steps to Reproduce:
1. compile a kernel with hpsa module and --all-ramdisk-modules
2. uncompress the initramfs

Actual Results:  
The hpsa module is inside the initramfs but is not listed in the files on /etc so it is not loaded

Expected Results:  
it should be listed and loaded
Comment 1 Rodrigo Campos 2011-04-18 14:06:25 UTC
Ping ?

Would it help to fix this issue if I make a patch against genkernel 3.4.15 just adding hpsa to the module list (as I described in my last email) ?




Thanks,
Rodrigo
Comment 2 Rodrigo Campos 2011-05-09 15:39:17 UTC
It's been almost a month and there is no response. What can I do to get a response ?

I've found the bug, reported it and suggested a tested patch. If the patch is not okay, can you please tell me why not ? And if it okay, can you please apply it ?




Thanks,
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-12 14:46:59 UTC
Please check if it really doesn't conflict in anyway.

Please add this line to /etc/portage/package.keywords

sys-kernel/genkernel **

and emerge genkernel-9999 to test it.
Comment 4 Rodrigo Campos 2011-05-12 16:00:06 UTC
(In reply to comment #3)
> Please check if it really doesn't conflict in anyway.

The hpsa module with cciss ?

It seems they don't (from hpsa homepage):

"In the case of kernels with cciss and hpsa drivers which do have overlapping sets of supported controllers, by default, cciss will claim these devices if it is loaded prior to hpsa (which it normally will be). If you're already running cciss on these devices, and upgrade to a kernel containing the hpsa driver, you shouldn't have to do anything, as cciss will continue to claim these devices. If you would like to run hpsa instead, there is a new module parameter to cciss, "cciss.cciss_allow_hpsa=1", which will cause the cciss driver to ignore the controllers on the above list, which will permit the hpsa driver to claim those devices."

Also, the link I post in the original report makes you think it shouldn't be any problem. It seems the developers took all this into account. I don't have an other system which is supported with both (hpsa and cciss), so I can not really verify it. But I think if we do have problem because of this, we can report the bug and they will fix it, since it is a supported configuration (if I understand the documentation okay)

> Please add this line to /etc/portage/package.keywords
> 
> sys-kernel/genkernel **
> 
> and emerge genkernel-9999 to test it.

I'll try it in the next days




Thanks a lot,

Rodrigo
Comment 5 Rodrigo Campos 2011-05-18 14:14:12 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Please add this line to /etc/portage/package.keywords
> > 
> > sys-kernel/genkernel **
> > 
> > and emerge genkernel-9999 to test it.
> 
> I'll try it in the next days

Sorry, the server is not at the office. It will be back probably early next week, I will test it as soon it is back in the office.




Thanks,
Rodrigo
Comment 6 Rodrigo Campos 2011-05-23 18:29:56 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Please add this line to /etc/portage/package.keywords
> > > 
> > > sys-kernel/genkernel **
> > > 
> > > and emerge genkernel-9999 to test it.
> > 
> > I'll try it in the next days

It fails to install since I don't have a2x

I'm using a really old gentoo, we freeze it on purpose and we can not upgrade it, we really cant. I installed asciidoc 7.0.4 and it does not provide a2x. I've created a symlink of asciidoc to a2x just in case, and did not work either (--format option is not recognized).

Is there a chance that building the documentation is not necessary to install the new genkernel ?




Thanks

Rodrigo
Comment 7 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-23 18:52:54 UTC
(In reply to comment #6)
> Is there a chance that building the documentation is not necessary to install
> the new genkernel ?

Try then to clone genkernel repo and run genkernel locally. Remember to adjust local config: GK_SHARE should point to cloned repo. With --config argument point to local genkernel.conf.
Comment 8 Rodrigo Campos 2011-06-07 14:55:54 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Is there a chance that building the documentation is not necessary to install
> > the new genkernel ?
> 
> Try then to clone genkernel repo and run genkernel locally. Remember to adjust
> local config: GK_SHARE should point to cloned repo. With --config argument
> point to local genkernel.conf.

Sorry, I've been out of office and the server is gone now. If it comes back I will try it. But if you have verified that the compiled kernel has the hpsa module in the initrd and listed in the list of modules to load inside the initrd, it should work.



Thanks a lot,
Rodrigo
Comment 9 Sebastian Pipping gentoo-dev 2011-06-07 14:59:31 UTC
Okay.


For reference, the related commit is here:
http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=3cac23cc3443e936fe24ba5900c086aa24a42ea9
Comment 10 Rodrigo Campos 2011-06-07 15:16:46 UTC
(In reply to comment #9)
> Okay.

Sorry :(

> 
> 
> For reference, the related commit is here:
> http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=3cac23cc3443e936fe24ba5900c086aa24a42ea9


I think it should do the trick. If now hpsa is on the list of modules of the generated initrd, it should work =)
Comment 11 Rodrigo Campos 2011-06-07 16:47:45 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Okay.
> 
> Sorry :(
> 
> > 
> > 
> > For reference, the related commit is here:
> > http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=3cac23cc3443e936fe24ba5900c086aa24a42ea9
> 
> 
> I think it should do the trick. If now hpsa is on the list of modules of the
> generated initrd, it should work =)

It does not. Adding it only to defaults/modules_load does not make it appear on the /etc files of the generated initrd. I added it also to arch/x86/modules_load and it appears now. I must have done that before :)

Also, is up to you in which arches you want to include them :-)
Comment 12 Sebastian Pipping gentoo-dev 2011-06-07 16:50:29 UTC
Alright, re-opening.
Comment 13 Sebastian Pipping gentoo-dev 2011-06-07 17:51:00 UTC
Additional commit added:
http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=4798c473751a08626eee6960532df7a4272d4f8c

Closing on next release.  Please re-open as needed.
Comment 14 Rodrigo Campos 2011-06-07 18:11:57 UTC
(In reply to comment #13)
> Additional commit added:
> http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=4798c473751a08626eee6960532df7a4272d4f8c
> 
> Closing on next release.  Please re-open as needed.

Thanks a lot :)
Comment 15 Sebastian Pipping gentoo-dev 2011-06-07 22:35:48 UTC
Fixed in genkernel 3.4.16, closing.