[Bug 30812] New: radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812

   Summary: radeon module fails to initialize with modeset=1 on
PPC32 with RV280
   Product: Drivers
   Version: 2.5
Kernel Version: 2.6.35 to 2.6.38-rc6
  Platform: All
OS/Version: Linux
  Tree: Mainline
Status: NEW
  Severity: normal
  Priority: P1
 Component: Video(DRI - non Intel)
AssignedTo: drivers_video-...@kernel-bugs.osdl.org
ReportedBy: bugzilla_kernel_...@nguyen.vg
Regression: No


Created an attachment (id=50462)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=50462)
output of dmesg after boot (radeon as module, modeset=0) and rmmod of radeon

Hardware: MacMini G4 (ppc-32).
Graphic adaptor: Radeon 9200 (RV280) probably a 'mac' version.
Symptoms:

with modprobe radeon modeset=0, everything works fine. Machine boots normally,
X works, xrandr and Xv too.

with modeset=1, modeprobe never returns and gets stucked durring
initialization.
More specifically, the call to radeon_fence_wait in r100_ib_test (r100.c) loops
endlessly (or at least for several hours). I'm attaching dmesg of a modified
driver with more printk.

I have tried several combination of putting AGPART/FBCON/RADEON in kernel or as
modules, tried with and without OFFB and so on, same results. Also attaching
output of lspci and .config used for the dmesg trace and output of radeontool
regs '*'.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #2 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
13:59:54 ---
Created an attachment (id=50482)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=50482)
output of radeontool regs '*'

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #3 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
14:00:22 ---
Created an attachment (id=50492)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=50492)
output of lspci -vvv

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #4 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
14:01:06 ---
Created an attachment (id=50502)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=50502)
.config used for dmesg

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #5 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
14:13:38 ---
Created an attachment (id=50512)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=50512)
modified radeon_fence.c with additional DRM_INFO added.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #6 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
14:28:03 ---
Actually after trying again with 2.6.35 I get an oops after modprobe radeon
modeset=1 which does is not present in 2.6.36 and after. dmesg attached.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #7 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
14:29:08 ---
Created an attachment (id=50522)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=50522)
dmsg after segfault of modprobe radeon modeset=1 on 2.6.35

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #8 from Michel Dänzer mic...@daenzer.net  2011-03-09 14:42:27 ---
Have you tried radeon.agpmode=1 or radeon.agpmode=-1? There's a uninorth AGP
driver issue which prevents higher AGP transfer rates from working reliably
with KMS.

Actually, I see you mentioned on IRC that you tried radeon.agpmode=-1 but it
didn't help. Can you provide the corresponding dmesg output? Maybe for =1 as
well.

One thing that seems special about your card is that the PCI aperture is larger
than VRAM. Maybe there's a problem related to that, e.g. a mixup or incorrect
handling of the various *_vram_size fields.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812





--- Comment #9 from Kim Nguyen bugzilla_kernel_...@nguyen.vg  2011-03-09 
15:32:53 ---
radeon.agpmode=1 works! Seems X is happy too, glxinfo shows direct rendering.
actually agpmode=-1 or agpmode  1 both trigger the bug.

Would it be easy to default to 1 if uninorth agp is detected ? (maybe not worth
it, there are not so many ppc32 configs out there. So it might just be enough
to advertise on the radeon faq/howto page that agpmode=1 is recommended for
uninorth agp).

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13170] Macbook 5,2 only boots with acpi=off, or nosmp, or maxcpus=1

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=13170





--- Comment #61 from Gregory Bellier d...@gatekeeper.fr  2011-03-09 17:08:26 
---
Hi !

After some digging, I'm now able to boot on Linux using a Macbook 5.2 and with
two cores.

refit + grub-pc with maxcpus = 1 = ok but only one core
refit + grub1.99-rc1 (efi and x86_64) = ok with two cores.

As I previously said, I managed to boot on the kernel but faced an error (or
should I say a new one) : fb: conflicting fb hw usage nouveaufb vs EFI
VGA - removing generic driver.

This is due to a bug which I presume is in Nouveau. I reported it here:
https://bugs.freedesktop.org/show_bug.cgi?id=34508

To sum up, grub2 built for efi and x86_64 placed in the EFI partition. Within
the grub.cfg :
menuentry 'Linux without bios dump' {
insmod efi_gop
search --no-floppy --fs-uuid --set=root
d5175c18-7da2-49a9-a3af-844bad27c91d
linux   /vmlinuz root=UUID=d5175c18-7da2-49a9-a3af-844bad27c91d ro
initrd  /initrd.img
}
AND the final piece, NVidia driver then you'll be able to boot directly from
EFI to have the 2 cores.

There are several problems here.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30832] New: Radeon S-Video Out has become black and white. Works fine in 2.6.37

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30832

   Summary: Radeon S-Video Out has become black and white. Works
fine in 2.6.37
   Product: Drivers
   Version: 2.5
Kernel Version: 2.6.38.6
  Platform: All
OS/Version: Linux
  Tree: Mainline
Status: NEW
  Severity: normal
  Priority: P1
 Component: Video(DRI - non Intel)
AssignedTo: drivers_video-...@kernel-bugs.osdl.org
ReportedBy: arbitrab...@runbox.com
Regression: Yes


The S-Video out of Radeon driver has become black and white in kernel
2.6.38.The regression happened around 2.6.37.2 as the driver worked fine in
2.6.37. I have a Radeon HD4850 card.

Here is the difference in the dmesg output from the two kernels. I can hardly
notice any difference, other than timestamps. In kernel 2.6.38, initialization
happens very quickly - maybe a timing issue? Other than the kernels, everything
else is same.

2.6.38-6-generic

[9.422549] [drm] Initialized drm 1.1.0 20060810
[   10.094022] [drm] radeon defaulting to kernel modesetting.
[   10.094024] [drm] radeon kernel modesetting enabled.
[   10.094105] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing
generic driver
[   10.095453] [drm] initializing kernel modesetting (RV770 0x1002:0x9442).
[   10.095475] [drm] register mmio base: 0xFDFE
[   10.095476] [drm] register mmio size: 65536
[   10.097903] [drm] Detected VRAM RAM=512M, BAR=256M
[   10.097906] [drm] RAM width 256bits DDR
[   10.098018] [drm] radeon: 512M of VRAM memory ready
[   10.098020] [drm] radeon: 512M of GTT memory ready.
[   10.098033] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   10.098034] [drm] Driver supports precise vblank timestamp query.
[   10.098097] [drm] radeon: irq initialized.
[   10.098099] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   10.098748] [drm] Loading RV770 Microcode
[   11.480076] [drm] ring test succeeded in 1 usecs
[   11.480146] [drm] radeon: ib pool ready.
[   11.480196] [drm] ib test succeeded in 0 usecs
[   11.480198] [drm] Enabling audio support
[   11.480389] [drm] Radeon Display Connectors
[   11.480390] [drm] Connector 0:
[   11.480391] [drm]   DVI-I
[   11.480392] [drm]   HPD1
[   11.480394] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c
0x7e6c
[   11.480395] [drm]   Encoders:
[   11.480396] [drm] DFP1: INTERNAL_UNIPHY
[   11.480397] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[   11.480398] [drm] Connector 1:
[   11.480399] [drm]   DIN
[   11.480400] [drm]   Encoders:
[   11.480400] [drm] TV1: INTERNAL_KLDSCP_DAC2
[   11.480401] [drm] Connector 2:
[   11.480402] [drm]   DVI-I
[   11.480403] [drm]   HPD2
[   11.480404] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c
0x7e2c
[   11.480405] [drm]   Encoders:
[   11.480406] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[   11.480407] [drm] DFP2: INTERNAL_KLDSCP_LVTMA
[   11.536188] [drm] Internal thermal controller with fan control
[   11.536219] [drm] radeon: power management initialized
[   11.638668] [drm] fb mappable at 0xD0142000
[   11.638669] [drm] vram apper at 0xD000
[   11.638670] [drm] size 8294400
[   11.638671] [drm] fb depth is 24
[   11.638672] [drm]pitch is 7680
[   11.638789] fb0: radeondrmfb frame buffer device
[   11.638790] drm: registered panic notifier
[   11.638794] [drm] Initialized radeon 2.8.0 20080528 for :01:00.0 on
minor 0
[   22.170538] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id



2.6.37-020637-generic

[   15.278388] [drm] Initialized drm 1.1.0 20060810
[   15.654177] [drm] radeon defaulting to kernel modesetting.
[   15.654178] [drm] radeon kernel modesetting enabled.
[   15.654692] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing
generic driver
[   15.656087] [drm] initializing kernel modesetting (RV770 0x1002:0x9442).
[   15.660089] [drm] register mmio base: 0xFDFE
[   15.660090] [drm] register mmio size: 65536
[   15.662457] [drm] Detected VRAM RAM=512M, BAR=256M
[   15.662460] [drm] RAM width 256bits DDR
[   15.670407] [drm] radeon: 512M of VRAM memory ready
[   15.670408] [drm] radeon: 512M of GTT memory ready.
[   15.670477] [drm] radeon: irq initialized.
[   15.670479] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   15.671039] [drm] Loading RV770 Microcode
[   15.870579] [drm] ring test succeeded in 1 usecs
[   15.870647] [drm] radeon: ib pool ready.
[   15.870699] [drm] ib test succeeded in 0 usecs
[   15.870701] [drm] Enabling audio support
[   15.870886] [drm] Radeon Display Connectors
[   15.870887] [drm] Connector 0:
[   15.870888] [drm]   DVI-I
[   15.870889] [drm]   HPD1
[   15.870890] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c
0x7e6c
[   15.870891] [drm]   Encoders:
[   15.870892] [drm] DFP1: INTERNAL_UNIPHY
[   15.870893] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[   15.870894] [drm] Connector 1:
[   15.870895] [drm]   DIN
[   15.870896] 

[Bug 30832] Radeon S-Video Out has become black and white. Works fine in 2.6.37

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30832


Arbit Rabbit arbitrab...@runbox.com changed:

   What|Removed |Added

   Platform|All |IA-64




--- Comment #1 from Arbit Rabbit arbitrab...@runbox.com  2011-03-09 18:31:50 
---
I am running AMD64 version of the kernel by the way

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 30832] Radeon S-Video Out has become black and white. Works fine in 2.6.37

2011-03-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30832


Rafael J. Wysocki r...@sisk.pl changed:

   What|Removed |Added

 CC||flor...@mickler.org,
   ||maciej.rute...@gmail.com,
   ||r...@sisk.pl
 Blocks||27352




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel