LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 06-18-2008, 10:28 PM   #1
JammyWei
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Question error when boot the linux kernel:Internal error: Oops: 7 [#1]


i download the kernel image(mImage) using u-boot to my demo-board,after rseting,u-boot autoboot the kernel from the right addaress and umcomressing it normally.The kernel recognize the derivers and hardware needed,but when running the kernel,erro occurs.

the massege typing is following:

reset




U-Boot 1.2.0 (Jun 18 2008 - 17:01:31) Micrel 1.0



RAM Configuration:

Bank #0: 00000000 32 MB

Flash: 8 MB

In: serial

Out: serial

Err: serial

Hit any key to stop autoboot: 10  9  8  7  6  5  4  3  2  1  0

## Booting image at 02030000 ...

Image Name: Kernel-Ramdisk-Image

Image Type: ARM Linux Multi-File Image (uncompressed)

Data Size: 2805584 Bytes = 2.7 MB

Load Address: 00008000

Entry Point: 00008000

Contents:

Image 0: 792476 Bytes = 773.9 kB

Image 1: 2013096 Bytes = 1.9 MB

Verifying Checksum ... OK

OK

Relocate RAMDISK from 0x20f17e8 to 0x1700000 by 0x1eb7a8 bytes



Starting kernel ...



Uncompressing Linux................................................... done, booting the kernel.

Linux version 2.6.9-Centaur (gcc version 3.4.0 20040409 (CodeSourcery ARM Q1 2004))

CPU: ARM922Tid(wb) [41029220] revision 0 (ARMv4T)

CPU: D VIVT write-back cache

CPU: I cache: 8192 bytes, associativity 64, 32 byte lines, 4 sets

CPU: D cache: 8192 bytes, associativity 64, 32 byte lines, 4 sets

Machine: Micrel Centaur

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists

Kernel command line: console=ttyAM0,9600

PID hash table entries: 256 (order: 8, 4096 bytes)

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

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory: 32MB = 32MB total

Memory: 28808KB available (1333K code, 180K data, 76K init)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

CPU: Testing write buffer coherency: ok

checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

Freeing initrd memory: 1965K

NET: Registered protocol family 16

PCI: bus0: Fast back to back transfers disabled

NetWinder Floating Point Emulator V0.97 (double precision)

JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.

Serial: Micrel Centaur UART driver version: 2.6.1.1

ttyAM0 at MMIO 0x3ff0000 (irq = 8) is a KS8695

RAMDISK driver initialized: 16 RAM disks of 6656K size 1024 blocksize

PPP generic driver version 2.4.2

NET: Registered protocol family 24

eth info: Micrel KS8695P Ethernet Network Driver, version 1.0.0.23, Copyright (c) 2002-2006 Micrel, Inc.

eth info: Icache mode = roundrobin

eth info: VA = 0xf03ff000, PA=0x03ff0000

eth info: VA = 0xf03ff000, PA=0x03ff0000

physmap flash device: 400000 at 2000000

phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

cmdlinepart partition parsing not available

RedBoot partition parsing not available

Using physmap partition definition

Creating 4 MTD partitions on "phys_mapped_flash":

0x00000000-0x00030000 : "Boot Loader"

0x00030000-0x00110000 : "OS Kernel"

0x00110000-0x003a0000 : "Ramdisk"

0x003a0000-0x00800000 : "File System"

NET: Registered protocol family 2

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 4096)

ip_conntrack version 2.1 (256 buckets, 2048 max) - 308 bytes per conntrack

ip_tables: (C) 2000-2002 Netfilter core team

NET: Registered protocol family 1

NET: Registered protocol family 17

Bridge firewalling registered

RAMDISK: Compressed image found at block 0

VFS: Mounted root (ext2 filesystem).

Fri Feb 9 12:00:00 UTC 2007

Centaur Home Gateway, Micrel, Inc., Copyright (C) February 9, 2007.

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = c03d8000

[00000000] *pgd=003cf011, *pte=00000000, *ppte=00000000

Internal error: Oops: 7 [#1]

Modules linked in:

CPU: 0

pc : [<c002d69c>] lr : [<00000000>] Not tainted

sp : c03c1be8 ip : c03c1c14 fp : c03c1c10

r10: 00000003 r9 : 00000000 r8 : 00000000

r7 : 00000001 r6 : c01e7e94 r5 : c01e7e40 r4 : 60000013

r3 : 00000000 r2 : 00000001 r1 : 00000003 r0 : c01e7e94

Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment user

Control: 717F Table: 003D8000 DAC: 00000015

Process mount (pid: 22, stack limit = 0xc03c0190)

Stack: (0xc03c1be8 to 0xc03c2000)

1be0: 60000013 c01e7e40 c017fcc0 c01e7e78 00000000 00000000

1c00: c01e7e78 c03c1c28 c03c1c14 c002d71c c002d684 00000000 003a0000 00000400

1c20: c03c1c2c c00e35b0 c002d700 00000400 003a0000 c01e7e40 00000400 c017fcc0

1c40: 00000000 c00e38b0 c03c0000 c004b8f4 c01e7e40 003a0000 003a0000 00000000

1c60: c01e7e40 c01969a0 00000000 c18ee200 00000000 c03c1cbc c03d7000 c03d7000

1c80: c01eb2b4 00000400 c00df228 c03c1cbc c03d7000 c004f500 00000001 c03c1cbc

1ca0: 00000400 c01eb294 c03d6000 c01eb200 c009bae8 c03c1cbc c03d7000 00000000

1cc0: c01eba00 00000000 c009c0fc 00000001 00000000 00000001 00000000 c017b0b0

1ce0: 000000d0 c03c0000 c004b8f4 00000000 00000000 c1a07360 00000010 07bfa480

1d00: c01969a0 00000000 00000000 c01969a0 ffffffff 00001000 00000000 00000000

1d20: 00000000 c03d7000 c01969ac 00000000 c004f500 00000001 60000013 c01eba00

1d40: c01eb2ec c01eb28c c01eb294 c01eb29c c01eb2a4 00000000 c01eb2b4 c01eb200

1d60: c009f47c c01eb2dc c01eb2d4 c01eb2cc c01eb2c4 c01eb2ac c01eb2bc 00000000

1d80: c00aa78c c00ad370 00000000 c01eba00 00460000 c01eb200 c01eae00 00000003

1da0: c03d5000 c03c1f20 c00a1504 c01eae00 c01eb200 00000000 c03d5000 c01eba00

1dc0: c00a1aa0 ffffffea c03d4000 c03c1de4 00000000 c017d928 c00a1c60 c01eba00

1de0: c19052a0 c16912b8 c19052a0 00000001 c006ad94 c191b007 00000001 00000001

1e00: 00000000 c191b007 c1814420 c1814420 c1905f00 c03d4000 00000000 c03d5000

1e20: c03d5000 c1905f00 fffffff4 c03d4000 00000000 c03d5000 c03d5000 c017d928

1e40: c00655a8 c191b000 00000000 00000000 c03d4000 c03d1000 00000000 c007a0ac

1e60: c16f33fc c16912b8 c01eb400 c03c1ebc c19052a0 c16912b8 c16f33fc c0075eac

1e80: c16912b8 c03c1f0c c03c1eb4 00000060 00001000 00000000 00000100 00000000

1ea0: c0067908 00001000 00000000 00000000 485870e0 c03c1ee0 c004e1e4 00000000

1ec0: 4858706a 0000003c 00000000 c1963eec c1963eec c1a18240 0000002f c0023f4c

1ee0: c004b3c8 c017ae30 00000000 c017ae20 c017ad44 00000001 00000002 00000001

1f00: 00000000 c004b688 60000093 60000013 00001522 00000001 00000000 00000001

1f20: c16913d0 c19052a0 000000d0 c03c0000 c004b8f4 00000001 00000001 00000000

1f40: 00000010 c03d8000 00000000 00054050 c191b000 c03c1f88 c001dd84 c03c0000

1f60: 00000000 00000000 c191b000 c0ed0000 c001dd84 c03c0000 beffff81 00054050

1f80: c007a6e0 c03d5000 c03d5000 c03d4000 c03d1000 00054050 00000001 00054060

1fa0: 00000015 c001dc00 00054050 c001dbd4 00054060 00056088 beffff81 c0ed0000

1fc0: 00054050 00000001 00054060 00000000 00056088 c0ed0000 beffff81 00054050

1fe0: 40104ed0 befffc88 0003268c 40104edc 60000010 00054060 ffff7bff ffffffff

Backtrace:

Code: e1a08003 e59b9004 e590e000 e15e0000 (e59e5000)

<0>Kernel panic - not syncing: Aiee, killing interrupt handler!

***************************************************************

i find some similar problems on internet,the oops error may be due

to bad kernel poiter,but more detailed information is required to

solve the problem.

does anyone encountered some similar problem?

or does anyone knows how the error occurs?

could you please email me to JammyWei83@hotmail.com

thank you very much for help
 
Old 06-19-2008, 03:10 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,474

Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by JammyWei View Post


i find some similar problems on internet,the oops error may be due

to bad kernel poiter,but more detailed information is required to

solve the problem.

does anyone encountered some similar problem?

or does anyone knows how the error occurs?
A common cause of this type of error is to have a module left out of the link. That leaves a zero pointer to the missing module. If the kernel attempts to branch to the missing module it branches to location 0 which is what it seems to have done. Whether a missing module is the cause or not is easily checked. Look in your kernel link for an undefined reference.

-------------------------
Steve Stites
 
Old 06-25-2008, 02:23 AM   #3
JammyWei
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
A common cause of this type of error is to have a module left out of the link. That leaves a zero pointer to the missing module. If the kernel attempts to branch to the missing module it branches to location 0 which is what it seems to have done. Whether a missing module is the cause or not is easily checked. Look in your kernel link for an undefined reference.

-------------------------
Steve Stites
Quote:
Originally Posted by jailbait View Post
A common cause of this type of error is to have a module left out of the link. That leaves a zero pointer to the missing module. If the kernel attempts to branch to the missing module it branches to location 0 which is what it seems to have done. Whether a missing module is the cause or not is easily checked. Look in your kernel link for an undefined reference.

-------------------------
Steve Stites

in file "Module.symvers" i find some unnormal things,all the founction have the zero address:

...................................
0x00000000 kmem_cache_size vmlinux
0x00000000 kobject_get_path vmlinux
0x00000000 inet_ioctl vmlinux
0x00000000 class_device_create_file vmlinux
0x00000000 generic_read_dir vmlinux
0x00000000 dentry_unhash vmlinux
0x00000000 sys_lseek vmlinux
....................................

it may be the cause of missing module.

but what may cause the zero addrress?which Macro did i foget to set except the following?

ZRELADDR := $(zreladdry)
PARAMS_PHYS := $(params_physy)
INITRD_PHYS := $(initrd_physy)
 
  


Reply

Tags
boot, error, oops


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
login error can's start session due to internal error wiisikke Fedora 3 05-11-2010 01:29 AM
2.6 kernel OOPS error code: 817 sjjung Linux - Kernel 0 09-24-2006 08:42 PM
XFS internal error after upgrading kernel to 2.6.17.13 crisostomo_enrico Slackware 3 09-11-2006 07:46 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Kernel Oops (error message) DigiCrime Linux - Software 1 02-09-2004 05:07 PM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration