One problem related to engine knocking noise has been reported for the 1998 Subaru Legacy. The most recently reported issues are listed below.
Asked dealership to look at knocking noise in engine 2 years ago, no problem identified. Asked another automobile repair facility about the noise and they claim Subaru had a history of piston slap that will eventually get worse resulting in burning oil and engine damage.