#It's **[2001: A Space Odyssey][1]**


[![enter image description here][2]][2]

Quoting the description from Wikipedia.

 - This answers your point on a man talking to a spaceship.

>Eighteen months later, the United States spacecraft Discovery One is bound for Jupiter. On board are mission pilots and scientists Dr. David Bowman and Dr. Frank Poole, along with three other scientists in cryogenic hibernation. **Most of Discovery's operations are controlled by the ship's computer, HAL 9000, referred to by the crew as "Hal"**. Hal states that he is "foolproof and incapable of error". When Bowman questions Hal on the purpose of the mission, Hal responds by reporting the imminent failure of an antenna control device. The astronauts retrieve it in an EVA pod but find nothing wrong. Hal suggests reinstalling the device and letting it fail so the problem can be found.

 - This answers your point on "pulling the discs out of it".

> Bowman opens the ship's emergency airlock manually, enters the ship, and **proceeds to Hal's processor core**. Hal tries to reassure Bowman, then pleads with him to stop, and finally expresses fear. **As Bowman gradually deactivates the circuits controlling HAL's higher intellectual functions**, HAL regresses to his earliest programmed memory, the song "Daisy Bell", which he sings for Bowman.

 - This answers your point on "released before Star Wars". 2001: A Space Odyssey was released in 1968.

>Star Wars (A New Hope) (1977), The Empire Strikes Back (1980), and Return of the Jedi (1983), then The Phantom Menace (1999), Attack of the Clones (2002), and Revenge of the Sith (2005).

  [1]: https://en.wikipedia.org/wiki/2001:_A_Space_Odyssey_(film)
  [2]: https://i.sstatic.net/2a74t.jpg