Well, hi people. The other day like the title said I had problems reading my HDD in debian. I know that the machine a Lenovo W510 was reading the HDD because when I run the command ls /dev/sd? the results were /dev/sda and /dev/sdb but there was no partition in /dev/sdb. So after a research in google I found the solution. The problem was a module called uas that was giving some errors in dmesg.
So in essence the solution is this
$ sudo -i
# vi /etc/modprobe.d/blacklist.conf
--Inside vi add at the end
-- :wq in command mode to close and save the file
# rmmod uas
After that reconnect your HDD and you will see your files.
PS: All of this is assuming your HDD its not damaged. If the HDD is damaged all of this is not gonna work.