Kernel NULL pointer shows during SSH installation, end to a segmentation fault.

Bug #1269708 reported by Botao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux Baseline
New
Undecided
Unassigned

Bug Description

On TI Panda 4460 board with Linux Linaro ubuntu build 589, when install SSH via apt-get, a Kernel NULL pointer error shows then end to a segmentation fault:

root@linaro-developer:~# apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  u-boot-linaro-omap4-panda
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libck-connector0 ncurses-term openssh-server python-chardet python-requests
  python-six python-urllib3 ssh-import-id
Suggested packages:
  ssh-askpass rssh molly-guard ufw monkeysphere openssh-blacklist
  openssh-blacklist-extra
The following NEW packages will be installed:
  libck-connector0 ncurses-term openssh-server python-chardet python-requests
  python-six python-urllib3 ssh ssh-import-id
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 941 kB of archives.
After this operation, 3969 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  libck-connector0 ncurses-term openssh-server python-chardet python-six
  python-urllib3 python-requests ssh ssh-import-id
Authentication warning overridden.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ saucy/main libck-connector0 armhf 0.4.5-3.1ubuntu2 [9636 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ saucy/main ncurses-term all 5.9+20130608-1ubuntu1 [427 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ saucy/main openssh-server armhf 1:6.2p2-6 [231 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ saucy/main python-chardet all 2.0.1-2build1 [176 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports/ saucy/main python-six all 1.3.0-1 [6626 B]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ saucy/main python-urllib3 all 1.6-2 [35.0 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports/ saucy/main python-requests all 1.2.3-1 [44.3 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports/ saucy/main ssh all 1:6.2p2-6 [1108 B]
Get:9 http://ports.ubuntu.com/ubuntu-ports/ saucy/main ssh-import-id all 3.19-0ubuntu1 [10.3 kB]
Fetched 941 kB in 8s (105 kB/s)
Selecting previously unselected package libck-connector0:armhf.
(Reading database ... 42247 files and directories currently installed.)
Unpacking libck-connector0:armhf (from .../libck-connector0_0.4.5-3.1ubuntu2_armhf.deb) ...
Selecting previously unselected package ncurses-term.
Unpacking ncurses-term (from .../ncurses-term_5.9+20130608-1ubuntu1_all.deb) ...
[ 289.418670] Unable to handle kernel NULL pointer dereference at virtual address 00000037
[ 289.427398] pgd = ecd84000
[ 289.430297] [00000037] *pgd=acd50831, *pte=00000000, *ppte=00000000
[ 289.436920] Internal error: Oops: 17 [#1] SMP ARM
[ 289.441619] Modules linked in: arc4 wl12xx wlcore mac80211 cfg80211 snd_soc_omap_abe_twl6040 snd_soc_omap_mcpdm snd_soc_twl6040 snd_soc_ome
[ 289.469787] CPU: 1 PID: 1679 Comm: dpkg Not tainted 3.13.0-1-linaro-omap #1ubuntu1~ci+140114201128-Ubuntu
[ 289.480743] task: edae94c0 ti: eccd2000 task.ti: eccd2000
[ 289.486419] PC is at lookup_fast+0x60/0x330
[ 289.489807] LR is at mark_held_locks+0x68/0x12c
[ 289.494842] pc : [<c014fa3c>] lr : [<c008a9d4>] psr: a00f0113
[ 289.494842] sp : eccd3d98 ip : 6f666e69 fp : eccd3dec
[ 289.507904] r10: eccd3ed0 r9 : eced5024 r8 : c01503e4
[ 289.512908] r7 : eccd2000 r6 : ed25a5a0 r5 : eccd3ed0 r4 : eccd3e10
[ 289.520294] r3 : eced5023 r2 : 00000000 r1 : eccd3e18 r0 : ffffffff
[ 289.526947] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 289.534729] Control: 10c53c7d Table: acd8404a DAC: 00000015
[ 289.539978]
[ 289.539978] PC: 0xc014f9bc:
[ 289.544982] f9bc e1a00007 e89da8f0 e7f001f2 e1a00005 e1a01004 ebffffc4 e1a00007 e89da8f0
[ 289.553955] f9dc e1a0c00d e92ddff0 e24cb004 e24dd02c e52de004 e8bd4000 e5903024 e1a04001
[ 289.562744] f9fc e5906004 e5901000 e1a05000 e3130040 e50b1044 e1a0800e e50b2038 e1a00006
[ 289.571075] fa1c e2851008 0a000050 e24b2030 eb00389d e3500000 e50b003c 0a000086 e51b1038
[ 289.580169] fa3c e5903038 e51b2030 e5813000 e3a03000 ee073fba e51b103c e5913004 e1520003
[ 289.588897] fa5c 1a000075 e5963004 e5952028 e1520003 1a000071 e51b3030 e5853028 e5913000
[ 289.597167] fa7c e3130004 03a02001 050b2040 1a000093 e51b103c e51b3044 e3a09000 e5843000
[ 289.606170] fa9c e5841004 ea00000b e121f00a ebfce216 e5973004 e3130001 1a00006a ee079fba
[ 289.615081]
[ 289.615081] LR: 0xc008a954:
[ 289.619232] a954 c0b11904 c0bd8810 c0089a48 c0089930 c072ec78 c08dcbb4 e1a0c00d e92ddff0
[ 289.628265] a974 e24cb004 e24dd00c e5903498 e1a07000 e3530000 da000037 e1a08101 e59fa0e4
[ 289.636260] a994 e2889002 e2804e4a e3a05000 ea000012 e59a3000 e3530000 0a00001e e3a03000
[ 289.645294] a9b4 e5932010 e59f30c0 e1520003 0a000005 e1a02006 e1a00007 e1a01004 ebfffe3a
[ 289.654144] a9d4 e3500000 0a000024 e5973498 e2855001 e1530005 e2844018 da00001e e5d43016
[ 289.662322] a9f4 e3130003 12886003 01a06009 e356000c 8a00001b e1d431b4 e1a03983 e1b039a3
[ 289.671905] aa14 0affffe2 e3a02e11 e59f1060 e0231392 e2433e11 eaffffe1 eb0e5161 e3500000
[ 289.680633] aa34 0affffdd e59f1048 e591c000 e35c0000 1affffd9 e59f303c e59f003c e3a01092
[ 289.688415]
[ 289.688415] SP: 0xeccd3d18:
[ 289.693389] 3d18 c0721ba8 c008ac7c 6f666e69 ea027ef8 00000000 c014fa3c a00f0113 ffffffff
[ 289.702575] 3d38 eccd3d84 c01503e4 eccd3dec eccd3d50 c0721b24 c00083c4 ffffffff eccd3e18
[ 289.710540] 3d58 00000000 eced5023 eccd3e10 eccd3ed0 ed25a5a0 eccd2000 c01503e4 eced5024
[ 289.720031] 3d78 eccd3ed0 eccd3dec 6f666e69 eccd3d98 c008a9d4 c014fa3c a00f0113 ffffffff
[ 289.728759] 3d98 ed433138 c03aee64 eccd3dbc eccd3db0 ed828510 c03b05c0 ffffffff eccd3e18
[ 289.736541] 3db8 c01501ac 00000008 edf07000 eccd3e18 eccd3e10 00000000 eccd2000 00000000
[ 289.746215] 3dd8 eced5024 eccd3ed0 eccd3e5c eccd3df0 c01503e4 c014f9e8 eccd3e0c eccd3e00
[ 289.754669] 3df8 c008ac84 eccd2030 eccd3e5c eccd3e10 c0151880 c008ac7c ed828510 ed25a5a0
[ 289.763641]
[ 289.763641] FP: 0xeccd3d6c:
[ 289.767608] 3d6c eccd2000 c01503e4 eced5024 eccd3ed0 eccd3dec 6f666e69 eccd3d98 c008a9d4
[ 289.775665] 3d8c c014fa3c a00f0113 ffffffff ed433138 c03aee64 eccd3dbc eccd3db0 ed828510
[ 289.785095] 3dac c03b05c0 ffffffff eccd3e18 c01501ac 00000008 edf07000 eccd3e18 eccd3e10
[ 289.794158] 3dcc 00000000 eccd2000 00000000 eced5024 eccd3ed0 eccd3e5c eccd3df0 c01503e4
[ 289.802703] 3dec c014f9e8 eccd3e0c eccd3e00 c008ac84 eccd2030 eccd3e5c eccd3e10 c0151880
[ 289.811737] 3e0c c008ac7c ed828510 ed25a5a0 ed433138 ed95cc40 8bcbfb65 00000008 eced501b
[ 289.820495] 3e2c eccd3e38 c01465a4 ed95cc40 eccd3ed0 eced5000 eccd3f5c 00000000 00000000
[ 289.829223] 3e4c eccd2000 eccd3ec4 eccd3e60 c0153a60 c0150268 eccd3e80 00000000 ed9078d0
[ 289.837860]
[ 289.837860] R1: 0xeccd3d98:
[ 289.841888] 3d98 ed433138 c03aee64 eccd3dbc eccd3db0 ed828510 c03b05c0 ffffffff eccd3e18
[ 289.850921] 3db8 c01501ac 00000008 edf07000 eccd3e18 eccd3e10 00000000 eccd2000 00000000
[ 289.859893] 3dd8 eced5024 eccd3ed0 eccd3e5c eccd3df0 c01503e4 c014f9e8 eccd3e0c eccd3e00
[ 289.867980] 3df8 c008ac84 eccd2030 eccd3e5c eccd3e10 c0151880 c008ac7c ed828510 ed25a5a0
[ 289.877349] 3e18 ed433138 ed95cc40 8bcbfb65 00000008 eced501b eccd3e38 c01465a4 ed95cc40
[ 289.886077] 3e38 eccd3ed0 eced5000 eccd3f5c 00000000 00000000 eccd2000 eccd3ec4 eccd3e60
[ 289.893035] 3e58 c0153a60 c0150268 eccd3e80 00000000 ed9078d0 00000000 00000000 00000000
[ 289.902069] 3e78 00000000 c0162f44 00000000 00000000 c008d4bc c008b00c 00000002 00000000
[ 289.912078]
[ 289.912078] R3: 0xeced4fa3:
[ 289.916076] 4fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 289.924163] 4fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 289.934112] 4fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 289.941162] 5000 eced5010 00b5fee0 00000000 00000000 7273752f 6168732f 742f6572 696d7265
[ 289.951202] 5020 2f6f666e 73742f74 2e303031 676b7064 77656e2d 2d676b00 0077656e 2e6f0000
[ 289.960205] 5040 00000000 0000006f 615f3175 642e6c6c 53006265 00000000 00000000 00000000
[ 289.967254] 5060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 289.977294] 5080 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 289.985290] 50a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 289.995117]
[ 289.995117] R4: 0xeccd3d90:
[ 289.999725] 3d90 a00f0113 ffffffff ed433138 c03aee64 eccd3dbc eccd3db0 ed828510 c03b05c0
[ 290.008392] 3db0 ffffffff eccd3e18 c01501ac 00000008 edf07000 eccd3e18 eccd3e10 00000000
[ 290.016387] 3dd0 eccd2000 00000000 eced5024 eccd3ed0 eccd3e5c eccd3df0 c01503e4 c014f9e8
[ 290.025421] 3df0 eccd3e0c eccd3e00 c008ac84 eccd2030 eccd3e5c eccd3e10 c0151880 c008ac7c
[ 290.034484] 3e10 ed828510 ed25a5a0 ed433138 ed95cc40 8bcbfb65 00000008 eced501b eccd3e38
[ 290.043426] 3e30 c01465a4 ed95cc40 eccd3ed0 eced5000 eccd3f5c 00000000 00000000 eccd2000
[ 290.052154] 3e50 eccd3ec4 eccd3e60 c0153a60 c0150268 eccd3e80 00000000 ed9078d0 00000000
[ 290.060852] 3e70 00000000 00000000 00000000 c0162f44 00000000 00000000 c008d4bc c008b00c
[ 290.069580]
[ 290.069580] R5: 0xeccd3e50:
[ 290.073577] 3e50 eccd3ec4 eccd3e60 c0153a60 c0150268 eccd3e80 00000000 ed9078d0 00000000
[ 290.082855] 3e70 00000000 00000000 00000000 c0162f44 00000000 00000000 c008d4bc c008b00c
[ 290.091552] 3e90 00000002 00000000 00000000 eccd3f5c 00000001 eced5000 ffffff9c c000ec84
[ 290.099670] 3eb0 eccd2000 00000000 eccd3f4c eccd3ec8 c01550a8 c01539d0 00000041 0000000a
[ 290.108703] 3ed0 ed828510 ed25a5a0 8bcbfb65 00000008 eced501b eccd3e38 ed828510 ed41e2c0
[ 290.117706] 3ef0 ed433138 00000051 00000002 000000b4 00000000 00000000 000200c1 ed9078c0
[ 290.125732] 3f10 ed828510 000200c1 eced5000 ffffff9c 00000005 c000ec84 eccd2000 00000000
[ 290.134765] 3f30 000200c1 eced5000 ffffff9c 0000000a eccd3f94 eccd3f50 c0144228 c0155078
[ 290.143798]
[ 290.143798] R6: 0xed25a520:
[ 290.147796] a520 00000000 6261746d 30312e7e 6f003032 656c6374 732e6e61 766f2e68 69727265
[ 290.157165] a540 44006564 0055b135 00110011 dead4ead ffffffff ffffffff c1082ce0 c0be51a8
[ 290.165863] a560 00000000 c08eb658 00000000 00000000 edf07000 55500155 00000000 ed25c53c
[ 290.174621] a580 ed25ab3c ed25c994 ed25c544 ed25a58c ed25a58c 00000000 00000000 15015565
[ 290.182922] a5a0 00100080 00000002 c1082ce8 c0be9f38 00000000 c08eb67c 00000000 c20a2730
[ 290.191925] a5c0 ed441338 55114414 056cac70 00000005 ed25a5dc 15515511 ed433138 72616873
[ 290.200286] a5e0 6f6f0065 68732e74 6e6f632e 41450066 51550545 51452554 5575b575 00153558
[ 290.209503] a600 00380038 dead4ead ffffffff ffffffff c1082ce0 c0be51a8 00000000 c08eb658
[ 290.218017]
[ 290.218017] R7: 0xeccd1f80:
[ 290.222747] 1f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.231475] 1fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.239074] 1fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.248107] 1fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.256103] 2000 00000000 00000001 00000000 edae94c0 c0af3b44 00000001 00000017 ede38480
[ 290.266357] 2020 ec98a380 eccd2010 c2028480 000001c0 edaf8b40 edae94c0 eccd3ec4 eccd3e10
[ 290.275085] 2040 c071c874 00000000 00000000 00000000 00000000 00000000 01000000 00000000
[ 290.283172] 2060 b6f396d0 3ffc794b 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.292541]
[ 290.292541] R8: 0xc0150364:
[ 290.297058] 0364 e59a3024 e59a0004 e3c33a01 e58a3024 e5903000 e3130001 1a00019a e24b403c
[ 290.305786] 0384 e3a06000 e894000f e28ae008 e0894005 e88e000f e58a6030 e7d93005 e3530000
[ 290.314514] 03a4 0a000061 e1a09004 e5d93001 e2899001 e353002f 0afffffb e3530000 0a00005a
[ 290.322692] 03c4 e3560000 1a0001a1 e24b504c e24b4044 e1a01005 e1a02004 e1a0000a ebfffd7d
[ 290.331970] 03e4 e3500000 1a00018e e51b3044 e3530000 0a00002e e51b1048 e5912000 e2022607
[ 290.340698] 0404 e3520603 0a00004f e59a2024 e3120040 0a00002e e51b204c e58a2000 e58a1004
[ 290.348693] 0424 e58a3020 e5913000 e2033607 e3530601 0affff9e e3e06013 e1a0000a ebfffcac
[ 290.356872] 0444 e1a00006 e24bd028 e89daff0 e59a0020 e3a01081 ebffff6a e370000a e1a06000
[ 290.365692]
[ 290.365692] R9: 0xeced4fa4:
[ 290.371368] 4fa4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.378479] 4fc4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.388488] 4fe4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 eced5010
[ 290.397552] 5004 00b5fee0 00000000 00000000 7273752f 6168732f 742f6572 696d7265 2f6f666e
[ 290.405548] 5024 73742f74 2e303031 676b7064 77656e2d 2d676b00 0077656e 2e6f0000 00000000
[ 290.415039] 5044 0000006f 615f3175 642e6c6c 53006265 00000000 00000000 00000000 00000000
[ 290.422607] 5064 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.430633] 5084 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 290.441192]
[ 290.441192] R10: 0xeccd3e50:
[ 290.444671] 3e50 eccd3ec4 eccd3e60 c0153a60 c0150268 eccd3e80 00000000 ed9078d0 00000000
[ 290.452697] 3e70 00000000 00000000 00000000 c0162f44 00000000 00000000 c008d4bc c008b00c
[ 290.462738] 3e90 00000002 00000000 00000000 eccd3f5c 00000001 eced5000 ffffff9c c000ec84
[ 290.471710] 3eb0 eccd2000 00000000 eccd3f4c eccd3ec8 c01550a8 c01539d0 00000041 0000000a
[ 290.480712] 3ed0 ed828510 ed25a5a0 8bcbfb65 00000008 eced501b eccd3e38 ed828510 ed41e2c0
[ 290.488800] 3ef0 ed433138 00000051 00000002 000000b4 00000000 00000000 000200c1 ed9078c0
[ 290.497833] 3f10 ed828510 000200c1 eced5000 ffffff9c 00000005 c000ec84 eccd2000 00000000
[ 290.506896] 3f30 000200c1 eced5000 ffffff9c 0000000a eccd3f94 eccd3f50 c0144228 c0155078
[ 290.514892] Process dpkg (pid: 1679, stack limit = 0xeccd2248)
[ 290.520904] Stack: (0xeccd3d98 to 0xeccd4000)
[ 290.525909] 3d80: ed433138 c03aee64
[ 290.535034] 3da0: eccd3dbc eccd3db0 ed828510 c03b05c0 ffffffff eccd3e18 c01501ac 00000008
[ 290.541961] 3dc0: edf07000 eccd3e18 eccd3e10 00000000 eccd2000 00000000 eced5024 eccd3ed0
[ 290.552337] 3de0: eccd3e5c eccd3df0 c01503e4 c014f9e8 eccd3e0c eccd3e00 c008ac84 eccd2030
[ 290.560974] 3e00: eccd3e5c eccd3e10 c0151880 c008ac7c ed828510 ed25a5a0 ed433138 ed95cc40
[ 290.569610] 3e20: 8bcbfb65 00000008 eced501b eccd3e38 c01465a4 ed95cc40 eccd3ed0 eced5000
[ 290.578094] 3e40: eccd3f5c 00000000 00000000 eccd2000 eccd3ec4 eccd3e60 c0153a60 c0150268
[ 290.586090] 3e60: eccd3e80 00000000 ed9078d0 00000000 00000000 00000000 00000000 c0162f44
[ 290.595123] 3e80: 00000000 00000000 c008d4bc c008b00c 00000002 00000000 00000000 eccd3f5c
[ 290.604187] 3ea0: 00000001 eced5000 ffffff9c c000ec84 eccd2000 00000000 eccd3f4c eccd3ec8
[ 290.612182] 3ec0: c01550a8 c01539d0 00000041 0000000a ed828510 ed25a5a0 8bcbfb65 00000008
[ 290.621490] 3ee0: eced501b eccd3e38 ed828510 ed41e2c0 ed433138 00000051 00000002 000000b4
[ 290.630126] 3f00: 00000000 00000000 000200c1 ed9078c0 ed828510 000200c1 eced5000 ffffff9c
[ 290.638763] 3f20: 00000005 c000ec84 eccd2000 00000000 000200c1 eced5000 ffffff9c 0000000a
[ 290.647277] 3f40: eccd3f94 eccd3f50 c0144228 c0155078 eccd3f7c eccd3f60 c008ab98 000200c1
[ 290.649291] 3f60: 00b28000 00000022 00000700 00000001 00b5fee0 00000000 ffffffff 00000005
[ 290.664306] 3f80: c000ec84 eccd2000 eccd3fa4 eccd3f98 c0144324 c014412c 00000000 eccd3fa8
[ 290.672363] 3fa0: c000ea00 c0144304 00b5fee0 00000000 00b5fee0 000200c1 00000000 00000000
[ 290.681976] 3fc0: 00b5fee0 00000000 ffffffff 00000005 00b5fee0 00b231d8 000c62f0 000ba558
[ 290.690612] 3fe0: 00000005 bea7d660 b6e9ec7d b6e2f706 000f0130 00b5fee0 00000000 00000000
[ 290.698699] [<c014fa3c>] (lookup_fast+0x60/0x330) from [<c01503e4>] (link_path_walk+0x188/0x854)
[ 290.708587] [<c01503e4>] (link_path_walk+0x188/0x854) from [<c0153a60>] (path_openat+0x9c/0x6a0)
[ 290.717895] [<c0153a60>] (path_openat+0x9c/0x6a0) from [<c01550a8>] (do_filp_open+0x3c/0x90)
[ 290.725524] [<c01550a8>] (do_filp_open+0x3c/0x90) from [<c0144228>] (do_sys_open+0x108/0x1d8)
[ 290.735870] [<c0144228>] (do_sys_open+0x108/0x1d8) from [<c0144324>] (SyS_open+0x2c/0x30)
[ 290.744140] [<c0144324>] (SyS_open+0x2c/0x30) from [<c000ea00>] (ret_fast_syscall+0x0/0x48)
[ 290.753387] Code: e3500000 e50b003c 0a000086 e51b1038 (e5903038)
[ 290.768524] ---[ end trace 95658ace5e432acd ]---
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
E: Sub-process /usr/bin/dpkg received a segmentation fault.
root@linaro-developer:~#

Revision history for this message
Botao (botao-sun) wrote :

By comparison, SSH installation works well on Samsung Arndale build 589:

http://snapshots.linaro.org/ubuntu/pre-built/arndale/589/arndale-saucy_server_20140115-589.img.gz

Please refer to attachment to get detailed log output.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.