Bug 155553 - md shutdown is too noisy and lies
Summary: md shutdown is too noisy and lies
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Neil Brown
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 20:18 UTC by Andreas Kleen
Modified: 2006-03-07 03:54 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
MAtch to make md quiet (739 bytes, patch)
2006-03-07 03:50 UTC, Neil Brown
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kleen 2006-03-06 20:18:52 UTC
I don't have any MD devices configured, but I get on reboot on the serial
console. It should only print such a message for an actually existing
MD device

md: stopping all md devices.
md: md31 switched to read-only mode.
md: md30 switched to read-only mode.
md: md29 switched to read-only mode.
md: md28 switched to read-only mode.
md: md27 switched to read-only mode.
md: md26 switched to read-only mode.
md: md25 switched to read-only mode.
md: md24 switched to read-only mode.
md: md23 switched to read-only mode.
md: md22 switched to read-only mode.
md: md21 switched to read-only mode.
md: md20 switched to read-only mode.
md: md19 switched to read-only mode.
md: md18 switched to read-only mode.
md: md17 switched to read-only mode.
md: md16 switched to read-only mode.
md: md15 switched to read-only mode.
md: md14 switched to read-only mode.
md: md13 switched to read-only mode.
md: md12 switched to read-only mode.
md: md11 switched to read-only mode.
md: md10 switched to read-only mode.
md: md9 switched to read-only mode.
md: md8 switched to read-only mode.
md: md7 switched to read-only mode.
md: md6 switched to read-only mode.
md: md5 switched to read-only mode.
md: md4 switched to read-only mode.
md: md3 switched to read-only mode.
md: md2 switched to read-only mode.
md: md1 switched to read-only mode.
md: md0 switched to read-only mode.
Synchronizing SCSI cache for disk sdb:
Synchronizing SCSI cache for disk sda:
Comment 1 Neil Brown 2006-03-07 03:50:28 UTC
Created attachment 71497 [details]
MAtch to make md quiet

Whenever an md device is opened, the internal data structures are created.  The above suggests that the first 32 devices were openned.  This is presumably done in some boot script, but shouldn't be needed.

The attached patch - which is now in HEAD - will remove the unpleasant, and unnecessary - messages.
Comment 2 Neil Brown 2006-03-07 03:54:00 UTC
It seems I cannot resolve without a comment, so:

 The above patch should fix the problem.