Re: [PATCH]: Add support for Apple Power Mac

2020-05-18 Thread Rui Salvaterra
Hi, Adrian, On Mon, 18 May 2020 at 21:47, John Paul Adrian Glaubitz wrote: > > I remember running into this issue as well and I think it occurred > when running the command on a Debian Jessie system or so. > > What kind of environment are you running the command in? Indeed, I just invoked ofpath

Re: [PATCH]: Add support for Apple Power Mac

2020-05-18 Thread John Paul Adrian Glaubitz
Hello Rui! On 5/18/20 10:26 PM, Rui Salvaterra wrote: > I tried to run ofpathname as-is, and it seems to work, apart from that > I/O error with find…? I haven't tested your patches, but here's the > output I'm getting (lsblk for context), when compared to my > boot-device entry on the NVRAM… > (..

Re: [PATCH]: Add support for Apple Power Mac

2020-05-18 Thread Rui Salvaterra
Hi, Adrian, On Sun, 17 May 2020 at 11:33, John Paul Adrian Glaubitz wrote: > > Any chance someone could have a look at this? > I tried to run ofpathname as-is, and it seems to work, apart from that I/O error with find…? I haven't tested your patches, but here's the output I'm getting (lsblk for

Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Rui Salvaterra
On Mon, 18 May 2020 at 18:15, Christophe Leroy wrote: > > Yeah I discovered recently that the way swap is implemented on powerpc > expects RW and other important bits not be one of the 3 least > significant bits (see __pte_to_swp_entry() ) I see, you get the swap entry by shifting the PTE right t

Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Christophe Leroy
Le 18/05/2020 à 17:19, Rui Salvaterra a écrit : Hi again, Christophe, On Mon, 18 May 2020 at 15:03, Christophe Leroy wrote: Can you try reverting 697ece78f8f749aeea40f2711389901f0974017a ? It may have broken swap. Yeah, that was a good call. :) Linux 5.7-rc1 with the revert on top surviv

Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Rui Salvaterra
Hi again, Christophe, On Mon, 18 May 2020 at 15:03, Christophe Leroy wrote: > > Can you try reverting 697ece78f8f749aeea40f2711389901f0974017a ? It may > have broken swap. Yeah, that was a good call. :) Linux 5.7-rc1 with the revert on top survives the beating. I'll be happy to test a definitive

Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Christophe Leroy
Hi On 05/18/2020 01:25 PM, Rui Salvaterra wrote: Hi, Christophe, On Mon, 18 May 2020 at 12:50, Christophe Leroy wrote: Can you provide your .config, tell which GCC version you are using, and tell a bit more about your config: amount of RAM, is there swap, etc ... Ok, so this laptop has 1.5

Re: [Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Christophe Leroy
Hi, Le 18/05/2020 à 13:20, Rui Salvaterra a écrit : [Resending since I messed up the subject, sorry] Hi, everyone, Something went wrong between Linux 5.6 and 5.7-rc1. This is an iBook G4 laptop with 1.5 GiB of RAM running the Debian powerpc port. I haven't bisected yet, since it's going to tak

[Regression 5.7-rc1] Random hangs on 32-bit PowerPC (PowerBook6,7)

2020-05-18 Thread Rui Salvaterra
[Resending since I messed up the subject, sorry] Hi, everyone, Something went wrong between Linux 5.6 and 5.7-rc1. This is an iBook G4 laptop with 1.5 GiB of RAM running the Debian powerpc port. I haven't bisected yet, since it's going to take quite a bit of time, so I'm sending this mostly as a