Bug 141897 - [msdosfs] [panic] Kernel panic. msdofs: file name length 266 to large.
Summary: [msdosfs] [panic] Kernel panic. msdofs: file name length 266 to large.
Status: Closed DUPLICATE of bug 204643
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 16:50 UTC by Andrey
Modified: 2016-12-27 23:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2009-12-22 16:50:01 UTC
On USB flashdrive there is a file with a long name.

# mount_msdofs -L ru_RU.UTF-8 /dev/da4s1 /mnt/flash
# ls /mnt/flash
msdofs: file name length 266 to large
msdofs: non-decreasing id: id 0, last id 2
msdofs: file name length 266 to large
msdofs: non-decreasing id: id 0, last id 2
panic: stack overflow detected; backtrace may be corrupted
cpuid = 0

After file removal it is mounted without problems.

How-To-Repeat: # mount_msdofs -L ru_RU.UTF-8 /dev/da4s1 /mnt/flash
# ls /mnt/flash
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-12-22 17:01:08 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Jilles Tjoelker freebsd_committer freebsd_triage 2016-12-27 23:42:21 UTC
Fixed by using the 8.3 name if the converted long name is too long.

*** This bug has been marked as a duplicate of bug 204643 ***