Bug #26357
Report PCI UARTs to recognize serial cards
Description
I have a serial card that is recognized by FreeBSD, but FreeNAS doesn't recognize it.
The only option on the Serial Port Pulldown on the System/Advanced Tab of the web GUI is 0x2F8, and there isn't a port at that address.
Details of the card in question:
From dmesg
pci7: <ACPI PCI bus> on pcib7
uart2: <Lava Computer mfg DSerial-PCI Port A> port 0xb090-0xb097 irq 17 at device 0.0 on pci7
uart3: <Lava Computer mfg DSerial-PCI Port B> port 0xb080-0xb087 irq 17 at device 0.1 on pci7
From lspci vv BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
07:00.0 Serial controller: Lava Computer mfg Inc Lava DSerial-PCI Port A (prog-if 02 [16550])
Control: I/O+ Mem
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at b090
07:00.1 Serial controller: Lava Computer mfg Inc Lava DSerial-PCI Port B (prog-if 02 [16550])
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at b080
From pciconf -lbcevV pci0:7:0:0
uart2@pci0:7:0:0: class=0x070002 card=0x00000000 chip=0x01101407 rev=0x00 hdr=0x00
vendor = 'Lava Computer mfg Inc'
device = 'Lava DSerial-PCI Port A'
class = simple comms
subclass = UART
bar [10] = type I/O Port, range 32, base 0xb090, size 8, enabled
From pciconf -lbcevV pci0:7:0:1
uart3@pci0:7:0:1: class=0x070002 card=0x00000000 chip=0x01111407 rev=0x00 hdr=0x00
vendor = 'Lava Computer mfg Inc'
device = 'Lava DSerial-PCI Port B'
class = simple comms
subclass = UART
bar [10] = type I/O Port, range 32, base 0xb080, size 8, enabled
Associated revisions
History
#1
Updated by Barry Moore over 3 years ago
- File debug-freenas-20171026105533.txz added
#2
Updated by Dru Lavigne over 3 years ago
- Assignee changed from Release Council to Alexander Motin
- Seen in changed from Unspecified to 11.0-U4
#3
Updated by Alexander Motin over 3 years ago
- Status changed from Unscreened to 15
- Priority changed from No priority to Important
Could you please attach full `devinfo -u` command output? Most likely it is WebUI bug, not a card detection.
#4
Updated by Alexander Motin over 3 years ago
- Category changed from 1 to Middleware
#5
Updated by Barry Moore over 3 years ago
- File FreeNAS_devinfo-u.txt added
#6
Updated by Dru Lavigne over 3 years ago
- Status changed from 15 to Screened
#7
Updated by Alexander Motin over 3 years ago
- Status changed from Screened to 19
- Target version set to 11.1-BETA1
I've found the problem. Next nightly build should fix it. Please try it, if you can, and report whether it works, since we rarely see PCI UARTs.
#8
Updated by Dru Lavigne over 3 years ago
- File deleted (
debug-freenas-20171026105533.txz)
#9
Updated by Dru Lavigne over 3 years ago
- File deleted (
FreeNAS_devinfo-u.txt)
#10
Updated by Dru Lavigne over 3 years ago
- Target version changed from 11.1-BETA1 to 11.1-RC1
- Private changed from Yes to No
#11
Updated by Dru Lavigne over 3 years ago
- Subject changed from Serial card recognized by FreeBSD but not FreeNAS. to Report PCI UARTs to recognize serial cards
#12
Updated by Barry Moore over 3 years ago
- Target version deleted (
11.1-RC1)
Thanks for quick response - I will be away and not able to test for about a week.
Sorry for the really noob question:
Is there a way I easily test without damaging my production system?
#13
Updated by Eric Loewenthal over 3 years ago
To be absolutely safe, you can disconnect your disks and install to a new USB flash drive. Afterwards, switch back to your old boot device and reconnect your disks.
#14
Updated by Dru Lavigne over 3 years ago
- Target version set to 11.1-RC1
#15
Updated by Dru Lavigne over 3 years ago
- Status changed from 19 to Resolved
#16
Updated by Barry Moore over 3 years ago
- QA Status Test Passes FreeNAS added
- QA Status deleted (
Not Tested)
Loaded a manual update of V11.1RC1.
The non-existent port no longer appears in the drop down menu, and the correct addresses are automatically populated.
After setting the correct serial parameters and rebooting, and the serial port works perfectly from the time the Grub menu is displayed.
Great work - thanks for your speedy resolution to this issue and your patience with my inexperience.
#17
Updated by Joe Maloney over 3 years ago
- Needs QA changed from Yes to No