lkml.org 
[lkml]   [1998]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectASUS CD ROM 340 & 2.1.129+ dont work but work fine with 2.0.35+
Date
Today I have bought ASUS CD ROM 340 (34x) CD-S340/34/G
I tested it in windows95,dos and it is good and it's fast :))) BUT
when I tried to boot in linux-2.1.132 it detects my hda-IBM HARD
and my hdc-ASUS 340 an then repeat these errors (seen by my eyes:)

hdc: lost interrupt
hdc: cdrom_pc_inr: the drive apppears confused (ireason= 0x 1)
hdc: lost interrupt
hdc: cdrom_pc_inr: the drive apppears confused (ireason= 0x 1)

and again and again .... ... and I am forced to press reset button :(

I had to disconect my cdrom and I recompile kernel again
(mrproper ...) but it was the same don't even boot because cd rom
then i tested 2.1.131 2.1.130 2.1.129 and they also don't boot!

at last I boot in 2.0.36 & 2.0.35 it worked fine except few times
inly when booting I got following error: (cut&paste)

INIT: Entering runlevel: 3
Going multiuser...
Kernel detected ATAPI CDROM drive /dev/hdc, checking for a disc:
mount: block device /dev/hdc is write-protected, mounting read-only
hdc: irq timeout: status=0x58
hdc: ATAPI reset complete
hdc: status error: status=0x51
hdc: status error: error=0x04
hdc: media changed
ISO9660 Extensions: Microsoft Joliet Level 1
Mounting remote file systems...


this error is gone when i umont and mount another cd rom!

WORKAROUND : how to boot in 2.1.129+
I had installed dos drivers for asus (but works with all atapi drivers ??
it worked with my old atapi goldstarcd driver and ibmcd.sys driver in dos )

and from dos i did:
dir d: ; this only spins drive ( drive d is cdrom )
c:\linux\loadlin vmlinuz root=/dev/hda4 ro vga=3

and it booted in linux-2.1.132 fine and it works great under linux

I 'am sure that the problem is in atapi driver for linux kernel!

I added Driver.txt & Readme.txt from driver disk

Keep on good work on 2.1.132+ it is great :)

Zoran Davidovac

for more information write to zdavid@rcub.bg.ac.yu


Driver.txt
***************************************************************************
ASUSTek CD-ROM Device Driver V1.40
******************************************************************************


SYNTAX
======
DEVICE = ASUSCD.SYS /D:device_name [/options]


OPTIONS
=======

/PIO[0~4] Select PIO Mode 0~4 (Auto Mode if number is omitted)

/DMA[0~2] or Select Bus Master DMA Mode 0~2
/BM[0~2] (Auto Mode if number is omitted)
If the motherboard does not support Bus Master DMA,
The driver will automatic switch to PIO mode.

/UDMA[0~2] Select Ultra DMA Mode 0~2
(Auto Mode if number is omitted)
If the motherboard does not support Ultra DMA,
The driver will automatic switch to DMA mode.

/P:xxx,yy Select Port Address and IRQ route; xxx = Port, yy = IRQ
Example Port IRQ
-----------------------------
Primary 1F0 14
Secondary 170 15
Tertiary 1E8 11/12
Quaternary 168 10/11


EXAMPLE
=======
DEVICE = ASUSCD.SYS /D:CD001 /UDMA
DEVICE = ASUSCD.SYS /D:MSCD001 /PIO4


MOTHERBOARDS AND CHIPSETS SUPPORTED
===================================

IDE Vendor Device Rev. PIO DMA UDMA
Vendor Chipset Controller ID ID ID Mode Mode Mode
---------------------------------------------------------------------------
Intel 430TX PIIX4 8086h 7111h 0~4 0~2 0~2
430HX,430VX PIIX3 8086h 7010h 0~4 0~2
430FX PIIX 8086h 1230h 0~4 0~2
SiS 5597,5598 5597/5598 1039h 5513h D0h 0~4 0~2 0~2
5581,5582 5581/5582 1039h 5513h D0h 0~4 0~2 0~2
5571 5571 1039h 5513h C0h 0~4 0~2
5596/5513 5513 1039h 0597h B0h 0~4 0~2
551X 5513 1039h 5513h 00h 0~4 0~2
VIA VP3 VT82C586B 1106h 0571h 0~4 0~2 0~2
VP2/97 VT82C586B 1106h 0571h 0~4 0~2 0~2
VP2 VT82C586A 1106h 0571h 0~4 0~2 0~2
VPX/97 VT82C586B 1106h 0571h 0~4 0~2 0~2
VPX VT82C586A 1106h 0571h 0~4 0~2 0~2
VP-1 VT82C586 1106h 1571h 0~4
Apollo Master VT82C576M 1106h 1571h 0~4
ALI Alladin M1543 M5229 10B9h 5229h 0~4 0~2 0~2

Readme.txt

*********************************************************
* *
* ASUS High-Speed CD-ROM Driver *
* *
* Installation Guide *
* *
*********************************************************



===============
Introduction
===============

Thanks for purchasing the ASUS high-speed CD-ROM drive. Before using
this drive, you are suggested to read this file carefully.

The installation disk contains files necessary for the CD-ROM driver
for DOS/Win3.x installation. The disk contents include:

* ASUSCD.SYS ASUS CD-ROM driver for MS-DOS/Win3.x.
* INSTALL.EXE ASUS CD-ROM drive installation utility.
* README.TXT The description and use of the files.



====================
System Requirement
====================

Hardware Requirements
---------------------
1. IBM PC/AT or compatible computer
2. one free IDE socket
3. one IDE CD-ROM drive

Software Requirement
--------------------
1. MS-DOS version 5.0 or later
2. Microsoft Windows 3.1 or later
3. MS-DOS CD-Extension (MSCDEX.EXE) V2.21 or later



==============
Installation
==============

To install the CD-ROM driver for DOS/Win3.x, please follow the
subsequent steps:

1. Restart your computer in DOS mode.

2. Insert the CD-ROM Driver Installation Disk into your floopy
disk drive (either Drive A or Drive B).

3. At the DOS prompt, type "A:install" (or "B:install") and press
[Enter].

4. Choose your preferred setup option and follow the instructions
on the installation screen.

5. Reboot your system.


There are two setup options, the Express Setup and the Custom Setup.

Express Setup
-------------
The Express Setup will install the CD-ROM driver by its default.
If you are a novice in computer, it is suggested that you use this
option.

The Express Setup will

1. copy Installation Disk files to C:\ASUS_CD directory.

2. back up CONFIG.SYS and AUTOEXEC.BAT to CONFIG.000 and
AUTOEXEC.000 respectively.

3. modify CONFIG.SYS by adding the following lines:
[COMMON]
DEVICE=C:\ASUS_CD\ASUSCD.SYS /D:ASUSCD01
LASTDRIVE=Z

4. modify AUTOEXEC.BAT by adding the following line:
C:\DOS\MSCDEX.EXE /D:ASUSCD01 /V or
C:\WINDOWS\COMMAND\MSCDEX.EXE /D:ASUSCD01 /V
depending on where the MSCDEX.EXE is located.



Custom Setup
------------
Choose the Custom Setup option to customize the folloing
installation settings.

(a) Boot Drive:
The Boot Drive option specifies your booting disk label.
Normally it is set to C.

(b) Target Directory:
The Target Directory is the path where the device driver is
installed to. By default, it is set to C:\ASUS_RD.

(c) Device Name:
The Device Name is the name of your CD-ROM device driver, By
default, it is set to ASUSCD01.

(d) MSCDEX's Directory:
This option specifies the path where the Microsoft CD-Extension
program, MSCDEX.EXE, is located.

(e) Transfer Mode:
There are three transfer modes available:

* PIO Mode:
The Programmed Input/Output Mode is the most common way
computers transferring data to and from the disk drive.
The ASUS CD-ROM Drive supports PIO Mode Transfer up to
PIO mode 4. If your PC is not out of date, it should be
able to support this mode.

* Multi-word DMA Mode:
This mode utilizes the Bus Master DMA transfer protocol.
The advantage of using the Bus Master DMA transfer mode
is that it uses less CPU resources than the PIO mode and
therefore, it is useful in multi-tasking environments.

* Ultra DMA Mode:
This mode is also known as Ultra-ATA or Ultra-DMA/33.
It is the most up to date technique for IDE bus data
transfer protocol recently.

Then, the Custome Setup will

1. copy Installation Disk files to the <Target Path> directory.

2. back up CONFIG.SYS and AUTOEXEC.BAT to CONFIG.000 and
AUTOEXEC.000 respectively.

3. modify CONFIG.SYS by adding the following line:
Device=<Target Path>\ASUSCD.SYS /D:<Device Name> /<Transfer Mode>

4. modify AUTOEXEC.BAT by adding the following line:
[COMMON]
<MSCDEX's Directory>\MSCDEX.EXE /D:ASUSCD01 /V
LASTDRIVE=Z

The meanings of the drive parameters are described as follows:

<Target Path>:
The path that the CD-ROM driver is installed to. The default
path is "C:\ASUS_CD".

<Device Name>:
The name of your CD-ROM device driver, "ASUSCD01" is used by
default.

<Transfer Mode>:
The CD-ROM data transfer mode. If not specified, PIO mode
will be used. Theree transfer mode are available:

PIO: PIO transfer mode.
DMA: Mult-word DMA transfer mode.
UDMA: Ultra DMA transfer mode.

<MSCDEX's Directory>:
The directory where MSCDEX.EXE is located.

For more detailed information of the device driver parameters, please
refer to DRIVER.TXT.





-
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.057 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site