Bug 31818

Summary: QA0309 - Flash and UDMA IDE drives on same channel locks up
Product: [Retired] Red Hat Linux Reporter: R P Herrold <herrold>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-08 17:21:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
lspci from the motherboard which locks ...
none
dmesg frpm the motherboard -- shows drive info none

Description R P Herrold 2001-03-15 02:41:56 UTC
I had no trouble installing QA0309 when there was just 
one hard drive on the first (primary IDE controller) cable.  

However, when I add the flash drive that cable, 
RH chokes on the hard drive.  

It doesn't matter which is master or slave.  
The error messages are a bit different, 
but RH gets stuck just the same.  

The _symptoms_ seems to complain about the hard drive, 
when the flash drive is added.  
(Yes, I am paying attention to the master/slave jumpers.)

hda: 12504240 sectors (6402 MB) w/490KiB Cache, CHS=778/255/63, UDMA(33)
hdb: 125440 sectors (64 MB) w/1KiB Cache, CHS=490/8/32
Partition checks
 hda:hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14

I have also tried adding the flash disk as the secondary slave (hdd).  
QA0309 doesn't choke on it that way.  

The BIOS does support booting IDE3.  

I had no trouble mixing these drives with RH6.2.  But
that was with a completely different motherboard.

Comment 1 R P Herrold 2001-03-15 04:10:41 UTC
Created attachment 12703 [details]
lspci from the motherboard which locks ...

Comment 2 R P Herrold 2001-03-15 04:11:24 UTC
Created attachment 12704 [details]
dmesg frpm the motherboard -- shows drive info

Comment 3 R P Herrold 2001-03-15 04:16:07 UTC
Extract of demsg with lock showing the drives:

 
hda: SAMSUNG SV0644A (6.40GB), ATA DISK drive
hdb: SanDisk SDP3B-64, ATA DISK drive
hdc: FX320M, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12504240 sectors (6402 MB) w/490KiB Cache, CHS=778/255/63, UDMA(33)
hdb: 125440 sectors (64 MB) w/1KiB Cache, CHS=490/8/32
Partition check:
 hda:hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14


Comment 4 Arjan van de Ven 2001-03-15 09:50:01 UTC
Can you try booting with "ide=nodma" on the "append" line in lilo?
(or added to the kernel name on the lilo prompt)

Comment 5 R P Herrold 2001-03-15 20:47:40 UTC
PROGRESS !

At the first CDROM installation prompt, I entered:
 
   linux ide=nodma
 
and it got past where it had been stuck before.

It went on to a graphical install that I am working my way
through.  This is progress.     

------------------------

I searched high and low through Buzzilla for this clue ... may we un-hide it?

Comment 6 R P Herrold 2001-03-15 22:58:05 UTC
It works, mostly -- the end of job preparation of the bootable system does not
get automatically passed the boot parameter, and I neglected to add it into the
options -- no big deal -- but perhaps if an options addendum is used for
installing, Anaconda should complain or pre-stage the supplied text
automatically -- I'll think about this one.
 
To get the installation started, I entered linux ide=nodma
at the first prompt offered by the installation CDROM.
After the installation was complete, I could not boot
automatically from either floppy or hard drive, but
could boot if I entered linux ide=nodma at Lilo prompt.

I've since fixed lilo.conf to boot automatically, by adding an append line with
the parameter of the form:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
append="ide=nodma"
linear
default=linux

image=/boot/vmlinuz-2.4.2-0.1.23
      label=linux
      read-only
      root=/dev/hda10                           

                                                        
... but getting this documented, or into the doco stream for folks with flash 
would be a Good Thing ...


Comment 7 Michael K. Johnson 2001-03-16 00:26:31 UTC
ide=nodma was sent to documentation and to support, don't worry.
It's in many bugzilla reports; perhaps you didn't look at closed
reports?

Could you please provide the exact contents of /proc/ide/hdX/model
for your flash drive?  We can possibly make ide=nodma unnecessary
for your machine if you do.

Comment 8 R P Herrold 2001-03-16 02:18:03 UTC
hmmm I searched kernel with argument Flash in the description and subject ...

Exact contents are:

SanDisk SDP3B-64

(I untarred, and it was identical ...)

Comment 9 Arjan van de Ven 2001-03-16 11:57:19 UTC
This ID is added to our blacklist; if kernels 0.1.30 or later (when available)
do not fix your problem, please reopen this bug.

Comment 10 Michael K. Johnson 2001-03-16 13:52:43 UTC
No one has reported this problem with flash before, which is why
your search for flash didn't find it.  It has been reported (and
generally worked around in the same way) for several CDROM drives
now.  Just FYI...

Comment 11 Need Real Name 2001-03-18 21:46:31 UTC
An ACER 40x IDE CD-ROM also needs to be blacklisted:

# cat /proc/ide/hdc/model
ATAPI CD-ROM DRIVE 40X MAXIMUM


Comment 12 R P Herrold 2001-04-08 17:11:45 UTC
Blacklist not updated for SanDisk SDP3B-32

Comment 13 Arjan van de Ven 2001-04-08 17:21:05 UTC
-32 added to blacklist.
Are there other models you know of ?


Comment 14 Arjan van de Ven 2001-04-18 14:47:56 UTC
device is blacklisted in the seawolf kernel