From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6293 invoked from network); 18 May 1998 00:06:03 -0000 Received: from mail12.digital.com (192.208.46.20) by mail2.redhat.com with SMTP; 18 May 1998 00:06:03 -0000 Received: from tparch.tay1.dec.com (tparch.tay1.dec.com [16.119.0.10]) by mail12.digital.com (8.8.8/8.8.8/WV1.0e) with SMTP id UAA02688; Sun, 17 May 1998 20:05:31 -0400 (EDT) Received: from ives.amt.tay1.dec.com by tparch.tay1.dec.com (5.65/MS-010395) id AA03119; Sun, 17 May 1998 20:19:56 -0400 Received: from jae.amt.tay1.dec.com by ives.amt.tay1.dec.com; (5.65v3.2/1.1.7.2/05Oct95-1258PM) id AA00583; Sun, 17 May 1998 20:05:24 -0400 Received: from alpha1 (jestabro@localhost [127.0.0.1]) by alpha1.estabrook.org (8.8.7/8.8.7) with ESMTP id UAA00877; Sun, 17 May 1998 20:04:20 -0400 Message-Id: <199805180004.UAA00877@alpha1.estabrook.org> To: Nils Faerber Cc: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: REPOST: Strange hangs Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 17 May 1998 20:04:19 -0300 Sender: jestabro@jae.amt.tay1.dec.com ------- Forwarded Message To: Nils Faerber From: jestabro@amt.tay1.dec.com Subject: Re: RH5 strange 'hangs' :( In-reply-to: Your message of Sat, 09 May 1998 03:19:55 +0200. <199805090119.DAA03284@harley.unix-ag.uni-siegen.de> Mime-Version: 1.0 Content-Type: text/plain Date: Sat, 09 May 1998 00:11:55 +0500 Sender: jestabro@alpha1.estabrook.org >>> Nils Faerber said: > > So I thought it might be a good idea to write a little driver for Linux to > display some stats using those LEDs ;) So I read the axppci33-memory.txt and > found that they are located at address 3880.0000. And I thought fine! That > is easy, do a phys_to_virt() and just write to that address using a little > kernel module. But nothings happens! That sounds like it ought to work; what does your code look like? Perhaps something like this: unsigned long addr = phys_to_virt(0x38800000UL); /* create address */ *(unsigned int *)addr = 0x000000aa; /* low byte is AA */ mb(); /* this should force the write buffers to flush to memory */ Let me know if this works... - --Jay++ - ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Migration Tools - LINUX Project Digital Equipment Corp. (978) 506-4202 or (DTN) 226-4202 151 Taylor Street - TAY1-2 enet: Jay.Estabrook@digital.com Littleton, MA 01460-1407 - ------------------------------------------------------------------------------- ------- End of Forwarded Message