[152] in RedHat Linux List

home help back first fref pref prev next nref lref last post

bug in /etc/rc.d/rc.sysinit?

daemon@ATHENA.MIT.EDU (Julien Maillard)
Mon Oct 21 18:35:25 1996

To: redhat-list@redhat.com
Reply-To: maillard@vt.edu
Date: Mon, 21 Oct 1996 09:53:28 -0400
From: Julien Maillard <maillard@tulipe.val.org>
Resent-From: redhat-list@redhat.com

[not sure this has been sent right the first time... sorry if it did...]

I've just rebuilt my kernel (2.0.18) after a fresh install using:
- --
make mrproper
make xconfig (included scsi support as module only, the following will also 
occur if i say no to scsi support)
make dep;make clean
make zImage
make modules
rm -rf /lib/modules/2.0.18/* (otherwise, depmod will complain about unresolved 
dependencies at boot up...)
make modules_install
- --
after booting up i noticed something like:
/proc/scsi/scsi: file not found
looking at /etc/rc.d/sysinit:
- --
# If a SCSI tape has been detected, load the st module unconditionally
# since many SCSI tapes don't deal well with st being loaded and unloaded
if cat /proc/scsi/scsi | grep -q 'Type:   Sequential-Access' ; then
        if cat /proc/devices | grep -qv ' 9 st' ; then
                insmod st
        fi
fi
- --
can i just add if [ -f /proc/scsi/scsi ]; then ... arround the above if?

Thanks.

-- 
Julien Maillard                                       maillard@vt.edu
Virginia Tech
                tel: (540) 231 4285,  fax: (540) 231 8836



--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post