-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
Sync error - ########## BAD BLOCK ######### #21551
Comments
That looks very odd indeed! I started a full-sync with master only yesterday, on the following commits:
They went through the 2M segment without any problems, so I don't think we have any regression there. The error you have there is 'invalid mix digest' -- it's happened once before, @MysticRyuujin hit that, and I spent a lot of time investigating. Eventually we found that the ethash disk lookup had been corrupted, a bit had flipped. I would suspect that this resolves itself if you wipe out the ethash directory. I would also be interested to know more about your hardware, like what disks you are using, what filesystem, and whether the machine has ECC or Non-ECC ram memory..? |
I already tried deleting the ethash directory and got the same error. I have a imac (osx 10.15.6). Any help would be much appreciated |
Just to clarify, after first error i updated to latest version (I was just one version behind), then i deleted the cache restarted geth, run for a while and then got the same error. I have it running again |
It has been running for an hour or so and then same error happened:
|
So, exactly which cache did you delete? Just want to be very explicit here, because the datadir and the ethash dir are not necessarily the same. |
Hm, those are two different epochs, so I guess you did delete the proper thing. My next best guess would be that your drive is wonky, suffering from random corruptions. For reference, the issue I was referring to earlier: #20478 |
And here, one can see the exact steps I followed to find the corrupted bit: #20478 (comment) |
I have changed the external disk's usb cable and now it is syncing... |
thx a lot :) |
Hi there,
System information
Geth version:
1.9.21
OS & Version: OSX
RAM: 24GB
DISK: 512GB EXTERNAL SSD
Expected behaviour
Sync smoothly
I have tried three times but i always get this error.
I have tried deleting the cache folder but still get this error
Any idea why?
Actual behaviour
Bad block error received
Steps to reproduce the behaviour
geth --cache=2048 --rpcapi "eth,net,web3,txpool" --rpc --txpool.globalslots=250000 --txpool.globalqueue=50000 --syncmode=full --datadir "/Volumes/EthNode/gethdata/" --ipcdisable
Backtrace
The text was updated successfully, but these errors were encountered: