From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14139 invoked from network); 5 Aug 1999 23:16:18 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Aug 1999 23:16:18 -0000 Received: from int2.nea-fast.com (int2.nea-fast.com [208.241.120.39] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA13263 for ; Thu, 5 Aug 1999 19:16:17 -0400 Received: from ext1.nea-fast.com (ext1.nea-fast.com [208.241.120.230]) by int2.nea-fast.com (8.8.8+Sun/8.8.8) with ESMTP id TAA26924 for ; Thu, 5 Aug 1999 19:15:46 -0400 (EDT) Received: from pobox.com (adsl-77-228-201.atl.bellsouth.net [216.77.228.201]) by ext1.nea-fast.com (8.8.8+Sun/8.8.8) with ESMTP id TAA15833 for ; Thu, 5 Aug 1999 19:18:27 -0400 (EDT) Sender: jgarzik@ext1.nea-fast.com Message-ID: <37AA1B21.49FE65DA@pobox.com> Date: Thu, 05 Aug 1999 19:15:45 -0400 From: Jeff Garzik Organization: none X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-22 i586) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: trouble writing to framebuffer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Whenever I write to my S3 Trio's framebuffer using memset_io() or writel(), I seem to run into problems. What could be causing this? Do I need some sort of delay or barrier before writing to the framebuffer? Regards, Jeff Code: memset_io (s3info->fb_base, 0, s3info->ram_amount); What results: APECS machine check: vector=0x660 la_ptr=0xfffffc0000006000 pc=0xfffffc0000452db0 size=0x2e8 procoffset=0x110 sysoffset 0x1a0 expected 0 DCSR 0xffffffff801c085d PEAR 0x4800000 +0 80000000000002e8 1a000000110 +10 100000205 fffffc03048000d0 +20 6f800000004 54495845203a +30 3fff fffffc00004cfb08 +40 1010e1d8 4200 +50 400 0 [...] -- Sounds suspiciously like a contest I run everyday when I bike to work. It's called "break the bike lock and keep the bike!". -SirSlud, commenting on LinuxPPC contest "Crack this box, and keep it"