Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Fsys.umass error qnx_segment_alloc_flags: Not enough memory: (3 Items)
   
Fsys.umass error qnx_segment_alloc_flags: Not enough memory  
Because the USB drivers do not support eject detection of flash drive I'm trying to start and stop the drivers 
gracefully between every access to the drive.  After a few (maybe 10+) Fsys.umass returns the above error.

io-usb and Fatfsys stay running the entire time.

Each start does the following:
Fsys.umass fsys -n0=umass
sleep 1
mount -p /dev/umass0
mount -t dos /dev/umass0t6 /dos/usb

Each stop does these:
umount /dos/usb
umount /dev/umass0
slay -fQ Fsys.umass
rm /dev/umass*

After the error occurs 'usb' returns "device 1 -descriptors - Not enough memory" in output.

Re: Fsys.umass error qnx_segment_alloc_flags: Not enough memory  
Hi Chad,

Thanks for your report. I've reproduced described error on my hardware.
It seems that this is Fsys.umass issue and fix in the driver is
required.  I'll inform you when a fix would be available.
As a temporary solution you can increase  number of global segments in
the system by Proc32 option -S ( for example add -S 500 500) and rebuild
the boot image.

Regards,
Pavel

> Because the USB drivers do not support eject detection of flash drive I'm trying to start and stop the drivers 
gracefully between every access to the drive.  After a few (maybe 10+) Fsys.umass returns the above error.
>
> io-usb and Fatfsys stay running the entire time.
>
> Each start does the following:
> Fsys.umass fsys -n0=umass
> sleep 1
> mount -p /dev/umass0
> mount -t dos /dev/umass0t6 /dos/usb
>
> Each stop does these:
> umount /dos/usb
> umount /dev/umass0
> slay -fQ Fsys.umass
> rm /dev/umass*
>
> After the error occurs 'usb' returns "device 1 -descriptors - Not enough memory" in output.
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post88974
>
>

Re: Fsys.umass error qnx_segment_alloc_flags: Not enough memory  
Hi Chad,

New version of the USB stack (2.00K) is available in the LatestSoftwareUpdates section:

http://community.qnx.com/sf/wiki/do/viewPage/projects.qnx4/wiki/LatestSoftwareUpdates

In version 2.00K this problem has been fixed. Please note you have to use updated io-usb and Fsys.umass modules.

Regards,
Pavel


> Hi Chad,
> 
> Thanks for your report. I've reproduced described error on my hardware.
> It seems that this is Fsys.umass issue and fix in the driver is
> required.  I'll inform you when a fix would be available.
> As a temporary solution you can increase  number of global segments in
> the system by Proc32 option -S ( for example add -S 500 500) and rebuild
> the boot image.
> 
> Regards,
> Pavel
> 
> > Because the USB drivers do not support eject detection of flash drive I'm 
> trying to start and stop the drivers gracefully between every access to the 
> drive.  After a few (maybe 10+) Fsys.umass returns the above error.
> >
> > io-usb and Fatfsys stay running the entire time.
> >
> > Each start does the following:
> > Fsys.umass fsys -n0=umass
> > sleep 1
> > mount -p /dev/umass0
> > mount -t dos /dev/umass0t6 /dos/usb
> >
> > Each stop does these:
> > umount /dos/usb
> > umount /dev/umass0
> > slay -fQ Fsys.umass
> > rm /dev/umass*
> >
> > After the error occurs 'usb' returns "device 1 -descriptors - Not enough 
> memory" in output.
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post88974
> >
> >
>