Re: sandisk cruzer mini quirks [failure] on RELENG_4

From: ALeine (aleine_at_austrosearch.net)
Date: 02/25/05

  • Next message: Wojciech A. Koszek: "Re: [PATCH] Dangerous jail()<->ioctl interactions."
    Date: Fri, 25 Feb 2005 10:03:55 -0800 (PST)
    To: sirmoo@cowbert.2y.net
    
    

    sirmoo@cowbert.2y.net wrote:

    > I have a 512mb version of the SanDisk Cruzer Mini keychain drive.
    > ProductId = 0x5150 (VendorID=0x0781). I am unable to correctly
    > get it to stop crashing the system when using cp(1) to copy large
    > files to it.
    > I patched /usr/src/sys/dev/usb/umass.c as:
    >
    > if (UGETW(dd->idVendor) == USB_VENDOR_SANDISK &&
    > (UGETW(dd->idProduct) == 0x5150) {
    > sc->proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB;
    > sc->quirks |= IGNORE_RESIDUE;
    > }

    Try extending da_quirk_table in sys/cam/scsi/scsi_da.c with an
    entry like this:

    {
            /*
             * SanDisk Cruzer Mini 512MB
             */
             {T_DIRECT, SIP_MEDIA_REMOVABLE, "SanDisk" , "Cruzer Mini", "*"},
             /*quirks*/ DA_Q_NO_SYNC_CACHE
    }

    ALeine
    ___________________________________________________________________
    WebMail FREE http://mail.austrosearch.net
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Wojciech A. Koszek: "Re: [PATCH] Dangerous jail()<->ioctl interactions."

    Relevant Pages