Bug 201873 - (patch) more detail reporting from GEOM
Summary: (patch) more detail reporting from GEOM
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Andrey V. Elsukov
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-07-25 14:40 UTC by Willem Jan Withagen
Modified: 2015-08-02 19:24 UTC (History)
1 user (show)

See Also:


Attachments
Extra info about unaligned partitions (655 bytes, patch)
2015-07-25 14:40 UTC, Willem Jan Withagen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Willem Jan Withagen 2015-07-25 14:40:28 UTC
Created attachment 159214 [details]
Extra info about unaligned partitions

I found quite a few of the following warnings in my dmesg:
+GEOM_PART: partition 1 is not aligned on 8192 bytes

Since that system has quite a few disks it is rather hard to guess about which disk it is actually complaining...
All failures are fitted with an extra line indicating the disk, but with is considered a warning, not a failure.

So the include patch make it report like:
GEOM_PART: partition 1 on (ada0,GPT) is not aligned on 4096 bytes

Diff is against 10.2-BETA

--WjW
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-07-26 11:17:45 UTC
A commit references this bug:

Author: ae
Date: Sun Jul 26 11:16:49 UTC 2015
New revision: 285889
URL: https://svnweb.freebsd.org/changeset/base/285889

Log:
  Report the scheme and provider names in warning message about unaligned
  partition.

  PR:		201873
  MFC after:	1 week

Changes:
  head/sys/geom/part/g_part.c
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-08-02 16:25:30 UTC
A commit references this bug:

Author: ae
Date: Sun Aug  2 16:25:22 UTC 2015
New revision: 286207
URL: https://svnweb.freebsd.org/changeset/base/286207

Log:
  MFC r285889:
    Report the scheme and provider names in warning message about unaligned
    partition.

    PR:		201873

Changes:
_U  stable/10/
  stable/10/sys/geom/part/g_part.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-08-02 16:30:32 UTC
A commit references this bug:

Author: ae
Date: Sun Aug  2 16:29:31 UTC 2015
New revision: 286209
URL: https://svnweb.freebsd.org/changeset/base/286209

Log:
  MFC r286207:
    Report the scheme and provider names in warning message about unaligned
    partition.

    PR:		201873

Changes:
_U  stable/9/sys/
  stable/9/sys/geom/part/g_part.c
Comment 4 Andrey V. Elsukov freebsd_committer freebsd_triage 2015-08-02 19:24:54 UTC
Committed in head/, stable/10 and stable/9. Thanks!