Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9048 - I/O errors when reading from Nikon D50 Digital SLR on x86_64

Attached to Project: Arch Linux
Opened by Nathan Crandall (cactus.ed) - Saturday, 29 December 2007, 23:02 GMT
Last edited by Greg (dolby) - Monday, 21 July 2008, 16:14 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I/O errors when reading from Nikon D50 Digital SLR on x86_64 -- I filed severity as medium because I can not force umount the camera, or halt system after trying to transfer photos (Thunar hangs (defunct), can not kill as root (even with -9 or -1), CPU usage shoots to 100% and entire system slows to a crawl). I have left the camera in this state for over an hour on previous occasions -- it never errors out or quits.

I have not used my camera for the past 8 months, but everything worked fine with kernel 2.6.18. You can imagine the surprise when I plugged in my camera last week.

A simple google search says it's a kernel issue with all Nikon Digital SLRs.

This seems to have been fixed in i686 as the the camera works fine on my Arch Linux Laptop.

Nikon D40 -- slightly different model but almost the same camera, exact same issue
http://bugs.gentoo.org/show_bug.cgi?id=191431

Nikon D50
http://bugs.gentoo.org/show_bug.cgi?id=186326

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4f47bb567368f732989058e26dc282f7fe931dab
http://forums.gentoo.org/viewtopic.php?p=4154065

Additional info:
* package version(s)

Everything is up to date, I pacman -Syu twice a week.
kernel26 2.6.23.12-3 x86_64

* config and/or log files etc.

See attached messages.log and lsusb.txt

Steps to reproduce:

Plug in Nikon D50 and try to transfer photos.

Thank you Arch Linux devs, Arch truly stands out as the best when compared to all the other distros. You guys are doing a fantastic job.
This task depends upon

Closed by  Greg (dolby)
Monday, 21 July 2008, 16:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  Assuming fixed
Comment by Tobias Powalowski (tpowa) - Friday, 11 January 2008, 10:46 GMT
well the patches are already in the main kernel, you could try to unload the ehci-hcd module and just use uhci-hcd module.
That will remove the usb 2.0 usage and switch back to usb 1.
Comment by Nathan Crandall (cactus.ed) - Friday, 11 January 2008, 20:02 GMT
Tobias,

Everything works perfectly once the ehci-hcd module has been removed. Do we need to file a bug report upstream?
Thanks for your help,

Nate Crandall
Comment by Tobias Powalowski (tpowa) - Friday, 11 January 2008, 20:13 GMT
you could try the rc kernel here if it's already fixed upstream:
http://dev.archlinux.org/~tpowa/2.6.24/

it's an error of your usb controller in combination with the camera.
Comment by Nathan Crandall (cactus.ed) - Friday, 11 January 2008, 20:42 GMT
I will try the 2.6.24 RC later this evening. My usb controller is nothing special, just a standard Intel:

00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)

Thanks again,

Nate Crandall

Comment by Tobias Powalowski (tpowa) - Saturday, 26 January 2008, 13:20 GMT
status update on this, .24 kernel is now in testing repository
Comment by Nathan Crandall (cactus.ed) - Sunday, 27 January 2008, 19:29 GMT
No go, still does not work.....
   dmesg.txt (18.2 KiB)
Comment by Greg (dolby) - Saturday, 17 May 2008, 16:52 GMT
Still an issue with 2.6.25? The link for the linux kernel commit is for 2.6.26

Loading...