- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
If anyone knows how to resolve this ...kernel panic......issue....here is the error message...... ******************************************************************************** *** debian-dell-p3:~# kermit -c Connecting to /dev/ttyS0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- Using MAC Address 00:07:FFFFFFED:0C:04:FFFFFFBD host 10.0.0.1 is alive DK1S40 ==> bdinfo mem start = 0x01000000 mem size = 0x01000000 flash start = 0x00000000 flash size = 0x00800000 flash offset= 0x00000000 sram start = 0x02000000 sram size = 0x00100000 ethaddr = 00:07:ED:0C:04:BD ip_addr = 10.0.0.51 baudrate = 115200 bps DK1S40 ==> setenv bootfile /tftpboot/uImage DK1S40 ==> printenv baudrate=115200 ethaddr=00:07:ed:0c:04:bd ipaddr=10.0.0.51 serverip=10.0.0.1 netmask=255.0.0.0 stdin=serial stdout=serial stderr=serial bootfile=/tftpboot/uImage Environment size: 162/65532 bytes DK1S40 ==> setenv bootargs root=/opt/nios2development rw nfsroot=10.0.0.1:/tftpboot/10.0.0.51 DK1S40 ==> printenv baudrate=115200 ethaddr=00:07:ed:0c:04:bd ipaddr=10.0.0.51 serverip=10.0.0.1 netmask=255.0.0.0 stdin=serial stdout=serial stderr=serial bootfile=/tftpboot/uImage bootargs=root=/opt/nios2development rw nfsroot=10.0.0.1:/tftpboot/10.0.0.51 Environment size: 238/65532 bytes DK1S40 ==> saveenv Saving Environment to Flash... Un-Protected 1 sectors Erasing Flash... .. Erased 1 sectors Writing to Flash... done Protected 1 sectors DK1S40 ==> tftpboot 1100000 uImage Using MAC Address 00:07:FFFFFFED:0C:04:FFFFFFBD TFTP from server 10.0.0.1; our IP address is 10.0.0.51 Filename 'uImage'. Load address: 0x1100000 Loading:# ################################################################# ################################################################# ######### done Bytes transferred = 715524 (aeb04 hex) DK1S40 ==> imi 1100000 # # Checking Image at 01100000 ... Image Name: Linux Kernel Image Image Type: Nios-II Linux Kernel Image (gzip compressed) Data Size: 715460 Bytes = 698.7 kB Load Address: 01000000 Entry Point: 01000000 Verifying Checksum ... OK DK1S40 ==> bootm 1100000# # Booting image at 01100000 ... Image Name: Linux Kernel Image Image Type: Nios-II Linux Kernel Image (gzip compressed) Data Size: 715460 Bytes = 698.7 kB Load Address: 01000000 Entry Point: 01000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Linux version 2.6.11-uc0-barco1 (root@debian-dell-p3) (gcc version 3.4.3 (Barco Control Rooms))# 2 Sat Jul 2 11:40:34 EDT 2005 uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: CONSOLE=/dev/ttyS0 noinitrd ip=bootp root=/dev/nfs rw PID hash table entries: 128 (order: 7, 2048 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 14464k/16384k RAM, 0k/0k ROM (1524k kernel code, 215k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au) devfs: devfs_debug: 0x0 devfs: boot_options: 0x1 NIOS serial driver version 0.0 ttyS0 (irq = 4) is a builtin NIOS UART io scheduler noop registered io scheduler cfq registered smc_probe: 50000 Khz Nios SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6) eth0: SMC91C11xFD(rev:1) at 0x82110300 IRQ:6 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07:ed:0c:04:bd smc_probe: 50000 Khz Nios NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes 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) NET: Registered protocol family 1 NET: Registered protocol family 17 eth0:PHY 100BaseT eth0:PHY Full Duplex Sending BOOTP requests . OK IP-Config: Got BOOTP answer from 10.0.0.1, my address is 10.0.0.51 IP-Config: Complete: device=eth0, addr=10.0.0.51, mask=255.0.0.0, gw=10.0.0.1, host=nios2, domain=nios2.net, nis-domain=(none), bootserver=10.0.0.1, rootserver=10.0.0.1, rootpath=/opt/nios2development Looking up port of RPC 100003/2 on 10.0.0.1 Looking up port of RPC 100005/1 on 10.0.0.1 VFS: Mounted root (nfs filesystem). mount_devfs_fs(): unable to mount devfs, err: -2 Freeing unused kernel memory: 68k freed (0x1190000 - 0x11a0000) Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. ******************************************************************************** *** Regards,Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like you're trying to use DEV_FS and it can't mount itself. Since you're using a romfs partition, my first guess is that the /dev directory doesn't exist and the DEV_FS subsystem can't create it. So try adding /dev to your fs, re-build, re-upload the filesystem, and try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, how do you build a cross compiler environment in linux host pc? Please give us some tips/steps.
what is kermit -c in ?debian-dell-p3:~# kermit -c
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page