Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Post by Daniel E. Maddu » Mon, 05 Nov 2001 05:13:36



I have a strange problem with Red Hat 7.1 running on an x86 box.  I have
a SCSI system with SCSI CD-ROM and CD-RW Drives.  If I do not place CDs
in these drives, then the hard drive starts to thrash until I do (I
waited 20 minutes just to see if it would stop.  It didn't.).  I checked
"/var/log/messages", which repeated the following messages while the
CD-ROM/CD-RW Drives were empty and the hard drive was thrashing:

Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>:sync msg in: 1-3-1-c-f
Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync: per=12 scnt=0x90
scnt 14=0x0 ofs=15 fak=0 chg=0
Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync msgout: 1-3-c-10
Aug 20 22:15:05 micron kernel: Device not ready.  Make sure there is a
disc in the drive.

These messages repeat over and over until I put CDs in both drives.
Putting a CD in only 1 drive does not stop the thrashing.  Also, putting
a music CD in my CD-ROM drive (ID 3) does not stop the thrashing, even
with a CD in my CD-RW Drive (ID 4).  I do not have this problem with my
laptop or my other desktop system (also SCSI but with only 1
CD-ROM Drive); these systems are also running RH 7.1.  Hardware is as
follows:

dual-PPro 200MHz
Tekram DC390U UltraSCSI Controller
Plextor UltraPlex UltraSCSI 32x CD-ROM
Yamaha 8424 UltraSCSI CD-RW Drive

I did not have this problem with other distributions like Slackware.
However, I found Slackware a little over my head, so I would prefer to
get RH 7.1 working.  Mandrake is troublesome working with WordPerfect 8,
so I am trying to avoid this distribution as well.  Any suggestions on
how to solve this problem?  Besides continuing to place CDs in both
Drives :-)

Daniel

 
 
 

Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Post by Robert Grizzar » Mon, 05 Nov 2001 05:45:33



Quote:> I have a strange problem with Red Hat 7.1 running on an x86 box.  I have
> a SCSI system with SCSI CD-ROM and CD-RW Drives.  If I do not place CDs
> in these drives, then the hard drive starts to thrash until I do (I
> waited 20 minutes just to see if it would stop.  It didn't.).  I checked
> "/var/log/messages", which repeated the following messages while the
> CD-ROM/CD-RW Drives were empty and the hard drive was thrashing:
> Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>:sync msg in: 1-3-1-c-f
> Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync: per=12 scnt=0x90
> scnt 14=0x0 ofs=15 fak=0 chg=0
> Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync msgout: 1-3-c-10
> Aug 20 22:15:05 micron kernel: Device not ready.  Make sure there is a
> disc in the drive.

Well, *there's* the key to your problem right there.  The boot scripts are
trying to accomplish a "mount -a", and your system isn't disabling this for
these two drives.

Quote:> These messages repeat over and over until I put CDs in both drives.
> Putting a CD in only 1 drive does not stop the thrashing.  Also, putting
> a music CD in my CD-ROM drive (ID 3) does not stop the thrashing, even
> with a CD in my CD-RW Drive (ID 4).  I do not have this problem with my
> laptop or my other desktop system (also SCSI but with only 1
> CD-ROM Drive); these systems are also running RH 7.1.  Hardware is as
> follows:
> dual-PPro 200MHz
> Tekram DC390U UltraSCSI Controller
> Plextor UltraPlex UltraSCSI 32x CD-ROM
> Yamaha 8424 UltraSCSI CD-RW Drive
> I did not have this problem with other distributions like Slackware.
> However, I found Slackware a little over my head, so I would prefer to
> get RH 7.1 working.  Mandrake is troublesome working with WordPerfect 8,
> so I am trying to avoid this distribution as well.  Any suggestions on
> how to solve this problem?  Besides continuing to place CDs in both
> Drives :-)

Edit /etc/fstab and add the option "noauto" to the options field for your
two CD drives.  They will probably be the lines prefixed with "/dev/scd0"
and "/dev/scd1", but I'm guessing at that.  The "options" field is the
fourth field on the line.  The "noauto" option will stop the machine from
trying to mount the drives at boot.

 
 
 

Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Post by Daniel E. Maddu » Mon, 05 Nov 2001 14:05:05


Thanks for helping.  However, my "/etc/fstab" does have the "noauto" tab set.
Here are the relevant lines:

/dev/scd0               /mnt/cdrom      iso9660 noauto,owner,kudzu,ro   0 0
/dev/scd1               /mnt/cdrom1     iso9660 noauto,owner,kudzu,rw   0 0

My "/etc/mtab" looks like this

automount(pid759) /misc autofs rw,fd=5,pgrp=759,minproto=2,maxproto=3 0 0
/dev/scd0 /mnt/cdrom iso9660 ro,nosuid,nodev,user=Dan 0 0
/dev/scd1 /mnt/cdrom1 iso9660 ro,nosuid,nodev,user=Dan 0 0

Any other suggestions?  :-)

Daniel



> > I have a strange problem with Red Hat 7.1 running on an x86 box.  I have
> > a SCSI system with SCSI CD-ROM and CD-RW Drives.  If I do not place CDs
> > in these drives, then the hard drive starts to thrash until I do (I
> > waited 20 minutes just to see if it would stop.  It didn't.).  I checked
> > "/var/log/messages", which repeated the following messages while the
> > CD-ROM/CD-RW Drives were empty and the hard drive was thrashing:

> > Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>:sync msg in: 1-3-1-c-f
> > Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync: per=12 scnt=0x90
> > scnt 14=0x0 ofs=15 fak=0 chg=0
> > Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync msgout: 1-3-c-10
> > Aug 20 22:15:05 micron kernel: Device not ready.  Make sure there is a
> > disc in the drive.

> Well, *there's* the key to your problem right there.  The boot scripts are
> trying to accomplish a "mount -a", and your system isn't disabling this for
> these two drives.

> > These messages repeat over and over until I put CDs in both drives.
> > Putting a CD in only 1 drive does not stop the thrashing.  Also, putting
> > a music CD in my CD-ROM drive (ID 3) does not stop the thrashing, even
> > with a CD in my CD-RW Drive (ID 4).  I do not have this problem with my
> > laptop or my other desktop system (also SCSI but with only 1
> > CD-ROM Drive); these systems are also running RH 7.1.  Hardware is as
> > follows:

> > dual-PPro 200MHz
> > Tekram DC390U UltraSCSI Controller
> > Plextor UltraPlex UltraSCSI 32x CD-ROM
> > Yamaha 8424 UltraSCSI CD-RW Drive

> > I did not have this problem with other distributions like Slackware.
> > However, I found Slackware a little over my head, so I would prefer to
> > get RH 7.1 working.  Mandrake is troublesome working with WordPerfect 8,
> > so I am trying to avoid this distribution as well.  Any suggestions on
> > how to solve this problem?  Besides continuing to place CDs in both
> > Drives :-)

> Edit /etc/fstab and add the option "noauto" to the options field for your
> two CD drives.  They will probably be the lines prefixed with "/dev/scd0"
> and "/dev/scd1", but I'm guessing at that.  The "options" field is the
> fourth field on the line.  The "noauto" option will stop the machine from
> trying to mount the drives at boot.

 
 
 

Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Post by Robert Grizzar » Mon, 05 Nov 2001 16:41:46



Quote:> Thanks for helping.  However, my "/etc/fstab" does have the "noauto" tab set.
> Here are the relevant lines:
> /dev/scd0               /mnt/cdrom      iso9660 noauto,owner,kudzu,ro   0 0
> /dev/scd1               /mnt/cdrom1     iso9660 noauto,owner,kudzu,rw   0 0
> My "/etc/mtab" looks like this
> automount(pid759) /misc autofs rw,fd=5,pgrp=759,minproto=2,maxproto=3 0 0
> /dev/scd0 /mnt/cdrom iso9660 ro,nosuid,nodev,user=Dan 0 0
> /dev/scd1 /mnt/cdrom1 iso9660 ro,nosuid,nodev,user=Dan 0 0
> Any other suggestions?  :-)

I don't use automount (or kudzu; Slackware doesn't ship with it).  The man
pages for automount don't show any options to pass to the automount daemon
to make it leave certain devices alone.  Reading the man page, strictly
speaking, it shouldn't need any options to explicitly stop it from trying to
mount the partitions as it won't try to mount the device until something
calls it.  /etc/fstab is set up to stop mount from calling it, so something
else is.

I grepped the man page for fstab for the option "kudzu" and didn't find it.
It isn't in the man page for the "mount" command either.  What is the reason
for setting the option "kudzu" in /etc/fstab?  Is it set for any other
devices?  Does it have a configuration file you can edit to make it keep its
kudzu-pickin' hands off your CD drives?  What happens if you excise it from
the two lines above?  Do your log files show anything awkward or untoward
relating to your CD drives?  Finally, is there a reason you're using "owner"
instead of "user" in the options field?

 
 
 

Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Post by Daniel E. Maddu » Tue, 06 Nov 2001 09:07:34


I may have solved this problem, I hope :-)  I went into ".kde/Autostart" and
commented out the following line:

#Exec=/bin/bash -c "(ps -u $USER -ocomm=|grep autorun ) || if test -f
/var/lock/console/\"$USER\" -a -x /usr/bin/autorun; then /usr/bin/autorun -l
--interval=1000 --cdplayer=/usr/bin/kscd & fi"

I logged out and restarted KDE and all was well; no thrashing.  Thanks for
suggesting that the problem was automount; this got me looking in the right
direction.

Daniel


> Thanks for helping.  However, my "/etc/fstab" does have the "noauto" tab set.
> Here are the relevant lines:

> /dev/scd0               /mnt/cdrom      iso9660 noauto,owner,kudzu,ro   0 0
> /dev/scd1               /mnt/cdrom1     iso9660 noauto,owner,kudzu,rw   0 0

> My "/etc/mtab" looks like this

> automount(pid759) /misc autofs rw,fd=5,pgrp=759,minproto=2,maxproto=3 0 0
> /dev/scd0 /mnt/cdrom iso9660 ro,nosuid,nodev,user=Dan 0 0
> /dev/scd1 /mnt/cdrom1 iso9660 ro,nosuid,nodev,user=Dan 0 0

> Any other suggestions?  :-)

> Daniel



> > > I have a strange problem with Red Hat 7.1 running on an x86 box.  I have
> > > a SCSI system with SCSI CD-ROM and CD-RW Drives.  If I do not place CDs
> > > in these drives, then the hard drive starts to thrash until I do (I
> > > waited 20 minutes just to see if it would stop.  It didn't.).  I checked
> > > "/var/log/messages", which repeated the following messages while the
> > > CD-ROM/CD-RW Drives were empty and the hard drive was thrashing:

> > > Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>:sync msg in: 1-3-1-c-f
> > > Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync: per=12 scnt=0x90
> > > scnt 14=0x0 ofs=15 fak=0 chg=0
> > > Aug 20 22:15:05 micron kernel: sym53c875-0-<4,0>: sync msgout: 1-3-c-10
> > > Aug 20 22:15:05 micron kernel: Device not ready.  Make sure there is a
> > > disc in the drive.

> > Well, *there's* the key to your problem right there.  The boot scripts are
> > trying to accomplish a "mount -a", and your system isn't disabling this for
> > these two drives.

> > > These messages repeat over and over until I put CDs in both drives.
> > > Putting a CD in only 1 drive does not stop the thrashing.  Also, putting
> > > a music CD in my CD-ROM drive (ID 3) does not stop the thrashing, even
> > > with a CD in my CD-RW Drive (ID 4).  I do not have this problem with my
> > > laptop or my other desktop system (also SCSI but with only 1
> > > CD-ROM Drive); these systems are also running RH 7.1.  Hardware is as
> > > follows:

> > > dual-PPro 200MHz
> > > Tekram DC390U UltraSCSI Controller
> > > Plextor UltraPlex UltraSCSI 32x CD-ROM
> > > Yamaha 8424 UltraSCSI CD-RW Drive

> > > I did not have this problem with other distributions like Slackware.
> > > However, I found Slackware a little over my head, so I would prefer to
> > > get RH 7.1 working.  Mandrake is troublesome working with WordPerfect 8,
> > > so I am trying to avoid this distribution as well.  Any suggestions on
> > > how to solve this problem?  Besides continuing to place CDs in both
> > > Drives :-)

> > Edit /etc/fstab and add the option "noauto" to the options field for your
> > two CD drives.  They will probably be the lines prefixed with "/dev/scd0"
> > and "/dev/scd1", but I'm guessing at that.  The "options" field is the
> > fourth field on the line.  The "noauto" option will stop the machine from
> > trying to mount the drives at boot.

 
 
 

Hard Drive thrashing on Red Hat 7.1 with SCSI CD-ROMs

Post by Robert Grizzar » Tue, 06 Nov 2001 11:57:45



Quote:> I may have solved this problem, I hope :-)  I went into ".kde/Autostart" and
> commented out the following line:
> #Exec=/bin/bash -c "(ps -u $USER -ocomm=|grep autorun ) || if test -f
> /var/lock/console/\"$USER\" -a -x /usr/bin/autorun; then /usr/bin/autorun -l
> --interval=1000 --cdplayer=/usr/bin/kscd & fi"
> I logged out and restarted KDE and all was well; no thrashing.  Thanks for
> suggesting that the problem was automount; this got me looking in the right
> direction.

Glad I could be of some miniscule help.
 
 
 

1. HELP: Red Hat install doesn't recognize my SCSI CD-ROM or Hard drives

Hello,

Can anyone help.  I've tried installing Red Hat with no sucess.  Here
are the problems:

1) During installation CD-ROM can't be found for Red Hat source.  The
CD-ROM is an early NEC 3x SCSI.  I've tried copying CD-ROM to a hard
drive.

2) My SCSI drives are not recognized by Red Hat.  When I told Red Hat
that the source is on /dev/sdb or /dev/sdb1 and msdos type, it said
/dev/sdb was not a block device.  When I tried to do a Linux fdisk on
/dev/sdb or /dev/sdb1 I got an error message that said "unable to open
device".   I even tried fdisk on a hard drive that had no DOS
partitions - same result.

Installations attempted:
        -1 floppy and CD-ROM
        -3 floppies and hard drive

My MB is a P90 OPTI/AMI-ISA/VLB/PCI using a NCR53c810 PCI SCSI
controller.  I read a FAQ somewhere that said this MB had problems
running Linux, but didn't give any details.  I guess that explains it.
However, has anyone got this type of MB to run Linux?

thanks,
-gary

2. DOSEMU Home page, where is it?

3. Red Hat 7.1 - Installing Red Hat packages after Red Hat is already installed.

4. KT7 Raid ISA Modem Problem

5. Red Hat 7.1 - Which CD-ROM?

6. FIPS & DOS Partitioning HD

7. Red Hat 7.1 : How to tell how much hard drive/partition space is in use?

8. Complete P133 Computer System at Low Price

9. Hard Drive and Memory / Red Hat 7.1

10. Red Hat 7.1 install, Mitsumi 2X CD-ROM woes

11. Red Hat 7.1 install won't see my CD drive

12. Installing linux using SCSI CD-ROM on PCMCIA card, onto SCSI hard drive

13. How to install Red Hat from PCMCIA SCSI CD-ROM?