{"action":"closed","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2174","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2174/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2174/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2174/events","html_url":"https://github.com/ethereum/go-ethereum/issues/2174","id":131614262,"number":2174,"title":"(CPU) miner does not start","user":{"login":"SCBuergel","id":11379673,"avatar_url":"https://avatars3.githubusercontent.com/u/11379673?v=3","gravatar_id":"","url":"https://api.github.com/users/SCBuergel","html_url":"https://github.com/SCBuergel","followers_url":"https://api.github.com/users/SCBuergel/followers","following_url":"https://api.github.com/users/SCBuergel/following{/other_user}","gists_url":"https://api.github.com/users/SCBuergel/gists{/gist_id}","starred_url":"https://api.github.com/users/SCBuergel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCBuergel/subscriptions","organizations_url":"https://api.github.com/users/SCBuergel/orgs","repos_url":"https://api.github.com/users/SCBuergel/repos","events_url":"https://api.github.com/users/SCBuergel/events{/privacy}","received_events_url":"https://api.github.com/users/SCBuergel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ethereum/go-ethereum/milestones/26","html_url":"https://github.com/ethereum/go-ethereum/milestone/26","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/milestones/26/labels","id":1593424,"number":26,"title":"1.5.0","description":"","creator":{"login":"karalabe","id":129561,"avatar_url":"https://avatars1.githubusercontent.com/u/129561?v=3","gravatar_id":"","url":"https://api.github.com/users/karalabe","html_url":"https://github.com/karalabe","followers_url":"https://api.github.com/users/karalabe/followers","following_url":"https://api.github.com/users/karalabe/following{/other_user}","gists_url":"https://api.github.com/users/karalabe/gists{/gist_id}","starred_url":"https://api.github.com/users/karalabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karalabe/subscriptions","organizations_url":"https://api.github.com/users/karalabe/orgs","repos_url":"https://api.github.com/users/karalabe/repos","events_url":"https://api.github.com/users/karalabe/events{/privacy}","received_events_url":"https://api.github.com/users/karalabe/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":68,"state":"closed","created_at":"2016-02-19T15:55:33Z","updated_at":"2017-04-24T17:00:00Z","due_on":null,"closed_at":"2016-11-15T21:55:24Z"},"comments":10,"created_at":"2016-02-05T11:04:43Z","updated_at":"2017-04-24T17:00:00Z","closed_at":"2017-04-24T17:00:00Z","body":"I am using Version: 1.4.0-unstable (installed yesterday) on Ubuntu 14.04.3 LTS on a large exoscale.ch cloud machine.\n\nSeveral times `miner.start(1)` is not responding, it is hard to reproduce but pops up regularly. Now it happened while geth was running (but not mining) and ssh crashed, I had to disconnect, just in case rebooted the machine. Then I started geth (as always) with `geth --genesis customGenesis.json --datadir dataDir --networkid 123 --nodiscover --maxpeers 0 --rpc --rpccorsdomain '*' --rpcaddr 0.0.0.0 --unlock 0x9b33ab4d5a2c575540dc667e28b3b9cb7a19ddc4 console` and then attempted to start mining (I know that exposing the rpc to the world is not a good idea, all for testing only)\n\n```\n> miner.start(1)\nI0205 10:18:49.925763 eth/backend.go:415] Automatic pregeneration of ethash DAG ON (ethash dir: /root/.ethash)\nI0205 10:18:49.925841 miner/miner.go:119] Starting mining operation (CPU=1 TOT=5)\nI0205 10:18:49.926492 eth/backend.go:422] checking DAG (ethash dir: /root/.ethash)\ntrue\n> I0205 10:18:49.931465 miner/worker.go:570] commit new work on block 209 with 0 txs & 0 uncles. Took 5.240275ms\nI0205 10:18:49.931640 ethash.go:220] Generating DAG for epoch 0 (size 1073739904) (0000000000000000000000000000000000000000000000000000000000000000)\nI0205 10:18:51.686124 ethash.go:237] Done generating DAG for epoch 0, it took 1.754482029s\n```\n\nAt that point it was stuck forever. It was not just an output issue, the miner was really not running, CPU load was minimal and I see tx piling up in `web3.eth.pendingTransactions`. After a while I figured that when doing `miner.stop(1)` and `miner.start(1)` it would eventually start mining. Alternatively, it was not sufficient to delete the entire dataDir, I had to also delete the .ethash folder and then initialize the DAG again. Also note that I had set my etherbase, defaultAccount (both same) and the account was also unlocked. Maybe somebody could look into this. Thanks!\n"}}
{"actor":{"display_login":"karalabe"}}