All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 88868] New: PowerPC e5500, kernel crash, GT520, GT610
@ 2015-01-29 15:06 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-88868-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 29+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2015-01-29 15:06 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 3002 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=88868

            Bug ID: 88868
           Summary: PowerPC e5500, kernel crash, GT520, GT610
           Product: xorg
           Version: unspecified
          Hardware: PowerPC
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: oboturoff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org

Created attachment 112941
  --> https://bugs.freedesktop.org/attachment.cgi?id=112941&action=edit
kernel_log for GT610 with debug info

Hi,

We use devices on the base of PowerPC series e5500 and try to use the driver
nouveau. But by starting of nouveau driver we get kernel crash.

We used several kernels ver. 3.x but on all kernels we have same error. And try
to test several nvidia card GT520, GT610 and other.


I tryed to solve the problem by myself and added some debug codes:
1. I added the following debug codes into the file base.c
        /* read boot0 and strapping information */
        boot0 = ioread32_native(map + 0x000000);
        strap = ioread32_native(map + 0x101000);

        iounmap(map);

        printk ("##boot0=%x\n",boot0);
        printk ("##strap=%x\n",strap);

The result you can see in the log_gt610 attachment file. The value of the
variable "boot0" for this video card is to be of the value 0x0d90a0a1, in the
log it is value in the reverse order. The value of the variable "strap" is to
be of the value 0x80406892, in the log it isn't reversed but there is no msd.
What does the fact depend on that 2 registers are readed and one of them is
reversed, but the other are not in the same time?

2. kernel crash happens by running of the code from the file base.c
    if (nv_rd08(bios, 0x700000) != 0x55 ||
        nv_rd08(bios, 0x700001) != 0xaa) {

It means that the address reading of 0x700000 results the kernel crash. Why
does it happen? The result of the address reading of 0x619f04 is shown for the
information.

static void
nouveau_bios_shadow_pramin(struct nouveau_bios *bios)
{
    struct nouveau_device *device = nv_device(bios);
    u32 bar0 = 0;
    int i;
    unsigned int tmp_val;

    if (device->card_type >= NV_50) {
        u64 addr = (u64)(nv_rd32(bios, 0x619f04) & 0xffffff00) << 8;
        if (!addr) {
            addr  = (u64)nv_rd32(bios, 0x001700) << 16;
            addr += 0xf0000;
        }

        bar0 = nv_mask(bios, 0x001700, 0xffffffff, addr >> 16);
    }

    tmp_val = nv_rd32(bios, 0x619f04);
    printk ("##val=%x\n", tmp_val);

 In the log we can see the variable value of tmp_val. It is evident that it
isn't correct too. Why is the address 0x619f04 not readed correctly and what
happens with kernel crash by reading of the addresses of 0x700000 and of
0x700001.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4452 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

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

end of thread, other threads:[~2019-12-04  8:55 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 15:06 [Bug 88868] New: PowerPC e5500, kernel crash, GT520, GT610 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-88868-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2015-01-29 15:12   ` [Bug 88868] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 15:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 15:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 15:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 15:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 15:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 16:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 19:23   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-29 22:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-30  1:05   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-30  1:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-30  9:04   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-30  9:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-30  9:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-30 10:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-01 22:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-01 22:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-02 10:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-02 10:59   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-02 12:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-03 16:00   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-03 23:41   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-04  9:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-05 15:07   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-05 15:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-05 15:59   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-05 16:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04  8:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.