Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Packet Writing on CD-RW media (mount rw, ala InCD)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Thu Apr 13, 2006 8:51 am    Post subject: Reply with quote

are you using
Code:
# cdrwtool -d /dev/hdc -q


and what do you have in /dev/pktcdvd ?

mvh

Edit: try (NB! change 'hdc' for your device)
Code:

# cdrecord blank=fast dev=/dev/hdc

and retry cdrwtool
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
DeepBass909
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 81
Location: Netherlands

PostPosted: Thu Apr 13, 2006 2:25 pm    Post subject: Reply with quote

Cintra wrote:
are you using
Code:
# cdrwtool -d /dev/hdc -q


and what do you have in /dev/pktcdvd ?

mvh

Edit: try (NB! change 'hdc' for your device)
Code:

# cdrecord blank=fast dev=/dev/hdc

and retry cdrwtool


Code:
nomad ~ # ls -l /dev/pktcdvd/
totaal 0
brw-r-----  1 root root 254,  0 apr 13 22:18 0
crw-rw----  1 root cdrw  10, 62 apr 13 22:18 control
brw-rw----  1 root cdrw 254,  0 apr 13 22:18 pktcdvd0


Code:
nomad ~ # cdrwtool -d /dev/hdc -q
using device /dev/hdc
1568KB internal buffer
setting write speed to 12x
Settings for /dev/hdc:
        Fixed packets, size 32
        Mode-2 disc

I'm going to do a quick setup of /dev/hdc. The disc is going to be blanked and formatted with one big track. All data on the device will be lost!! Press CTRL-C to cancel now.
ENTER to continue.

Initiating quick disc blank
wait_cmd: Input/output error
Command failed: a1 01 00 00 00 00 00 00 00 00 00 00 - sense 05.24.00
blank disc: Illegal seek


Code:
nomad ~ # cdrwtool -d /dev/hdc -q
using device /dev/hdc
1568KB internal buffer
setting write speed to 12x
Settings for /dev/hdc:
        Fixed packets, size 32
        Mode-2 disc

I'm going to do a quick setup of /dev/hdc. The disc is going to be blanked and formatted with one big track. All data on the device will be lost!! Press CTRL-C to cancel now.
ENTER to continue.

Initiating quick disc blank
wait_cmd: Input/output error
Command failed: a1 01 00 00 00 00 00 00 00 00 00 00 - sense 05.24.00
blank disc: Illegal seek


I hope this helps...

btw /dev/hdc is my cd-rom drive.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Thu Apr 13, 2006 5:45 pm    Post subject: Reply with quote

how about dvd+rw, does that work?
Code:
# dvd+rw-format /dev/hdc
# mkudffs /dev/pktcdvd/0


Btw did you set these in the kernel config
Code:
# CD-ROM/DVD Filesystems
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y
and you did run
# pktsetup 'hdc' /dev/hdc where 'hdc' is whatever you called it in fstab?

have you done
Code:

# rc-update add pktcdvd default


fstab for my two burners is :
Code:

/dev/dvd   /mnt/dvd   iso9660   noauto,user,rw  0 0
/dev/dvd1 /mnt/dvd1 iso9660   noauto,user,rw  0 0
/dev/pktcdvd/hdc  /mnt/dvdrw  udf  noauto,noatime,rw,user 0 0
/dev/pktcdvd/hdd  /mnt/dvdrw1  udf  noauto,noatime,rw,user 0 0
NB! one could use /pktcdvd0 & 1 (or 0 & 1 perhaps) instead of /hdc and /hdd

I think thats it for now.. hope something helps ;-)

Edit: Oh yes, what version of kernel are you using, and what burner model?
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
DeepBass909
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 81
Location: Netherlands

PostPosted: Fri Apr 14, 2006 4:56 am    Post subject: Reply with quote

dvd+rw-format doesn't work, because my burner can't burn DVD's

I have a QSI SBW241 (as you can see in the output of the different programs). Is a laptop DVD/CDRW combo drive. In windows it's working fine, so on the hardware level there's nothing wrong.
I'm running the 2.6.16-r1 kernel at the moment, but I'm trying to get it to work for at least half a year now. So I've tried a lot of different kernels in the process.

My kernel is compiled with
Code:
# CD-ROM/DVD Filesystems
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y


And I run pktsetup as told.

Btw, how kan I make the pktcdvd devices permanent in a 100% udev controlled /dev? Because on a reboot I get a /dev/pkcdvd/control device and I have to re-run pktsetup.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri Apr 14, 2006 5:50 am    Post subject: Reply with quote

DeepBass909 wrote:
dvd+rw-format doesn't work, because my burner can't burn DVD's

I have a QSI SBW241 (as you can see in the output of the different programs). Is a laptop DVD/CDRW combo drive. In windows it's working fine, so on the hardware level there's nothing wrong.
I'm running the 2.6.16-r1 kernel at the moment, but I'm trying to get it to work for at least half a year now. So I've tried a lot of different kernels in the process.

And I run pktsetup as told.

Btw, how kan I make the pktcdvd devices permanent in a 100% udev controlled /dev? Because on a reboot I get a /dev/pkcdvd/control device and I have to re-run pktsetup.

Hei & Happy Easter

http://lists.suse.com/archive/packet-writing/2004-Oct/0033.html is rather old but very much like what you experience.. I'm not on Gentoo at the moment so I can't tell you how I fixed the pktsetup reboot problem, other than to stick the line in Konqueror > Go > Autostart.
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
DeepBass909
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 81
Location: Netherlands

PostPosted: Fri Apr 14, 2006 7:00 am    Post subject: Reply with quote

Cintra wrote:
DeepBass909 wrote:
dvd+rw-format doesn't work, because my burner can't burn DVD's

I have a QSI SBW241 (as you can see in the output of the different programs). Is a laptop DVD/CDRW combo drive. In windows it's working fine, so on the hardware level there's nothing wrong.
I'm running the 2.6.16-r1 kernel at the moment, but I'm trying to get it to work for at least half a year now. So I've tried a lot of different kernels in the process.

And I run pktsetup as told.

Btw, how kan I make the pktcdvd devices permanent in a 100% udev controlled /dev? Because on a reboot I get a /dev/pkcdvd/control device and I have to re-run pktsetup.

Hei & Happy Easter

http://lists.suse.com/archive/packet-writing/2004-Oct/0033.html is rather old but very much like what you experience.. I'm not on Gentoo at the moment so I can't tell you how I fixed the pktsetup reboot problem, other than to stick the line in Konqueror > Go > Autostart.


Happy Easter

I've read the article, and the option -immed does make cdrecord usable to blank cdrw's. The sad thing only is, that the guy posted this article 1,5 jaar ago, and it seems that the developers of cdrwtool ignored it. So the option doesn't work for cdrwtool... At least I know what's wrong... (and I think it could be easily fixed...)
Back to top
View user's profile Send private message
dwnoon
n00b
n00b


Joined: 28 Aug 2003
Posts: 21
Location: Luton, England

PostPosted: Fri Apr 14, 2006 12:36 pm    Post subject: Reply with quote

DeepBass909 wrote:
Btw, how kan I make the pktcdvd devices permanent in a 100% udev controlled /dev? Because on a reboot I get a /dev/pkcdvd/control device and I have to re-run pktsetup.


You can use the /etc/init.d/pktcdvd script automatically by doing:
Code:
rc-update add pktcdvd default


This will set up all CD-RW and DVD+/-RW burners for packet writing. The script installs as part of the udftools package.

If you want to be selective, you can put pktsetup commands inside /etc/conf.d/local.start instead, but if you have only 1 burner then the automatic approach is simpler.
_________________
Regards,

Dave [RLU #314465]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum