Solved

turning ide-scsi on and off during runtime

Posted on 2002-05-20
4
231 Views
Last Modified: 2010-04-20
HI
I have an ide cdwriter on my server, but there is one snag...
It has a scsi hard drive that runs off a initio a100 controller that uses the a100u2w driver. For some reason though, it won't automatically load the drivers at boot time, and I have to place the insmod a100u2w in the rc.local file, only problem is; the scsi disk holds my /var folder and only mounts after the whole system has booted. It seems it is using my original ide disk's /var folder during boot time and as soon as the scsi disk is up, it mounts over that /var.
This is why I think my cdr is not working, even though I have it compiled into the kernel.
So, now I want to know if I can turn on ide-scsi for the /dev/hdb dirve after I booted ( I know you are supposed to pass it to the kernel boot params) .
0
Comment
Question by:psimation
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:wqclatre
ID: 7023278
You can always load the ide-scsi module when ever you want.
But I think your problem is that the cdwriter is already detected as an ide-cdrom. So I sugest that you add

append="hdb=ide-scsi" to your /etc/lilo.conf and run /sbin/lilo

Then it won't be detected as an ide-cdrom.

About your /var problem. What do you have in your /etc/modules.cof or /etc/conf.modules ?

(a good idea with scsi cards could be to have the driver in a initial-ramdisk.


0
 
LVL 17

Author Comment

by:psimation
ID: 7023315
OK, If I put the append="hdb=ide-scsi" in lilo.conf, will that take effect without having to reboot?
I can't reboot the system, not for another couple of months...But I wan't to use the cdr...

I have the scsi module in modules.conf, but that doesn't work, it only works ( I kid you not) if you insmod from a command prompt after a complete boot. When the module is in modules.conf, it loads, but the disk won't init.
It really is starnge.

0
 
LVL 2

Accepted Solution

by:
wqclatre earned 50 total points
ID: 7023325
About the cdwriter

If you have ide-cdrom suppor compiled into the kernel you have to parse those parameters to lilo, otherwise it will be detected as an ide-cdrom.

If you have ide-cdrom support compiled as an module you could simply unload this module then load the ide-scsi module (and the sr_mod module) and use your ide-cdroms as scsi-cdrom devices. (But as I said if ide-cdrom is compiled into the kernel I guess that it has to be parsed to the kernel at boot through a append line in lilo.conf)

About the scsi card. If you show me what you have in modules.conf I might be able to help you.

My best idea how to do with the scsi-cards is to have them in a ram disk as I said before.

Man initrd will give you some more information how to create it. (You have to add it to lilo too)
0
 
LVL 17

Author Comment

by:psimation
ID: 7552882
Thanks, solved my problem by rebooting (well, a power failure *helped* me...)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question