lost and found ( for me ? )

Upgrade kernel to 3.19 from 3.13 on Ubuntu 14.04 desktop

Here are logs when upgrading kernel to 3.19 from 3.13 on Ubuntu 14.04 desktop.

Reference
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

Before upgrading the kernel.

hattori@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

hattori@ubuntu:~$ uname -ri
3.13.0-71-generic x86_64

upgrade kernel

hattori@ubuntu:~$ sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid


Before rebooting the OS, I dumped kernel modules currently loaded.

I use an USB WIFI adapter on my laptop(rt2800usb), which is important for me, because I can not access to the internet without that module.

dump kernel module loaded on kernel 3.13.0-71.

hattori@ubuntu:~$ lsmod > lsmod-`uname -r`.txt

hattori@ubuntu:~$ cat lsmod-3.13.0-71-generic.txt
Module                  Size  Used by
btrfs                 835994  0
raid6_pq               97812  1 btrfs
xor                    21411  1 btrfs
ufs                    74890  0
qnx4                   13317  0
hfsplus               107516  0
hfs                    54677  0
minix                  36140  0
ntfs                   97369  0
msdos                  17332  0
jfs                   181348  0
xfs                   916487  0
libcrc32c              12644  2 xfs,btrfs
ctr                    13049  3
ccm                    17773  3
ip6t_REJECT            12939  2
ipt_REJECT             12541  4
xt_multiport           12798  2
ip6table_filter        12815  1
ip6_tables             27025  1 ip6table_filter
ebtable_nat            12807  0
ebtables               30913  1 ebtable_nat
pci_stub               12622  0
xt_conntrack           12760  3
xt_addrtype            12635  2
iptable_filter         12810  1
veth                   13331  0
bnep                   19624  2
rfcomm                 69160  0
ipt_MASQUERADE         12880  9
bluetooth             391136  10 bnep,rfcomm
iptable_nat            13011  1
nf_conntrack_ipv4      15012  4
nf_defrag_ipv4         12758  1 nf_conntrack_ipv4
nf_nat_ipv4            13263  1 iptable_nat
nf_nat                 21841  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack           97202  6 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,xt_conntrack,iptable_nat,nf_conntrack_ipv4
xt_CHECKSUM            12549  4
aufs                  202783  0
xt_tcpudp              12884  18
iptable_mangle         12695  1
ip_tables              27239  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               34059  14 ip6table_filter,xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,xt_multiport,iptable_filter,ebtables,ipt_REJECT,iptable_mangle,ip6_tables,xt_addrtype,ip6t_REJECT
nfsd                  284385  2
auth_rpcgss            59338  1 nfsd
nfs_acl                12837  1 nfsd
nfs                   236726  0
lockd                  93977  2 nfs,nfsd
sunrpc                289260  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
fscache                63988  1 nfs
bridge                110841  0
binfmt_misc            17468  1
stp                    12976  1 bridge
llc                    14552  2 stp,bridge
arc4                   12608  2
rt2800usb              27034  0
rt2x00usb              20742  1 rt2800usb
rt2800lib              89076  1 rt2800usb
rt2x00lib              55307  3 rt2x00usb,rt2800lib,rt2800usb
radeon               1522902  4
mac80211              630728  3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211              484040  2 mac80211,rt2x00lib
ttm                    93424  1 radeon
drm_kms_helper         55071  1 radeon
crc_ccitt              12707  1 rt2800lib
drm                   303102  6 ttm,drm_kms_helper,radeon
i2c_algo_bit           13413  1 radeon
snd_usb_audio         155013  1
snd_usbmidi_lib        29215  1 snd_usb_audio
shpchp                 37032  0
snd_hda_codec_realtek    65812  1
kvm_amd                60066  0
snd_hda_intel          56531  3
snd_hda_codec         193017  2 snd_hda_codec_realtek,snd_hda_intel
kvm                   455843  1 kvm_amd
snd_hwdep              13602  2 snd_usb_audio,snd_hda_codec
snd_pcm               102099  3 snd_usb_audio,snd_hda_codec,snd_hda_intel
i2c_piix4              22155  0
k10temp                13126  0
mac_hid                13205  0
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  2 snd_usbmidi_lib,snd_seq_midi
serio_raw              13462  0
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
dm_multipath           22873  0
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29482  2 snd_pcm,snd_seq
edac_core              62291  0
snd                    69322  20 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd
edac_mce_amd           22617  0
scsi_dh                14882  1 dm_multipath
parport_pc             32701  0
ppdev                  17671  0
lp                     17759  0
parport                42348  3 lp,ppdev,parport_pc
hid_generic            12548  0
usbhid                 52659  0
hid                   106148  2 hid_generic,usbhid
usb_storage            62209  3
firewire_ohci          40409  0
psmouse               106692  0
firewire_core          68769  1 firewire_ohci
crc_itu_t              12707  1 firewire_core
ahci                   34091  2
r8169                  71677  0
libahci                32716  1 ahci
mii                    13934  1 r8169


make sure rt2800usb kernel module exists in kernel 3.19.0-41.

hattori@ubuntu:~$ modinfo rt2800usb | head -1
filename:       /lib/modules/3.13.0-71-generic/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko

hattori@ubuntu:~$ ls /lib/modules/3.19.0-41-generic/kernel/drivers/net/wireless/rt2x00/rt2800*
/lib/modules/3.19.0-41-generic/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
/lib/modules/3.19.0-41-generic/kernel/drivers/net/wireless/rt2x00/rt2800mmio.ko
/lib/modules/3.19.0-41-generic/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
/lib/modules/3.19.0-41-generic/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko

reboot the OS.

Now my Ubuntu box is running with kernel 3.19.

hattori@ubuntu:~$ uname  -ri
3.19.0-41-generic x86_64

I can access to the internet after upgrading the kerne.

hattori@ubuntu:~$ ping -c 1 www.google.com
PING www.google.com (216.58.221.4) 56(84) bytes of data.
64 bytes from nrt13s38-in-f4.1e100.net (216.58.221.4): icmp_seq=1 ttl=56 time=8.50 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 8.503/8.503/8.503/0.000 ms


There is rt2800usb kernel module, which is a USB WIFI driver.

hattori@ubuntu:~$ lsmod | grep rt2800usb
rt2800usb              28672  0
rt2x00usb              24576  1 rt2800usb
rt2800lib              90112  1 rt2800usb
rt2x00lib              57344  3 rt2x00usb,rt2800lib,rt2800usb







No comments:

Post a Comment

Note: Only a member of this blog may post a comment.