Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linix won't detect my SCSI cd-burner

Status
Not open for further replies.

tim273

Programmer
Aug 29, 2001
9
US
Hello everyone,

I have a Tekram 315U SCSI card and a HP CdWriter+ 9200i cd writer (the only SCSI device). If I go into KDE and into the system manager, it seems to detect the SCSI card, but not the cd burner. I have a Win2K and Linux dual install set up and Window's has no problem. Any ideas? Thanks!
 
Hi,

What relevant messages do you get in /var/log/dmesg ? Also do you have an ide cd-reader as well as the scsi device?

It should show up as device /dev/scd0 incidentally if its the first (only) scsi cd. If you also have a ide cd and are using ide-scsi emulation then the burner migt be /dev/scd1.

Do a 'cdrecord --scanbus'command from a console window to see what it finds.

Rgds.
 
I couldn't find anything when I did dmesg and when I did cdrecord -scanbus I got this error:

"No such file or directory. Cannot open SCSI driver." Do I need to update my driver? Thanks!
 
Hi,

It would seem that the driver for the Tekram 315U SCSI card is not included in the standard kernel. On the Tekram ftp site they distribute a driver for that card (dc390x_trm) in source code form together with a kernel patch.

Before you think of doing the following first check for sure that there isn't a module on your system already somehow ...

find /lib/modules/ -name 'dc395x*'

If there is do 'modprobe dc395x_trm' .

Otherwise, what you would need to do is a bit complicated :

(i) Download and unpack the kernel source to /usr/src
( )
bunzip2 linux-2.4.9.tar.bz2
tar xvf linux-2.4.9.tar
mv linux linux-2.4.9
ln -s linux-2.4.9 linux

(ii) Download the driver source to /tmp - copy to correct kernel source directory.
( )

cd /tmp
tar zxvf dc395x_trm.tar.gz
cp dc395x_trm.c /usr/src/linux/drivers/scsi
cp dc395x_trm.h /usr/src/linux/drivers/scsi

(ii) apply the patch
( )
cd /usr/src
gzip -d pMChpRH70.gz (patch file downloaded)
patch -p0 < pMChpRH70



(iii) build a new kernel. The patch will cause new options to appear in the kernel config screens. From here you follow the standard kernel build process.

cd /usr/src/linux
make oldconfig
make xconfig <-- configure your card !!
make dep
make clean
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.9
cp System.map /boot/System.map-2.4.9

Then edit /etc/lilo.conf to add the new image

/sbin/lilo -v
& reboot

What you may well find, however, is that the patch (most probably) and driver source will not have been updated for the 2.4.x kernel series (because of of source tree layout changes and C header file changes) You might have to use a 2.2.x series kernel unless you fancy patching the patch etc.


Regards
 
I will try that. Thank you for your help. I'll let you know if it works!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top