English Amiga Board


Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

 
 
Thread Tools
Old 06 September 2017, 10:25   #81
Twiggy
\m/
 
Twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 573
Thanks for the reply/information.

I get this error on boot:

Code:
ep0: wrote 0x7ff to TX_AVAIL_THRESH, read back 0x0. Interface disabled
I'm using a PCMCIA card (3C589D) and the kernel is GENERIC.201703111743Z. Should I attempt to build one with the ep driver, or is it already there and just not behaving?

Many thanks
Twiggy is offline  
Old 06 September 2017, 14:46   #82
strim
NetBSD developer
 
Join Date: May 2012
Location: Warsaw, Poland
Posts: 411
Quote:
Originally Posted by twiggy View Post
I get this error on boot:

ep0: wrote 0x7ff to TX_AVAIL_THRESH, read back 0x0. Interface disabled
The ep driver is already in kernel, it just doesn't work because Amiga-specific PCMCIA driver is broken in some weird way. With NE2000 compatible cards (ne driver) it works by some sheer coincidence.

I was supposed to debug this at some point, but life got in the way. Unless someone fixes the PCMCIA driver, ep won't work.

https://nxr.netbsd.org/xref/src/sys/...gayle_pcmcia.c

Either one of the pcmio_* functions is broken, or the fact that pcmio_ functions are not defined for word length accesses is the problem... Word accesses are probably needed by ep (while they aren't used by ne).
strim is offline  
Old 06 September 2017, 17:22   #83
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by strim View Post
Either one of the pcmio_* functions is broken, or the fact that pcmio_ functions are not defined for word length accesses is the problem...
I would guess so. I had a look into the pcmcia-ep driver this morning, and the error is the result of a 16-bit write operation which reads back as zero.
phx is offline  
Old 20 July 2019, 21:26   #84
DJBase
Amiga is my Religion
 
DJBase's Avatar
 
Join Date: May 2005
Location: Germany
Posts: 578
Seems the Netgear FA411 is also not working on NetBSD? At least it shows up on boot but cannot be configured.
DJBase is offline  
Old 21 July 2019, 20:04   #85
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quite likely the same problem as mentioned before. The Amiga pcmcia bus space driver doesn't support 16-bit cards. The FA411 is such a card.
phx is offline  
Old 08 May 2020, 21:23   #86
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
This kernel works

The 3Com 589 PCMCIA works with this patched v9 Kernel:

ftp://ftp.netbsd.org/pub/NetBSD/misc...sd-pcmcia16.gz

Martin Ã…berg has fixed the bug

Frank Wille has compiled and uploaded the Kernel.

GOOD NEWS!!!

The insights can be read here:

http://mail-index.netbsd.org/port-am...msg008092.html

The patch consists in adding the word "swap" at the end of a line of code, I've personally tried!

Last edited by avantgarden; 09 May 2020 at 02:16. Reason: added original thread
avantgarden is offline  
Old 09 May 2020, 23:38   #87
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
Phew!

Got BSD 9 running on 16 megs of RAM with NO swapping!!

Ok, it doesn't do much, just telnetd over the infamous 3C589 pcmcia card.

I've stripped everything out of the 9 Kernel, even floppy and audio. Now it's 2.4 megs uncompressed!

Also "rc.conf" is a plethora of "NO NO NO NO..."

Two images of this small miracle...




[can't see them, do img need approval?]

Last edited by avantgarden; 11 May 2020 at 10:54.
avantgarden is offline  
Old 10 May 2020, 12:19   #88
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Nice! I wouldn't have expected that you can strip down an Amiga kernel that much nowadays. I remember NetBSD 1.x times, where the kernel fit on a single floppy disk and 16MB where even usable for X11.
phx is offline  
Old 10 May 2020, 13:02   #89
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
X11 on a floppy!!!

I feel ashamed now...

Interesting times they were, Phx.

The stripping continues! It's a funny task. Down to 1.9 megs.

With a 68030 you also have to use "old" password encryption scheme otherwise login takes 60-80 secs.

From "man passwd.conf":

Code:
 localcipher  The cipher to use for local passwords.

                  Possible values are: ``old'', ``newsalt,<rounds>'', ``md5'',
                  ``sha1,<rounds>'', and ``blowfish,<rounds>''.  For
                  ``newsalt'' the value of rounds is a 24-bit integer with a
                  minimum of 7250 rounds.  For ``sha1'' the value of rounds is
                  a 32-bit integer, 0 means use the default of 24680.  For
                  ``blowfish'' the value can be between 4 and 31.  It speci-
                  fies the base 2 logarithm of the number of rounds.
avantgarden is offline  
Old 11 May 2020, 10:18   #90
Twiggy
\m/
 
Twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 573
Could you upload it to the zone? Cheers
Twiggy is offline  
Old 11 May 2020, 10:41   #91
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
Quote:
Originally Posted by twiggy View Post
Could you upload it to the zone? Cheers
Hello! You mean upload the kernel?

Thank you
avantgarden is offline  
Old 12 May 2020, 09:26   #92
Twiggy
\m/
 
Twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 573
Hi,

Yeah, if possible. Or any other means of trying it out with ease. Just curious about having a look. Cheers
Twiggy is offline  
Old 12 May 2020, 10:48   #93
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
Of course it's possibile!

https://drive.google.com/drive/folde...4k?usp=sharing

As you may see in "config.txt" reducing size comes at a cost!!

This kernel will only work in A1200 with 68030 + MMU in the ZorroIII slot.

The only recognized drive is the onboard IDE interface, even the floppy is disabled.

The only recognized network card are the 3Com 3C589 / 3C562 pcmcia.

It is built around my machine, so it's not going to be very useful out in the wild!

Thanks for the interest, have a nice day! AG

Last edited by avantgarden; 12 May 2020 at 11:08.
avantgarden is offline  
Old 12 May 2020, 17:40   #94
Rotzloeffel
Registered User
 
Join Date: Oct 2012
Location: Wolfach / Germany
Posts: 152
Quote:
Originally Posted by avantgarden View Post
Of course it's possibile!

Thanks for the interest, have a nice day! AG
Could you also Post the configfile here?

That would be nice! Thank you
Rotzloeffel is offline  
Old 12 May 2020, 18:07   #95
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
Hello m68k BSD'ers!

In the Google Drive folder you'll find:

Code:
[nebsd-micro]  -  The binary kernel

[config.txt]  -  An easily readable version of...

[MYKERNEL]  - ...the config file itself

[rc.conf]  -  "all-NO" version!

[passwd.conf]  This switches off the default super-expensive passwd encryption scheme
All these tweaks allowed me to boot BSD7 on a 2+16 MEGS 68030 MMU Amiga 1200 without swapping!

Of course, any subsequent activity (eg. telnet to the machine) will cause physical RAM to be depleted.

Yes it is slow AF but usable for learning this wonderful OS (second only to AmigaOS).

Very informative writeup:

https://www.unitedbsd.com/d/90-netbs...-and-openbsd/6

Last edited by avantgarden; 12 May 2020 at 20:03.
avantgarden is offline  
Old 13 May 2020, 17:44   #96
avantgarden
Registered User
 
Join Date: Apr 2020
Location: Roma
Posts: 48
Hint to fix Debian?

Maybe the above info (reposted here)

http://mail-index.netbsd.org/port-am...msg008092.html

could help Amiga Debian mantainers to add support for the 3Com PCMCIA cards?

That would be great because the 3Coms' are the most cheap and available in many auction sites.

Thank you very much,
AG
avantgarden 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
NetBSD 6.0 released! strim News 2 19 October 2012 01:44
NetBSD 68k megabyte support.Apps 1 27 June 2012 12:30
WinUAE 2.3.0 + NetBSD 5.0.2 No go. ahhyes support.WinUAE 71 15 November 2010 09:29
NetBSD 5.0 shortwind support.WinUAE 6 03 October 2009 13:53
NetBSD/Amiga ?? Highlander support.WinUAE 10 14 January 2005 15:24

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 14:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14854 seconds with 16 queries