LinuxWireless

Differences between revisions 26 and 27
Revision 26 as of 2012-11-08 15:15:18
Size: 7657
Editor: penalvch
Comment: As per https://lists.launchpad.net/ubuntu-bugcontrol/msg03792.html: 1) Fold Ubuntu cw in mainline testing request, both based linus' tree. 2) Defined compat-wireless up/downstream. 3) New sect. upstre
Revision 27 as of 2013-06-11 00:22:55
Size: 7355
Editor: penalvch
Comment: 1) Removed Oneiric as EOL. 2) RM'd realtek backport as unmaintained. 3) Misc. syntax fixes
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:
 1. For '''Realtek''' wireless chipsets:
  A. Does the Realtek Backport PPA work following [[https://launchpad.net/~lexical/+archive/hwe-wireless]]? Please mention what specific version of the Realtek Backport PPA you tested with in your report.
  A. Does the upstream Realtek drivers downloaded from [[http://www.realtek.com.tw]] work? Please mention what specific version of the drivers you tested with in your report.
 1. For '''Realtek''' wireless chipsets, does the upstream Realtek drivers downloaded from [[http://www.realtek.com.tw]] work? Please mention what specific version of the drivers you tested with in your report.
Line 43: Line 41:
During the Ubuntu development cycle, which happens every 6 months, the Ubuntu kernel will pick the latest stable kernel release available. At Ubuntu's Intrepid release cycle, for example, this was the 2.6.27 kernel, for Jaunty this was the 2.6.28 kernel, and for Karmic 2.6.31. During the Ubuntu development cycle, which happens every 6 months, the Ubuntu kernel will be picked from the latest stable kernel release available. At Ubuntu's Intrepid release cycle, for example, this was the 2.6.27 kernel, for Jaunty this was the 2.6.28 kernel, and for Karmic 2.6.31.
Line 47: Line 45:
Please be sure to read this guide, then finish this guide. Please be sure to read this guide in its entirety.
Line 53: Line 51:
Keep in mind Ubuntu has a "proposed" repository which allows you get newer kernels stable kernels (if you are 2.6.27.10 the proposed repository may have a 2.6.27.14 kernel). Instructions on enabling this repository may be found [[https://wiki.ubuntu.com/Testing/EnableProposed|here]]. The kernels are propagated over time from the proposed repository to updates over a few weeks period of time after general testing and acceptance. Keep in mind Ubuntu has a "proposed" repository which allows you to get newer stable kernels (if you are using 2.6.27.10 the proposed repository may have a 2.6.27.14 kernel). Instructions on enabling this repository may be found [[https://wiki.ubuntu.com/Testing/EnableProposed|here]]. The kernels are propagated over time from the proposed repository to updates over a few weeks period of time after general testing and acceptance.
Line 57: Line 55:
Unfortunately Ubuntu's Intrepid kernels do not tell you what the extraversion is (the .10 in 2.6.27.10) and this is required to report bugs upstream. Because of this you can look at the [[http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html|Ubuntu kernel version --> detailed mainline kernel version map]] to find out what exact upstream mainline kernel your kernel is based on. Unfortunately Ubuntu's Intrepid kernels do not tell you what the extra version is (the .10 in 2.6.27.10) and this is required to report bugs upstream. Because of this you can look at the [[http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html|Ubuntu kernel version --> detailed mainline kernel version map]] to find out what exact upstream mainline kernel your kernel is based on.
Line 72: Line 70:
Quantal - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.5.0]] <<BR>><<BR>> Precise - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.2.0]] <<BR>><<BR>> Oneiric - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.0.0]] <<BR>><<BR>> Lucid - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32]] <<BR>><<BR>> Hardy - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24]] Quantal - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.5.0]] <<BR>><<BR>> Precise - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.0.0]] <<BR>><<BR>> Lucid - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32]] <<BR>><<BR>> Hardy - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24]]

General Info

Escalating bugs and issues to the upstream developers is important to improving the overall quality of wireless drivers. Before we get started we will review first a few general details about the life cycle of Ubuntu's kernel releases so you are more comfortable with how things get into Ubuntu and what you are using.

Debugging information to provide in your bug report

When providing information for a bug to be worked on by a developer, please mention the following information:

  1. What is the full computer model number (ex. HP G32-301TX Notebook PC)?
  2. If you update your BIOS to the newest version, does this change anything?
  3. Regarding your wireless Access Point (AP):
    1. What is the AP manufacturer, model, and firmware version?
    2. What wireless connection type are you using (e.g. 802.11n, 802.11g, etc.)?
    3. Encryption Type (ex. WEP, WPA2-PSK TKIP/AES)?
    4. MAC Filtering
    5. QoS/WMM
    6. Beacon Interval
    7. Router Internal Firewall
      1. If you change any of the settings above does it change anything?
  4. Does another wireless device tested with the AP have the same problem as the hardware you initially reported with?
  5. What is the distance of the wireless device from AP?
  6. What is the number and type of obstructions between your device and the AP?
    1. If you bring the device close to the AP and eliminate obstructions, does this change anything?
  7. Does the issue occur with different APs?
  8. Is it a regression (e.g. did the problem happen in a prior Ubuntu release)?
    1. If so, what release specifically did it last work with?
    2. If you do not know, could you please test for this in the earliest release of Ubuntu that is supported as per Ubuntu Releases?

  9. Does this problem occur in the newest mainline kernel following https://wiki.ubuntu.com/Kernel/MainlineBuilds? Please mention what specific version of the mainline kernel you tested with in your report.

  10. Does ndiswrapper work following https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper? Please mention what specific version of ndiswrapper you tested with, and a link to the Windows driver you used in your report.

    1. If ndiswrapper does not work, you are welcome to file a new bug report by executing at a terminal:

      ubuntu-bug ndiswrapper-utils-1.9 
  11. For Broadcom wireless chipsets, does the Broadcom STA driver work following https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx? Please mention what specific version of Broadcom STA you tested with in your report.

  12. For Realtek wireless chipsets, does the upstream Realtek drivers downloaded from http://www.realtek.com.tw work? Please mention what specific version of the drivers you tested with in your report.

Ubuntu's kernels

During the Ubuntu development cycle, which happens every 6 months, the Ubuntu kernel will be picked from the latest stable kernel release available. At Ubuntu's Intrepid release cycle, for example, this was the 2.6.27 kernel, for Jaunty this was the 2.6.28 kernel, and for Karmic 2.6.31.

The Linux wireless guide on reporting bugs

Please be sure to read this guide in its entirety.

http://wireless.kernel.org/en/users/Documentation/Reporting_bugs

The Ubuntu proposed repository

Keep in mind Ubuntu has a "proposed" repository which allows you to get newer stable kernels (if you are using 2.6.27.10 the proposed repository may have a 2.6.27.14 kernel). Instructions on enabling this repository may be found here. The kernels are propagated over time from the proposed repository to updates over a few weeks period of time after general testing and acceptance.

Ubuntu Intrepid kernel release to stable kernel map

Unfortunately Ubuntu's Intrepid kernels do not tell you what the extra version is (the .10 in 2.6.27.10) and this is required to report bugs upstream. Because of this you can look at the Ubuntu kernel version --> detailed mainline kernel version map to find out what exact upstream mainline kernel your kernel is based on.

For example if you get:

ogasawara@emiko:~$ cat /proc/version_signature
Ubuntu 2.6.27-10.20-generic

You can then look at the map as to what exactly this maps to. In this case this would map to the 2.6.27.7 kernel.

It should be noted that the /proc/version_signature is an Ubuntu specific feature to help you get the detailed kernel version.

Compat-wireless from Ubuntu repositories

The compat-wireless packages in Ubuntu are generated with select wireless commits from linus' stable tree. This provides one with the benefit of improved wireless functionality in a stable Ubuntu release, without adding any other, potentially unnecessary code. The following is a list of compat-wireless packages available from the Ubuntu repositories:

Quantal - https://launchpad.net/ubuntu/+source/linux-backports-modules-3.5.0

Precise - https://launchpad.net/ubuntu/+source/linux-backports-modules-3.0.0

Lucid - https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32

Hardy - https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24

Installing compat-wireless

For Precise, this may be done by executing the following at a terminal:

sudo apt-get -y install linux-backports-modules-cw-3.3-3.2.0.23-generic-pae

and then reboot.

You will probably get newer versions of this package if you enable the proposed repository as explained above.

While compat-wireless in Ubuntu is updated regularly, it may not be every day. If you want to ensure you are running the cutting edge, one would want to use compat-wireless from upstream.

Removing compat-wireless

Please keep in mind that linux-backports-modules install modules in /lib/modules/$(uname -r)/updates/ and upon removal the modules are not removed. So be sure to rm -rf that updates directory (and only the updates directory!).

Compat-wireless from upstream

Upstream packages a compat-wireless backport based on the linux-next tree. This may be found at https://backports.wiki.kernel.org/index.php/Releases. The linux-next tree contains new features and fixes, and is a staging area for testing code that may be merged into linus' tree. Testing this gives developers vital information on what may fix your issue.

Kernel/LinuxWireless (last edited 2018-02-17 16:20:26 by penalvch)