Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.kernel    |    Debian kernel discussions    |    2,884 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,073 of 2,884    |
|    William Burrow to wbkernel@gmail.com    |
|    Bug#1123750: linux: regression: virtual     |
|    27 Dec 25 03:30:01    |
   
   [continued from previous message]   
      
   > Here is the patch that produced this log. DO NOT work in the vtty   
   > with this patch, it will fill your logs and maybe make your machine   
   > unbootable. Word to the wise.   
   > .   
   > -------------------------- patch to generate log --------------------------   
   > --- a/drivers/video/fbdev/core/bitblit.c 2025-12-26   
   > 14:46:52.270645363 -0400   
   > +++ b/drivers/video/fbdev/core/bitblit.c 2025-12-26   
   > 20:21:38.096907035 -0400   
   > @@ -82,13 +82,35 @@   
   > unsigned int charcnt = vc->vc_font.charcount;   
   > u32 idx = vc->vc_font.width >> 3;   
   > u8 *src;   
   > + u16 ch = 0;   
   > + u16 prech = 0;   
   > + u8 * srcnew, * srcorig;   
   >   
   > while (cnt--) {   
   > - u16 ch = scr_readw(s++) & charmask;   
   > -   
   > - if (ch >= charcnt)   
   > - ch = 0;   
   > - src = vc->vc_font.data + (unsigned int)ch * cellsize;   
   > + prech = scr_readw(s++);   
   > + srcorig = vc->vc_font.data + (prech&   
   > + charmask)*cellsize;   
   > + printk("** ** bit_putcs_aligned: ---------->>\n");   
   > + printk("** ** bit_putcs_aligned: cnt: %d\n", cnt);   
   > + printk("** ** bit_putcs_aligned: vc->vc_font.data:   
   > 0x%lx\n", vc->vc_font.data );   
   > + printk("** ** bit_putcs_aligned: srcorig:   
   > 0x%lx\n", srcorig );   
   > +   
   > + ch = prech & charmask;   
   > + printk("** ** bit_putcs_aligned: before: ch: 0x%x\n", ch);   
   > +   
   > + if (ch >= charcnt)   
   > + ch = 32;   
   > + srcnew = vc->vc_font.data + ch * cellsize;   
   > + printk("** ** bit_putcs_aligned: after: ch: 0x%x\n", ch);   
   > + printk("** ** bit_putcs_aligned: charcnt: 0x%x\n", charcnt);   
   > + printk("** ** bit_putcs_aligned: cellsize: 0x%x\n",   
   cellsize);   
   > + printk("** ** bit_putcs_aligned: ch * cellsize:   
   > 0x%x\n", (ch * cellsize));   
   > + printk("** ** bit_putcs_aligned: srcnew:   
   > 0x%lx\n", srcnew);   
   > + printk("** ** bit_putcs_aligned: srcorig - srcnew:   
   > 0x%lx\n", (srcorig - srcnew));   
   > +   
   > + // src = srcorig; printk("** ** bit_putcs_aligned:   
   srcorig\n");   
   > + src = srcnew; printk("** ** bit_putcs_aligned: srcnew\n");   
   > + printk("** ** bit_putcs_aligned: <<----------\n");   
   >   
   > if (attr) {   
   > update_attr(buf, src, attr, vc);   
   > -------------------------- patch to generate log --------------------------   
   > .   
   >   
   > On Fri, Dec 26, 2025 at 3:18 PM William Burrow
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca