Skip to contentSkip to conversation

New: failed to create kernel channel, -12 on G4 PPC

Bug 58806 [email protected] 1 participant 8 messages Dec 27, 2012 – Jan 11, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 58806
Assignee: [email protected]
Summary: failed to create kernel channel, -12 on G4 PPC
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: PowerPC
Status: NEW
Version: git
Component: Driver/nouveau
Product: xorg

Created attachment 72184
--> https://bugs.freedesktop.org/attachment.cgi?id=72184&action=edit
Bisecting between v3.6 and v3.7

The v3.7 version of nouveau fails to set up acceleration, while it does work for v3.6. We have tried to bisect the problem but stubled on a change we cannot beyond:

git show 77145f1cbdf8d28b46ff8070ca749bad821e0774 -- drivers/gpu/drm/nouveau/core/subdev/bios/base.c

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

--- Comment #1 from Stefan de Konink <[email protected]> --- Created attachment 72185
--> https://bugs.freedesktop.org/attachment.cgi?id=72185&action=edit
dmesg including debugging

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

--- Comment #2 from Marcin Slusarz <[email protected]> --- What we found so far:

Acceleration set up fails like that:
Stacktrace:
nouveau_drm_load
nouveau_accel_init
nouveau_channel_new
nouveau_channel_ind
nouveau_channel_prep
nouveau_bo_map
ttm_bo_kmap
ttm_bo_ioremap
ioremap_wc

ioremap_wc returns NULL. bo->mem.bus.base and bo->mem.bus.offset are 0. Probably because of this code:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/char/agp/uninorth-agp.c;h=a32c492baf5cc15001ad6882dc25a14d1be86419;hb=29594404d7fe73cd80eaa4ee8c43dcc53970c60e#l125
and ioremap fails because of this:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/powerpc/mm/pgtable_32.c;h=6c856fb8c15b01705fb6cf5ff28c0a232d85d3bd;hb=29594404d7fe73cd80eaa4ee8c43dcc53970c60e#l204

Booting with nouveau.agpmode=0 works.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

--- Comment #3 from Stefan de Konink <[email protected]> --- Created attachment 72187
--> https://bugs.freedesktop.org/attachment.cgi?id=72187&action=edit
dmesg for linux 3.6.6

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

--- Comment #4 from Marcin Slusarz <[email protected]> ---
http://lists.freedesktop.org/archives/dri-devel/2012-December/032740.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

--- Comment #5 from Stefan de Konink <[email protected]> --- I confirm that the fix works on 3.8-rc1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

Marcin Slusarz <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Marcin Slusarz <[email protected]> --- This fix just hit Linus' tree.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 58806] failed to create kernel channel, -12 on G4 PPC

In reply to a message not in the archive

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

Florian Mickler <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Florian Mickler <[email protected]> --- A patch referencing this bug report has been merged in Linux v3.8-rc3:

commit eda85d6ad490923152544fba0473798b6cc0edf6

Author: Aaro Koskinen <[email protected]>
Date:   Mon Dec 31 03:34:59 2012 +0200

drm/nouveau: fix init with agpgart-uninorth

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau