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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-01-2002, 11:24 AM
|
#1
|
Member
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106
Rep:
|
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
|
|
|
04-01-2002, 01:46 PM
|
#2
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
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.
|
|
|
04-02-2002, 11:21 AM
|
#3
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
04-02-2002, 02:04 PM
|
#4
|
Member
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106
Original Poster
Rep:
|
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)
|
|
|
04-02-2002, 03:14 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
it's hdd=ide-scsi in lilo.conf not just =scsi
|
|
|
04-03-2002, 07:29 AM
|
#6
|
Member
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106
Original Poster
Rep:
|
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
|
|
|
04-03-2002, 08:15 AM
|
#7
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
04-03-2002, 11:18 AM
|
#8
|
Member
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106
Original Poster
Rep:
|
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!!
|
|
|
All times are GMT -5. The time now is 10:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|