Re: usb4bsd patch review

2008-08-24 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], M. Warner Losh writes
:
In message: [EMAIL PROTECTED]
Poul-Henning Kamp [EMAIL PROTECTED] writes:
: In message [EMAIL PROTECTED], M. Warner Losh writes
: :
: 
: While this may be a good idea, I'm hesitant about races that it may
: introduce.  This is the classic point of attack: do something between
: steps of a formerly atomic operation that was made non-atomic.  I
: can't think of anything off the top of my head, but I'm still
: concerned.
: 
: We have ways of closing the race if need be, but they're all slightly
: kludgy, but I am not overly concerned about those races as long as
: the default is to not give access.

I guess I'm worried about a device that comes and goes and comes back
and there being some difference between the two that causes us to
bogusly do something to the new device that was appropriate for the
old one, but not the new one...

That scenario is always present as far as I can tell...

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/126776: [umass/geom] confusing mixed output (but no panic!) after removing unmounted usb device

2008-08-24 Thread Rink Springer
The following reply was made to PR usb/126776; it has been noted by GNATS.

From: Rink Springer [EMAIL PROTECTED]
To: Daniel [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: usb/126776: [umass/geom] confusing mixed output (but no
panic!) after removing unmounted usb device
Date: Sun, 24 Aug 2008 12:33:47 +0200

 Hi Daniel,
 
 On Sun, Aug 24, 2008 at 09:51:33AM +, Daniel wrote:
  It looks like the GEOM output (GEOM_LABEL: Label msdosfs/XXX 
  removed.) is written over the UMASS output.
 
 Yes, this is a FAQ - look at
 http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues,
 Kernel.
 
 Regards,
 
 -- 
 Rink P.W. Springer- http://rink.nu
 Anyway boys, this is America. Just because you get more votes doesn't
  mean you win. - Fox Mulder
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb/126788: Can not boot FreeBSDv7.0.iso from USB formated as FAT?

2008-08-24 Thread Eugen Konkov

Number: 126788
Category:   usb
Synopsis:   Can not boot FreeBSDv7.0.iso from USB formated as FAT?
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  change-request
Submitter-Id:   current-users
Arrival-Date:   Sun Aug 24 14:50:01 UTC 2008
Closed-Date:
Last-Modified:
Originator: Eugen Konkov
Release:7.0release
Organization:
Environment:
do not know yet 
Description:
I am trying to use SYSLINUX to load *.iso
Actually I format and install to USB key syslinux
I copy memdisk to root of USB key
I unpack content to root of USB key
When I boot from USB I get SYSLINUX loaded
then I do:
memdisk initrd/boot/boot
I get invalid label
so I
da(0,a)
and I get registry dump in loop

How to boot iso installed to USB disk formatted as FAT! not BSD native
How-To-Repeat:

Fix:


Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADSUP new usb code coming in.

2008-08-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Antony Mawer [EMAIL PROTECTED] writes:
: On 24/08/2008 3:10 PM, M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
:  Antony Mawer [EMAIL PROTECTED] writes:
: ...
:  : This wasn't about the new USB stack -- we were discussing the buffer 
:  : cache and CAM-related fixes that prevents the system from panic'ing when 
:  : a USB device is unplugged without first unmounting the filesystem. These 
:  : patches are in HEAD with the existing USB stack. :-)
:  
:  The best I can do is say Maybe and the answer is closer to yes if
:  somebody data-mines the changes I've made in this area in -current.
:  That's the hard part of back porting them..
: 
: I'm going to try and do just that - is there a particular date that this 
: must be done by in order to make sure these would make it in for the 7.1 
: release cycle?

End of this month would be ideal.  By the middle of next would be
acceptable, I think.

Warner
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/121184: commit references a PR

2008-08-24 Thread dfilter service
The following reply was made to PR usb/121184; it has been noted by GNATS.

From: [EMAIL PROTECTED] (dfilter service)
To: [EMAIL PROTECTED]
Cc:  
Subject: Re: usb/121184: commit references a PR
Date: Mon, 25 Aug 2008 02:42:35 + (UTC)

 imp 2008-08-25 02:42:13 UTC
 
   FreeBSD src repository
 
   Modified files:
 sys/dev/usb  uipaq.c 
   Log:
   SVN rev 182140 on 2008-08-25 02:42:13Z by imp
   
   Send the magic unlock packet the linux driver claims to have sniffed
   to enable line control.
   
   PR: 121184
   Submitted by:   Andriy Gapon
   
   Revision  ChangesPath
   1.15  +16 -1 src/sys/dev/usb/uipaq.c
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]