<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=euc-kr">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Reducing kernel ide driver probing time.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hello </FONT>
</P>

<P><FONT SIZE=2>I found that ide driver take too much time for probing unnecessary drives. (drivers/ide-probe.c) </FONT>
<BR><FONT SIZE=2>it probe from hda to hdl as you can see below and it takes about 3 ~ 4 seconds. </FONT>
<BR><FONT SIZE=2>However common main board have only 2 ide controller so probing over hde is unnecessary. </FONT>
<BR><FONT SIZE=2>My solution is redefine MAX_HWIF as 2 (originally 6) so I can reduce probing time down to 1 second. </FONT>
<BR><FONT SIZE=2>Is there any other way which can control this such as using kernel parameter?</FONT>
</P>

<P><FONT SIZE=2>VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1 </FONT>
<BR><FONT SIZE=2>    ide0: BM-DMA at 0x1ce0-0x1ce7, BIOS settings: hda:pio, hdb:pio </FONT>
<BR><FONT SIZE=2>    ide1: BM-DMA at 0x1ce8-0x1cef, BIOS settings: hdc:pio, hdd:pio </FONT>
<BR><FONT SIZE=2>probing for hda: present=1, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>hda: MAXAN MFD-44-32, ATA DISK drive</FONT>
<BR><FONT SIZE=2>probing for hdb: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdb: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdc: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdc: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdd: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdd: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hde: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hde: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdf: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdf: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdg: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdg: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdh: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdh: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdi: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdi: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdj: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdj: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdk: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdk: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>probing for hdl: present=0, media=32, probetype=ATA </FONT>
<BR><FONT SIZE=2>probing for hdl: present=0, media=32, probetype=ATAPI </FONT>
<BR><FONT SIZE=2>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 </FONT>
<BR><FONT SIZE=2>hda: attached ide-disk driver. </FONT>
</P>

<P><FONT SIZE=2>Regard,</FONT>
<BR><FONT SIZE=2>Heechul. </FONT>
</P>

</BODY>
</HTML>