Summary: | I/O error when reading from Nikon D100 camera | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan de Konink <stefan> |
Component: | [OLD] Core system | Assignee: | Daniel Drake (RETIRED) <dsd> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | kernel |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.gentoo.org/show_bug.cgi?id=185517 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Update session (changes)
lsusb -v output of error |
Description
Stefan de Konink
2007-07-16 12:47:00 UTC
emerge --info please. Created attachment 125027 [details]
Update session (changes)
I currently don't have a portage tree here (holidays), but i'll create it, if the WiFi link is stable enough :)
To provide some information:
Kernel:
2.6.21-gentoo-r4
Use flags:
*/* dbus -ruby -gpm -bonobo -mikmod -kde -esd -arts -qt -qt3 -qt4 startup-notification msn dvi t1lib pdf cairo -qt -qt3 -qt4 -cups -gnome -eds v4l -postgres -ldap sqlite ilbc tetex opengl sdl xml xsl -odbc tcltk ffmpeg spell X nsplugin jpeg tiff gtk gtk2 nptl nptlonly userlocales pic altivec bzip2 nls -berkdb alsa mmap ogg flac speex dv encode vorbis ieee1394 network theora gsm mp3 fbcon lcms glitz curl png xprint xfs mad xv udev gps mozbranding -gimp -exif hal -gstreamer -doc libnotify sqlite3 -gdbm
And you can find the update session in the attached file. So the ones that jump into my eyes are the HAL update and the udev update. The kernel wasn't updated. Maybe it could be fixed in 2.6.22 (but this wasn't in ~ppc yet).
http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-07/msg00779.html Seems to be for a D50 too... . Created attachment 125038 [details]
lsusb -v
I have sent Alan Stern these two documents.
Created attachment 125040 [details]
output of error
Index: usb-2.6/drivers/usb/storage/unusual_devs.h =================================================================== --- usb-2.6.orig/drivers/usb/storage/unusual_devs.h +++ usb-2.6/drivers/usb/storage/unusual_devs.h @@ -313,6 +313,13 @@ UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x US_SC_DEVICE, US_PR_DEVICE,NULL, US_FL_NOT_LOCKABLE ), +/* Reported by Stefan de Konink <skinkie@xs4all.nl> */ +UNUSUAL_DEV( 0x04b0, 0x0401, 0x0200, 0x0200, + "NIKON", + "NIKON DSC D100", + US_SC_DEVICE, US_PR_DEVICE, NULL, + US_FL_FIX_CAPACITY), + /* Reported by Andreas Bockhold <andreas@bockionline.de> */ UNUSUAL_DEV( 0x04b0, 0x0405, 0x0100, 0x0100, "NIKON", I have confirmed Alan this is the fix, and it will be included in the next kernel release. I got a reply from Alan on my question if anything was changed in the vanilla-kernel lately, and it wasn't. So an option question stays: is something changed in gentoo-sources that might have caused this camera to stop functioning? Or should this search be narrowed to the updated userland packages? Gentoo's patches are very light, we don't change anything in this area and haven't done in a long while. Please keep us updated on the fate of the patch... (In reply to comment #9) > Gentoo's patches are very light, we don't change anything in this area and > haven't done in a long while. Please keep us updated on the fate of the > patch... > Fate: This patch (as938) adds an unusual_devs entry for the Nikon DSC D100. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> But you must agree it is strange that two systems stop working after upgrading? Currently I'm holiday, but I have at home at least one machine that is still running on an old kernel and basesystem. So it my be interesting to find out what in userspace is the cause for this. Since I was running 2.6.21 from April, I'm pretty sure that it is the only component that was not changed. (thanks to /var/log/messages) The quirk added indicates that the device reports an off-by-one capacity. You will not see any problems until something tries to access the last sector on the disk, and at that point, everything else will screw up. So, it's not unreasonable to think that previously, nothing was trying to access that sector, but now something is. Reopening the bug so that we can track the patch and include it in gentoo-sources. This is a note to let you know that I've just added the patch titled Subject: USB: usb-storage: unusual_devs entry for Nikon D100 to my gregkh-2.6 tree. Its filename is usb-usb-storage-unusual_devs-entry-for-nikon-d100.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ Thanks for the update, will include in future releases Fixed in gentoo-sources-2.6.22-r2 (genpatches-2.6.22-3) |