2.3.99pre via82xxx tuning + splitfifo bug?

From: Arnd Bergmann (arnd@itreff.de)
Date: Fri May 05 2000 - 13:13:04 EST


I noticed that configuring the kernel with "VIA82CXXX Tuning support (WIP)"
and "Use PCI DMA by default when available" makes my cdrom drive on hdd
inaccessible when using "splitfifo=1".

for example, what happen is:

 # mount /dev/sr1 /mnt/cdrom -t iso9660
 sr1: CDROM (ioctl) reports ILLEGAL REQUEST.
 isofs_read_super: bread failed, dev=0b:01, iso_blknum=16, block=16
 mount: wrong fs type, bad option, bad superblock on /dev/sr1,
        or too many mounted file systems

I have a via MVP3 (82586B) board with an Ultra ATA capable hard drivee
as hda and an atapi cdrom drive hdd. The problem exists with both
ide-cd and ide-scsi, while disabling any of VIA82CXXX_TUNING,
BLK_DEV_IDEDMA_PCI or splitfifo solves the problem.

I guess config_drive_xfer_rate() in drivers/ide/via82cxxx.c should
be checking the fifo configurations before setting a DMA mode.

Arnd <><

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:18 EST