[prev in list] [next in list] [prev in thread] [next in thread] 

List:       etux
Subject:    Kernel panic after mounting local filesystem
From:       stephen.ossenkop () mchsi ! com
Date:       2005-08-05 13:48:49
Message-ID: 080520051348.27749.42F36E410000530100006C6521979267619F0105020A9C9C01D2020A089F0A9B9C () mchsi ! com
[Download RAW message or body]

I am getting a kernel panic when my PPC440-GX eval board comes up and tries to
mount it local filesystem. There are also some segfaults occuring. The board is
a custom port of linux to an AVNET 440gx evaluation board.


Here's the output from the bootup process, starting at u-boot.

avnet=> bootm
## Booting image at 01000000 ...
   Image Name:   Linux-2.6.11-timesys.1custom
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1225634 Bytes =  1.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
r3(7ffe50) r6(7fff00) r7(7fff21)
id mach(): done
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
ocp: exit
arch: exit
r3(7ffe50) r4(0) r5(0) r6(7fff00) r7(7fff21)
sizeof(struct bd_info) == ac
Linux version 2.6.11-timesys.1custom (root@accord) (gcc version 3.4.1 20040714
(TimeSys 3.4.1-7)) #89 Fri Aug 5 07:40:07 CDT 2005
Avnet port 
before memmap_init
after memmap_init
exiting  free_area_init_core
Built 1 zonelists
Kernel command line: ip=on console=ttyS1,19200 
PID hash table entries: 2048 (order: 11, 32768 bytes)
ibm44x_calibrate_decr
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256896k available (1856k kernel code, 528k data, 300k init, 0k highmem)
Calibrating delay
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
             
PCI: Probing PCI hardware
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing enabled
ttyS0 at MMIO 0xfdfed200 (irq = 0) is a 16550A
ttyS1 at MMIO 0xfdfec300 (irq = 1) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
mal0: Initialized, 4 tx channels, 4 rx channels
emac: IBM EMAC Ethernet driver, version 2.0
Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>
zmii0: input 2 in SMII mode
rgmii0: input 0 in RGMII mode
eth0: IBM emac, MAC 00:02:b5:01:90:3c
eth0: Found Generic MII PHY (0x10)
zmii0: input 3 in SMII mode
rgmii0: input 1 in RGMII mode
eth1: IBM emac, MAC 00:02:b5:01:90:3d
eth1: Found Generic MII PHY (0x18)
Flash Configuration 3
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
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)
NET: Registered protocol family 1
NET: Registered protocol family 17
Sending DHCP requests .<6>eth0: Link is Up
eth0: Speed: 100, Full duplex.
., OK
IP-Config: Got DHCP answer from 10.128.20.1, my address is 10.128.20.5
IP-Config: Complete:
      device=eth0, addr=10.128.20.5, mask=255.0.0.0, gw=255.255.255.255,
     host=10.128.20.5, domain=, nis-domain=(none),
     bootserver=10.128.20.1, rootserver=10.128.20.1, rootpath=/opt/io_root_fs
Looking up port of RPC 100003/2 on 10.128.20.1
Looking up port of RPC 100005/1 on 10.128.20.1
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 300k init
INIT: version 2.84 booting
Executing first boot commands
mount: directory to mount not in host:dir format
mount: directory to mount not in host:dir format

		Welcome to TimeSys release 1.0 (distbuilder)

Mounting... tmpfs at /dev/:  [  OK  ]Making extra nodes:  [  OK  ]
Starting udev:  [  OK  ]
Initializing hardware...  storage network audio done[  OK  ]
raidautorun: failed to open /dev/md0: 6
Configuring kernel parameters:  [  OK  ]
Timed out waiting for time change.
Setting clock : Thu Jan  1 00:00:21 UTC 1970 [  OK  ]
Setting hostname timesys-bsp:  /etc/rc.d/rc.sysinit: line 309:   778
Segmentation fault      initlog $INITLOG_ARGS -c "$*"
[FAILED]
Remounting root filesystem in read-write mode:  [  OK  ]
Checking filesystems
Checking all file systems.
[  OK  ]
Mounting local filesystems:  [  OK  ]
Oops: kernel access of bad area, sig: 11 [#1]
PREEMPT 
NIP: C0003A84 LR: C000854C SP: CF5DDA70 REGS: cf5dd9c0 TRAP: 0300    Not tainted
MSR: 00021000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
DAR: D0000000, DSISR: 00000000
TASK = cfb400d0[825] 'touch' THREAD: cf5dc000
Last syscall: 6 
GPR00: C0008C40 CF5DDA70 CFB400D0 D0000000 07FFFFD0 0000001F 00000001 00000700 
GPR08: 00000002 0F5D7000 FF102000 C0280000 24002488 1002011C 100BE188 1000672C 
GPR16: 10020000 D1050C00 00029000 00000000 00000001 00000045 00021000 00000001 
GPR24: 00000001 C0492AE0 000004F0 00000000 FFFFF9E0 CF5D7B10 FFFFF9E0 CF5DC000 
NIP [c0003a84] clean_dcache_range+0x1c/0x30
LR [c000854c] __dma_sync+0x74/0x84
Call trace:
 [c0008c40] __dma_sync_page+0x178/0x1f8
 [c0144e68] emac_start_xmit+0x2dc/0x42c
 [c01734fc] qdisc_restart+0x94/0x2ac
 [c01664c0] dev_queue_xmit+0x27c/0x350
 [c017f904] ip_finish_output+0xf8/0x294
 [c0180380] ip_fragment+0x3bc/0x6b4
 [c01818a0] ip_push_pending_frames+0x2ac/0x420
 [c019f1ac] udp_push_pending_frames+0x110/0x1d0
 [c019fa34] udp_sendpage+0x100/0x184
 [c01a7dd0] inet_sendpage+0x90/0xb8
 [c01c5eb8] xdr_sendpages+0xf4/0x270
 [c01bb4c0] xprt_transmit+0x128/0x4fc
 [c01b907c] call_transmit+0x174/0x21c
 [c01bd6b0] __rpc_execute+0x9c/0x38c
 [c00d592c] nfs_execute_write+0x3c/0x60
Kernel panic - not syncing: Aiee, killing interrupt handler!
 <0>Rebooting in 180 seconds..

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic