Bug 808108 - swapper kernel issue using latest Fedora s390 image under hercules
Summary: swapper kernel issue using latest Fedora s390 image under hercules
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: hercules
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 805247
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-29 15:25 UTC by R P Herrold
Modified: 2013-02-13 13:40 UTC (History)
1 user (show)

Fixed In Version:
Clone Of: 805247
Environment:
Last Closed: 2013-02-13 13:40:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description R P Herrold 2012-03-29 15:25:25 UTC
+++ This bug was initially created as a clone of Bug #805247 +++

Description of problem:
sshd segfaults using latest Fedora image

===========

environment as described in parent bug

I managed to get a clean shutdown so the 'fsck' required of the available image no longer appeared

It then appeared that the kernel used has a problem as well, as to SMP processor issues

I will attempt to workaround by building an emulator environment with only one processor in it

It is not clear whether this is a hercules, or a kernel issue, so filing under hercules; I reverted to the shipped hercules on this report, to get a reproducible environment and to get the host up enough to be able to report

[root@f16-64-hercules3 ~]# rpm -q hercules
hercules-3.07-2.fc15.x86_64

Please ask if additional details are needed

-- Russ herrold



from the hercules console:

 ...
Initializing cgroup subsys blkio
ftrace: allocating 14113 entries in 56 pages
cpu: 2 configured CPUs, 0 standby CPUs
cpu: Processor 0 started, address 0, identification 002623

===================================================
  INFO: suspicious rcu_dereference_check() usage. !
---------------------------------------------------
kernel/sched.c:616 invoked rcu_dereference_check() without protection

other info that might help us debug this:


rcu_scheduler_active = 1, debug_locks = 0
1 lock held by swapper/1:
 #0:  (&rq->lock){-.....}, at:  <000000000061efd6>! init_idle+0x6e/0x4b4

stack backtrace:
CPU: 0 Not tainted 2.6.35.4-12.fc14.s390x #1
Process swapper (pid: 1, task: 000000003f5b8000, ksp: 000000003f5c3eb8)        +
000000003f5c3eb8 000000003f5c3b88 0000000000000002 0000000000000000
       000000003f5c3c28 000000003f5c3ba0 000000003f5c3ba0 000000000010597c
       0000000000000000 000000003f5c3eb8 070000003f5c3c18 000000000000000b
       000000000000000c 000000003f5c3bf0 000000003f5c3b88 0000000000000000
       0000000000000000 000000000010597c 000000003f5c3b88 000000003f5c3bd0
Call Trace:
( <0000000000105848>! show_trace+0x114/0x174)
  <0000000000105928>! show_stack+0x80/0x10c
  <00000000006248c6>! dump_stack+0xca/0xd8
  <00000000001928c2>! lockdep_rcu_dereference+0xce/0xd4
  <000000000061f126>! init_idle+0x1be/0x4b4
  <000000000061fa3e>! fork_idle+0xd6/0xe8
  <00000000009af1bc>! smp_prepare_cpus+0x3e8/0x5a8
  <00000000009a6ba2>! kernel_init+0xd6/0x4c8
  <000000000010be02>! kernel_thread_starter+0x6/0xc
  <000000000010bdfc>! kernel_thread_starter+0x0/0xc
INFO: lockdep is turned off.
CPU0000: SIGP Initial CPU reset (0B) CPU0001, PARM 0000000000000000: CC 0
CPU0000: SIGP Set prefix (0D) CPU0001, PARM 000000003F10E000: CC 0
CPU0000: SIGP Restart (06) CPU0001, PARM 0000000000000000: CC 0
 ...

Comment 1 R P Herrold 2012-03-29 15:28:42 UTC
old and new trial .cnf file

[root@f16-64-hercules3 hercules]# grep -v ^# hercules.cnf-OLD

CPUSERIAL 002623        # CPU serial number
CPUMODEL  2064          # CPU model number: 3090, 7490, 2064
MAINSIZE  1024           # Main storage size in megabytes
NUMCPU    2             # Number of CPUs
CNSLPORT  3270          # TCP port number to which consoles connect
OSTAILOR  LINUX         # OS tailoring
LOADPARM  0120....      # IPL parameter
ARCHMODE  ESAME         # Architecture mode S/370, ESA/390 or ESAME
TZOFFSET  +0100         # Central Europe
HERCPRIO  -15           # Priority of the hercules process
LOGOPT    NOTIMESTAMP   # Avoid timestamps for log messages
TIMERINT  200           # Increase timers update interval, improves performance
TODDRAG   2             # Higher TOD clock drag means less interrupts -> higher performance
PANRATE   SLOW          # Slowest update
TRACEOPT  NOREGS        # Don't display registers
LDMOD     hdt3088.so hdt3420.so hdt3505.so

0120  3390 /home/data/fedora-14-s390x-20100927.img
0600  3088 CTCI -n /dev/net/tun -t 1500 192.168.200.3 192.168.200.4
0601  3088 CTCI -n /dev/net/tun -t 1500 192.168.200.3 192.168.200.4
[root@f16-64-hercules3 hercules]#
[root@f16-64-hercules3 hercules]# grep -v ^# hercules.cnf

CPUSERIAL 002623        # CPU serial number
CPUMODEL  2064          # CPU model number: 3090, 7490, 2064
MAINSIZE  1024           # Main storage size in megabytes
NUMCPU    1             # Number of CPUs
CNSLPORT  3270          # TCP port number to which consoles connect
OSTAILOR  LINUX         # OS tailoring
LOADPARM  0120....      # IPL parameter
ARCHMODE  ESAME         # Architecture mode S/370, ESA/390 or ESAME
TZOFFSET  -0500         # US EST
HERCPRIO  -15           # Priority of the hercules process
LOGOPT    NOTIMESTAMP   # Avoid timestamps for log messages
TIMERINT  200           # Increase timers update interval, improves performance
TODDRAG   2             # Higher TOD clock drag means less interrupts -> higher performance
PANRATE   SLOW          # Slowest update
TRACEOPT  NOREGS        # Don't display registers
LDMOD     hdt3088.so hdt3420.so hdt3505.so

0120  3390 /home/data/fedora-14-s390x-20100927.img
0600  3088 CTCI -n /dev/net/tun -t 1500 192.168.200.3 192.168.200.4
0601  3088 CTCI -n /dev/net/tun -t 1500 192.168.200.3 192.168.200.4
[root@f16-64-hercules3 hercules]#

Comment 2 R P Herrold 2012-03-29 15:44:38 UTC
problem persists with a single processor: 

   ...
Initializing cgroup subsys net_cls
Initializing cgroup subsys blkio
ftrace: allocating 14113 entries in 56 pages
cpu: 1 configured CPUs, 0 standby CPUs
cpu: Processor 0 started, address 0, identification 002623

===================================================
  INFO: suspicious rcu_dereference_check() usage. !
---------------------------------------------------
kernel/sched.c:616 invoked rcu_dereference_check() without protection

other info that might help us debug this:


rcu_scheduler_active = 1, debug_locks = 0
1 lock held by swapper/1:      
 ...

so subject of the bug amended

-- Russ herrold

Comment 3 Fedora End Of Life 2013-01-16 13:00:24 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2013-02-13 13:40:21 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.