syslog console log not logging SCSI problems

Jeremy Chadwick koitsu at FreeBSD.org
Thu May 15 10:02:03 UTC 2008


On Thu, May 15, 2008 at 10:55:50AM +0100, Nick Barnes wrote:
> At 2008-05-15 09:46:32+0000, Jeremy Chadwick writes:
> > On Thu, May 15, 2008 at 10:14:01AM +0100, Nick Barnes wrote:
> > > One of our FreeBSD boxes has a SCSI controller and disk, which showed
> > > problems earlier this week.  There was a lot of of chatter from the
> > > SCSI driver in /var/log/messages and to the console.  However, the
> > > console is unattended and we only discovered the problem subsequently
> > > because /var/log/console.log didn't show any of the chatter.
> > > 
> > > console.log is otherwise working, and very helpful (e.g. it shows
> > > /etc/rc output at boot which lets us spot daemon failures).
> > > 
> > > We've rebuilt the machine now (fan failure leading to boot disk
> > > failure), so I can't report the SCSI chatter in question, but here is
> > > the dmesg and syslog.conf.  Any suggestions?
> > 
> > /boot/loader.conf, /boot.config, and /etc/make.conf would also be
> > useful.
> 
> All empty, except setting kern.maxdsiz in /boot/loader.conf.  Running
> GENERIC.
> 
> If this happens again, I will retain a copy of /var/log/messages so I
> can report the SCSI messages in question, but they aren't as
> interesting to me as the fact that they didn't appear in console.log.

I've seen odd behaviour with syslog before, but it's hard to explain.  I
don't use the console.info entry in /etc/syslog.conf, so I can't tell
you what's going on there.

Another thing I can think of would be your kernel configuration.  Can
you provide it?

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list