LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 03-30-2005, 10:32 AM   #1
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Rep: Reputation: 15
lfs build with linux-2.6.11 and my pktsetup problem!


Hi,

My whole lfs experience has been grand, but i'm stalled on this part. udftools-1.0.0b3 using the build instructions from the current blfs-cvs. It built fine. I used the udftools patch and all, but didn't need the kernel patch because the kernel nows supports packet writing. My problem is this...

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

Well i don't know what to do. Can someone help me. Has anyone ran into this problem? Do i need a different patch for udftools?


Peace out
fight the power
 
Old 03-30-2005, 10:03 PM   #2
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
check to make sure that it's not /dev/pktcdvd/dev/cdrecorder

try building and unpatched udftools w/ the new kernel, also make sure it's getting the right kernel headers
(not the linux-libc-headers)

something like --with-kernel-headers=/usr/src/linux is added to ./configure
 
Old 04-01-2005, 06:20 PM   #3
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi,

Heres the status i have the current udev-056 and hotplug scripts installed. Everything seems fine with them except the creation of the pktcdvd node. originally when i posted my pktcdvd nodes looked like this

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

So i have googled around and added this 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"

the results:

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

So i want to know how i can get udev to create the correct nodes
the control node seems to be created, but i don't know if the major/minor numbers are correct, and i don't know why it doesn't create /dev/pktcdvd/pktcdvd0. I don't know what to do at this point i'm stalled please help me.

thanks
 
Old 04-03-2005, 07:32 PM   #4
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi,

Update, after being angry for a while i did:

ls /dev/pktcdvd
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

I am still frustrated, but this probably speaks volumes of what my problem is, but i still don't have a clue to how for that matter what the hell is going on. Please SOS!!! If any sly cat's out their have worked some magic when in this same spot.
 
  


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
pktsetup problem... os2 Linux - Software 2 11-03-2005 02:56 PM
lfs 6.1 build on which linux distribution aneel Linux From Scratch 2 09-21-2005 08:24 AM
How to build LiveCD from LFS isilinux Linux From Scratch 1 08-24-2005 03:45 AM
Is it safe to build LFS as a root ? dimaash Linux From Scratch 3 07-29-2005 10:59 AM
linux from scratch build with linux-2.6.11 and my pktsetup problem! behmjoe Linux - Software 8 04-02-2005 03:32 AM


All times are GMT -5. The time now is 09:36 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