From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m5-81.163.com (m5-81.163.com [202.108.5.81]) by ozlabs.org (Postfix) with SMTP id EE5CCDDF4A for ; Sun, 12 Aug 2007 00:28:35 +1000 (EST) Date: Sat, 11 Aug 2007 22:13:51 +0800 From: "poorbeyond" To: "Linux-ppc mail list" Subject: my kernel start info prompt: "Badness at arch/ppc/kernel/dma-mapping.c:345", inside the mail is the detail Message-ID: <200708112213490314532@163.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====003_Dragon301211423074_=====" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --=====003_Dragon301211423074_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit my cpu is mpc860, kernel is 2.6.20.14, use arch/ppc. the attachment is my kernel config file, is something wrong? the following is kernel start info: ^_^=>bootm 300000 ## Booting image at 00300000 ... Image Name: Linux-2.6.20.14 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 840127 Bytes = 820.4 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Current stack ends at 0x01D5DB10 => set upper limit to 0x00800000 No initrd ## Transferring control to Linux (at address 00000000) ... bootm1 Linux version 2.6.20.14 (root@localhost.localdomain) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #1 PREEMPT Sat Aug 11 19:58:59 CST 2007 I2C/SPI/SMC1 microcode patch installed. Zone PFN ranges: DMA 0 -> 2048 Normal 2048 -> 2048 early_node_map[1] active PFN ranges 0: 0 -> 2048 Built 1 zonelists. Total pages: 2032 Kernel command line: PID hash table entries: 32 (order: 5, 128 bytes) Decrementer Frequency = 187500000/60 Warning: real time clock seems stuck! cpm_uart: console: compat mode Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory: 6220k available (1264k kernel code, 536k data, 84k init, 0k highmem) Mount-cache hash table entries: 512 Zq001: start_kernel ------------[ cut here ]------------ Badness at arch/ppc/kernel/dma-mapping.c:345 Call Trace: [00205E60] [00008DB0] (unreliable) [00205E90] [000A38D8] [00205EA0] [00003D28] [00205ED0] [0000308C] [00205F90] [001A4600] [00205FA0] [000022DC] [00205FF0] [00004B40] NET: Registered protocol family 16 Generic PHY: Registered new driver NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 256 (order: 0, 4096 bytes) TCP bind hash table entries: 128 (order: -1, 2560 bytes) TCP: Hash tables configured (established 256 bind 128) TCP reno registered audit: initializing netlink socket (disabled) audit(4294836223.222:1): initialized audit: cannot initialize inotify handle io scheduler noop registered (default) Serial: CPM driver $Revision: 0.02 $ cpm_uart: WARNING: no UART devices found on platform bus! cpm_uart: the driver will guess configuration, but this mode is no longer supported. ttyCPM0 at MMIO 0xff000a80 (irq = 20) is a CPM UART RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize LXT970: Registered new driver LXT971: Registered new driver fs_enet.c:v1.0 (Aug 8, 2005) ------------[ cut here ]------------ kernel BUG at arch/ppc/kernel/dma-mapping.c:233! Oops: Exception in kernel mode, sig: 5 [#1] PREEMPT NIP: 00005644 LR: 000055F8 CTR: 00000000 REGS: 00205e90 TRAP: 0700 Not tainted (2.6.20.14) MSR: 00029032 CR: 55222253 XER: A000247F TASK = 00202ba0[1] 'swapper' THREAD: 00204000 GPR00: 00400165 00205F40 00202BA0 001DFBA4 00000000 00000BDA 0025BFFC 00000000 GPR08: 00162648 00000001 00401000 00400164 00000000 41082205 02000000 00000001 GPR16: 00000000 01FFFA54 FFFFFFFF 00000000 00800000 007FFF00 01FFAA14 00205F78 GPR24: 005FF000 00160000 00000000 001DFB80 00001000 001D8000 00223F60 001DFB60 Call Trace: [00205F40] [000055C8] (unreliable) [00205F70] [001A51C4] [00205FA0] [000022DC] [00205FF0] [00004B40] Instruction dump: 38632658 481348c5 7fc3f378 480521fd 7fe3fb78 7f44d378 48042929 48000078 801d0000 5400066e 3160ffff 7d2b0110 <0f090000> 38000400 7d20f828 7d290378 Kernel panic - not syncing: Attempted to kill init! <0>Rebooting in 180 seconds.. poorbeyond 2007-08-11 --=====003_Dragon301211423074_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
my cpu is mpc860, kernel is 2.6.20.14, use arch/ppc.
 
the attachment is my kernel config file, is something wrong?
 
the following is kernel start info:
 
 
^_^=>bootm 300000
 
## Booting image at 00300000 ...
   Image Name:   Linux-2.6.20.14
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    840127 Bytes = 820.4 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Current stack ends at 0x01D5DB10 => set upper limit to 0x00800000
No initrd
## Transferring control to Linux (at address 00000000) ...
bootm1
Linux version 2.6.20.14 (root@localhost.localdomain) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #1 PREEMPT Sat Aug 11 19:58:59 CST 2007
I2C/SPI/SMC1 microcode patch installed.
Zone PFN ranges:
  DMA             0 ->     2048
  Normal       2048 ->     2048
early_node_map[1] active PFN ranges
    0:        0 ->     2048
Built 1 zonelists.  Total pages: 2032
Kernel command line:
PID hash table entries: 32 (order: 5, 128 bytes)
Decrementer Frequency = 187500000/60
Warning: real time clock seems stuck!
cpm_uart: console: compat mode
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 6220k available (1264k kernel code, 536k data, 84k init, 0k highmem)
Mount-cache hash table entries: 512
Zq001: start_kernel
------------[ cut here ]------------
Badness at arch/ppc/kernel/dma-mapping.c:345
Call Trace:
[00205E60] [00008DB0]  (unreliable)
[00205E90] [000A38D8]
[00205EA0] [00003D28]
[00205ED0] [0000308C]
[00205F90] [001A4600]
[00205FA0] [000022DC]
[00205FF0] [00004B40]
NET: Registered protocol family 16
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 256 (order: 0, 4096 bytes)
TCP bind hash table entries: 128 (order: -1, 2560 bytes)
TCP: Hash tables configured (established 256 bind 128)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(4294836223.222:1): initialized
audit: cannot initialize inotify handle
io scheduler noop registered (default)
Serial: CPM driver $Revision: 0.02 $
cpm_uart: WARNING: no UART devices found on platform bus!
cpm_uart: the driver will guess configuration, but this mode is no longer supported.
ttyCPM0 at MMIO 0xff000a80 (irq = 20) is a CPM UART
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
LXT970: Registered new driver
LXT971: Registered new driver
fs_enet.c:v1.0 (Aug 8, 2005)
------------[ cut here ]------------
kernel BUG at arch/ppc/kernel/dma-mapping.c:233!
Oops: Exception in kernel mode, sig: 5 [#1]
PREEMPT
NIP: 00005644 LR: 000055F8 CTR: 00000000
REGS: 00205e90 TRAP: 0700   Not tainted  (2.6.20.14)
MSR: 00029032 <EE,ME,IR,DR>  CR: 55222253  XER: A000247F
TASK = 00202ba0[1] 'swapper' THREAD: 00204000
GPR00: 00400165 00205F40 00202BA0 001DFBA4 00000000 00000BDA 0025BFFC 00000000
GPR08: 00162648 00000001 00401000 00400164 00000000 41082205 02000000 00000001
GPR16: 00000000 01FFFA54 FFFFFFFF 00000000 00800000 007FFF00 01FFAA14 00205F78
GPR24: 005FF000 00160000 00000000 001DFB80 00001000 001D8000 00223F60 001DFB60
Call Trace:
[00205F40] [000055C8]  (unreliable)
[00205F70] [001A51C4]
[00205FA0] [000022DC]
[00205FF0] [00004B40]
Instruction dump:
38632658 481348c5 7fc3f378 480521fd 7fe3fb78 7f44d378 48042929 48000078
801d0000 5400066e 3160ffff 7d2b0110 <0f090000> 38000400 7d20f828 7d290378
Kernel panic - not syncing: Attempted to kill init!
 <0>Rebooting in 180 seconds..
 
 
 

poorbeyond
2007-08-11
--=====003_Dragon301211423074_=====--