RE: 2.3.99-pre7: intermittent PCMCIA crashes on loading yenta.o

From: J.W. Hoogervorst (jeroenho@ic.uva.nl)
Date: Thu May 18 2000 - 05:03:33 EST


Here's a real patch. Can anyone tell if the retrace irq is needed for
anything in the
linux kernel or any lib (vgalib? X server?)

Jeroen
----------8<---------8<---------8<---------8<---------8<---------8<---------
8<---------
--- linux.orig/drivers/video/vga16fb.c Thu May 11 15:02:44 2000
+++ linux/drivers/video/vga16fb.c Thu May 18 11:59:43 2000
@@ -387,7 +387,7 @@
         if (pos & 0x200)
                 r7 |= 0x80;
         pos += vslen;
- par->crtc[VGA_CRTC_V_SYNC_END] = (pos & 0x0F) | 0x10; /* disabled IRQ */
+ par->crtc[VGA_CRTC_V_SYNC_END] = (pos & 0x0F) & ~0x10; /* disable IRQ */
         pos += upper - 1; /* blank_end + 1 <= ytotal + 2 */
         par->crtc[VGA_CRTC_V_BLANK_END] = pos & 0xFF; /* 0x7F for original VGA,
                      but some SVGA chips requires all 8 bits to set */
----------8<---------8<---------8<---------8<---------8<---------8<---------
8<---------

> -----Original Message-----
> From: J.W. Hoogervorst [mailto:jeroenho@ic.uva.nl]
> Sent: donderdag 18 mei 2000 10:27
> To: 'Matt Yourst'
> Cc: 'linux-kernel@vger.rutgers.edu'
> Subject: RE: 2.3.99-pre7: intermittent PCMCIA crashes on
> loading yenta.o
>
>
> Can you try finding "IRQ" in vga16fb.c (only one occurence),
> and changing "| 0x10" on the same line in "& ~0x10", and see
> if that helps for you too? Works for me ;-)
>
> Jeroen.
>
> > > > > It seems that 2.3.99-pre7 has intermittent problems when
> > > > > loading PCMCIA modules
> > > > > at boot time again: the system goes into a hard lockup after
> > > > > loading the yenta
> > > > > module in random cases.
> >
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:15 EST