LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-04-2003, 09:53 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
CDROM (ioctl) reports ILLEGAL REQUEST


Just spent some time configuring things in a slack-9.1 install and I am getting this message in my /var/log/system log

Oct 4 13:51:09 rick kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Yesterday I was logged in as a user while playing some music and kscd seemed to keep dropping out . This is what prompted me to check the syslog. But since I had settings screwed up on kscd and had two instances fighting over one cd drive I thought that was the problem

I also noted that a couple times my cd just raced off and then stopped. I've never had any problems with the cd unit which is a LG 40X12X40X. I use them for backups at work and they never give a problem.

Leads me to think it may be my configuration. My /etc/fstab entry for cdrom is provided below. This has been changed from the default found in fstab after install and seemed to work well enough in 9.0 and 8.1 but perhaps theres something different about this version/kernel which doesn't appreciate fstab reading like this

/dev/scd0 /mnt/cdrom iso9660 noauto,owner,users 0 0

Just noticed I've had a fairly stable run on kscd while writing this. Earlier this AM it was cutting out every two minutes or so while I was opening some things up and starting kppp and reading mail. Maybe there's a conflict when some other module is loaded. I have disabled hotplug cause it stumbles on my soundcard at boot. Last night played a couple cd's while compiling without any breaking off. Was able to pull some source off cd's to without any problems.

TIA

Rick
 
Old 11-03-2003, 03:55 PM   #2
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
It seems you have enabled scsi emulation support or you have an actual scsi drive.
the /etc/fstab line you reported has a couple of mistakes

/dev/scd0 /mnt/cdrom iso9660 noauto,owner,users 0 0

you cannot use both owner (usually root) and user at the same time.
Anyway users is wrong. Type user instead.
Ciao
 
Old 11-03-2003, 04:43 PM   #3
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Rep: Reputation: 32
In /etc/group there is a group called users... I think that is what the "users" there is. Thus it would not be a spelling error.
 
Old 11-05-2003, 01:41 PM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
I have an ide drive and use append="hdb=ide-scsi" in lilo.conf, hence I mount /dev/scd0 when burning. For cdrom drive my /etc/fstab looks like this:

/dev/scd0 /mnt/cdrw auto noauto,owner,users 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,users,ro 0 0

A mistake has crept in and I'm using "users" instead of "user". Since you mentioned it, I now recall one time when i was editing an fstab, I put in "users", and then stopped to wonder if I was right. But I never checked and all seemed to be OK, at least for what I do. I have two boxes at home, one at work and another at a friends house set up like this and alseem to be working OK.

This idea of two mount points came from a webpage called Slackware Tips & Tricks by Jack S Lai. After install, I rm /dev/cdrom then after editing fstab and lilo.conf as is above, I then run lilo and reboot I also have to ln -s /dev/scd0 /dev/cdrom, and mkdir /mnt/cdrw.

Never had a bit of trouble albeit I use /dev/scd0 when burning with cdrecord and /dev/cdrom when running kscd. The KDE icon for mounting the cd drive is set up for /dev/scd0 but works with /dev/cdrom. The only time I mount them as a file system is with the command mount /mnt/cdrw or /mnt/cdrom and both of those work too.

I suppose I could change it to "user" though. It's probably better to have the box doing what I tell it to do and not what I want it do do :^)

Cheers

Rick
 
  


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
how to get the total size of VCD with ioctl on CDROM al_periodical Programming 0 03-19-2005 11:26 AM
CDROM (ioctl) reports ILLEGAL REQUEST linuxlastslonge Linux - Hardware 1 12-20-2004 01:39 PM
ioctl.h blackzone Programming 1 07-26-2004 03:30 AM
ioctl dummyagain Programming 2 10-06-2003 07:22 AM
ioctl unosoft Linux - Software 0 09-12-2003 06:58 PM

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

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

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