Bug 37227 - VMWare do not work with raw disks due to invalid device hadling by linuxlator
Summary: VMWare do not work with raw disks due to invalid device hadling by linuxlator
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 16:10 UTC by Vladimir B.Grebenschikov
Modified: 2003-09-11 11:30 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.41 KB, patch)
2002-04-18 16:10 UTC, Vladimir B.Grebenschikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir B.Grebenschikov 2002-04-18 16:10:01 UTC
When vmware tries to work with disk in "raw" mode it does some strange
magics actions to determine type of disk and in case of character device
(nowdays in FreeBSD) it failed to determine disk type validly.

Fix: I found exactly same hack (BSD characted devices substituted to block device
for linux binaries) in newstat_copyout() and assume that this hack will help
in stat64_copyout() for vmware2 - it really helps.

How-To-Repeat: install /usr/ports/emulators/vmware2 port and try to use "raw" disk in
vmware, it will detect partitions right, but filed to start VirtualMachine
Comment 1 Vladimir B.Grebenschikov 2002-04-18 16:18:06 UTC
And more, I think this bug present on FreeBSD-4 after 4.3-RELEASE
(whe block devices disappear)

-- 
SW Soft, Moscow
Vladimir B. Grebenschikov, vova@sw.ru
Comment 2 Martin Blapp freebsd_committer freebsd_triage 2003-04-29 13:39:55 UTC
State Changed
From-To: open->closed

Committed, thanks !
Comment 3 Rogier R. Mulhuijzen 2003-09-11 11:28:59 UTC
The CVS log for the commit for the fix is dated "Tue Apr 29 12:36:03 2003 UTC" and says "MFC after:    2 weeks". However RELENG_4 still doesn't have the fix.

Just thought I'd remind you =)

      DocWilco