If you want to know the time, don't ask FreeBSD

Mark Ovens mark at ukug.uk.freebsd.org
Wed Feb 11 16:42:10 GMT 2004


I'm completely baffled by this one. When FreeBSD shuts down/reboots it 
changes the system clock. It *always* sets the hours to 20 and changes 
the minutes and seconds (but I haven't worked out a pattern for that). 
The date also stays the same (see /var/log/messages below).

If that wasn't bad enough, it remembers the time across the reboot and 
doesn't start the clock (from the saved time) again until the boot is 
complete - all the boot messages have the same timestamp.

Can anyone shed any light on this at all please?

Thanks.

Regards,

Mark

FreeBSD 5.2-RELEASE #10: Tue Jan 13 19:36:15 GMT 2004

Here's an extract from /var/log/messages:

Feb 11 16:17:28 redshift reboot: rebooted by root
Feb 11 16:17:28 redshift syslogd: exiting on signal 15
Feb 11 20:19:10 redshift syslogd: kernel boot file is /boot/kernel/kernel
Feb 11 20:19:10 redshift kernel: boot() called on cpu#1
Feb 11 20:19:10 redshift kernel: Waiting (max 60 seconds) for system 
process `vnlru' to stop...stopped
Feb 11 20:19:10 redshift kernel: Waiting (max 60 seconds) for system 
process `bufdaemon' to stop...stopped
Feb 11 20:19:10 redshift kernel: Waiting (max 60 seconds) for system 
process `syncer' to stop...stopped
Feb 11 20:19:10 redshift kernel:
Feb 11 20:19:10 redshift kernel: syncing disks, buffers remaining... 3 3
Feb 11 20:19:10 redshift kernel: done
Feb 11 20:19:10 redshift kernel: Copyright (c) 1992-2004 The FreeBSD 
Project.
Feb 11 20:19:10 redshift kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Feb 11 20:19:10 redshift kernel: The Regents of the University of 
California. All rights reserved.
Feb 11 20:19:10 redshift kernel: FreeBSD 5.2-RELEASE #10: Tue Jan 13 
19:36:15 GMT 2004
Feb 11 20:19:10 redshift kernel: root at redshift:/usr/obj/usr/src/sys/REDSHIFT

........

Feb 11 20:19:10 redshift kernel: cd2 at ahc0 bus 0 target 5 lun 0
Feb 11 20:19:10 redshift kernel: cd2: <PIONEER DVD-ROM DVD-305 1.05> 
Removable CD-ROM SCSI-2 device
Feb 11 20:19:10 redshift kernel: cd2: 5.000MB/s transfers (5.000MHz, 
offset 16)
Feb 11 20:19:10 redshift kernel: cd2: Attempt to query device size 
failed: NOT READY, Medium not present
Feb 11 20:19:10 redshift kernel: Mounting root from ufs:/dev/da1s1a
Feb 11 20:19:28 redshift login: ROOT LOGIN (root) ON ttyv0






More information about the Ukfreebsd mailing list