커널 컴파일 2.6.4 마지막에 에러가 나네요.

koku_ma의 이미지

RedHat 7.3에서 커널을 2.6.4로 올리려다가 도저히 안되서 RedHat9.0을 받아다가 다시 깔고 이걸 커널 2.6.4로 컴파일하고 있습니다.

컴파일 순서는

# ln -s linux-2.6.4/ linux-2.6 
# cd linux-2.6.4 
# make mrproper 
# make menuconfig 
# make dep 
# make clean 
# make bzImage 
# make modules 
# make modules_install 
# mv arch/i386/boot/bzImage /boot/vmlinuz-2.6.4
# mv System.map /boot/System.map-2.6.4 
# mkinitrd /boot/initrd-2.6.4.img 2.6.4 

이렇습니다.

그런데
# mkinitrd /boot/initrd-2.6.4.img 2.6.4
여기서 다음과 같이 에러가 납니다.

No module aic7xxx found for kernel 2.6.4

혹시나 해서 커널 옵선에서 SCSI옵션을 빼 보기도 하고 모듈로 하기도 하고
이래 저래 해도 메시지는 같습니다.

왜 저런 에러가 나는지 아시는 분 안계시나요?

neoastra의 이미지

# mkinitrd /boot/initrd-2.6.4.img 2.6.4
이거는 ext3 커널로 적재햇으면 필요없음....

좋아쟁이~

koku_ma의 이미지

어느 분의 글을 보니

Quote:
스카시 하드시.. initrd 로 부트 이미지 생성시.. 모듈의 스카시 모듈을 필요로 합니다.
mkdir -p /lib/modules/2.6.4/kernel/drivers/scsi/aic7xxx/
cp /usr/src/linux-2.6.4/drivers/scsi/aic7xxx/aic7xxx.o /lib/modules/2.6.4/kernel/drivers/scsi/aic7xxx/aic7xxx.o

오브젝트 복사해 주었고,

make install

하니깐 잘 생성되었습니다.


이렇게 말씀하시 길래 이렇게 따라 했더니 에러가 나지 않습니다.

이 것은 고로
/lib/modules/2.6.4/kernel/drivers/scsi/aic7xxx/aic7xxx.o
이 파일이 없어서 그랬다는 건데 월래 이 폴더에는
/lib/modules/2.6.4/kernel/drivers/scsi/aic7xxx/aic7xxx.ko
이 파일이 있었습니다.

module-init-tools 이걸 설치하면 .o 가 .ko바뀐다고 알고있는데 그래서 에러가 난다면 버그인가요? 아니면 제 잘못 인가요?

위 인용글처럼 해도 상관 없는 건가요?

focus의 이미지

저도 2.6.3 버전을 컴팩에 올리려고 시도 했었습니다.

컴팩장비는 5i 어레이를 쓰는데...그래서 cciss 를 커널에 포함 시키면

에러가 나더군요...제가 실력이 모자라서..-.-;;

다음번에 모듈로 선택해서 컴팔하니깐 에러는 안나는데 mkinitrd에서

cciss모듈이 없다는 메세지가 나와서 그 어느분의 말씀처럼 /lib/modules/2.6.3/ 이하 디렉토리에서 cciss.ko를 cciss.o로 복사하고 mkinitrd 로 램 디스크를 만들었습니다. 그래서 다 추가해주고 부팅 했는데...

안되더라구여 ^^;;..

되면 성공기 점 올려주세여...정안되면 aic7xxx를 커널에 포함시킴이...어떨까 싶습니다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.