Re: nfhd performance

2013-08-20 Thread Petr Stehlik
Geert Uytterhoeven píše v Pá 16. 08. 2013 v 23:57 +0200: In a kernel that has both IDE and nfhd support, once everything is in the buffer cache, I get: atari:~# dd if=/dev/hda2 bs=1M of=/dev/null 141114880 bytes (141 MB) copied, 5.91 seconds, 23.9 MB/s atari:~# dd if=/dev/nfhd8p2 bs=1M

Re: nfhd performance

2013-08-17 Thread Petr Stehlik
Geert Uytterhoeven píše v Pá 16. 08. 2013 v 23:57 +0200: 141114880 bytes (141 MB) copied, 17.09 seconds, 8.3 MB/s So nfhd is slower than emulated IDE? nfhd is something like IDE with DMA (if everything is in buffer cache then it's doing basically just a memcpy() from cache to the destination

Re: [PATCH] make NatFeat drivers bool, not tristate

2013-07-24 Thread Petr Stehlik
Geert Uytterhoeven píše v St 24. 07. 2013 v 16:56 +0200: The problem is that aranym expects the parameters of the natfeat calls to be physical addresses. The nf_get_id calls use literal strings as parameters which only works when the drivers are builtin because phys == virt then.

Re: [PATCH] make NatFeat drivers bool, not tristate

2013-07-24 Thread Petr Stehlik
Geert Uytterhoeven píše v St 24. 07. 2013 v 18:19 +0200: On Wed, Jul 24, 2013 at 5:02 PM, Petr Stehlik psteh...@sophics.cz wrote: ARAnyM hackers: What's the maximum size of ID names? There isn't any given limit AFAIK, it's based on a common sense when creating a new NatFeat name

Re: new ARAnyM with better FPU

2012-03-29 Thread Petr Stehlik
Andreas Schwab píše v Út 27. 03. 2012 v 17:24 +0200: Geert Uytterhoeven ge...@linux-m68k.org writes: aranym_0.9.13-1.lucid.mpfr4_amd64.deb: du fails with memory exhausted, just like in 0.9.9. Stupid portability bug, fixed now. The fix is in aranym_0.9.13-1.1 packages (Debian and

ARAnyM 0.9.13 with MPFR even for Lucid

2012-03-23 Thread Petr Stehlik
Geert Uytterhoeven píše v St 21. 03. 2012 v 16:08 +0100: On Wed, Mar 21, 2012 at 14:41, Petr Stehlik psteh...@sophics.cz wrote: I am wondering if it is worth backporting the libmpfr and making new ARAnyM packages for 10.04 when the 12.04 is to be released in a month. Indeed, next month

Re: new ARAnyM with better FPU

2012-03-21 Thread Petr Stehlik
Thorsten Glaser píše v St 21. 03. 2012 v 09:07 +: ARAnyM Debian maintainer is working on updating the package in Debian sid as well. OK, great. I’ll wait for that, upgrade the box with sid on it and will backport to *shudder* hardy Well, beware: Ubuntu 10.10 (including the 10.04 LTS

Re: new ARAnyM with better FPU

2012-03-21 Thread Petr Stehlik
Geert Uytterhoeven píše v Wed 21. 03. 2012 v 11:08 +0100: Well, beware: Ubuntu 10.10 (including the 10.04 LTS Lucid Lynx) does not have the necessary libmpfr3+. That also means that the Ubuntu Lucid packages I have prepared at http://sourceforge.net/projects/aranym/files/aranym/0.9.12/

Re: new ARAnyM with better FPU

2012-03-21 Thread Petr Stehlik
Geert Uytterhoeven píše v Wed 21. 03. 2012 v 16:08 +0100: On Wed, Mar 21, 2012 at 14:41, Petr Stehlik psteh...@sophics.cz wrote: I am wondering if it is worth backporting the libmpfr and making new ARAnyM packages for 10.04 when the 12.04 is to be released in a month. Indeed, next month

new ARAnyM with better FPU

2012-03-20 Thread Petr Stehlik
Hello there, I think you might be interested in the new ARAnyM release. The version 0.9.12 comes with a brand new FPU emulation core that should be precise because it's using the libmpfr, thanks to Andreas. Andreas also fixed CAS and CAS2 instructions that were behaving incorrectly in some

Re: [RFC] m68k: Update defconfigs

2012-01-05 Thread Petr Stehlik
Thorsten Glaser píše v St 04. 01. 2012 v 22:22 +: This is something I'd like to see, if it is possible from the hardware: ARAnym’s emulated parallel port for debugging is unidirectional (printing only), so, in headless mode, you get no console at all I'll gladly add bidirectional

Re: [Aranym-dev] [PATCH 0/4] m68k/atari: Add ARAnyM support

2011-02-06 Thread Petr Stehlik
Geert Uytterhoeven píše v Ne 06. 02. 2011 v 11:51 +0100: Questions: - Who should be listed as author for patches 1 and 4? initial authors are 1 - Petr Stehlik 4 - Milan Jurik, Petr Stehlik but of course Michael Schmitz a Roman Zippel updated and reworked the ARAnyM support in the linux

Re: [PATCH 3/4] m68k/atari: ARAnyM - Add support for console access

2011-02-06 Thread Petr Stehlik
Geert Uytterhoeven píše v Ne 06. 02. 2011 v 11:51 +0100: From: Roman Zippel zip...@linux-m68k.org Signed-off-by: Roman Zippel zip...@linux-m68k.org [geert] Cleanups and updates Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Petr Stehlik psteh...@sophics.cz Signed-off-by: Petr

Re: debian kernel m68k patches for 2.6.29

2009-04-16 Thread Petr Stehlik
Michael Schmitz píše v Čt 16. 04. 2009 v 01:38 +0200: What if I created a disk image with 15, 31, 63, 127, 255 and 511 MB partitions and sent it to you? Would you please list what partition sizes are mountable with _and_ without the Atari FAT patch that we are discussing here? That could

Re: debian kernel m68k patches for 2.6.29

2009-04-16 Thread Petr Stehlik
Michael Schmitz píše v Čt 16. 04. 2009 v 09:45 +0200: There's something wrong with the Atari FAT option code then - this is what I get with atari=yes on the first of your partitions (128MB?): 255 MB, IIRC (same sector/cluster size as 128 MB) FAT (before atari): FAT bits 0 clusters 32622

Re: debian kernel m68k patches for 2.6.29

2009-04-14 Thread Petr Stehlik
Michael Schmitz píše v Út 14. 04. 2009 v 10:26 +0200: At the very least, the default should be changed to atari=off on modern systems like the CT60: Why? How is the CPU accelerator related to disk filesystem? Only in so far as no one would want to use 16 or 32 MB partitions

Re: debian kernel m68k patches for 2.6.29

2009-04-14 Thread Petr Stehlik
Michael Schmitz píše v Út 14. 04. 2009 v 09:50 +0200: If someone could provide a disk image to test in ARAnyM, I'd be happy to give it a try. I could create a disk image for testing real quick. Say with 255, 511 and 1023 MB partitions? At the very least, the default should be changed to

Re: debian kernel m68k patches for 2.6.29

2009-04-14 Thread Petr Stehlik
Michael Schmitz píše v St 15. 04. 2009 v 03:25 +0200: BTW, does it mean that there is a problem with mounting small GEMDOS partitions in Linux (32 MB?)? And at the same time you can't mount larger partitions because of the logical sector size limit (511 MB)? Small partitions I can mount

Re: [PATCH] m68k: Add Eiffel PS/2 support for Atari mouse driver

2009-01-04 Thread Petr Stehlik
Michael Schmitz píše v Ne 04. 01. 2009 v 22:50 +0100: Note that I have yet to find out whether _releasing_ the middle mouse button on real Eiffel hardware does send the 0x37|0x80 scancode or not. This is unclear from the documentation so I am trying to get a definitive answer from someone

Re: [PATCH] m68k: Fix atarimouse init

2009-01-03 Thread Petr Stehlik
Michael Schmitz píše v Ne 04. 01. 2009 v 04:12 +0100: I have added it already. Can you use CVS version of ARAnyM? I've not tried to compile ARAnyM myself in a while, rather installed the latest Debian package as it becomes available. It's a matter of simple ./autogen.sh make but I

Re: [PATCH] m68k: Add Eiffel PS/2 support for Atari mouse driver

2009-01-03 Thread Petr Stehlik
Michael Schmitz píše v Ne 04. 01. 2009 v 08:15 +0100: The middle mouse button is mapped to scancode 0x37 (IIRC) while the mouse wheels are provided in IKBD status packet. I've written the first part of the Eiffel PS/2 mouse support, adding middle mouse button support based on the scancode

Re: [PATCH] m68k: Fix atarimouse init

2009-01-02 Thread Petr Stehlik
Andreas Schwab píše v Pá 02. 01. 2009 v 10:42 +0100: Hi Geert, The kernel says (ARAnyM, windowed mode): | Reseting weird mouse packet: 942, 379, 0 | Reseting weird mouse packet: 943, 379, 0 | Reseting weird mouse packet: 945, 378, 0 | Reseting weird mouse packet: 948, 378, 0 |

Re: [PATCH] m68k: Fix atarimouse init

2009-01-02 Thread Petr Stehlik
Michael Schmitz píše v Pá 02. 01. 2009 v 23:10 +0100: Weird - the inversion of the y direction increment is taken from the old busmouse driver code where it used to work OK. The point of reference is set to be at the top of the 'screen' so moving the mouse down ought to generate

Re: [PATCH] m68k: Fix atarimouse init

2009-01-02 Thread Petr Stehlik
Petr Stehlik píše v So 03. 01. 2009 v 06:53 +0100: Michael Schmitz píše v Pá 02. 01. 2009 v 23:10 +0100: Weird - the inversion of the y direction increment is taken from the old busmouse driver code where it used to work OK. The point of reference is set to be at the top

Re: [PATCH] atari aranym nfstderr, take 2

2008-01-15 Thread Petr Stehlik
Geert Uytterhoeven wrote: The speed doesn't seem to be drastically faster (only twice as fast last I tested with a simple dd). One reason may be that xhdi.cpp opens the file Twice as fast is still better... Speed is not the only advantage - I'd like the possibility of mapping physical host

Re: [PATCH] atari aranym nfstderr, take 2

2008-01-14 Thread Petr Stehlik
Geert Uytterhoeven wrote: BTW, I am amazed by simplicity of the patch and am wondering if it is similarly simple to write a disk driver (to avoid the IDE emulation in ARAnyM). It depends: what interface is available for accessing the virtual disk? Is this the one in xhdi.h? Yes. It closely

Re: [PATCH] atari aranym nfstderr, take 2

2008-01-14 Thread Petr Stehlik
Geert Uytterhoeven wrote: On Mon, 14 Jan 2008, Michael Schmitz wrote: I've started on that, and run into the issue on what to do with the various minors, i.e. partitions. Other than that, it looks pretty straightforward. Need to check other block drivers for that. Partitions are handled by

Re: [PATCH] atari aranym nfstderr, take 2

2008-01-13 Thread Petr Stehlik
Stephen R Marenka píše v So 12. 01. 2008 v 09:55 -0600: Hopefully this patch includes all the of feedback from the last one. This patch adds a character device driver to allow user space access to the aranym natfeats nfstderr. BTW, I am amazed by simplicity of the patch and am wondering if it

Re: aranym vs atafb

2008-01-01 Thread Petr Stehlik
Michael Schmitz píše v Út 01. 01. 2008 v 04:58 +0100: Regarding booter options: is there an option to load the kernel to FastRAM as opposed to ST-RAM, Petr? What is the default here? ARAnyM LILO doesn't have any options, AFAIK. IMHO the various options of ataboot (bootstrap) that allow/force

Re: [PATCH 08/68] 0 - NULL, for arch/m68k

2007-07-27 Thread Petr Stehlik
Yoann Padioleau wrote: When comparing a pointer, it's clearer to compare it to NULL than to 0. stram_start = phys_to_virt(0); - kernel_in_stram = (stram_start == 0); + kernel_in_stram = (stram_start == NULL); stram_start is more like an offset than pointer, IMHO. And 0

Re: [PATCH] 2.6.19 m68k Atari: ARAnyM support

2006-12-12 Thread Petr Stehlik
Geert Uytterhoeven píše v Út 12. 12. 2006 v 21:46 +0100: Should be signed off by Petr, really. I am OK with it so long as it works :-) +static struct nf_ops _nf_ops = { nf_get_id_instr, nf_call_instr }; ^^ Ugh, nice

Re: [PATCH] 2.6.19 m68k Atari: ARAnyM support

2006-12-11 Thread Petr Stehlik
Roman Zippel wrote: While looking over this, I'm playing with the idea to move this to its own directory. This stuff is rather generic and it seems the API is intended to be used by various emulators. that is correct. It may also be possible at some point to have a kernel without Atari

Re: 2.6 kernel on aranym?

2006-12-08 Thread Petr Stehlik
Kolbjørn Barmen wrote: Just curious.. have anyone done this? Michael did, I believe. Perhaps he could make a binary of the kernel (best with the aranym patches) available somewhere. Also, with the 2.4.27 kernel I did not get the tap/tun working I'd like to prepare some ipmasq and

Re: [PATCH] 2.4.30: Atari EtherNEC driver Mark II

2006-11-18 Thread Petr Stehlik
Michael Schmitz píše v Út 14. 11. 2006 v 17:53 +0100: Hi, some NE2000 clones apparently are not detected by the old driver, so here's my second stab at it. The receive overrun messages have also been shut up. just got it running in a self-compiled 2.4.27. It works! I am so excited having

Re: FPU emulation

2006-11-17 Thread Petr Stehlik
Michael Schmitz píše v Pá 17. 11. 2006 v 10:31 +0100: Kernel FPU emulation just means there is a F-line trap handler available. That trap should also work on context switching, unless I'm mistaken. I put the question wrongly. I wanted to ask if it is possible to run linux plus its applications

Re: FPU emulation

2006-11-17 Thread Petr Stehlik
Petr Stehlik píše v Pá 17. 11. 2006 v 12:54 +0100: Michael Schmitz píše v Pá 17. 11. 2006 v 10:31 +0100: Kernel FPU emulation just means there is a F-line trap handler available. That trap should also work on context switching, unless I'm mistaken. I put the question wrongly. I wanted

Re: Networking for ARAnyM

2005-08-24 Thread Petr Stehlik
Christian T. Steigies píše v Po 22. 08. 2005 v 22:34 +0200: On Sun, Aug 21, 2005 at 02:59:45AM +0200, Petr Stehlik wrote: I have just got the NF based ethernet driver for linux-m68k working. I have to create a new kernel-patch-2.4.27-m68k package, since the old one does not apply cleanly

Re: to cross-compile 2.6.x with old binutils

2005-08-06 Thread Petr Stehlik
Geert Uytterhoeven píše v So 06. 08. 2005 v 22:26 +0200: Attached is the one from 2.6.13-rc5 using atari_defconfig. I expect it to work with 2.6.8, too. If it doesn't, please let me know. Thanks a lot, it allowed me to compile 2.6.8 kernel for atari. However it doesn't run for too long: Linux