SlackwareThis Forum is for the discussion of Slackware 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.
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.
I've comiled the kernel 2.4.21|All works well but I got this problem with the CD-RW
I've enabled:
In the ATA/IDE support section, enable SCSI emulation support
In the SCSI Support section, enable SCSI Support, SCSI CD-ROM support and SCSI generic support
but the error still remain:
[root@thor:~]# cdrecord -scanbus
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
This is a part of my .config file:
#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
#
# SCSI support
#
CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
# *** THIS IS STILL LOADED BY DEFAULT ***
# SCSI emulation support. This will provide SCSI host adapter emulation
# for IDE ATAPI devices, and will allow you to use a SCSI device driver
# instead of a native ATAPI driver. This is useful if you have an ATAPI
# device for which no native driver has been written (for example, an ATAPI
# PD-CD or CD-RW drive); you can then use this emulation together with an
# appropriate SCSI device driver. Note that this option does NOT allow you
# to attach SCSI devices to a box that doesn't have a SCSI host adapter
# installed. Also, you'll need to exclude your CD-RW from being grabbed by
# the normal ATAPI driver by passing a flag to the kernel at boot time.
# If you're using LILO, add this: append="hdc=ide-scsi"
# Replace "hdc" with the appropriate device name.
/sbin/modprobe ide-scsi
I know about this!!
But I used append="hdc=ide-scsi" since first time!!
The append options seems that doesn't exclude ATAPI driver...
I've also added into modules.conf the line
options ide-cd ignore=hdc
but remains the same...
I'll recompile the kernel excluding completly the ide cd support!!
TNX
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.