LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-09-2004, 11:06 AM   #1
logout_login
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Thumbs down udev doesn't create /dev/pktcdvd/0


Since I switched my Slackware Current to udev I can't get udftools to work Earlier I was able to create /dev/pktcdvd0 by hand, and everything with

#pktsetup /dev/pktcdvd0 /dev/hdc

was fine (I was able to burn udf CDs), but now with udev and new driver version - block file in /dev/pktcdvd/ just doesn't want to show up when I modprobe pktcdvd, and.. i don't know the device number to create block file on my own (it seems they changet it), of course I would prefer doing this automtically, any idea ??

kernel 2.6.9
latest udftools
udev 042
nitro patch to enable udf writing

when i create /dev/pktcdvd directory on my own:
#pktsetup /dev/pktcdvd/0 /dev/hdc
ioctl: Inappropriate ioctl for device

maybe I just configured something wrong ?? :\
 
Old 04-03-2005, 11:29 PM   #2
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Rep: Reputation: 15
Hi,

ditto i have a similar problem, and i am using linux-2.6.11.6 also using udftools-1.0.0b3. I must also say i am using the latest udev and hotplug scripts. I added a couple of lines to my udev rules and permissions files. Here they are:

i added this line to my /etc/udev/50-udev.permissions:

pktcdvd/*:root:cdrw:0660

I added these lines to my /etc/udev/rules.d/50-udev.rules:

KERNEL="pktcdvd", NAME="pktcdvd/control"
KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n"

Here is my problem at the command line:

ls -l /dev/pktcdvd
crw- --- --- 10, 63 /dev/control

pktsetup /dev/pktcdvd/pktcdvd0 /dev/hdf
ioctl: Inappropriate ioctl for device

ls -l /dev/pktcdvd
crw- --- --- 10, 63 /dev/pktcdvd/control
-r-- --x r-t 0 /dev/pktcdvd/pktcdvd0

pktsetup /dev/pktcdvd/pktcdvd0 /dev/hdf
ioctl: Inappropriate ioctl for device

So, I think you have the same problem. I have the packet writing driver built into my kernel so I don't think it has to do with modprobe. Googling has done me no good. So i hope this adds information to a possible viewer of this thread to help us both out.

thanks,
warren rockefellar
 
  


Reply


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
how does one configure udev to create /dev/pktcdvd/pktcdvd*? behmjoe Linux - Newbie 3 04-04-2005 12:49 PM
udev takes long time to create /dev/usbhd symlink Yalla-One Slackware 4 04-04-2005 03:27 AM
udev likes to delete /dev/sda* but not create them :( edman007 Linux - Software 2 01-18-2005 05:02 PM
udev does not create scsi device node maenho Linux - Software 0 11-27-2004 05:08 AM
how to tell udev to make a dev jimdaworm Slackware 10 08-13-2004 07:12 AM


All times are GMT -5. The time now is 10:25 AM.

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