Subject: ata probe messages being interspersed into other output?
To: None <>
From: Havard Eidnes <>
List: tech-kern
Date: 02/11/2007 21:58:46

I've noticed that sometimes probe messages from the ata subsystem
appears to come interspersed into other output during boot.

An example:

atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <SONY CD-ROM CDU4821, MT1198-B Firmware, S0.Q=
> cdrom removable
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
cd0: 32-bit data port
scsibus2: waiting 2 seconds for devices to settle...
cd0: drive supports PIO mode 4satalink0: port 0: device present, speed:=
, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(cypide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
wd0 at atabus2 drive 0: <WDC WD2500JS-00MHB1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 se=
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133=
wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (usi=
ng DMA)

Notice how the first "satalink0: ..." line comes in the middle of
the probe message from cd0.

Anyone have any good idea how to fix this?  Is this becuase there
are some sleepable operations done in-between the printing of the
different parts of the line containing "cd0: drive supports"?

Yes, this is somewhat cosmetic, I'll concede...

Manuel CC'ed here since I think he's our primary guy on the ata

Best regards,

- H=E5vard