Bug 8141

Summary: Adaptec 39320D and long boot
Product: IO/Storage Reporter: karaluh (karaluh)
Component: SCSIAssignee: io_scsi
Status: CLOSED INVALID    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.20.1 Subsystem:
Regression: --- Bisected commit-id:

Description karaluh 2007-03-07 06:15:35 UTC
Most recent kernel where this bug did *NOT* occur: none
Distribution: kubuntu

Hardware Environment: 
02:0a.1 SCSI storage controller: Adaptec ASC-39320D (rev 03)

Software Environment:
Gnu C                  4.1.2
Gnu make               3.81
binutils               2.17
util-linux             2.12r
module-init-tools      3.2.2
Linux C Library        > libc.2.4
Dynamic linker (ldd)   2.4
Procps                 3.2.7
udev                   093

Problem Description:
The system boots long with Adaptec 39320D pluged in. It happens in all distro 
kernels i used and in 2.6.20.1 compiled by myself. Some more info here:
https://launchpad.net/ubuntu/+bug/79542

Steps to reproduce:
Plug Adaptec 39320D and boot.
Comment 1 Anonymous Emailer 2007-03-11 16:53:00 UTC
Reply-To: akpm@linux-foundation.org

> On Sun, 11 Mar 2007 13:03:44 -0500 James Bottomley <James.Bottomley@SteelEye.com> wrote:
> On Wed, 2007-03-07 at 12:33 -0800, Andrew Morton wrote:
> > 41-second delay when mounting root fs.
> 
> This sounds like a user configuration error.  The adaptec has a bus
> settle time in its initialisation path.  Originally it was 20s, hence
> for a D card (twin channel) it would take about 50s to come online
> (extra 5s to scan per channel).  There was a lot of argument about this,
> and the value was finally made configurable as
> 
> CONFIG_AIC79XX_RESET_DELAY_MS
> 
> I suspect you have this set to around 15000.  You can make the boot
> sequence shorter by reducing this value.  I believe Red Hat configures
> it down to the default 5000.
> 
> James

(cc's added)

Comment 2 karaluh 2007-03-22 01:08:38 UTC
Thanks a lot. It fixed the problem.