Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 6.3.0 SP3 failed with USB card reader to access an Compact Flash card: (3 Items)
   
QNX 6.3.0 SP3 failed with USB card reader to access an Compact Flash card  
I'd like to install QNX on a CF card. Therefore I tried to use an USB card reader to format it and copy the required 
program onto it. But the CF card is not accessible from QNX 8-( (An USB memory stick works perfectly.)

The devices are created successfully:
$ ls -l /dev/hd*
...
brw-------  1 root      root        13,   0 Sep 21 18:41 /dev/hd20
brw-------  1 root      root        13,   1 Sep 21 18:42 /dev/hd21
brw-------  1 root      root        13,   2 Sep 21 18:42 /dev/hd22
brw-------  1 root      root        13,   3 Sep 21 18:42 /dev/hd23
brw-------  1 root      root        13,   4 Sep 21 18:42 /dev/hd24

but fdisk does not work:
# fdisk /dev/hd21
FDISK
        _____OS_____     Start      End     ______Number_____    Size    Boot
        name    type    Cylinder  Cylinder  Cylinders  Blocks

--> 1.  nonQNX (255)     267349    267348         0          -1  209715MB  *
    2.  DOS    (  4)         84       164        81     1310720    640 MB  *
    3.  nonQNX (255)     158202     49055   -109146   -1753436107124098MB
    4.  nonQNX (255)     267349    267348         0          -1  209715MB  *
...
Drive : /dev/hd21                   Config:   255 Heads
Size  : 0 Mbytes                               63 Sectors/track
Loader: QNX                                     0 Cylinders
                                              512 Block Size

                                    Last cylinder is -1

The device is read only 8-(  The inserted CF card has 512 MB capacity and is DOS formatted.

sloginfo provides this messages:
Sep 21 18:41:52    2    19   900 umass_bulk_reset: path 2, devno 2
Sep 21 18:41:53    5    21     0 run fault pid 8201 tid 2 signal 11 code 1 ip 0xb033fff6 proc/boot/umass-enum


# usb -vv
USB 0 (OHCI) v1.10, v1.01 DDK, v1.01 HCD
    Control, Interrupt, Bulk, Isoch, Low speed, Full speed

USB 1 (OHCI) v1.10, v1.01 DDK, v1.01 HCD
    Control, Interrupt, Bulk, Isoch, Low speed, Full speed

USB 2 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
    Control, Interrupt, Bulk, High speed

Device Address             : 1
Upstream Host Controller   : 2
Upstream Device Address    : 0
Upstream Port              : 5
Upstream Port Speed        : High
Vendor                     : 0x1516 (USB 2.0)
Product                    : 0x8628 (FlashDisk)
Device Release             : r2.00
USB Spec Release           : v2.00
Serial Number              : 000000000000001000004BEE
Class                      : 0x00 (Independant per interface)
Max PacketSize0            : 64
Languages                  : 0x0409 (English)
Configurations             : 1
  Configuration            : 1
    Attributes             : 0x80 (Bus-powered)
    Max Power              : 100 mA
    Interfaces             : 1
      Interface            : 0 / 0
        Class              : 0x08 (Mass Storage)
        Subclass           : 0x06 (SCSI)
        Protocol           : 0x50

Device Address             : 2
Upstream Host Controller   : 2
Upstream Device Address    : 0
Upstream Port              : 3
Upstream Port Speed        : High
Vendor                     : 0x058f (Generic)
Product                    : 0x6377 (Mass Storage Device)
Device Release             : r1.00
USB Spec Release           : v2.00
Serial Number              : 058F412D8PB1
Class                      : 0x00 (Independant per interface)
Max PacketSize0            : 64
Languages                  : 0x0409 (English)
Configurations             : 1
  Configuration            : 1
    Attributes             : 0x80 (Bus-powered)
    Max Power              : 100 mA
    Interfaces             : 1
      Interface            : 0 / 0
        Class              : 0x08 (Mass Storage)
        Subclass           : 0x06 (SCSI)
        Protocol           : 0x50


This an Transcend Multi-Card Reader M2 (TS-RDM2). Using another multi card reader provides the same behavior.

What can I do?

TiA
Christian



Re: QNX 6.3.0 SP3 failed with USB card reader to access an Compact Flash card  
Could you show your pidin arg?
from the ls -l /dev/hd*, it doesn't show up hd21t4 so it is possible that partition is not correct?
Re: QNX 6.3.0 SP3 failed with USB card reader to access an Compact Flash card  
the partition is supposed to be wrong, because I want to initialize the CF card. Therefore I used fdisk to set up a new 
partition table.

here is the device list and the pidin output:

# ls -l /dev/hd*
brw-------  1 root      root         4,   0 Oct 08 10:54 /dev/hd0
brw-------  1 root      root         1,   7 Oct 08 10:54 /dev/hd0t77
brw-------  1 root      root         1,   6 Oct 08 10:54 /dev/hd0t79
brw-------  1 root      root         4,   1 Oct 08 10:54 /dev/hd1
brw-------  1 root      root        12,   0 Oct 08 11:36 /dev/hd10
brw-------  1 root      root        12,   1 Oct 08 11:36 /dev/hd11
brw-------  1 root      root        12,   2 Oct 08 11:36 /dev/hd12
brw-------  1 root      root        12,   3 Oct 08 11:36 /dev/hd13
brw-------  1 root      root        12,   4 Oct 08 11:36 /dev/hd14
brw-------  1 root      root         1,   8 Oct 08 10:54 /dev/hd1t79
# pidin
     pid tid name               prio STATE       Blocked
       1   1 boot/procnto-instr   0f READY
       1   2 boot/procnto-instr 255r RECEIVE     1
       1   3 boot/procnto-instr  10r RECEIVE     1
       1   4 boot/procnto-instr  10r RECEIVE     1
       1   5 boot/procnto-instr  10r RECEIVE     1
       1   6 boot/procnto-instr  10r RUNNING
       1   7 boot/procnto-instr  10r RECEIVE     1
       1   8 boot/procnto-instr  10r RECEIVE     1
       1   9 boot/procnto-instr  10r RECEIVE     1
       2   1 sbin/tinit          10o REPLY       1
    4099   1 proc/boot/pci-bios  10o RECEIVE     1
    4100   1 proc/boot/slogger   21o RECEIVE     1
    4101   1 proc/boot/io-usb    10o SIGWAITINFO
    4101   2 proc/boot/io-usb    21r RECEIVE     4
    4101   3 proc/boot/io-usb    21r RECEIVE     7
    4101   4 proc/boot/io-usb    21r RECEIVE     10
    4101   5 proc/boot/io-usb    21r RECEIVE     1
    4101   6 proc/boot/io-usb    10o RECEIVE     13
    4101   7 proc/boot/io-usb    10r NANOSLEEP
    4101   8 proc/boot/io-usb    21o RECEIVE     13
    4102   1 proc/boot/io-hid    10o SIGWAITINFO
    4102   2 proc/boot/io-hid    10o RECEIVE     4
    4102   3 proc/boot/io-hid    10o RECEIVE     4
    4102   4 proc/boot/io-hid    10r REPLY       4101
    4102   5 proc/boot/io-hid     9r RECEIVE     12
    4102   6 proc/boot/io-hid     9r RECEIVE     16
    4103   1 /boot/devc-con-hid  10o RECEIVE     1
    4103   2 /boot/devc-con-hid  10o REPLY       4102
    8200   1 roc/boot/devb-eide  10o SIGWAITINFO
    8200   2 roc/boot/devb-eide  21r RECEIVE     1
    8200   3 roc/boot/devb-eide  21r RECEIVE     4
    8200   4 roc/boot/devb-eide  10o RECEIVE     10
    8200   5 roc/boot/devb-eide  10o RECEIVE     7
    8200   7 roc/boot/devb-eide  10o RECEIVE     7
    8200   8 roc/boot/devb-eide  10o RECEIVE     7
    8200   9 roc/boot/devb-eide  10o RECEIVE     7
    8201   1 oc/boot/umass-enum  10o SIGWAITINFO
    8201   2 oc/boot/umass-enum  10r REPLY       4101
   16394   1 sbin/pipe           10o RECEIVE     1
   16394   2 sbin/pipe           10o RECEIVE     1
   16394   3 sbin/pipe           10o RECEIVE     1
   20491   1 sbin/mqueue         10o RECEIVE     1
   77837   1 sbin/devc-ser8250   10o RECEIVE     1
   77840   1 sbin/io-net         10o SIGWAITINFO
   77840   2 sbin/io-net         10o RECEIVE     5
   77840   3 sbin/io-net         10o RECEIVE     1
   77840   4 sbin/io-net         10o RECEIVE     1
   77840   5 sbin/io-net         10o RECEIVE     1
   77840   6 sbin/io-net         21r RECEIVE     19
  102415   1 r/sbin/dhcp.client  10o NANOSLEEP
  106510   1 sbin/devb-fdc       10o SIGWAITINFO
  106510   2 sbin/devb-fdc       21r RECEIVE     1
  106510   3 sbin/devb-fdc       10o RECEIVE     7
  106510   4 sbin/devb-fdc       10o RECEIVE     4
  106510   5 sbin/devb-fdc       10o RECEIVE     4
  106510   6 sbin/devb-fdc       10o RECEIVE     4
  118796   1 sbin/devc-pty       10o RECEIVE     1
  122897   1 usr/sbin/random     10o SIGWAITINFO
  122897   2 usr/sbin/random     10o RECEIVE  ...
View Full Message