Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting a dvd writer -troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Sat Jan 15, 2005 12:49 pm    Post subject: mounting a dvd writer -troubles Reply with quote

Hi,

I run last gentoo-dev kernel 2.6.10-r4.

I have followed this link

https://forums.gentoo.org/viewtopic.php?t=173263&highlight=dvd+writer

Unfortunately, I'm getting an error message when I try to mount my cdrw

root@PC-lin01 linux # cdrwtool -d /dev/scd0 -q
using device /dev/scd0
open cdrom device: No such device or address

Any clue why it's not working as advertised on the page?
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Jan 15, 2005 1:24 pm    Post subject: Reply with quote

OPelerin,

You are trying to use the emulated scsi device, thats not a problem provided you have made you kernel and grub.conf to support scsi emualtion.

How does your writer appear in /dev ?
Do you see the emulated SCSI device detected in dmesg?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Sat Jan 15, 2005 3:47 pm    Post subject: Reply with quote

That's an extract of dmesg

ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-3520A, ATAPI CD/DVD-ROM drive
hdd: PLEXTOR DVD-ROM PX-116A2 0100, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(66)
libata version 1.10 loaded.
ata_piix version 1.03
ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xEFE0 ctl 0xEFAE bmdma 0xEF60 irq 18
ata2: SATA max UDMA/133 cmd 0xEFA0 ctl 0xEFAA bmdma 0xEF68 irq 18
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 320173056 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix
Vendor: ATA Model: Maxtor 6Y160M0 Rev: YAR5
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org>
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Jan 15, 2005 4:30 pm    Post subject: Reply with quote

OPelerin,

Here is an extract of my dmesg, showing an emulated scsi drive being detected and the kernel warning.
Code:
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: SONY      Model: DVD RW DW-D22A    Rev: BYS1
  Type:   CD-ROM                             ANSI SCSI revision: 02

If you don't get the kernel warning (in 2.6 kernels) its not set up to use emulated scsi.
You should use
Code:
cdrwtool -d /dev/hdc -q
and keep your fingers crossed that scsi emualtion is not required.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Sat Jan 15, 2005 8:22 pm    Post subject: Reply with quote

nope. Do not work...

Since I run 2.6.10, I should not need the old scsi emulation.

Any clue - link I should use?
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Jan 15, 2005 8:28 pm    Post subject: Reply with quote

OPelerin,

SCSI emulation is not required for burning *.iso files in 2.6.10 but we are looking at packet writing here and thats not the same. I am unsure if packet writing needs SCSI emulation.

Do you have a /dev/hdc ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Sat Jan 15, 2005 8:29 pm    Post subject: Reply with quote

I'm getting this.

What means the error message? What should I change?

# cdrwtool -d /dev/hdc -q
using device /dev/hdc
1728KB 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.30.05
blank disc: Illegal seek
That's part of my fstab

/dev/cdroms/cdrom0 /mnt/cdrw udf noauto,noatime,rw,users 0 0
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Jan 15, 2005 9:14 pm    Post subject: Reply with quote

OPelerin,

That means the setup is quite happy to talk to /dev/hdc but when it did, it got an error.

The error message is the raw data from the drive. The formatting is required before the disc can be mounted, so your fstab does not come into the equation yet.

What medium are you trying to use?
12x looks very fast for CD-RW or DVD+RW.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Sat Jan 22, 2005 9:54 pm    Post subject: Reply with quote

I works!!!


Still have a question The CD-RW is a 700 megs but the cdrwtools detect it as 600 megs

The media I was using was defect I've just tried with an another cd-rw and I can format it


cdrwtool -d /dev/hdc -q
using device /dev/hdc
1312KB 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
Disc capacity is 295264 blocks (590528KB/576MB)
Formatting track
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Jan 22, 2005 10:21 pm    Post subject: Reply with quote

OPelerin,

You get about 500Mb of data on a 80min CD. The formatting takes up more room than the *.iso 'formatting'.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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