Linux Debian support - Kernel 2.6 and DVD Burning

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > August 2005 > Kernel 2.6 and DVD Burning





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Kernel 2.6 and DVD Burning
ad

2005-08-18, 2:46 am

Hi,

I am running debian unstable and I recently intalled pre-compiled
2.6.11 kernel. I have 2 internal cdrom device in my machine. First one
(/dev/hdc) is just a DVD/CD reader and the second one is DVD/CD
(DVD-R) writer.

In 2.4.19 kernel days, I used to be able to dvdrecord to dvd writer
dvice without any problems using the following command:
$> dvdrecord speed=2 -dao dev=0,0,0 /myvideo.img

Since I had 2.6.11 installed, I can't figure out how to use dvdrecord
to write a dvd image anymore.

I have the following modules:
ide_cd 37636 0
cdrom 36000 1 ide_cd
ide_disk 15360 11
ide_generic 1408 0 [permanent]
ide_core 115920 28 ide_cd,ide_disk,....

I have the following entries in my /etc/fstab:
/dev/hdc /cdrom iso9660 defaults,ro,user,noauto 0 0
/dev/hdd /dvdrw auto defaults,rw,user,noauto 0 0

With this setup, I see the followings in dmesg:
Probing IDE interface ide1...
hdc: DVD-ROM DVD-16X6S, ATAPI CD/DVD-ROM drive
hdd: TOSHIBA DVD-ROM SD-R5002, ATAPI CD/DVD-ROM drive

When I try "dvdrecord -scanbus", i get nothing. If I try
"dvdrecord -dev="ATA:1,1,0" -scanbus", i get nothing, but if I try
"cdrecord -dev="ATA:1,1,0" -scanbus", I get the following:
scsibus1:
1,0,0 100) *
1,1,0 101) 'TOSHIBA ' 'DVD-ROM SD-R5002' '1031' Removable CD-ROM
1,2,0 102) *
and if I try 'dvdrecord speed=2 -dao dev="ATA:1,1,0" /myvideo.img', I
get no such file or directory message.

I also tried using "ide-scsi" module and had "/dev/scd0 /dvdrw ..."
entry in the /etc/fstab had the append "hdd=hdd=ide-scsi"
lilo.conf. "dvdrecord -scanbus" sees the dvd writer as scsibus0 and if
I try "dvdrecord -dev=0,0,0 -scanbus", 30 sec later, the system
freezes, I can move the mouse or use keyboard and does not respond to
anything and I had to hit to the power swith to reboot. It looks like
the blank dvd-r has some data.

So, how can I get the dvdrecord working? It doesn't take dev=/dev/hdd
either.

Thank you in advance.

ad

2005-08-20, 2:46 am

On Wed, 17 Aug 2005 23:47:10 -0400, ad wrote:

> Hi,
>
> I am running debian unstable and I recently intalled pre-compiled
> 2.6.11 kernel. I have 2 internal cdrom device in my machine. First one
> (/dev/hdc) is just a DVD/CD reader and the second one is DVD/CD
> (DVD-R) writer.
>
> In 2.4.19 kernel days, I used to be able to dvdrecord to dvd writer
> dvice without any problems using the following command:
> $> dvdrecord speed=2 -dao dev=0,0,0 /myvideo.img
>
> Since I had 2.6.11 installed, I can't figure out how to use dvdrecord
> to write a dvd image anymore.
>
> I have the following modules:
> ide_cd 37636 0
> cdrom 36000 1 ide_cd
> ide_disk 15360 11
> ide_generic 1408 0 [permanent]
> ide_core 115920 28 ide_cd,ide_disk,....
>
> I have the following entries in my /etc/fstab:
> /dev/hdc /cdrom iso9660 defaults,ro,user,noauto 0 0
> /dev/hdd /dvdrw auto defaults,rw,user,noauto 0 0
>
> With this setup, I see the followings in dmesg:
> Probing IDE interface ide1...
> hdc: DVD-ROM DVD-16X6S, ATAPI CD/DVD-ROM drive
> hdd: TOSHIBA DVD-ROM SD-R5002, ATAPI CD/DVD-ROM drive
>
> When I try "dvdrecord -scanbus", i get nothing. If I try
> "dvdrecord -dev="ATA:1,1,0" -scanbus", i get nothing, but if I try
> "cdrecord -dev="ATA:1,1,0" -scanbus", I get the following:
> scsibus1:
> 1,0,0 100) *
> 1,1,0 101) 'TOSHIBA ' 'DVD-ROM SD-R5002' '1031' Removable CD-ROM
> 1,2,0 102) *
> and if I try 'dvdrecord speed=2 -dao dev="ATA:1,1,0" /myvideo.img', I
> get no such file or directory message.
>
> I also tried using "ide-scsi" module and had "/dev/scd0 /dvdrw ..."
> entry in the /etc/fstab had the append "hdd=hdd=ide-scsi"
> lilo.conf. "dvdrecord -scanbus" sees the dvd writer as scsibus0 and if
> I try "dvdrecord -dev=0,0,0 -scanbus", 30 sec later, the system
> freezes, I can move the mouse or use keyboard and does not respond to
> anything and I had to hit to the power swith to reboot. It looks like
> the blank dvd-r has some data.
>
> So, how can I get the dvdrecord working? It doesn't take dev=/dev/hdd
> either.
>
> Thank you in advance.


Replying to my own post:

I finally figured it out. It turns out that the current version of
dvdrecord (and k3b I think) is not up to date to handle ATAPI interface in
2.6 kernel. So I tried:
$> growisofs -dvd-compat -Z /dev/hdd=/mymovie.img
and it works perfectly.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com