serial console broken on Proliant Microserver
I have broken serial console with FreeNAS-9.3-STABLE-201502271818 on HP Proliant Microserver Gen8.
When I save serial console settings in GUI, I get this crap in messages
Mar 4 23:06:34 vfs notifier: grep: (root0: No such file or directory
Mar 4 23:06:34 vfs notifier: sed: 1: "/^hint.uart.(acpi0
Mar 4 23:06:34 vfs notifier: (roo ...": unterminated regular expression
Mar 4 23:06:38 vfs notifier: Generating grub configuration file ...
Mar 4 23:06:43 vfs notifier: done
And actual grub entry in file /boot/grub/grub.cfg looks liketerminal_output serial console
terminal_input serial console
(root0 --port=0x2f8 --speed=115200
- END /usr/local/etc/grub.d/00_header ###
#2 Updated by Josh Paetzel over 5 years ago
- Status changed from Unscreened to 15
Now this is an interesting problem Jim!
We make multiple passes through the output of devinfo -u
The reason for this is the I/O ports are listed as a separate line item as the IRQ. It sounds like acpi0 and the uart are sharing resources (my guess would be IRQ of course) and everything goes sideways from there.
Can you attach the output of devinfo -u and the contents of /boot/device.hints please?
#6 Updated by shpokas - over 5 years ago
- File pciconf.txt added
Please note I have configured Proliant Virtual Serial Console as per HP doc: http://h20565.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c00263709
During boot phase I see BIOS output in iLO VSP until FreeBSD starts booting (including grub prompt and I can select boot entries in grub menu).
Yet some commands you have requested does not have any output.
[root@vfs] ~# grep uart /var/run/dmesg.boot
[root@vfs] ~# conscontrol
[root@vfs] ~# ls /dev/uart*
ls: No match.
Another note - I had console working before 9.3, but never since upgrade to 9.3. I just started to troubleshoot the thing yesterday.
#7 Updated by Josh Paetzel over 5 years ago
- Status changed from 15 to Fix In Progress
Ok, so the driver isn't attaching when the kernel boots. Which is why you get BIOS and bootloader but nothing after the kernel.
uhci0@pci0:1:0:4: class=0x0c0300 card=0x3381103c chip=0x3300103c rev=0x02 hdr=0x00
vendor = 'Hewlett-Packard Company'
device = 'Integrated Lights-Out Standard Virtual USB Controller'
class = serial bus
subclass = USB
I think we are just missing a kernel module here but without the hardware it's going to be a bit of a shot in the dark to determine which one. I'll send you some kernel modules to try.
#10 Updated by shpokas - over 5 years ago
Well, turns out the other Microserver I have access to, is from previous generation and does not have iLO.
I am somewhat hesitant to test this fix on actual server, which is production machine. That means switching from STABLE to Nightly.
I may find another server sooner or later or maybe someone else will.
#11 Updated by Josh Paetzel over 5 years ago
I threw a fix for this over the wall and really am just waiting on you to tell me if it worked.
I don't have this hardware, nor am I likely to get it. (HP is a competitor of ours after all)
If we are at a standstill here I'm going to close this ticket out.
The change I threw over the wall will be in the next SU. If that works great, if not then we'll need to do more testing and development.