English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 24 January 2013, 20:14   #1
Registered User
Join Date: Aug 2004
Posts: 2,961
NetBSD 1.3.3 hardfile with working X Windows (+ possible problem with swapping/VM)

I have created a hardfile for NetBSD 1.3.3 which you can use with the latest WinUAE beta to boot and run X.

Get it from http://www..com/file/nHXx4kZ8...talled_A3.html. The archive is about 58MB.

Some notes:
Update 2013-02-05: As of WinUAE 2.6.0b6, everything seems to work fine with both 68030 and 68040.

You need to use 68030+MMU because WinUAE's 68040/060 MMU emulation isn't good enough yet.
I created the HDF using an A3000/030 config but it also works with A4000/030, A1200/030 and A2000/030/A2091 configs (but see the next paragraph about RAM).

There seems to be a problem when NetBSD tries to swap (use virtual memory). With 32MB or more RAM, you can run X and some clients (xman, xeyes, edit) with no problems. But with 16MB RAM, after running a few clients the system seems to hang. It's not a crash since the X mouse pointer is still responsive. With 8MB RAM, after typing root at the login prompt the system doesn't get any further. Again that's not a crash, you can for example type and delete characters at that point. My guess is there's some problem related to virtual memory.

If you want to attempt to transfer this HDF to use on a real A1200/A4000 with an IDE drive, you'll probably need to reduce the FFS partition's MaxTransfer value using HDToolBox.

Steps to get X running:
  • At the CLI window type gobsd MULTIUSER
  • After NetBSD boots, log in as root.
  • Edit .cshrc to add /usr/X11R6/bin to your path using the vi text editor. Type
    vi .cshrc
    Move the cursor down to the 4th line and to the right so it's over the right bracket character. Press I to switch to insert mode. Press Space then type
    Press Esc to return to command mode, then type
    and press return to save and exit.
  • Log out by typing logout, then log in again.
  • Create a .xserverrc file like this:
    echo "X -dev /dev/grf0" >.xserverrc
    Or if you want to use the 1024x800 or 1024x1024 A2024 modes, like this instead:
    echo "X -dev /dev/grf0 -cc 0 -width 1024 -height 800 -depth 2" >.xserverrc
    echo "X -dev /dev/grf0 -cc 0 -width 1024 -height 1024 -depth 2" >.xserverrc
  • Type startx
Attached Thumbnails
Click image for larger version

Name:	NetBSD_1.3.3_A2024_WinUAE.png
Views:	322
Size:	21.0 KB
ID:	34005  
Attached Files
File Type: 7z NetBSD_1.3.3_A3000_030.uae.7z (2.2 KB, 70 views)

Last edited by mark_k; 05 February 2013 at 19:15.
mark_k is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
hardfile windows 3.11 or 95 and MSDOS 6.22 PCTask radzik request.Apps 3 11 January 2012 16:49
2.0.1 hardfile problem arti support.WinUAE 6 31 January 2010 18:33
Hardfile problem - created from amiga HD in PC chiark support.WinUAE 7 25 January 2008 21:19
hardfile speed problem Ed Cruse support.WinUAE 24 16 October 2007 16:13
Creating hardfile problem Malakie support.WinUAE 15 07 October 2007 21:16

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 18:45.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.64935 seconds with 15 queries