Re: Weird combo: VIA vt82c586b+IBM djna-371800+Toshiba XM-5702b

From: Vojtech Pavlik (
Date: Tue Oct 10 2000 - 06:10:19 EST

On Thu, Oct 05, 2000 at 06:01:32AM -0500, Gnea wrote:
> So here's the scoop:
> I'm putting together this system for my sister to dual-boot Linux
> (debian) and Windows 98. Originally, I had an IBM 1.7gig ata33 hard
> drive in there, and everything worked fine. Then she decided she
> wanted to have Windows on there and thus this required more hard drive
> space (she's a student with growing needs) the hardware is as follows:
> Soyo SY 5EMA+ Version 1.0 (updated the bios already to the latest found
> on their website) motherboard
> 64 megs pc100 ram (1 stick)
> 18gig IBM DJNA-371800 ATA66 hard drive
> Toshiba XM-5702b 12x ATAPI cdrom drive
> AMD K6-2 450 cpu
> Matrox Millenium PCI w/ 4megs video card
> Kernel currently using:
> 2.4.0-test9 (final)
> I have tried 2.2.17pre18 (or whatever's shipping with debian potato
> these days)
> and have also tried various patches (including the VIA 2.3 patch found
> here on lkml) along with various other hdparm, etc hacks from lkml and
> other places/suggestions.
> So here's the problem:
> the cpu's fine, the ram's fine, the hard drive performs like a porn
> star (it's on the ata33 chain, i would prefer not to get a Promise
> ata66 controller at this point in time and fix this bug instead.. yes,
> i am stubborn), but the cdrom drive is wh0red: it gets detected just
> fine upon bootup...
> (using via82cxxx.c version 2.1d; 2.3 yields similar results):
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> VP_IDE: IDE controller on PCI bus 00 dev 39
> VP_IDE: chipset revision 6
> VP_IDE: VIA vt82c586b IDE UDMA33 controller on pci0:7.1
> ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio
> hda: IBM-DJNA-371800, ATA DISK drive
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 35195328 sectors (18020 MB) w/1966KiB Cache, CHS=2190/255/63,
> UDMA(33)
> hdc: ATAPI 12X CD-ROM drive, 256kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.11
> But when I attempt to mount a cdrom or play a cd, or even close the
> cdrom with eject -t, i get some errors:
> # mount -t iso9660 /dev/hdc /cdrom
> mount: block device /dev/hdc is write-protected, mounting read-only
> mount: No medium found
> # df | grep hdc
> # cat /proc/mounts | grep hdc
> # cat /proc/filesystems | grep iso9660
> iso9660
> # hdparm -I /dev/hdc
> /dev/hdc:
> hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> hdc: drive_cmd: error=0x04
> /* Now right away, you're all sitting here going:
> "CONFIG_IDEDISK_MULTI_MODE=y YOU MORON!!!" but i've already done that.
> */
> Model=OTHSBI ADCR-MOX -M7520 B , FwRev=3072 ,
> SerialNo=1900164787
> Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic
> RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
> BuffType=unknown, BuffSize=256kB, MaxMultSect=0
> (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
> IORDY=yes, tPIO={min:180,w/IORDY:180}, tDMA={min:150,rec:150}
> PIO modes: pio0 pio1 pio2 pio3
> DMA modes: *sdma0 sdma1 sdma2 mdma0 mdma1

Ugh. Single word dma0 selected? That's really weird. What does
test10-pre1 on this setup? Still the same problems?

Vojtech Pavlik
SuSE Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:15 EST