Next Previous Contents

8. Troubleshooting or PANIC!

如果沒有什麼效果, 讓我們來分析並解決它們, 看一下是否還有 pictures在 camera 裡. 如果有, 請跳過這一段. 如果沒有,好吧,它們一定在什麼地方呆著呢.找一下. 還是沒有的話, 請將camera關掉, 重新啟動機器和camera.

確信/mnt/camera 還在你的硬碟機裡, 如果沒有,請重新設定一個. 我注意到有時候SCSI device in /dev (sda1)自己被移除.Check that also and replace if needed.

移除script產生出來的子文檔目錄.如果你使用user登入,那麼就要用到su,記得在完成恢復原狀. 參照 Appendix C

輸入:


bash $ dmesg
 

你會看到這些:


hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x54c/0x10) is not claimed by any active driver. (The 
0x54c/0x10 will be different for different vendors.)
 

如果你看到這些, 那麼你的USB mass storage device 被正確識別.

現在啟動你的camera,然後執行script file (the modified one) 當你重新執行dmesg,你會看到這些:


bash $ dmesg

SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Model: Sony DSC Rev: 3.22
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 126848 512-byte hdwr sectors (65 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target0/lun0: p1
usb-uhci.c: interrupt, status 3, frame# 1628
 

現在執行lsmod並閱讀 Appendix B .

如果lsmod和Appendix B 相似,dmesg和上面的也相似, 但就是沒有picture在你的硬碟機裡,那麼抱歉,我也不知道是哪裡出問題了. 不幸的是,我目前所知的方法是仔細地再來一遍. 將輸出的結果用re-direction option >filename 捕捉至文檔中,然後, 將它po到以下兩個newsgroups:

告訴他們你做了什麼,並且尋求幫助.在你能想到的一切辦法之後,最好給我來e-mail: daveekelly@earthlink.net.


Next Previous Contents