Problems with PNY USB stick - close but not quite

看板DFBSD_kernel作者時間21年前 (2004/11/22 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Tried this on users@ earlier with no response; probably more appropriate here in the first place. Apologies for the duplication. I recently picked up a 256Mb PNY USB memory stick; the price was right and it seemed like something interesting to play with. I can plug it in and it detects ok (there's a firewire disk on da0, so the da1 part is normal): da1 at umass-sim1 bus 1 target 0 lun 0 da1: <Samsung Mighty Drive PMAP> Removable Direct Access SCSI-0 device da1: Serial Number \^_ da1: 1.000MB/s transfers da1: 245MB (502784 512 byte sectors: 64H 32S/T 245C) .... umass1: Samsung Mighty Drive, rev 2.00/1.00, addr 2 umass1:2:1:-1: Attached to scbus2 but when I attempt to write a label, i get: Nov 21 13:07:14 woodstock kernel: WARNING: da1 si_iosize_max=0, using DFLTPHYS. Nov 21 13:07:43 woodstock kernel: umass1: Phase Error, residue = 0 Nov 21 13:07:43 woodstock kernel: (da1:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 I looked around on the net a bit, and tried to adapt FreeBSD's PR kern/65436 but it didn't help. I think that may be the right technique, but the guts of the device may have changed, making that particular patch (adjusted for the DragonFly src layout) nonhelpful. I'm (obviously) not overly familiar with the guts of either the USB guts of the kernel; anyone who can help steer me in the right direction or share the make/model of a usb stick that works out of the box, I'd appreciate it. I am able to use a USB connected disk with no problem - I took my external disk (which has both firewire and USB interfaces) and hooked it up to USB, and it survived an overnight torture test just fine. I think it's just a matter of teaching DragonFly not to try to synchronize the cache for this device, which should be simple enough, but my foo is apparently not up to the task. I'm running a world+kernel built from the DragonFly_Stable tag as of November 20. Any suggestions would be most welcome. -- Jon Hamilton hamilton@pobox.com
文章代碼(AID): #11eKXY00 (DFBSD_kernel)