Error reading from istream: Error reading from file descriptor: No such device

Aleksander Morgado aleksander at aleksander.es
Fri Mar 6 08:38:04 UTC 2020


Hey,

> I have a problem :
>
> * Debian stretch  / kernel 4.9.0.12
> * Sierra Wireless, Incorporated  MC7304
> * libqmi 1.22.6
>
> when launching connections :
>
> Loading profile at /etc/qmi-network.conf...
>     APN: free
>     APN user: free
>     APN password: free
>     qmi-proxy: no
> Checking data format with 'qmicli -d /dev/cdc-wdm1 --wda-get-data-format '...
> [06 Mar 2020, 07:53:15] -Warning ** [/dev/cdc-wdm1] requested auto mode but no MBIM QMUX support available
> Device link layer protocol retrieved: 802-3
> Getting expected data format with 'qmicli -d /dev/cdc-wdm1 --get-expected-data-format'...
> [06 Mar 2020, 07:53:15] -Warning ** [/dev/cdc-wdm1] requested auto mode but no MBIM QMUX support available
> Expected link layer protocol retrieved: 802-3
> Device and kernel link layer protocol match: 802-3
> Starting network with 'qmicli -d /dev/cdc-wdm1 --wds-start-network=apn='free',username='free',password='free',ip-type=4  --client-no-release-cid '...
> [06 Mar 2020, 07:53:15] -Warning ** [/dev/cdc-wdm1] requested auto mode but no MBIM QMUX support available
> [06 Mar 2020, 07:53:22] -Warning ** Error reading from istream: Error reading from file descriptor: No such device
> error: operation failed: operation failed and couldn't be aborted: Cannot write message: Error writing to file descriptor: No such device
> Saving state at /tmp/qmi-network-state-cdc-wdm1... (CID: 9)
> error: network start failed, no packet data handle
> [06 Mar 2020, 07:54:00] -Warning ** [/dev/cdc-wdm1] requested auto mode but no MBIM QMUX support available
> error: couldn't release client: QMI protocol error (3): 'Internal'
> Clearing state at /tmp/qmi-network-state-cdc-wdm1...
>
>
> I deploy libqmi on lot of the same hardware but got problem on the two last installation.
> I think the main events is "Error reading from istream: Error reading from file descriptor: No such device"
>

Yes that is the main event. This totally looks like the device reboots
itself for some reason? Can you run "dmesg -w" while you run the test
to see if the device goes away and comes back?

> Do I have the take care of "Warning ** [/dev/cdc-wdm1] requested auto mode but no MBIM QMUX support available".
>

No, you can ignore that. I think we should avoid printing that warning
if MBIM support was not built in libqmi, it's very misleading. Again,
just ignore that specific message.


-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list