Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

kernal cannot mount rootfs when bootm vmImage

$
0
0

Hello,

If i bootm vmImage, kernel cannot mount rootfs. both ubifs and jffs2 are failured.

buildroot : blackfin-buildroot-2014R1-RC1.tar.bz2

toolchain :blackfin-toolchain-uclibc-full-2014R1-RC2.i386

               blackfin-toolchain-elf-gcc-4.3-2014R1-RC2.i386

               blackfin-toolchain-2014R1-RC2.i386

 

after unpack buildroot,

[root@localhost blackfin-buildroot]$ make bf609-ezkit_defconfig

[root@localhost blackfin-buildroot]$ make linux-menuconfig

and change JFFS2 compile into kernal(not as a module).

[root@localhost blackfin-buildroot]$ make

[root@localhost blackfin-buildroot]$ cp output/images/vmImage /var/lib/tftpboot

 

on my board,

bfin> tftp 1000000 vmImage

Waiting for PHY auto negotiation to complete done

ENET Speed is 100 Mbps - FULL duplex connection

Using mii0 device

TFTP from server 192.168.2.16; our IP address is 192.168.2.17

Filename 'vmImage'.

Load address: 0x1000000

Loading: #################################################################

         #################################################

done

Bytes transferred = 1667560 (1971e8 hex)

bfin> bootm

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf609-0.0-3.10.10-ADI-2014R1

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1667496 Bytes = 1.6 MiB

   Load Address: 00001000

   Entry Point:  002e5990

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002e5990

Linux version 3.10.10-ADI-2014R1 (root@localhost.localdomain) (gcc version 4.3.5 (ADI-2014R1-RC2) ) #3 Fri Aug 22 23:33:05 CST 2014

register early platform devices

bootconsole [early_shadow0] enabled

ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 128MB

Kernel Managed Memory: 128MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001f7788

  rodata    = 0x001f77ac-0x002a16c0

  bss       = 0x002a2000-0x002b7ddc

  data      = 0x002b7de0-0x002e2000

    stack   = 0x002e0000-0x002e2000

  init      = 0x002e2000-0x00301000

  available = 0x00301000-0x07f00000

  DMA Zone  = 0x07f00000-0x08000000

Hardware Trace active and enabled

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF609 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

  L2 SRAM        : uncacheable in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32258

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=(25000000) earlyprintk=serial,uart0,57600 console=ttyBF0,57600

PID hash table entries: 512 (order: -1, 2048 bytes)

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Sorting __ex_table...

Memory available: 125804k/131072k RAM, (124k init code, 2009k kernel code, 939k data, 1024k dma, 1172k reserved)

NR_IRQS:291

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

Calibrating delay loop... 989.18 BogoMIPS (lpj=1978368)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

devtmpfs: initialized

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (9 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 64 KB (51 KB free)

Blackfin L2 SRAM: 256 KB (256 KB free)

pinctrl core: initialized pinctrl subsystem

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

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

i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00

i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

NET: Registered protocol family 23

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

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

jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 245

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88) is a BFIN-UART

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

physmap platform flash device: 01000000 at b0000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

Creating 3 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000080000 : "bootloader(nor)"

0x000000080000-0x000000480000 : "linux kernel(nor)"

0x000000480000-0x000001000000 : "file system(nor)"

m25p80 spi0.67: w25q32 (4096 Kbytes)

Creating 3 MTD partitions on "m25p80":

0x000000000000-0x000000080000 : "bootloader(spi)"

0x000000080000-0x000000200000 : "linux kernel(spi)"

0x000000200000-0x000000400000 : "file system(spi)"

CAN device driver interface

bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)

stmmac - user ID: 0x10, Synopsys ID: 0x36

Enhanced/Alternate descriptors

        Enabled extended descriptors

Ring mode enabled

DMA HW capability register supported

RX Checksum Offload Engine supported (type 2)

Wake-Up On Lan supported

Enable RX Mitigation via HW Watchdog Timer

libphy: stmmac: probed

eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-0:01) active

usbcore: registered new interface driver usb-storage

input: bfin-rotary as /devices/platform/bfin-rotary/input/input0

i2c /dev entries driver

bfin_wdt: initialized: timeout=20 sec (nowayout=0)

dma_alloc_init: dma_page @ 0x041a8000 - 256 pages at 0x07f00000

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP: cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20120528 t)

can: netlink gateway (rev 20130117) max_hops=1

Warning: unable to open an initial console.

VFS: Cannot open root device "mtdblock0" or unknown-block(31,0): error -2

Please append a correct "root=" boot option; here are the available partitions:

1f00             512 mtdblock0  (driver?)

1f01            4096 mtdblock1  (driver?)

1f02           11776 mtdblock2  (driver?)

1f03             512 mtdblock3  (driver?)

1f04            1536 mtdblock4  (driver?)

1f05            2048 mtdblock5  (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Hardware Trace:

   0 Target : <0x001f7338> { _dump_stack + 0x0 }

     Source : <0x001f73e6> { _panic + 0x6a } CALL pcrel

   1 Target : <0x001f73d4> { _panic + 0x58 }

     Source : <0x0000a8a6> { _test_taint + 0x2a } RTS

   2 Target : <0x0000a87c> { _test_taint + 0x0 }

     Source : <0x001f73d0> { _panic + 0x54 } JUMP.L

   3 Target : <0x001f73ce> { _panic + 0x52 }

     Source : <0x001f7596> { _printk + 0x26 } RTS

   4 Target : <0x001f7592> { _printk + 0x22 }

     Source : <0x0000c9aa> { _vprintk_emit + 0x11e } RTS

   5 Target : <0x0000c9a2> { _vprintk_emit + 0x116 }

     Source : <0x0000c994> { _vprintk_emit + 0x108 } IF CC JUMP pcrel (BP)

   6 Target : <0x0000c990> { _vprintk_emit + 0x104 }

     Source : <0x0000ca70> { _vprintk_emit + 0x1e4 } JUMP.S

   7 Target : <0x0000ca70> { _vprintk_emit + 0x1e4 }

     Source : <0x0000c07e> { _console_unlock + 0x18a } RTS

   8 Target : <0x0000c078> { _console_unlock + 0x184 }

     Source : <0x0000be8a> { _wake_up_klogd + 0x36 } RTS

   9 Target : <0x0000be86> { _wake_up_klogd + 0x32 }

     Source : <0x0000be64> { _wake_up_klogd + 0x10 } IF CC JUMP pcrel

  10 Target : <0x0000be54> { _wake_up_klogd + 0x0 }

     Source : <0x0000c074> { _console_unlock + 0x180 } JUMP.L

  11 Target : <0x0000c06c> { _console_unlock + 0x178 }

     Source : <0x0000c232> { _console_unlock + 0x33e } JUMP.S

  12 Target : <0x0000c22e> { _console_unlock + 0x33a }

     Source : <0x0000c062> { _console_unlock + 0x16e } IF CC JUMP pcrel

  13 Target : <0x0000c060> { _console_unlock + 0x16c }

     Source : <0x0000c052> { _console_unlock + 0x15e } IF CC JUMP pcrel (BP)

  14 Target : <0x0000c044> { _console_unlock + 0x150 }

     Source : <0x00025402> { _up + 0x36 } RTS

  15 Target : <0x000253fc> { _up + 0x30 }

     Source : <0x000253ee> { _up + 0x22 } IF CC JUMP pcrel (BP)

CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.10-ADI-2014R1 #3

Stack info:

SP: [0x04025ddc] <0x04025ddc> /* kernel dynamic memory (maybe user-space) */

Memory from 0x04025dd0 to 04026000

04025dd0: 00000000  04025ddc  00000000 [00000000] 04025e00  001f73ea  041b0000  00249c98

04025df0: 002f63cc  002a60f0  00000013  04025e28  04025e58  002e2a1c  041b0000  041b0000

04025e10: 002f63cc  04025e38  fffffffe  00386600  00249d00  00000000  04025e38  00000001

04025e30: fffffffe  00000000  6e6b6e75  2d6e776f  636f6c62  3133286b  0029302c  002f5f5c

04025e50: 00249d00  00249d00  04025e88  002e2b62  002a2064  002f6388  002f5f5c  01f00000

04025e70: 00249d00  00000050  002e229c  04025e90  002e2d2a  002e2c20  04025eac  002e2c6e

04025e90: 00000008  002a2010  00000008  002a2010  00000050  002e229c  00000000  04025ed8

04025eb0: 002e2276  002fbe7c  002f5f80  00249bc4  04045000  00000000  00000050  00000007

04025ed0: 00000007  002e229c  04025f08  001f6502  002ad584  04023d60  04023ac0  04023c14

04025ef0: 002c2f74  002c2ec8  0402c000  0402deb0  ffa00006  002ad584  0402deb0 <ffa00014>

04025f10: 002ad584  04023d60  9000a314  001f64f8  00000000  00000000  00008000  00000000

04025f30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025f50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025f70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025f90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025fb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025fd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025ff0: 00000000  00000000  ffffffff  00002806

Return addresses in stack:

    address : <0xffa00014> { _ret_from_fork + 0x14 }

 

 

 

 

 

After a lot of work on this error, i got some information.

patch attachment to linux-kernel,  when bootm vmImage,

kernel log is

bfin> bootm

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf609-0.0-3.10.10-ADI-2014R1

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1667496 Bytes = 1.6 MiB

   Load Address: 00001000

   Entry Point:  002e5990

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002e5990

Linux version 3.10.10-ADI-2014R1 (root@localhost.localdomain) (gcc version 4.3.5 (ADI-2014R1-RC2) ) #3 Fri Aug 22 23:33:05 CST 2014

register early platform devices

bootconsole [early_shadow0] enabled

ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 128MB

Kernel Managed Memory: 128MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001f7788

  rodata    = 0x001f77ac-0x002a16c0

  bss       = 0x002a2000-0x002b7ddc

  data      = 0x002b7de0-0x002e2000

    stack   = 0x002e0000-0x002e2000

  init      = 0x002e2000-0x00301000

  available = 0x00301000-0x07f00000

  DMA Zone  = 0x07f00000-0x08000000

Hardware Trace active and enabled

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF609 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

  L2 SRAM        : uncacheable in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32258

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=(25000000) earlyprintk=serial,uart0,57600 console=ttyBF0,57600

PID hash table entries: 512 (order: -1, 2048 bytes)

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Sorting __ex_table...

Memory available: 125804k/131072k RAM, (124k init code, 2009k kernel code, 939k data, 1024k dma, 1172k reserved)

NR_IRQS:291

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

Calibrating delay loop... 989.18 BogoMIPS (lpj=1978368)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

devtmpfs: initialized

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (9 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 64 KB (51 KB free)

Blackfin L2 SRAM: 256 KB (256 KB free)

pinctrl core: initialized pinctrl subsystem

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

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

i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00

i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

NET: Registered protocol family 23

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

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

jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 245

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88) is a BFIN-UART

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

physmap platform flash device: 01000000 at b0000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

Creating 3 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000080000 : "bootloader(nor)"

0x000000080000-0x000000480000 : "linux kernel(nor)"

0x000000480000-0x000001000000 : "file system(nor)"

m25p80 spi0.67: w25q32 (4096 Kbytes)

Creating 3 MTD partitions on "m25p80":

0x000000000000-0x000000080000 : "bootloader(spi)"

0x000000080000-0x000000200000 : "linux kernel(spi)"

0x000000200000-0x000000400000 : "file system(spi)"

CAN device driver interface

bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)

stmmac - user ID: 0x10, Synopsys ID: 0x36

Enhanced/Alternate descriptors

        Enabled extended descriptors

Ring mode enabled

DMA HW capability register supported

RX Checksum Offload Engine supported (type 2)

Wake-Up On Lan supported

Enable RX Mitigation via HW Watchdog Timer

libphy: stmmac: probed

eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-0:01) active

usbcore: registered new interface driver usb-storage

input: bfin-rotary as /devices/platform/bfin-rotary/input/input0

i2c /dev entries driver

bfin_wdt: initialized: timeout=20 sec (nowayout=0)

dma_alloc_init: dma_page @ 0x041a8000 - 256 pages at 0x07f00000

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP: cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20120528 t)

can: netlink gateway (rev 20130117) max_hops=1

Warning: unable to open an initial console.

kern_path return -2, dir_name = /root

VFS: Cannot open root device "mtdblock0" or unknown-block(31,0): error -2

Please append a correct "root=" boot option; here are the available partitions:

1f00             512 mtdblock0  (driver?)

1f01            4096 mtdblock1  (driver?)

1f02           11776 mtdblock2  (driver?)

1f03             512 mtdblock3  (driver?)

1f04            1536 mtdblock4  (driver?)

1f05            2048 mtdblock5  (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Hardware Trace:

   0 Target : <0x001f7338> { _dump_stack + 0x0 }

     Source : <0x001f73e6> { _panic + 0x6a } CALL pcrel

   1 Target : <0x001f73d4> { _panic + 0x58 }

     Source : <0x0000a8a6> { _test_taint + 0x2a } RTS

   2 Target : <0x0000a87c> { _test_taint + 0x0 }

     Source : <0x001f73d0> { _panic + 0x54 } JUMP.L

   3 Target : <0x001f73ce> { _panic + 0x52 }

     Source : <0x001f7596> { _printk + 0x26 } RTS

   4 Target : <0x001f7592> { _printk + 0x22 }

     Source : <0x0000c9aa> { _vprintk_emit + 0x11e } RTS

   5 Target : <0x0000c9a2> { _vprintk_emit + 0x116 }

     Source : <0x0000c994> { _vprintk_emit + 0x108 } IF CC JUMP pcrel (BP)

   6 Target : <0x0000c990> { _vprintk_emit + 0x104 }

     Source : <0x0000ca70> { _vprintk_emit + 0x1e4 } JUMP.S

   7 Target : <0x0000ca70> { _vprintk_emit + 0x1e4 }

     Source : <0x0000c07e> { _console_unlock + 0x18a } RTS

   8 Target : <0x0000c078> { _console_unlock + 0x184 }

     Source : <0x0000be8a> { _wake_up_klogd + 0x36 } RTS

   9 Target : <0x0000be86> { _wake_up_klogd + 0x32 }

     Source : <0x0000be64> { _wake_up_klogd + 0x10 } IF CC JUMP pcrel

  10 Target : <0x0000be54> { _wake_up_klogd + 0x0 }

     Source : <0x0000c074> { _console_unlock + 0x180 } JUMP.L

  11 Target : <0x0000c06c> { _console_unlock + 0x178 }

     Source : <0x0000c232> { _console_unlock + 0x33e } JUMP.S

  12 Target : <0x0000c22e> { _console_unlock + 0x33a }

     Source : <0x0000c062> { _console_unlock + 0x16e } IF CC JUMP pcrel

  13 Target : <0x0000c060> { _console_unlock + 0x16c }

     Source : <0x0000c052> { _console_unlock + 0x15e } IF CC JUMP pcrel (BP)

  14 Target : <0x0000c044> { _console_unlock + 0x150 }

     Source : <0x00025402> { _up + 0x36 } RTS

  15 Target : <0x000253fc> { _up + 0x30 }

     Source : <0x000253ee> { _up + 0x22 } IF CC JUMP pcrel (BP)

CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.10-ADI-2014R1 #3

Stack info:

SP: [0x04025ddc] <0x04025ddc> /* kernel dynamic memory (maybe user-space) */

Memory from 0x04025dd0 to 04026000

04025dd0: 00000000  04025ddc  00000000 [00000000] 04025e00  001f73ea  041b0000  00249c98

04025df0: 002f63cc  002a60f0  00000013  04025e28  04025e58  002e2a1c  041b0000  041b0000

04025e10: 002f63cc  04025e38  fffffffe  00386600  00249d00  00000000  04025e38  00000001

04025e30: fffffffe  00000000  6e6b6e75  2d6e776f  636f6c62  3133286b  0029302c  002f5f5c

04025e50: 00249d00  00249d00  04025e88  002e2b62  002a2064  002f6388  002f5f5c  01f00000

04025e70: 00249d00  00000050  002e229c  04025e90  002e2d2a  002e2c20  04025eac  002e2c6e

04025e90: 00000008  002a2010  00000008  002a2010  00000050  002e229c  00000000  04025ed8

04025eb0: 002e2276  002fbe7c  002f5f80  00249bc4  04045000  00000000  00000050  00000007

04025ed0: 00000007  002e229c  04025f08  001f6502  002ad584  04023d60  04023ac0  04023c14

04025ef0: 002c2f74  002c2ec8  0402c000  0402deb0  ffa00006  002ad584  0402deb0 <ffa00014>

04025f10: 002ad584  04023d60  8200a310  001f64f8  00000000  00000000  00008000  00000000

04025f30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025f50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025f70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025f90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025fb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025fd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

04025ff0: 00000000  00000000  ffffffff  00002806

Return addresses in stack:

    address : <0xffa00014> { _ret_from_fork + 0x14 }

 

 

 

when kernel mount rootfs in do_mount,

kern_path can not find directory "/root", and return -2(ENOENT).


please help me, thanks.


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>