Bug 3523 - Solaris reboots when I use lofiadm.
: Solaris reboots when I use lofiadm.
Status: CLOSED FIXED
Product: fuse
fusefs
: unspecified
: i86pc/amd64 OpenSolaris
: P3 major
: ---
Assigned To: Mark Phalan
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-09-22 04:16 UTC by Kazuhiko Kobayashi
Modified: 2009-02-11 05:50 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Kazuhiko Kobayashi 2008-09-22 04:16:07 UTC
I installed SUNWfusefs,SUNWlibfuse, ntfs-3g-1.2918.tgz on OpenSolaris 2008.05
snv91.
It works.
But, when I use lofiadm on NTFS, solaris reboots.


# ntfs-3g /dev/dsk/c5d0p1 /mnt/windows
# dd if=/dev/zero bs=1024k count=100 of=/mnt/windows/tmp/test.img
100+0 records in
100+0 records out
# lofiadm -a /mnt/windows/tmp/test.img
/dev/lofi/1
# newfs /dev/rlofi/1
newfs: construct a new file system /dev/rlofi/1: (y/n)?
Comment 1 Mark Phalan 2009-01-13 06:17:45 UTC
This is easy to reproduce as in the comment above. The stack looks like this:

ffffff000886a8c0 vpanic()
ffffff000886a8f0 page_unlock+0x172(ffffff0003d73080)
ffffff000886a980 segmap_unlock+0x148(ffffff01cf183ee0, fffffffffbc30cc0, 
ffffff01c9ba2000, 2000, 1, ffffff01cfc9c150)
ffffff000886aa60 segmap_fault+0x37b(ffffff01cf183ee0, fffffffffbc30cc0, 
ffffff01c9ba2000, 2000, 3, 1)
ffffff000886ab00 lofi_mapped_rdwr+0x193(ffffff02385ea0a0, 2000,
ffffff01e8aceee8
, ffffff01f91fee40)
ffffff000886abc0 lofi_strategy_task+0x3fa(ffffff01e8aceee8)
ffffff000886ac40 taskq_thread+0x193(ffffff01db3574c0)
ffffff000886ac50 thread_start+8()


I see the same panic (and stack) when trying to mount a truecrypt volume. This
is on OpenSolaris 105.