Bug 1043033

Summary: Oops on a beaglebone black
Product: [Fedora] Fedora Reporter: Steve Underwood <steveu>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-3.12.5-302.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-21 02:23:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Steve Underwood 2013-12-13 19:42:48 UTC
Using kernels 3.11.9-300 and 3.11.10-301 on a BeagleBone Black Cortex A8 board, I get a kernel Oops every time I try to make an outgoing SSH connection. Earlier kernels worked OK. The Oops report from /var/log/messages is as follows:


Dec 13 09:17:05 beagle kernel: [  157.924918] Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 13 09:17:05 beagle kernel: [  157.933472] pgd = dbe6c000
Dec 13 09:17:05 beagle kernel: [  157.936323] [00000000] *pgd=00000000
Dec 13 09:17:05 beagle kernel: [  157.940106] Internal error: Oops: 5 [#1] SMP ARM
Dec 13 09:17:05 beagle kernel: [  157.944969] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6t_REJECT omapdss(+) xt_conntrack cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw snd_soc_omap snd_soc_core snd_compress vfat fat ac97_bus snd_seq snd_seq_device snd_pcm snd_page_alloc tps65217_regulator snd_timer snd omap_wdt soundcore nfsd mmc_block
Dec 13 09:17:05 beagle kernel: [  158.003714] CPU: 0 PID: 978 Comm: ssh Not tainted 3.11.10-301.fc20.armv7hl #1
Dec 13 09:17:05 beagle kernel: [  158.011234] task: dbb40480 ti: dc56e000 task.ti: dc56e000
Dec 13 09:17:05 beagle kernel: [  158.016943] PC is at __list_add+0x34/0xa4
Dec 13 09:17:05 beagle kernel: [  158.021185] LR is at __down_write_nested+0x48/0xa0
Dec 13 09:17:05 beagle kernel: [  158.026237] pc : [<c02c1f68>]    lr : [<c05c2abc>]    psr: 600f0093
Dec 13 09:17:05 beagle kernel: [  158.026237] sp : dc56ff08  ip : 00000000  fp : b7392570
Dec 13 09:17:05 beagle kernel: [  158.038328] r10: 00000200  r9 : c09184c8  r8 : 00000002
Dec 13 09:17:05 beagle kernel: [  158.043833] r7 : dbb40480  r6 : dc56ff20  r5 : c095d438  r4 : 00000000
Dec 13 09:17:05 beagle kernel: [  158.050709] r3 : 00000000  r2 : c095d438  r1 : 00000000  r0 : dc56ff20
Dec 13 09:17:05 beagle kernel: [  158.057587] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Dec 13 09:17:05 beagle kernel: [  158.065196] Control: 10c5387d  Table: 9be6c019  DAC: 00000015
Dec 13 09:17:05 beagle kernel: [  158.071249] Process ssh (pid: 978, stack limit = 0xdc56e240)
Dec 13 09:17:05 beagle kernel: [  158.077211] Stack: (0xdc56ff08 to 0xdc570000)
Dec 13 09:17:05 beagle kernel: [  158.081808] ff00:                   dc56ff20 00000000 c095d430 c095d434 600f0013 c05c2abc
Dec 13 09:17:05 beagle kernel: [  158.090430] ff20: c095d430 00000000 dbb40480 00000000 00000000 000003e8 dc56e008 c095d350
Dec 13 09:17:05 beagle kernel: [  158.099053] ff40: dbd76b80 c0258208 ffffffff c00b04f4 dc57c800 c00b0340 c097b320 dc56ff64
Dec 13 09:17:05 beagle kernel: [  158.107674] ff60: 00000010 7265705f 74736973 2e746e65 30303031 dc56ff00 00000137 dc56e000
Dec 13 09:17:05 beagle kernel: [  158.116295] ff80: dc56e000 271ae616 fffffffe b7392c2c beb23cac 5fb11c00 00000137 c000e904
Dec 13 09:17:05 beagle kernel: [  158.124915] ffa0: dc56e000 c000e8e8 b7392c2c beb23cac 00000016 000003e8 fffffffe 00000000
Dec 13 09:17:05 beagle kernel: [  158.133534] ffc0: b7392c2c beb23cac 5fb11c00 00000137 00000000 b7392670 beb23d34 b7392570
Dec 13 09:17:05 beagle kernel: [  158.142156] ffe0: beb23c88 beb23c78 b66a331c b6a7a960 600f0010 00000016 9fef6821 9fef6c21
Dec 13 09:17:05 beagle kernel: [  158.150800] [<c02c1f68>] (__list_add+0x34/0xa4) from [<c05c2abc>] (__down_write_nested+0x48/0xa0)
Dec 13 09:17:05 beagle kernel: [  158.160165] [<c05c2abc>] (__down_write_nested+0x48/0xa0) from [<c0258208>] (keyctl_get_persistent+0xf0/0x274)
Dec 13 09:17:05 beagle kernel: [  158.170629] [<c0258208>] (keyctl_get_persistent+0xf0/0x274) from [<c000e8e8>] (__sys_trace_return+0x0/0x18)
Dec 13 09:17:05 beagle kernel: [  158.180909] [<c000e8e8>] (__sys_trace_return+0x0/0x18) from [<fffffffe>] (0xfffffffe)
Dec 13 09:17:05 beagle kernel: [  158.189166] Code: e59f0068 e1a03004 e59f2064 ebf615da (e5943000)
Dec 13 09:17:05 beagle kernel: [  158.195592] ---[ end trace b350fa760c1abd18 ]---

Comment 1 Josh Boyer 2013-12-13 21:45:32 UTC
This is likely a generic bug.  I've committed patches to fix it, but they won't make F20 GA.  Should be in 3.12.5-301 or newer.

Comment 2 Fedora Update System 2013-12-15 17:00:55 UTC
kernel-3.12.5-301.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.12.5-301.fc20

Comment 3 Fedora Update System 2013-12-16 07:06:33 UTC
Package kernel-3.12.5-301.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.12.5-301.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23445/kernel-3.12.5-301.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-12-20 01:47:07 UTC
Package kernel-3.12.5-302.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.12.5-302.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23445/kernel-3.12.5-302.fc20
then log in and leave karma (feedback).

Comment 5 Steve Underwood 2013-12-20 16:12:40 UTC
I tried updating to kernel-3.12.5-302.fc20.armv7hl.rpm, and I got the following, which doesn't look good. Now the board will not boot. I have not had time to investigate further.

[root@beagle steveu]# yum localupdate kern*rpm
Loaded plugins: langpacks, refresh-packagekit
Examining kernel-3.12.5-302.fc20.armv7hl.rpm: kernel-3.12.5-302.fc20.armv7hl
Marking kernel-3.12.5-302.fc20.armv7hl.rpm as an update to kernel-3.11.7-300.fc20.armv7hl
Marking kernel-3.12.5-302.fc20.armv7hl.rpm as an update to kernel-3.11.9-300.fc20.armv7hl
Marking kernel-3.12.5-302.fc20.armv7hl.rpm as an update to kernel-3.11.10-301.fc20.armv7hl
Resolving Dependencies
--> Running transaction check
---> Package kernel.armv7hl 0:3.12.5-302.fc20 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.armv7hl 0:3.11.7-300.fc20 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch      Version             Repository                         Size
================================================================================
Installing:
 kernel   armv7hl   3.12.5-302.fc20     /kernel-3.12.5-302.fc20.armv7hl    92 M
Removing:
 kernel   armv7hl   3.11.7-300.fc20     @updates-testing                   92 M

Transaction Summary
================================================================================
Install  1 Package
Remove   1 Package

Total size: 92 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kernel-3.12.5-302.fc20.armv7hl                               1/2 
  Cleanup    : kernel-3.11.7-300.fc20.armv7hl                               2/2 
dracut-install: ERROR: installing 'sgdisk'
/usr/lib/dracut/dracut-install -D /var/tmp/initramfs.DeqtLj -a sgdisk
/usr/sbin/prelink: /usr/lib/libc-2.18.so: Unknown arm relocation type 160
Image Name:   3.12.5-302.fc20.armv7hl
Created:      Fri Dec 20 23:17:45 2013
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    5065168 Bytes = 4946.45 kB = 4.83 MB
Load Address: 00008000
Entry Point:  00008000
Image Name:   initramfs
Created:      Fri Dec 20 23:17:48 2013
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    10471326 Bytes = 10225.90 kB = 9.99 MB
Load Address: 00000000
Entry Point:  00000000
  Verifying  : kernel-3.12.5-302.fc20.armv7hl                               1/2 
  Verifying  : kernel-3.11.7-300.fc20.armv7hl                               2/2 

Removed:
  kernel.armv7hl 0:3.11.7-300.fc20                                              

Installed:
  kernel.armv7hl 0:3.12.5-302.fc20                                              

Complete!
[root@beagle steveu]#

Comment 6 Fedora Update System 2013-12-21 02:23:00 UTC
kernel-3.12.5-302.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.