From: "Köry Maincent" <kory.maincent@bootlin.com>
To: netdev@vger.kernel.org, Taras Chornyi <taras.chornyi@plvision.eu>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Miquel Raynal <miquel.raynal@bootlin.com>
Subject: Prestera driver fail to probe twice
Date: Tue, 6 Feb 2024 16:54:06 +0100 [thread overview]
Message-ID: <20240206165406.24008997@kmaincent-XPS-13-7390> (raw)
Hello,
It seems the prestera driver has never been tested as a module or in a
probe defer case:
# insmod /mnt/prestera.ko
# insmod /mnt/prestera_pci.ko
[ 87.927343] Prestera DX 0000:01:00.0: Loading mrvl/prestera/mvsw_prestera_fw-v4.1.img ...
[ 87.935600] Prestera DX 0000:01:00.0: FW version '4.1.0'
[ 91.556693] Prestera DX 0000:01:00.0: Prestera FW is ready
[ 99.431226] Prestera DX 0000:01:00.0: using random base mac address
# rmmod /mnt/prestera_pci.ko
# insmod /mnt/prestera_pci.ko
[ 122.938273] Prestera DX 0000:01:00.0: waiting for FW loader is timed out
[ 122.945163] prestera_pci_probe : 944, err -110
[ 122.949704] Prestera DX: probe of 0000:01:00.0 failed with error -110
We have to find a way to detect if the firmware has already been flashed.
I am not familiar with this controller and don't have its datasheet.
Could someone handle it?
Thanks,
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
next reply other threads:[~2024-02-06 15:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 15:54 Köry Maincent [this message]
2024-02-06 18:30 ` [EXT] Prestera driver fail to probe twice Elad Nachman
2024-02-07 10:22 ` Köry Maincent
2024-02-07 10:56 ` Elad Nachman
2024-02-07 11:28 ` Köry Maincent
2024-02-07 12:24 ` Elad Nachman
2024-02-07 14:31 ` Köry Maincent
2024-02-07 15:06 ` Elad Nachman
2024-02-07 18:31 ` Jakub Kicinski
2024-02-08 7:36 ` Elad Nachman
2024-02-08 15:37 ` Jakub Kicinski
2024-02-13 0:29 ` Jakub Kicinski
2024-02-07 23:32 ` Andrew Lunn
2024-02-08 9:10 ` Köry Maincent
2024-02-08 14:56 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240206165406.24008997@kmaincent-XPS-13-7390 \
--to=kory.maincent@bootlin.com \
--cc=miquel.raynal@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=taras.chornyi@plvision.eu \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).