Hello,
I got problems with TS7400 linux. My application heavily uses
/dev/ttyTS0 (mostly 2byte write, select, 2 byte reply, as fast as
possible_. After same time running, I start getting page faults from
various applications. This problem happends on different boards. When
serial port is not used, everything seems to be ok ..
I use debian linux (debian-sarge-udev-11-15-2007.tar.gz) with ts11
modules unpacked into image (tskernelmodules-2.4.26-ts11-7400.tar.gz).
dmesg:
Linux version 2.4.26-ts11 (gcc version 3.3.4) #3 Tue May 15
11:21:07 MST 2007
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 4 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 5 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 init=/linuxrc printk=4 loops=499712
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 24516KB available (1225K code, 332K data, 72K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch
devfs: boot_options: 0x1
yaffs May 15 2007 11:23:04 Installing.
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
TS-UART/7400 detected a TS-7400 board
ttyTS0 at MMIO 0x12400000 (irq = 33) is a TSUART
pty: 1024 Unix98 ptys configured
Using DIO to access RTC
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 1024 blocks [1 disk] into ram disk...
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.
Freeing initrd memory: 4096K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 72K
sdcard0: Technologic Systems SD card controller, address 0x13000000
sdcard0: card size 1990656 sectors
Partition check:
sdcard0a: p1 p2 p3
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
ps: unhandled page fault at pc=0x2ab542d8, lr=0x2ab0c9e8 (bad
address=0x012d7c80, code 5)
pc : [<2ab542d8>] lr : [<2ab0c9e8>] Not tainted
sp : 7ffff968 ip : 0001f4a8 fp : 7ffff98c
r10: 0003f87c r9 : 000141a0 r8 : 00000020
r7 : 00000000 r6 : 00014340 r5 : 0000001a r4 : 0000000d
r3 : 0000ccd8 r2 : 00013db9 r1 : 012d7c80 r0 : 00000061
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 04554000 DAC: 00000015
ps: unhandled page fault at pc=0x2ab542d8, lr=0x2ab0c9e8 (bad
address=0x012d7c80, code 5)
pc : [<2ab542d8>] lr : [<2ab0c9e8>] Not tainted
sp : 7ffff968 ip : 0001f4a8 fp : 7ffff98c
r10: 0003f87c r9 : 000141a0 r8 : 00000020
r7 : 00000000 r6 : 00014340 r5 : 0000001a r4 : 0000000d
r3 : 0000ccd8 r2 : 00013db9 r1 : 012d7c80 r0 : 00000061
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 04554000 DAC: 00000015
ps: unhandled page fault at pc=0x2ab542d8, lr=0x2ab0c9e8 (bad
address=0x012d7c80, code 5)
pc : [<2ab542d8>] lr : [<2ab0c9e8>] Not tainted
sp : 7ffff9b8 ip : 0001f4a8 fp : 7ffff9dc
r10: 0003f87c r9 : 000141a0 r8 : 00000020
r7 : 00000000 r6 : 00014340 r5 : 0000001a r4 : 0000000d
r3 : 0000ccd8 r2 : 00013db9 r1 : 012d7c80 r0 : 00000061
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 05238000 DAC: 00000015
ps: unhandled page fault at pc=0x2ab542d8, lr=0x2ab0c9e8 (bad
address=0x012d7c80, code 5)
pc : [<2ab542d8>] lr : [<2ab0c9e8>] Not tainted
sp : 7ffff968 ip : 0001f4a8 fp : 7ffff98c
r10: 0003f87c r9 : 000141a0 r8 : 00000020
r7 : 00000000 r6 : 00014340 r5 : 0000001a r4 : 0000000d
r3 : 0000ccd8 r2 : 00013db9 r1 : 012d7c80 r0 : 00000061
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 04554000 DAC: 00000015
ps: unhandled page fault at pc=0x2ab542d8, lr=0x2ab0c9e8 (bad
address=0x012d7c80, code 5)
pc : [<2ab542d8>] lr : [<2ab0c9e8>] Not tainted
sp : 7ffff968 ip : 0001f4a8 fp : 7ffff98c
r10: 0003f87c r9 : 000141a0 r8 : 00000020
r7 : 00000000 r6 : 00014340 r5 : 0000001a r4 : 0000000d
r3 : 0000ccd8 r2 : 00013db9 r1 : 012d7c80 r0 : 00000061
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 043DC000 DAC: 00000015
ps: unhandled page fault at pc=0x2ab542d8, lr=0x2ab0c9e8 (bad
address=0x012d7c80, code 5)
pc : [<2ab542d8>] lr : [<2ab0c9e8>] Not tainted
sp : 7ffff968 ip : 0001f4a8 fp : 7ffff98c
r10: 0003f87c r9 : 000141a0 r8 : 00000020
r7 : 00000000 r6 : 00014340 r5 : 0000001a r4 : 0000000d
r3 : 0000ccd8 r2 : 00013db9 r1 : 012d7c80 r0 : 00000061
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 043DC000 DAC: 00000015
In this log only ps is failing, but it does affect other applications
also. apt-get upgrade is quite common candidate ...
Any idea where to look? Should i compile my own kernel/debian image?
Can i turn on some debugging?
Thanks,
Petr Ledvina
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|