[if gte mso 9]>

Re: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

Subject: Re: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

From: "Tian, Feng" <feng.tian@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2011-11-05 00:20:35

Could you help to narrow down it’s harddisk issue or cdrom issue? That is unplugging cdrom or harddisk to see if the boot time is changed?

 

Thanks

Feng

 

From: Sergey Isakov [mailto:isakov-sl@bk.ru]
Sent: Friday, November 04, 2011 17:12
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

 

Thank you Feng for your effort, but the issue still remain. 

Compiled new sources and tested. Initialization time is about 50sec in AHCI mode. Not checked IDE mode but previously it was larger.

For IDE controller I use IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe

and it works fast, without delays.

Test computer is Dell Inspiron 1525 (Core2Duo @2400, ICH8M) 

 

On 04.11.2011, at 4:15, Tian, Feng wrote:



Have confirmed with Isakov. The issue he met is at AHCI mode.

 

The patch was sent at the mail thread is just for IDE mode.

 

Isakov,

 

Could you test the latest code to see if the issue goes away? I did some enhancements for boot performance of IDE and AHCI.

 

Thanks

Feng

 

From: Tian, Feng [mailto:feng.tian@intel.com] 
Sent: Thursday, November 03, 2011 20:40
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

 

Hi, Isakov

 

Could you provide more details? Are you using IDE mode or AHCI mode? The patch is just related with IDE enumeration when slave device is absent.

 

So what’s your case?

 

Thanks

Feng

 

From: Sergey Isakov [mailto:isakov-sl@bk.ru] 
Sent: Thursday, November 03, 2011 19:47
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

 

Hi Feng,

I have SATA AHCI HDD and SATA DVD.

Checking drives passes about 60second, it's terrible.

I tried your patch and see no improvements.

After 1 minute the driver works fine.

 

On 27.10.2011, at 13:35, Tian, Feng wrote:

 

Hi, Winddy

 

  I worked out a patch to boost IDE boot when slave device is absent.

 

Could you have a test to see if the issue goes away?

 

Thanks

Feng

 

From: Tian, Feng [mailto:feng.tian@intel.com] 
Sent: Wednesday, October 12, 2011 09:33
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

 

Yes, now we use Identify cmd to help confirm if there is a real device because even if there is no device 1, the signature for device 1 is still valid.

 

Reducing detection time is not a good way. Some big capacity h/d may fail to response Identify cmd at short time frame.

 

Thanks

Feng

 

From: winddy [mailto:winddy_zhang@byosoft.com.cn] 
Sent: Wednesday, October 12, 2011 09:05
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] [UDK] Boot slowly under IDE mode when slave device is absent.

 

Dear Experts,

         Now I meet a problem: under IDE mode, if a channel only master has device attached, device detection will be slow.

         After trace, we found in function DetectAndConfigIdeDevice() in idemode.c, it will send IDENTIFY command to device to make sure its presence.

         According to ATA7 spec 5.16.1 (Device 0 only configurations), “Even though Device 1 is not present, the register content may appear valid for Device 1”.

         It means if a channel only master has device, issue Diagnostic command may see slave also has signature. And default command timeout is 3 seconds. If IDENTIFY command is failed, it will try to issue identify packet cmd. So the total time for slave will be at least 6 second.

         Could we have a way to reduce detection time under this condition such as reduce timeout value or not do double identify command?

         Thanks.

 

<IdeMode_New.c><IdeMode_Old.c>------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel