vmware server 安裝FreeBSD 並接取usb disk問題 - BBS

Liam avatar
By Liam
at 2010-08-05T22:38

Table of Contents

實體機為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
[email protected]:/usr/obj/usr/src/sys/VMSRV32 i386

很久之前有找到用camcontrol可以調整修正此問題, 但忘了保存該設定方式即重灌,
現在怎樣google也找不到解決方式了, 希望有過經驗的人能給予指引, 若有資訊不足
的部分也請說明, 我再補上, 感激不盡.

--
Tags: BBS

All Comments

FreeBSD 8.1-RELEASE

Margaret avatar
By Margaret
at 2010-07-31T11:32
http://www.freebsd.org/releases/8.1R/announce.html The FreeBSD Release Engineering Team is pleased to announce the availability of FreeBSD 8.1-RELEASE. Th ...

關於xorg滑鼠移動問題

Leila avatar
By Leila
at 2010-07-22T22:34
※ 引述《nctupdc (交大布研)》之銘言: : 請問一下各位大大 : 我有在 : /etc/rc.conf: : moused_enable=and#34;YESand#34; : 但是滑鼠在x-window底下還是一樣不能動 : 請問一下可能要怎樣解決? : 先謝過大家了XD~ 可以在/etc/r ...

squid with snmp

Margaret avatar
By Margaret
at 2010-07-20T13:48
裝了squid之後,也不知道使用情形如何 store.log cache.log access.log這三個交叉看滿累的 也不是全懂 後來有找到snmp 和 squid的資料 http://wiki.squid-cache.org/Features/Snmp#Monitoring_Squid_with_MR ...

ntfs-3g 安裝失敗

Eartha avatar
By Eartha
at 2010-07-20T11:19
我在 8.0-RELEASE 下試圖安裝 ntfs-3g 結果出現以下錯誤訊息: [cgkm /usr/ports/sysutils/fusefs-ntfs]$ sudo make clean install clean ... 口卡口卡 ... ===andgt; mount_fu ...

OOO ─ HTML5 The …

Ivy avatar
By Ivy
at 2010-07-17T20:05
※ [本文轉錄自 Linux 看板 #1CGPn35V ] 作者: ponsinsun (幽靈) 看板: Linux 標題: [7/20 TOSSUG HTML5 讀書會] OOO ─ HTML5 The Missing Part 時間: Sat Jul 17 20:04:17 2010 [7/20 TO ...