Re: The end of my Ultrasparc 5?!?

2018-01-26 Thread Petr Vorel
Hi Adrian, > > Interesting behaviour :-). So the problem is somewhere in > > btrfs_scan_devices() [1], [2]. > > Are you avare about any bug report of this behavior? I haven't found it in > > btrfs-progs > > issues list [3] nor in kernel bugzilla BTRFS issues. > No, I never bothered reporting

Re: The end of my Ultrasparc 5?!?

2018-01-25 Thread Petr Vorel
Hi Adrian, > I've seen that on my Amiga 4000 as well. > The problem is that btrfs tries to determine whether a block device is > a hard drive or not and if the block device driver misses a certain > flag (e.g. removable) it will just scan forever. > In the case of my Amiga, the btrfs module was

Re: Test atomic operations on SPARC 32-bit

2017-12-10 Thread Petr Vorel
Hi Romain, James, Thank you for great explanation and resources, I'm not experienced in SPARC. But I tested it on V9, so I guess I need to find V7 or V8 machine. Although the perfect solution would be a code which runs also in V9 32-bit chroot, it will be enough to have SPARC32 implementation

Re: Test atomic operations on SPARC 32-bit

2017-12-09 Thread Petr Vorel
Hi Romain, > 2017-12-09 0:45 GMT+01:00 Petr Vorel <petr.vo...@gmail.com>: > > > Nice, thanks a lot! I might use kernel implementation, but this is handy. > > (...) > > I need threads only, no shmem... > > The lib was designed to support GCC 4.8 (IIRC) and

Re: Test atomic operations on SPARC 32-bit

2017-12-08 Thread Petr Vorel
Hello, > >> In any case, the Gentoo people are still on 32-Bit SPARC. You might ask > >> there > >> first (see #gentoo-sparc on Freenode). Otherwise, we will have to create a > >> 32-Bit chroot for you but that would probably take a bit longer. > > OK, I'll ask them and if not works I'll come

Re: Test atomic operations on SPARC 32-bit

2017-12-08 Thread Petr Vorel
Hi Romain, > As mentioned by someone else, v7 and v8 do not have them as hardware > instruction. They were introduced in v9 and its 32 bits sibling, v8+. As I wrote, yep v8 => I need to emulate implementation. > You can emulate them in many ways, including with a trivial global > lock using the

Re: Test atomic operations on SPARC 32-bit

2017-12-08 Thread Petr Vorel
Hi Adrian, > On 12/09/2017 12:21 AM, Petr Vorel wrote: > >> I'm asking because atomic operations were only added with SPARCv8+ and > >> later. > > SPARCv8 would be enough as SPARCv7 is dead. So still no hw support. > From what I have heard, SPARCv7 should ac

Re: Test atomic operations on SPARC 32-bit

2017-12-08 Thread Petr Vorel
Hi Adrian, > On 12/08/2017 10:32 PM, Petr Vorel wrote: > > I'm sorry to ask a question here which is not directly related to Debian, > > it just about > > SPARC 32-bit. > > Does anyone have SPARC 32-bit machine and would be willing to allow to give > > me

Re: Cannot login into sparc64 Debian port in qemu

2017-05-12 Thread Petr Vorel
Hi Adrian, Mark, > Yeah I've been trying to dig into the bochs_drm issue recently. I > recently posted some tips on qemu-devel which might be useful: > https://lists.nongnu.org/archive/html/qemu-devel/2017-05/msg00045.html. Thank you both for your tips! Kind regards, Petr

Cannot login into sparc64 Debian port in qemu

2017-05-12 Thread Petr Vorel
Hi there, sorry for asking for help with very basic question. I've installed Debian debian-9.0-sparc64-NETINST-1.iso in qemu, which was successful: qemu-system-sparc64 -hda debian-unstable-sparc64.qcow2 -cdrom debian-9.0-sparc64-NETINST-1.iso -boot once=d -serial pty -nographic -m 160 But