Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 95 02:00 +0400
From:      vega@glas.apc.org (Vlad D. Nebolsin)
To:        bugs@freebsd.org
Subject:   dos2unixtime fatal bug in 2.0.5-R
Message-ID:  <m0srBTn-000717N@glas.apc.org>

next in thread | raw e-mail | index | archive | help
/* Written  4:38 am  Sep  5, 1995 by vega@glas.apc.org in glas:comp.fbsd.misc */
/* ---------- "dos2unixtime fatal bug in 2.0.5-R" ---------- */
Hi there,

I found some strange bug in FreeBSD 2.0.5-R with mounted MS-DOS (6.22 version)
partition (rw mode):

if the MS-DOS time/date for any file or directory located on this mounted 
partition installed incorrect (for example 0/31/95 - wrong zero) your FBSD may 
suddenly (50/50 chances) crash with next log diagnose:

Sep  2 03:30:46 cuckoo /kernel: dos2unixtime(): month value out of range (14)
Sep  2 03:30:49 cuckoo /kernel: dos2unixtime(): month value out of range (14)
Sep  2 03:30:56 cuckoo /kernel: dos2unixtime(): month value out of range (0)
Sep  2 03:30:57 cuckoo last message repeated 2 times
...

then it was just rebooted.

I've tested it for a couple of times and my machine was rebooted almost 
every time I've just _entered_ any wrong MS-DOS directory on mounted partition.

How to avoid the crash of system? Check your MS-DOS partition inside MS-DOS 
before mounting it and fix all wrong installed time/dates. This way.

Sincerely,
Vlad.

P.S. I hope it will be fixed in next release or SNAP, isn't it Jordan?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0srBTn-000717N>