Re: IDE pnp interface on a SB16 not working

Santiago Garcia Mantinan (manty@manty.net)
Mon, 3 Dec 2001 18:16:51 +0100


> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/