LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-09-2004, 01:49 PM   #1
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Rep: Reputation: 15
CD-Burner


I've read through several posts and cannot quite my cd-burner to work yet. I'll post some of the outputs that may help:

Quote:
root@arwen:/# dmesg | grep hd
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 6Y060L0, ATA DISK drive
hdc: CDU5211, ATAPI CD/DVD-ROM drive
hdd: RICOH CD-R/RW MP7083A, ATAPI CD/DVD-ROM drive
hdd: Disabling (U)DMA for RICOH CD-R/RW MP7083A
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=7476/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33)
hdd: attached ide-cdrom driver.
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
hda: hda1 hda2 hda3
Quote:
root@arwen:/# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) 'IOMEGA ' 'ZIP 250 ' '27.P' Removable Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Quote:
root@arwen:/# lsmod
Module Size Used by Not tainted
usb-storage 65536 0
usb-ohci 18888 0 (unused)
usbcore 58400 1 [usb-storage usb-ohci]
8139too 15240 1
mii 2304 0 [8139too]
crc32 2880 0 [8139too]
ide-scsi 9424 0
agpgart 39576 0 (unused)
I've already added the ' append="hdd=ide-scsi" ' to /etc/lilo.conf.

I've made a symlink /dev/cd-rw -> /dev/scd0

When I try and mount the drive it outputs:
Quote:
root@arwen:/dev# mount /mnt/cd-rw
mount: /dev/cd-rw is not a valid block device
Is something simple missing? Any thoughts or ideas?

Thanks for reading!
 
Old 11-09-2004, 02:32 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Which kernel are you running. The 2.6 series kernels don't require the "hdd=ide-scsi" appended in order to work correctly. But looking at the output of "cdrecord -scanbus", it doesn't look like the drive is even being recognized as a SCSI device. Try passing in the ATAPI parameter to see if it's recognized as a connected device. So...

cdrecord dev=ATAPI -scanbus
 
Old 11-09-2004, 02:44 PM   #3
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Original Poster
Rep: Reputation: 15
Quote:
root@arwen:~# cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'SONY ' 'CD-ROM CDU5211 ' 'YYS7' Removable CD-ROM
0,1,0 1) 'RICOH ' 'CD-R/RW MP7083A ' '1.20' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
I'm running the 2.4.22 Kernel on Slackware 9.1 system.
 
Old 11-10-2004, 08:51 AM   #4
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
You definitely need the 'hdd=ide-scsi' then.

Are you sure that the device in question really is /dev/scd0? When I was running Slack 9.1 (or more appropriately, 2.4.22), my CD-RW drive was /dev/sr0. Also, what is in your /etc/fstab file?

I'll assume you've actually created the directory /mnt/cd-rw for your CDRW drive. Try mounting a data CD using something like...

mount -t iso9660 /dev/sr0 /mnt/cd-rw

or

mount -t iso9660 /dev/scd0 /mnt/cd-rw

depending on which is the actual correct device inside /dev.
 
Old 11-10-2004, 10:29 AM   #5
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Original Poster
Rep: Reputation: 15
Thanks for your replies!

Well - I'm not exactly sure which one it is so I tried to mount both and used both variations in /etc/fstab

Quote:
root@arwen:~# mount -t iso9660 /dev/scd0 /mnt/cd-rw
mount: /dev/scd0 is not a valid block device
root@arwen:~# mount -t iso9660 /dev/sr0 /mnt/cd-rw
mount: /dev/sr0 is not a valid block device
/etc/fstab
Quote:
/dev/hda2 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/hda3 /home reiserfs defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/sr0 /mnt/cd-rw iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
* Note: /dev/sr0 previously was /dev/cd-rw which is a symlink to /dev/scd0.
 
Old 11-10-2004, 10:30 AM   #6
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Original Poster
Rep: Reputation: 15
Oh yeah - there is also a directory in /mnt/cd-rw for the burner as well!

Thanks
 
Old 11-10-2004, 10:34 AM   #7
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Original Poster
Rep: Reputation: 15
Just as an extra thought since my burner wasn't showing up as SCSI I tried this:

Quote:
root@arwen:~# mount -t iso9660 /dev/hdd /mnt/cd-rw
mount: block device /dev/hdd is write-protected, mounting read-only
Worked perfectly... but I won't be able to burn CD's like this right?
 
Old 11-10-2004, 11:45 AM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
The mount command and those to burn CDs are different.

try :
cdrecord -v -dummy dev=1,0,0 speed=8 <iso image>
 
Old 11-10-2004, 12:16 PM   #9
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Original Poster
Rep: Reputation: 15
What I mean was that I won't be able to burn CD's while the drive is loaded as ATAPI and not SCSI using the 2.4.22 kernel.
 
Old 11-10-2004, 12:23 PM   #10
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
I'm sure I'll be corrected if I am wrong, but I believe that you will use both ATAPI and SCSI emulation with the device -- definitely ATAPI to read a CD, and then the SCSI emulation when you want to burn a CD.

Plus, I think I may need to make the distinction that a blank CD is like an audio CD -- you cannot mount it. A medium can only be mounted if it has a valid filesystem already on it. So, to burn a new CD, either use a pretty interface such as K3B or from the command line using cdrecord as Cedrik suggested. Once the CD has been created, then you should be able to mount it.
 
Old 11-10-2004, 01:06 PM   #11
silmaril8n
Member
 
Registered: May 2004
Posts: 123

Original Poster
Rep: Reputation: 15
Ok so it seems that I have enough information to get this thing working now. I'm looking through past posts and Google but I only find different commands for burning ISO's and music.

It is possible to just burn a .tgz file or the contents of a folder right?
 
Old 12-09-2004, 02:07 AM   #12
Synapd
LQ Newbie
 
Registered: Dec 2004
Distribution: Solaris/Slackware
Posts: 1

Rep: Reputation: 0
Use mkisofs to make an iso filesystem with the iso9660 standard ..
mkisofs -o out.iso . ( or what ever directory )
then you can burn that iso .. ( great for backups )
 
Old 12-09-2004, 06:50 AM   #13
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
From dmesg, it doesn't look like you are attaching the ide-scsi driver. I am wondering if you have the append too late in the conf file. This should be the first uncommented line in your /etc/lilo.conf
 
  


Reply



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
trying to mount cd burner, cd burner being a whore lasalsademuerte Slackware 5 12-09-2003 03:56 PM
Cd Burner bullstrong Linux - Software 4 11-10-2003 11:49 PM
Help with my Burner? gonus Linux - Hardware 27 06-06-2002 11:57 AM
CD-burner gui10 Linux - General 8 04-25-2002 10:17 AM
cd burner greatgatsby26 Linux - Software 1 05-03-2001 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration