LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 6707|回复: 37

有USB移动硬盘无搞惦的报个数

[复制链接]
发表于 2002-10-9 14:44:03 | 显示全部楼层 |阅读模式
请把自己的系统、移动硬盘(说明是否有带电源线)报上来,大家一齐研究解决。(U盘就不要报了)。
发表于 2002-10-13 19:52:18 | 显示全部楼层
我用的是http://high-edge.com/disk.htm
介绍的第二个硬盘盒,硬盘是2G的笔记本硬盘!LINUX好像没法认出来!dmesg的提示如下:

hub.c: USB new device connect on bus1/1, assigned device number 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: USB new device connect on bus1/1, assigned device number 3
usb.c: USB device 3 (vend/prod 0x5e3/0x702) is not claimed by any active driver.
我想都是没望的了!

我在RH7.3,MR9.0上试过都是这样!
发表于 2002-10-13 21:21:42 | 显示全部楼层
我重新编译过内核现在暂时认出的我的USB设备,但我不知道应该怎样加载它,设备名称不知道! 我的dmesg的信息如下 :

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 20:23:03 Oct 13 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
IRQ routing conflict for 00:07.2, have irq 11, want irq 10
IRQ routing conflict for 00:07.3, have irq 11, want irq 10
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF d7a45440, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: d400
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface d7a45440
PCI: Found IRQ 10 for device 00:07.3
IRQ routing conflict for 00:07.2, have irq 11, want irq 10
IRQ routing conflict for 00:07.3, have irq 11, want irq 10
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb-uhci.c: Detected 2 ports
hub.c: port 1, portstatus 101, change 3, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 3, 12 Mb/s
usb.c: new USB bus registered, assigned bus number 2
usb.c: kmalloc IF d7a45640, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: d800
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface d7a45640
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: port 1, portstatus 101, change 2, 12 Mb/s
hub.c: port 1, portstatus 101, change 2, 12 Mb/s
hub.c: port 1, portstatus 101, change 2, 12 Mb/s
hub.c: port 1, portstatus 101, change 2, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: kmalloc IF d7a45780, numif 1
usb.c: new device strings: Mfr=0, Product=1, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
Product: USB Storage Device
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x5e3/0x702) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendorroduct      = 05e3:0702
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.13
  Device Class:SubClassrotocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0020
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   c0
  MaxPower            =   96mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClassrotocol =   08:06:50
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   02 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
hub.c: port 2, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 2, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 300, change 3, 1.5 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: port 2, portstatus 300, change 2, 1.5 Mb/s
hub.c: port 2 enable change, status 300
hub.c: port 1, portstatus 300, change 2, 1.5 Mb/s
hub.c: port 1 enable change, status 300
hub.c: port 2, portstatus 300, change 2, 1.5 Mb/s
hub.c: port 2 enable change, status 300

我现在只能利用VMWARE虚拟的XP访问USB硬盘里的数据,通过虚拟网络把数据拷到物理硬盘!VMWARE用的设备是/proc/bus/usb。有人知道我这个USB的设备名吗?
发表于 2002-10-15 10:14:42 | 显示全部楼层

cat /proc/partitions

cat /proc/partitions 能看见
发表于 2002-10-15 10:52:22 | 显示全部楼层

你在MAke内核时加了啥呢?

说说你的MAKE过程
发表于 2002-10-15 10:59:43 | 显示全部楼层

cat /proc/modules 出啥内容?

cat /proc/modules 出啥内容?
发表于 2002-10-15 13:43:29 | 显示全部楼层
我的high-edge USB硬盘盒如何在linux下直接访问?
小弟为了在linux下使用这个硬盘盒,折腾了不少时间了,编译不N次的内核,上网找过不少资料!最终LINUX是认出的硬盘,但竟然说读取分区表错误,打入命令 fdisk /dev/sda提示说:
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
I/O error: dev 08:00, sector 0
unable to read partition table
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
I/O error: dev 08:00, sector 0
unable to read partition table
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0


打入dmesg有关USB的提示如下 :

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 22:41:05 Oct 14 2002
usb-uhci.c: High bandwidth mode enabled

usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: USB new device connect on bus1/1, assigned device number 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: USB new device connect on bus1/1, assigned device number 3
usb.c: USB device 3 (vend/prod 0x5e3/0x702) is not claimed by any active driver.

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 2, frame# 1905
hdd: DMA disabled
usb_control/bulk_msg: timeout
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: EagleTec  Model: External Hard Di  Rev: 0113
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
sda: sda1 sda2
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table



打入cat /proc/partitions输出如下:
major minor  #blocks  name

   8     0    2110752 sda
  22     0    6297480 hdc
  22     1     722893 hdc1
  22     2    3076447 hdc2
  22     3    2048287 hdc3
  22     4     449820 hdc4
   3     0   40209120 hda
   3     1    2048256 hda1
   3     2          1 hda2
   3     5    4096543 hda5
   3     6    6144831 hda6
   3     7    6144831 hda7
   3     8    8193118 hda8
   3     9   10241406 hda9
   3    10    3301326 hda10
   3    11      32098 hda11



打入cat /proc/bus/usb/devices输出如下:

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05e3 ProdID=0702 Rev= 1.13
S:  Product=USB Storage Device
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 96mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

cat /proc/modules

esscom                875248   1 (autoclean)
NVdriver             1149280  10 (autoclean)
usb-storage            36768   0
via97                   8736   1
uart401                 9312   1 [via97]
pnp                    54368   1 [via97]
ac97                    9760   1 [via97]
soundbase             867168   1 [via97 uart401 pnp ac97]
sndshield              14348   0 [via97 uart401 pnp ac97 soundbase]
usb-uhci               23972   0 (unused)
usbcore                70720   1 [usb-storage usb-uhci]


编译内核时我已经把File systems->atition Types里所有的选项就选上了,它还是说读分区表错,我这个硬盘在WINDOWS下都工作正常!
我在LINUX无法直接访问USB硬盘里的数据!我暂时的解决方法是在利用VMWARE虚拟一个XP来访问我USB硬盘,再通过虚拟网络把数据拷到真实系统里!但如果我没法进入X的话,我就没有办法用我的USB硬盘了,希望论坛的兄弟可以帮帮我想想如何可以真实访问到USB硬盘的方法!
发表于 2002-10-15 13:46:28 | 显示全部楼层

fdisk /dev/sda

fdisk /dev/sda看看!
发表于 2002-10-15 14:49:50 | 显示全部楼层
fdisk /dev/sda提示说:
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
I/O error: dev 08:00, sector 0
unable to read partition table
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 4221505 512-byte hdwr sectors (2161 MB)
sda: test WP failed, assume Write Enabled
I/O error: dev 08:00, sector 0
unable to read partition table
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
 楼主| 发表于 2002-10-18 13:31:35 | 显示全部楼层

看来你与成功只差一步了

小毅,加油!

大家支持你
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表