On Wed, 6 Jun 2007, Guennadi Liakhovetski wrote:
> On Tue, 5 Jun 2007, Alan Stern wrote:
>
> > I just tried doing what you said:
> >
> > modprobe net2280
> > dd if=/dev/zero of=/tmp/b bs=1M count=5 ; \
> > modprobe g_file_storage file=/tmp/b
> >
> > No problem; it worked fin
On Tue, 5 Jun 2007, Alan Stern wrote:
> I just tried doing what you said:
>
> modprobe net2280
> dd if=/dev/zero of=/tmp/b bs=1M count=5 ; \
> modprobe g_file_storage file=/tmp/b
>
> No problem; it worked fine. But my version of the driver includes the
> patch, of cou
On Tue, 5 Jun 2007, Guennadi Liakhovetski wrote:
> > This looks like it has nothing to do with using "sync" or newly-created
> > backing files. Instead it resembles a problem for which a patch was
> > recently submitted:
> >
> > http://marc.info/?l=linux-usb-devel&m=118053809808501&w=2
>
On Tue, 5 Jun 2007, Alan Stern wrote:
> On Tue, 5 Jun 2007, Guennadi Liakhovetski wrote:
>
> > usb usb1: wakeup_rh (auto-start)
> > hub 1-0:1.0: state 7 ports 2 chg evt 0004
> > uhci_hcd :00:1f.2: port 2 portsc 0093,00
> > hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
> > hub 1-
On Tue, 5 Jun 2007, Guennadi Liakhovetski wrote:
> > When you say the enumeration fails, what exactly goes wrong? I've
> > never tried using g_file_storage with a newly-created backing file.
>
> Ok, the host says:
>
> usb usb1: wakeup_rh (auto-start)
> hub 1-0:1.0: state 7 ports 2 chg evt
On Tue, 5 Jun 2007, Alan Stern wrote:
> On Tue, 5 Jun 2007, Guennadi Liakhovetski wrote:
>
> > I see a ~100% reproducible problem under 2.6.20 with g_file_storage: the
> > script
> >
> > cp fs.image /tmp/
> > modprobe g_file_storage file=/tmp/fs.image
> >
> > comes with no error back, but the
Alan Stern wrote:
> Yes, of course we always write device drivers so that they will fail in
> unexpected ways unless the user does something unintuitive and
> undocumented. :-)
Ya, we all knew that. Just so long as you understand that we users all
read the hardware docs from cover to cover, lo
On Tue, 5 Jun 2007, Guennadi Liakhovetski wrote:
> Hi
>
> I see a ~100% reproducible problem under 2.6.20 with g_file_storage: the
> script
>
> cp fs.image /tmp/
> modprobe g_file_storage file=/tmp/fs.image
>
> comes with no error back, but the enumeration fails. Whereas inserting a
> sync be
Hi
I see a ~100% reproducible problem under 2.6.20 with g_file_storage: the
script
cp fs.image /tmp/
modprobe g_file_storage file=/tmp/fs.image
comes with no error back, but the enumeration fails. Whereas inserting a
sync between the "cp" and "modprobe" fixes it... It worked without sync
unde