Welches Scsi-Device nutzt ein USB Card Reader?

Kai Thomsen kai.thomsen at gmx.de
Wed Oct 20 11:47:14 UTC 2004


Mario Schugowski wrote:

> kann es sein das das ein Multicard Reader ist ? So ein 4in1 ?
> Dann hat das teil nämlich eine SCSI ID und mehrere LUNs für die
> Unterschiedlichen Karten. Wenn dem so ist, hast Du unter RedHat
> und Fedora das Problem das der Multiple Lun Support (aus mir
> unbegreiflichen Gründen) im Kernel nicht aktiviert ist.

Dieser Blog-Eintrag von Dave Jones (Kernelhacker bei Red Hat) sollte
Klarheit schaffen:

http://diary.codemonkey.org.uk/index.php?month=5&year=2004#20040527

<quote>
Lots more trawling bugzilla for various bits that need to be in the FC2
errata kernel. Dug up a whole bunch of bugs about USB multi-card readers
that need to be added to the whitelist to work. Those devices have a
different SCSI LUN for each slot. the obvious solution is 'turn on
CONFIG_SCSI_MULTI_LUN' but this will break some devices, and hang the
scsi bus when you probe non-existant LUNs so we have a whitelist of
devices its safe to probe all luns on and then we get to leave
CONFIG_SCSI_MULTI_LUN off.

This does however mean that for each new device we come across we have
to rebuild the kernel with its ID added to the whitelist. Not an ideal
solution. You can also modprobe scsi_mod max_luns=5 or the like, and who
knows, maybe one day the userspace hotplug subsystem will handle this
automatically, and we can do away with the in-kernel list altogether.
</quote>


Gruß, Kai




More information about the Fedora-de-list mailing list