LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-16-2004, 08:44 PM   #1
thebeast
Member
 
Registered: Sep 2003
Location: West Virginia, USA
Distribution: Gentoo / Slackware
Posts: 52

Rep: Reputation: 15
setting up ATAPI cd burner from scratch


Hey all. I've been using linux for daily tasks just about less than a year. I installed Gentoo Linux on my box a while ago and haven't been able to get cd burning working. It was automatically set up in Mandrake, and it worked without too much effort on Slackware.

However, this time around it's not working at all, and i think i messed up the config pretty bad somehow. So, I want to start from scratch. Can anyone give me the steps I need to remove my ATAPI cd burner from the system (not physically) and then set it up from scratch to be a working cd burner? (Yeah, i'll need ide-scsi help. ) Thanks in advance, you guys are awesome.
 
Old 04-17-2004, 01:06 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Load the ide-scsi module on boot by putting it in /etc/modules. Then add the line:
Code:
append "hdc=ide-scsi"
to your /etc/lilo.conf. Then rerun lilo. If your CD is not hdc then substitute in the correct device name.
 
Old 04-17-2004, 02:48 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Assuming that you're not using kernel 2.6.x and GRUB. If so-- even though kernel 2.6 uses ide-cd=/dev/whatever, many CD burning programs are not updated to work with this, so what I did was also enable the deprecated ide-scsi in the kernel as well, and now everything works, although just now, searching through my config files, I do not find that I actually turned on ide-scsi anywhere. It appears that having added the module, it's auto detected, but I'll check further later on.
 
Old 04-17-2004, 04:12 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html
 
Old 04-17-2004, 01:23 PM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Which is definitely the best advice, /bin/bash .
 
Old 04-19-2004, 08:23 PM   #6
thebeast
Member
 
Registered: Sep 2003
Location: West Virginia, USA
Distribution: Gentoo / Slackware
Posts: 52

Original Poster
Rep: Reputation: 15
hey, thx for the link /bin/bash. Very good info. Will reboot tomm and see if it worked.
 
Old 04-20-2004, 08:31 PM   #7
thebeast
Member
 
Registered: Sep 2003
Location: West Virginia, USA
Distribution: Gentoo / Slackware
Posts: 52

Original Poster
Rep: Reputation: 15
It didn't work...I can't identify the problem because I've done everything. I just want to start all over.
 
Old 04-22-2004, 04:42 PM   #8
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
What is not working?
Post /etc/lilo.conf /etc/modules.conf
Post output from these commands:
dmesg|grep -i cd
lsmod
cdrecord -scanbus
 
Old 04-23-2004, 08:31 PM   #9
thebeast
Member
 
Registered: Sep 2003
Location: West Virginia, USA
Distribution: Gentoo / Slackware
Posts: 52

Original Poster
Rep: Reputation: 15
/etc/lilo.conf:
Code:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=900
lba32
default=gk_linux
 
image=/boot/kernel-2.4.20-gentoo-r6
vga=0x31B
label=gk_linux
root=/dev/hda4
initrd=/boot/initrd-2.4.20-gentoo-r6
append="root=/dev/hda4 init=/linuxrc video=vesa:ywrap,mtrr silent hdc=ide-scsi"
 
other=/dev/hda1
label=crap
/etc/modules.conf:
Code:
### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
# Aliases to tell insmod/modprobe which modules to use 

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
# alias net-pf-3 off		# Amateur Radio AX.25
# alias net-pf-4 off		# IPX
# alias net-pf-5 off		# DDP / appletalk
# alias net-pf-6 off		# Amateur Radio NET/ROM
# alias net-pf-9 off		# X.25
# alias net-pf-10 off		# IPv6
# alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off		# Acorn Econet

alias char-major-10-175	agpgart
alias char-major-10-200	tun
alias char-major-81	bttv
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0	loop_gen
alias loop-xfer-3	loop_fish2
alias loop-xfer-gen-10	loop_gen
alias cipher-2		des
alias cipher-3		fish2
alias cipher-4		blowfish
alias cipher-6		idea
alias cipher-7		serp6f
alias cipher-8		mars6
alias cipher-11		rc62
alias cipher-15		dfc2
alias cipher-16		rijndael
alias cipher-17		rc5

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

# Old nvidia support ...
alias char-major-195 NVdriver 
alias /dev/nvidiactl char-major-195 

### modules-update: end processing /etc/modules.d/aliases

### modules-update: start processing /etc/modules.d/cdr
options ide-cd ignore=hdc

### modules-update: end processing /etc/modules.d/cdr

### modules-update: start processing /etc/modules.d/hsf
alias /dev/ttySHSF* hsfserial
alias char-major-240 hsfserial
alias /dev/ttyCUA* hsfserial
alias char-major-241 hsfserial
alias /dev/modem hsfserial
options hsfserial serialmajor=240 calloutmajor=241

### modules-update: end processing /etc/modules.d/hsf

### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### modules-update: end processing /etc/modules.d/i386

### modules-update: start processing /etc/modules.d/ppp
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-13	n_hdlc
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate
alias net-pf-24		pppoe

### modules-update: end processing /etc/modules.d/ppp

### modules-update: start processing /etc/modules.d/svgalib
probeall  /dev/svga  svgalib_helper

### modules-update: end processing /etc/modules.d/svgalib
Code:
$ dmesg|grep -i cd
hcd.c: ehci-hcd @ 00:03.2, Silicon Integrated Systems [SiS] SiS7002 USB 2.0
hcd.c: irq 5, pci mem e0beb000
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
Code:
$ lsmod
Module                  Size  Used by    Tainted: PF
ppp_deflate             3320   0 (autoclean)
zlib_deflate           18232   0 (autoclean) [ppp_deflate]
bsd_comp                4440   0 (autoclean)
ppp_async               7360   1 (autoclean)
ppp_generic            15676   3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    5104   1 (autoclean) [ppp_generic]
hsfbasic2              95948   2 (autoclean)
hsfserial              23060   2 (autoclean)
hsfengine             869324   0 (autoclean) [hsfserial]
hsfosspec              21856   1 (autoclean) [hsfbasic2 hsfserial hsfengine]
floppy                 48636   0 (autoclean)
printer                 6912   0 (unused)
i810_audio             23336   1
soundcore               3588   2 [i810_audio]
ac97_codec              9896   0 [i810_audio]
sis900                 13164   1
nls_iso8859-1           2812   1 (autoclean)
ntfs                   73836   1 (autoclean)
usb-storage            58200   0 (unused)
hid                    13108   0 (unused)
usb-ohci               17984   0 (unused)
ehci-hcd               13984   0 (unused)
usbcore                57152   1 [printer usb-storage hid usb-ohci ehci-hcd]
Code:
$ cdrecord -scanbus
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'IC      ' 'USB Storage-CFC ' '301b' Removable Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Thx again.
 
Old 04-23-2004, 08:35 PM   #10
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Rep: Reputation: 24
consider upgrading to the 2.6 kernel, you don't need the ide-scsi module loaded.
 
Old 04-23-2004, 08:37 PM   #11
thebeast
Member
 
Registered: Sep 2003
Location: West Virginia, USA
Distribution: Gentoo / Slackware
Posts: 52

Original Poster
Rep: Reputation: 15
Stan, don't toy with me. You know i need 2.4 for my old modem drivers. Trust me, i WAAAAAAAAANT 2.6, but i have to find a good modem that will work with it first.
 
Old 04-23-2004, 08:42 PM   #12
goldennuggets
Member
 
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 239

Rep: Reputation: 24
forgot about that, sorry dude...
 
Old 04-24-2004, 08:01 AM   #13
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Code:
$ dmesg|grep -i cd
hcd.c: ehci-hcd @ 00:03.2, Silicon Integrated Systems [SiS] SiS7002 USB 2.0
hcd.c: irq 5, pci mem e0beb000
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
I see no mention of the CD here.
If you go into BIOS setup do you see your CD?
Code:
$ cdrecord -scanbus
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'IC      ' 'USB Storage-CFC ' '301b' Removable Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
No CD here either.

Also you need ide-scsi, sg_mod and sd_mod unless these are built into your kernel. Read the quickstart section of the CD-Writing HOWTO
 
Old 04-24-2004, 09:49 PM   #14
thebeast
Member
 
Registered: Sep 2003
Location: West Virginia, USA
Distribution: Gentoo / Slackware
Posts: 52

Original Poster
Rep: Reputation: 15
That's exactly why I want to start all over my friend. It works in Win**** ( I dual boot. ) Somehow it just got like really jacked up. I almost just want to reinstall Gentoo. I can't even play audio cds on here cuz my fstab entry is messed up. I really need to know how to just set it up from the beginning again.
 
  


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
Setting Up DNS from Scratch cyclepath Linux - Networking 2 11-11-2004 02:16 PM
using scsi scanner with ide-atapi cd burner brombo Linux - General 0 05-21-2004 06:44 PM
Mondo w/ ATAPI CD-Burner nrunge Linux - Software 0 01-29-2004 11:43 AM
atapi cd burner setup walkthrough? anywhere?? mipia Slackware 10 11-04-2003 03:00 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:12 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