-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[net] FTP not working, seems to crash or otherwise corrupt ktcp #1535
Comments
Hello @skiselev, Is your testing image from the v0.6.0 release images, or the latest source? There have been significant changes made to the NE2K driver since v0.6.0. I have attached an image built from the most recent source in case this is not what you're using: Otherwise, it may be that you need to specially indicate that you're running an 8-bit NE2K or change the RAM buffer size, even though the driver appears to be recognizing 8-bit, as indicated from your boot screenshot. Have you read the Wiki Networking article that describes the (newer) configuration procedure in /bootopts? The last number in the Thank you! |
Hi @skiselev , Are you using the card you designed https://github.com/skiselev/isa8_eth ? |
@skiselev please try the new 0.7 release of ELKS. |
I would like to continue this issue here. I am using also Sergeys isa8_eth on my NuXT v2.0. Using ELKS 0.8.1. Right after launching "net start", I am getting a lot of messages without doing anything.
Number |
@ConiKost: It seems to me there may be a mismatch between the actual NIC buffer size and what the driver thinks the NIC has. Initially, after a restart, small packets (e.g an incoming ping or the ftp dir command) works - the latter because the directory is small. If the directory happened to have many more files, it would 'crash' right away. The boot messages don't display the flags, I think we may be able to narrow down the possible causes by manipulating the flags via the bootopts file. I've been using this card with ELKS and later TLVC for a long time so it should be a good match. There are no big changes that I can remember in the current TLVC version except buffering. I suggest setting the flags to 0x84 (verbose, 4k buffer), then leave the ELKS system alone after starting ktcp, and use ping from your linux system for debugging.
The |
I don't think, that I have an incorrectly configured NIC. MAC address is correctly identified and adapter comes correctly up. I can ping that interface without any problems.
I've set |
Small update: It seems, after some longer time (>30-60 min), networks just stops working. No pings work anymore. A |
I agree with you, the NIC is configured correctly. The change to Are you saying that a regular ping (no options which means 64 byte packets and 1 second intervals) runs fine, even for a long time? Now that the buffer on the NIC is only 4k, there will likely be some rcv overflows, but not caused by a 1second ping. Are there other systems on this network? You may want to look at what's going on on the network by using To look at only the traffic to/from your ELKS system, run Also, since |
Yes, this is correct. But I don't think, that it's caused by the ping packet itself. Message are mor or less, but not on every ping.
Yes, this is also correct. There are pletny of others things on the network and also broadcast traffic.
Sorry, I currently don't have access to that network, so it will have to wait.
It does not change anything. After "net start" with static ip adress configuration, those messages start to appear. |
@ConiKost - can you post the boot messages from your ELKS system? |
It would also be useful with a screenshot from (or listing of some of) the pings. Try |
Description
Configuration
How to reproduce ?
Raw data
Additional information
None
The text was updated successfully, but these errors were encountered: