Skip site navigation (1)Skip section navigation (2)
Date:      19 Jun 2003 15:53:20 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        roland Mathieu <roland.mathieu@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   [doc pointer] 2 questions about usb memory stick ...
Message-ID:  <44el1pj13j.fsf@be-well.ilk.org>
In-Reply-To: <20030618162500.GA351@lycurgue.localnet>
References:  <20030618162500.GA351@lycurgue.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help
roland Mathieu <roland.mathieu@free.fr> writes:

> I've got a 128MB usb memory stick (pmi memory). It works very well since
> I've modified file /usr/src/sys/cam/scsi/scsi_da.c by adding lines:
> 
> {
>          /*
>           * Pmi / 128MB
>           */
>           {T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "USB Flash Disk*",
>          "*"},
>           /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
> },
> 
> in the da_quirk_table structure.
> 
> First question : who contact to add definitively these lines to scsi_da.c ?

"man send-pr"

> Second question: if memory stick is plugged when my computer boots up it is
> detected before my scsi disks. how to avoid that ? 
> ( I must unplug it if I want my computer to boot because da0 is normally
> used by the first scsi disk :( )

[before 5.x; you didn't mention, so I assume you're using a recent 4.x release]
See the LINT file for information on "wiring down" your disk devices.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44el1pj13j.fsf>