Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2012 10:10:41 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   still issues with unreadable dmesg output on SMP systems
Message-ID:  <20120322101041.GA99431@freebsd.org>

next in thread | raw e-mail | index | archive | help
hi there,

a few years ago there were huge issues with SMP and dmesg output, where
messages from various drivers were output to /dev/ttyv0 without any timing,
which caused a lot of unreadable lines.

this was fixed and almost all of the dmesg lines i see now look similar to
dmesg on a non-SMP aware kernel. however there still seems to be an issue
within the cd(4) driver. maybe somebody could fix the driver output to match
the drivers, where the dmesg output looks correct (da(4), ada(4), ...).

here's a bit of dmesg output. i'm running HEAD on amd64 btw.:

ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <SAMSUNG SP2504C VT100-50> ATA-7 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <SAMSUNG HD103SJ 1AJ10001> ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
SMP: AP CPU #1 Launched!
cd0 at ahcich2 bus 0 scbus2 target 0 lun 0
cd0: <HL-DT-ST DVTDiRmAeMc oGuHn2t4eNrS 5"0T SXCP-0l2o>w " Rfermeoqvuaebnlcey  CD1-4R0O6M2 5S0C0S IH-z0  qdueavliityc e1 000

cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Root mount waiting for: usbus7 usbus3
Root mount waiting for: usbus7 usbus3
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
Root mount waiting for: usbus3
ugen3.2: <Western Digital> at usbus3
umass0: <MSC Bulk-Only Transport> on usbus3
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: <WD My Passport 0740 1003> Fixed Direct Access SCSI-6 device 
da0: 40.000MB/s transfers
da0: 953837MB (1953458176 512 byte sectors: 255H 63S/T 121597C)

again: apart from cd(4) all the drivers i have enabled in my kernel config
produce proper dmesg lines.

cheers.
alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120322101041.GA99431>