iMx51 - Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMx51 - Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)

1,585件の閲覧回数
FrancescoNamuri
Contributor I

Hi,

I'm trying to upgrade my kernel to 2.6.35 patched by freescale, but I'm always getting the same error. it  recognizes the partition table, but it's like it doesn't handle the filesystem. I tried different SD cards... Same problem.

Can someone suggest me something to solve this issue?

thanks in advance.

Francesco


U-Boot 2009.08 (Nov 01 2011 - 21:29:45)

CPU: Freescale i.MX51 family 3.0V at 800 MHz
mx51 pll1: 800MHz
mx51 pll2: 665MHz
mx51 pll3: 216MHz
ipg clock : 66500000Hz
ipg per clock : 665000000Hz
uart clock : 66500000Hz
cspi clock : 54000000Hz
axi_a clock : 166250000Hz
axi_b clock : 133000000Hz
emi_slow clock: 83125000Hz
ddr clock : 200000000Hz
esdhc clock : 216000000Hz
Board: MX51 BABBAGE 3.0 [POR]
Boot Device: MMC
I2C: ready
DRAM: 512 MB
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
In: serial
Out: serial
Err: serial
PMIC Mode: SPI
Net: got MAC address from IIM: 00:00:00:00:00:00
FEC0 [PRIME]
Hit any key to stop autoboot: 0
BBG U-Boot > printenv
bootdelay=3
baudrate=115200
loadaddr=0x90800000
netdev=eth0
ethprime=FEC0
uboot_addr=0xa0000000
uboot=u-boot.bin
kernel=uImage
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp
nfsroot=${serverip}:${nfsroot},v3,tcp
bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr}
${kernel}; bootm
load_uboot=tftpboot ${loadaddr} ${uboot}
ethact=FEC0
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc read 0 ${loadaddr} 800
1800 ; bootm
bootargs_mmc=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw
init=/init
bootargs_base=setenv bootargs console=ttymxc0,115200 di1_primary console=tty1
bootcmd=run bootcmd_mmc
stdin=serial
stdout=serial
stderr=serial

Environment size: 674/131068 bytes
BBG U-Boot > run bootcmd_mmc

MMC read: dev # 0, block # 2048,count 6144 ...
6144 blocks read: OK
## Booting kernel from Legacy Image at 90800000 ...
Image Name: Linux-2.6.35.3-850-gbc67621-gc1e
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2985832 Bytes = 2.8 MB
Load Address: 90008000
Entry Point: 90008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.3-850-gbc67621-gc1ed957-dirty (franam@ubuntu) (gcc
version 4.4.4 (4.4.4_09.06.2010) ) #2 PREEMPT Tue Nov 1 22:52:51 CET 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 105664
Kernel command line: console=ttymxc0,115200 di1_primary console=tty1
root=/dev/mmcblk0p1 rootwait rw init=/init
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 416MB = 416MB total
Memory: 413460k/413460k available, 12524k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xf9e00000 - 0xffe00000 ( 96 MB)
vmalloc : 0x9a800000 - 0xf4000000 (1432 MB)
lowmem : 0x80000000 - 0x9a000000 ( 416 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.init : 0x80008000 - 0x80033000 ( 172 kB)
.text : 0x80033000 - 0x807f1000 (7928 kB)
.data : 0x8080e000 - 0x80862b80 ( 339 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:368
MXC GPIO hardware
MXC IRQ initialized
MXC_Early serial console at MMIO 0x73fbc000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
console [tty1] enabled, bootconsole disabled
Linux version 2.6.35.3-850-gbc67621-gc1ed957-dirty (franam@ubuntu) (gcc
version 4.4.4 (4.4.4_09.06.2010) ) #2 PREEMPT Tue Nov 1 22:52:51 CET 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 105664
Kernel command line: console=ttymxc0,115200 di1_primary console=tty1
root=/dev/mmcblk0p1 rootwait rw init=/init
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 416MB = 416MB total
Memory: 413460k/413460k available, 12524k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xf9e00000 - 0xffe00000 ( 96 MB)
vmalloc : 0x9a800000 - 0xf4000000 (1432 MB)
lowmem : 0x80000000 - 0x9a000000 ( 416 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.init : 0x80008000 - 0x80033000 ( 172 kB)
.text : 0x80033000 - 0x807f1000 (7928 kB)
.data : 0x8080e000 - 0x80862b80 ( 339 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:368
MXC GPIO hardware
MXC IRQ initialized
MXC_Early serial console at MMIO 0x73fbc000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
console [tty1] enabled, bootconsole disabled
Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
i.MX IRAM pool: 128 KB@0x9a840000
IRAM READY
CPU is i.MX51 Revision 3.0
Using SDMA I.API
MXC DMA API initialized
IMX usb wakeup probe
IMX usb wakeup probe
bio: create slab <bio-0> at 0
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
Freescale USB OTG Driver loaded, $Revision: 1.55 $
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC HS I2C driver
IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
mc13892 Rev 2.0 FinVer 2 detected
Initializing regulators for Babbage.
regulator: SW1: 600 <--> 1375 mV at 1050 mV
regulator: SW2: 900 <--> 1850 mV at 1225 mV
regulator: SW3: 1100 <--> 1850 mV at 1200 mV
regulator: SW4: 1100 <--> 1850 mV at 1800 mV
regulator: SWBST:
regulator: VIOHI:
regulator: VPLL: 1050 <--> 1800 mV at 1800 mV
regulator: VDIG: 1650 mV
regulator: VSD: 1800 <--> 3150 mV at 3150 mV
regulator: VUSB2: 2400 <--> 2775 mV at 2600 mV
regulator: VVIDEO: 2775 mV
regulator: VAUDIO: 2300 <--> 3000 mV at 3000 mV
regulator: VCAM: 2500 <--> 3000 mV at 2600 mV fast normal
regulator: VGEN1: 1200 mV
regulator: VGEN2: 1200 <--> 3150 mV at 3150 mV
regulator: VGEN3: 1800 <--> 2900 mV at 1800 mV
regulator: VUSB:
regulator: GPO1:
regulator: GPO2:
regulator: GPO3:
regulator: GPO4:
Device spi1.0 probed
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
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
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
LPMode driver module loaded
Static Power Management for Freescale i.MX5
PM driver module loaded
sdram autogating driver module loaded
Bus freq driver module loaded
DI1 is primary
mxc_dvfs_core_probe
DVFS driver module loaded
i.MXC CPU frequency driver
DVFS PER driver module loaded
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 807
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
tve: probe of tve.0 failed with error -1
sii902x: probe of 3-0039 failed with error -1
mxc_ddc: probe of 1-0050 failed with error -1
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
Console: switching to colour frame buffer device 100x30
fbcvt: 1024x768@60: CVT Name - .786M3
mxc_ipu mxc_ipu: Channel already disabled 7
mxc_ipu mxc_ipu: Channel already uninitialized 7
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
regulator: get() with no identifier
regulator: get() with no identifier
regulator: get() with no identifier
mxci2c_wait_writefifo:wait error
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX
console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX
mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX
loop: module loaded
mxc_dataflash spi1.1: JEDEC id 000000 not handled
MXC MTD nand Driver 3.0
i.MX GPMI NFC
vcan: Virtual CAN interface driver
Freescale FlexCAN Driver
FEC Ethernet Driver
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 18, io base 0x73f80000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 14, io base 0x73f80200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN
adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
mice: PS/2 mouse device common for all mice
MXC keypad loaded
input: mxckpd as /devices/virtual/input/input0
input: mxc_power_key as /devices/virtual/input/input1
PMIC powerkey probe
DA9052 TSI Device Driver, v1.0
mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc0
mc13892 rtc probe start
pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc1
mc13892 rtc probe succeed
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: Registered device video0
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
APM Battery Driver
usb 2-1: new high speed USB device using fsl-ehci and address 2
add mma8450 i2c driver
add mma8451 i2c driver
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
VPU initialized
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 128 irq 1 PIO
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 134 irq 2 PIO
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Cirrus Logic CS42888 ALSA SoC Codec Driver
sgtl5000-i2c 1-000a: SGTL5000 revision 17
No device for DAI imx-ssi-1-0
No device for DAI imx-ssi-1-1
No device for DAI imx-ssi-2-0
No device for DAI imx-ssi-2-1
No device for DAI imx-ssi-3-0
No device for DAI imx-ssi-3-1
DMA Sound Buffers Allocated:UseIram=1 buf->addr=1ffe2000
buf->area=9a842000 size=24576
DMA Sound Buffers Allocated:UseIram=1 buf->addr=a90f0000
buf->area=fa2fa000 size=24576
asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok
mmc0: new SD card at address ad0c
mmcblk0: mmc0:ad0c SU01G 968 MiB (ro)
mmcblk0: p1
ALSA device list:
#0: imx-3stack (SGTL5000)
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
regulator_init_complete: disabling VCAM
regulator_init_complete: disabling VAUDIO
regulator_init_complete: disabling VSD
input: mxc_ts as /devices/virtual/input/input2
mxc input touchscreen loaded
mxc_rtc mxc_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
VFS: Cannot open root device "mmcblk0p1" or unknown-block(179,1)
Please append a correct "root=" boot option; here are the available
partitions:
b300 992000 mmcblk0 driver: mmcblk
b301 970752 mmcblk0p1
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(179,1)
[<80038524>] (unwind_backtrace+0x0/0xf0) from [<80409080>] (panic+0x6c/0xe0)
[<80409080>] (panic+0x6c/0xe0) from [<80008ddc>]
(mount_block_root+0x1cc/0x20c)
[<80008ddc>] (mount_block_root+0x1cc/0x20c) from [<80009028>]
(prepare_namespace+0x11c/0x174)
[<80009028>] (prepare_namespace+0x11c/0x174) from [<800084a0>]
(kernel_init+0x120/0x168)
[<800084a0>] (kernel_init+0x120/0x168) from [<800349e0>]
(kernel_thread_exit+0x0/0x8)
mmc1: Timeout waiting for hardware interrupt.
mxsdhci: ============== REGISTER DUMP ==============
mxsdhci: Sys addr: 0x00000008 | Version: 0x00001201
mxsdhci: Blk size: 0x00000008 | Blk cnt: 0x00000001
mxsdhci: Argument: 0x00000000 | Trn mode: 0x371a0000
mxsdhci: Present: 0xff880008 | Host ctl: 0x00000021
mxsdhci: Clock: 0x000010cf
mxsdhci: Int stat: 0x00000000
mxsdhci: Int enab: 0x117f013f | Sig enab: 0x117f003f
mxsdhci: Caps: 0x07f30000
mxsdhci: ===========================================

タグ(1)
0 件の賞賛
返信
1 返信

904件の閲覧回数
KrishnaPavan
Contributor II

I see that the Console in your printenv shown is tty1, I doubt it to be tty0. If you are using either a USB2Serial/DB-9 Connector.

Check it out.

0 件の賞賛
返信