Skip to contentSkip to conversation

Kernel source

DISCUSSION Larry Finger 5 participants 10 messages Apr 28, 2014 – May 1, 2014 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

Tim,

I'm sorry to bother you, but I have been contacted on the linux-wireless ML by Nicolas Vaqueroa, who is a 12.04 LTS user. His problem is that he gets a fatal kernel oops when he enables wifi using driver rtl8192ce. The system is OK through kernel 3.8.0-36, bu he has the problem for -37 and later. I reviewed the changelog for -36 => -37 without seeing any modifications that could cause problems.

Is there a link to the 3.8.0-37 source? I could not find it on the Ubuntu web pile. With it, I should be able to fix his problem as long as I can duplicate it.

Thanks,

Larry

#1 lore raw

On Monday 28 April 2014 10:44:01 Larry Finger wrote:
[...]

Quoted 3 lines

Is there a link to the 3.8.0-37 source? I could not find it on the Ubuntu web pile. With it, I should be able to fix his problem as long as I can duplicate it.

Which exact versions? 3.8.0-36.52~precise1 and 3.8.0-37.53~precise1? There were a lot of backports which you can find all here:
https://launchpad.net/ubuntu/+source/linux-lts-raring/+publishinghistory

You can just click on the version number at the right to find the *.tar.gz, *.diff.gz and *.dsc.

You can download and create a source directory using

dget https://launchpad.net/ubuntu/precise/+source/linux-lts-raring/3.8.0-36.52~precise1/+files/linux-lts-raring_3.8.0-36.52~precise1.dsc
or
dget https://launchpad.net/ubuntu/precise/+source/linux-lts-raring/3.8.0-37.53~precise1/+files/linux-lts-raring_3.8.0-37.53~precise1.dsc

Kind regards,
Sven

#2 lore raw
Quoted 10 lines · Sven Eckelmann

On Monday 28 April 2014 10:44:01 Larry Finger wrote:
[...]

Quoted 3 lines

Is there a link to the 3.8.0-37 source? I could not find it on the Ubuntu web pile. With it, I should be able to fix his problem as long as I can duplicate it.

Which exact versions? 3.8.0-36.52~precise1 and 3.8.0-37.53~precise1? There were a lot of backports which you can find all here:
https://launchpad.net/ubuntu/+source/linux-lts-raring/+publishinghistory

Quoted 8 lines

You can just click on the version number at the right to find the *.tar.gz, *.diff.gz and *.dsc.

You can download and create a source directory using

dget https://launchpad.net/ubuntu/precise/+source/linux-lts-raring/3.8.0-36.52~precise1/+files/linux-lts-raring_3.8.0-36.52~precise1.dsc
or
dget https://launchpad.net/ubuntu/precise/+source/linux-lts-raring/3.8.0-37.53~precise1/+files/linux-lts-raring_3.8.0-37.53~precise1.dsc

Sven,

Thanks for the info. I wanted version 3.8.0-37.53~precise1, but given that the code is available as the original source and the diff, I also grabbed the diff file for 3.8.0-36.52~precise1. My test kernel is building now.

Larry

#3 lore raw
Quoted 27 lines · Larry Finger
Quoted 16 lines · Sven Eckelmann

On Monday 28 April 2014 10:44:01 Larry Finger wrote:
[...]

Quoted 4 lines

Is there a link to the 3.8.0-37 source? I could not find it on the Ubuntu
web pile. With it, I should be able to fix his problem as long as I can duplicate it.

Which exact versions? 3.8.0-36.52~precise1 and 3.8.0-37.53~precise1? There were
a lot of backports which you can find all here:
https://launchpad.net/ubuntu/+source/linux-lts-raring/+publishinghistory

You can just click on the version number at the right to find the *.tar.gz,
*.diff.gz and *.dsc.

Quoted 9 lines

You can download and create a source directory using

dget
https://launchpad.net/ubuntu/precise/+source/linux-lts-raring/3.8.0-36.52~precise1/+files/linux-lts-raring_3.8.0-36.52~precise1.dsc

or
dget
https://launchpad.net/ubuntu/precise/+source/linux-lts-raring/3.8.0-37.53~precise1/+files/linux-lts-raring_3.8.0-37.53~precise1.dsc

Quoted 10 lines

Sven,

Thanks for the info. I wanted version 3.8.0-37.53~precise1, but given that the code is available as the original source and the diff, I also grabbed the diff file for 3.8.0-36.52~precise1. My test kernel is building now.

Larry

Larry - you can also get the source from our git repository:

git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git

You can get the most recent source for that version from the lts-backport-raring branch, or use the tag Ubuntu-lts-3.8.0-37.53

Thanks for looking into this. Let me know if I can help.

rtg

Signature · 1 line
Tim Gardner [email protected]
#4 lore raw
In reply to Sven Eckelmann

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

drivers/net/wireless/rtlwifi/core.c +0 -1
Index: linux-3.8.37/drivers/net/wireless/rtlwifi/core.c
===================================================================
@@ -187,7 +187,6 @@ static int rtl_op_add_interface(struct i
 					rtlpriv->cfg->maps
 					[RTL_IBSS_INT_MASKS]);
 		}
-		mac->link_state = MAC80211_LINKED;
 		break;
 	case NL80211_IFTYPE_ADHOC:
 		RT_TRACE(rtlpriv, COMP_MAC80211, DBG_LOUD,
#5 lore raw

If you want, I can reinstall Ubuntu 12.04 and update it to the lastest Kernel version from Update Manager. Teach me how to make a Bug Report and I'll send it to you.
(Sorry for my English, maybe your eyes are bleeding)

Nicolas

Quoted 11 lines · Larry Finger

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

#6 lore raw
Quoted 4 lines · Nicolas Vaquero

If you want, I can reinstall Ubuntu 12.04 and update it to the lastest Kernel version from Update Manager.
Teach me how to make a Bug Report and I'll send it to you. (Sorry for my English, maybe your eyes are bleeding)

To file the bug report against the kernel in Ubuntu, open a terminal and run 'ubuntu-bug linux'. This will guide you through the process of filing the bug.

Thanks,
Seth

Quoted 26 lines

Nicolas

Quoted 12 lines · Larry Finger

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.

Quoted 5 lines

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

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
In reply to Nicolas Vaquero

It looks like there is already a bug report in progress for this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1289429

I'll attach the patch and have Joe build a test kernel.

rtg

Quoted 26 lines · Nicolas Vaquero

If you want, I can reinstall Ubuntu 12.04 and update it to the lastest Kernel version from Update Manager.
Teach me how to make a Bug Report and I'll send it to you. (Sorry for my English, maybe your eyes are bleeding)

Nicolas

Quoted 17 lines · Larry Finger

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

Signature · 1 line
Tim Gardner [email protected]
#8 lore raw
Quoted 4 lines · Tim Gardner

It looks like there is already a bug report in progress for this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1289429

I'll attach the patch and have Joe build a test kernel.

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

#9 lore raw
Quoted 6 lines · Larry Finger
Quoted 4 lines · Tim Gardner

It looks like there is already a bug report in progress for this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1289429

I'll attach the patch and have Joe build a test kernel.

Quoted 9 lines

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

Noted in the bug report. Thanks.

rtg

Signature · 1 line
Tim Gardner [email protected]