[Armadillo:02313] Armadillo-220+USBメモリでファイルシステムパニック

ZEATEC email@hidden
2007年 10月 30日 (火) 18:52:40 JST


お世話になります、平井です。

Armadillo-220でUSBメモリを自動マウントしたらファイルシステムパニックとなります。 
 エラーが出ない時もありますが・・・。
関係していると思われるデータを下記に添付します。


■起動時のログ。最後尾にファイルシステムパニックと表記されている。
armadillo2x0-nor: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
4 cmdlinepart partitions found on MTD device armadillo2x0-nor
parse_mtd_partitions:4
Creating 4 MTD partitions on "armadillo2x0-nor":
0x00000000-0x00010000 : "bootloader"
0x00010000-0x00180000 : "kernel"
0x00180000-0x007f0000 : "userland"
0x007f0000-0x00800000 : "config"
No NAND device found!!!
ep93xxusb ep93xxusb.0: EP93xx OHCI
ep93xxusb ep93xxusb.0: new USB bus registered, assigned bus number 1
ep93xxusb ep93xxusb.0: irq 56, io base 0xff020000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 1-1: new full speed USB device using ep93xxusb and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
pegasus: v0.6.12 (2005/01/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
zd1211 - http://zd1211.ath.cx/
Based on www.zydas.com.tw driver version 2.0.0.0
usbcore: registered new driver zd1211
Bluetooth: HCI USB driver ver 2.8
usbcore: registered new driver hci_usb
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2002 Netfilter core team
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02ebf18(lo)
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.7
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.5
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
SCTP: Hash tables configured (established 1024 bind 2048)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 12288KiB [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 96K
init started:  BusyBox v1.00 (2007.09.15-09:19+0000) multi-call binary
Starting fsck for root filesystem.
fsck 1.25 (20-Sep-2001)
ext2fs_check_if_mount: No such file or directory while determining whether
/dev/
ram0 is mounted.
/dev/ram0 was not cleanly unmounted, check forced.
/dev/ram0: Inode 127, i_blocks is 32, should be 24.  FIXED.
/dev/ram0: 672/1024 files (0.9% non-contiguous), 10372/12288 blocks
Checking root filesystem:                                       done
Remounting root rw:                                             done
Mounting proc:                                                  done
Mounting usbfs:                                                 done
Mounting sysfs:                                                 done
Setting hostname:                                               done
Cleaning up system:                                             done
Running local start scripts.
Changing file permissions:                                      done
Starting syslogd:                                               done
Starting klogd:                                                 done
Starting basic firewall:                                        done
Loading /etc/config:                                            done
  Vendor: USB 2.0   Model: SD/MMC Reader     Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
Configuring netwsda: Write Protect is off
ork interfaces: sda: assuming drive cache: write through
SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
                                                                done
Starting inetd:                                                 done
Starting lighttpd:                                              done
Stating sshd:                                                   done
Starting crond:                                                 done

atmark-dist v1.10.0 (AtmarkTechno/Armadillo-220.Base)
Linux 2.6.12.3-a9-8 [armv4tl arch]

a220-0 login: FAT: Filesystem panic (dev sda1)
    fat_free_clusters: deleting FAT entry beyond EOF
    File system has been set read-only

■fstabの内容
[email@hidden (ttyAM0) ~]# cat /etc/fstab
/dev/ram0               /               ext2    defaults                0 1
#/dev/hda1              /               ext2    defaults                0 1
#/dev/hda2              none            swap    sw                      0 0
proc                    /proc           proc    defaults                0 0
usbfs                   /proc/bus/usb   usbfs   defaults                0 0
sysfs                   /sys            sysfs   defaults                0 0
/dev/sda1               /home/www-data  vfat 
defaults,umask=000,iocharset=euc    -jp     0 0
[email@hidden (ttyAM0) ~]#

■使用しているUSBメモリ
microSD⇔USBのアダプター     Donyaダイレクト DN-CR-T02 Black
microSD    A-DATA microSD 256MB
ファイルシステムはFAT32、FATどちらでもエラー出ます。







armadillo メーリングリストの案内