[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20110705161446.58715srfeew0rxk0@www.tsda.com.br>
Date: Tue, 05 Jul 2011 16:14:46 -0300
From: cassius@...a.com.br
To: linux-kernel@...r.kernel.org
Cc: eduardo.dodo@...it.com
Subject: opps Bug
Hi, I have some problems running my application on embeeded Linux. The
following text report Linux start-up.
************************************************************************
CRC ok loading custom env
U-Boot 1.2.0 (Aug 18 2010 - 12:16:10)- 221 Telit
DRAM: 64 MB
Bank #1
Flash:NAND Numonyx NAND01G-B2C 128MB 1.8V 8-bit
Hardware ECC (ECC data size = 512 bytes)
Nb min erasable unit: 1024
min erasable Size: 131072
Size=134217728 bytes
Logical address: 0x40000000
No bad block detected
Area 0: 40000000 to 403BFFFF (RO) Primary Bootstrap
Area 1: 403C0000 to 4043FFFF (RO) U-Boot code
Area 2: 40440000 to 404BFFFF (RO) U-Boot Environment
Area 3: 404C0000 to 407BFFFF User Area 1
Area 4: 407C0000 to 47FFFFFF User Area 2Size=134217728 bytes
usbser: usb device port not connected, usb console disabled
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
Reading from Flash... done
## Booting image at 20200000 ...
Image Name: Linux-2.6.24-rc5-rt1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1080936 Bytes = 1 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing
Linux........................................................................
done, booting the kernel.
Linux version 2.6.24-rc5-rt1 (cassius@...sius-pc) (gcc version 4.2.1)
#130 PREEMPT RT Tue Jul 5 15:17:01 BRT 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Telit CS1275
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 200 MHz, master 100 MHz, main 6.000 MHz
Clocks: MCK 100 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Real-Time Preemption Support (C) 2004-2007 Ingo Molnar
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyS0,115200 mem=64M ver=4384k
icofat=257k rootfstype=jffs2 root=/dev/mtdblock1 rw
mtdparts=at91_nand:7936k(ARMboot)ro,-@...6k(root)
WARNING: experimental RCU implementation.
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62592KB available (1952K code, 213K data, 108K init)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 76 bytes
NET: Registered protocol family 16
AT91: Power Management (with slow clock mode)
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 3, 57344 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
krcupreemptd setsched 0
prio = 98
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
io scheduler anticipatory registered
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = 8) is a ATMEL_SERIAL
atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
atmel_usart.5: ttyS5 at MMIO 0xfffd4000 (irq = 24) is a ATMEL_SERIAL
atmel_usart.6: ttyS6 at MMIO 0xfffd8000 (irq = 25) is a ATMEL_SERIAL
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET: Registered protocol family 24
NAND device: Manufacturer ID: 0x20, Chip ID: 0xa1 (Numonyx NAND 128MB
1,8V 8-bit)
AT91 NAND: 8-bit, Hardware Syndrome ECC (ECC data size = 512 bytes)
Scanning device for bad blocks
2 cmdlinepart partitions found on MTD device at91_nand
Creating 2 MTD partitions on "at91_nand":
0x00000000-0x007c0000 : "ARMboot"
0x007c0000-0x08000000 : "root"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
m25p80 spi0.0: unrecognized JEDEC id 000000
m25p80 spi0.2: unrecognized JEDEC id 000000
m25p80 spi0.3: unrecognized JEDEC id 000000
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
AT91SAM9 Real Time Clock driver.
at91sam9_wdt: invalid timeout (must be between 1 and 16)
TCP cubic registered
tc_clksrc: tc1 at 12.500 MHz
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 108K
Setting DMA Console
init started: BusyBox v1.6.0 (2011-06-27 15:35:06 BRT) multi-call binary
starting pid 240, tty '': '/etc/init.d/rcS'
Initializing mdev dynamic device directory ... done
AT91SAM9 Watchdog disabled
Watchdog card disabled.
Configurando UART's ...[OK][OK]
Instalando inodes ...AT91SAM9260 GPIO register major 253
adc_major = 251
instala gpio ...sai gpio ...[OK]
Iniciando Ethernet ...MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:00:00:00:00:00)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
[OK]
Iniciando Eth0 ...[OK]
Iniciando Loopback ...[OK]
Iniciando Usb ...usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
[OK]
Iniciando Usb0 ...udc: at91_udc version 3 May 2006
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using at91_udc, OUT ep2 IN ep1 STATUS ep4
usb0: MAC 62:37:34:f0:11:db
usb0: HOST MAC aa:37:e6:49:ae:7f
usb0: RNDIS ready
[OK]
Iniciando SSH ...[OK]
Iniciando Roteador ...[OK]
Testando serial de aplicacao ...[OK]
Iniciando servidor ...[OK]
eth0: link up (100/Full)
Configuirando modulos do IPTables ... [OK]
atualizando net_switch ...cat: can't open '/etc/TSDA/net_switch2': No
such file or directory
sh: 0: unknown operand
aguardando net switch setar rede ...Tue Jul 5 18:21:54 UTC 2011
Iniciando OpenVPN ...tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@...lcomm.com>
[OK]
Iniciando Watchdog ...[OK]
/etc/init.d/S03: line 3: /usr/sbin/otafs: not found
starting pid 635, tty '/dev/console': '/bin/sh'
#
***************************************************************************
At this point everthing runs OK. But suddently happens the following error:
***************************************************************************
Unable to handle kernel paging request at virtual address 40000080
pgd = c0004000
[40000080] *pgd=00000000
stopped custom tracer.
Internal error: Oops: 0 [#1] PREEMPT
Modules linked in: tun g_ether at91_udc ohci_hcd usb_storage usbcore
macb adc aquisicao_dev at91sam9260_gpio atmel_gpio
CPU: 0 Not tainted (2.6.24-rc5-rt1 #130)
pc : [<40000080>] lr : [<00000000>] psr: 60000013
sp : c3fc3ea4 ip : c3fc3eb4 fp : c3fc3eb0
r10: 40080000 r9 : c3fe9000 r8 : 40080000
r7 : 0047fda0 r6 : c3fe9000 r5 : 40080000 r4 : bfe43000
r3 : 60000093 r2 : 60000013 r1 : 00000000 r0 : c02c2da0
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 23f9c000 DAC: 00000015
Process pidof (pid: 816, stack limit = 0xc3fc2258)
Stack: (0xc3fc3ea4 to 0xc3fc4000)
3ea0: c3fc3eec c3fc3eb4 c00761c4 c006b3d4 4007ffff c3fc3f2c c022a940
3ec0: 4007ffff c3e673c0 00000000 c3d57470 c3fc3f2c 00000001 00001000 00000000
3ee0: c3fc3f1c c3fc3ef0 c00763e8 c007609c be9b2000 c3fc3f2c c3e673c0 00000000
3f00: c3fcf128 c0024044 c3fc2000 be9c6ea4 c3fc3f4c c3fc3f20 c0077944 c0076310
3f20: c3fc3f28 00000000 00000037 c022a940 c3e673c0 c3c47914 c3c476a0 00000001
3f40: c3fc3f60 c3fc3f50 c0037adc c00778a0 c3e673c0 c3fc3f7c c3fc3f64 c003bd48
3f60: c0037aac 00000001 c3c476a0 00000000 c3fc3f94 c3fc3f80 c003d3bc c003bc40
3f80: 00000000 00000000 c3fc3fa4 c3fc3f98 c003d948 c003d228 00000000 c3fc3fa8
3fa0: c0023ea0 c003d940 4007b33c 00000000 00000000 4007d564 00000004 4007b1a0
3fc0: 4007b33c 00000000 00000000 4007aec8 be9c6ea4 00000002 be9c6ea4 0000ca08
3fe0: 00000000 be9c6c68 4006bae8 400474c4 60000010 00000000 00000000 00000000
Backtrace:
Function entered at [<c006b3c4>] from [<c00761c4>]
Function entered at [<c007608c>] from [<c00763e8>]
Function entered at [<c0076300>] from [<c0077944>]
Function entered at [<c0077890>] from [<c0037adc>]
r7:00000001 r6:c3c476a0 r5:c3c47914 r4:c3e673c0
Function entered at [<c0037a9c>] from [<c003bd48>]
r4:c3e673c0
Function entered at [<c003bc30>] from [<c003d3bc>]
r6:00000000 r5:c3c476a0 r4:00000001
Function entered at [<c003d218>] from [<c003d948>]
Function entered at [<c003d930>] from [<c0023ea0>]
Code: 00008000 00000002 00004f1c 0000cf1c (0000cf1c)
Fixing recursive fault but reboot is needed!
***************************************************************************
Please, is there anyone who can help me solve this crash?
following in attached the system.map.
Thanks
Cassius Murad
Download attachment "System.map" of type "application/octet-stream" (546765 bytes)
Powered by blists - more mailing lists