LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-23-2003, 11:05 AM   #1
akihandyman
Member
 
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297

Rep: Reputation: 30
How enable ide-scsi(SCSIemulation)?


I can to make copy with k3b because of this messege that I will have to enable ide-scsi(SCSIemulation for all devices,and I am a new to linux and hard to find how to do it with easy explanation.
 
Old 11-23-2003, 11:27 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
You do it by editing your boot loader config file. Which boot loader do you use, lilo or grub?
If lilo, post your lilo.conf file and I can help you. I'm not familiar with grub however. Basically, for both you edit the append line to include hdx=ide-scsi where hdx coresponds to the drive you want to run under scsi emulation.
 
Old 11-23-2003, 11:30 AM   #3
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
#ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-"
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page
 
Old 11-23-2003, 03:13 PM   #4
akihandyman
Member
 
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297

Original Poster
Rep: Reputation: 30
lilo configuration problem.no hdd.

I have 3 section in lilo about hdc which is cd recorder and I don't find any hdd which I installed dvd(cd) player. and it is difficult to understand how to configure lilo.
 
Old 11-23-2003, 03:26 PM   #5
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
akihandyman, post your /etc/lilo.conf file, your /etc/fstab file and the output of cdrecord -scanbus

LILO mini HOWTO
Multiboot with LILO HOWTO

Last edited by fancypiper; 11-23-2003 at 03:43 PM.
 
Old 11-23-2003, 03:35 PM   #6
guy
LQ Newbie
 
Registered: Nov 2003
Location: KY- USA
Distribution: Mandrake 9.2
Posts: 20

Rep: Reputation: 0
I am having the same problem- although I can burn with xcdroast or nautilus.

I have not configured my lilo.conf or know how to to make k3b work. I would appreciate some direction.

Here is my lilo.conf:
boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=nomount hdd=ide-scsi acpi=ht failsafe"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/hdb1
label="windows2"
table=/dev/hdb
map-drive=0x81
to=0x80
map-drive=0x80
to=0x81
other=/dev/fd0
label="floppy"
unsafe
-------------------------------------------------------------------------------
Here is the output of cdrecord -scanbus:
cdrecord -scanbus
Cdrecord-Clone 2.01a18-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord is not to be bothered with problems in this version.
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-52327S ' 'QS09' 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) *
-------------------------------------------------------------------------------
And here is fstab (if needed):
/dev/hdb5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,codepage=850,sync,umask=0 0 0
/dev/hda1 /mnt/win_c ntfs ro,iocharset=iso8859-1,umask=0 0 0
/dev/hdb1 /mnt/win_c2 ntfs ro,iocharset=iso8859-1,umask=0 0 0
/dev/hda5 /mnt/win_d ntfs ro,iocharset=iso8859-1,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb6 swap swap defaults 0 0
-------------------------------------------------------------------------------


Thanks for any help.

Last edited by guy; 11-23-2003 at 03:40 PM.
 
Old 11-23-2003, 03:47 PM   #7
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
guy, you're configured and ready to burn
Quote:
or know how to to make k3b work. I would appreciate some direction.
Forget k3b if it doesn't work or file a bug report. The commands I posted above should work for you.

My directions, use apps that work, others file bug reports to the developers.

How to get good answers with your questions about Linux

You show two cd drives. Do you know what you have attached to /dev/hdc (ide 2nd buss master, is it a CDROM drive?) and /dev/hdd (ide 2nd buss slave, is that your CD-RW?)

If so, it sounds like you are configured OK.

Last edited by fancypiper; 11-23-2003 at 03:54 PM.
 
Old 11-23-2003, 03:57 PM   #8
guy
LQ Newbie
 
Registered: Nov 2003
Location: KY- USA
Distribution: Mandrake 9.2
Posts: 20

Rep: Reputation: 0
I can and will do that, but I am still curious as how to fix the problem.

(It a 'curiosity killed that cat' type of thing... )


As for your other question, yes hdc is my primary (DVD) or reader drive. K3B doesn't even recognize it.

Last edited by guy; 11-23-2003 at 03:59 PM.
 
Old 11-23-2003, 04:03 PM   #9
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
The first step in troubleshooting is to go through the error messages generated. Launch an app with an x terminal. The error messages are fully shown in the terminal and can be posted. Use the BBS code tags (the button with # on it) for posting these to make them easier to read.

I don't have a DVD. I would be willing to learn how to configure and help other newbies configure them too if someone wants to donate one.

Don't DVDs use scsi emulation too?

Linux DVD HOWTO

Last edited by fancypiper; 11-23-2003 at 04:10 PM.
 
Old 11-24-2003, 07:55 PM   #10
akihandyman
Member
 
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297

Original Poster
Rep: Reputation: 30
Here is my lilo
boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarm
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw

image+/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devs=mount hdc-ide-scsi acpi=off quiet"
vga=788
read-only

image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="devs=mount hdc=ide-scsi acpi=off
read-only

image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=nomount hdc=ide-scsi acpi=off failsafe"
read-only

other=/dev/fd0
label="floppy"
unsafe

image=/boot/vmlinuz-2.4.21-0.13mdksmp
label=2421-13smp
root=/dev/hda1
read-only
optional
vga=788
append=" devfs=mount hdc=ide-scsi acpi=off quiet"
initrd=/boot/initrd-2.4.21-0.13mdkenterprise.img

image=/boot/vmlinuz-2.4.21-0.13mdksecure
label=2421-13sec
root=/dev/hda1
read-only
optional
vga=788
append=" devfs=mount hdc=ide-scsi acpi=off quiet"
initrd=/boot/initrd-2.4.21-0.13mdksecure.img

cdrecord -scanbus

scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-52327S ' 'QS04 ' 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)*

/etc/fstab

/dev/hda1/ext3 defaults 1 1
none/dev/pts devpts mode=0620 0 0
/dev/hda6/home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none/mnt/cdrom2 supermount dev=/dev/hdd,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none/mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none/proc proc defaults 0 0
/dev/hda5 swap swap defaults

I am able to burn cd but can not copy.from cdrom(lite-on dvd) to cdrecorder.with k3b.
 
Old 11-24-2003, 07:59 PM   #11
guy
LQ Newbie
 
Registered: Nov 2003
Location: KY- USA
Distribution: Mandrake 9.2
Posts: 20

Rep: Reputation: 0
Hrmmm... is there any chance that it is our burners as it appears we are using the same one ( 'LITE-ON ' 'LTR-52327S ' ) or is this merely coincidence?
 
Old 11-25-2003, 07:54 AM   #12
akihandyman
Member
 
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297

Original Poster
Rep: Reputation: 30
I haveno problem using cd burner with my system(the latest k3b),I just can not use LITE-ON dvd player as reader to copy cd.
 
Old 11-25-2003, 07:59 AM   #13
akihandyman
Member
 
Registered: Oct 2003
Location: brooklyn ny
Distribution: mandrake9.2
Posts: 297

Original Poster
Rep: Reputation: 30
I have forgotten to mention that I installed k3b-0.10.1-1mdk91.i586rpm.this works.exept cd(dvd reader).
 
Old 11-25-2003, 10:24 AM   #14
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
It won't see the dvd drive as a reader unless you set that to run under scsi emulation as well. That's true for all linux cd burning programs that I've used. But running a dvd drive under scsi emulation will result in problems playing dvds; at least for me it did so I set it back. In k3b you can use your cd writer to read a cd if you want to copy the entire thing. It will read off your cd writer and write everything to a temp directory then eject the cd and prompt you to put in a cd-r and proceed to burn the cd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how do i enable ide-scsi for my cd burner justin9 Linux - Newbie 13 01-04-2004 04:26 PM
enable ide-scsi?how? Ogledbyoldmen Linux - Software 9 12-29-2003 10:09 PM
Where do I enable ide-scsi module in kernel config? TheOneAndOnlySM Slackware 3 12-12-2003 08:43 PM
How To-enable IDE-SCSI for my CD-ROM cbjhawks Linux - Hardware 3 11-13-2003 12:52 PM
How to Enable ide-scsi emulation in the kernel? shassouneh Linux - Software 29 05-31-2002 01:28 PM


All times are GMT -5. The time now is 07:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration