LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-01-2002, 11:24 AM   #1
LabRad
Member
 
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106

Rep: Reputation: 15
Question CDRecord IDE CDwritter and kernel 2.4.18


CDReckord uses scsi over IDE for IDE cdwritters.
I have compiled several kernels of type 2.4.18 with verius scsi settings. But CDReckord keeps telling me he cant find the scsi driver.
Can some one tell me what kernel options I nead to get my cdwritter working?
BTW I have tryed to find some how to`s but I only found help for 2.2X kernels.
I could not find the same options in the 2.4.18 kernel
If some one know a good how to for a 2.4.18 kernel that would be fine to.
TIA
 
Old 04-01-2002, 01:46 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I personally build these straight in and not as modules so they load automatically on boot. The major ones you want are in two different places. First in IDE, ATA & ATAPI support:

CONFIG_BLK_DEV_IDESCSI=y

Then in SCSI support I say yes to:

# SCSI support
#
CONFIG_SCSI=y
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_SCSI_DEBUG_QUEUES is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

Hope that works for yuh. You'll want to look into adding an append= option in your bootloader for the cdrom.
 
Old 04-02-2002, 11:21 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I agree with the above poster. Compile in the SCSI Emulation support under ATA/IDE/etc. Compile in the Generic support under scsi. And I also like to compile in the SCSI disk support and SCSI CD-ROM support so I can mount my emulated scsi cdrom. Then just pass in hdx=scsi to the kernel on boot and you should be all set. Obviously substitute x for whatever your CDRW is. The device will be accesible as /dev/scd0 if it is your first SCSI cdrom.
 
Old 04-02-2002, 02:04 PM   #4
LabRad
Member
 
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106

Original Poster
Rep: Reputation: 15
Unhappy

I have compiled the option form above (static)
I have add this line in lilo.conf append = "hdd=scsi"
I have installed the last version of CDRecord.
And still when I run #cdrecord - scanbus
CDRecord can`t find the scsi driver .... any more suggestions?
THI

BTW The Writter works fine as cdrom player (all cabels are connected and stuff)
 
Old 04-02-2002, 03:14 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's hdd=ide-scsi in lilo.conf not just =scsi
 
Old 04-03-2002, 07:29 AM   #6
LabRad
Member
 
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106

Original Poster
Rep: Reputation: 15
Unhappy

I tryed thet some append strings but it still wond work.
for now I treyed:
/dev/hdd=ide-scsi end /dev/hdd=scsi
hdd=ide-scsi end hdd=scsi

I cant mount any cdrom`s using scd0
mount -t iso9660 /dev/scd0 /cdrom
mount: /dev/scd0 is not a valid block device

The Error cdrecord returns
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.


any more suggestions?
THI
 
Old 04-03-2002, 08:15 AM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Well both hdd=scsi and hdd=ide-scsi should work.... (I have been using hdx=scsi over hdx=scsi-ide for a long time because I am too lazy to change it and it has always worked for me).

Check out your dmesg... you should see the following things.


Kernel command line: hdc=scsi lp=auto mem=524224K
ide_setup: hdc=scsi

hda: HITACHI DVD-ROM GD-7500, ATAPI CD/DVD-ROM drive
hdc: SONY CD-RW CRX160E, ATAPI CD/DVD-ROM drive
hde: IC35L040AVER07-0, ATA DISK drive
hdg: IBM-DTLA-307030, ATA DISK drive

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX160E Rev: 1.0e
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray


Of course device designations will be different... If you don't see those two sections somewhere in there then you probably don't have the right options compiled into the kernel, you didn't run lilo after changing the conf file or something like that. If you want copy your entire dmesg into a post, or send it to me via e-mail and I will check it out for ya.
 
Old 04-03-2002, 11:18 AM   #8
LabRad
Member
 
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106

Original Poster
Rep: Reputation: 15
Talking

Thanks I it works now.

dmesg showed that i still used /dev/hdd=ide-scsi even while i had run lilo.
Vim wrote to a tmp-file or something. Repared the file, set hdd=scsi and run lilo And it works.

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
cdrecord problem with ide-cd (debian/sarge, kernel 2.6.12) philippeP Debian 3 09-07-2005 02:19 AM
cdrecord ide/scsi problem azacid Linux - Software 8 03-04-2004 04:37 PM
how2 make the kernel scan both PCI IDE and Mboard IDE channels? carboncopy Slackware 1 07-23-2003 03:26 PM
cdrecord with ide Ratclaws *BSD 5 08-14-2002 03:26 PM
HELP: cdrecord on IDE bus Denagoth Linux - General 16 01-14-2002 01:24 AM

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

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