Opened 12 years ago

Last modified 7 years ago

#1815 new bug

Haiku takes very long to boot with new ata busmanager

Reported by: stippi Owned by: marcusoverhagen
Priority: normal Milestone: R1
Component: Drivers/Disk Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

It already takes quite long if I have only one drive attached, but when I attach a second drive, the boot time is even much longer. I am attaching a syslog with timestamps enabled. The weird thing is that from the syslog, it looks like the boot takes only a couple of seconds, while it really takes about 3 minutes or so. Maybe the weird time shift by one hour during scanning PCI devices has to do with it? I had not experienced this before the new ATA bus manager though (IIRC).

Attachments (1)

syslog (138.3 KB ) - added by stippi 12 years ago.
syslog of boot process with timestamps

Download all attachments as: .zip

Change History (5)

by stippi, 12 years ago

Attachment: syslog added

syslog of boot process with timestamps

comment:1 by marcusoverhagen, 12 years ago

The timestamps that I added to src/system/kernel/debug/debug.cpp obviously only get updated when the buffer is written to the file, not when a single line is created. we probably need to change this to debug such problems.

comment:2 by jackburton, 10 years ago

Can this be closed ?

comment:3 by stippi, 10 years ago

I think not, because at least on my other desktop, the ATA device detection can still take quite a long time.

in reply to:  1 comment:4 by scottmc, 7 years ago

Replying to marcusoverhagen:

The timestamps that I added to src/system/kernel/debug/debug.cpp obviously only get updated when the buffer is written to the file, not when a single line is created. we probably need to change this to debug such problems.

Have the timestamp issue been updated? Seems like it would be an fairly easy fix?

Note: See TracTickets for help on using tickets.