![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Oct 2002
Posts: 1,561
|
I have searched widely on this topic and really want to setup buring CD's in Linux.
The devices I have are: Lite-On 48x Burner Sony 16x DVD drive. Both ATAPI. I've found that ATAPI burning isn't supported yet(can't wait for kernel 2.6!) and I need to add scsi emulation. Found several instructions for this, append to lilo, compile kernel with scsi emulation and remove ide-cd, append to fstab. can someone please list a complete set of instructions? Thanks. p.s. I am running kernel 2.4.22 (upgrading kernel not an option yet - waiting for 2.6) p.p.s. here is my output from lsmod: Code:
Module Size Used by Not tainted input 3200 0 (autoclean) radeon 102340 14 snd-pcm-oss 37252 1 snd-mixer-oss 11992 1 [snd-pcm-oss] uhci 24496 0 (unused) ehci-hcd 16872 0 (unused) usbcore 58400 1 [uhci ehci-hcd] snd-via82xx 11712 2 snd-pcm 55904 0 [snd-pcm-oss snd-via82xx] snd-timer 13252 0 [snd-pcm] snd-ac97-codec 37240 0 [snd-via82xx] snd-page-alloc 6004 0 [snd-via82xx snd-pcm] snd-mpu401-uart 3136 0 [snd-via82xx] snd-rawmidi 12512 0 [snd-mpu401-uart] snd-seq-device 3920 0 [snd-rawmidi] snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 3332 4 [snd] 8139too 15240 1 mii 2304 0 [8139too] crc32 2880 0 [8139too] ohci1394 24200 0 (unused) ieee1394 42436 0 [ohci1394] pcmcia_core 40032 0 ide-scsi 9424 0 agpgart 39576 3 p.p.p.s. I am using K3b.
__________________
"so i sat in my chair from 11pm till about 7am, scared shitless that some ghost chick was going to jump through my window and kill me. didn't happen though, so it's all good." ... |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Jun 2001
Location: Brisbane 4065
Posts: 5,088
|
Give us the output of "cdrecord -scanbus" (must be as root)
|
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2002
Location: wollongong.nsw.au
Posts: 371
|
you must define what device you want to use scsi emulation in lilo.conf
so figure out what device your burner is with the following: Code:
dmesg | grep '^hd.:' then add the following line into lilo.conf Code:
append="hdb=ide-scsi" then run the following to update lilo Code:
lilo -v Code:
root@windsok:/home/windsok# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'PIONEER ' 'DVD-RW DVR-105 ' '1.30' Removable CD-ROM
__________________
OCAU Camera Club Member #226 Succsessful Trades List: ezy, StratosFear, CustomPC, sen, FrankGrimes, rbear, joxer, Combiblock, rommy(2), Voodooman, Wizard, Doeth72, aaleks, bombastic, pingu, karthik, Bowl300, mugsee, CrYpTo, blue_bug, bluedreamer, TOX Last edited by windsok; 7th November 2003 at 5:53 PM. |
|
|
|
|
|
#4 |
|
Member
Join Date: Oct 2002
Posts: 1,561
|
cdrecord gives me this:
Code:
cdrecord -scanbus Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. so in lilo I add: append="hdd=ide-scsi" Can I just put that at the bottom of the file?
__________________
"so i sat in my chair from 11pm till about 7am, scared shitless that some ghost chick was going to jump through my window and kill me. didn't happen though, so it's all good." ... |
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2002
Location: wollongong.nsw.au
Posts: 371
|
I think you can put it anywhere, but mine is at the start, eg:
# LILO configuration file # generated by 'liloconfig' # # Start LILO global section append="hdb=ide-scsi" etc
__________________
OCAU Camera Club Member #226 Succsessful Trades List: ezy, StratosFear, CustomPC, sen, FrankGrimes, rbear, joxer, Combiblock, rommy(2), Voodooman, Wizard, Doeth72, aaleks, bombastic, pingu, karthik, Bowl300, mugsee, CrYpTo, blue_bug, bluedreamer, TOX |
|
|
|
|
|
#6 |
|
Member
Join Date: Oct 2002
Posts: 1,561
|
Ok, added it to lilo and now cdrecord -scanbus reveals this:
Code:
cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-48246S ' 'SS08' Removable CD-ROM
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) *
__________________
"so i sat in my chair from 11pm till about 7am, scared shitless that some ghost chick was going to jump through my window and kill me. didn't happen though, so it's all good." ... |
|
|
|
|
|
#7 |
|
Member
Join Date: Sep 2002
Location: wollongong.nsw.au
Posts: 371
|
yep, you should now be able to burn cds
__________________
OCAU Camera Club Member #226 Succsessful Trades List: ezy, StratosFear, CustomPC, sen, FrankGrimes, rbear, joxer, Combiblock, rommy(2), Voodooman, Wizard, Doeth72, aaleks, bombastic, pingu, karthik, Bowl300, mugsee, CrYpTo, blue_bug, bluedreamer, TOX |
|
|
|
|
|
#8 |
|
Member
Join Date: Oct 2002
Posts: 1,561
|
Just noticed K3b detects my cd drive as a SCSI device now, but still give me an error msg saying it doesn't support buring with ATAPI and at least one of my burners should be SCSI emulated.......
__________________
"so i sat in my chair from 11pm till about 7am, scared shitless that some ghost chick was going to jump through my window and kill me. didn't happen though, so it's all good." ... |
|
|
|
|
|
#9 |
|
Member
Join Date: Oct 2002
Posts: 1,561
|
but it looks like it might be working anyway. I'll grab a cd and try to burn something later on. will report back
__________________
"so i sat in my chair from 11pm till about 7am, scared shitless that some ghost chick was going to jump through my window and kill me. didn't happen though, so it's all good." ... |
|
|
|
|
|
#11 |
|
Member
Join Date: Mar 2002
Location: Perth
Posts: 2,046
|
I'm following the little guide posted by ludeking. I added the line
Code:
append="hdc=ide-scsi" But cdrecord -scanbus just says Code:
bash-2.05b# cdrecord -scanbus Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. using Slackware 9.1 and my burner is a Pioneer DVR-106D. Thanks. oh. and will k3b only work under kde? cause its not wanting to run under Gnome 2.4
__________________
Linux Registered user #355379 - Click here to install Debian GNU/Linux Gaming; >> PSN tehowl || Steam schrambo Last edited by SchRAMBO; 25th March 2004 at 4:45 PM. |
|
|
|
|
|
#12 |
|
Off the rails
Join Date: Jun 2001
Location: Brighton, QLD
Posts: 5,000
|
Did you reboot after you updated lilo?
The "append" line in lilo is where you put options that you want to pass to the kernel at boot - so after adding an "append" to lilo.conf you have to reboot (after running lilo) for the option to be passed. As for k3b not working in gnome, it should - start it from a console and look for errors - you may be missing a kde dependency. For those of you using KDE and scsi emulation with only one optical drive (the emulated one) you need to chmod 666 /dev/sg* to use konqueror for browsing audio cds. |
|
|
|
|
|
#13 |
|
Member
Join Date: Mar 2002
Location: Perth
Posts: 2,046
|
mmm odd. But at least its mounted now
![]() I changed the append line to hdd (Pionner DVD-106S) and checked it with cdrecord -scanbus and it had worked. So I modified it back to hdd (Pioneer DVR-106D) and now its worked just had another look at the k3b issue. when logged in as root it just spits out "command not found" when just a normal user it goes Code:
k3b: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory |
|
|
|
|
|
#14 |
|
Off the rails
Join Date: Jun 2001
Location: Brighton, QLD
Posts: 5,000
|
http://danb.homelinux.org:81/read/bl...al/libfam.html
There should be a package for your distro somewhere if you don't do source. |
|
|
|
|
|
#15 |
|
Member
Join Date: Mar 2002
Location: Perth
Posts: 2,046
|
ooo not good... the patch file link is broken.
![]() also I just remembred, since my burner drive is now scsi emulated. what do I need to change in my fstab file for it to be mountable normally? |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|