Skip to contentSkip to conversation

New: Slow boot with dc395x compiled into the kernel.

Bug 36822 [email protected] 1 participant 3 messages Jun 7, 2011 – May 14, 2012 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=36822

Summary: Slow boot with dc395x compiled into the kernel.
Product: SCSI Drivers
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: DC395X
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

I'm using a Tekram TRM-S1040 Card with a HP Scanner connected to it. When I compile the driver directly into the kernel the kernel needs about 7 secounds to boot with a noticabe delay here:

[    3.107686] scsi 7:0:0:3: Direct-Access     Generic  USB MS Reader    1.03
PQ: 0 ANSI: 0
[    6.130981] scsi 0:0:0:0: Attached scsi generic sg0 type 3

(where sg0 is the scanner)

Also my internal drives correlate with the USB Card-Reader, so my drives are:
sda: card reader
sdb: fist harddrive
sdc-sde: card reader
sdf: secound harddrive

But if I compile the driver as a Module (so it's loaded by udev) the kernel boot time is only about 2.5 secounds, my drives are:
sda: first or secound harddrive
sdb: first or secound harddrive
sdc-sdf: card reader

also the boot-time of the whole machine (kernel + init) is reduced by around 6 to 8 secounds.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 36822] Slow boot with dc395x compiled into the kernel.

https://bugzilla.kernel.org/show_bug.cgi?id=36822

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |DOCUMENTED

--- Comment #1 from Alan <[email protected]> 2012-05-14 14:23:23 --- Not unusual - the card reader has had more time to get itself ready before the kernel waits for it

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 36822] Slow boot with dc395x compiled into the kernel.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=36822

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.