Sponsored Content
Full Discussion: dmesg freebsd
Top Forums UNIX for Dummies Questions & Answers dmesg freebsd Post 30814 by Perderabo on Monday 28th of October 2002 09:59:58 AM
Old 10-28-2002
I've been looking over a freebsd system that we have. It doesn't look like there's any way to clear the message buffer via sysctl, even if you invoke sysctl from c. You could bypass sysctl and clear it out, but it looks like /etc/periodic/security/700.kernelmsg is expecting you to not do this. And it should be maintaining /var/log/dmesg.today for you.

The leading lines in dmesg should not be preventing you from reading the last lines in dmesg. When you run "dmesg" just look at the trailing lines. If you really can't do that, try "dmesg | tail".

To make the lines go away, you need to start thinking about where they come from. The trick is to make them not appear in the first place. Since the lines appear on one system and not the other, the two systems are not identical. Compare them and figure out what is different.

They look like boot up debugging info of some kind. So I would start with the /boot/loader files and continue with anything involved in getting the kernel into core.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sun dmesg says

Oct 22 13:40:07 snmpdx: community_check() : bad community from Oct 22 13:40:07 snmpdx: session_open() failed for a pdu received from any help? thanks (4 Replies)
Discussion started by: yls177
4 Replies

2. UNIX for Dummies Questions & Answers

dmesg error

hi, when i do a "dmesg" command, i saw many of this message appeared. Nov 12 07:00:20 catty graph_ftp: graph_ftp ftp faild it seems like it has some problems with my gftp application? pls tell me what's wrong and how to solve it. thanks alot. (1 Reply)
Discussion started by: champion
1 Replies

3. IP Networking

dmesg error

Oct 8 05:01:48 servername raid: Sense=7000060000000098000000003FD8000000000000000000000000000000000000000000000008380 00000000000000000000000FF0F053154303338343333353320202020202003010300000000000000000000000000000000000000000000000000000... (1 Reply)
Discussion started by: yls177
1 Replies

4. HP-UX

dmesg error ??

Hi all, I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ? Equivalently mapped reserve pool exhausted; Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
Discussion started by: davidg
3 Replies

5. Slackware

Printer (dmesg) error

I am setting up a printer for a friend. I've built the box using (Gnu/Linux), Slackware-current, Kernel 2.6.7. I have the same setup. Currently the only way I have access to my friends machine is across the Internet via SSH, so I'm unable to manually check cabling at the moment. On my Slackware... (0 Replies)
Discussion started by: locustfurnace
0 Replies

6. Linux

dmesg error

hi all, this is my permenent error.how to clear this error permenently... please help me out. here is my error output. please tell me clearly as i am very new to Linux(beginner) hda: packet command error: status=0x51 { DriveReady SeekComplete Error } hda: packet command error:... (2 Replies)
Discussion started by: rrlog
2 Replies

7. BSD

dmesg giving errors

When running dmesg, the output is a long list of the following: ACPI Error: No object attached to node 0xffffff00016622e0 20090521 exresnte-211 ACPI Error (uteval-0329): Method execution failed (Node 0xffffff00016622e0), AE_AML_NO_OPERAND As a workaround I resort to sysctl, which gives... (0 Replies)
Discussion started by: figaro
0 Replies

8. HP-UX

Dmesg with date possible?

Hi there, I miss date information when executing # dmesg Is it possible to add this a date information to my results of # dmesg ? Best wishes (12 Replies)
Discussion started by: System
12 Replies

9. Red Hat

Dmesg with Date and Time

Dear All, I am looking to enable Date and time in dmesg output for for centos 5.8. Unfortunately the current version doesn't support -T option. Also i am looking for solutions which can enable the date& time via kernal or updating the dmesg utility. or maybe via single command line. ... (3 Replies)
Discussion started by: pistachio
3 Replies

10. Red Hat

Dmesg errors

Dear All , Very recently I find there are a lot of I/O errors in our Red HAt Linux Server. Pl find the below end_request: I/O error, dev sdcp, sector 0 sd 7:0:0:32784: SCSI error: return code = 0x00010000 end_request: I/O error, dev sdn, sector 0 sd 7:0:0:33289: SCSI error: return... (7 Replies)
Discussion started by: jegaraman
7 Replies
DMESG(8)						    BSD System Manager's Manual 						  DMESG(8)

NAME
dmesg -- display the system message buffer SYNOPSIS
dmesg [-ac] [-M core [-N system]] DESCRIPTION
The dmesg utility displays the contents of the system message buffer. If the -M option is not specified, the buffer is read from the cur- rently running kernel via the sysctl(3) interface. Otherwise, the buffer is read from the specified core file, using the name list from the specified kernel image (or from the default image). The options are as follows: -a Show all data in the message buffer. This includes any syslog records and /dev/console output. -c Clear the kernel buffer after printing. -M Extract values associated with the name list from the specified core. -N If -M is also specified, extract the name list from the specified system instead of the default, which is the kernel image the system has booted from. FILES
/var/run/dmesg.boot usually a snapshot of the buffer contents taken soon after file systems are mounted at startup time SEE ALSO
sysctl(3), syslogd(8) HISTORY
The dmesg utility appeared in 4.0BSD. BSD
May 9, 2013 BSD
All times are GMT -4. The time now is 02:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy