Project

General

Profile

Actions

Bug #7524

open

setting msgid=0 in log.conf makes all messages seem to come from "unix"

Added by Yuri Pankov over 5 years ago. Updated 8 months ago.

Status:
Pending RTI
Priority:
Low
Assignee:
Category:
kernel
Start date:
2016-10-29
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Purely cosmetic, but somewhat annoying.

$ grep msgid /kernel/drv/log.conf
msgid=0;
...
Oct 28 21:20:51 altair unix: pcplusmp: pciex8086,10c9 (igb) instance 1 irq 0x1a vector 0x62 ioapic 0xff intin 0xff is bound to cpu 10
Oct 28 21:20:51 altair unix: pcplusmp: pciex8086,10c9 (igb) instance 1 irq 0x1b vector 0x63 ioapic 0xff intin 0xff is bound to cpu 11
Oct 28 21:20:51 altair unix: NOTICE: igb1 registered
Oct 28 21:20:54 altair unix: NOTICE: igb0 link up, 1000 Mbps, full duplex
Oct 28 21:20:55 altair unix: This Solaris instance has UUID fc378285-ddc2-4fc3-b6c6-ca4efb8e65c6
Oct 28 21:20:55 altair unix: dump on /dev/zvol/dsk/rpool/dump size 28672 MB
Oct 28 21:20:55 altair unix: pseudo-device: bpf0
Oct 28 21:20:55 altair unix: bpf0 is /pseudo/bpf@0
Oct 28 21:20:55 altair unix: pseudo-device: fssnap0
Oct 28 21:20:55 altair unix: fssnap0 is /pseudo/fssnap@0
Oct 28 21:20:55 altair unix: pseudo-device: eventfd0
Oct 28 21:20:55 altair unix: eventfd0 is /pseudo/eventfd@0
Oct 28 21:20:55 altair unix: pseudo-device: signalfd0
Oct 28 21:20:55 altair unix: signalfd0 is /pseudo/signalfd@0
Oct 28 21:20:55 altair unix: IP Filter: v4.1.9, running.
...
Actions #1

Updated by Yuri Pankov over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Yuri Pankov
  • % Done changed from 0 to 50
  • Difficulty changed from Medium to Bite-size
  • Tags deleted (needs-triage)
Actions #2

Updated by Electric Monk 8 months ago

  • Gerrit CR set to 1787
Actions #3

Updated by Joshua M. Clulow 8 months ago

Can you include samples of what the log text looks like after the change as well?

Actions #4

Updated by Yuri Pankov 8 months ago

Joshua M. Clulow wrote in #note-3:

Can you include samples of what the log text looks like after the change as well?

Sure, I am going to use e.g. nvme output.

Before the change:

Oct 19 09:57:36 localhost unix: PCI Express-device: pci15ad,7a0@16, pcieb8
Oct 19 09:57:36 localhost unix: pcieb8 is /pci@0,0/pci15ad,7a0@16
Oct 19 09:57:36 localhost unix: nvme0: NVMe spec version 1.3
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 3, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 4, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 5, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 6, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 7, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 8, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 9, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 10, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 11, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 12, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 13, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 14, unsupported block size 1
Oct 19 09:57:36 localhost unix: WARNING: nvme0: ignoring namespace 15, unsupported block size 1
Oct 19 09:57:36 localhost unix: Block device: blkdev@1,0, blkdev0
Oct 19 09:57:36 localhost unix: blkdev0 is /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@1,0
Oct 19 09:57:36 localhost unix: /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@1,0 (blkdev0) online
Oct 19 09:57:36 localhost unix: Block device: blkdev@2,0, blkdev1
Oct 19 09:57:36 localhost unix: blkdev1 is /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@2,0
Oct 19 09:57:36 localhost unix: /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@2,0 (blkdev1) online

Actions #5

Updated by Yuri Pankov 8 months ago

With the change:

Nov  8 09:47:33 localhost npe: PCI Express-device: pci15ad,7a0@16, pcieb8
Nov  8 09:47:33 localhost genunix: pcieb8 is /pci@0,0/pci15ad,7a0@16
Nov  8 09:47:33 localhost nvme: nvme0: NVMe spec version 1.3
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 3, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 4, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 5, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 6, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 7, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 8, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 9, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 10, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 11, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 12, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 13, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 14, unsupported block size 1
Nov  8 09:47:33 localhost nvme: WARNING: nvme0: ignoring namespace 15, unsupported block size 1
Nov  8 09:47:33 localhost blkdev: Block device: blkdev@1,0, blkdev0
Nov  8 09:47:33 localhost genunix: blkdev0 is /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@1,0
Nov  8 09:47:33 localhost genunix: /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@1,0 (blkdev0) online
Nov  8 09:47:33 localhost blkdev: Block device: blkdev@2,0, blkdev1
Nov  8 09:47:33 localhost genunix: blkdev1 is /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@2,0
Nov  8 09:47:33 localhost genunix: /pci@0,0/pci15ad,7a0@16/pci15ad,7f0@0/blkdev@2,0 (blkdev1) online

Actions #6

Updated by Joshua M. Clulow 8 months ago

That really does seem much more useful!

Actions #7

Updated by Yuri Pankov 8 months ago

  • Status changed from In Progress to Pending RTI
  • % Done changed from 50 to 90
Actions

Also available in: Atom PDF