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.
|