Re: issue with kernel 4.12.rc6 addnote -kernel dont build

2017-07-13 Thread luigi burdo

Hi Michael,
sorry for late reply

>Did it just stop working? That code is from 2014?

exit without right kenel build  with the error that add in the log last time.


>> Host Machine BE Qoriq e5500  16GB ram
>What userspace are you running? Is it 32-bit ?

yes 32 bit OS Ubuntu Mate 16.10 , with 64 bit kernel

>>  HOSTCC  arch/powerpc/boot/addnote
   ^^
>   What compiler is that?

 gcc 6.2.0
https://launchpad.net/ubuntu/yakkety/+package/gcc-6


>Building with V=1 should show you.

i will check it and report.


>These warnings seem like they're correct, but that code should never
>But they're only warnings, so they shouldn't be breaking the build AFAICS.

 Can be this issue associated with a module? i have this feeling because last 
time i have successiful
build the kernel but without some lan modules (but i cant have lan working).
Thanks
Luigi



issue with kernel 4.12.rc6 addnote -kernel dont build

2017-07-02 Thread luigi burdo

Hi all, kernel here is not building.

attached file will explain better than my poor english.

Host Machine BE Qoriq e5500  16GB ram


regards

Luigi
 HOSTCC  arch/powerpc/boot/addnote
arch/powerpc/boot/addnote.c: In function ‘main’:
arch/powerpc/boot/addnote.c:75:47: warning: right shift count >= width of type 
[-Wshift-count-overflow]
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^
arch/powerpc/boot/addnote.c:72:39: note: in definition of macro ‘PUT_16BE’
 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \
   ^
arch/powerpc/boot/addnote.c:75:27: note: in expansion of macro ‘PUT_32BE’
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^~~~
arch/powerpc/boot/addnote.c:94:50: note: in expansion of macro ‘PUT_64BE’
 #define PUT_64(off, v)  (e_data == ELFDATA2MSB ? PUT_64BE(off, v) : \
  ^~~~
arch/powerpc/boot/addnote.c:183:3: note: in expansion of macro ‘PUT_64’
   PUT_64(ph + PH_OFFSET, ns);
   ^~
arch/powerpc/boot/addnote.c:75:47: warning: right shift count >= width of type 
[-Wshift-count-overflow]
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^
arch/powerpc/boot/addnote.c:73:23: note: in definition of macro ‘PUT_16BE’
 buf[(off) + 1] = (v) & 0xff)
   ^
arch/powerpc/boot/addnote.c:75:27: note: in expansion of macro ‘PUT_32BE’
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^~~~
arch/powerpc/boot/addnote.c:94:50: note: in expansion of macro ‘PUT_64BE’
 #define PUT_64(off, v)  (e_data == ELFDATA2MSB ? PUT_64BE(off, v) : \
  ^~~~
arch/powerpc/boot/addnote.c:183:3: note: in expansion of macro ‘PUT_64’
   PUT_64(ph + PH_OFFSET, ns);
   ^~
arch/powerpc/boot/addnote.c:75:47: warning: right shift count >= width of type 
[-Wshift-count-overflow]
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^
arch/powerpc/boot/addnote.c:72:39: note: in definition of macro ‘PUT_16BE’
 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \
   ^
arch/powerpc/boot/addnote.c:75:27: note: in expansion of macro ‘PUT_32BE’
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^~~~
arch/powerpc/boot/addnote.c:94:50: note: in expansion of macro ‘PUT_64BE’
 #define PUT_64(off, v)  (e_data == ELFDATA2MSB ? PUT_64BE(off, v) : \
  ^~~~
arch/powerpc/boot/addnote.c:183:3: note: in expansion of macro ‘PUT_64’
   PUT_64(ph + PH_OFFSET, ns);
   ^~
arch/powerpc/boot/addnote.c:75:47: warning: right shift count >= width of type 
[-Wshift-count-overflow]
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^
arch/powerpc/boot/addnote.c:73:23: note: in definition of macro ‘PUT_16BE’
 buf[(off) + 1] = (v) & 0xff)
   ^
arch/powerpc/boot/addnote.c:75:27: note: in expansion of macro ‘PUT_32BE’
 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
   ^~~~
arch/powerpc/boot/addnote.c:94:50: note: in expansion of macro ‘PUT_64BE’
 #define PUT_64(off, v)  (e_data == ELFDATA2MSB ? PUT_64BE(off, v) : \
  ^~~~
arch/powerpc/boot/addnote.c:183:3: note: in expansion of macro ‘PUT_64’
   PUT_64(ph + PH_OFFSET, ns);
   ^~
arch/powerpc/boot/addnote.c:85:73: warning: right shift count >= width of type 
[-Wshift-count-overflow]
 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 
32L))
 ^
arch/powerpc/boot/addnote.c:82:39: note: in definition of macro ‘PUT_16LE’
 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \
   ^
arch/powerpc/boot/addnote.c:85:49: note: in expansion of macro ‘PUT_32LE’
 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 
32L))
 ^~~~
arch/powerpc/boot/addnote.c:95:5: note: in expansion of macro ‘PUT_64LE’
 PUT_64LE(off, v))
 ^~~~
arch/powerpc/boot/addnote.c:183:3: note: in expansion of macro ‘PUT_64’
   PUT_64(ph + PH_OFFSET, ns);
   ^~
arch/powerpc/boot/addnote.c:85:73: warning: right shift count >= width of type 
[-Wshift-count-overflow]
 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 
32L))
 ^
arch/powerpc/boot/addnote.c:83:25: note: in definition of macro ‘PUT_16LE’
  buf[(off) + 1] = ((v) >> 8) & 0xff)
   

Re: POWER4 - who has one?

2017-04-04 Thread luigi burdo
Hi Michael,

PowerPc 970 as classified as Power4 too, because is it a pure derivate.

If need i have a 970MP


Ciao

Luigi


Da: Linuxppc-dev 
 per conto di 
Michael Ellerman 
Inviato: martedì 4 aprile 2017 15.20
A: linuxppc-dev@
Oggetto: POWER4 - who has one?

Hi folks,

Quick quiz, who still has a POWER4?

And if so are you running mainline on it?

cheers


PowerMac G5 Quad Strage lspci

2017-02-17 Thread luigi burdo
Hi all devs,

from 4.10 i have on G5 Quad this strange lspci

with this 0001:01:01.0 Non-VGA unclassified device: Device 0800:0002 (rev 08)

some one know if it a bug or a new feature of the kernel.


Thanks!


My complete

lspci
:00:0b.0 PCI bridge: Apple Inc. CPC945 PCIe Bridge
:0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Whistler LE [Radeon HD 6610M/7610M]
:0a:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI 
Audio [Radeon HD 6500/6600 / 6700M Series]
0001:00:00.0 Host bridge: Apple Inc. U4 HT Bridge
0001:00:01.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:02.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:03.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:04.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:05.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:07.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:08.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:09.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:01:01.0 Non-VGA unclassified device: Device 0800:0002 (rev 08)
0001:01:07.0 Unassigned class [ff00]: Apple Inc. Shasta Mac I/O
0001:01:0b.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:0b.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:0b.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 
04)
0001:03:0c.0 IDE interface: Broadcom K2 SATA
0001:03:0d.0 Unassigned class [ff00]: Apple Inc. Shasta IDE
0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. Shasta Firewire
0001:05:04.0 Ethernet controller: Broadcom Limited NetXtreme BCM5780 Gigabit 
Ethernet (rev 03)
0001:05:04.1 Ethernet controller: Broadcom Limited NetXtreme BCM5780 Gigabit 
Ethernet (rev 03)
0001:06:00.0 VGA compatible controller: NVIDIA Corporation G70GL [Quadro FX 
4500] (rev a1)

Luigi



Re: ext4 filesystem corruption with 4.10-rc2 on ppc64le

2017-01-04 Thread luigi burdo
Hi,

it is present on ppc not le too.

found it on Ubuntu Mate 16.10 PPC with kernel 4.9 rc6 PPC64 on P5020/P5040


Thanks

Luigi



Da: Linuxppc-dev 
 per conto di 
Anton Blanchard 
Inviato: mercoledì 4 gennaio 2017 06.18
A: j...@suse.cz; Michael Ellerman; Benjamin Herrenschmidt; Paul Mackerras; 
Stephen Rothwell; ax...@fb.com
Cc: linux-fsde...@vger.kernel.org; linux-e...@vger.kernel.org; 
linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org
Oggetto: ext4 filesystem corruption with 4.10-rc2 on ppc64le

Hi,

I'm consistently seeing ext4 filesystem corruption using a mainline
kernel. It doesn't take much to trigger it - download a ppc64le Ubuntu
cloud image, boot it in KVM and run:

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

And it never makes it back up, dying with rather severe filesystem
corruption.

I've narrowed it down to:

64e1c57fa474 ("ext4: Use clean_bdev_aliases() instead of iteration")
e64855c6cfaa ("fs: Add helper to clean bdev aliases under a bh and use it")
ce98321bf7d2 ("fs: Remove unmap_underlying_metadata")

Backing these patches out fixes the issue.

Anton


Cyrus_5040.dts Misisng

2016-10-24 Thread luigi burdo
Hi Andy,

me and some others are testing the cyrus_5040 and we sow inside the Lnx kernel 
there isnt the cyrus_5040.dts.

i just attched my dmsg and my lshw reports where you can see:

on dmesg there are issue on ata2 device, if i burn a cdrom i have a failure in 
burining , copy from to another partition some time become really slow 300kb/s 
(sata1 SSD to sata1 ssd partition).

if more than 3.5gb of ram is used (right now i have 16gb) we face a dma errors 
on pci boards.

lshw dont show L3 cache i face this on cyrus_5020 too, is this normal?


if is needed something more you can ask freely

Thanks

Luigi


 dmesg
[0.00] Allocated 16384 bytes for 8 pacas at c0003fffc000
[0.00] MMU: Supported page sizes
[0.00]  4 KB as direct
[0.00]   4096 KB as direct
[0.00]  16384 KB as direct
[0.00]  65536 KB as direct
[0.00] 262144 KB as direct
[0.00]1048576 KB as direct
[0.00] MMU: Book3E HW tablewalk not supported
[0.00] Linux version 4.8.0-X5000-Tlosm-LB (amigaone@Amigaone) (gcc 
version 6.2.0 20160927 (Ubuntu 6.2.0-5ubuntu11) ) #1 SMP PREEMPT Mon Oct 3 
19:10:49 CEST 2016
[0.00] Using CoreNet Generic machine description
[0.00] Found legacy serial port 0 for /soc@ffe00/serial@11c500
[0.00]   mem=ffe11c500, taddr=ffe11c500, irq=0, clk=4, speed=0
[0.00] Found legacy serial port 1 for /soc@ffe00/serial@11c600
[0.00]   mem=ffe11c600, taddr=ffe11c600, irq=0, clk=4, speed=0
[0.00] Found legacy serial port 2 for /soc@ffe00/serial@11d500
[0.00]   mem=ffe11d500, taddr=ffe11d500, irq=0, clk=4, speed=0
[0.00] Found legacy serial port 3 for /soc@ffe00/serial@11d600
[0.00]   mem=ffe11d600, taddr=ffe11d600, irq=0, clk=4, speed=0
[0.00] CPU maps initialized for 1 thread per core
[0.00]  (thread shift is 0)
[0.00] Freed 8192 bytes for unused pacas
[0.00] -
[0.00] phys_mem_size = 0xdac0
[0.00] dcache_bsize  = 0x40
[0.00] icache_bsize  = 0x40
[0.00] cpu_features  = 0x00180400581802c0
[0.00]   possible= 0x00180480581802c0
[0.00]   always  = 0x00180400581802c0
[0.00] cpu_user_features = 0xcc008000 0x0800
[0.00] mmu_features  = 0x000a0010
[0.00] firmware_features = 0x
[0.00] -
[0.00] CoreNet Generic board
[0.00] Top of RAM: 0xdac0, Total RAM: 0xdac0
[0.00] Memory hole size: 0MB
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x-0x7fff]
[0.00]   DMA32empty
[0.00]   Normal   [mem 0x8000-0xdabf]
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x-0xdabf]
[0.00] Initmem setup node 0 [mem 0x-0xdabf]
[0.00] On node 0 totalpages: 896000
[0.00] free_area_init_node: node 0, pgdat c10b75c0, 
node_mem_map c000d7b94000
[0.00]   DMA zone: 7168 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 524288 pages, LIFO batch:31
[0.00]   Normal zone: 5082 pages used for memmap
[0.00]   Normal zone: 371712 pages, LIFO batch:31
[0.00] MMU: Allocated 2112 bytes of context maps for 255 contexts
[0.00] percpu: Embedded 19 pages/cpu @c000d7a0 s37096 r0 d40728 
u262144
[0.00] pcpu-alloc: s37096 r0 d40728 u262144 alloc=1*1048576
[0.00] pcpu-alloc: [0] 0 1 2 3 
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 883750
[0.00] Kernel command line: root=/dev/sda2 mem=3500M radeon.pcie_gen2=1 
pci=realloc
[0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
[0.00] Dentry cache hash table entries: 524288 (order: 10, 4194304 
bytes)
[0.00] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[0.00] Sorting __ex_table...
[0.00] Memory: 3441728K/3584000K available (10660K kernel code, 1856K 
rwdata, 5556K rodata, 384K init, 1458K bss, 142272K reserved, 0K cma-reserved)
[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[0.00] Preemptible hierarchical RCU implementation.
[0.00]  Build-time adjustment of leaf fanout to 64.
[0.00]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[0.00] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[0.00] NR_IRQS:512 nr_irqs:512 16
[0.00] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe04, max 
4 CPUs
[0.00] mpic: ISU size: 512, shift: 9, mask: 1ff
[0.00] 

RE: Kernel 4.7: PAGE_GUARDED and _PAGE_NO_CACHE

2016-06-22 Thread luigi burdo
Christian, i think Darren patch override some memory region that on kernel.org 
was different and this make the kernel patched run and work

Luigi

Da: Christian Zigotzky [chzigot...@xenosoft.de]
Inviato: mercoledì 22 giugno 2016 21.07
A: Benjamin Herrenschmidt; Michael Ellerman; Aneesh Kumar K.V; Darren Stevens; 
linuxppc-dev@lists.ozlabs.org; Michael Ellerman; Julian Margetson; Adrian Cox; 
R.T.Dickinson; R.T.Dickinson; Pat Wall; Pat Wall; cont...@a-eon.com; Matthew 
Leaman; luigi burdo; Christian Zigotzky
Oggetto: Kernel 4.7: PAGE_GUARDED and _PAGE_NO_CACHE

Hi All,

Please find attached Darren's patch. With this patch, the Nemo board
boots. That means, the problematic source code is somewhere in this patch.
Which file in this patch is responsible for starting the kernel?

Thanks,

Christian

On 13 June 2016 at 8:09 PM, Christian Zigotzky wrote:
> Hi Ben,
>
> I could send you a patch but it doesn't work with the three PowerPC
> commits. I think we have to fix the boot issue at first. After that we
> can integrate the first patch for the Nemo board.
>
> Cheers,
>
> Christian
>
> On 13 June 2016 at 10:19 AM, Benjamin Herrenschmidt wrote:
>> The right way to not have this problem anymore is to cleanup and
>> submit your patches upstream so they don't break all the time :-)
>>
>> Cheers,
>> Ben.
>>
>>

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RadeonSI issue on PowerPC desktop

2016-05-08 Thread luigi burdo
Hi Michel, 
after investigating i found the Xorg crash is because glemoregl xorg module.
I made the Xorg not load the glemoregl module and because of this  the system 
start and work without issue,
with radeon  driver up.


Machine log is from:
Varisys/A-eon P5020 4 Gb RadeonHD 7750 2Gb Sapphire.
OS Ubuntu Mate 16.04 , Kernel 4.5 (i hade been test all the kernels from 4.4 to 
4.6.lastest)

Thanks
Luigi

  [   767.063] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[   767.063] X Protocol Version 11, Revision 0
[   767.063] Build Operating System: Linux 4.4.0-21-powerpc64-smp ppc Ubuntu
[   767.063] Current Operating System: Linux Amigaone 4.5.0-cyrus-lb #2 SMP 
PREEMPT Mon Mar 14 22:46:05 CET 2016 ppc64
[   767.063] Kernel command line: root=/dev/sda2 mem=3500M radeon.pcie_gen2=1 
radeon.dpm=0 radeon.audio=1
[   767.064] Build Date: 02 May 2016  09:17:09PM
[   767.064] xorg-server 2:1.18.3-1ubuntu2.1 (For technical support please see 
http://www.ubuntu.com/support) 
[   767.064] Current version of pixman: 0.33.6
[   767.064]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   767.064] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   767.064] (==) Log file: "/var/log/Xorg.0.log", Time: Sun May  8 20:26:53 
2016
[   767.064] (==) Using config file: "/etc/X11/xorg.conf"
[   767.064] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   767.065] (==) ServerLayout "Desktop"
[   767.065] (**) |-->Screen "Screen0" (0)
[   767.065] (**) |   |-->Monitor ""
[   767.065] (**) |   |-->Device "Card0"
[   767.065] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[   767.065] (**) |-->Input Device "Mouse0"
[   767.065] (==) Automatically adding devices
[   767.066] (==) Automatically enabling devices
[   767.066] (==) Automatically adding GPU devices
[   767.066] (==) Max clients allowed: 256, resource mask: 0x1f
[   767.066] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   767.066]Entry deleted from font path.
[   767.066] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   767.066]Entry deleted from font path.
[   767.066] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   767.066]Entry deleted from font path.
[   767.066] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   767.066]Entry deleted from font path.
[   767.066] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   767.066]Entry deleted from font path.
[   767.066] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[   767.066] (**) ModulePath set to "/usr/lib/xorg/modules"
[   767.066] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[   767.066] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 
'vmmouse' will be disabled.
[   767.066] (WW) Disabling Mouse0
[   767.066] (II) Loader magic: 0x208de6e0
[   767.066] (II) Module ABI versions:
[   767.066]X.Org ANSI C Emulation: 0.4
[   767.066]X.Org Video Driver: 20.0
[   767.066]X.Org XInput driver : 22.1
[   767.066]X.Org Server Extension : 9.0
[   767.067] (++) using VT number 7

[   767.067] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[   767.069] (II) xfree86: Adding drm device (/dev/dri/card0)
[   767.071] (--) PCI:*(0:1:0:0) 1002:683f:174b:e228 rev 0, Mem @ 
0x/268435456, 0x1000/262144, I/O @ 0x1000/256, BIOS @ 
0x/131072
[   767.072] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
[   767.072] (II) LoadModule: "glx"
[   767.072] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   767.077] (II) Module glx: vendor="X.Org Foundation"
[   767.077]compiled for 1.18.3, module version = 1.0.0
[   767.077]ABI class: X.Org Server Extension, version 9.0
[   767.077] (==) AIGLX enabled
[   767.077] (II) LoadModule: "dri"
[   767.077] (II) Module "dri" already built-in
[   767.077] (II) LoadModule: "dri2"
[   767.077] (II) Module "dri2" already built-in
[   767.077] (II) LoadModule: "dri3"
[   767.078] (II) Module "dri3" already built-in
[   767.078] (II) LoadModule: "exa"
[   767.078] (II) Loading /usr/lib/xorg/modules/libexa.so
[   767.078] (II) Module exa: vendor="X.Org Foundation"
[   767.078]compiled for 1.18.3, module version = 2.6.0
[   767.078]ABI class: X.Org Video Driver, version 20.0
[   767.078] (II) LoadModule: "glamoregl"
[   767.078] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   767.086] (II) Module 

Radeon 77xx xorg issue on cyrus+ Varisys

2016-05-03 Thread luigi burdo
This are my logs of experience on a 7750HD 2GB
I attached my dmesg radeon,drm and Xorg logs for gave better investigating to 
the devs.
I see on Xorg.1.log where the radeon config was called there is a crash on 
radeonsi 

a drm:.si_dpm_set_power_state] *ERROR*  too.


Hope it will help for have a great linux experiences on this new powerpc 
desktop machine

Thanks for support ppc 
Luigi Burdo
X5000 beta tester 
  

RadeonLogs.tar.gz
Description: GNU Zip compressed data
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: radeonhd and xorg issues on powerpc p5020 and G5

2016-05-02 Thread luigi burdo
hi michel,
tested with  sapphire 7750Hd 2gb ddr3 on Cyrus+ Amigaone X5000 P5020,
with radeon  selected i have a stalling of fence 0 and video binking with all 
glitched like on 7770hd, only fbdev video gave the desktop ok.
distro is the ubuntu mate 16.04 
kernels used for testing are the 4.6 rc 5 and 4.5 
will build today the 4.4 and test there too.

if something needed (logs)and some specific test are requied for help the devs
i will glad to send.


thanks
and sorry for my english
luigi

Inviato da iPad

> Il giorno 30 apr 2016, alle ore 09:29, luigi burdo <intermedi...@hotmail.com> 
> ha scritto:
> 
> hi michel,
> without xorg conf on cyrus+ p5020, and g5 quad i have only the black screen 
> with pulse cursor. i need to made it and put in etc/X11/ or not desktop at 
> all.
> 
> about modeset=0 on both cards:
> yes i know is normal dont have video but i think the more strange is have the 
> opposite compared the kernel options . with kernel radeon. modeset=0 and 
> nouveau.modeset=1 look like xorg understand to activate the radeon and 
> deactivate the nouveau .
> and this make the system stalling without any way to recover.
> 
> about radeonsi, will check  on 7750 too and report.
> for now 4xxx,5xxx,6xxx can say are running on ppc system with 3d too , yes 
> many endianess on egl and egl2 colors not right and some creazy texture on 
> some games but ... running ;-)
> 
> ciao
> luigi
> 
> 
> 
> 
> Inviato da iPad
> 
>>> Il giorno 30 apr 2016, alle ore 09:10, Michel Dänzer <mic...@daenzer.net> 
>>> ha scritto:
>>> 
>>> On 23.04.2016 02:06, luigi burdo wrote:
>>> 
>>> On Quad G5 with 2 video boards
>>> if i set radeon.modeset=1  nouveau.modeset=1 Xorg -configure dont found
>>> at all the video boards
>>> if i set radeon.modeset=0  nouveau.modeset=1 Xorg -configure dont found
>>> the nouveau board
>>> if i set radeon.modeset=1  nouveau.modeset=0 Xorg -configure dont found
>>> the radeon board
>> 
>> Xorg -configure has various known issues and shouldn't be used anymore.
>> Xorg is normally able to automatically detect and use all GPUs in a
>> system without any xorg.conf file.
>> 
>> 
>>> if i set radeon.modeset=0  nouveau.modeset=0 no video working ... no tty
>>> too ;-)
>> 
>> That disables both kernel drivers, which are required for fbcon and Xorg.
>> 
>> 
>>> On P5020
>>> last of my test is this machine with a  radeon hd 7770 core edition
>>> if radeon drv is running the system run in softpipe mode and i face many
>>> drm errors and fence issue.
>>> i atteched the dmesg files.
>> 
>> Which kernel version are you testing? There were some fixes in 4.4/4.5
>> which may help for the kernel driver issues, but note that the Mesa
>> radeonsi driver for >= 7xxx Radeons still needs a lot of work to be
>> usable on big endian systems.
>> 
>> 
>> -- 
>> Earthling Michel Dänzer   |   http://www.amd.com
>> Libre software enthusiast | Mesa and X developer
> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: radeonhd and xorg issues on powerpc p5020 and G5

2016-04-30 Thread luigi burdo
hi michel, 
sorry for extra email.

about kernels i been test from 3.3 to 4. to lastest rc nothing change the 
situation still the same.
another thing, can be this issue generated because our kernel are ppc64 and the 
distros are ppc32?

thanks 
luigi

Inviato da iPad

> Il giorno 30 apr 2016, alle ore 09:20, Michel Dänzer <mic...@daenzer.net> ha 
> scritto:
> 
>> On 23.04.2016 02:06, luigi burdo wrote:
>> 
>> On Quad G5 with 2 video boards
>> if i set radeon.modeset=1  nouveau.modeset=1 Xorg -configure dont found
>> at all the video boards
>> if i set radeon.modeset=0  nouveau.modeset=1 Xorg -configure dont found
>> the nouveau board
>> if i set radeon.modeset=1  nouveau.modeset=0 Xorg -configure dont found
>> the radeon board
> 
> Xorg -configure has various known issues and shouldn't be used anymore.
> Xorg is normally able to automatically detect and use all GPUs in a
> system without any xorg.conf file.
> 
> 
>> if i set radeon.modeset=0  nouveau.modeset=0 no video working ... no tty
>> too ;-)
> 
> That disables both kernel drivers, which are required for fbcon and Xorg.
> 
> 
>> On P5020
>> last of my test is this machine with a  radeon hd 7770 core edition
>> if radeon drv is running the system run in softpipe mode and i face many
>> drm errors and fence issue.
>> i atteched the dmesg files.
> 
> Which kernel version are you testing? There were some fixes in 4.4/4.5
> which may help for the kernel driver issues, but note that the Mesa
> radeonsi driver for >= 7xxx Radeons still needs a lot of work to be
> usable on big endian systems.
> 
> 
> -- 
> Earthling Michel Dänzer   |   http://www.amd.com
> Libre software enthusiast | Mesa and X developer
> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: radeonhd and xorg issues on powerpc p5020 and G5

2016-04-30 Thread luigi burdo
hi michel,
without xorg conf on cyrus+ p5020, and g5 quad i have only the black screen 
with pulse cursor. i need to made it and put in etc/X11/ or not desktop at all.

about modeset=0 on both cards:
yes i know is normal dont have video but i think the more strange is have the 
opposite compared the kernel options . with kernel radeon. modeset=0 and 
nouveau.modeset=1 look like xorg understand to activate the radeon and 
deactivate the nouveau .
and this make the system stalling without any way to recover.

about radeonsi, will check  on 7750 too and report.
for now 4xxx,5xxx,6xxx can say are running on ppc system with 3d too , yes many 
endianess on egl and egl2 colors not right and some creazy texture on some 
games but ... running ;-)

ciao
luigi




Inviato da iPad

> Il giorno 30 apr 2016, alle ore 09:10, Michel Dänzer <mic...@daenzer.net> ha 
> scritto:
> 
>> On 23.04.2016 02:06, luigi burdo wrote:
>> 
>> On Quad G5 with 2 video boards
>> if i set radeon.modeset=1  nouveau.modeset=1 Xorg -configure dont found
>> at all the video boards
>> if i set radeon.modeset=0  nouveau.modeset=1 Xorg -configure dont found
>> the nouveau board
>> if i set radeon.modeset=1  nouveau.modeset=0 Xorg -configure dont found
>> the radeon board
> 
> Xorg -configure has various known issues and shouldn't be used anymore.
> Xorg is normally able to automatically detect and use all GPUs in a
> system without any xorg.conf file.
> 
> 
>> if i set radeon.modeset=0  nouveau.modeset=0 no video working ... no tty
>> too ;-)
> 
> That disables both kernel drivers, which are required for fbcon and Xorg.
> 
> 
>> On P5020
>> last of my test is this machine with a  radeon hd 7770 core edition
>> if radeon drv is running the system run in softpipe mode and i face many
>> drm errors and fence issue.
>> i atteched the dmesg files.
> 
> Which kernel version are you testing? There were some fixes in 4.4/4.5
> which may help for the kernel driver issues, but note that the Mesa
> radeonsi driver for >= 7xxx Radeons still needs a lot of work to be
> usable on big endian systems.
> 
> 
> -- 
> Earthling Michel Dänzer   |   http://www.amd.com
> Libre software enthusiast | Mesa and X developer
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

radeonhd and xorg issues on powerpc p5020 and G5

2016-04-22 Thread luigi burdo
Hello devs,
during  my testing on ppc hardware  im facing issue with xorgs and radeon hd
on varisys/Aeon Cyrus+ P5020 machine and on Quad G5 hardware too.

On Quad G5 with 2 video boards
if i set radeon.modeset=1  nouveau.modeset=1 Xorg -configure dont found at all 
the video boards 
if i set radeon.modeset=0  nouveau.modeset=1 Xorg -configure dont found the 
nouveau board 
if i set radeon.modeset=1  nouveau.modeset=0 Xorg -configure dont found the 
radeon board 
if i set radeon.modeset=0  nouveau.modeset=0 no video working ... no tty too ;-)

On P5020
last of my test is this machine with a  radeon hd 7770 core edition
if radeon drv is running the system run in softpipe mode and i face many drm 
errors and fence issue.
i atteched the dmesg files.


If something else is needed ask without any problems

Thanks 
Luigi
  

dmesg.tar.gz
Description: GNU Zip compressed data
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: Freescale P5020 cpu will be kvm-pr?

2016-03-19 Thread luigi burdo
Hi Scott,
thank you very much for your infos are really appreciated
because let me know better this hardware 

Kind regards
Luigi Burdo
AmigaOne X5000
beta Tester




> From: o...@buserror.net
> To: intermedi...@hotmail.com
> Date: Thu, 17 Mar 2016 11:23:10 -0500
> Subject: Re: Freescale P5020 cpu will be kvm-pr?
> CC: linuxppc-dev@lists.ozlabs.org; matt...@a-eon.com; cont...@a-eon.com; 
> chzigot...@xenosoft.de
> 
> On Thu, 2016-03-17 at 14:38 +0100, luigi burdo wrote:
> > Hi Scott,
> > this is my Kernel 4.5 dmesg 
> > 
> > dmesg | grep -i MMU
> > [0.00] MMU: Supported page sizes
> > [0.00] MMU: Book3E HW tablewalk not supported
> > [0.00] mmu_features  = 0x000a0010
> > [0.00] MMU: Allocated 2112 bytes of context maps for 255 contexts
> > 
> > dmesg | grep -i e500
> > [0.001787] e500 family performance monitor hardware support registered
> > 
> > 
> >  dmesg | grep -i hypervisor
> > 
> > [0.396726] ePAPR hypervisor byte channel driver
> > [3.240020] Freescale hypervisor management driver
> > [3.240024] fsl-hv: no hypervisor found
> 
> None of these messages are a problem.
> 
> "Book3E HW tablewalk" is for e6500, not e5500.  fsl-hv is for the Freescale
> Embedded Hypervisor (Topaz), not KVM.
> 
> 
> > i attached my kenrel .config
> > 
> > My qemu-ppc-64 crash, note i have the same crash 
> > 
> > qemu: fatal: This KVM version does not support PAPR
> 
> You need to tell QEMU to use the appropriate CPU type (e5500) and platform
> (ppce500).  PAPR is for book3s, which is what QEMU defaults to.
> 
> -Scott
> 
> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Freescale P5020 cpu will be kvm-pr?

2016-03-18 Thread luigi burdo
hi scott,
i will send the logs for sure will be more understendable compared my 
self learned english.


> Il giorno 17 mar 2016, alle ore 04:47, Scott Wood <o...@buserror.net> ha 
> scritto:
> 
>> On Wed, 2016-03-16 at 07:24 +0100, luigi burdo wrote:
>> hi Scott,
>> the P5020 mmu is signed by the kernel no book3e found
> 
> I don't understand this sentence.
> 

i have this in the dmesg no mmu book3e found  will write the exact message too.
>> kvm ppc64 crash if run by qemu.
> 
> You didn't show that log.
> 

i will seend it too

>> in the kernel( 4.5 too)all is enabled we had a base .config by freescale/nix
>> where kvm options and book3e  where enabled.
> 
> You should start with corenet64_smp_defconfig, and enable KVM options plus
> PPC_QEMU_E500.
> 
yes it is enabled in the kernel config but  i have a exit with crash
>> my suspect is this can be an generated issue by  the host uboot
> 
> Host U-Boot has nothing to do with KVM.
> 
good to know, i had this suspect only because we have to force the booting with 
mem=3500M the uboot is a 2014 version.

>> or a missed tdb parameter and not a linux kernel problem.
> 
> What is tdb?
> 
sorry ipad bad typing tdb is the 5020.dtb 
> -Scott
> 
thanks for your time
luigi

Inviato da iPad

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Freescale P5020 cpu will be kvm-pr?

2016-03-16 Thread luigi burdo
hi Scott,
the P5020 mmu is signed by the kernel no book3e found 
kvm ppc64 crash if run by qemu.
in the kernel( 4.5 too)all is enabled we had a base .config by freescale/nix 
where kvm options and book3e  where enabled.
my suspect is this can be an generated issue by  the host uboot or a missed tdb 
parameter and not a linux kernel problem.
Just was need an expert point of view .
thanks for your time
luigi burdo

Inviato da iPad

> Il giorno 15 mar 2016, alle ore 23:37, Scott Wood <o...@buserror.net> ha 
> scritto:
> 
>> On Thu, 2016-03-10 at 11:22 +0100, luigi burdo wrote:
>> Hi Scott,
>> sorry for late reply in this last few days  i become another time father .
>> In any way for better explain the issue i attached my dmesg log
>> probably will make understand better than my poor english
>> 
>> Thanks for your time
>> Luigi Burdo
>> AmigaOne X5000 beta tester
> 
> Please don't top-post.
> 
> Is there anything particular about that log that you are concerned about?
> 
> -Scott
> 
> 
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: Freescale P5020 cpu will be kvm-pr?

2016-03-10 Thread luigi burdo
Hi Scott,
sorry for late reply in this last few days  i become another time father .
In any way for better explain the issue i attached my dmesg log
probably will make understand better than my poor english

Thanks for your time
Luigi Burdo
AmigaOne X5000 beta tester 


From: intermedi...@hotmail.com
To: o...@buserror.net; linuxppc-dev@lists.ozlabs.org
Subject: RE: Freescale P5020 cpu will be kvm-pr?
Date: Wed, 9 Mar 2016 01:27:00 +0100
CC: matt...@a-eon.com; cont...@a-eon.com; chzigot...@xenosoft.de




Hi Scott, thanks for the reply,about: I don't know what you mean by "working 
only on emb side".thru qemu 2.5 i can use only ppcemb as kvm not ppc64 or ppc 
Dont have the Kvm-pr is a really unhappy news, it means we will not have the 
opportunity to run for example Mol-kvm on  this machine.
about:KVM for e5500 uses hardware hypervisor featureslook like hypervisor is 
disabled because the main Hardware is too young and need a better knowledge.

Thanks for your time and infos
Luigi

> From: o...@buserror.net
> To: intermedi...@hotmail.com; linuxppc-dev@lists.ozlabs.org
> Date: Tue, 8 Mar 2016 18:10:05 -0600
> Subject: Re: Freescale P5020 cpu will be kvm-pr?
> CC: matt...@a-eon.com; cont...@a-eon.com; chzigot...@xenosoft.de
> 
> On Mon, 2016-02-29 at 20:03 +0100, luigi burdo wrote:
> > Hi all,
> > sorry for this email but i need to ask to  Alexander Graf and Michael
> > Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020
> > cpu . 
> 
> KVM for e5500 uses hardware hypervisor features.  PR-mode KVM is not
> supported.  Nested KVM is not supported.
> 
> > We are testing a new desktop machine with this powerpc cpu classes
> > and right now we see kvm under qemu is working only on emb side, this
> > because the kernel
> > set the e5500 cpu as a emb and there is no an option for build the kernel
> > with book3s.
> 
> p5020 uses an e5500 core which is book3e.  You cannot use a book3s kernel with
> it.  Why would you want to?
> 
> I don't know what you mean by "working only on emb side".
> 
> -Scott
> 
> 
> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
  

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev  
  

dmsg
Description: Binary data
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: Freescale P5020 cpu will be kvm-pr?

2016-03-08 Thread luigi burdo
Hi Scott, thanks for the reply,about: I don't know what you mean by "working 
only on emb side".thru qemu 2.5 i can use only ppcemb as kvm not ppc64 or ppc 
Dont have the Kvm-pr is a really unhappy news, it means we will not have the 
opportunity to run for example Mol-kvm on  this machine.
about:KVM for e5500 uses hardware hypervisor featureslook like hypervisor is 
disabled because the main Hardware is too young and need a better knowledge.

Thanks for your time and infos
Luigi

> From: o...@buserror.net
> To: intermedi...@hotmail.com; linuxppc-dev@lists.ozlabs.org
> Date: Tue, 8 Mar 2016 18:10:05 -0600
> Subject: Re: Freescale P5020 cpu will be kvm-pr?
> CC: matt...@a-eon.com; cont...@a-eon.com; chzigot...@xenosoft.de
> 
> On Mon, 2016-02-29 at 20:03 +0100, luigi burdo wrote:
> > Hi all,
> > sorry for this email but i need to ask to  Alexander Graf and Michael
> > Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020
> > cpu . 
> 
> KVM for e5500 uses hardware hypervisor features.  PR-mode KVM is not
> supported.  Nested KVM is not supported.
> 
> > We are testing a new desktop machine with this powerpc cpu classes
> > and right now we see kvm under qemu is working only on emb side, this
> > because the kernel
> > set the e5500 cpu as a emb and there is no an option for build the kernel
> > with book3s.
> 
> p5020 uses an e5500 core which is book3e.  You cannot use a book3s kernel with
> it.  Why would you want to?
> 
> I don't know what you mean by "working only on emb side".
> 
> -Scott
> 
> 
> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Freescale P5020 cpu will be kvm-pr?

2016-02-29 Thread luigi burdo
Hi all,sorry for this email but i need to ask to  Alexander Graf and Michael 
Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020 
cpu . We are testing a new desktop machine with this powerpc cpu classesand 
right now we see kvm under qemu is working only on emb side, this because the 
kernelset the e5500 cpu as a emb and there is no an option for build the kernel 
with book3s.

here are the new machine specs:http://www.vincentperkins.com/AmigaNG/x5000.php 
Thanks for your time and sorry for my English
Luigi BurdoA-eon X5000 Beta Tester 
  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: PowerPC agpmode issues

2016-02-09 Thread luigi burdo
Mike and Gerhard, dont think the situation of the pcie powerpc is bettrer.but 
compared with last years with the new kernels and last xorg on a radeonhd 4650 
i have an increase of performance about 250x ... example QuakeSpasm was gaving 
640x480157fps on Radeon 4650... Now is 380 fps yes compared the old nvida 
7800gtx on Osx  450 fps this results are less but for sure better than before.
The worst of last period im facing r600 radeon ring test errors and  i cant 
usewith gpu accel now only in fbdev the 5450 and 6570 that it was perfect 
working before.
Luigi

> From: gerhard_pirc...@gmx.net
> To: michael.hel...@gmail.com
> Subject: Re: PowerPC agpmode issues
> Date: Tue, 9 Feb 2016 12:52:15 +0100
> CC: aneesh.ku...@linux.vnet.ibm.com; mic...@daenzer.net; 
> linuxppc-dev@lists.ozlabs.org; reinhard.bo...@googlemail.com; 
> bobby.pr...@gmail.com
> 
> > On 9 Feb 2016 03:27, "Mike"  wrote:
> > Ok, so its quirks to be added then? Something not implemented in KMS
> > that was in UMS?
> > Reports are that the same issue exsist on PPC Amiga Ones with a VIA
> > chipset, and the Pegasos 2 with the Artica s chipset, i posted a
> > mail from detailiing that.
> Just to avoid some confusion:
> Old long story short: the issues for AmigaOnes and the Pegasos _1_ with
> ArticiaS northbridge and VIA southbridge are that:
> 1. the AGP controller corrupts data transfers in AGP mode (also depending
> on the AGP HW request queue size). So there is no official AGP driver that
> would require radeon.agpmode=-1. The microA1 is supposed to have a fix
> for this HW data corruption, but I yet have to dig out my ArticiaS AGP
> driver code for some test runs...
> 2. At least the AmigaOne with ArticiaS chip need non-coherent DMA
> allocations and/or proper cache flushes to avoid corrupted DMA transfers.
> 
> Nonetheless I had DRI1 working _only_ on my A1SE under Debian Squeeze (i.e.
> glxgears could run on the desktop with hardware acceleration), but DRI2
> with its very dynamic GART mapping is a no-go on every first-gen AmigaOne
> machine, even if the GART driver test (radeon.test=1) runs through in
> PCIGART mode (could it be that it uses a more or less static GART mapping
> for the test?).
> 
> > Sure that might be it, but i get different results trying agpmode=1-2-4,
> > 2 gave a noisy screen before the hard crash. i find it rather impossible
> > to debug at all as the crash happens so fast no logs seem to be written..
> > I think i would need serial...
> > I'd personally love nothing more then to see support restored and a
> > default as expected working condition ought be the minimum requirement.
> > I use a powerbook a1106, 5,6. With a 5,8 on the way. Those are the last
> > two revision powerbooks in the 15" series. In swrast they become useless,
> > impossible to use for any productivity. Most people trying to use linux
> > on ppc for personal use come in macs, with the exception of the Amiga PPC
> > crowd now running their amcc 440/460ex or e600 based x500/5000, all of
> > which have of course pci-e more cores and more threads. Yet struggle even
> > with regressions left and right to keep up with the single core performance
> > of the G4's. Sure it's pushing 10 years , but it's the only alternative
> > if one wishes to remain mobile.
> swrast definitely isn't fun on 10 years old PPC machines. Current Firefox
> is already slow enough on these machines... :-)
> 
> > On 9 Feb 2016 02:41, "Michel Dänzer"  wrote:
> > > On 08.02.2016 22:28, Mike wrote:
> > > Certainly 750~800 fps in glxgears vs 3000+ in debian squeeze, i cant
> > > bring myself to say that it's an acceptable situation no matter how
> > > tired i am of the problem knowing how well the setup could do. It's
> > > clear that the implementation is broken for everything but x86, [...]
> > 
> > Why is that? It was working fine on my last-gen PowerBook. AFAIK Darwin
> > / OS X never used anything but a static AGP GART mapping though, so it
> > seems very likely that the issues with older UniNorth revisions are
> > simply due to the hardware being unable to support the usage patterns of
> > modern GPU drivers.
> > 
> > That said, if you guys have specific suggestions for a "proper"
> > solution, nobody's standing in your way.
> I have to admit that I lack the knowledge of the inner workings of the
> TTM/radeon code (and its TTM AGP backend) to do any useful work here.
> I was hoping that the TMA DMA allocator could be of any help at least for
> non-cache coherent machines given that (IIRC) ARM is using it together
> with the nuoveau driver on the TEGRA platform, but I guess that would need
> some modifications also on the powerpc architecture side (maybe a new
> non-coherent DMA allocator that is not limited to 2M virtual address space
> for mappings). Thus I guess a lot of things could be improved/fixed, but
> nowadays Linux code doesn't seem to be something for the "occasional hobby
> hacker". :-)
> 
> regards,
> Gerhard
> 

Re: [opensuse-ppc] HELP: test kernel patches on the real thing

2015-04-23 Thread Luigi Burdo
Jo guys
i can try if you need to help.
I have a Quad G5 with RadeonHd on it ... Opensuse 13.2 is running on it
on Qemu 64 Kvm machine hosted by Lubuntu 14.04

On 23/04/15 17:37, Wolfram Sang wrote:
 On Mon, Apr 20, 2015 at 08:43:24PM -0400, larrystot...@netscape.net wrote:
 -Original Message-
 From: Wolfram Sang w...@the-dreams.de
  
 Quoted from the opensuse-ppc mailing list

 I'm Wolfram Sang, maintainer of the I2C subsystem of the Linux Kernel. I
 want to get rid of an ancient mechanism in the I2C core which was used in 
 the
 2.4 era. There are only two users left; drivers for old Macintosh computers 
 I
 don't have access to. So, I tried to emulate the behaviour on an ARM board 
 and
 wrote a replacement for the old mechanism which works fine here. Now, I 
 wonder
 if there are people willing to test these patches on the real thing? This 
 would
 be much appreciated!
 I have a bunch of older macs but none currently has linux and/or a current 
 version of linux on them.  

 What models do you need tested?  Can you point me to a quick easy to install 
 distro?  I usually use openSUSE but I think Fedora has a ppc port now as 
 well.

 I only have 32bit macs.  I have:

 iMac DV 400Mhz
 PowerMac G4 Digital Audio 466Mhz
 2 - PowerMac G3 Blue  Whites (one with a G4 I THINK).
 PowerMac 9600
 PowerMac 9500
 PowerMac 6500
 PowerMac 6400
 PowerMac G3 All In One Beige.
 PowerBook G3 Wallstreet
 Thank you for the offer! I am still in the process to find out which
 machines are windtunnel and which ones are keywest. I thought this
 would be easy once I found some Mac owners, but seems I was wrong...

 I'll let you know if one of your machines could become useful.

 Thanks again,

Wolfram



 ___
 Linuxppc-dev mailing list
 Linuxppc-dev@lists.ozlabs.org
 https://lists.ozlabs.org/listinfo/linuxppc-dev

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

FW: Finally Working RadeonHD 6570 2Gb on Quad G5

2015-03-29 Thread luigi burdo


just need to share to developer the success we face today
the Tursk is running in full 2D and 3D on Linux PPC (lubuntu 14.04.2 kernel 
4.0.0-rc3) on Quad G5 
Need to say a big thankyou to Christian (Xeno74)  Zigotzky

I share a  video for the community 
https://www.youtube.com/watch?v=MYgFfRLYhLUlist=UUkb4bw4N19d-x_tn2FXLojQ



Great Job to all the devs!

Luigi

  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

ld: unrecognised emulation mode: -T

2015-02-11 Thread luigi burdo
Sorry for this email . but im facing this error 
when try to build the kernel 3.19 

  ld: unrecognised emulation mode: -T 


before with 3.19rc7 everything was build right without issues .

Im using the Ubuntu Mate 14.04 on Quad G5 
Gcc 4.8.2 

Thanks and sorry 
Luigi Burdo


  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: PowerMac G5 Quad Issue reporting

2015-01-21 Thread luigi burdo
Hi Mike, thank you for your reply .
yes im sorry i was fixed the issue yesterday night,
forcing the module  i2c_powermac loaded from etc/modules
stange it was not loaded by default like it was before.
in any way *fixed :-)

About the RadeonHD , yes you are true, have the Mesa/Gallium 
working is problematic but what is not problematic in the good ppc world ? :-)

Right now im using the software resterized i didnt had the time
to check everythings regarding the gpu because i was need 
first fix the turbine noise in my home made by powermac (or my wife had been 
kill me)
The good thing i see all the firmware -nonfree loaded without errors 
before not and with lubuntu 14.04ts i dint have a good rasterizing too on 
6570hd.
Forget to mention, before for have the radeonhd working on g5 quad i was need 
the X1900gt in couple with 4xxx and 6xxx hd,
now im using it in couple with and Nvidia with apple firmware. i think this is 
the best advance for make people 
from the ppc apple community swap finnally their gpu.
I hope soon will be able to have the mesa gallium working there for advance the 
communty .

here couple of screenshots.

http://i1249.photobucket.com/albums/hh511/tlosm/BenchmarkG5/1_zps025bc7ed.jpg

http://i1249.photobucket.com/albums/hh511/tlosm/BenchmarkG5/2_zps84cf4cac.jpg

http://i1249.photobucket.com/albums/hh511/tlosm/BenchmarkG5/3_zpsfded5971.jpg


Need to Notice to  Alexander Graf the Kvm and Kvm-pr are running great too.

Thank you very mutch to all the LinuxPPC Devs 

Luigi Burdo


 Date: Wed, 21 Jan 2015 15:39:50 +0900
 From: mic...@daenzer.net
 To: intermedi...@hotmail.com
 Subject: Re: PowerMac G5 Quad Issue reporting
 CC: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org
 
 On 20.01.2015 20:52, luigi burdo wrote:
  Hello all LinuxPPc Developer,
  need to report a issue that im facing from kernel 3.16 and up.
  
  The fans of powermac g5 quad start boosting like a turbo jet after the
  system is
  been loaded and up.
  Usually this become after about 30-60 seconds when the system is loaded.
 
 You need to load the i2c_powermac kernel module.
 
 
  Need to report to Michel D. from amd.com . The RadeonHD 6570 now is
  working on PowerMac G5 too
  look like the Xorg bigendian  issue related Evergreen / Northern  is
  been fixed ;-)
 
 Xorg itself has always been working, only OpenGL can be problematic.
 Have you verified r600_dri.so is used for that?
 
 
 -- 
 Earthling Michel Dänzer   |   http://www.amd.com
 Libre software enthusiast | Mesa and X developer
 ___
 Linuxppc-dev mailing list
 Linuxppc-dev@lists.ozlabs.org
 https://lists.ozlabs.org/listinfo/linuxppc-dev
  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

PowerMac G5 Quad Issue reporting

2015-01-20 Thread luigi burdo
Hello all LinuxPPc Developer,
need to report a issue that im facing from kernel 3.16 and up.

The fans of powermac g5 quad start boosting like a turbo jet after the system 
is 
been loaded and up. 
Usually this become after about 30-60 seconds when the system is loaded.
This issue start with Xorg loaded or only in teminal system (gdm3 not loaded)
This issue come with system load with minimum cpu usage  5%  and less too.
During the closing of the system (reboot) the fans goes in right silents mode.


I had been tested and compiled the kernel with all the modules of fan controls 
for Apple G5 
without a positive result.
Kernel tested 3.16.ctk2 (debian wheezy 7.8), 3.18.3 and  3.19.rc5
Im using Debian Wheezy 7.6 (up 7.8) PPC on Quad G5 (970mp) Nvidia 7800gtx and 
RadeonHD 6570

Dont face this issue with old kernels version 3.10.65 and pre
(didnt test the 3.12 and 3.14) 

Need to report to Michel D. from amd.com . The RadeonHD 6570 now is working on 
PowerMac G5 too
look like the Xorg bigendian  issue related Evergreen / Northern  is been fixed 
;-)


Thanks alot for your jobs guys
Hope soon i will able to help in X5000 hardware too 
PPC Rulez ... and sorry for my perfect english
Luigi Burdo   ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

PowerMac G5 Quad Issue reporting

2015-01-20 Thread luigi burdo
Hello all LinuxPPc Developer,
need to report a issue that im facing from kernel 3.16 and up.

The fans of powermac g5 quad start boosting like a turbo jet after the system 
is 
been loaded and up. 
Usually this become after about 30-60 seconds when the system is loaded.
This issue start with Xorg loaded or only in teminal system (gdm3 not loaded)
This issue come with system load with minimum cpu usage  5%  and less too.
During the closing of the system (reboot) the fans goes in right silents mode.


I had been tested and compiled the kernel with all the modules of fan controls 
for Apple G5 
without a positive result.
Kernel tested 3.16.ctk2 (debian wheezy 7.8), 3.18.3 and  3.19.rc5
Im using Debian Wheezy 7.6 (up 7.8) PPC on Quad G5 (970mp) Nvidia 7800gtx and 
RadeonHD 6570

Dont face this issue with old kernels version 3.10.65 and pre
(didnt test the 3.12 and 3.14) 

Need to report to Michel D. from amd.com . The RadeonHD 6570 now is working on 
PowerMac G5 too
look like the Xorg bigendian  issue related Evergreen / Northern  is been fixed 
;-)


Thanks alot for your jobs guys
Hope soon i will able to help in X5000 hardware too 
PPC Rulez ... and sorry for my perfect english
Luigi Burdo
  ___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: G5 Quad working with Linux PPC and RadeonHD

2014-05-17 Thread Luigi Burdo

Hi Michel Dänzer thanks for your explanation about .
About the first post

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

Christian (Xeno74) had been success to have the right mesa/gl colors on
X1000 machine he make a patch about , i tested his package on QuadG5
but no effect probably something is different in kernel/hardware (?!?)

about the second
on X1000 r600 boards dont gave decoration problems
there is probably needed some other trick about
for the other architecture.

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


In any way thanks alot for the infos and for the works
the PPC linux staff is doing :)

Luigi

Il 17/05/14 05:53, Michel Dänzer ha scritto:

On 16.05.2014 19:31, Luigi Burdo wrote:

Hi all i start one week ago to write massage in ubuntu about
my object i have  Radeon Hd working on my Quad G5 thanks to linuxPPC .

But there are some things to fix
One RadeonHD mesa colors are wrong .

See https://bugs.freedesktop.org/show_bug.cgi?id=72877 . No progress yet
unfortunately.



On RadeonHD 4650 ddr3 512mb i have full video acceleration and hdmi
audio working
On RadeonHD 6570 ddr3 2048mb i have video but no chars on windows and
icons .

The latter sounds like
https://bugs.freedesktop.org/show_bug.cgi?id=74939 , which is fixed in
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=8da17f30c70f4494ce22ad781a1cee17041812f3
.




___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

G5 Quad working with Linux PPC and RadeonHD

2014-05-16 Thread Luigi Burdo

Hi all i start one week ago to write massage in ubuntu about
my object i have  Radeon Hd working on my Quad G5 thanks to linuxPPC .

But there are some things to fix
One RadeonHD mesa colors are wrong .

On RadeonHD 4650 ddr3 512mb i have full video acceleration and hdmi 
audio working
On RadeonHD 6570 ddr3 2048mb i have video but no chars on windows and 
icons .


this is my thread on ubuntu forum Apple User in lubuntu
there are all my experieces and the bugs found ...
too much things to write on a single email


http://ubuntuforums.org/showthread.php?t=2221421page=6


Thanks for all !
Luigi
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev