- 论坛徽章:
- 0
|
最近遇到一个很奇怪的问题,我的环境是一个arm的开发板,在终端执行一下命令后,重启,系统起不来:
mount -n -o remount,noatime,rw /
mount -n -o remount,noatime,ro /
两个命令之前没有任何操作,下面是系统日志,请各位大神帮忙分析一下,比较紧急,希望各位大神指点迷境,谢谢。- RomBOOT
- Start AT91Bootstrap...
- U-Boot 2010.06-dirty (Sep 07 2015 - 16:15:49)
- DRAM: 32 MiB
- NAND: 128 MiB
- [WFOS] ADC=928, SEQ=1
- [WFOS] PRODUCT_SEQ 01. HARDWARE ID 01
- [WFOS] Init WFET1600XGW
- In: serial
- Out: serial
- Err: serial
- Press space to abort autoboot in: 1
- NAND read: device 0 offset 0x80000, size 0x300000
- 3145728 bytes read: OK
- ## Booting kernel from Legacy Image at 20600000 ...
- Image Name: Linux-2.6.39
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 1545056 Bytes = 1.5 MiB
- Load Address: 20008000
- Entry Point: 20008000
- Verifying Checksum ... OK
- Loading Kernel Image ... OK
- OK
- Starting kernel ...
- Uncompressing Linux... done, booting the kernel.
- Linux version 2.6.39 (W08582@Debian7) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) ) #1 Wed Jul 22 09:13:15 CST 2015
- CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
- CPU: VIVT data cache, VIVT instruction cache
- Machine: Atmel AT91SAM9X5-EK
- Memory policy: ECC disabled, Data cache writeback
- Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
- Kernel command line: rootfstype=ubifs ubi.mtd=4 ro root=ubi0:rootfs mtdparts=at91_nand:128k(bootstrap),256k(u-boot),128k(u-bootenv),3072k(kernel),14m(rootfs),20m(home),66m(data0),-(data1) vlcd=0xC8 console=ttyS2 openwd
- PID hash table entries: 128 (order: -3, 512 bytes)
- Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
- Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
- Memory: 32MB = 32MB total
- Memory: 29424k/29424k available, 3344k reserved, 0K highmem
- Virtual kernel memory layout:
- vector : 0xffff0000 - 0xffff1000 ( 4 kB)
- fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
- DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
- vmalloc : 0xc2800000 - 0xfee00000 ( 966 MB)
- lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
- modules : 0xbf000000 - 0xc0000000 ( 16 MB)
- .init : 0xc0008000 - 0xc0024000 ( 112 kB)
- .text : 0xc0024000 - 0xc02c72a0 (2701 kB)
- .data : 0xc02c8000 - 0xc02e3f00 ( 112 kB)
- NR_IRQS:192
- AT91: 128 gpio irqs in 4 banks
- Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
- pid_max: default: 32768 minimum: 301
- Mount-cache hash table entries: 512
- CPU: Testing write buffer coherency: ok
- NET: Registered protocol family 16
- AT91: CM rev B and higher
- AT91: No default serial console defined.
- AT91: EK rev A
- bio: create slab <bio-0> at 0
- SCSI subsystem initialized
- usbcore: registered new interface driver usbfs
- usbcore: registered new interface driver hub
- usbcore: registered new device driver usb
- at_hdmac at_hdmac.0: Atmel AHB DMA Controller ( cpy slave ), 8 channels
- at_hdmac at_hdmac.1: Atmel AHB DMA Controller ( cpy slave ), 8 channels
- Switching to clocksource pit
- NET: Registered protocol family 2
- IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
- TCP established hash table entries: 1024 (order: 1, 8192 bytes)
- TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- TCP: Hash tables configured (established 1024 bind 1024)
- TCP reno registered
- UDP hash table entries: 256 (order: 0, 4096 bytes)
- UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- NET: Registered protocol family 1
- NetWinder Floating Point Emulator V0.97 (double precision)
- msgmni has been set to 57
- io scheduler noop registered (default)
- atmel_usart.0: ttyS0 at MMIO 0xf801c000 (irq = 5) is a ATMEL_SERIAL
- atmel_usart.1: ttyS1 at MMIO 0xf8044000 (irq = 16) is a ATMEL_SERIAL
- atmel_usart.2: ttyS2 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
- console [ttyS2] enabled
- atmel_usart.3: ttyS3 at MMIO 0xf8020000 (irq = 6) is a ATMEL_SERIAL
- atmel_usart.4: ttyS4 at MMIO 0xf8024000 (irq = 7) is a ATMEL_SERIAL
- atmel_usart.5: ttyS5 at MMIO 0xf8028000 (irq = 8) is a ATMEL_SERIAL
- atmel_usart.6: ttyS6 at MMIO 0xf8040000 (irq = 15) is a ATMEL_SERIAL
- atmel_nand atmel_nand: No DMA support for NAND access.
- NAND device: Manufacturer ID: 0x98, Chip ID: 0xd1 (Toshiba NAND 128MiB 3,3V 8-bit)
- atmel_pmecc_init_params
- Scanning device for bad blocks
- mtd_name=bootstrap,mtd_size=0x20000,offset=0x0
- mtd_name=u-boot,mtd_size=0x40000,offset=0x0
- mtd_name=u-bootenv,mtd_size=0x20000,offset=0x0
- mtd_name=kernel,mtd_size=0x300000,offset=0x0
- mtd_name=rootfs,mtd_size=0xe00000,offset=0x0
- mtd_name=home,mtd_size=0x1400000,offset=0x0
- mtd_name=data0,mtd_size=0x4200000,offset=0x0
- mtd_name=data1,mtd_size=0x1880000,offset=0x0
- 8 cmdlinepart partitions found on MTD device at91_nand
- Creating 8 MTD partitions on "at91_nand":
- 0x000000000000-0x000000020000 : "bootstrap"
- 0x000000020000-0x000000060000 : "u-boot"
- 0x000000060000-0x000000080000 : "u-bootenv"
- 0x000000080000-0x000000380000 : "kernel"
- 0x000000380000-0x000001180000 : "rootfs"
- 0x000001180000-0x000002580000 : "home"
- 0x000002580000-0x000006780000 : "data0"
- 0x000006780000-0x000008000000 : "data1"
- UBI: attaching mtd4 to ubi0
- UBI: physical eraseblock size: 131072 bytes (128 KiB)
- UBI: logical eraseblock size: 126976 bytes
- UBI: smallest flash I/O unit: 2048
- UBI: VID header offset: 2048 (aligned 2048)
- UBI: data offset: 4096
- UBI: max. sequence number: 3
- UBI: attached mtd4 to ubi0
- UBI: MTD device name: "rootfs"
- UBI: MTD device size: 14 MiB
- UBI: number of good PEBs: 112
- UBI: number of bad PEBs: 0
- UBI: number of corrupted PEBs: 0
- UBI: max. allowed volumes: 128
- UBI: wear-leveling threshold: 4096
- UBI: number of internal volumes: 1
- UBI: number of user volumes: 1
- UBI: available PEBs: 0
- UBI: total number of reserved PEBs: 112
- UBI: number of PEBs reserved for bad PEB handling: 2
- UBI: max/mean erase counter: 1/0
- UBI: image sequence number: 1445395432
- ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
- at91_ohci at91_ohci: AT91 OHCI
- at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
- at91_ohci at91_ohci: irq 22, io mem 0x00600000
- UBI: background thread "ubi_bgt0d" started, PID 205
- hub 1-0:1.0: USB hub found
- hub 1-0:1.0: 3 ports detected
- Initializing USB Mass Storage driver...
- usbcore: registered new interface driver usb-storage
- USB Mass Storage support registered.
- [WFOS] Hardware watchdog heartbeat 500 ms.
- [WFOS] AT91 Watchdog Timer boot enabled (15 seconds, nowayout)
- TCP cubic registered
- NET: Registered protocol family 17
- Registering the dns_resolver key type
- name=ubi0:rootfs
- fs_names=/init
- atmel_nand atmel_nand: Too many error.
- atmel_nand atmel_nand: Too many error.
- atmel_nand atmel_nand: Too many error.
- atmel_nand atmel_nand: Too many error.
- UBI error: ubi_io_read: error -1 while reading 126976 bytes from PEB 3:4096, read 2048 bytes
- UBIFS error (pid 1): ubifs_start_scan: cannot read 126976 bytes from LEB 1:0, error -1
- VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
- Please append a correct "root=" boot option; here are the available partitions:
- 1f00 128 mtdblock0 (driver?)
- 1f01 256 mtdblock1 (driver?)
- 1f02 128 mtdblock2 (driver?)
- 1f03 3072 mtdblock3 (driver?)
- 1f04 14336 mtdblock4 (driver?)
- 1f05 20480 mtdblock5 (driver?)
- 1f06 67584 mtdblock6 (driver?)
- 1f07 25088 mtdblock7 (driver?)
- Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
- [<c002eca8>] (unwind_backtrace+0x0/0xe0) from [<c01fa1e4>] (panic+0x50/0x178)
- [<c01fa1e4>] (panic+0x50/0x178) from [<c0008d44>] (mount_block_root+0x24c/0x2a4)
- [<c0008d44>] (mount_block_root+0x24c/0x2a4) from [<c0008e8c>] (prepare_namespace+0x88/0x17c)
- [<c0008e8c>] (prepare_namespace+0x88/0x17c) from [<c00089c0>] (kernel_init+0x100/0x134)
- [<c00089c0>] (kernel_init+0x100/0x134) from [<c002aef8>] (kernel_thread_exit+0x0/0x8)
复制代码 |
|