Messages in this thread | | | Date | Tue, 29 Jun 2004 12:53:10 +0200 (CEST) | From | Steffen Winterfeldt <> | Subject | Re: hwscan hangs on USB2 disk - SCSI_IOCTL_SEND_COMMAND |
| |
Hi,
On Tue, 29 Jun 2004, Kurt Garloff wrote:
> On Tue, Jun 29, 2004 at 11:37:36AM +0200, Bart Hartgers wrote: > > The problem is that both hwscan and usb-storage get stuck in the 'D" > > state until I unplug the harddisk. > > > > A strace of hwscan shows: > > > > 21141 open("/dev/sda", O_RDONLY|O_NONBLOCK) = 3 > > 21141 ioctl(3, 0x301, 0xbfffeba0) = 0 > > 21141 ioctl(3, BLKSSZGET, 0xbfffeb9c) = 0 > > 21141 ioctl(3, 0x80041272, 0xbfffeb90) = 0 > > 21141 ioctl(3, FIBMAP, 0xbfffec40) = 0 <--- hwscan gets stuck here
[...]
> Does it work if you send the INQUIRY with 36 bytes allocation length? > scsi_cmd_buf[8 + 4] = 0x26;
It's indeed the inquiry size, sticking to the minium 36 bytes helps. That's fixed in sles9. Update for 9.1 planned.
Steffen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |