sun's longitude:242 01 42.18 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
1314 번 글: VIA칩셋 문제(VT8235)로 인한 DMA 설정 X
글쓴이: neograf 글쓴날: 2003년 02월 03일 09:30:45 월(오전) 조회: 4433
via southbridge를 인식하지 못한다는 메시지가 나오면서 IDE
설정을

UDMA로 잡지를 못하네요..

그래서 비아사이트를 가서 찾아보니 리눅스 VIA패치가
있더군요.. 

http://www.viaarena.com/?PageID=182#ide 

이 파일의 ReadME 파일의 내용은 밑에 복사해 붙여놓겠습니다.
 

readme파일의 내용을 보니 patch를 하는 항목이 있어 패치를 

해보았더니 

이런 메시지가 뜨네요.. 

----------------------------------------------------------- 
patching file linux-2.4/drivers/ide/ide-timing.h 
patching file linux-2.4/drivers/ide/via82cxxx.c 
Hunk #1 FAILED at 15. 
Hunk #2 FAILED at 87. 
Hunk #3 succeeded at 99 (offset 2 lines). 
Hunk #4 FAILED at 108. 
Hunk #5 FAILED at 133. 
Hunk #6 FAILED at 214. 
Hunk #7 succeeded at 377 with fuzz 2 (offset 131 lines). 
Hunk #8 FAILED at 422. 
Hunk #9 FAILED at 452. 
Hunk #10 FAILED at 509. 
Hunk #11 succeeded at 284 with fuzz 2 (offset -158 lines). 
8 out of 11 hunks FAILED -- saving rejects to file
linux-2.4/drivers/ide/via82cxxx.c.rej 
patching file linux-2.4/include/linux/pci_ids.h 
Hunk #1 FAILED at 960. 
Hunk #2 succeeded at 867 with fuzz 1 (offset -112 lines). 
1 out of 2 hunks FAILED -- saving rejects to file
linux-2.4/include/linux/pci_ids.h.rej 
----------------------------------------------------------- 
참고로 전 리눅스 초짜라 정확하게 이메시지가 전하는 뜻을 

모르겠습니다. 

이후로 cd /usr/src/linux해서
 진행하라는 것 같습니다만.. 

와우 리눅스의 경우 /usr/src/ 안에 

linux2.4, linux2.4.2, 두가지가 존재하는데 

어디서 해야할지 감도 안잡히네요.. ㅠ_ㅠ; 

제발 아시는 분 계시면 가르쳐 주시길 ㅡㅡ; 

밑에는 ReadMe 원문입니다. 

This README file describes how to patch IDE driver source file, 
rebuild the Linux kernel, and measure IDE performance. 

Step I: Patch the Linux IDE driver source file 
1. The Linux kernel including driver source files are all placed in 
  the directory /usr/src/linux. You have to change your directory 
  /usr/src in your console. 

      #cd /usr/src 

2. Before patching your Linux IDE source file, you should decompress 
  your patch file. 

      #gunzip xxx-patch-xxx-vpide.gz 

3. And then you will find a file "xxx-patch-xxx-vpide" in the current 
  directory. This file is a patchfile that the Linux utility "patch" 
  can read. 

      #patch -p0 <  xxx-patch-xxx-vpide 

  Note: Setting parameter -p0 gives the entire file name unmodified. 
  
Step II: Rebuild the Linux kernel 
1. Change the current directory to /usr/src/linux 

      #cd linux 

2. Configure the system. The system will ask about driver settings. 

      #make xconfig 

  Note: If you are in text mode, try "make menuconfig". 

3. The system will pop up a "Linux configuration window" window 
  with many driver buttons. Find out the button "ATA/IDE/MFM/RLL support" 
  and press it. Press the button "IDE,ATA and ATAPI Block devices". 
  The system will pop up another window. Select "VIA82CXXX chipset support". 

  Note: Pay attention to your CPU type and check if your system 
        supports multiple processors. If your system is a uni-processor 
        system, disable the multiprocessor support. 

4. Find out the dependencies of source files and the system will 
  build a new Makefile. 

      #make dep 
          
5. If you used to build Linux kernel, you should clean old object 
  files and force building new kernel. 

      #make clean 

6. And you can build a new kernel image. 

      #make bzImage 

7. It is also possible to "make install", if you have lilo installed 
  to suit your kernel makefile. 

8. Then you have to check /etc/lilo.conf to see if the image point 
  to /boot/vmlinuz. On the other hand, there must be the line 
  "image=/boot/vmlinuz" in your lilo.conf. 

9. Run "lilo" command in your current directory and you will see 
  the prompt "Added linux *". 

10. Reboot Linux system. You will see the boot message shown below 
    if using the south bridge vt8233a. 
    
    "VP_IDE: vt8233a (rev 00) IDE UDMA133 Controller on pci:slot-num" 
    
Step III: Measure IDE performance 
Use the "hdparm" utility to test IDE performance. The utility 
provides a command line interface to various hard disk ioctls 
supported by the device driver. The following options are available 
for how to enable/disable DMA, change the UDMA mode, and measure 
the data transfer throughput. 

1. The parameter -T is essentially to measure the throughput of the 
  processor, cache, and the memory of the system, -t is to measure 
  how fast the drive can sustain sequential data reads. 

    eg: hdparm -tT /dev/hda 

2. The parameter -d1 is to enable DMA mode, -d0 is to disable DMA mode. 

    eg: hdparm -d1 /dev/hda  for enable DMA 
        hdparm -d0 /dev/hda  for disable DMA 

3. The parameter -X [16~18, 32~34, 64~70] is to switch the transfer mode, 
  16~18 for SDMA 0~2, 32~34 for MDMA 0~2, 64~70 for UDMA 0~6. 

    eg: hdparm -X70 /dev/hda  for UDMA 6 

4. The parameter -i to check the current transfer mode.

 
이전글 : Re: 답변 감사 합니다.
다음글 : Re: VIA칩셋 문제(VT8235)로 인한 DMA 설정 X  
 from 211.189.162.154
JS(Redhands)Board 0.4 +@

Re: 답변 감사 합니다. Re: VIA칩셋 문제(VT8235)로 인한 DMA 설정 X
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds