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

List:       linux-arm-kernel
Subject:    Re: CDB89712 / 2.4.19-rmk4 / GCC3.2: unexpected crash
From:       Matthias Welwarsky <mwelwarsky () web ! de>
Date:       2002-11-27 13:48:05
[Download RAW message or body]

On Wednesday 27 November 2002 14:24, Stefano Costa wrote:
> On 27 Nov 2002 at 10:20, Russell King - ARM Linux wrote:
> > Weird, if that's there, then it should be initialised.
> >
> > I guess it could be another gcc 3.2 bug.
>
> But, as far as I understand, the FP module should be initialized
> early during the Linux boot process (where exactly?). I'll try to
> understand why it doesn't.

On my EVM, the boot sequence looks like this:

Linux version 2.4.19-rmk4 (matze@melap) (gcc version 2.95.3 20010315 
(release))2
CPU: ARM/TI Arm925T revision 2
Machine: DM310
Ignoring unrecognised tag 0x00000000
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/hda1 init=/test debug 
Relocating machine vectors to 0xffff0000
Calibrating delay loop... 1.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 15424KB available (539K code, 176K data, 32K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
serial_dm310_uart:Using temporary major/minor pairs - these WILL change in the 
ttyS0 at MEM 0x30380 (irq = 11) is a UART_DM310
ttyS1 at MEM 0x30400 (irq = 12) is a UART_DM310
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide0: DM310 IDE interface
hda: Hitachi CVM1.1.1, ATA DISK drive
ide0 at 0x4000800-0x4000807,0x400080e on irq 15
hda: 125184 sectors (64 MB) w/1KiB Cache, CHS=978/4/32
Partition check:
 hda: hda1
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
^^^^^
	This is the line you should be looking for...

For me, it continues like this:

 hda: hda1
 hda: hda1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 32K
init: unhandled page fault at pc=0x00025344, lr=0x00058fa0 (bad 
address=0x00000000, code 0)
pc : [<00025344>]    lr : [<00058fa0>]    Not tainted
sp : bfffff30  ip : 00000000  fp : 00000000
r10: 000516c8  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : bfffff44  r5 : 00000001  r4 : bfffff4c
r3 : 00000000  r2 : 00058eb4  r1 : 00058fa0  r0 : 00000001
Flags: nzCv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: 2171  Table: 081CC000  DAC: 00000015
Kernel panic: Attempted to kill init!

And there it dies :) Unfortunately, it nevers dies at the same address, or 
with the same fault...

regards,
	matthias


-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

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

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