LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-13-2003, 08:13 PM   #1
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
CD writer support


I need kernel support for my ATAPI CD writer. I would like to know where I can find the feature in the xconfig menu (ide-scsi support).
 
Old 05-13-2003, 08:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Haven't used xconfig in ages (too cluttered ;}) ...
but it should live in the section
ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
<M> SCSI emulation support

HIH

Cheers,
Tink
 
Old 05-13-2003, 08:20 PM   #3
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
So I do need emulation support.
 
Old 05-13-2003, 08:36 PM   #4
dos1
Member
 
Registered: May 2003
Location: Auckland, New Zealand
Posts: 49

Rep: Reputation: 15
Read this post for details on getting your CD-RW going:
Click here

Regards,

Jacob


I asked same question like 3 days ago, that post got me sorted quick
 
Old 05-13-2003, 08:57 PM   #5
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
Update, adding append after the kernel is loaded isn't a good idea, it doesn't work.

Now I present a second problem. It loads my burner into 3 scd slots!

bash-2.05b# dmesg |grep scsi
Kernel command line: BOOT_IMAGE=Linux ro root=305 hdc=ide-scsi
ide_setup: hdc=ide-scsi
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 0, lun 1
Attached scsi CD-ROM sr2 at scsi0, channel 0, id 0, lun 2
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
sr2: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray


How can I fix that?

Last edited by vexer; 05-13-2003 at 09:04 PM.
 
Old 05-13-2003, 09:43 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmmm ... not knowing what you did and
how you got there (or even without a status,
I mean, grepping dmesg for SCSI doesn't do
a lot for me - it would help if you said what
you expected to see, and how it differs from
what you got ...) I can't even see your problem
here ;)

things of interest would be:
less /proc/scsi/scsi
lsmod

Cheers,
Tink
 
Old 05-13-2003, 09:47 PM   #7
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
Ok, the above dmesg shows that ide-scsi loads my cd Writer (I have one) in 3 different devices instead of just one. That is the problem. so sr0, sr1, sr2 are all pointed to hdc...

less /proc/scsi/scsi :
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATAPI Model: CD-RW 52XMax Rev: 140D
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: ATAPI Model: CD-RW 52XMax Rev: 140D
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 02
Vendor: ATAPI Model: CD-RW 52XMax Rev: 140D
Type: CD-ROM ANSI SCSI revision: 02



bash-2.05b# lsmod
Module Size Used by Tainted: P
nvidia 1539840 10 (autoclean)
ppp_synctty 6752 0 (unused)
ppp_async 8064 1
ppp_generic 22144 3 [ppp_synctty ppp_async]
slhc 5472 0 [ppp_generic]
iptable_filter 1740 1 (autoclean)
ip_tables 12600 1 [iptable_filter]
usb-uhci 24236 0 (unused)
bcm4400 27072 1
emu10k1 70376 1
ac97_codec 10472 0 [emu10k1]
ide-scsi 8880 1
 
Old 05-13-2003, 10:02 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Could you please also post the section of
your .config file that holds the SCSI-infos
and maybe your lilo.conf?

Cheers
Tink
 
Old 05-13-2003, 10:07 PM   #9
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
append = "hdc=ide-scsi"
# Linux bootable partition config begins
image = /boot/linux-2.4.20
root = /dev/hda5
label = Linux
read-only
# Linux bootable partition config ends
other = /dev/hda1
label = WindowsXP
table = /dev/hda
# Make burner work
image = /boot/linuxBAK
root = /dev/hda5
label = Linux(Backup)
read-only

Not too sure how to get the scsi info from .config... tried cat .config |grep scsi

but got nothing but I know I have scsi supported
 
Old 05-13-2003, 10:10 PM   #10
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
got it..
CONFIG_BLK_DEV_IDESCSI=m
# SCSI support
CONFIG_SCSI=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# SCSI low-level drivers
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
CONFIG_SCSI_SYM53C8XX=m
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_PQS_PDS is not set
# CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_DEBUG is not set
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
# CONFIG_USB_HPUSBSCSI is not set
 
Old 05-13-2003, 11:38 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well now ... there's a heap of SCSI stuff
built into your kernel. Have you actually
got a SCSI-Subsystem installed?

If no, disable all SCSI-Hardware, and make
SCSI-support as such modules.

HIH

Cheers,
Tink
 
Old 05-14-2003, 03:49 PM   #12
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
Ok, so I rebuilt my kernel. Now SCSI cdrom support, SCSI emulation and SCSI support are the only ones active. Now my ide drive doesn't even load.....

lsmod shows the ide-scsi
and less /proc/scsi/scsi give me
bash-2.05b# less /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATAPI Model: CD-RW 52XMax Rev: 140D
Type: CD-ROM ANSI SCSI revision: 02
 
Old 05-14-2003, 04:00 PM   #13
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
I found the drive to be in scd0 but k3b still doesn't detect the drive.

It also says the drive is write protected..
 
Old 05-14-2003, 05:30 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You'll have to modify fstab now...

Your IDE-cdrom used to be
something like
/dev/hdb or dev/hdc

Now it is (presumably)
/dev/scd0

Cheers,
Tink
 
Old 05-14-2003, 11:41 PM   #15
coyote
LQ Newbie
 
Registered: May 2003
Location: Paris
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Hi,

I don't think /dev/scd0 is the correct device : this is CD not CD Writer. The correct CD device is /dev/sr0 or such.
As far as I can see, your CD is correctly detected as SCSI, but it has not attached the correct device. Make sure you also compiled all the ISO and UDF file systems into the kernel.

Hope it helps.
 
  


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
fc3: media card reader/writer support? pcandpc Linux - Hardware 2 10-23-2005 09:55 AM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
USB Support, UHCI (Intel PIIX4, VIA, ...) Support qingjuan Linux - General 0 03-30-2002 11:46 AM
Help desk / technical support / Customer support Software BaerRS Linux - General 1 12-20-2001 07:16 PM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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