1。u盘没问题,因为在windows下可以自动认得。
2。 在linux启动后,只有/dev/sda,但是其实应该还有 /dev/sda1,/dev/sda2. Fdisk -l 显示不了u盘的两个分区
所有module都加载了,usbcore,usb-storage,scsi_mod等,
rmmod然后重新加载也不行。
但u盘重新拔插一次后,就可以自动找到。
不懂中......
网上搜了下,要重新扫描scsi总线 echo "xxxx" >/proc/scsi/scsi ,,,,,然后 /sbin/devfsd 什么 的,
但是没找的devfsd,是不是新系统udev不用devfsd? (我用 ubuntu 5.10 和Fedora4,都不行)
u盘一定要拔插一次,linux 才认得。怎么回事?
-
- 帖子: 6
- 注册时间: 2005-11-29 9:16
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 6
- 注册时间: 2005-11-29 9:16
据说
2.6.13以后的版本已经彻底剔除了devfs
2.6.12里面内核配置中关于devfs的选项标示出要剔除了
看来devfsd的确没有了。
不知道在udev下怎么去刷新scsi总线。
Re: 楼上的
在拔插u盘之前 insmod ehic模块,显示:
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: device not accepting address 2, error -71
usb 2-2: new full speed USB device using uhci_hcd and address 3
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: USB Model: Flash Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
在拔插u盘之后 重新insmod ehic模块,显示
usb 2-2: USB disconnect, address 3
usb 2-2: new full speed USB device using uhci_hcd and address 4
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: USB Model: Flash Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 254720 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 254720 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
sda: sda1 sda2
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
可能uhci-hcd模块兼容性不是那么好
2.6.13以后的版本已经彻底剔除了devfs
2.6.12里面内核配置中关于devfs的选项标示出要剔除了
看来devfsd的确没有了。
不知道在udev下怎么去刷新scsi总线。
Re: 楼上的
在拔插u盘之前 insmod ehic模块,显示:
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: device not accepting address 2, error -71
usb 2-2: new full speed USB device using uhci_hcd and address 3
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: USB Model: Flash Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
在拔插u盘之后 重新insmod ehic模块,显示
usb 2-2: USB disconnect, address 3
usb 2-2: new full speed USB device using uhci_hcd and address 4
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: USB Model: Flash Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 254720 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 254720 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: Mode Sense: 0b 00 00 08
sda: assuming drive cache: write through
sda: sda1 sda2
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
可能uhci-hcd模块兼容性不是那么好
- Element
- 帖子: 3537
- 注册时间: 2005-09-10 16:04
- 来自: DG-GD-China
我的U盘插上后可以自动识别,高兴一哈。
可是怎么卸载啊,不能一直插在机子上不下来啊?
可是怎么卸载啊,不能一直插在机子上不下来啊?
囧 http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
- catinsnow
- 帖子: 773
- 注册时间: 2005-08-02 7:23
- 来自: 上海
-
- 帖子: 15
- 注册时间: 2005-11-29 16:42
- 来自: 辽宁大连
-
- 帖子: 6
- 注册时间: 2005-11-29 9:16