linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* VIA VT82C416MV support
@ 2001-08-28 19:04 Piotrek Kaczmarek
  2001-08-29 20:26 ` Vojtech Pavlik
  0 siblings, 1 reply; 3+ messages in thread
From: Piotrek Kaczmarek @ 2001-08-28 19:04 UTC (permalink / raw)
  To: linux-kernel

Hi,
I use 2.4.10-pre1-xfs series kernel (cvs checkout 2001-08-28)
on a P133 based on a motherboard (don't remeber the manufacturer) 
with some VIA IDE controller, which seems to be
PCI_IDE: unknown IDE controller on PCI bus 00 device 08, VID=1106, DID=1571
for IDE driver....
VIA_82CXXX suport is compiled in kernel

Unfortunately i was unable to use UDMA33 mode with my
FUJITSU MPF3204AT, ATA DISK drive (20496MB w/512KiB Cache)
Aug 22 22:32:49 vigo kernel: ide0: unexpected interrupt, status=0x58, count=2
Aug 22 22:33:03 vigo kernel: ide0: unexpected interrupt, status=0x58, count=3
Aug 22 22:33:12 vigo kernel: ide0: unexpected interrupt, status=0x58, count=4
Aug 22 22:33:22 vigo kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 13
Aug 22 22:33:22 vigo kernel: hda: lost interrupt
Aug 22 22:33:22 vigo kernel: hda: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
Aug 22 22:33:22 vigo kernel: hda: status timeout: status=0xd0 { Busy }
Aug 22 22:33:22 vigo kernel: hda: DMA disabled
Aug 22 22:33:22 vigo kernel: ide0: unexpected interrupt, status=0xd0, count=5
Aug 22 22:33:22 vigo kernel: hda: drive not ready for command
Aug 22 22:33:22 vigo kernel: ide0: reset: success

Here's my lspci -vvv output
00:01.0 IDE interface: VIA Technologies, Inc. VT82C416MV (rev 04) (prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 4: I/O ports at 6000 [size=16]
Is that controller supported in 2.4 kernels ? or maybe i am missing something?

I'd be appreciated for any response

Cheers,
kaczorek

P.S.
sorry for my terrible english
please CC, i'm not subscribing l-k

-- 
kaczorek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: VIA VT82C416MV support
  2001-08-28 19:04 VIA VT82C416MV support Piotrek Kaczmarek
@ 2001-08-29 20:26 ` Vojtech Pavlik
       [not found]   ` <20010829231544.A4305@msg.beta.pl>
  0 siblings, 1 reply; 3+ messages in thread
From: Vojtech Pavlik @ 2001-08-29 20:26 UTC (permalink / raw)
  To: Piotrek Kaczmarek; +Cc: linux-kernel

On Tue, Aug 28, 2001 at 09:04:26PM +0200, Piotrek Kaczmarek wrote:
> Hi,
> I use 2.4.10-pre1-xfs series kernel (cvs checkout 2001-08-28)
> on a P133 based on a motherboard (don't remeber the manufacturer) 
> with some VIA IDE controller, which seems to be
> PCI_IDE: unknown IDE controller on PCI bus 00 device 08, VID=1106, DID=1571
> for IDE driver....
> VIA_82CXXX suport is compiled in kernel
> 
> Unfortunately i was unable to use UDMA33 mode with my
> FUJITSU MPF3204AT, ATA DISK drive (20496MB w/512KiB Cache)
> Aug 22 22:32:49 vigo kernel: ide0: unexpected interrupt, status=0x58, count=2
> Aug 22 22:33:03 vigo kernel: ide0: unexpected interrupt, status=0x58, count=3
> Aug 22 22:33:12 vigo kernel: ide0: unexpected interrupt, status=0x58, count=4
> Aug 22 22:33:22 vigo kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 13
> Aug 22 22:33:22 vigo kernel: hda: lost interrupt
> Aug 22 22:33:22 vigo kernel: hda: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
> Aug 22 22:33:22 vigo kernel: hda: status timeout: status=0xd0 { Busy }
> Aug 22 22:33:22 vigo kernel: hda: DMA disabled
> Aug 22 22:33:22 vigo kernel: ide0: unexpected interrupt, status=0xd0, count=5
> Aug 22 22:33:22 vigo kernel: hda: drive not ready for command
> Aug 22 22:33:22 vigo kernel: ide0: reset: success
> 
> Here's my lspci -vvv output
> 00:01.0 IDE interface: VIA Technologies, Inc. VT82C416MV (rev 04) (prog-if 8a [Master SecP PriP])
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 32
>         Region 4: I/O ports at 6000 [size=16]
> Is that controller supported in 2.4 kernels ? or maybe i am missing something?
> 
> I'd be appreciated for any response

Wow, this must be a very ancient hardware! If you send me lspci -vvxxx,
I'll take a look and perhaps we could make it work.

-- 
Vojtech Pavlik
SuSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: VIA VT82C416MV support
       [not found]   ` <20010829231544.A4305@msg.beta.pl>
@ 2001-08-31 20:44     ` Vojtech Pavlik
  0 siblings, 0 replies; 3+ messages in thread
From: Vojtech Pavlik @ 2001-08-31 20:44 UTC (permalink / raw)
  To: Piotrek Kaczmarek; +Cc: linux-kernel

On Wed, Aug 29, 2001 at 11:15:44PM +0200, Piotrek Kaczmarek wrote:
> On Wed, Aug 29, 2001 at 10:26:06PM +0200, Vojtech Pavlik wrote:
> > On Tue, Aug 28, 2001 at 09:04:26PM +0200, Piotrek Kaczmarek wrote:
> > > Hi,
> > > I use 2.4.10-pre1-xfs series kernel (cvs checkout 2001-08-28)
> > > on a P133 based on a motherboard (don't remeber the manufacturer) 
> > > with some VIA IDE controller, which seems to be
> > > PCI_IDE: unknown IDE controller on PCI bus 00 device 08, VID=1106, DID=1571
> > > for IDE driver....
> > > VIA_82CXXX suport is compiled in kernel
> > > 
> > > Unfortunately i was unable to use UDMA33 mode with my
> > Wow, this must be a very ancient hardware! If you send me lspci -vvxxx,
> > I'll take a look and perhaps we could make it work.
> 
> Ok, here it is:
> 00:01.0 IDE interface: VIA Technologies, Inc. VT82C416MV (rev 04) (prog-if 8a [Master SecP PriP])

This is probably a bad entry in the database. The IDE/ISA chip
on your board is probably vt82c576m.

>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 32
>         Region 4: I/O ports at 6000 [size=16]
> 00: 06 11 71 15 07 00 80 02 04 8a 01 01 00 20 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00
> 40: 0b 02 09 3a 68 00 30 00 a8 20 a8 20 ff 00 ff ff

This (a8 20 a8 20 ff 00 ff ff) suggests that the chip could work with
the normal vt82cxxx.c IDE driver. It refuses to do that now, though.

Could you send me the whole lspci -vvxxx, including namely the ISA
bridge? With that knowledge I should be able to make a patch for you
that'll enable your chip in vt82cxxx.c

> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 60: 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00
> 70: 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
> 80: 00 50 2d 01 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Vojtech

-- 
Vojtech Pavlik
SuSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-31 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-28 19:04 VIA VT82C416MV support Piotrek Kaczmarek
2001-08-29 20:26 ` Vojtech Pavlik
     [not found]   ` <20010829231544.A4305@msg.beta.pl>
2001-08-31 20:44     ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).