Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
localhost kernel: sda: assuming drive cache: write through
Feb 17 14:54:09 localhost kernel: sda: sda1
Feb 17 14:54:09 localhost kernel: sda: p1 exceeds device capacity
.
.
.
Feb 17 14:54:09 localhost kernel: attempt to access beyond end of device
Feb 17 14:54:09 localhost kernel: sda: rw=0, want=1953792, limit=1953791
Feb 17 14:54:09 localhost kernel: Buffer I/O error on device sda1, logical block 1953662
Looks like the card needs repartitioning / reformatting.
Can you read it with another computer?
You probably will be able to recover your pictures with photorec
OK, testdisk, great. I know that piece of software.
I managed to recover the photos.
I deleted the partition and reformatted the SD card as a FAT32 dos partition and then it would be fine. However the camera didn't like that and demanded that I let it reformat the card again. So I did, and took a couple more photos, and it's back to square one: I can't download the photos automatically with gphoto2.
I suppose I can retrieve them every time with testdisk photorec, but I get all the old photos as well which takes ages, and of course it would be nice if I could connect to the camera like normal.
What's more likely, that the card is bad or that the Panasonic DMC-LX2 is formatting it badly?
It's trying to get exactly one byte more than it should. This must be some type of bug. Try to look around for a fix, or e-mail the people at gphoto2 with this info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.