Subject: Re: wdc lost interrupt?
To: Manuel Bouyer <email@example.com>
From: Patrick Welche <firstname.lastname@example.org>
Date: 12/02/1998 17:53:21
Manuel Bouyer wrote:
> On Dec 2, Patrick Welche wrote
> > Just added a second ide hard drive to an i386. Now when I try to mount
> > a cdrom, I get:
> > wdc1:0:0: lost interrupt
> > type: atapi
> > c_bcount: 32
> > c_skip: 0
> > Otherwise, the system works fine.
> > harddisks:
> > wd0 at wdc0 channel 0 drive 0
> > wd1 at wdc0 channel 0 drive 1
> > cdrom:
> > atapibus0 at wdc1 channel 0
> > cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SCR-3231, , S101>...
> > I couldn't have got this from messing with the cables could I?
> No, I don't think. But what kind of controller do you have ?
> If it's a CMD PCI0640, then you need to attach you HD and CDs to
> the 'pciide' driver, with a recent -current or the latest 1.3.2 IDE patches.
I don't think it's a CMD PCI0640, but I tried pciide anyhow:
pciide0 at pci0 dev 0 function 1: Silicon Integrated System 5597/5598 IDE controller
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <SAMSUNG SV0322A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 3052MB, 11024 cyl, 9 head, 63 sec, 512 bytes/sect x 6250608 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, UDMA mode 2
wd1 at pciide0 channel 0 drive 1: <Maxtor 71084 AP>
wd1: drive supports 32-sector pio transfers, lba addressing
wd1: 1036MB, 2105 cyl, 16 head, 63 sec, 512 bytes/sect x 2122780 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
wd0(pciide0:0:0): using PIO mode 4
wd1(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
But atapibus still attached to wdc1:
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SCR-3231, , S101> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2
Is this correct?
# ATAPI bus support
atapibus* at wdc?
atapibus* at pciide? channel ?
or should I have commented out wdc1..
Same "lost interrupt" problem...