<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5645</bug_id>
          
          <creation_ts>2013-12-08 16:57:04 +0000</creation_ts>
          <short_desc>[FRI2] Reboot hangs</short_desc>
          <delta_ts>2014-07-21 16:34:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrei Gherzan">andrei</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39285</commentid>
    <comment_count>0</comment_count>
    <who name="Andrei Gherzan">andrei</who>
    <bug_when>2013-12-08 16:57:04 +0000</bug_when>
    <thetext>I get a very strange behavior while rebooting the board:

1. If board is booted without eth cable, reboot works as expected.
2. If board is booted with eth cable, reboot hangs at &quot;The system is going
down for reboot NOW!&quot; on serial console and at &quot;Sending all preocesses the
TERM signal...&quot; on console.
3. If board is booted without eth cable and I plug in the cable before
reboot, the board hangs with:
The system is going down for reboot NOW!
root at fri2:~# irq 23: nobody cared (try booting with the &quot;irqpoll&quot; option)
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.17-yocto-standard #2
Hardware name: Intel Corp. Fish River Island II, BIOS Tiano-TunnelCreek
11/19/2010
 ed9ef3c0 ed9ef3c0 ed809ec4 c16872c4 ed809ee4 c10a1d8a c1841650 00000017
 00000000 f8128522 ed9ef3c0 00000017 ed809f08 c10a214d 07eef203 00000017
 c103a341 00000000 ed9ef3c0 ed9ef410 00000000 ed809f4c c10a00a9 ed809f50
Call Trace:
 [&lt;c16872c4&gt;] dump_stack+0x16/0x18
 [&lt;c10a1d8a&gt;] __report_bad_irq+0x2a/0xd0
 [&lt;c10a214d&gt;] note_interrupt+0xfd/0x1a0
 [&lt;c103a341&gt;] ? __do_softirq+0x81/0x210
 [&lt;c10a00a9&gt;] handle_irq_event_percpu+0xf9/0x230
 [&lt;c13d6a5f&gt;] ? credit_entropy_bits.part.11+0xef/0x1e0
 [&lt;c10a0211&gt;] handle_irq_event+0x31/0x50
 [&lt;c10a2b90&gt;] handle_fasteoi_irq+0x50/0xe0
 [&lt;c109f844&gt;] generic_handle_irq+0x24/0x40
 [&lt;c135533e&gt;] pch_gpio_handler+0x4e/0x70
 [&lt;c10a0005&gt;] handle_irq_event_percpu+0x55/0x230
 [&lt;c168eadc&gt;] ? add_preempt_count+0xc/0xb0
 [&lt;c168eb8c&gt;] ? sub_preempt_count+0xc/0xb0
 [&lt;c168b6b7&gt;] ? _raw_spin_unlock_irqrestore+0x17/0x40
 [&lt;c10a0211&gt;] handle_irq_event+0x31/0x50
 [&lt;c10a2b40&gt;] ? unmask_irq+0x30/0x30
 [&lt;c10a2b90&gt;] handle_fasteoi_irq+0x50/0xe0
 &lt;IRQ&gt;  [&lt;c169250d&gt;] ? do_IRQ+0x3d/0xb0
 [&lt;c103a5d8&gt;] ? irq_exit+0x58/0x90
 [&lt;c16925da&gt;] ? smp_apic_timer_interrupt+0x5a/0x8b
 [&lt;c16923ec&gt;] ? common_interrupt+0x2c/0x34
 [&lt;c104007b&gt;] ? ftrace_raw_output_timer_class+0x1b/0x50
 [&lt;c103a341&gt;] ? __do_softirq+0x81/0x210
 [&lt;c103a2c0&gt;] ? __tasklet_hrtimer_trampoline+0x40/0x40
 &lt;IRQ&gt;  [&lt;c103a5ee&gt;] ? irq_exit+0x6e/0x90
 [&lt;c16925da&gt;] ? smp_apic_timer_interrupt+0x5a/0x8b
 [&lt;c168c001&gt;] ? apic_timer_interrupt+0x2d/0x34
 [&lt;c107007b&gt;] ? print_cfs_rq+0x4cb/0x1870
 [&lt;c14d8f10&gt;] ? cpuidle_enter_state+0x40/0xc0
 [&lt;c14d9033&gt;] ? cpuidle_idle_call+0xa3/0x220
 [&lt;c1008a8d&gt;] ? arch_cpu_idle+0xd/0x30
 [&lt;c10755d6&gt;] ? cpu_startup_entry+0x106/0x1f0
 [&lt;c1676591&gt;] ? rest_init+0x71/0x80
 [&lt;c1970a18&gt;] ? start_kernel+0x338/0x33f
 [&lt;c1970514&gt;] ? repair_env_string+0x51/0x51
 [&lt;c1970358&gt;] ? i386_start_kernel+0x12e/0x131
handlers:
[&lt;c1541910&gt;] azx_interrupt
Disabling IRQ #23

Tested on master &amp; dora with core-image-minimal and core-image sato.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39300</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-12-09 15:38:29 +0000</bug_when>
    <thetext>On my fri2 with dora, I don&apos;t have any problems rebooting (shutdown -r now) with the eth cable plugged in.  If more info is needed on my hardware I can provide it, or please provide more specific instructions on how to reproduce the problem, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39303</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-12-09 16:38:23 +0000</bug_when>
    <thetext>Firmware version?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39373</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-12-12 15:40:49 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40415</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-02-18 10:54:54 +0000</bug_when>
    <thetext>I am able to partially reproduce this on 1.6 M3 RC1 with MinnowBoard:
1) booting the image with ethernet cablen plugged and rebooting results in a hang
NOTE: The onscreen messages vary from text output to hanged splashscreen.
2) booting the image without ethernet cablen plugged makes the image reboot without issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40429</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-02-18 16:39:01 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I am able to partially reproduce this on 1.6 M3 RC1 with MinnowBoard:
&gt; 1) booting the image with ethernet cablen plugged and rebooting results in a
&gt; hang
&gt; NOTE: The onscreen messages vary from text output to hanged splashscreen.
&gt; 2) booting the image without ethernet cablen plugged makes the image reboot
&gt; without issues.

I suspect this is a separate issue tied to the PHY used on the MinnowBoard which has some quirky hibernation &quot;features&quot;.

We&apos;re still looking for a firmware version from the reporter on the FRI2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42633</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-04-14 06:22:51 +0000</bug_when>
    <thetext>Investigation ongoing in order to narrow down the causes for this behavior.
Will make tests on multiple platforms in this matter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42634</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-04-14 06:23:19 +0000</bug_when>
    <thetext>Sorry for last comment. Wrong Bug number</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43633</commentid>
    <comment_count>8</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-05-29 00:12:12 +0000</bug_when>
    <thetext>Andrei, is this still an issue for you?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43988</commentid>
    <comment_count>9</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-06-16 21:09:31 +0000</bug_when>
    <thetext>No response in 6 months, closing this out. Andrei, please feel free to reopen if you&apos;re still running into this problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>