我在 kernel 2.6.9,用 Panasonic DMC-F1 (SD 卡 ) 有問題喔~
這示我的 dmesg :
usb 1-1: new full speed USB device using address 3
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: MATSHITA Model: DMC-F1 Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 250881 512-byte hdwr sectors (128 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 250881 512-byte hdwr sectors (128 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 250881 512-byte hdwr sectors (128 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
/dev/scsi/host0/bus0/target0/lun0: p1
應該在 /dev/sda 底下
可是dmesg 接著:
devfs_mk_dev: could not append to parent for scsi/host0/bus0/target0/lun0/part1
kobject_register failed for sda1 (-17)
[<c01aa5c6>] kobject_register+0x32/0x48
[<c017e2b2>] add_partition+0xe2/0xf8
[<c017e449>] register_disk+0x141/0x174
[<c0207046>] add_disk+0x2e/0x3c
[<c0206fec>] exact_match+0x0/0xc
[<c0206ff8>] exact_lock+0x0/0x20
[<e0837d2a>] sd_probe+0x2be/0x324 [sd_mod]
[<c01ff9f1>] bus_match+0x31/0x54
[<c01ffa6a>] device_attach+0x56/0x8c
[<c01ffcc0>] bus_add_device+0x50/0x90
[<c01fed38>] device_add+0x88/0x118
[<e085cae5>] scsi_sysfs_add_sdev+0x2d/0x1e4 [scsi_mod]
[<e085b919>] scsi_add_lun+0x335/0x344 [scsi_mod]
[<e085ba6c>] scsi_probe_and_add_lun+0x144/0x1ec [scsi_mod]
[<e085c0fc>] scsi_scan_target+0x60/0xb4 [scsi_mod]
[<e085c190>] scsi_scan_channel+0x40/0x68 [scsi_mod]
[<e085c251>] scsi_scan_host_selected+0x99/0xd0 [scsi_mod]
[<e085c29a>] scsi_scan_host+0x12/0x18 [scsi_mod]
[<e0bdc796>] storage_probe+0x1d6/0x21c [usb_storage]
[<e0a4104b>] usb_probe_interface+0x43/0x50 [usbcore]
[<c01ff9f1>] bus_match+0x31/0x54
[<c01ffae0>] driver_attach+0x40/0x74
[<c01ffedf>] bus_add_driver+0x6f/0x98
[<c02003ac>] driver_register+0x34/0x38
[<e0a410f4>] usb_register+0x3c/0x88 [usbcore]
[<e0b71015>] usb_stor_init+0x15/0x2f [usb_storage]
[<c012f5ce>] sys_init_module+0x106/0x214
[<c0105d13>] syscall_call+0x7/0xb
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 3
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
然後我try :
#mount /dev/sda /usb
mount: No medium found
#mount /dev/sda0 /usb
mount: special device /dev/sda0 does not exist
#mount /dev/sd1 /usb
mount: No medium found
到10 都沒有...
所以我題問 :
devfs 是否與此有關? 可否取消? 如何取消呢?
[/quote]