LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-07-2009, 08:20 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,524
Blog Entries: 27

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Question RQ: wisdom re kernel changing


Hello

Can those with more experience please contribute wisdom about kernel changing?

A recent system upgrade (apt-get upgrade) upgraded 106 packages. It included ubuntu 8.04.2 (was 8.04.1) and a new init image, /boot/initrd.img-2.6.24-19-generic (was same name).

The upgrade broke reading files from DVD (the backup script runs cksum on the backup files on DVD). Reading files from DVD has long been troublesome; essentially the problem is as reported at launchpad bug 228624 although the problem has been intermittent and symptoms have varied. The "all_generic_ide=1" workaround described there had given blessed relief from failed DVD reads for a couple of months until the recent upgrade.

So -- how to fix reading files from DVD? This is where my ignorance comes in and wisdom would be helpful both with the techniques and in weighing the pros and cons.

One option is to back out the recent package upgrades. Speculation puts the problem in the area of DVD file system mounting/automounting, UDMA, IDE/PATA/SATA. How about guessing the problem is kernel related and backing out the latest kernel change? How to do that? How to find documentation on doing that? Better/possible to back out all 106 changes and re-apply progressively? How to do that?

Another option given at launchpad bug 228624 is to change to the 2.6.27 kernel. A 2.6.27 kernel prepared for Hardy was used in Intrepid Alphas. How to find? How to try/backout? How to find documentation on doing that? This would be contrary to the philosophy of using a mature LTS version for stability? What is "stability" worth if the backups don't run reliably?!

Anything else to consider while managing (ha!) this problem?

Best

Charles
 
Old 02-09-2009, 08:06 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
What's the output of
Code:
uname -a
Code:
ls -l /dev/cdr*
Did you tried to read files with the old kernel.There should be an option in the boot menu for it.Have you tried with
Code:
all_generic_dma=1
 
Old 02-09-2009, 01:42 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,524
Blog Entries: 27

Original Poster
Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Thanks Alan

uname -a
Linux CW8 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

ls -l /dev/cdr*
lrwxrwxrwx 1 root root 4 2009-02-09 18:06 /dev/cdrom1 -> scd0
lrwxrwxrwx 1 root root 4 2009-02-09 18:06 /dev/cdrw1 -> scd0

The old kernel is not in /boot/grub/menu.lst because it's not a full kernel, just a new initrd.img file. The only reason I know it was changed by the recent upgrade is the presence of a new initrd.img-2.6.24-19-generic file:

ls -lrt /boot/initrd*
-rw-r--r-- 1 root root 7.4M 2008-06-16 21:52 /boot/initrd.img-2.6.24-16-generic.bak
-rw-r--r-- 1 root root 7.7M 2008-06-16 22:15 /boot/initrd.img-2.6.24-16-generic
-rw-r--r-- 1 root root 7.8M 2008-12-08 21:25 /boot/initrd.img-2.6.24-19-generic.bak
-rw-r--r-- 1 root root 7.8M 2009-02-05 01:31 /boot/initrd.img-2.6.24-19-generic

The problem has "gone away" for the last 5 backups. It's been intermittent since it began so that's nothing special. When it comes back I'll try all_generic_dma=1

Best

Charles
 
Old 02-09-2009, 02:01 PM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
OK, if you'll need to fix it again then you could try with this;
Code:
sudo chown username:username /media/cd*
sudo chmod 777 /media/cd*
sudo chown username:username /dev/cd*
sudo chmod 777 /dev/cd*
sudo chown username:username /dev/scd0
sudo chmod 777 /dev/scd0
You can do it now also.As a user you'll have better permissions and you'll be the owner.
 
Old 02-09-2009, 02:09 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,524
Blog Entries: 27

Original Poster
Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Thanks again, Alan

I'll give the permissions a try but I'm not hopeful -- the backup is run as root and if it was a permissions problem wouldn't it be solid, not intermittent?

Best

Charles
 
  


Reply

Tags
downgrade, dvd, hardy, kernel, read, upgrade


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TRaven's quest for wisdom. TRaven Linux - Newbie 7 09-18-2005 08:19 PM
the slack perls of wisdom ingvildr Slackware 2 05-08-2005 07:23 AM
GNOME-lovers, I need your wisdom! ltd602 Linux - Distributions 8 04-26-2005 06:56 PM
No opening wisdom in slackware 10 lordgorodos Linux - General 5 02-17-2005 09:31 PM
Sage words of Wisdom endorphinjunkie General 9 08-02-2003 11:25 PM


All times are GMT -5. The time now is 08:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration