LinuxQuestions.org
Visit Jeremy's Blog.
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 07-24-2002, 12:56 AM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
Another CD Burner question.


Ok.. Before everyone starts postign telling me to do searches, I have. I have posted here before and got some help but have never got the Burner problem fixed.

here is my LILO

boot="/dev/hda"
map=/boot/map
install=/boot/boot.b
prompt
timeout="50"
message=/boot/message
lba32
default=dos

image="/boot/vmlinuz"
label="linux"
read-only
root="/dev/hda8"
append="hdb=ide-scsi"

other=/dev/hda1
label=dos

I added the append="hdb=ide-scsi" myself.

I cannot follow the guides I have seen. I do not understand them. I have followed them as well as possible and read all the terminalogy, despite all this I realize what a NEWB I am.

Pls help,
thanx
 
Old 07-24-2002, 02:32 AM   #2
VenimK
Member
 
Registered: Mar 2002
Posts: 42

Rep: Reputation: 15
What kind off writer is it, whats your system like !!!!
Coould be helpful for others to help
 
Old 07-24-2002, 04:36 AM   #3
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
What does your /etc/fstab say?
What burning program do you plan to use?
What error messages do you get?
Do a dmesg | less (or dmesg | more ) to see if it says anything about it at boot up.
lynch
 
Old 07-24-2002, 08:34 AM   #4
ronin24
Member
 
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
You have to add "/sbin/modprobe ide-scsi" in "/etc/init.d/boot.local"
 
Old 07-24-2002, 08:31 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Like ronin24 pointed out, if you have the line in there right, something like this should appear in dmesg after the BIOS memory map:

zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=303 hdd=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 1200.094 MHz processor.

Also, near the end of dmesg, you should have a scsi bus scan for the ide device that looks like this:

scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: MT1316 Model: BDV212B Rev: 0.36
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
sr1: scsi3-mmc drive: 8x/40x cd/rw xa/form2 cdda tray


Unlike what Ronin said though the modprobe line should go in /etc/rc.d/rc.local, boot.local is specific to SuSe.

Cheers,

Finegan
 
Old 07-25-2002, 12:05 AM   #6
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
My etc/fstab is as follows.

/dev/hda8 / ext2 defaults 1 1
/dev/hda6 /boot ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,ro,exec,owner 0 0
/dev/fd0 /mnt/floppy auto defaults,noauto,ro,owner 0 0
none /dev/pts devpts defaults,ro,gid=5,mode=620 0 0
/dev/hda7 swap swap defaults 0 0
/dev/hda5 /mnt/dev/hda5 vfat defaults,user 1 2
# Last Modified: Tue Jul 23 21:33:19 2002
/dev/hda1 /mnt/dev/hda1 vfat defaults,user 1 2
none /proc proc defaults 0 0

It is a Liteonit 24x10x40.

I would liek to use the gtoaster one

dmesg shows ide_setup: hdd=ide-scsi
the last line in dmesg says hdd: driver not present

ronin I do not understand when u say i need to add /sbin/modprobe ide-scsi" in "/etc/init.d/
I have opened it up so I can edit it but I do not know where to place it though.

what I have gathered (pls correct me if I am wrong) is I do not have the drivers. I am gettign the educated guess from finegan's post where at the bottom I should have a driver of sorts.

is this becasue i need to add the module? Are modules drivers?

Thanx all for the great posts

Gonus
 
Old 07-25-2002, 12:28 AM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, cool... that's it, whew. Yeah, ide-scsi is a module, with that lilo statement you're telling your kernel to treat hdd like a scsi device, but it doesn't know how without that module. /etc/rc.d/rc.local is the very last file run by init. (I'm almost certain thats the file in turbolinux, I know SuSe is unique in boot.local). Putting the modprobe line there should clear this up so that you see that scsi emulation probe at the end of "dmesg". If rc.local runs too late for the kernel to be happy then we'll figure out what to do to convince it that thing needs to go earlier. Offhand, what's turbo based on? If its slackware you may have a file called /etc/rc.d/rc.modules, but I doubt that.

Cheers,

Finegan
 
Old 07-25-2002, 02:26 PM   #8
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Turbo is based on redhat I think not positive though. How would I make sure?

How would I go about adding that module? Am I on the right track by opening it up to edit it? If so do I just type it in? If not I need some more help.

Thanx again
 
Old 07-25-2002, 04:23 PM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
If you have a file called /etc/rc.d/rc.local, then that's the right file, its just a bash script, sure edit that. Actually first try:

/sbin/modprobe ide-scsi

Then check:

dmesg

To see what the kernel thought of that. Then try adding that line to /etc/rc.d/rc.local and see what happens.

Cheers,

Finegan
 
Old 07-26-2002, 12:38 AM   #10
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
I think that I added the /sbin/modprobe ide-scsi correctly. This is the bottom part.


if test ! -f /etc/issue.net -o $RELEASEFILE -nt /etc/issue.net
then
echo "" > /etc/issue.net
echo "$RELEASEDATE" >> /etc/issue.net
echo "%s %r on $a %m (%h)" >> /etc/issue.net
echo "TTY: %t" >> /etc/issue.net
echo "" >> /etc/issue.net
fi
fi
/sbin/modprobe ide-scsi

Is this correct? cdrecord -scanbus shows my cd burner now. But it did that after I entered /sbin/modprobe ide-scsi. So what does editing rc.local do? I apologize for all the questions but I am still new thanx for all the help.

Gonus
 
Old 07-26-2002, 12:49 AM   #11
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
OOps. thought i had it but i did a dummy burn. bad post

Last edited by gonus; 07-26-2002 at 01:00 AM.
 
Old 07-26-2002, 01:37 AM   #12
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Adding that modprobe line to rc.local has it come up every time on boot.

Cheers,

Finegan
 
Old 07-26-2002, 10:56 AM   #13
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Ok. Now i am unable to access my cdrom. did I do something wrong?
 
Old 07-26-2002, 11:28 PM   #14
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
/cheer

I got everything. Now I am good thanx all.

Gonus
 
Old 07-27-2002, 09:46 PM   #15
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
Wait, what about me?

[root@localhost root]# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.

How do I fix it? Thanks.
 
  


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
CD Burner NewSlacker Linux - Hardware 14 09-02-2004 09:36 PM
cd burner question ide/scsi emulation wijnands Linux - Newbie 3 04-20-2004 06:27 AM
trying to mount cd burner, cd burner being a whore lasalsademuerte Slackware 5 12-09-2003 03:56 PM
Question bout buyin a CD Burner SnowSurfAir Linux - Hardware 4 08-04-2003 09:24 PM
Cd-Burner RaheimSG Linux - Hardware 0 09-10-2002 09:43 AM

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

All times are GMT -5. The time now is 08:41 AM.

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