Download Ubuntu kernel patches

Asked by slicks

I need to compile kernel 2.6.38-8 on Ubuntu 10.04.2 LTS. I downloaded kernel's source code from kernel.org, copied default configuration file for kernel 2.6.38-8 from Ubuntu 11.04, compiled and installed kernel. After loading Ubuntu 10.04 on kernel 2.6.38-8 some errors appeared. Realtek 8169 and Intel HD (driver: i915) doesn't work properly but when I launched Ubuntu 11.04 such errors didn't appear. I suggest problem with hardware rise up because I didn't apply some Ubuntu specific kernel patches.
When Ubuntu 10.04 is started with kernel 2.6.38-8 such errors appear:

$ dmesg |grep 8169
[ 2.629556] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 2.629570] r8169 0000:09:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 2.629602] r8169 0000:09:00.0: setting latency timer to 64
[ 2.629656] r8169 0000:09:00.0: irq 41 for MSI/MSI-X
[ 2.629819] r8169 0000:09:00.0: eth0: RTL8168d/8111d at 0xf802c000, 60:eb:69:45:c5:05, XID 083000c0 IRQ 41
[ 20.720374] r8169 0000:09:00.0: eth0: unable to apply firmware patch
[ 20.722282] r8169 0000:09:00.0: eth0: link down
[ 20.722680] ADDRCONF(NETDEV_UP): eth0: link is not ready

$ dmesg |grep i915
[ 9.966612] intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
[ 10.945835] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 10.945839] i915 0000:00:02.0: setting latency timer to 64
[ 10.978437] i915 0000:00:02.0: irq 42 for MSI/MSI-X
[ 11.300709] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 15.156546] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo

# lshw -C network
  *-network
       description: Wireless interface
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 10
       serial: f0:7b:cb:a0:89:24
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl819xSE driverversion=0015.0127.2010 firmware=62 ip=192.168.0.150 latency=0 link=yes multicast=yes wireless=802.11bgn
       resources: irq:17 ioport:2000(size=256) memory:f0500000-f0503fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: eth0
       version: 03
       serial: 60:eb:69:45:c5:05
       size: 10MB/s
       capacity: 1GB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
       resources: irq:34 ioport:4000(size=256) memory:f0904000-f0904fff(prefetchable) memory:f0900000-f0903fff(prefetchable) memory:f0920000-f093ffff(prefetchable)

# lshw -C display
  *-display
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:36 memory:f0000000-f03fffff memory:d0000000-dfffffff(prefetchable) ioport:1800(size=8)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Basse
Solved:
Last query:
Last reply:
Revision history for this message
slicks (slicks) said :
#1

If it is not possible to find Ubuntu kernel patch, then may be kernel source for 2.6.38-8 with Ubuntu patches available for download somewhere?
P.S. and where do people usually get some security kernel patches and other interesting thins for their kernels?

Best regards,
Slicks

Revision history for this message
Best Michael Basse (michael-alpha-unix) said :
#2

the source-package contains the vanilla-kernel and the ubuntu/debian-patches.

you can download the source-package with "apt-get source packagename" also you can find them at packages.ubuntu.com

Revision history for this message
slicks (slicks) said :
#3

Michael Basse, thanks for reply. Issue is solved

Revision history for this message
slicks (slicks) said :
#4

Thanks Michael Basse, that solved my question.