rtl8192ce kernel panic on bootup

Bug #1289429 reported by Jure Sah
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux-lts-quantal (Ubuntu)
Invalid
High
Unassigned
Precise
Won't Fix
Undecided
Joseph Salisbury
linux-lts-raring (Ubuntu)
Invalid
Undecided
Unassigned
Precise
Fix Released
Undecided
Joseph Salisbury

Bug Description

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
Fully updated.

Linux 3.8.0-37-generic AMD64 kernel, the rtl8192ce driver sometimes causes a kernel panic on system startup of my Lenovo Thinkpad X230. Restarting many times results in some sucessful boots, but the problem can be persistant. The problem does not occur on the Linux 3.8.0-36-generic AMD64 kernel.

Unfortunately the dump I get on the screen durring such crashed boots, does not appear to be in the logs.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you see if this issue also happens with the latest 3.8 upstream stable kernel:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8.13.19-raring/

Changed in linux-firmware (Ubuntu):
importance: Undecided → High
tags: added: precise
affects: linux-firmware (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1289429

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: raring
Revision history for this message
Steve Sether (stevesether) wrote :

I'm having this same problem with the same symptoms on the x230. Also crashes on 3.8.0-38. Going back to 3.8.0-36 works.

Revision history for this message
Steve Sether (stevesether) wrote :

I should also add if I turn off the wireless, the machine boots. As soon as I turn on the wireless, kernel panic. I managed a screenshot taken with my phone. It's mostly legible.

Revision history for this message
Domu (rj45rt) wrote :

I used Ubuntu 12.04LTS. I have met the same problem. the Kernel version is 3.5.0-48-generic. I rolled back to 3.5.0-47-generic. It has the same problem. But the problem disappeared when I rolled back to 3.5.0-46-generic. So I guess it is due to kernel upgrade.
btw, I also used rtl8192ce driver.

Revision history for this message
Steve Sether (stevesether) wrote :

Is anything going to happen on this bug? The x230 is supposed to be "certified" on Ubuntu, which is the reason I bought it. Now it's crashing on the latest kernel release but I've heard nothing for 2 weeks.

Revision history for this message
Jure Sah (dustwolfy) wrote :

I believe they need us to, and I quote "see if this issue also happens with the latest 3.8 upstream stable kernel:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8.13.19-raring/", something I have been getting around to trying for the aforementioned 2 weeks, however if you beat me to it it will be faster. :)

Revision history for this message
Jure Sah (dustwolfy) wrote :

I have succesfully reproduced the problem on the linux-image-3.8.13-03081319-generic kernel from the link provided. I should mention that initially the problem did not occur on either reboot or poweroff and boot, however after I powered down the laptop, removed the battery for a few seconds and then powered it back on, the problem occured with 100% reproducability.

I attach the screen-shots of the debugging output (which does not get entered into the logs), from my testing.

Revision history for this message
Jure Sah (dustwolfy) wrote :

Another screen-shot, same kernel, slightly different circumstances.

Revision history for this message
Jure Sah (dustwolfy) wrote :

I would like to mention that, when the computer is booted off with the wifi killswitch OFF the machine boots normally as vellmont mentions... Running dmesg -E on a bare console (ctrl+alt+f1) at this point and then turning on the wireless produces a ton of output when it crashes... Perhaps there would be some way to capture this output?

Revision history for this message
Zhu Lihua (zhulihua365) wrote :

I have exitly the same problem, beside my laptop is lenovo T430.

Now works well after I go back to 3.8.0-36-generic.

Revision history for this message
Matthew Runo (matthew-runo) wrote :

Also happening for me, -36 works, nothing newer than that does. If I boot without networking it works, then crashes as soon as I enable networking.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Nick Sukharev (nicksukharev) wrote :

Happens to me as well, -37 seems to work -38 and -39 do not. I also have Lenovo laptop X230

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Joe - I received email from the driver maintainer (Larry Finger) with a patch. Please build a test kernel and submit for testing.

"Sven and Tim,

Attached is a one-line fix for the problem that shows up between 3.8.0-36 and 3.8.0-37. It is just a bare patch file, but feel free to add any explanatory text to make it a proper commit.

I have no real understanding as to why this line of code does not cause any problems with later kernel versions, but it does here. In addition, I have not had any reports of problems with other users. That makes me suspect some kind of bad interaction with the user-space network control components in 12.04.

Would it be helpful for Nicolas to prepare a bug report at Ubuntu?

Larry "

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Joe - it appears that this bug is also happening in 3.5. From Larry Finger:

"Tim,

I agree that #1289429 is this bug. It seems that the problem also happens for 3.5.0-48-generic. If that is being supported, it also needs this patch.

Larry"

tags: added: patch
tags: added: kernel-da-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a test kernel with the patch from comment #14. The test kernel can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1289429/

Can folks affected by this bug, test this kernel and post back?

Revision history for this message
Steve Sether (stevesether) wrote :

Running the -40 kernel right now with no issues. Previously in locked up right away. I turned off the wireless and turned it back on again with no issues.

Looks like this is fixed.

Revision history for this message
Matthew Runo (matthew-runo) wrote :

I downloaded and installed the -40 kernel, and my x230 now boots just fine.

Looks fixed.

Thank you!!!

Revision history for this message
Arne Pisch (oldman999) wrote :

Also here on HP 4530s. :)

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Arne Pisch (oldman999) wrote :

3.8.41 seems ok but 3.2.63 only with backports 3.12 cw modules, crashes otherwise.

Tim Gardner (timg-tpi)
affects: linux (Ubuntu) → linux-lts-quantal (Ubuntu)
Changed in linux-lts-quantal (Ubuntu):
status: Triaged → Fix Committed
status: Fix Committed → Invalid
Changed in linux-lts-quantal (Ubuntu Precise):
status: New → Fix Committed
assignee: nobody → Joseph Salisbury (jsalisbury)
Tim Gardner (timg-tpi)
Changed in linux-lts-raring (Ubuntu Precise):
assignee: nobody → Joseph Salisbury (jsalisbury)
status: New → Fix Committed
Changed in linux-lts-raring (Ubuntu):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (17.9 KiB)

This bug was fixed in the package linux-lts-raring - 3.8.0-41.60~precise1

---------------
linux-lts-raring (3.8.0-41.60~precise1) precise; urgency=low

  [ Kamal Mostafa ]

  * Revert "rtlwifi: Set the link state"
    - LP: #1289429
    - LP: #1319735
  * Release Tracking Bug
    - re-used previous tracking bug

linux-lts-raring (3.8.0-41.59~precise1) precise; urgency=low

  [ Kamal Mostafa ]

  * Merged back Ubuntu-3.8.0-39.58 security release
  * Revert: "n_tty: Fix n_tty_write crash when echoing in raw mode"
    - LP: #1317242
  * Release Tracking Bug
    - LP: #1317246

  [ Upstream Kernel Changes ]

  * Input: ALPS - add support for "Dolphin" devices
    - LP: #1256213
  * n_tty: Fix n_tty_write crash when echoing in raw mode
    - LP: #1317242
    - LP: #1314762
    - CVE-2014-0196
  * floppy: ignore kernel-only members in FDRAWCMD ioctl input
    - LP: #1317242
    - LP: #1316729
    - CVE-2014-1737
  * floppy: don't write kernel-only members to FDRAWCMD ioctl output
    - LP: #1317242
    - LP: #1316735
    - CVE-2014-1738
  * Linux 3.8.13.23
    - LP: #1317242

linux-lts-raring (3.8.0-40.58~precise1) precise; urgency=low

  [ Joseph Salisbury ]

  * Release Tracking Bug
    - LP: #1314348

  [ Upstream Kernel Changes ]

  * Revert "sparc64: Fix __copy_{to,from}_user_inatomic defines."
    - LP: #1313767
  * rds: prevent dereference of a NULL device in rds_iw_laddr_check
    - LP: #1302222
    - CVE-2014-2678
  * 6lowpan: fix lockdep splats
    - LP: #1307561
  * 9p/trans_virtio.c: Fix broken zero-copy on vmalloc() buffers
    - LP: #1307561
  * ipv4: Fix runtime WARNING in rtmsg_ifa()
    - LP: #1307561
  * net: fix 'ip rule' iif/oif device rename
    - LP: #1307561
  * net: qmi_wwan: add Netgear Aircard 340U
    - LP: #1307561
  * tcp: tsq: fix nonagle handling
    - LP: #1307561
  * tg3: Fix deadlock in tg3_change_mtu()
    - LP: #1307561
  * net: asix: add missing flag to struct driver_info
    - LP: #1307561
  * bonding: 802.3ad: make aggregator_identifier bond-private
    - LP: #1307561
  * ipv4: fix counter in_slow_tot
    - LP: #1307561
  * net: sctp: fix sctp_connectx abi for ia32 emulation/compat mode
    - LP: #1307561
  * net: add and use skb_gso_transport_seglen()
    - LP: #1307561
  * net: core: introduce netif_skb_dev_features
    - LP: #1307561
  * net: ip, ipv6: handle gso skbs in forwarding path
    - LP: #1307561
  * net: use __GFP_NORETRY for high order allocations
    - LP: #1307561
  * net-tcp: fastopen: fix high order allocations
    - LP: #1307561
  * virtio-net: alloc big buffers also when guest can receive UFO
    - LP: #1307561
  * ipv6: reuse ip6_frag_id from ip6_ufo_append_data
    - LP: #1307561
  * sfc: check for NULL efx->ptp_data in efx_ptp_event
    - LP: #1307561
  * ipv6: ipv6_find_hdr restore prev functionality
    - LP: #1307561
  * tg3: Don't check undefined error bits in RXBD
    - LP: #1307561
  * net: sctp: fix sctp_sf_do_5_1D_ce to verify if we/peer is AUTH capable
    - LP: #1307561
  * mac80211: send control port protocol frames to the VO queue
    - LP: #1307561
  * mac80211: fix AP powersave TX vs. wakeup race
    - LP: #1307561
  * iwlwifi: dvm: clear IWL_STA_UCODE_INPROGRESS when asso...

Changed in linux-lts-raring (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in linux-lts-quantal (Ubuntu Precise):
status: Fix Committed → Won't Fix
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.