* [PATCH] scsi.c - cache ID bug
@ 2010-10-01 14:50 Aleš Nesrsta
2010-10-01 18:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 3+ messages in thread
From: Aleš Nesrsta @ 2010-10-01 14:50 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
Hi,
I have problem with multi-lun devices in some cases.
I found small bug in "old" problem solution of SCSI cache ID in trunk -
see attached patch which should solve it.
Regards
Ales
[-- Attachment #2: usb_scsi_cache_id_101001_0 --]
[-- Type: text/x-patch, Size: 473 bytes --]
--- ./grub/include/grub/scsi.h 2010-09-30 22:17:31.000000000 +0200
+++ ./grub_patched/include/grub/scsi.h 2010-10-01 15:58:23.000000000 +0200
@@ -40,7 +40,7 @@ static inline grub_uint32_t
grub_make_scsi_id (int subsystem, int bus, int lun)
{
return (subsystem << GRUB_SCSI_ID_SUBSYSTEM_SHIFT)
- | (bus << GRUB_SCSI_ID_BUS_SHIFT) | (lun << GRUB_SCSI_ID_BUS_SHIFT);
+ | (bus << GRUB_SCSI_ID_BUS_SHIFT) | (lun << GRUB_SCSI_ID_LUN_SHIFT);
}
struct grub_scsi_dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi.c - cache ID bug
2010-10-01 14:50 [PATCH] scsi.c - cache ID bug Aleš Nesrsta
@ 2010-10-01 18:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-10-02 18:58 ` Aleš Nesrsta
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-10-01 18:37 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
On 10/01/2010 04:50 PM, Aleš Nesrsta wrote:
> Hi,
>
> I have problem with multi-lun devices in some cases.
>
> I found small bug in "old" problem solution of SCSI cache ID in trunk -
> see attached patch which should solve it.
>
>
Go ahead
> Regards
> Ales
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi.c - cache ID bug
2010-10-01 18:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-10-02 18:58 ` Aleš Nesrsta
0 siblings, 0 replies; 3+ messages in thread
From: Aleš Nesrsta @ 2010-10-02 18:58 UTC (permalink / raw)
To: The development of GNU GRUB
Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> > I found small bug in "old" problem solution of SCSI cache ID in trunk -
> > see attached patch which should solve it.
> >
> >
> Go ahead
Done, revision 2874.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-02 18:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 14:50 [PATCH] scsi.c - cache ID bug Aleš Nesrsta
2010-10-01 18:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-10-02 18:58 ` Aleš Nesrsta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).