Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf.py error too after make menuconfig i happen error one and two by the line of command make #156

Open
Azaretdodo opened this issue Dec 19, 2023 · 34 comments

Comments

@Azaretdodo
Copy link

Azaretdodo commented Dec 19, 2023

Hello there,

I copy paste from my phone because the system is an Ubuntu server so for conf.py and i don't use ssh:

conf.py line 32 in module major, minor, patch = sphinx.version_info[:3] AttributeError module sphinx has no attribute version_info

Thus if i remove version_info i happen error following :

conf.py line 32 in module major, minor, patch = sphinx TypeError cannot unpack non-iterable module objet

In addition if i remove the line 32 then i define major (this is asked)finally for the errors python :

load_config.py line 6 in module from sphinx.util.osutil import fs_encoding ModuleNotFoundError no module named sphinx.util

For go more far i remove the line six in load_config fortunately i really go more far for happen error following :

conf.py line 60 in module if major >= 3 TypeError >= not supportés between instances of fonction and int

Therefore for the errors make :

make 1 *** scripts/Makefile.host:110: scripts/sign-file error 1 make *** Makefile:1270 scripts error 2

For finish my explaining thanks you in advance to bring a program who works fully,

Regards.

Azaretdodo.

@Azaretdodo
Copy link
Author

Hello it's again myself with great news,

Now conf.py answer these :

Using alabaster theme

If this is what you want thanks you in advance to help myself push this file in your fork however make reach the same error,

Regards.

Azaretdodo.

@ppanchad-amd
Copy link

@Azaretdodo Apologies for the lack of response. Can you please check if your issue still exist with the latest ROCm 6.2? If not, please close the ticket. Thanks!

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 21, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 21, 2024 via email

@ppanchad-amd
Copy link

@Azaretdodo Internal ticket has been created to investigate your issue. Thanks!

@schung-amd
Copy link

Hi @Azaretdodo, I'll need some more information:

  • Operating system
  • CPU
  • GPU
  • ROCm version
  • Output of /opt/rocm/bin/rocminfo --support

What exactly is the issue and when/how does it occur? You mention conf.py, but as far as I understand this is just for building documentation. If you're trying to build the documentation, then your initial sphinx-related error indicates that you need to update sphinx.

You also mention installing ROCm from a tarball; I recommend installing using the installer according to https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/detailed-install.html. If you want to install a specific version, you can modify these instructions to pull in that version from repo.radeon.com; for example, if you want 6.0.0 on Ubuntu 22.04, you can replace

wget https://repo.radeon.com/amdgpu-install/6.2/ubuntu/jammy/amdgpu-install_6.2.60200-1_all.deb
sudo apt install ./amdgpu-install_6.2.60200-1_all.deb

with

wget https://repo.radeon.com/amdgpu-install/6.0/ubuntu/jammy/amdgpu-install_6.0.60000-1_all.deb
sudo apt install ./amdgpu-install_6.0.60000-1_all.deb

For older versions you may have to look up the version-specific installation guide.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 23, 2024 via email

@schung-amd
Copy link

Hi, some points for clarification.

  • What exactly is the issue and when/how does it occur? You mention conf.py, but as far as I understand this is just for building documentation. If you're trying to build the documentation, then your initial sphinx-related error indicates that you need to update sphinx.
  • You say you're on an APU with no GPU but not sure if it's Intel or AMD; can you verify? Does your system have an accelerator card like the MI series?
  • rocminfo should be present in your ROCm install directory, so look in there if you have installed ROCm somewhere other than the default install directory. If this isn't present anywhere on your system, then ROCm did not install correctly.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 23, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 23, 2024 via email

@schung-amd
Copy link

Is there an error other than the sphinx error in your original post? This can be addressed by updating sphinx on your system. If there are other errors, please provide full details of the output you're seeing as well as the steps to reproduce these errors. Additionally, motherboard support for crossfire does not indicate that you have AMD hardware. If you are using an Intel processor with no discrete GPU or accelerator, then you are using Intel integrated graphics alone, in which case this kernel driver is not appropriate.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 25, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 26, 2024 via email

@schung-amd
Copy link

Hi, the sphinx module update suggestion is to address the error seen in your initial post (i.e. conf.py line 32 in module major, minor, patch = sphinx.version_info[:3] AttributeError module sphinx has no attribute version_info) if you are still experiencing it.

I don't see an attached image, please resend it. Where does the missing certificate error show up?

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 27, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 28, 2024 via email

@schung-amd
Copy link

I can't find any references to a file named vmlinux.py in our repo. Do you mean vmlinux-gdb.py? I also cannot see any images you have attached, you may have to comment directly on GitHub instead of emailing in order for them to show up. It's difficult to investigate this without knowing the exact error you're running into here.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 28, 2024

Hello,

I pass the certificate error by installing two dependancies so python3-sphinx for compile the kernel and gdb who is missing for the file python called vmlinux.py however without switch on Ubuntu server because the system always power on is kubuntu also the file name can be vmlinux-gdb.py seen than gdb is one of the variable module used unfortunately vmlinux-gdb.py doesn't find any gdb module neither python 2 and python 3 gdb and the aptitude packager doesn't find any dependancies other than gdb so i attach in attachement three picture taken with my phone thus the make error and the error happen with vmlinux-gdb.py and how is type this python file therefore i have edited this file it happen strange error about gdb
IMG_20240828_130449
IMG_20240828_130247
IMG_20240828_125505
,

Thanks you in advance to help myself fully use rock kernel driver,

Regards.

Azaretdodo.

@schung-amd
Copy link

It looks like make is not completing, which may be related to the error you're seeing mentioning gdb. You can try to bypass this by telling cmake not to treat warnings as errors, or by silencing this particular warning.

@Azaretdodo
Copy link
Author

Azaretdodo commented Sep 4, 2024 via email

@schung-amd
Copy link

The process you've tried before should be correct, but you'll need to pass additional options in the makefile or when you invoke make; for example, the advice in https://stackoverflow.com/questions/8132594/disable-werror-in-configure-file and https://stackoverflow.com/questions/11750988/quick-way-to-override-werror-flag might work. You may want to selectively disable the specific warning which is erroring out here with something like CFLAGS=-Wno-error=frame-larger-than.

@Azaretdodo
Copy link
Author

Azaretdodo commented Sep 5, 2024 via email

@schung-amd
Copy link

Could you attach an image of any error you see? I can't tell what's going on without the error output.

@Azaretdodo
Copy link
Author

Azaretdodo commented Sep 5, 2024 via email

@schung-amd
Copy link

Sorry for the delay. I'll need the actual error message to help you here.

@Azaretdodo
Copy link
Author

Hello,

I went to down my gamer screen for power on my Ubuntu server where it is installed rock kernel driver so i log in github for attach the printscreen taken with my phone where i show the error already explained

IMG_20240921_104659

Thus now your help will be welcome and if you haven't the time take a good weekend,

Thanks you in advance,

Regards.

Azaretdodo.

@schung-amd
Copy link

There should be another error emitted earlier in the log, please find it and provide the details. Alternatively if you can upload the build log in text form that would be helpful.

@Azaretdodo
Copy link
Author

Hello,

After have update the system now rockm compile more fast without few line and i understand with the phasing where is the error happening with this programs consequently both errors happening on the certificate not added and the subprogram fs who is linked to mdadm who failed to set the system as a raid one system (fs is the failed state program) thus i attach the picture taken with my phone where i show the shell not working for use an arrow for print the building in a text file in addition the errors happening with the fork program and finally i show the program who are phasing,

IMG_20240928_082835
IMG_20240928_083000
IMG_20240928_083237

If you think i need a certificate you can bring to myself a good french tutorial video nor an english website explaining the repairing because i had search a tutorial without succes however there was some years i was success to add a certificate fortunately i had a Synology NAS,

All others help are welcome seen they haven't only the certificate problem,

Thanks you in advance for your help,

Regards.

Azaretdodo.

@schung-amd
Copy link

You can try some of the advice in https://stackoverflow.com/questions/67670169/compiling-kernel-gives-error-no-rule-to-make-target-debian-certs-debian-uefi-ce, it seems relevant to your cert-related error. As for the fs error, as I mentioned above this is because cmake is treating that warning as an error, and you may be able to bypass this.

@Azaretdodo
Copy link
Author

Azaretdodo commented Oct 1, 2024 via email

@schung-amd
Copy link

If you're not building a signed kernel (i.e. for secure boot), you can remove the check for certs with

scripts/config --disable SYSTEM_TRUSTED_KEYS
scripts/config --disable SYSTEM_REVOCATION_KEYS

after you generate the config file with make menuconfig. If you need these certs, you will have to install the Ubuntu kernel sources and find them there. If you need to do this, I can help you figure out where they are.

Note that this is for building the entire kernel along with the drivers. If you just need the drivers for your system you should install them through the package manager or somewhere else they are provided separately.

@Azaretdodo
Copy link
Author

Hello,

Your help doesn't work because it miss the config directory nor config file also i paste a picture taken with my phone who show you both advice can't work

IMG_20241003_105500

Finally thanks you in advance to bring me a real tutorial for your fork,

Regards.

Azaretdodo.

@schung-amd
Copy link

Again, note that this is for building the kernel and not just the drivers; if you want just the drivers, you should get them elsewhere. That being said, if you do want to proceed with building the kernel from source, there are several guides available to do this, although not specific to this repo.

For example, you can try the instructions at https://itsfoss.com/compile-linux-kernel/. You're currently on the "Configuring the Linux kernel" step. The instructions I've given to disable the keys should be done in the "Modifying the configuration" step, where you can either find where to set them in make menuconfig or just run the commands I provided to modify the config file.

@Azaretdodo
Copy link
Author

Azaretdodo commented Oct 6, 2024

Hello and happy sunday from the France,

I follew your link adviced also i don't get the sign of the default kernel thus how to get it or how to get the real kernel if not and i happening others errors that i show using my phone camera :

IMG_20241006_150343
IMG_20241006_151048
IMG_20241006_151300
IMG_20241006_152913
IMG_20241006_153106
IMG_20241006_153405
IMG_20241006_153602

In addition i tried Rock kernel driver after did disable the certificate but both failed by keeping the certificate as errors,

Thanks you in advance to help myself fully repair the kernels,

Regards.

Azaretdodo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants