Looking at the smbios data file, I can confirm the presence of the control character that was causing JSON parsing problems:
[root@headnode (coal) ~]# smbios -t SMB_TYPE_SYSTEM /var/tmp/chad-smbios.data | cat -ve ID SIZE TYPE$ 256 107 SMB_TYPE_SYSTEM (type 1) (system information)$ $ Manufacturer: HP$ Product: ProLiant DL360 G5$ Serial Number: ^Q $ $ UUID: 00000000-0000-1100-0000-000000000000$ Wake-Up Event: 0x6 (power switch)$ SKU Number: $ Family: ProLiant$ $ [root@headnode (coal) ~]# It seems you were able to change that serial number to a JSON-parsable value though. Did it fix the original problem you had with that server? Julien On Jan 25, 2018, at 4:59 AM, Chad M Stewart <[email protected]> wrote: > Perhaps this machine is on its way out, this morning I noticed that GRUB > isn’t automatically booting, rather waiting for me to press enter. Strange > behavior, the same CDROM worked yesterday. (Perhaps the temperature swings of > my garages is taking its toll. For about 4 years the server was in a garage > in TX where it could reach ~ 114 in the summer months, now its ~ 20 in my > garage as I’m no longer in TX.) During the boot process I saw an error about > the clock, so perhaps the battery has died on the motherboard. > > The file is at > https://play.ourspace.io/s/yoP76pDXgYKcFoj/download?path=%2F&files=smbios.data > > I suspect I might be able to change the serial number in the BIOS, something > I’ll try later, else this box just became spare parts for the other machines > in my rack. > > Thank you again for your help! > > > -Chad > >> On Jan 24, 2018, at 9:36 PM, Julien Gilli <[email protected]> wrote: >> >> Hi Chad, >> >> Yes, that would be helpful. Can you actually run the following command in >> that malfunctioning server’s GZ: >> >> $ smbios -w /var/tmp/smbios.data >> >> and upload the /var/tmp/smbios.data file somewhere? This way anyone will be >> able to re-run smbios any number of time with any command line option using >> that data file and reproduce what happens on that machine. >> >> Thanks, >> >> Julien >> >> On Jan 24, 2018, at 6:31 PM, Chad M Stewart <[email protected]> wrote: >> >>> I didn’t see your message, before I suspected a hardware issue (wasn’t sure >>> exactly what) and swapped the memory and disks to another server. Of >>> course no issue on using the different hardware. Reading your message I now >>> see why. I very much appreciate your time and effort looking into this >>> issue. If it would be helpful to you (and the greater SmartOS community I >>> can revive the server with the problematic serial number and get the output >>> for you. >>> >>> Thank you again, >>> Chad >>> >>> >>> >>>> On Jan 24, 2018, at 7:08 PM, Julien Gilli <[email protected]> wrote: >>>> >>>> The sysinfo.json file you uploaded contains a control character (\x011, ^Q >>>> or XON) in the “Serial Number” string value which is not escaped, and thus >>>> invalid in a JSON string. >>>> What is the output on that server for the following command: >>>> >>>> smbios -t SMB_TYPE_SYSTEM | grep Serial >>>> >>>> ? >>>> >>>> On Jan 24, 2018, at 12:21 PM, Chad M Stewart <[email protected]> wrote: >>>> >>>>> Hi Julien, >>>>> >>>>> Sorry about the wrong core dump, imgadm core now at the same URL along >>>>> with gzip’d versions of the sysinfo files from /tmp. I compressed the >>>>> sysinfo files so hopefully nothing in the path will modify the content. >>>>> When I cat the file in my terminal there is no trailing characters. This >>>>> is a strange issue, I have a handful of servers that are all about the >>>>> same age and configuration and only this one is showing this behavior. >>>>> It is possible this box has previously run SmartOS just fine. >>>>> >>>>> >>>>> >>>>> <PastedGraphic-1.png> >>>>> >>>>> >>>>> Thank you for your help with this. >>>>> >>>>> >>>>> -Chad >>>>> >>>> >>> >> >> smartos-discuss | Archives | Modify Your Subscription > > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
