找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5957|回复: 11

硬盘突然挂不上了----scut2008兄等高手请进

[复制链接]
scut2008兄请进

一直用您的ghost包都很好用。不过刚才添加了很多emule连接后(可能超过硬盘容积了),发现居然硬盘指示灯不闪了。再用samba或者sancho都无法连接!!!!

但是硬盘本身没有任何问题。用winallfs还是可以访问的。

在web页面中发现jffs space是2496KB!!!,应该是几十个G才对啊。

考虑是硬盘没有有效挂载起来,于是到到诊断中,将这些命令到pietty中逐个去尝试,发现

mount /dev/scsi/host0/bus0/target0/lun0/part1 /jffs

报告

mount: mounting /dev/scsi/host0/bus0/target0/lun0/part1 on /jffs failed: Invalid argument

但是这个part1是存在的
root@Belkin:~# ls -al  /dev/scsi/host0/bus0/target0/lun0/part1

返回
    brw-------    1 root     root       8,   1     Jan  1  1970 /dev/scsi/host0/bus0/target0/lun0/part1


而且路由器的时间也对!~

root@Belkin:~# date
Mon Oct 13 15:42:26 UTC 2008


请教该如何解决??谢谢!!!  (诊断中的命令我从没有动过)

umount /jffs
sleep 1
mount /dev/mtdblock/4 /mnt
mount /dev/scsi/host0/bus0/target0/lun0/part1 /jffs
mount -o bind /jffs/opt /opt
cp /jffs/shutdown /tmp/
cp /jffs/startup /tmp/
cp /etc/passwd /opt/etc/
/opt/etc/init.d/S80thttpd start
/opt/etc/init.d/S99monit start
/opt/etc/init.d/S58proftpd start
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/etc/rtorrent.conf
sleep 1
/opt/etc/init.d/S08samba
/opt/etc/init.d/S70mysqld start
sleep 1
/opt/etc/init.d/S80lighttpd start
sleep 1
/opt/etc/init.d/S97mlnet &
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8

[ 本帖最后由 yzhkpli 于 2008-10-13 15:49 编辑 ]
 楼主| | 显示全部楼层
平时没网络环境,路由器是放朋友这里下载电影的。刚才又刷了一下dd-wrt.v24-9517_VINT_mini_usb.bin

结果重启后还是不行!~

依旧

Space UsageJFFS2   2,496.00 KB / 0
回复

使用道具 举报

原帖由 yzhkpli 于 2008-10-15 15:11 发表
平时没网络环境,路由器是放朋友这里下载电影的。刚才又刷了一下dd-wrt.v24-9517_VINT_mini_usb.bin

结果重启后还是不行!~

依旧

Space UsageJFFS2   2,496.00 KB / 0


估计和我的情况是一样的。
确认插入U盘后 U盘上的指示等是否常亮。
如果无法常亮,说明USB接口线路有接触不良!
回复

使用道具 举报

 楼主| | 显示全部楼层
终于等来了zmy兄弟 。偶 用的是2.5寸移动硬盘。指示灯是绿色常亮的(如果有数据下载上传,就应该发红的)。
回复

使用道具 举报

 楼主| | 显示全部楼层

dmesg的结果

CPU revision is: 00029007
Linux version 2.4.35 (eko@dd-wrt) (gcc version 3.4.4 (OpenWrt-2.0)) #1951 Tue May 20 06:25:35 CEST 2008
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4712 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
PCI: Setting latency timer of device 00:02.0 to 64
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x265dac
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000c9800-0x00330000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00330000-0x003f0000 : "ddwrt"
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
PCI: Setting latency timer of device 00:01.0 to 64
eth1: Broadcom BCM4320 802.11 Wireless Controller 4.80.56.0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 06:20:44 May 20 2008
usb-uhci.c: High bandwidth mode enabled
PCI: Setting latency timer of device 00:03.0 to 64
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:04.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4716
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:04.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: SAMSUNG   Model: HM080HC           Rev: AM10
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0:<6>Journalled Block Device driver loaded
p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
HELP ME! qdisc_restart called, but no Qdisc!
device eth1 entered promiscuous mode
device vlan1 entered promiscuous mode
vlan1: Setting MAC address to  00 01 e3 0e 95 c5.
vlan1: dev_set_promiscuity(master, 1)
vlan1: dev_set_allmulti(master, 1)
vlan1: dev_set_promiscuity(master, -1)
device vlan1 left promiscuous mode
vlan1: dev_set_allmulti(master, -1)
FAT: bogus logical sector size 65508
EXT2-fs error (device sd(8,1)): ext2_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT2-fs: group descriptors corrupted!
EXT3-fs error (device sd(8,1)): ext3_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT3-fs: group descriptors corrupted !
FAT: bogus logical sector size 0
EXT2-fs error (device sd(8,1)): ext2_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT2-fs: group descriptors corrupted!
EXT3-fs error (device sd(8,1)): ext3_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT3-fs: group descriptors corrupted !
FAT: bogus logical sector size 0
回复

使用道具 举报

原帖由 yzhkpli 于 2008-10-15 16:11 发表
终于等来了zmy兄弟 。偶 用的是2.5寸移动硬盘。指示灯是绿色常亮的(如果有数据下载上传,就应该发红的)。


1. 分区是否有问题。(是否全部划分为主分区 ext2格式)
2. 是否按照论坛介绍设置 打开JFFS了。
3. 移动硬盘如果容量较大40G以上,再接个电源试试。
再不行上个U盘试试,如果还是不成就联系卖家让他给检查检查好了。
回复

使用道具 举报

 楼主| | 显示全部楼层
分区没问题。事实上发现问题的前1个小时还看了一下,当时还在正常下载呢。

JFFS打开后没有再关闭。

电源没有 一时半会也搞不到

准备用您的下载包配台电晶彩8G试试。完成后给您汇报一下
回复

使用道具 举报

 楼主| | 显示全部楼层
哦弥陀佛~~~用U盘可以的。路由器没坏~~~~
回复

使用道具 举报

应该是磁盘上的文件系统坏了.放到其他的linux机器上运行一个fsck /dev/hdxxx来修正吧.其中hdxxx是你硬盘对应的磁盘设备.

EXT2-fs error (device sd(8,1)): ext2_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT2-fs: group descriptors corrupted!
EXT3-fs error (device sd(8,1)): ext3_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT3-fs: group descriptors corrupted !
EXT2-fs error (device sd(8,1)): ext2_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT2-fs: group descriptors corrupted!
EXT3-fs error (device sd(8,1)): ext3_check_descriptors: Block bitmap for group 1632 not in group (block 3266554881)!
EXT3-fs: group descriptors corrupted !
回复

使用道具 举报

从你的dmesg信息看,你的硬盘是三星80G的,最后的一串信息应该是提示你的ext2-fs分区有误,按楼上方法处理一下。
回复

使用道具 举报

 楼主| | 显示全部楼层
感谢楼上两位兄弟。经过fsck处理后,硬盘已经能够识别,不过

在手动启动mlite的3分钟后

才报告:[dMain] Core started

哦咩托佛~~~~


昨晚上用虚拟机(guest os:centos4.6)进行的fsck修复,开始是直接fsck /dev/sdb1,后来想起来系统是ext3格式,于是ctrl-c之。使用fsck -t ext2 /dev/sdb1   。不过看起来貌似是接着刚才的进度来的。就是说fsck能直接识别格式什么?


刚才发现了一个非常辣手的问题:始终连接不上服务器。即使我手动增加了服务器的ip也不行!!

samba能访问。通过8081端口也能访问。但是就是mlnet连接不上任何服务器。每次都失败。

类似

+-- From server Sexe telecharger DOWNLOAD [66.135.34.198:8270] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

+-- From server # eMule Serverlist Nr.1 # [38.107.164.23:4661] ------
| WARNING : Your 5761 port is not reachable. Please review your network config.

+-- From server XXX Lunatic Fringe Sex [82.80.234.202:5231] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

+-- From server DataLive Server [218.16.123.195:80] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

+-- From server ! + + LOTSA' SEX + + ! [94.102.51.41:4321] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

+-- From server ! + + GET LAID + + ! [94.102.51.38:4321] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

+-- From server icupid [212.179.18.132:4232] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

+-- From server icupid [212.179.18.144:4232] ------
| WARNING : You have a lowid. Please review your network config and/or your settings.

[ 本帖最后由 yzhkpli 于 2008-10-20 14:20 编辑 ]
回复

使用道具 举报

 楼主| | 显示全部楼层
且说那天按照scut兄的帖子重新来了一遍终于能下载了。不过听这两天看场子的兄弟(我的路由器放他那里下载了)说速度不快,最多20多k。不超过50.和以前的100左右是天上地下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-10 05:02

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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