Bug 58027 - [ide-scsi] Linux hangs when trying to mount the cdrom
Summary: [ide-scsi] Linux hangs when trying to mount the cdrom
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.2
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-06 12:06 UTC by Parthasarathy
Modified: 2007-04-18 16:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-08 00:09:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Parthasarathy 2002-01-06 12:06:45 UTC
Description of Problem:
When i try to mount the cdrom, the system hangs and requires a hard 
reboot

Version-Release number of selected component (if applicable):
red hat linux 
v 7.2

How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual 
Results:


Expected Results:


Additional Information:

Comment 1 Parthasarathy 2002-01-08 01:55:11 UTC
I have installed redhat liux 7.2 under intel where i am facing the problem of
system freezing when trying to mount the cdrom (iso ). 

I have also installed redhat linxu 7.1 under amd which isworking proper

Comment 2 Arjan van de Ven 2002-01-08 14:07:31 UTC
do you have any idea which model cdrom you're using ?
(if not, typing

cat /proc/ide/*/model

as root will tell me which it is)

Comment 3 Need Real Name 2002-01-14 22:25:46 UTC
I have come across the same problem on:
1, linux 7.2
2, An AMD k63
3, CD re-write drive, a Goldstar/LG, GCE-8160B., ide channel 1, set as master
with a slave SYQUEST drive.

When I try to mount a disk for read, the read light flashes for about 30 seconds
and then a re-boot is required.  The same thing happens if I do a dd
if=/dev/crdrom etc.

The cd-rom was set up to be used for re burning with cdrecord, i.e. ide-scsi was
loaded.

I have now removed the ide-scsi and access the CD-rom directly on hdc and I can
now use the cd-rom for read only, which is only OK for the short term.

I saw that round about release 2.4.10 of the kernel, a bug was fixed for scsi
buffer race condition, any comment on that patch as a possible fix?

Comment 4 Need Real Name 2002-01-17 22:46:57 UTC
This will only help if you are using the SCSI emulation.

You can tell by see which real device /dev/cdrom is linked to, if it is linked
to something like /dev/sc0, then you have scsi emulation.

To get the full picture, see /usr/share/doc/howto/CDROM-howto, if you have that
installed.

The way I disabled ide-scsi is as follow:
I am using grub as the boot loader.
I have a boot file system called /boot
go into /boot/grub/grub.conf and remove the words "hdc=ide-scsi", your cd-rom
may not be hdc, you will need to sort that.  Then re-boot.  Don't forget to save
a copy of your old config file in case everything goes pear shape.

Hope that works for you, best of luck.
Regards

Comment 5 Need Real Name 2002-01-19 23:33:41 UTC
My final comment on this one:

In my case, the problem was caused by the the fact that when using the ide-sccsi
driver, the mode of access default to DMA.  Once I have disabled dma access,
every thing now works.

I have to disable DMA by changing /etc/rc.d/ec.local,  I added the line:

hdparm -d0 /dev/hdc

Regards


Note You need to log in before you can comment on or make changes to this bug.