Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

HOWTO: Packet Writing on CD-RW media (mount rw, ala InCD)

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
132 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Author
Message
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Thu Apr 13, 2006 8:51 am

are you using

Code: Select all

# cdrwtool -d /dev/hdc -q


and what do you have in /dev/pktcdvd ?

mvh

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

Code: Select all

# cdrecord blank=fast dev=/dev/hdc
and retry cdrwtool
"I am not bound to please thee with my answers" W.S.
Top
DeepBass909
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sun Jan 23, 2005 9:32 pm
Location: Netherlands
Contact:
Contact DeepBass909
Website

  • Quote

Post by DeepBass909 » Thu Apr 13, 2006 2:25 pm

Cintra wrote:are you using

Code: Select all

# cdrwtool -d /dev/hdc -q


and what do you have in /dev/pktcdvd ?

mvh

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

Code: Select all

# cdrecord blank=fast dev=/dev/hdc
and retry cdrwtool

Code: Select all

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: Select all

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: Select all

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.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Thu Apr 13, 2006 5:45 pm

how about dvd+rw, does that work?

Code: Select all

# dvd+rw-format /dev/hdc 
# mkudffs /dev/pktcdvd/0
Btw did you set these in the kernel config

Code: Select all

# 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: Select all

# rc-update add pktcdvd default 
fstab for my two burners is :

Code: Select all

/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.
Top
DeepBass909
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sun Jan 23, 2005 9:32 pm
Location: Netherlands
Contact:
Contact DeepBass909
Website

  • Quote

Post by DeepBass909 » Fri Apr 14, 2006 4:56 am

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: Select all

# 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.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Fri Apr 14, 2006 5:50 am

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-wr ... /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.
Top
DeepBass909
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sun Jan 23, 2005 9:32 pm
Location: Netherlands
Contact:
Contact DeepBass909
Website

  • Quote

Post by DeepBass909 » Fri Apr 14, 2006 7:00 am

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-wr ... /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...)
Top
dwnoon
n00b
n00b
User avatar
Posts: 21
Joined: Thu Aug 28, 2003 8:04 pm
Location: Luton, England

  • Quote

Post by dwnoon » Fri Apr 14, 2006 12:36 pm

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: Select all

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]
Top
Post Reply
  • Print view

132 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy