LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-27-2006, 06:56 AM   #1
pipesmoker
LQ Newbie
 
Registered: Oct 2006
Location: Burton upon Trent, Central England.
Distribution: Slackware 11
Posts: 17

Rep: Reputation: 0
Why no CDrom when upgrading to 2.6.17.13smp kernel?


A problem revisited.

Having followed previous advice to include myself in /etc/groups I have been able to play CD's in Slackware 11. Ok until today when I upgraded to the 2.6.17.13smp kernel, followed all the instructions, but now I get the following message when I try to play a CD:

CD-Rom read or access error (no disc indrive) when there is
Make sure you have access permissions to /dev/cdrom.

I have used Slackware for 12 maybe 13 years and I used to get around the problem by chmodding /dev/cdrom to root permissions. It's not there any longer so I am stuck.

My box, with dual processor goes like stink since I upgraded, it really would be nice to play my CD's if you can please help me.

It often makes me wonder why I stick with Slackware, I love it, I have the T shirts, it's bloody frustrating when other distros do simple things but in Slackware it has to be fixed. With your help this old geezer will get there.
 
Old 11-27-2006, 08:51 AM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Which kernel did you upgrade from? Is your cd drive a regular cd drive or cdrw? You may already know, but if you go from 2.4 to 2.6 with a cdrw drive, it's a different device node in /dev. Goes from /dev/sr* to /dev/hd*.
 
Old 11-27-2006, 11:29 PM   #3
pipesmoker
LQ Newbie
 
Registered: Oct 2006
Location: Burton upon Trent, Central England.
Distribution: Slackware 11
Posts: 17

Original Poster
Rep: Reputation: 0
Hi

ide 2.4.32 to ide 6.17.13. It is a dvdrw drive which before the upgrade played CD's but now comes up with the error when KDE initialises.

Thanks for the reply, I will have a play, and post the outcome.
 
Old 11-28-2006, 10:57 AM   #4
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Since you changed from 2.4 to 2.6, put
Code:
append = "ide-cd dev=/dev/hdc"
(or whatever your drive is) in your /etc/lilo.conf file and change your fstab, and you should be good.
 
Old 11-28-2006, 11:25 PM   #5
pipesmoker
LQ Newbie
 
Registered: Oct 2006
Location: Burton upon Trent, Central England.
Distribution: Slackware 11
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks again but still not there and I get the same error when I run KDE as root if that is any indication.

I have edited:

/etc/lilo.conf as you suggest, the drive is "hdc".

/etc/fstab to

/dev/hdc /mnt/hdc auto noauto,owner,ro 0 0

/etc/group changed the cdrom line to

hdc::19:graham,ann

K3b shows the error "No CD/DVD writer found" it was ok before upgrading to the new kernel.

Thanks again.
 
Old 11-29-2006, 01:17 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by pipesmoker
/etc/group changed the cdrom line to

hdc::19:graham,ann
Well this is wrong and you should revert to the original line "cdrom::19:graham,ann". The group name "cdrom" has nothing to do with the device "cdrom" or "hdc" the way you think.
I was wondering, with that 2.6 kernel, did you enable udev? With udev you should have symbolic links automatically pointing to your CDROM device: run
Code:
chmod +x /etc/rc.d/rc.udev
to enable udev on the first reboot of your machine.

Eric
 
Old 11-29-2006, 08:52 AM   #7
pipesmoker
LQ Newbie
 
Registered: Oct 2006
Location: Burton upon Trent, Central England.
Distribution: Slackware 11
Posts: 17

Original Poster
Rep: Reputation: 0
Hiyer Eric

/etc/rc.d/rc.udev looks like this -rwxr-xr-x root root etc
/etc/rc.d/rc.udev.new has the same permissions

/dev there are no entries for cdrom, hdc or scd0

I have tried symbolic links like ln -sf scd0 cdrom

I don't know the answer but I think the clue is that I get the same error message when running KDE as root as I do when a user. If I edit a file relating to cdrom, a window pops up and asks what I want to do with the disk in the drive.

I am lost and struggling despite having read the things I considered relevant.

BTW it's a DVD rw don't know if that makes a difference.
 
Old 11-29-2006, 09:04 AM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Are you running both udev and hotplug? If so, try disabling hotplug and see if that helps.

Also, double check the kernel config to ensure that the support for the device has been compiled in. I know it's a long shot but it's possible that it was missed.

Also, just a personal preference, but in fstab I would change the "owner" to "user"
 
Old 11-29-2006, 09:37 AM   #9
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Does the dvdrw show up in dmesg?
 
Old 11-29-2006, 12:03 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by pipesmoker
/etc/rc.d/rc.udev looks like this -rwxr-xr-x root root etc
/etc/rc.d/rc.udev.new has the same permissions
If you have a rc.udev.new that means you upgraded Slackware some time ago, and failed to replace the old rc.udev with the new rc.udev script.

This will seriously break udev functionality.

Try fixing this problem first, and then examine progress on the DVD device.
Also, please check any other .new files against their predecessors - you might miss more functionality than just udev:
Code:
find / -type f -name "*.new"
Eric
 
Old 11-29-2006, 11:57 PM   #11
pipesmoker
LQ Newbie
 
Registered: Oct 2006
Location: Burton upon Trent, Central England.
Distribution: Slackware 11
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks all quite a lot to go through. In reply to post #9 thanks for the link

dmsg shows the following

Probing IDE interface ide1...
hdc: _NEC DVD+RW ND-2100AD, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15

My /dev directory has no devices +hdc or +scd0. Disable udev they are there disable hotplug they are but X won't start :-(

Good grey matter exercise!

Last edited by pipesmoker; 11-30-2006 at 01:15 AM.
 
Old 11-30-2006, 04:11 AM   #12
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
It's abviously udev that isn't working, as Alien said. You need to move rc.udev.new to rc.udev, and reboot. You need to make sure /etc/rc.d/rc.udev is executable. If it is, udev will run and hotplug won't. If it isn't, hotplug will run.
 
Old 11-30-2006, 11:50 PM   #13
pipesmoker
LQ Newbie
 
Registered: Oct 2006
Location: Burton upon Trent, Central England.
Distribution: Slackware 11
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for all the help, it's sorted.

I ran lilo.config again using pkgtool and omitted "hdc=ide-scsi" option and /dev/+hdc was created at reboot, the dvd drive is up and running again. Editing this from /etc/lilo.conf, one of the first suggestions didn't achieve the same result.

Thanks again, couldn't have got there without your help.
 
  


Reply



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
lost cdrom and flashdrive after upgrading to 2.6.14.6 on slack 10.2 detpenguin Slackware 4 01-21-2006 06:24 PM
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
Installing (or upgrading) fedora without a CDROM jc materi Fedora - Installation 2 04-01-2005 12:25 PM
Installing (or upgrading) fedora without a CDROM jc materi Fedora 1 03-28-2005 02:15 PM
cdrom problem after upgrading to 2.6.3 doralsoral Linux - Hardware 1 03-28-2004 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration