REMOUNT PROBLEM WITH USB KEY UNDER QNX6.3.0

I use a USB key and devb-umass driver. The first time all work fine but if I
plug out my usb key then i plug in again, the logical mount access is not
create.

I show information I get :

io-usb -duhci

devb-umass cam verbose blk automount=hd1t6:/usb:dos:exe=all,verbose

Bmap Cache: enabled [640 entries]

Name Cache: enabled [1600 entries]
Buffer Cache: allocated [4856k/4856k]
Cache Wiping: no limit
Async-IOdone: enabled
Delayed-writes: enabled [2 secs/1 sec/+2 secs]
Vnode Cache: [1280-3840 files]
Ramdisk: disabled
io-blk: Attach (removable) ‘/dev/hd1’
io-blk: Verify fsys ‘/dev/hd1’ - removable,expired
io-blk: IO read (/dev/hd1) blks 0…0
io-blk: Auto-Attach ‘/dev/hd1t6’
io-blk: Verify fsys ‘/dev/hd1t6’ - removable
io-blk: IO read (/dev/hd1) blks 32…32
io-blk: IO read (/dev/hd1) blks 33…33
io-blk: IO read (/dev/hd1) blks 533…575
io-blk: IO write (/dev/hd1) blks 32…32
io-blk: Auto-Mount ‘/usb’ on ‘/dev/hd1t6’
io-blk: Verify fsys ‘/dev/hd1’ - removable
[00] SIM="" HBA=“QNX USB Storage”
[00,0,0] type=00 ver=02 resp=02 USB BAR 2.00

----> ls /usb work fine at this point.

----> I plug out usb key and i obtain following messages :

io-blk: Detach ‘/dev/hd1’

io-blk: Auto-Unmount ‘/usb’
io-blk: Auto-Unmount ‘/dev/hd1t6’
io-blk: Auto-Unmount ‘/dev/hd1’


----> I plug usb key and I obtain :

io-blk: Attach (removable) ‘/dev/hd1’

io-blk: Verify fsys ‘/dev/hd1’ - removable,expired
io-blk: IO read (/dev/hd1) blks 0…0
io-blk: Auto-Attach ‘/dev/hd1t6’
io-blk: Skipping automount fsys on ‘/dev/hd1t6’ - No such file or directory
io-blk: Verify fsys ‘/dev/hd1’ - removable


----> logical mount point : /usb is not avalaible !
----> I have to make mount command to re-create it (mount -w -tdos /hd1t6
/usb)
----> It seem to mount to early when devb-umass find the usb key the second
time. I don’t find any option to obtain better work

Can you analyse it or suggest some options to use USB KEY ?

Best regards
Gabriel GRANGE

email : ggrange@centralp.fr
web : www.centralp.fr

try “cam pnp” option …

Pavol Kycina


“PAYRE serge” <spayre@centralp.fr> wrote in message
news:d583di$dkv$1@inn.qnx.com

I use a USB key and devb-umass driver. The first time all work fine but if
I
plug out my usb key then i plug in again, the logical mount access is not
create.

I show information I get :

io-usb -duhci

devb-umass cam verbose blk automount=hd1t6:/usb:dos:exe=all,verbose

Bmap Cache: enabled [640 entries]

Name Cache: enabled [1600 entries]
Buffer Cache: allocated [4856k/4856k]
Cache Wiping: no limit
Async-IOdone: enabled
Delayed-writes: enabled [2 secs/1 sec/+2 secs]
Vnode Cache: [1280-3840 files]
Ramdisk: disabled
io-blk: Attach (removable) ‘/dev/hd1’
io-blk: Verify fsys ‘/dev/hd1’ - removable,expired
io-blk: IO read (/dev/hd1) blks 0…0
io-blk: Auto-Attach ‘/dev/hd1t6’
io-blk: Verify fsys ‘/dev/hd1t6’ - removable
io-blk: IO read (/dev/hd1) blks 32…32
io-blk: IO read (/dev/hd1) blks 33…33
io-blk: IO read (/dev/hd1) blks 533…575
io-blk: IO write (/dev/hd1) blks 32…32
io-blk: Auto-Mount ‘/usb’ on ‘/dev/hd1t6’
io-blk: Verify fsys ‘/dev/hd1’ - removable
[00] SIM="" HBA=“QNX USB Storage”
[00,0,0] type=00 ver=02 resp=02 USB BAR 2.00

----> ls /usb work fine at this point.

----> I plug out usb key and i obtain following messages :

io-blk: Detach ‘/dev/hd1’

io-blk: Auto-Unmount ‘/usb’
io-blk: Auto-Unmount ‘/dev/hd1t6’
io-blk: Auto-Unmount ‘/dev/hd1’


----> I plug usb key and I obtain :

io-blk: Attach (removable) ‘/dev/hd1’

io-blk: Verify fsys ‘/dev/hd1’ - removable,expired
io-blk: IO read (/dev/hd1) blks 0…0
io-blk: Auto-Attach ‘/dev/hd1t6’
io-blk: Skipping automount fsys on ‘/dev/hd1t6’ - No such file or
directory
io-blk: Verify fsys ‘/dev/hd1’ - removable


----> logical mount point : /usb is not avalaible !
----> I have to make mount command to re-create it (mount -w -tdos /hd1t6
/usb)
----> It seem to mount to early when devb-umass find the usb key the
second
time. I don’t find any option to obtain better work

Can you analyse it or suggest some options to use USB KEY ?

Best regards
Gabriel GRANGE

email : > ggrange@centralp.fr
web : > www.centralp.fr








\

Thanks for your help, I had already try multiple options before ask some
help. pnp option doesn’t make it work…

After other QNX problem it seem to be know despite one year by QNX
developper… the solution exists but it is not yet implemented…
perhaps next year…
The workaround to do is make a mount command from application…
I transfer answer i get from your service… I let you imagine what
developper we are think about !


“Yes, for 6.3 USB automouting works only the first time (this is known as
PR/18901). It was fixed a year ago but not schedulled for any release
yet. You can workaround by performing the mount manually (after insert).”
John Garvey