linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [Dri-devel] PPC Lockup (ati-pcigart-branch)
@ 2001-01-23  6:49 Robert E Brose II
  2001-01-23  7:01 ` Geert Uytterhoeven
  0 siblings, 1 reply; 52+ messages in thread
From: Robert E Brose II @ 2001-01-23  6:49 UTC (permalink / raw)
  To: linuxppc-dev


On Mon, 22 Jan 2001, Dan Malek wrote:

>> > .....  I
>> > wonder why planb works at all....
>>
>> Probably because no one stumbles across the memory it is trashing?
>> Currently, bad_thing_will_happen = vmalloc + virt_to_bus + dma.
>> It could be with the right memory size, modulo addressing, memory
>> controller configuration, timing of the vmalloc, it just may
>> accidently work.  If this is the case, I would be out buying
>> lottery tickets........

On Mon, 22 Jan 2001, Takashi Oe wrote:
> Ok, my apologies, planb doesn't use vmalloc at all these days.  So, there
> is no problem of that kind.  (In the beginning, it had vmalloc with a lot
> of problems as I recall now.)


How about the use of vmalloc in the video frame buffer drivers? At
one point I ran into some weird behavior with controlfb (mmap patched),
XFree4.0, planb and Xawtv (the xawtv display froze the machine). I was
not able to duplicate that in X3.3.6

Bob
--
Robert E. Brose II    N0QBJ
http://www.jriver.com/~bob/
bob@jriver.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 52+ messages in thread
* Re: [Dri-devel] PPC Lockup (ati-pcigart-branch)
@ 2001-01-23  3:34 Iain Sandoe
  0 siblings, 0 replies; 52+ messages in thread
From: Iain Sandoe @ 2001-01-23  3:34 UTC (permalink / raw)
  To: Dan Malek, Takashi Oe
  Cc: Roman Zippel, Jeff Hartmann, michdaen, Benjamin Herrenschmidt,
	Gareth Hughes, linuxppc-dev, Paul Mackerras


[DRI-devel removed]

Dan Malek wrote:
> Takashi Oe wrote:
>
>> Is it really true that virt_to_phys on vmalloc'd memory is broken 6xx?
>
> Yep.  The virt_to_phys (except for APUS), only does address - KERNELBASE.
> I posted a message about this a few days ago during my "mmu cleanup"
> while merging new code.  I have discovered that architectures are
> implementing private versions of functions/macros for things like
> this that are all slightly different.  There is no sense to this,
> as there should be generic Linux functions for many more memory
> management functions (and cache management, and dma management,...).

and, from this also 7xx...

>> .....  I
>> wonder why planb works at all....
>
> Probably because no one stumbles across the memory it is trashing?
> Currently, bad_thing_will_happen = vmalloc + virt_to_bus + dma.
> It could be with the right memory size, modulo addressing, memory
> controller configuration, timing of the vmalloc, it just may
> accidently work.  If this is the case, I would be out buying
> lottery tickets........

OK. so, supposing this might be the source of an occasional segv we're
getting with dmasound - (this thread was starting to worry me).

what is the _current_ "right thing" to do?
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 52+ messages in thread
* PPC Lockup (ati-pcigart-branch)
@ 2001-01-19  3:26 Michel Dänzer
  2001-01-19 16:40 ` [Dri-devel] " Jeff Hartmann
  0 siblings, 1 reply; 52+ messages in thread
From: Michel Dänzer @ 2001-01-19  3:26 UTC (permalink / raw)
  To: dri-devel; +Cc: linuxppc-dev


[CC'ing linuxppc-dev, hopefully someone there knows what might be up...]

This is where it dies:


        /* FIXME: We should really have a kernel call for this...
         */
        entry->virtual = __vmalloc( (pages << PAGE_SHIFT),
                                    GFP_KERNEL,
                                    PAGE_KERNEL);

        printk("Checkpoint 2\n");


Checkpoint 2 is never reached, the machine is absolutely dead.


Michel


--
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-01-23 16:14 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-23  6:49 [Dri-devel] PPC Lockup (ati-pcigart-branch) Robert E Brose II
2001-01-23  7:01 ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2001-01-23  3:34 Iain Sandoe
2001-01-19  3:26 Michel Dänzer
2001-01-19 16:40 ` [Dri-devel] " Jeff Hartmann
2001-01-19 17:11   ` Benjamin Herrenschmidt
2001-01-19 22:26     ` Chris Emerson
2001-01-19 22:59       ` Benjamin Herrenschmidt
2001-01-19 23:43         ` Chris Emerson
2001-01-20  1:38           ` Benjamin Herrenschmidt
2001-01-20 13:21             ` Michael Schmitz
2001-01-20 16:00               ` Benjamin Herrenschmidt
2001-01-20 17:03                 ` Michael Schmitz
2001-01-20  2:46     ` Michel Dänzer
2001-01-20  4:17       ` Michel Dänzer
2001-01-22  9:44         ` Michel Dänzer
2001-01-22 17:59           ` Roman Zippel
2001-01-22 18:18             ` Michel Dänzer
2001-01-22 18:54               ` Roman Zippel
2001-01-22 19:39                 ` Dan Malek
2001-01-22 20:08                   ` Michel Dänzer
2001-01-22 20:30                   ` Jeff Hartmann
2001-01-22 21:23                     ` Roman Zippel
2001-01-22 23:12                       ` Frank Rowand
2001-01-22 21:31                     ` Dan Malek
2001-01-22 21:48                       ` Jeff Hartmann
2001-01-22 22:15                         ` Roman Zippel
2001-01-23 16:14                         ` Mike Beede
2001-01-22 22:31                       ` Roman Zippel
2001-01-23  0:24                         ` Dan Malek
2001-01-23  2:28                           ` Takashi Oe
2001-01-23  2:40                             ` Dan Malek
2001-01-23  4:40                               ` Ralph Metzler
2001-01-23  5:48                               ` Takashi Oe
2001-01-23 11:24                           ` Roman Zippel
2001-01-23  0:34                         ` Frank Rowand
2001-01-23  0:43                           ` Frank Rowand
2001-01-23 11:32                           ` Roman Zippel
2001-01-22 20:43                   ` Roman Zippel
2001-01-22 21:07                     ` Jeff Hartmann
2001-01-22 17:33         ` Dan Malek
2001-01-22 17:38           ` Jeff Hartmann
2001-01-22 17:38           ` Gareth Hughes
2001-01-22 17:43           ` Michel Dänzer
2001-01-22 18:36             ` Dan Malek
2001-01-22 18:44               ` Jeff Hartmann
2001-01-22 18:47               ` Michel Dänzer
2001-01-22 21:13         ` Dan Malek
2001-01-22 21:58           ` Roman Zippel
2001-01-22 23:48         ` Paul Mackerras
2001-01-23  0:13           ` Dan Malek
2001-01-20 13:15       ` Michael Schmitz
2001-01-19 17:11   ` Wolfgang Denk

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).