Hi!
I've been playing around with IDE interfaces for quite some time without
problems, but this last days I have been trying to setup one on a SB16
without any results.
The card is a SB Vibra16 PNP, model number CT2940, I could get it to read
the CD or HD id number and all that, however, when I want to access the
device for other stuff I just get errors saying that the irq is not
responding and things like that. I'm using kernel 2.4.16 with IDE PNP on it,
even though I have tried other hand made configs also. None of them worked
I have tried this on different machines, all of them showed the same
problem, devices are recogniced but when they are accessed for any other
thing I get interrupt errors. The interrupt that the IDE PNP is using is
free and I have set up other devices to use that IRQ and those work ok.
Having seen that I thought of a problem on latest kernels, so I got my old
IDE pnp device wich comes on a OPL3SA2 card that I have on another machine,
and I have plugged it on one of the machines I had been using with the SB,
the IDE port worked ok, so there is no problem with the IDE pnp.
After seeing this I thought that maybe the IDE port of the card was broken,
so as a last resort, I set up a windows 98 on one of the machines I had been
using for the tests, and the interface worked ok, windows was using the same
io ports and irqs that I had chosen under linux and everything looked pretty
much the same as in Linux, but here it worked.
To sum this up, I got a machine with windows an Linux where the OPL3SA2
IDE interface works on both OS, but the SB IDE interface does only work
under windows.
Anybody has any idea of what can be going on here and how to solve this?
Regards...
--
Manty/BestiaTester -> http://manty.net
> Having seen that I thought of a problem on latest kernels, so I got my old
> IDE pnp device wich comes on a OPL3SA2 card that I have on another machine,
> and I have plugged it on one of the machines I had been using with the SB,
> the IDE port worked ok, so there is no problem with the IDE pnp.
Umm, well, now I'm not so sure about this, I got the card to work under
kernel 2.2.20, it seems to be a problem with 2.4.X. I was gonna test under
2.2 setting the parameters by hand on lilo and adding noprobes using then
isapnptools and then loading the cd driver module, this had resulted ok to
me with other card in non PNP BIOS. It resulted that this was not necesary
as the BIOS was setting up the IDE PNP interface.
So... setting all the IDE stuff on the kernel, not as modules, on 2.2 (no
PNP support at all) worked ok, while setting up a similar 2.4 kernel failed.
I'm including now output from 2.4 kernels and 2.2.20 one in case this puts
any light on this issue:
2.4 Kernel without PNP support with the SB IDE interface initialiced at BIOS:
kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
kernel: VP_IDE: chipset revision 16
kernel: VP_IDE: not 100%% native mode: will probe irqs later
kernel: VP_IDE: VIA vt82c596b IDE UDMA66 controller on pci0:7.1
kernel: ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
kernel: ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:pio
kernel: hda: SAMSUNG SV1022D, ATA DISK drive
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
kernel: hdh: probing with STATUS(0x10) instead of ALTSTATUS(0x90)
kernel: hdh: ATAPI 50X CDROM, ATAPI CDROM drive
kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
kernel: ide3: unexpected interrupt, status=0xff, count=1
kernel: ide3 at 0x168-0x16f,0x36e on irq 10
kernel: hda: 19931184 sectors (10205 MB) w/472KiB Cache, CHS=1240/255/63, UDMA(66)
kernel: hdh: irq timeout: status=0x51 { DriveReady SeekComplete Error }
kernel: hdh: irq timeout: error=0x60
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
last message repeated 2 times
kernel: hdh: ATAPI reset complete
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: ide3: unexpected interrupt, status=0x51, count=2
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: ide3: unexpected interrupt, status=0x51, count=3
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: hdh: ATAPI reset complete
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: end_request: I/O error, dev 22:40 (hdh), sector 0
kernel: hdh: ATAPIide3: unexpected interrupt, status=0x51, count=4
kernel: CD-ROM drive, 0kB Cache
kernel: Uniform CD-ROM driver Revision: 3.12
2.4 Kernel with PNP support and IDE PNP support:
kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
kernel: VP_IDE: chipset revision 16
kernel: VP_IDE: not 100%% native mode: will probe irqs later
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
kernel: VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:07.1
kernel: ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
kernel: ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:pio
kernel: ide3: Creative SB16 PnP IDE interface
kernel: hda: SAMSUNG SV1022D, ATA DISK drive
kernel: hdh: probing with STATUS(0x00) instead of ALTSTATUS(0x80)
kernel: hdh: ATAPI 50X CDROM, ATAPI CD/DVD-ROM drive
kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
kernel: ide3: unexpected interrupt, status=0xff, count=1
kernel: ide3 at 0x168-0x16f,0x36e on irq 10
kernel: hda: 19931184 sectors (10205 MB) w/472KiB Cache, CHS=1240/255/63, UDMA(66)
kernel: hdh: irq timeout: status=0x51 { DriveReady SeekComplete Error }
kernel: hdh: irq timeout: error=0x60
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
last message repeated 2 times
kernel: hdh: ATAPI reset complete
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: ide3: unexpected interrupt, status=0x51, count=2
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: ide3: unexpected interrupt, status=0x51, count=3
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: hdh: ATAPI reset complete
kernel: hdh: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
kernel: end_request: I/O error, dev 22:40 (hdh), sector 0
kernel: hdh: ATAPI CD-ROMide3: unexpected interrupt, status=0x51, count=4
kernel: drive, 0kB Cache
kernel: Uniform CD-ROM driver Revision: 3.12
Kernel 2.2.20 without any PNP code:
Dec 3 15:18:49 pul kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
Dec 3 15:18:49 pul kernel: VP_IDE: not 100%% native mode: will probe irqs later
Dec 3 15:18:49 pul kernel: ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
Dec 3 15:18:49 pul kernel: ide0: VIA Bus-Master (U)DMA Timing Config Success
Dec 3 15:18:49 pul kernel: ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:pio
Dec 3 15:18:49 pul kernel: ide1: VIA Bus-Master (U)DMA Timing Config Success
Dec 3 15:18:49 pul kernel: hda: SAMSUNG SV1022D, ATA DISK drive
Dec 3 15:18:49 pul kernel: hdh: probing with STATUS(0x10) instead of ALTSTATUS(0x90)
Dec 3 15:18:49 pul kernel: hdh: ATAPI 50X CDROM, ATAPI CDROM drive
Dec 3 15:18:49 pul kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 3 15:18:49 pul kernel: ide3 at 0x168-0x16f,0x36e on irq 10
Dec 3 15:18:49 pul kernel: hda: SAMSUNG SV1022D, 9732MB w/472kB Cache, CHS=1240/255/63
Dec 3 15:18:49 pul kernel: hdh: ATAPI 50X CD-ROM drive, 128kB Cache
Dec 3 15:18:49 pul kernel: Uniform CD-ROM driver Revision: 3.11
Well, guess this is all I can offer right now, if you need any tests done,
don't hesitate to contact me.
Regards...
--
Manty/BestiaTester -> http://manty.net