Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 781944

Summary: genkernel should provide kernel.config for hppa c8000 (parisc64)
Product: Gentoo Hosted Projects Reporter: saulo.paiva
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: CONFIRMED ---    
Severity: enhancement CC: sam
Priority: Normal    
Version: unspecified   
Hardware: HPPA   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: outputs of emerge and genkernel

Description saulo.paiva 2021-04-10 10:07:59 UTC
Created attachment 698928 [details]
outputs of emerge and genkernel

Genkernel all returns the following:
* Gentoo Linux Genkernel; Version 4.2.1 
* Using genkernel configuration from '/etc/genkernel.conf' ... 
* Running with options: all 
* ERROR: No kernel .config specified, or file not found! 
* Please consult '/var/log/genkernel.log' for more information and any 
* errors that were reported above. 
* 
* Report any genkernel bugs to bugs.gentoo.org and 
* assign your bug to genkernel@gentoo.org. Please include 
* as much information as you can in your bug report; attaching 
* '/var/log/genkernel.log' so that your issue can be dealt with effectively. 
* 
* Please do *not* report kernel compilation failures as genkernel bugs! 
* 
(chroot) c8000 /usr/src/linux # 

Workaround: --kernel-config generated by menuconfig runs
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-10 13:09:21 UTC
This is correct, we don't provide kernel config for parisc64 (https://gitweb.gentoo.org/proj/genkernel.git/commit/arch/parisc64/arch-config?id=cae778e10ef2485ba5432edf4efc5cfe7dfbe435) so you are on your own.

I don't have access to such a system so I cannot work on a kernel config for this architecture. If nobody contributes such a config, situation will not change.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-20 11:28:19 UTC
(In reply to Thomas Deutschmann from comment #1)
> This is correct, we don't provide kernel config for parisc64
> (https://gitweb.gentoo.org/proj/genkernel.git/commit/arch/parisc64/arch-
> config?id=cae778e10ef2485ba5432edf4efc5cfe7dfbe435) so you are on your own.
> 
> I don't have access to such a system so I cannot work on a kernel config for
> this architecture. If nobody contributes such a config, situation will not
> change.

Could the config for the livecd be used? It worked for me (both on the livecd and when copied for a manual build).

Livecd config: https://gitweb.gentoo.org/proj/releng.git/tree/releases/specs/hppa/installcd-stage2-minimal.spec

Kernel config: https://gitweb.gentoo.org/proj/releng.git/commit/releases/kconfig/hppa/hppa64.config?id=1c1b8246af6e2a6150eee72cdf82f21afadf9925
Comment 3 saulo.paiva 2022-01-26 18:51:47 UTC
Believe it or not, my C8000 is a production machine used daily. =)
I will try to arrange a 3rd hard drive to try this again, as I depend on my HP-UX and my Debian installations for now.

I'll get back to you.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-28 03:43:22 UTC
(In reply to saulo.paiva from comment #3)
> Believe it or not, my C8000 is a production machine used daily. =)
> I will try to arrange a 3rd hard drive to try this again, as I depend on my
> HP-UX and my Debian installations for now.
> 
> I'll get back to you.

Heh. I've just got one and I'm loving it!

If the config I linked doesn't work for you, you can just try using it with gentoo-sources with a manual `make` build (or the port to gentoo-kernel/distribution kernels I'm working on). No need to use genkernel if it doesn't work.

I can try dig out the config I'm using right now too if you want. Feel free to drop by #gentoo-hppa on IRC too.