I was unable to "hack" for some days due to day-job. I have seen Frank and others have done a great deal.

Still, I wanted to try my own compilation, as a first attempt and also to build and be able to check eventual patches myself.

On 3/11/21 11:56 PM, Gregor Riepl wrote:
You should clone the upstream Git repo, otherwise bisecting will be much
more difficult.

I think these instructions are still valid:

You can also skip the Debian-specific stuff and simply do
make -j8 && make modules_install && make install

It's better to use at least a compatible kernel config, though.

I cloned linux stable. It took 60 minutes...

I took the config out of /boot/config of a good kernel, updated it with "make oldconfig"

During compilation I see:

  CC      init/init_task.o
make[1]: *** No rule to make target 'debian/certs/debian-uefi-certs.pem', needed by 'certs/x509_certificate_list'.  Stop.
make[1]: *** Waiting for unfinished jobs....

It took 134 minutes to build with -j32. So well, compiling is not the strongest point of this CPU, but not so bad either.

real    134m55.288s
user    4111m46.186s
sys     145m12.479s

I actually wonder if the kernel is not "overconfigured" ? building things like nouveau make sense on SPARC? I wonder.. maybe sticking a PCI-e card would work in a Netra or Fire?

but I can't install:

multix@narya:~/code/linux-stable$ sudo make modules_install
sed: can't read modules.order: No such file or directory

I wonder if it is related with the error above?



Reply via email to