LinuxSir.cn,穿越时空的Linuxsir!

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

请教挂移动硬盘的问题

[复制链接]
发表于 2004-8-9 10:30:19 | 显示全部楼层 |阅读模式
我的也是纽曼的盒子,在按照论坛上的方法先编译生成usb-storage.o,可是还是不行,挂接的时候显示:
/dev/sda1 is not a valid block device 。我的系统启动的时候有两个地方FAILED, 记得有一个好像是/driver/usb/hcd下面(具体文件夹记不清了)的什么failed,具体记不太情了,是不是这个问题?要不要重装一下系统?

:help
发表于 2004-8-9 16:38:17 | 显示全部楼层
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
是类似这个吧,重现编译内核试试
发表于 2004-8-10 05:33:32 | 显示全部楼层
不需要编译内核的。我从很早的RH9。0内核就可以用硬盘盒了。我现在的内核版本号。
Linux bitmall 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386 GNU/Linux

我用的纽曼移动王。以前我也用过应该很便宜的硬盘盒。
你插入硬盘盒后,用这个命令看看。
  1. dmesg |less
复制代码

应该在最后的地方有这样的消息出来:
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi2 : SCSI emulation for USB Mass Storage devices
usb-uhci.c: interrupt, status 3, frame# 1360
  Vendor: TOSHIBA   Model: MK6014MAP         Rev: 0811
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sdd at scsi2, channel 0, id 0, lun 0
SCSI device sdd: 11733120 512-byte hdwr sectors (6007 MB)
sdd: sdd1 sdd2 < >
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
usb-uhci.c: interrupt, status 3, frame# 855

因为我有本身有3块SCSI的硬盘,所以我的移动硬盘是/dev/sdd,上面有两个分区,所以有ssd1,sdd2。
你用RH的自己的内核看看。
 楼主| 发表于 2004-8-10 08:34:51 | 显示全部楼层
我怀疑是不是机器没有检测到这个硬件设备
# cat /proc/bus/usb/devices 显示:
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=dce0
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

我在论坛上看到其他兄弟的# cat /proc/bus/usb/devices 显示还有下面的内容:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 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
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
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
可以发现系统已经识别了Vendor ID=05e3 ; ProducID=0702的硬盘

我的却没有,该怎么办???
blue
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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