The pain in the rib cage
could be surely due to degenerative disc but if it is the thoracic disc which is involved.
The pelvic pain
again can be due to degenarative dics in the lumbar area however a IBS
itself can cause a dull aching irritating pain continuously.
See a good spine surgeon
to get your doubts clear