From owner-freebsd-bugs Fri Sep 8 15:04:43 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA09095 for bugs-outgoing; Fri, 8 Sep 1995 15:04:43 -0700 Received: from redgate.glas.apc.org (redgate.glas.apc.org [193.232.215.145]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA09085 for ; Fri, 8 Sep 1995 15:04:39 -0700 Received: from glas.apc.org by redgate.glas.apc.org with esmtp (Smail3.1.29.1 #9) id m0srBXZ-000GoQN; Sat, 9 Sep 95 02:04 +0400 Received: by glas.apc.org (Smail3.1.29.1 #13) id m0srBTn-000717N; Sat, 9 Sep 95 02:00 +0400 Message-Id: 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 Sender: bugs-owner@freebsd.org Precedence: bulk /* 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?