我用lsmod指令發現模組的載入有些差異
<Debian>
usbcore 130568 4 usb_storage,ehci_hcd,uhci_hcd
<ubuntu>
usbcore 134280 7 usb_storage,libusual,xpad,usbhid,ehci_hcd,uhci_hcd
差異主要是在libusual和xpad,但是libusual無法手動載入
版主: mufa
Anonymous 寫:我用lsmod指令發現模組的載入有些差異
<Debian>
usbcore 130568 4 usb_storage,ehci_hcd,uhci_hcd
<ubuntu>
usbcore 134280 7 usb_storage,libusual,xpad,usbhid,ehci_hcd,uhci_hcd
差異主要是在libusual和xpad,但是libusual無法手動載入
...
[ 144.080000] sdb: Write Protect is off
[ 144.080000] sdb: Mode Sense: 03 00 00 00
[ 144.080000] sdb: assuming drive cache: write through
[ 144.080000] SCSI device sdb: 1987584 512-byte hdwr sectors (1018 MB)
[ 144.080000] sdb: Write Protect is off
[ 144.080000] sdb: Mode Sense: 03 00 00 00
[ 144.080000] sdb: assuming drive cache: write through
[ 144.080000] sdb: sdb1
[ 144.084000] sd 2:0:0:0: Attached scsi removable disk sdb
[ 144.084000] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 144.332000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Anonymous 寫:感謝tinyding前輩的回覆
我把ubuntu能正常使用我那混球讀卡機時的所有模組寫到/etc/modules去了
但是還是出現相同的錯誤
模組內容如下:
(除sqlzma、 fbcon、squashfs、agpgart這四個找不到,其餘可正常載入)
usb_storage
libusual
i915
drm
xfs
nls_utf8
ipv6
fuse
...
squashfs
sqlzma
unlzma
isofs
nls_iso8859_1
nls_cp437
vfat
fat
sg
sr_mod
cdrom
sd_mod
...
Anonymous 寫:感謝tinyding前輩再次熱心回覆
我有裝過ubuntu 7.10的linux-image-2.6.22-14-generic
不過這個核心載入之後,畫面就一片黑,整個進不了系統
其次,也要感謝樓上訪客兄熱情回覆
一開始我是去www.kernel.org下載2.6.23.12的核心回來編
但是用Debian的config編完後,開機一直都是kernel panic(如前幾篇post的錯誤訊息)
...
不過,我還是覺得有點詭異
插上不加SD卡的空讀卡機並不會出現錯誤訊息(如前幾篇所貼的錯誤訊息)
但是一旦加上SD卡後,錯誤就開始冒出來了
問題好像卡在「讀SD卡的過程」,而不是對讀卡機本身的辨識
不知道大家對這個情形的推論是?感謝~
Anonymous 寫:tinyding前輩您好
用ubuntu的Live CD開機並插上讀卡機+SD卡之後
dmesg | tail -n 20 內容如下:
...
[ 99.004000] sdb: sdb1
[ 99.004000] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 99.004000] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 104.472000] UDF-fs: No partition found (1)
[ 104.548000] Unable to identify CD-ROM format.
cat /proc/mounts內容如下:
...
/dev/sdb1 /media/sdb1 vfat rw,nosuid,nodev,noexec,uid=107,gid=46,fmask=0117,dmask=0007,codepage=cp437,iocharset=iso8859-1,shortname=mixed,quiet 0 0
謝謝您~
Anonymous 寫:tinyding前輩您好
umount /dev/sda1
mkdir /tmp/sda1
#mount -t vfat -o rw,codepage=cp437,iocharset=iso8859-1,shortname=mixed,quiet /dev/sda1 /tmp/sda1/
結果出現錯誤訊息
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
#dmesg | tail -n 20內容如下(前面還是那段讀SD卡時的錯誤)
...
sd 0:0:0:0: [sda] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
end_request: I/O error, dev sda, sector 249
sd 0:0:0:0: [sda] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
end_request: I/O error, dev sda, sector 250
FAT: Unrecognized mount option "codepage=cp437" or missing value
FAT: Unrecognized mount option "codepage=cp437" or missing value
(我猜是SD卡上的分割區都還無法被設為/dev/sda1,所以這個步驟過不去)
#cat /proc/mounts內容如下:
...
/dev/hda8 /home reiserfs rw,noatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
automount(pid2696) /mnt/autofs autofs rw,fd=4,pgrp=2696,timeout=1,minproto=2,maxproto=4,indirect 0 0
感謝您~
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客