[問題] vmware server 安裝FreeBSD 並接取usb disk問題
實體機為windowx XP with SP3, 虛擬軟體為vmware server 2,
虛擬環境為 cpu兩顆, ram 1024M, disk 2顆scsi disk, 1G與8G, 並開啟usb功能.
外接硬碟盒為 雙城 e-DATA II 3500, 內部介面為SATA可接兩顆硬碟,
外部介面有eSTATA與USB, 目前是接USB
vmware server的usb功能為可選擇接取實體機上幾乎所有USB裝置,
因為想省掉虛擬層的效能消耗, 所以將外接硬碟盒接USB port並使用
vmware server的usb功能接進裡面的OS, 也就是FreeBSD.
FreeBSD有抓到該外接盒與硬碟, 甚至是外接盒的轉接晶片都有抓到,
硬碟型號也都有取得, 但系統要access硬碟時, console就會出現錯誤訊息,
/var/log/messages也會紀錄到, 且此時硬碟I/O就會卡住一下,
若繼續存取則會造成資料損毀的狀況.
以下為/var/run/dmesg.boot的節錄訊息
Root mount waiting for: usbus1
usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
ugen1.2: <Silicon Image, Inc> at usbus1
umass0: <Silicon Image, Inc 5744 FW:1.1516, class 0/0, rev 2.00/0.62, addr 2>
on usbus1
umass0: SCSI over Bulk-Only; quirks = 0x0000
Root mount waiting for: usbus1
umass0:1:0:-1: Attached to scbus1
uhub_explore: illegal enable change, port 1
Trying to mount root from ufs:/dev/da0s1a
da2 at umass-sim0 bus 0 scbus1 target 0 lun 0
da2: <WDC WD10 WD-WCAV5650 > Fixed Direct Access SCSI-2 device
da2: 40.000MB/s transfers
da2: 953869MB (1953525169 512 byte sectors: 255H 63S/T 121601C)
(da2:umass-sim0:0:0:0): READ(10). CDB: 28 0 74 70 6d b0 0 0 1 0
(da2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da2:umass-sim0:0:0:0): SCSI status: Check Condition
(da2:umass-sim0:0:0:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional
sense information)
(da2:umass-sim0:0:0:0): READ(10). CDB: 28 0 74 70 6d b0 0 0 1 0
(da2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da2:umass-sim0:0:0:0): SCSI status: Check Condition
(da2:umass-sim0:0:0:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional
sense information)
(da2:umass-sim0:0:0:0): READ(10). CDB: 28 0 74 70 6d b0 0 0 1 0
(da2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da2:umass-sim0:0:0:0): SCSI status: Check Condition
(da2:umass-sim0:0:0:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional
sense information)
(da2:umass-sim0:0:0:0): READ(10). CDB: 28 0 74 70 6d b0 0 0 1 0
(da2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da2:umass-sim0:0:0:0): SCSI status: Check Condition
(da2:umass-sim0:0:0:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional
sense information)
(da2:umass-sim0:0:0:0): READ(10). CDB: 28 0 74 70 6d b0 0 0 1 0
(da2:umass-sim0:0:0:0): CAM status: SCSI Status Error
以下為存取時出現的錯誤訊息
Aug 5 19:17:13 server kernel: (da2:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10).
CDB: 35 0 0 0 0 0 0 0 0 0
Aug 5 19:17:13 server kernel: (da2:umass-sim0:0:0:0): SCSI sense: ABORTED
COMMAND asc:0,0 (No additional sense information)
Aug 5 19:17:25 server kernel: (da2:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10).
CDB: 35 0 0 0 0 0 0 0 0 0
Aug 5 19:17:25 server kernel: (da2:umass-sim0:0:0:0): SCSI sense: ABORTED
COMMAND asc:0,0 (No additional sense information)
uname -a如下
FreeBSD server.home.private-ip 8.1-STABLE FreeBSD 8.1-STABLE #0: Thu Aug 5
16:02:32 CST 2010
pcbug@server.home.private-ip:/usr/obj/usr/src/sys/VMSRV32 i386
很久之前有找到用camcontrol可以調整修正此問題, 但忘了保存該設定方式即重灌,
現在怎樣google也找不到解決方式了, 希望有過經驗的人能給予指引, 若有資訊不足
的部分也請說明, 我再補上, 感激不盡.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.200.156
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章