Linux - HardwareThis 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.
I'm pretty much an ignoramus linux-wise. I 'inherited' a Pentium (233MHz) machine with external scsi harddrive and installed Mandrake 10.1 Official with the intention of running Apache (etc).
Everything seemed to install ok except I could find no sign of the external drive.
The external drive comes with its own BIOS? (maybe the controller??) - anyway, a BIOS appears upon bootup (after the *usual* BIOS) saying the external drive has been detected. Then, when linux kicks in, nothing more (as far as I can tell) happens.
The drive is a Buffalo (Melco) 20GB model number DSC-U20GTV (??). It was manufactured for the Japanese market (if that matters). The adaptor (controller?) is a PCI "Buffalo Ultra-SCSI interface board IFC-USP".
I've read the SCSI-howto, trawled through it seems hundreds of postings on scsi hardware problems. I think my problem might be I really don't know where to start.
Whether it's got something to do with 'terminating' the scsi bus, or whether the required modules are loaded...??
uname -r : 2.6.8.1-12mdk-i568-up-1GB
lsmod shows scsi_mod.o loaded though not sd_mod.o.
/var/log/messages show no sign of the harddrive being noticed.
cat /proc/scsi/scsi shows no attached devices
lspcidrake shows:
lspci shows that linux is "seeing" your SCSI controller, but not the attached disk(s). Check your modules are loaded as recommended by michaelk, but you should also take a look at the SCSI BIOS:
I once had an adaptec SCSI controller card - it also had its own BIOS. The defaults are not necessarily correctly set, so you should go into the SCSI BIOS and check everything (eg, from memory: Default SCSI transfer speed, termination, whether particular devices (eg your HDD) are to be included when the bus is scanned at startup etc). There will be a lot of options to play with, so make a note of your starting configuration, and change one thing at a time.
The end of the scsi cable must to be terminated for reliable operation: Sometimes this can be done with a jumper on the last device [Termination ON | OFF] at the end of the cable, sometimes you might need a special terminator that the cable plugs in to.
Your SCSI disk needs to be allocated a unique number on the SCSI bus. This is normally done with switches or jumpers on the disk itself. Do not set it to 0 (zero) as this is usually the number assigned to the controller card itself.
Code:
-Either-
Disk Terminator
| |
controller----scsi cable-----V-----V-----V----V----V
-or-
Disk with Termination ON
|
controller----scsi cable-----V-----V-----V----V----V
I've been Googling around for answers re. support for advansys driver in mandrake kernel 2.6+ but nothing except frequent reference to Fedora and it having dropped advansys (mention made of "races?)
I read of solutions involving downloading DKMS (?) RPMs (only Redhat?) for building the module for the running kernel but I suppose it would be too much to hope the same exists for mandrake. (I really don'T know what I'm talking about!!)
The link you gave me (thanks very much) points to a driver (would I need the big endian fix??) but until I download it on my linux machine at home I won't know if it comes with any documentation for use. (ie what am I suposed to do with it?)
Perhaps I could install the kernel source and run make menuconfig to see if it's possible to enable support for the module and do a rebuild??
I've just installed Mandrake 10.1 and while still not having done much with it perhaps it'd be easier installing a different distribution with known support for this scsi drive and controller? I've had a little look around for info regarding support among the different nix distribtns but haven't come up with much. Any advice on where I might look (if this route suggests itself as offering least resistance?)
The notes in the c source file advansys driver say the latest kernel on which the driver's been tested is 2.3.99.
It also says (after a lot of directions regarding editing /usr/src/linux/arch/i386/config):
------------------
6. In the directory /usr/src/linux run 'make config' to configure
the AdvanSys driver, then run 'make vmlinux' or 'make zlilo' to
make the kernel. If the AdvanSys driver is not configured, then
a loadable module can be built by running 'make modules' and
'make modules_install'. Use 'insmod' and 'rmmod' to install
and remove advansys.o.
-------------------------------
I've never built a kernel and had to deal with issues of built-in/loadable modules but wonder if the kernel has to be (re)configured (and built) to be able to load modules when running? Or, does the above mean I can build a loadable module and install (and remove it with insmod/rmmod) without rebuilding the kernel?
Would anyone happen to know of a (recent) distribution that has support for the advansys driver built in??!!
I've found little info on hardware support. I think Fedora supports the card out of the box.
I have the same problem with my Tekram SCSI cards and no support in 2.6 kernels.
If a distribution has no support for a particular card, does that mean one can't even build a driver module somehow?
I've just installed the kernel source and notice that in /usr/src/linux/drivers/scsi there're advansys.c and advansys.h src files. What might this mean?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.