Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Kernel panic after the update

Altera_Forum
Honored Contributor II
1,615 Views

Hi all,  

after the source update with "./update" in nios2-linux dir, I have this error : 

Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.30 (campo@enterprise) (gcc version 3.4.6)# 10 PREEMPT Tue Jul 7 18:12:54 CEST 2009 uClinux/Nios II Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064 Kernel command line: NR_IRQS:32 PID hash table entries: 64 (order: 6, 256 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 14148k/1949k RAM, 0k/0k ROM (1633k kernel code, 316k data) Calibrating delay loop... 24.57 BogoMIPS (lpj=122880) Mount-cache hash table entries: 512 net_namespace: 264 bytes NET: Registered protocol family 16 init_BSP(): registering device resources bio: create slab <bio-0> at 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered NET: Registered protocol family 1 io scheduler noop registered io scheduler deadline registered (default) ttyJ0 at MMIO 0x21208b0 (irq = 1) is a Altera JTAG UART console enabled smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org> eth0: SMC91C11xFD (rev 1) at 82110300 IRQ 6 eth0: Invalid ethernet MAC address.  Please set using ifconfig dm9000 Ethernet Driver, V1.31 TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. List of all partitions: No filesystem could mount root, tried: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 

 

I have tryed to delete the romfs dir but it didn&#39;t work (I&#39;ve read this (http://www.nioswiki.com/operatingsystems/uclinux/uclinuxdist/initramfsupdate) ). Has anyone resolved this error ?
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
861 Views

I&#39;ve resolved. Sorry for the useless post

0 Kudos
Altera_Forum
Honored Contributor II
861 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
861 Views

When I&#39;ve compiled the kernel I gave : 

 

1) make (compile the kernel ) 

2) make romfs ( create the ROM filesystem into romfs/ folder ) 

3) make ( I think it merge the kernel with the romfs ) 

 

0 Kudos
Altera_Forum
Honored Contributor II
861 Views

 

 

Hi combo i solved the problem.Thanks for info. 

problem is due to combiler. 

 

 

 

<div class='quotetop'>QUOTE (campo85 @ Aug 1 2009, 07:27 AM) <{post_snapback}> (index.php?act=findpost&pid=23364)</div> 

--- Quote Start ---  

When I&#39;ve compiled the kernel I gave : 

 

1) make (compile the kernel ) 

2) make romfs ( create the ROM filesystem into romfs/ folder ) 

3) make ( I think it merge the kernel with the romfs )[/b] 

--- Quote End ---  

 

0 Kudos
Reply