{"id":116,"date":"2010-03-09T02:06:06","date_gmt":"2010-03-09T02:06:06","guid":{"rendered":"http:\/\/poojanwagh.opalstacked.com\/techblog\/un\/archiving-syslog-dmesg\/"},"modified":"2010-04-04T03:22:47","modified_gmt":"2010-04-04T03:22:47","slug":"archiving-syslog-dmesg","status":"publish","type":"post","link":"https:\/\/tech.poojanblog.com\/blog\/un\/archiving-syslog-dmesg\/","title":{"rendered":"Archiving syslog (dmesg)"},"content":{"rendered":"<p>I&#8217;m about to build a FreeBSD kernel, so I decided to keep track of my boot-up console messages. I ran the following:<br \/>\n<code><br \/>\ncat \/var\/run\/dmesg.boot | mutt -nx -s &#8220;syslog&#8221; $EMAILADDRESS<br \/>\n<\/code><br \/>\n(Replace <code>$EMAILADDRESS<\/code> with a real email address.)<\/p>\n<code><br \/>\nCopyright (c) 1992-2009 The FreeBSD Project.<br \/>\nCopyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994<br \/>\nThe Regents of the University of California. All rights reserved.<br \/>\nFreeBSD is a registered trademark of The FreeBSD Foundation.<br \/>\nFreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009<br \/>\nroot@almeida.cse.buffalo.edu:\/usr\/obj\/usr\/src\/sys\/GENERIC<br \/>\nTimecounter &#8220;i8254&#8221; frequency 1193182 Hz quality 0<br \/>\nCPU: Intel(R) Atom(TM) CPU Z510   @ 1.10GHz (1097.26-MHz 686-class CPU)<br \/>\nOrigin = &#8220;GenuineIntel&#8221;  Id = 0x106c2  Stepping = 2<br \/>\nFeatures=0xafe9fbff<br \/>\nFeatures2=0x40c39d&lt;SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,xTPR,PDCM,&gt;<br \/>\nAMD Features=0x100000<br \/>\nAMD Features2=0x1<br \/>\nTSC: P-state invariant<br \/>\nreal memory  = 1073741824 (1024 MB)<br \/>\navail memory = 1026535424 (978 MB)<br \/>\nACPI APIC Table:<br \/>\nioapic0  irqs 0-23 on motherboard<br \/>\nkbd1 at kbdmux0<br \/>\nacpi0:  on motherboard<br \/>\nacpi0: [ITHREAD]<br \/>\nACPI Error: Could not enable PowerButton event 20090521 evxfevnt-298<br \/>\nACPI Warning: Could not enable fixed event 2 20090521 evxface-235<br \/>\nacpi0: Power Button (fixed)<br \/>\nTimecounter &#8220;ACPI-fast&#8221; frequency 3579545 Hz quality 1000<br \/>\nacpi_timer0:  port 0x1008-0x100b on acpi0<br \/>\nacpi_ec0:  port 0x62,0x66 on acpi0<br \/>\nacpi_hpet0:  iomem 0xfed00000-0xfed003ff on acpi0<br \/>\nTimecounter &#8220;HPET&#8221; frequency 14318180 Hz quality 900<br \/>\nacpi_acad0:  on acpi0<br \/>\nbattery0:  on acpi0<br \/>\nbattery1:  on acpi0<br \/>\nbattery2:  on acpi0<br \/>\nacpi_button0:  on acpi0<br \/>\npcib0:  port 0xcf8-0xcff on acpi0<br \/>\npci0:  on pcib0<br \/>\nvgapci0:  port 0x1800-0x1807 mem 0xd8080000-0xd80fffff,0xd0000000-0xd7ffffff,0xd8020000-0xd803ffff irq 16 at device 2.0 on pci0<br \/>\npci0:  at device 27.0 (no driver attached)<br \/>\npcib1:  irq 17 at device 28.0 on pci0<br \/>\npci2:  on pcib1<br \/>\nre0:  port 0x2000-0x20ff mem 0xd8100000-0xd8100fff,0xd8400000-0xd840ffff irq 16 at device 0.0 on pci2<br \/>\nre0: Using 1 MSI messages<br \/>\nre0: Chip rev. 0x3c000000<br \/>\nre0: MAC rev. 0x00400000<br \/>\nmiibus0:  on re0<br \/>\nrgephy0:  PHY 1 on miibus0<br \/>\nrgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto<br \/>\nre0: Ethernet address: 00:01:c0:06:8a:30<br \/>\nre0: [FILTER]<br \/>\nuhci0:  port 0x1820-0x183f irq 23 at device 29.0 on pci0<br \/>\nuhci0: [ITHREAD]<br \/>\nuhci0: LegSup = 0x0000<br \/>\nusbus0:  on uhci0<br \/>\nuhci1:  port 0x1840-0x185f irq 19 at device 29.1 on pci0<br \/>\nuhci1: [ITHREAD]<br \/>\nuhci1: LegSup = 0x0000<br \/>\nusbus1:  on uhci1<br \/>\nuhci2:  port 0x1860-0x187f irq 18 at device 29.2 on pci0<br \/>\nuhci2: [ITHREAD]<br \/>\nuhci2: LegSup = 0x0000<br \/>\nusbus2:  on uhci2<br \/>\nehci0:  mem 0xd8014000-0xd80143ff irq 21 at device 29.7 on pci0<br \/>\nehci0: [ITHREAD]<br \/>\nusbus3: EHCI version 1.0<br \/>\nusbus3:  on ehci0<br \/>\npci0:  at device 30.0 (no driver attached)<br \/>\npci0:  at device 30.1 (no driver attached)<br \/>\nisab0:  at device 31.0 on pci0<br \/>\nisa0:  on isab0<br \/>\natapci0:  port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0<br \/>\nata0:  on atapci0<br \/>\nata0: [ITHREAD]<br \/>\nata1:  on atapci0<br \/>\nata1: [ITHREAD]<br \/>\nacpi_tz0:  on acpi0<br \/>\nacpi_tz1:  on acpi0<br \/>\natrtc0:  port 0x70-0x73 on acpi0<br \/>\natrtc0: Warning: Couldn&#8217;t map I\/O.<br \/>\ncpu0:  on acpi0<br \/>\nest0:  on cpu0<br \/>\np4tcc0:  on cpu0<br \/>\npmtimer0 on isa0<br \/>\norm0:  at iomem 0xe0000-0xe17ff pnpid ORM0000 on isa0<br \/>\nsc0:  at flags 0x100 on isa0<br \/>\nsc0: VGA<br \/>\nvga0:  at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0<br \/>\natkbdc0:  at port 0x60,0x64 on isa0<br \/>\natkbd0:  irq 1 on atkbdc0<br \/>\nkbd0 at atkbd0<br \/>\natkbd0: [GIANT-LOCKED]<br \/>\natkbd0: [ITHREAD]<br \/>\nppc0: parallel port not found.<br \/>\nTimecounter &#8220;TSC&#8221; frequency 1097261935 Hz quality 800<br \/>\nTimecounters tick every 1.000 msec<br \/>\nusbus0: 12Mbps Full Speed USB v1.0<br \/>\nusbus1: 12Mbps Full Speed USB v1.0<br \/>\nusbus2: 12Mbps Full Speed USB v1.0<br \/>\nusbus3: 480Mbps High Speed USB v2.0<br \/>\nad0: 152627MB  at ata0-master UDMA33<br \/>\nugen0.1:  at usbus0<br \/>\nuhub0:  on usbus0<br \/>\nugen1.1:  at usbus1<br \/>\nuhub1:  on usbus1<br \/>\nugen2.1:  at usbus2<br \/>\nuhub2:  on usbus2<br \/>\nugen3.1:  at usbus3<br \/>\nuhub3:  on usbus3<br \/>\nRoot mount waiting for: usbus3 usbus2 usbus1 usbus0<br \/>\nuhub0: 2 ports with 2 removable, self powered<br \/>\nuhub1: 2 ports with 2 removable, self powered<br \/>\nuhub2: 2 ports with 2 removable, self powered<br \/>\nRoot mount waiting for: usbus3<br \/>\nRoot mount waiting for: usbus3<br \/>\nRoot mount waiting for: usbus3<br \/>\nuhub3: 8 ports with 8 removable, self powered<br \/>\nugen3.2:  at usbus3<br \/>\numass0:  on usbus3<br \/>\numass0:  SCSI over Bulk-Only; quirks = 0x0000<br \/>\nRoot mount waiting for: usbus3<br \/>\numass0:0:0:-1: Attached to scbus0<br \/>\nda0 at umass-sim0 bus 0 target 0 lun 0<br \/>\nda0:  Fixed Direct Access SCSI-4 device<br \/>\nda0: 40.000MB\/s transfers<br \/>\nda0: 476940MB (976773168 512 byte sectors: 255H 63S\/T 60801C)<br \/>\nusbd_set_config_index:523: could not read device status: USB_ERR_SHORT_XFER<br \/>\nugen3.3:  at usbus3<br \/>\numass1:  on usbus3<br \/>\numass1:  SCSI over Bulk-Only; quirks = 0x0000<br \/>\numass1:1:1:-1: Attached to scbus1<br \/>\nda1 at umass-sim1 bus 1 target 0 lun 0<br \/>\nda1:  Fixed Direct Access SCSI-2 device<br \/>\nda1: 40.000MB\/s transfers<br \/>\nda1: 953869MB (1953525168 512 byte sectors: 255H 63S\/T 121601C)<br \/>\nugen3.4:  at usbus3<br \/>\numass2:  on usbus3<br \/>\numass2:  SCSI over Bulk-Only; quirks = 0x0000<br \/>\numass2:2:2:-1: Attached to scbus2<br \/>\nda2 at umass-sim2 bus 2 target 0 lun 0<br \/>\nda2:  Fixed Direct Access SCSI-4 device<br \/>\nda2: 40.000MB\/s transfers<br \/>\nda2: 953869MB (1953525168 512 byte sectors: 255H 63S\/T 121601C)<br \/>\nugen3.5:  at usbus3<br \/>\nugen2.2:  at usbus2<br \/>\nTrying to mount root from ufs:\/dev\/ad0s1a<br \/>\nZFS filesystem version 13<br \/>\nZFS storage pool version 13<br \/>\n<\/code>\n<div class='wp_likes' id='wp_likes_post-116'><a class='like' href=\"javascript:wp_likes.like(116);\" title='' ><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/tech.poojanblog.com\/blog\/wp-content\/plugins\/wp-likes\/images\/like.png\" alt='' border='0'\/><\/a><span class='text'>Be the first to like.<\/span><\/p>\n<div class='like' ><a href=\"javascript:wp_likes.like(116);\">Like<\/a><\/div>\n<div class='unlike' ><a href=\"javascript:wp_likes.unlike(116);\">Unlike<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m about to build a FreeBSD kernel, so I decided to keep track of my boot-up console messages. I ran the following: (Replace with a real email address.) Be the first to like. Like Unlike<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[45,12,44],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-un","tag-build","tag-freebsd","tag-kernel"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":2,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"predecessor-version":[{"id":182,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions\/182"}],"wp:attachment":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}