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

Commande not found #16

Open
zaro67 opened this issue Sep 5, 2021 · 7 comments
Open

Commande not found #16

zaro67 opened this issue Sep 5, 2021 · 7 comments

Comments

@zaro67
Copy link

zaro67 commented Sep 5, 2021

Hello I am in the process of changing my p410i to hba but when I use the command sudo hpsahba -i / dev / sg1 I get this result sudo: hpsahba: command not found do you have a solution.

Thank you

@zaro67
Copy link
Author

zaro67 commented Sep 6, 2021

@im-0
Copy link
Owner

im-0 commented Sep 6, 2021

  1. You need to build it first, by running make hpsahba.
  2. If hpsahba binary is in the current directory, you need to explicitly specify relative path to it when running under sudo: sudo ./hpsahba.

@zaro67
Copy link
Author

zaro67 commented Sep 8, 2021

Hello
Thank you for your answer but when i try make hpsahba I get this error

gcc -std=gnu99 -Wall -Wextra -O2 -g -c -o main.o main.c
make: gcc: Command not found
Makefile:16: recipe for target 'main.o' failed
make: *** [main.o] Error 127

@zaro67
Copy link
Author

zaro67 commented Sep 8, 2021

It's ok I have find thank you

@im-0
Copy link
Owner

im-0 commented Sep 8, 2021

You need to install gcc and glibc headers. sudo apt install build-essential if you use Debian or Ubuntu.

@zaro67
Copy link
Author

zaro67 commented Sep 8, 2021

ok HBA is active but I have no disk

in the rest of the tutorial he talks about patching the kernel but the command
find . -type f -iname '*.patch' -print0|xargs -n1 -0 patch -p 1 -i

blocks and gives me the error
patch: option requires an argument -- 'i'

so I must use the command or the patch.sh from the contrib / dkms pack

@zaro67
Copy link
Author

zaro67 commented Sep 15, 2021

hello, I have all taken from the beginning without going through the tutorial but only with your github but I am still blocked despite the patch and all the manipulation made discs are not visible do you have an idea of ​​the problem.
Thank you

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

No branches or pull requests

2 participants