Karmic Kernel 2.6.31 installed but not visible in grub boot menu -> Sound not working in old/previous kernel version after direct upgrade from Ubuntu 8.04 to Ubuntu 9.10
I tried upgrading the Also drivers to version 1.0.21 with no joy
anthony@presario:~$ bash alsa-info.sh --pastebin
ALSA Information Script v 0.4.58
-------
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.
dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See 'alsa-info.sh --help' for command line options.
/sbin/alsactl: save_state:1502: No soundcards found...
cat: /tmp/alsa-
Automatically upload ALSA information to pastebin? [y/N] : y
Uploading information to www.pastebin.ca ... Done!
Your ALSA information is located at http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- TonyR
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
The issue is this:
# Kernel Information
# ------------------
#
# Kernel release: 2.6.28-11-generic
# Operating System: GNU/Linux
# Architecture: i686
# Processor: unknown
# SMP Enabled: Yes
#
#
# ALSA Version
# ------------
#
# Driver version: 1.0.18rc3
# Library version: 1.0.20
# Utilities version: 1.0.20
Your ALSA driver and library versions are not the same. And this is probably caused by the fact that you are booting the old Jaunty kernel instead of the new Karmic kernel (version 2.6.31).
Please try rebooting and choose the 2.6.31 Karmic kernel in the boot menu. Then boot and retest sound. If it still does not work, then I think the upgrade to 9.10 failed. If you cannot find or install the 2.6.31 kernel using Synaptic or aptitude, then I suggest reinstalling Ubuntu 9.10 from a LiveCD session.
Revision history for this message
|
#2 |
If you encounter the same problem after doing what Mark Rijckenberg said, I will tell you what I've done to fix the "No soundcards found ..." issue. I have a FS laptop with the same VIA audio chipset and after I reconfigured alsa-base the sound card was detected by the system and sound is heard now.
Revision history for this message
|
#3 |
Hi
Thanks for you advice and help which is most appreciated.
Using ESC gives me a boot menu otherwise it just goes directly to Ubuntu. The menu only has Ubuntu 9.04 Kernal 2.6.28-11 generic & recovery mode + mem test so I don't actually have 9.10 at all.
Where is my old 8.04 kennal that worked?
I can't understand why Ubuntu can't upgrade a working Ubuntu system with all the configuration files in place for the insrtallation program to read. I thought Linux was stable and this has shattered this myth.
I thought it was impossable for an upgrade to fail like this without any error? It took so much effort to get 8.04 all working on this old machine and now we are back to square one. I will install 9.10 however i can forsee a lot of hardship getting everything running and following the last upgrade I was left with an small half screen and having to create my own code page file to correct by trial and error.
It sucks that basic input systems like Mouse, Screen or Network can work following installation on quality Compaq hardware.
How long will Linux be out before it can handle an upgrade over itsd own native file system with full access to its own configuration files?
This put the lie to all the crap about abstraction and stability.
Revision history for this message
|
#4 |
As I wrote before, if you boot the old kernel (2.6.28-11 generic), you should be able to install the 2.6.31 kernel using Synaptic or aptitude. After installing the 2.6.31 kernel from the Ubuntu repositories, reboot and then sound should work. If the 2.6.31 kernel cannot be found, then the /etc/apt/
Revision history for this message
|
#5 |
Hi Mark
Thanks for the additional assistance. I looked in Package manager under Kernal & Modules + Multiverse and universe and I cannot find a package 2.6.31?
in addition I don't understand if I run "update manager" I dont get the Kernal update in any case.
How can I fall behind in this way and why does'nt update manager not detect that I am out of sync?
Once I have a bootable system I should be able to conect to ubuntu and get the required updates to stablise my system. What am I missing or are my expectations unrealistic?
How do I find this package to fix?
Cheers
Anthony
Revision history for this message
|
#6 |
Please send us the full output of the following 3 commands:
cat /etc/apt/
sudo aptitude update
sudo aptitude search 2.6.31
Revision history for this message
|
#7 |
Hi
Please find the output as requested.
anthony@presario:~$ cat/etc/
bash: cat/etc/
anthony@presario:~$ cat /etc/apt/
#
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
anthony@presario:~$
anthony@presario:~$ sudo aptitude update
Writing extended state information... Done
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
anthony@presario:~$ sudo aptitude search 2.6.31
p linux-backports
p linux-backports
p linux-backports
p linux-backports
p linux-ec2-
i A linux-headers-
p linux-headers-
i A linux-headers-
p linux-headers-
p linux-headers-
p linux-headers-
p linux-headers-
p linux-headers-
p linux-headers-
p linux-image-
i linux-image-
p linux-image-
p linux-image-
p linux-image-
p linux-image-
p linux-rt-
p linux-source-2.6.31 - Linux kernel source for version 2.6.31 wit
Revision history for this message
|
#8 |
The output of the command
sudo aptitude search 2.6.31
shows the following output on your pc:
i linux-image-
This means that the Karmic kernel 2.6.31-14-generic is already installed on your pc, but - as you wrote - not visible in the grub boot menu.
Try running the following commands (copy-paste into a Terminal):
sudo update-initramfs -c -v -k 2.6.31-14-generic
sudo dpkg-reconfigure linux-image-
sudo update-grub
Then reboot into the grub menu and - hopefully - you can select the new 2.6.31 kernel.
Revision history for this message
|
#9 |
Hi Mark
I ran those commands which seemed to complete Ok and I could see the terminal test update menu.lst however when i restarted i could still only see 2.6.28-11 in the GRUB menu so nothing has changed concerning the problem.
Revision history for this message
|
#10 |
That is very strange. In that case, I recommend installing Ubuntu 9.10 from a LiveCD session. First make a backup of all your personal data before attempting the clean install.
Revision history for this message
|
#11 |
Thanks for your help.
It is indeed very strange that the Karmic kernel 2.6.31-14-generic is already installed on my pc, but - as you wrote - not visible in the grub boot menu. So the system can be simply pointed to the correct kernel - very strange.
It kind of shakes up my confidence in the environment to the bone because i have downloaded Linux images and run setup programs to completion to the end without any errors showing several times in the past only to find that the system did not start or run properly without considerable intervention via a terminal window. It seems every 2 years i revisit the environment to find nothing much has changed.
The problem for users trying to learn you have no idea what these cryptic commands are actually doing or attempting to do so you learn nothing.
A GUI provides you context that accellerates learning however it seem Linux will never make it that far.
I am greatful for your assistance and thanks very much.
I have to be honest and say I have no confidence in runing live setup again and as much as i want to believe in the concept of open source I am prepared to admit that it will never mature to a point of public acceptance as it is too unstable to setup and too difficult to learn.
You simply need to be able to troubleshoot and configure in a GUI and NOT a terminal.
Revision history for this message
|
#12 |
Hi Mark
I made a copy of the 3 lines in the Menu.lst file that corresponded to the 3 9.04 lines that were showing the the GRUB menu and edited them to refer to 2.6.31-14 as we both know that the files were on my system.
The system then booted inot 9.10 and I heard the start up sound on logging in so I knew something had changed. All sound now works find and the touch panel also works.
Unfortunately the wireless PCNCIA card does not work which i will troubleshoot separately.
It is a TP-LINK WN610G which is only listed as supported in 8.03 so i may need a new driver.
Thanks for your assistance.
Kind Regards
Anthony
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 21e129c2-
kernel /boot/vmlinuz-
initrd /boot/initrd.
quiet
title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 21e129c2-
kernel /boot/vmlinuz-
initrd /boot/initrd.
title Ubuntu 9.10, memtest86+
uuid 21e129c2-
kernel /boot/memtest86
Revision history for this message
|
#13 |
Please also read this document:
http://
"Before You Start
* You can only directly upgrade to Ubuntu 9.10 from Ubuntu 9.04 (see UpgradeNotes).
* Be sure that you have all updates applied to Ubuntu 9.04 before you upgrade.
* Before upgrading it is recommended that you read the release notes for Ubuntu 9.10, which document caveats and workarounds for known issues in this version. "
Issues are expected if you attempt an upgrade from Ubuntu 8.04 directly to Ubuntu 9.10. This upgrade shortcut will not work.