[#7216] cat /proc/kallsyms on telnet session prints nothing
Submitted By: Mingquan Pan
Open Date
2012-07-31 03:08:00 Close Date
2012-08-15 04:45:58
Priority:
Medium Assignee:
Bob Liu
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
ADI-trunk/svn-5764
App binary format:
N/A
Summary: cat /proc/kallsyms on telnet session prints nothing
Details:
cat /proc/kallsyms on telnet session prints nothing now. And after a while press enter would make telnet session exit abnormally.
test@uclinux50-bf537-9960-1836:~/work/cruise/checkouts/uclinux-dist/testsuites/serial> telnet 10.100.4.50
Trying 10.100.4.50...
Connected to 10.100.4.50.
Escape character is '^]'.
BusyBox v1.18.4 (2012-07-31 10:49:34 CST) hush - the humble shell
root:/> version
kernel: Linux release 3.5.0-ADI-2012R1-pre-00800-gd42738a, build #571 Tue Jul 31 16:09:19 CST 2012
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5764)
user-dist: release svn-10752, build #8271 Tue Jul 31 16:08:43 CST 2012
root:/> cat /proc/kallsyms
Connection closed by foreign host.
test@uclinux50-bf537-9960-1836:~/work/cruise/checkouts/uclinux-dist/testsuites/serial>
Follow-ups
--- Mingquan Pan 2012-07-31 04:19:42
On target console, cat proc/kallsyms get kernel panic:
cat proc/kallsyms
NULL pointer access
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=cat PID=168 CPU=0
TEXT = 0x02b80040-0x02bd4fc0 DATA = 0x02bd4fe0-0x02be9a08
BSS = 0x02be9a08-0x02beb3e0 USER-STACK = 0x02bf4f74
return address: [0x000388bc]; contents of:
0x00038890: 0019 0167 e10a e758 3221 6fa6 e410 0010
0x000388a0: e121 00d0 e300 b3fe 3228 0c45 182b 6000
0x000388b0: e14a 0000 e6a8 0011 e10a 0000 [9110] b0e8
0x000388c0: 6001 cc00 c000 b069 0000 9328 e141 0013
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.5.0-ADI-2012R1-pre-00800-gd42738a
(test@uclinux50-bf537-9960-1836) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #571
Tue Jul 31 16:09:19 CST 2012
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000027 IPEND: 8008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
Double Fault
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=cat PID=168 CPU=0
TEXT = 0x02b80040-0x02bd4fc0 DATA = 0x02bd4fe0-0x02be9a08
BSS = 0x02be9a08-0x02beb3e0 USER-STACK = 0x02bf4f74
return address: [0x0003853a]; contents of:
0x00038510: 600e 9851 4348 0c00 1ff2 0c06 1ffa 9a21
0x00038520: 2ff9 0000 04c3 e14c 0000 014f e10c 0000
0x00038530: 3018 3239 3402 0c44 1003 [0001] 2000 e14a
0x00038540: 0000 e10a 0000 9153 6002 304b 5211 0e08
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.5.0-ADI-2012R1-pre-00800-gd42738a
(test@uclinux50-bf537-9960-1836) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #571
Tue Jul 31 16:09:19 CST 2012
SEQUENCER STATUS: Not tainted
SEQSTAT: 00060021 IPEND: 8028 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x21
U-Boot 2011.09-svn2741 (ADI-2011R1) (Nov 10 2011 - 12:06:38)
CPU: ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)
..
--- Bob Liu 2012-08-09 22:58:34
fixed,add --symbol-prefix=_ to scripts/link-vmlinux.sh
--- Mingquan Pan 2012-08-15 05:44:39
Fixed, close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found