Bug 265851 - Bringing RT3593 up crashes system
Summary: Bringing RT3593 up crashes system
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2022-08-15 09:20 UTC by Philipp Ammann
Modified: 2022-10-25 16:07 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Ammann 2022-08-15 09:20:56 UTC
I have a Ralink RT3953 based wireless card. It's a mini PCIe based card that supports 3x3 MIMO and 5GHz operation.

The card gets detected and I can run "ifconfig wlan0 create wlandev ral0". But as soon as I try to bring up the interface, the system freezes. The last log message (when booted in verbose mode) is

  firmware: 'rt2860fw' version 0: 8192 bytes loaded at 0x...

Unfortunately there is no log entry and no crash dump. At least I could not find any log or further info relating to this crash.

This happens on two totally different (AMD/Intel based) systems, albeit with the same card. I booted Linux on one of the systems to confirm it's not a HW issue -- the card works on Linux.

Two observations that may or may not be related to this particular problem:

- The kernel tells me the 11b/g (i.e. 2.4GHz) rates this card supports but there is no mention of a/n (which the card certainly supports).

- Linux does not seem to load any firmware for that card. Linux tells you via dmesg when FW gets loaded -- but there is only an entry for the ethernet NIC, not for the wireless card.

Initially I encountered this problem with pfSense but was able to reproduce it on vanilla FreeBSD 12.3 and 13.1. See [1] for my initial question on the pfSense forums.

Thanks
Philipp

[1] https://forum.netgate.com/topic/174092/ralink-rt3593-freezes-system
Comment 1 Philipp Ammann 2022-08-15 09:40:48 UTC
Typo: the chip is called RT3593, _not_ RT3953. Sorry
Comment 2 Bjoern A. Zeeb freebsd_committer freebsd_triage 2022-08-25 21:41:33 UTC
Can you add the output of
  pciconf -lv
for the card?
Comment 3 Philipp Ammann 2022-08-28 08:20:14 UTC
(In reply to Bjoern A. Zeeb from comment #2)

# pciconf -lv
[...]
ral0@pci0:4:0:0:	class=0x028000 card=0x35931814 chip=0x35931814 rev=0x00 hdr=0x00
    vendor     = 'Ralink corp.'
    class      = network

This is on pfSense 2.6.0.