[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:36113] 複数の外付けIEEE1394HDDの内の一つをファイルリード中に抜くと...



*メール転送エラーで再度送りました。二度送られてしまったならお詫び申し上げます。

李徹と申します。 


Linux上で、複数の外付けIEEE1394HDDからファイルを同時に読み込んでいる途中に、
ディジチェーンで接続された1394HDDのプラグを抜いた時、
接続中のIEEE1394HDDからもファイルが読み込めなくなる場合があります。

(IEEE1394をHDDデイジーチェーンでつなげ、2番目のIEEE1394HDDを抜きました。)

  LinuxOS -> PCI bus −>  IEEE1394HDD(1番) −> IEEE1394HDD(2番)


そして、接続していたIEEE1394HDDのファイルシステムがおかしくなり、
マウントし直すか、最悪の場合フォーマットしてやっと、マウントできるようになります。

マウントしようとすると、

# mount -t ext2 /dev/sda1 /mnt/1394
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       or too many mounted file systems

というエラーが表示され、さらに、xconsoleに以下のような,3種類のエラーがでます。

1.attempt to access beyond end of device :マウントし直せばよい場合のエラー

2.unable to read super block	: モジュールを再ロードすれば、マウントできる。

3.init_special_inode : bogus inode(0) :フォーマットすれば、マウントできる。


なぜこのような現象が起こるのかわかりません。
どなたか対処法を教えていただけないでしょうか。

よろしくお願いします。

======================
李徹
chol@xxxxxxxxxxxxx
======================
--------------------------------------------------------------
動作環境は、以下のようになっております。

・Debian Woody kernel 2.4.20

・IEEE1394インターフェイス: ロジテック製LHA1394L
 OHCI準拠Texas Instruments chipset
	
・HDD : Maxtor製5000DV 120GB 7200rpm 、2台

・libraw1394‐5

モジュールをロードして、SCSIデバイスとして認識してファイルの読み書きは正常に
行われます。.


$ dmesg

Linux version 2.4.20 (root@aisonic4) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Thu Jan 1
6 21:05:56 JST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fffc000 (usable)
 BIOS-e820: 000000001fffc000 - 000000001ffff000 (ACPI data)
 BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131068
zone(0): 4096 pages.
zone(1): 126972 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
Found and enabled local APIC!
Initializing CPU#0
Detected 2018.024 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4023.91 BogoMIPS
Memory: 515440k/524272k available (1514k kernel code, 8444k reserved, 659k data, 124k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 0K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:             Common caps: 3febfbff 00000000 00000000 00000000
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@xxxxxxxxxxxxx)
mtrr: detected mtrr type: Intel
CPU: L1 I cache: 0K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:             Common caps: 3febfbff 00000000 00000000 00000000
CPU0: Intel(R) Pentium(R) 4 CPU 2.00GHz stepping 04
per-CPU timeslice cutoff: 1462.33 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2018.0010 MHz.
..... host bus clock speed is 100.9000 MHz.
cpu: 0, clocks: 1009000, slice: 504500
CPU0<T0:1008992,T1:504480,D:12,S:504500,C:1009000>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xf11f0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
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
Starting kswapd
Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller on PCI bus 00 dev f9
ICH2: chipset revision 18
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:pio, hdd:pio
hda: IC35L060AVER07-0, ATA DISK drive
hdb: ATAPI DVD-ROM 16X, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
blk: queue c0399f64, I/O limit 4095Mb (mask 0xffffffff)
hda: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=7476/255/63, UDMA(100)
hdb: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 9 for device 02:0c.0
eth0: RealTek RTL8139 Fast Ethernet at 0xe0800000, 00:90:99:bb:5f:7b, IRQ 9
eth0:  Identified 8139 chip type 'RTL-8139C'
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Intel i845 chipset
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.99 on Intel i845 @ 0xf8000000 64MB
[drm] Initialized radeon 1.1.1 20010405 on minor 1
[drm] AGP 0.99 on Intel i845 @ 0xf8000000 64MB
[drm] Initialized i810 1.2.0 20010920 on minor 2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
es1371: version v0.30 time 21:07:03 Jan 16 2003
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 5 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0xb400, IRQ 5
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:1f.4
PCI: Setting latency timer of device 00:1f.4 to 64
uhci.c: USB UHCI at I/O 0xb000, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Adding Swap: 1453840k swap-space (priority -1)
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
ohci1394: $Rev: 578 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 9 for device 02:0d.0
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[9]  MMIO=[f1000000-f10007ff]  Max Packet=[2048]
raw1394: /dev/raw1394 device initialized
ieee1394: Host added: Node[00:1023]  GUID[00018ea00600541a]  [Linux OHCI-1394]
ieee1394: NodeMgr: hotplug policy returned -2
ieee1394: NodeMgr: hotplug policy returned -2
ieee1394: Device added: Node[01:1023]  GUID[0010b920003d25eb]  [Maxtor]
ieee1394: NodeMgr: hotplug policy returned -2
ieee1394: NodeMgr: hotplug policy returned -2
ieee1394: Device added: Node[02:1023]  GUID[0010b920001e9aa5]  [Maxtor]
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[01:1023]: Max speed [S400] - Max payload [2048]
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[02:1023]: Max speed [S400] - Max payload [2048]
scsi0 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
$Rev: 584 $ James Goodwin <jamesg@xxxxxxxxxxx>
SBP-2 module load options:
- Max speed supported: S400
- Max sectors per I/O supported: 255
- Max outstanding commands supported: 8
- Max outstanding commands per lun supported: 1
- Serialized I/O (debug): no
- Exclusive login: yes
  Vendor: Maxtor    Model: 5000DV            Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 06
  Vendor: Maxtor    Model: 5000DV            Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 06
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sda: 240119808 512-byte hdwr sectors (122941 MB)
 sda: sda1
SCSI device sdb: 240119808 512-byte hdwr sectors (122941 MB)
 sdb: sdb1
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
init_special_inode: bogus imode (0)
EXT2-fs: corrupt root inode, run e2fsck
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: Maxtor   Model: 5000DV           Rev: 0100
  Type:   Direct-Access                    ANSI SCSI revision: 06
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: Maxtor   Model: 5000DV           Rev: 0100
  Type:   Direct-Access  

$ cat /proc/bus/ieee1394/devices

Node[00:1023]  GUID[00018ea00600541a]:
  Vendor ID: `Linux OHCI-1394' [0x080028]
  Capabilities: 0x0083c0
  Bus Options:
    IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
    LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
  Host Node Status:
    Host Driver     : ohci1394
    Nodes connected : 3
    Nodes active    : 3
    SelfIDs received: 3
    Irm ID          : [00:1023]
    BusMgr ID       : [00:1023]
    In Bus Reset    : no
    Root            : no
    Cycle Master    : no
    IRM             : yes
    Bus Manager     : yes
Node[01:1023]  GUID[0010b920003d25eb]:
  Vendor ID: `Maxtor' [0x0010b9]
  Capabilities: 0x0083c0
  Bus Options:
    IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(2)
    LSPD(2) MAX_REC(64) CYC_CLK_ACC(255)
  Unit Directory 0:
    Vendor/Model ID: Maxtor [0010b9] / 1394 Storage Front Panel* [005000]
    Software Specifier ID: 0010b9
    Software Version: ceb001
    Length (in quads): 5
  Unit Directory 1:
    Vendor/Model ID: Maxtor [0010b9] / 5000DV  v1.00.00 [005000]
    Software Specifier ID: 00609e
    Software Version: 010483
    Driver: SBP2 Driver
    Length (in quads): 11
Node[02:1023]  GUID[0010b920001e9aa5]:
  Vendor ID: `Maxtor' [0x0010b9]
  Capabilities: 0x0083c0
  Bus Options:
    IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(2)
    LSPD(2) MAX_REC(64) CYC_CLK_ACC(255)
  Unit Directory 0:
    Vendor/Model ID: Maxtor [0010b9] / 1394 Storage Front Panel* [005000]
    Software Specifier ID: 0010b9
    Software Version: ceb001
    Length (in quads): 5
  Unit Directory 1:
    Vendor/Model ID: Maxtor [0010b9] / 5000DV  v1.00.00 [005000]
    Software Specifier ID: 00609e
    Software Version: 010483
    Driver: SBP2 Driver
    Length (in quads): 11