커널 컴파일시 make install 이 하는 기능이 뭔가요?

restday22의 이미지

커널 2.4 컴파일울 해보고있습니다.
하는 순서는
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install

이런 식으로 하고있는데 게시판 여기저기 보니까
make install을 안하고 하는 방법이 많더군요
이게 정확히 어떤 역할을 하는지 궁금하군요

그리고 커널 컴파일 하고 부팅 한번 딱 되고나서
다음에 다시 컴파일했는데 make install 에서 에러가 나더군요
menuconfig에서 손댄것도 없이 전에 설정 그대로 읽어와서
쭉 했는데 make install 여기서만 딱 에러가...


media.o net/network.o crypto/crypto.o /usr/src/linux-2.4.20-8/arch/i386/lib/lib.a /usr/src/linux-2.4.20-8/lib/lib.a /usr/src/linux-2.4.20-8/arch/i386/lib/lib.a
--end-group -o vmlinux
arch/i386/kernel/kernel.o(.text.init+0x3ae3): In function `broken_pirq':
: undefined reference to `pci_probe'
arch/i386/kernel/kernel.o(.text.init+0x3af2): In function `broken_pirq':
: undefined reference to `broken_440gx_bios'
make[1]: *** [kallsyms] 오류 1
make[1]: 나감 `/usr/src/linux-2.4.20-8' 디렉토리
make: *** [vmlinux] 오류 2

무시하고 grub수정하고
부팅했더니 커널 패닉!!!
질문을 정리하면
1) make install 이 어떤 기능을 하는가요?
2) make install 에서 오류난 부분이 커널패닉과 관련이 있습니까?
3) make install 에서 오류난 저부분 해결방법은 어떻게?

참고로 레드햇 9.0 쓰고 있습니다.

hazemuse의 이미지

아아아아아...
난감하다

땀나는 맛이 있기에 세상은 살맛나는 것이지

익명 사용자의 이미지

미리 인스톨된 부트 로더에 적어 넣고 작성된 bzImage를 /boot로 옮기는 일만 하는 것으로 알고 있습니다.

yjwoo14의 이미지

make install 은

컴파일한 모듈들을 모듈들이 작동하는 폴더.. <- -_- 표현능력부족..;
로 옮겨주는 역할을 하고 있는 걸로 알고 있습니다. 아닌가요?

누구에게나 자신의 상황이 제일 힘들다.. 즐기자!

Prentice의 이미지

그건 make modules_install이겠죠.. ^_^;

익명 사용자의 이미지

cp arch/i386/bzImage /boot/vmlinuz-2.4.xxx-foobar
cp System.map /boot/System.map-2.4.xxx-foobar

...

depmod -a 2.4.xxx-foobar

익명 사용자의 이미지

빼먹은 것 있다. 헐

cd /boot
rm -f System.map
ln -s System.map-2.4.xxx-foobar System.map

depmod -a는 부팅이후에...

만약 initrd를 사용하려면,
몇몇 howto를 참고하셔야 할 듯...

restday22의 이미지

make menuconfig 설정을 잘못했나 봅니다.

make mrproper 하고 설정다시 했더니 잘되네요

make install 기능 알것같군요.
그리고 grub.conf에 설정부분까지 알아서 추가해주더군요

답변 감사합니다 .

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.