Re: [SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-06 Thread Kevin O'Connor
On Mon, Mar 05, 2012 at 12:29:12PM +0100, Paolo Bonzini wrote: This is the simplest way to avoid breaking boot on USB sticks that stall when asked for the MODE SENSE page 4. Some old sticks do not support the MODE SENSE command at all and just return a medium may have changed unit attention

[SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-05 Thread Paolo Bonzini
This is the simplest way to avoid breaking boot on USB sticks that stall when asked for the MODE SENSE page 4. Some old sticks do not support the MODE SENSE command at all and just return a medium may have changed unit attention condition when SeaBIOS sends it! Reported-by: Dave Frodin

Re: [SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-05 Thread Dave Frodin
Paolo, I tested your patch. It works with all 14 USB thumbdrives and with a USB-to-SATA adapter we dug up. Dave - Original Message - From: Paolo Bonzini pbonz...@redhat.com To: seabios@seabios.org Cc: Dave Frodin d...@camp.se-eng.com Sent: Monday, March 5, 2012 4:29:12 AM Subject:

Re: [SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-05 Thread Dave Frodin
Signed-off-by: Dave Frodin d...@camp.se-eng.com Paolo, Marc wanted me to request that this patch be included in the next stable SeaBIOS release. Thanks again for your help on this. Dave - Original Message - From: Paolo Bonzini pbonz...@redhat.com To: seabios@seabios.org Cc: Dave