LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: growntime

无法使用usb移动硬盘[再论USB Disk挂载问题]

[复制链接]
发表于 2003-4-17 14:14:47 | 显示全部楼层

Re: 无法使用usb移动硬盘

最初由 growntime 发布
我的硬盘是IBM5G+IBM travelstar (usb1.1) 硬盘盒。查了前面的帖子,加载而模块usb_storage, usbcore, usb-uhci, scsi_mod, sd_mod, ide-scsi

连接上硬盘后指示灯常亮,执行dmesg:
hub.c: new USB device 00:07.2-2, assigned address 4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4

应该是已经找到了
fdisk -l /dev/sd?
没有输出

cat /proc/scsi/scsi输出
Attached devices: none

但是在/proc/scsi下有一目录usb-storage-0,内有文件0
cat /proc/scsi/usb-storage-0/0输出
   Host scsi0: usb-storage
       Vendor: Unknown
      Product: USB Storage Device
Serial Number: None
     Protocol: Transparent SCSI
    Transport: Bulk
         GUID: 05e307020000000000000000
     Attached: Yes

不知道哪位兄弟碰到过这种情况?


我的更惨,我的硬盘是IBM10G+IBM travelstar (usb1.1) 硬盘盒,
原来在redhat7.3 还可以检测到,但是挂不上去,提示说分区表错误,重新格式化之后还是一样的提示。现在在redhat9.0 下开机时在mount usb filesystem 时硬盘盒上的指示灯亮了,但是过一会快要到check new hardware 时硬盘盒上的指示灯就灭掉了,进去系统之后根本就没有这个设备,郁闷啊。
发表于 2003-4-17 17:30:19 | 显示全部楼层
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=31154

看一下这里,请在相应的帖子后面跟帖。
发表于 2003-4-18 09:34:12 | 显示全部楼层
谢谢南北!
我就是看了才在这里跟帖的
我再看看
发表于 2003-7-30 23:58:50 | 显示全部楼层

我执行了dmesg后出现我情况,兄弟们帮我看看!!

[root@neo root]# dmesg
Linux version 2.4.20-1.1 (root@magiclinux) (gcc version
3.2.2 20030313 (Red Hat Linux 3.2.2-10)) #1 六 4月 19 09
:48:23 CST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserve
d)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserve
d)
BIOS-e820: 0000000000100000 - 000000000fef0000 (usable)
BIOS-e820: 000000000fef0000 - 000000000feff000 (ACPI da
ta)
BIOS-e820: 000000000feff000 - 000000000ff00000 (ACPI NV
S)
BIOS-e820: 000000000ff00000 - 000000000ff80000 (usable)
BIOS-e820: 000000000ff80000 - 0000000010000000 (reserve
d)
BIOS-e820: 00000000fec00000 - 00000000fec04000 (reserve
d)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserve
d)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserve
d)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65408
zone(0): 4096 pages.
zone(1): 61312 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 1110.973 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2215.11 BogoMIPS
Memory: 252256k/261632k available (1313k kernel code, 68
80k reserved, 996k data, 128k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144
bytes)
Inode cache hash table entries: 16384 (order: 5, 131072
bytes)
Mount cache hash table entries: 512 (order: 0, 4096 byte
s)
Buffer-cache hash table entries: 16384 (order: 4, 65536
bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 b
ytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 by
tes/line)
CPU: L2 Cache: 64K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff c1c7fbff 00000000
00000000
CPU:             Common caps: 0383fbff c1c7fbff 00000000
00000000
CPU: AMD Duron(tm) MPAMD Athl stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.
au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfd7d0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
BIOS failed to enable PCI standards compliance, fixing t
his error.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS
MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1
024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2
.4
ide: Assuming 33MHz system bus speed for PIO modes; over
ride with idebus=xx
AMD7441: IDE controller at PCI slot 00:07.1
AMD7441: chipset revision 4
AMD7441: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaM
A, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcM
A, hdd:pio
hda: Maxtor 6E040L0, ATA DISK drive
blk: queue c03be900, I/O limit 4095Mb (mask 0xffffffff)
hdc: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=49
98/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 3276
8)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 372k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 128k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 10:15:20 Apr 19 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interfa
ce driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@
suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), interna
l journal
LVM version 1.0.5+(22/07/2002) module loaded
loop: loaded (max 8 devices)
Adding Swap: 530104k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), interna
l journal
EXT3-fs: mounted filesystem with ordered data mode.
ip_tables: (C) 2000-2002 Netfilter core team
3c59x: Donald Becker and others. www.scyld.com/network/v
ortex.html
See Documentation/networking/vortex.txt
02:08.0: 3Com PCI 3c905C Tornado at 0x2400. Vers LK1.1.1
8-ac
00:e0:81:24:8e:34, IRQ 10
  product code 0000 rev 00.6 date 00-00-00
  Internal config register is 1800000, transceivers 0xa.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegot
iate interface.
  MII transceiver found at address 24, status 782d.
  Enabling bus-master transmits and whole-frame receives
.
02:08.0: scatter/gather enabled. h/w checksums enabled
divert: allocating divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
spurious 8259A interrupt: IRQ7.
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Modu
le  1.0-4363  Sat Apr 19 17:46:46 PDT 2003
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected AMD 760MP chipset
agpgart: AGP aperture is 64M @ 0xf4000000
cmpci: version $Revision: 5.64 $ time 10:14:04 Apr 19 20
03
cmpci: found CM8738 adapter at io 0x2000 irq 5
cmpci: chip version = 037
cmpci: Enable SPDIF loop
ide-floppy driver 0.99.newide
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
[root@neo root]# fdisk -l /dev/sda
[root@neo root]# cat /proc/scsi/scsi
Attached devices: none
[root@neo root]# catcatcat /proc/scsi/usb-storage-0/0
bash: catcatcat: command not found
[root@neo root]# cat /proc/scsi/usb-storage-0/0
cat: /proc/scsi/usb-storage-0/0: 没有那个文件或目录
[root@neo root]# dmesg
Linux version 2.4.20-1.1 (root@magiclinux) (gcc version
3.2.2 20030313 (Red Hat Linux 3.2.2-10)) #1 六 4月 19 09
:48:23 CST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserve
d)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserve
d)
BIOS-e820: 0000000000100000 - 000000000fef0000 (usable)
BIOS-e820: 000000000fef0000 - 000000000feff000 (ACPI da
ta)
BIOS-e820: 000000000feff000 - 000000000ff00000 (ACPI NV
S)
BIOS-e820: 000000000ff00000 - 000000000ff80000 (usable)
BIOS-e820: 000000000ff80000 - 0000000010000000 (reserve
d)
BIOS-e820: 00000000fec00000 - 00000000fec04000 (reserve
d)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserve
d)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserve
d)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65408
zone(0): 4096 pages.
zone(1): 61312 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 1110.973 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2215.11 BogoMIPS
Memory: 252256k/261632k available (1313k kernel code, 68
80k reserved, 996k data, 128k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144
bytes)
Inode cache hash table entries: 16384 (order: 5, 131072
bytes)
Mount cache hash table entries: 512 (order: 0, 4096 byte
s)
Buffer-cache hash table entries: 16384 (order: 4, 65536
bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 b
ytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 by
tes/line)
CPU: L2 Cache: 64K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff c1c7fbff 00000000
00000000
CPU:             Common caps: 0383fbff c1c7fbff 00000000
00000000
CPU: AMD Duron(tm) MPAMD Athl stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.
au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfd7d0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
BIOS failed to enable PCI standards compliance, fixing t
his error.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS
MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1
024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2
.4
ide: Assuming 33MHz system bus speed for PIO modes; over
ride with idebus=xx
AMD7441: IDE controller at PCI slot 00:07.1
AMD7441: chipset revision 4
AMD7441: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaM
A, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcM
A, hdd:pio
hda: Maxtor 6E040L0, ATA DISK drive
blk: queue c03be900, I/O limit 4095Mb (mask 0xffffffff)
hdc: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=49
98/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 3276
8)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 372k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 128k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 10:15:20 Apr 19 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interfa
ce driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@
suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), interna
l journal
LVM version 1.0.5+(22/07/2002) module loaded
loop: loaded (max 8 devices)
Adding Swap: 530104k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), interna
l journal
EXT3-fs: mounted filesystem with ordered data mode.
ip_tables: (C) 2000-2002 Netfilter core team
3c59x: Donald Becker and others. www.scyld.com/network/v
ortex.html
See Documentation/networking/vortex.txt
02:08.0: 3Com PCI 3c905C Tornado at 0x2400. Vers LK1.1.1
8-ac
00:e0:81:24:8e:34, IRQ 10
  product code 0000 rev 00.6 date 00-00-00
  Internal config register is 1800000, transceivers 0xa.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegot
iate interface.
  MII transceiver found at address 24, status 782d.
  Enabling bus-master transmits and whole-frame receives
.
02:08.0: scatter/gather enabled. h/w checksums enabled
divert: allocating divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
spurious 8259A interrupt: IRQ7.
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Modu                                        le  1.0-4363  Sat Apr 19 17:46:46 PDT 2003
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected AMD 760MP chipset
agpgart: AGP aperture is 64M @ 0xf4000000
cmpci: version $Revision: 5.64 $ time 10:14:04 Apr 19 20                                        03
cmpci: found CM8738 adapter at io 0x2000 irq 5
cmpci: chip version = 037
cmpci: Enable SPDIF loop
ide-floppy driver 0.99.newide
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
SCSI subsystem driver Revision: 1.00
[root@neo root]#
发表于 2003-8-7 19:17:51 | 显示全部楼层
不好意思,中文输入法有些问题,这会儿又回到windows下了。
我的意思是:
我的情况和growntime是一样的。
只不过当我插上以后,过了一会儿再次执行dmesg,然后我看到原来
hub.c: new USB device 00:01.2-1, assigned address 3
scsi1 : SCSI emulation for USB Mass Storage devices
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
下面又多出来了很多行,写着:
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
而且好像还有逐渐增多的趋势。
不好意思,我的英文、中文可能都不大好……

其实这些写着IBM的硬盘,售价又那么低的,肯定是假货。要真是假货就麻烦喽……
发表于 2003-8-7 23:57:44 | 显示全部楼层

兄弟,你的英文我不会,能写中文吗?不好意思

兄弟,你的英文我不会,能写中文吗?不好意思
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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