In a large, heavy pot, heat the oil over medium-high heat. Add the ham and cook, stirring, for 2 minutes. Add the onions, salt, pepper, thyme, and rosemary, and cook, stirring, until the onions start to color, about 10 minutes. Add the shallots and garlic, and cook, stirring, for 1 minute. Add the potatoes and stock, and stir well to incorporate. Reduce the heat to low, cover, and simmer, stirring occasionally, until the potatoes are tender and have absorbed the stock, about 45 minutes.
Remove from the heat and serve.
Yield: 8 servings