Cover beans with plenty of cold water and soak overnight. The next day, place the beans and the water they were soaking in into a large saucepan. Bring to a boil, reduce to a simmer and cook until tender, about an hour. Add the salt and remove from the heat.
To make the soup, heat a large pot over high heat. Add the olive oil and pancetta and cook until the pancetta start to get crisp. Add the onion, carrot and celery. Cook for a couple minutes to soften the vegetables. Add the garlic, parsley and cabbage and cook for another couple of minutes to wilt the cabbage. Add the tomatoes, red wine and sugar. Simmer for 5 minutes. Add the beans and their broth, the chicken stock and bay leaf. Slowly simmer for 10 minutes. While the soup is cooking, tear the bread up into large pieces. Toss with the olive oil and toast in the oven for 10 minutes until lightly brown and crisp. Stir into the soup and continue cooking for another 5-10 minutes until bread swells and starts to thicken the soup. Taste and adjust seasoning with salt and pepper.
To make the pesto, remove the central rib from each leaf of kale. Roughly chop and place in the work bowl of a food processor with the garlic, pine nuts, olive oil and cheese. Season with a pinch of salt and process until smooth.
Serve soup in a warm bowl with a spoonful of pesto in the center.