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 08-23-2002, 02:26 AM   #1
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
CDRW and cdrecord -scanbus


Ok slight problem when I run cdrecord -scanbus to check for my cdrecorder it comes back telling me ide-scsi emulation not installed and to try cdrecord -scanbus (or something to this effect)

the scsi-ide module is loaded and I can access/mount the cdrw from /dev/hdc/ (its set as secondary master and I havent symlinked it to Cdrw yet as Scsi emu isnt working)

I boot into Slack thru the boot disk, I have tried passing the command append /dev/hdc = ide-scsi to the kernel at the boot prompt but all i get is an error telling me command append cannot be found (or something to this effect)


maybe the format for the append command is incorrect should it be

append = /dev/hdc = ide-scsi

instead of

append /dev/hdc = ide-scsi

Anybody got any ideas?????

Last edited by dai; 08-23-2002 at 02:41 AM.
 
Old 08-23-2002, 03:38 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
append ="hdc=ide-scsi"

And you could just put it in lilo
 
Old 08-23-2002, 03:54 AM   #3
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
do I need the " " around the hdc=ide-scsi????
 
Old 08-23-2002, 03:59 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't know, I know I use em and they work.
 
Old 08-23-2002, 04:01 AM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Check your bootmsgs.Mine says something like 'using scsi emulation for hdc bla,bla'.
 
Old 08-23-2002, 04:36 AM   #6
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by crashmeister
Check your bootmsgs.Mine says something like 'using scsi emulation for hdc bla,bla'.
So just run Dmesg
 
Old 08-24-2002, 03:56 AM   #7
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
Okay Slight problem

I am booting from the Slack boot floppy and when I type: -

append =/dev/hdc=ide-scsi

I get the error kernel image append not found

So what do I need to do to sort this out???????

I also dont have a lilo.conf in /etc/

I dont think ive installed lilo, how can i install it to the first sector of my boot partition??

Last edited by dai; 08-24-2002 at 03:59 AM.
 
Old 08-24-2002, 04:52 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/sbin/lilo I believe does that, I will poke around if that doesn't work and see what I can find. But you would have to have lilo installed.

Cool
 
Old 08-24-2002, 05:01 AM   #9
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
Ive got lilo in /sbin/

but when I run it it tells me that i dont have /etc/lilo.conf

should I create one and put the line append=/dev/hdc=ide-scsi in it or are there other things that need to be placed in there????
 
Old 08-24-2002, 05:05 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, yes, but run liloconfig to "create" one, then add the entry...
 
Old 08-24-2002, 05:05 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
But not /dev/hdc, just hdc
 
Old 08-24-2002, 05:07 AM   #12
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
I thought at bootprompt, the append should not be there;
so only use; hdc=ide-scsi
the append=" hdc=ide-scsi" is for lilo.conf (rerun lilo)
a dmesg|less should show your ide_setup: hdc= ide-scsi
do also cat /proc/scsi/scsi that should return your burner
do lsmod see what shows up
maybe need to do; modprobe ide-scsi
just some loose hints
good luck
 
Old 08-24-2002, 05:19 AM   #13
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
okay created lilo.conf in pico as a blank document

added the following

append ="hdc=ide-scsi"

run lilo and get following error

bash-2.05a# lilo
Warning: LBA32 addressing assumed
Fatal: Can't put the boot sector on logical partition 0x0307

otcome of cat /proc/scsi/scsi

bash-2.05a# cat /proc/scsi/scsi
Attached devices: none

and lsmod (ide-scsi is loaded)

bash-2.05a# lsmod
Module Size Used by Tainted: P
ppp_deflate 38912 0 (autoclean)
bsd_comp 3936 0 (autoclean)
ppp_async 6464 1 (autoclean)
ppp_generic 14664 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4416 1 (autoclean) [ppp_generic]
agpgart 29824 3 (autoclean)
NVdriver 945632 10 (autoclean)
pcmcia_core 40896 0
ide-scsi 7456 0
emu10k1 55680 0
sound 52876 0 [emu10k1]
ac97_codec 9568 0 [emu10k1]
soundcore 3236 7 [emu10k1 sound]
 
Old 08-24-2002, 05:30 AM   #14
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
There is another way. I have a normal CD-ROM at /dev/hdc and a CD-RW which is accessed through the scsi-ide layer at /dev/scd0. To realise this not by using kernel-options in lilo.conf, but by having the following in /etc/modules.conf :
Code:
options ide-cd          ignore=hdd
alias scd0              sr_mod
pre-install sg          modprobe ide-scsi
pre-install ide-scsi    modprobe ide-cd
 
Old 08-24-2002, 05:33 AM   #15
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
If I added that to /etc/rc.d/rc.modules

will it have the same effect??????????
 
  


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
cdrecord -scanbus output Permaximus Linux - Software 4 04-03-2005 07:56 AM
CDrecord -scanbus Gerardoj Linux - Software 4 05-02-2004 09:27 PM
cdrecord -scanbus james.farrow Fedora 2 01-18-2004 10:01 PM
HELP! cdrecord -scanbus freezes!!! pib Linux - Hardware 9 09-15-2003 06:30 PM
cdrecord -scanbus Cybers19 Linux - General 4 05-22-2003 02:22 PM

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

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