north of the carrock the edge of mirkwood drew closer to the borders of the great river , and though here the mountains too drew down nearer , beorn advised them to take this way ; for at a place a few days ' ride due north of the carrock was the gate of a little-known pathway through mirkwood that led almost straight towards the lonely mountain .