General Motors Corp. yesterday said it is recalling 3,100 model 1976 and 1977 motor homes for a possible fire hazard.

GM said it will relocate the positive battery terminal on the vehicles and add a cover over the starter solenoid battery post on the auxiliary power generator.

The modifications are being made because, under the current arrangement, an electrical short circuit could occur, GM said. The company said such a shorting would damage wiring and generator components and could result in a fire.

GM said it doesn't have any reports of accidents or injuries stemming from the problem.

In other recalls:

Beatrice Foods Co. has recalled all the whipped butter products produced at its Sugar Creck plant in Louisville following reports of food poisoning among persons eating one line of whipped butter.

Among the brand names under which the butter is sold are A&P. Meadow Gold, Blue Valley. Sugar Creek, Lucerne, Kountry Fresh and Prairie Farm. the firm said.

More than 70 Illinois residents and dozens of residents of Indiana and Missouri were treated or hospitalized for food poisoning recently after consuming Sugar Creek bulk whipped butter in restaurants.

The whipped butter, from the Louisville plant, was recalled by Beatrice last week. It contained bacteria which caused severe cramps, nausea and diarrhea, but was not likely to be fatal, Illinois health department officials said.

The company announced Tuesday it also is recalling all other brands of butter produced at the plant, as a safety precaution.

The butter now being recalled is distributed in 8-ounce cups under the following brand names: A&P Mayflower, Sugar Creek, Prairie Farm, Armour, Chappel, Blue Valley and Meadow Gold, the firm said. Those brands of whipped butter are distributed in retail groceries in Alabama, Tennessee, Illinois, Indiana, Kentucky, Michigan, Missouri, Ohio and West Virginia.

The firm also is recalling all 8-ounce cups of:

Lucerne whipped butter distributed in Arkansas, Louisiana, Mississippi, Missouri, Tennessee and Texas.

Coleman whipped butter distributed in Arkansas and Oklahoma.

Kountry Fresh whipped butter distributed in Louisiana, Oklahoma, New Mexico and Texas.

Sears. Roebuck and Co. is recalling 17,000 exercise cycles because of a potential safety defect.

The company said after extensive use, a metal post underneath the seat may push throught the plastic seat material, exposing the rider to the risk of injury.

About 17,000 of the exercise cycles have been sold by Sears. One is a dual-action exercise sold since April 1975: the other is a stationary cycle sold since late 1975. The model numbers - which can be found on an identification label on the frame - are 166.28260. or 592.28260. and 166.29680.

Owners of the affected exercise cycles can arrange for replacement seats and posts without charge at any Scars store, the company said.

Many Porsche model 914 automobiles imported into the United States will be recalled for correction of fuel system problems that could cause engine fires, the Transportation Department announced.

The recall will involve 84,000 1970 through 1974 vehicles imported by Vokswagen of America.

Vokswagen said the recall could not be done sooner because repair kits have to be made in West Germany. The firm said vehicle owners will be notified when kits are available.

The administration began an investigation of 1974 Porsche 914s in February after 17 owner complaints of fuel-fed engine compartment fires.

The investigation showed that the fires apparently are the result of fuel leaks due either to fuel hose deterioration from battery acid or to improperly installed sealing rings on fuel injectors.