[Karmic] Update to 2.6.31.6 Stable Kernel

Bug #480144 reported by Leann Ogasawara
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned
Karmic
Medium
Leann Ogasawara

Bug Description

SRU Justification/Impact: The upstream process for stable tree updates is quite similar in scope to the Ubuntu SRU process, e.g., each patch has to demonstrably fix a bug, and each patch is vetted by upstream by originating either directly from Linus' tree or in a minimally backported form of that patch. The 2.6.31.6 upstream stable patch set is now available. It should be included in the Ubuntu kernel as well.

TEST CASE: TBD

http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31.6

http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.31.6.bz2

==========

The 2.6.31.6 Upstream Stable Kernel brings in the following 101 patches:

* fs: pipe.c null pointer dereference
* pci: increase alignment to make more space for hidden code
* libata: fix internal command failure handling
* libata: fix PMP initialization
* sata_nv: make sure link is brough up online when skipping hardreset
* nfs: Fix nfs_parse_mount_options() kfree() leak
* KVM: use proper hrtimer function to retrieve expiration time
* KVM: ignore reads from AMDs C1E enabled MSR
* futex: Handle spurious wake up
* futex: Check for NULL keys in match_futex
* futex: Move drop_futex_key_refs out of spinlock'ed region
* futex: Fix spurious wakeup for requeue_pi really
* ahci: revert "Restore SB600 sata controller 64 bit DMA"
* sparc64: Set IRQF_DISABLED on LDC channel IRQs.
* sparc: Kill PROM console driver.
* watchdog: Fix rio watchdog probe function
* Input: synaptics - add another Protege M300 to rate blacklist
* dm snapshot: free exception store on init failure
* dm snapshot: sort by chunk size to fix race
* dm log: userspace fix incorrect luid cast in userspace_ctr
* dm: add missing del_gendisk to alloc_dev error path
* dm: dec_pending needs locking to save error value
* dm exception store: fix failed set_chunk_size error path
* dm snapshot: lock snapshot while supplying status
* dm snapshot: require non zero chunk size by end of ctr
* dm snapshot: use unsigned integer chunk size
* ray_cs: Fix copy_from_user handling
* mbind(): fix leak of never putback pages
* do_mbind(): fix memory leak
* 8250_pci: add IBM Saturn serial card
* dpt_i2o: Fix up copy*user
* dpt_i2o: Fix typo of EINVAL
* hfsplus: refuse to mount volumes larger than 2TB
* Driver core: fix driver_register() return value
* tty: Mark generic_serial users as BROKEN
* param: fix lots of bugs with writing charp params from sysfs, by leaking mem.
* param: fix NULL comparison on oom
* param: fix setting arrays of bool
* USB: serial: sierra driver send_setup() autopm fix
* USB: option: Patch for Huawei Mobile Broadband E270+ Modem
* USB: option: Support for AIRPLUS MCD650 Datacard
* USB: option: TLAYTECH TUE800 support
* libertas if_usb: Fix crash on 64-bit machines
* cpuidle: always return with interrupts enabled
* virtio: order used ring after used index read
* CIFS: Fixing to avoid invalid kfree() in cifs_get_tcp_session()
* mac80211: fix for incorrect sequence number on hostapd injected frames
* mac80211: check interface is down before type change
* x86, UV: Fix information in __uv_hub_info structure
* x86, UV: Set DELIVERY_MODE=4 for vector=NMI_VECTOR in uv_hub_send_ipi()
* NOMMU: Don't pass NULL pointers to fput() in do_mmap_pgoff()
* mm: remove incorrect swap_count() from try_to_unuse()
* x86-64: Fix register leak in 32-bit syscall audting
* nilfs2: fix dirty page accounting leak causing hang at write
* drm/i915: Fix FDI M/N setting according with correct color depth
* drm/i915: fix to setup display reference clock control on Ironlake
* drm/i915: fix panel fitting filter coefficient select for Ironlake
* agp/intel: Add B43 chipset support
* drm/i915: add B43 chipset support
* xen/hvc: make sure console output is always emitted, with explicit polling
* xen: mask extended topology info in cpuid
* sgi-gru: decrapfiy options_write() function
* KVM: get_tss_base_addr() should return a gpa_t
* fuse: prevent fuse_put_request on invalid pointer
* fuse: fix kunmap in fuse_ioctl_copy_user
* x86/amd-iommu: Workaround for erratum 63
* fsnotify: do not set group for a mark before it is on the i_list
* mips: fix build of vmlinux.lds
* alpha: fix build after vmlinux.lds.S cleanup
* ACPI / PCI: Fix NULL pointer dereference in acpi_get_pci_dev() (rev. 2)
* Revert "ACPI: Attach the ACPI device to the ACPI handle as early as possible"
* KEYS: get_instantiation_keyring() should inc the keyring refcount in all cases
* b43: Fix Bugzilla #14181 and the bug from the previous 'fix'
* pata_sc1200: Fix crash on boot
* AF_UNIX: Fix deadlock on connecting to shutdown socket (CVE-2009-3621)
* ALSA: ice1724 - Make call to set hw params succeed on ESI Juli@
* bonding: fix a race condition in calls to slave MII ioctls
* hwmon: (it87) Fix VID reading on IT8718F/IT8720F
* netlink: fix typo in initialization (CVE-2009-3612)
* nfs: Avoid overrun when copying client IP address string
* nfs: Panic when commit fails
* NFSv4: Fix a bug when the server returns NFS4ERR_RESOURCE
* NFSv4: Fix two unbalanced put_rpccred() issues.
* NFSv4: Kill nfs4_renewd_prepare_shutdown()
* NFSv4: The link() operation should return any delegation on the file
* powerpc: Remove SMP warning from PowerMac cpufreq
* vmscan: limit VM_EXEC protection to file pages
* x86: mce: Clean up thermal throttling state tracking code
* x86: mce: Fix thermal throttling message storm
* iwlwifi: fix potential rx buffer loss
* iwlwifi: reduce noise when skb allocation fails
* x86/amd-iommu: Un__init function required on shutdown
* KVM: Prevent kvm_init from corrupting debugfs structures
* powerpc/pmac: Fix PowerSurge SMP IPI allocation
* powerpc/pmac: Fix issues with sleep on some powerbooks
* powerpc/pci: Fix regression in powerpc MSI-X
* powerpc: Fix some late PowerMac G5 with PCIe ATI graphics
* sata_via: Remove redundant device ID for VIA VT8261
* pata_via: extend the rev_max for VT6330
* PM / yenta: Split resume into early and late parts (rev. 4)
* Linux 2.6.31.6

We are however going to omit pulling in the following 2 patches as they either remove or disable drivers which might result in a regression:
* sparc: Kill PROM console driver.
* tty: Mark generic_serial users as BROKEN

== Fixes ==
Bug 327499: "Revert "ACPI: Attach the ACPI device to the ACPI handle as early as possible"
Bug 456264: " USB: option: TLAYTECH TUE800 support"
Bug 476154: "b43: Fix Bugzilla #14181 and the bug from the previous 'fix'"
Bug 407824: "pci: increase alignment to make more space for hidden code"
Bug 407040: "pci: increase alignment to make more space for hidden code"
Bug 453444: "x86: mce: Fix thermal throttling message storm"
Bug 459265: "NFSv4: Fix two unbalanced put_rpccred() issues."

== Possibly Fixes ==
Bug 442966: "fsnotify: do not set group for a mark before it is on the i_list"
Bug 432860: "fsnotify: do not set group for a mark before it is on the i_list"
Bug 457523 - "mac80211: check interface is down before type change"

Bug 417776: "Linux 2.6.31.6"
Bug 464429: "Linux 2.6.31.6"

Changed in linux (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu Karmic):
assignee: nobody → Leann Ogasawara (leannogasawara)
importance: Undecided → Medium
status: New → In Progress
tags: added: 2.6.31.6
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
JanCeuleers (jan-ceuleers) wrote :

Also fixes bug #454575 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/454575): "[karmic][sc1200] kernel 2.6.31-14-generic oops on boot"

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
JanCeuleers (jan-ceuleers) wrote : Re: [Bug 480144] Re: [Karmic] Update to 2.6.31.6 Stable Kernel

Martin,

Martin Pitt wrote:
> Accepted linux into karmic-proposed, the package will build now and be
> available in a few hours. Please test and give feedback here. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> enable and use -proposed. Thank you in advance!
>
> ** Changed in: linux (Ubuntu Karmic)
> Status: In Progress => Fix Committed
>
> ** Tags added: verification-needed

Sorry to bother you with this howto question.

The particular issue I want to test is whether this kernel solves a boot-time crash in the pata_sc1200 module. It should; 2.6.31.6 contains a fix from Alan Cox for this.

Since this is a boot-time crash, I have not been able to install Karmic on the machine in question (a Soekris net4801 - www.soekris.com).

So it's currently running Intrepid. Can you help me install this Karmic kernel on the Intrepid system?

It's OK if it trashes the system; this is a test machine anyway.

Thanks a lot.

Jan

Revision history for this message
Brian Rogers (brian-rogers) wrote :

The current karmic-proposed kernel can be downloaded at https://launchpad.net/ubuntu/karmic/+package/linux-image-2.6.31-17-generic
Mainline kernel builds are at http://kernel.ubuntu.com/~kernel-ppa/mainline/

They can be installed by double-clicking the .deb file or with 'sudo dpkg -i linux-image-2.6.31-17-generic_2.6.31-17.54_i386.deb'.

Revision history for this message
Martin Pitt (pitti) wrote :

JanCeuleers [2009-12-10 19:54 -0000]:
> So it's currently running Intrepid. Can you help me install this Karmic
> kernel on the Intrepid system?

Download the package from

  http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.31-17-generic_2.6.31-17.54_i386.deb

(i386) or

  http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.31-17-generic_2.6.31-17.54_amd64.deb

(amd64), and install it. Then you should have the new kernel in the
grub boot menu.

Disclaimer: I don't know whether this kernel works very well on
intrepid, or at all. But the old kernel won't disappear, so you can
always reboot back into the 2.6.27 one that intrepid ships.

Revision history for this message
JanCeuleers (jan-ceuleers) wrote :

I successfully installed and booted this kernel on a machine having a National Semiconductor SC1200 PATA controller:

00:12.2 IDE interface: National Semiconductor Corporation SCx200, SC1100 IDE controller (rev 01)

The previous 2.6.31 kernel would crash at boot.

So I conclude that the issue "pata_sc1200: Fix crash on boot" has indeed been resolved in this kernel.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (11.9 KiB)

This bug was fixed in the package linux - 2.6.31-17.54

---------------
linux (2.6.31-17.54) karmic-proposed; urgency=low

  [ John Johansen ]

  * SAUCE: AppArmor: Fix oops after profile removal
    - LP: #475619
  * SAUCE: AppArmor: Fix Oops when in apparmor_bprm_set_creds
    - LP: #437258
  * SAUCE: AppArmor: Fix cap audit_caching preemption disabling
    - LP: #479102
  * SAUCE: AppArmor: Fix refcounting bug causing leak of creds
    - LP: #479115
  * SAUCE: AppArmor: Fix oops there is no tracer and doing unsafe
    transition.
    - LP: #480112

  [ Leann Ogasawara ]

  * Revert "[Upstream] (drop after 2.6.31) usb-storage: Workaround devices
    with bogus sense size"
    - LP: #461556
  * Revert "[Upstream] (drop after 2.6.31) Input: synaptics - add another
    Protege M300 to rate blacklist"
    - LP: #480144

  [ Tim Gardner ]

  * [Config] udeb: Add squashfs to fs-core-modules
    - LP: #352615

  [ Upstream Kernel Changes ]

  * Revert "e1000e: swap max hw supported frame size between 82574 and
    82583"
    - LP: #461556
  * Revert "drm/i915: Fix FDI M/N setting according with correct color
    depth"
    - LP: #480144
  * Revert "agp/intel: Add B43 chipset support"
    - LP: #480144
  * Revert "drm/i915: add B43 chipset support"
    - LP: #480144
  * Revert "ACPI: Attach the ACPI device to the ACPI handle as early as
    possible"
    - LP: #327499, #480144
  * SCSI: Retry ADD_TO_MLQUEUE return value for EH commands
    - LP: #461556
  * SCSI: Fix protection scsi_data_buffer leak
    - LP: #461556
  * SCSI: sg: Free data buffers after calling blk_rq_unmap_user
    - LP: #461556
  * ARM: pxa: workaround errata #37 by not using half turbo switching
    - LP: #461556
  * tracing/filters: Fix memory leak when setting a filter
    - LP: #461556
  * x86/paravirt: Use normal calling sequences for irq enable/disable
    - LP: #461556
  * USB: ftdi_sio: remove tty->low_latency
    - LP: #461556
  * USB: ftdi_sio: remove unused rx_byte counter
    - LP: #461556
  * USB: ftdi_sio: clean up read completion handler
    - LP: #461556
  * USB: ftdi_sio: re-implement read processing
    - LP: #461556
  * USB: pl2303: fix error characters not being reported to ldisc
    - LP: #461556
  * USB: digi_acceleport: Fix broken unthrottle.
    - LP: #461556
  * USB: serial: don't call release without attach
    - LP: #461556
  * USB: option: Toshiba G450 device id
    - LP: #461556
  * USB: ipaq: fix oops when device is plugged in
    - LP: #461556
  * USB: cp210x: Add support for the DW700 UART
    - LP: #461556
  * USB: Fix throttling in generic usbserial driver
    - LP: #461556
  * USB: storage: When a device returns no sense data, call it a Hardware
    Error
    - LP: #400652, #461556
  * arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0
    - LP: #461556
  * intel-iommu: Cope with broken HP DC7900 BIOS
    - LP: #461556
  * futex: Detect mismatched requeue targets
    - LP: #461556
  * futex: Fix wakeup race by setting TASK_INTERRUPTIBLE before queue_me()
    - LP: #461556
  * tpm-fixup-pcrs-sysfs-file-update
    - LP: #461556
  * TPM: fix pcrread
    - LP: #461556
  * Bluetooth: Disconnect HIDRAW devices on disconnect
    - LP...

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers