TritonDataCenter / smartos-live

For more information, please see http://smartos.org/ For any questions that aren't answered there, please join the SmartOS discussion list: https://smartos.topicbox.com/groups/smartos-discuss
1.57k stars 245 forks source link

Boot hangs on Supermicro 5019A-FTN4 #928

Closed erwinlem closed 4 years ago

erwinlem commented 4 years ago

I made an USB image with SmartOS 20200422T203030Z, enabled legacy mode in the bios. After turning on verbose mode it hangs at the following line :

image

I have updated the bios & firmware to the latest version, Hipster hangs at the same point. I got a 5018A-FTN4 which boots fine. This machine ran freebsd for a year so I don't think anything is wrong with the hardware. I tried disabling as many features as possible in the bios but that made no difference. Tried running the version I use on the 5018A but that hangs at the same point.

Component Description
Machine 5019A-FTN4
Motherboard A2SDi-8C-HLN4F
Ram 2x 16GB
Disks 2x 700GB ssd and 12TB spinning which are zfs disks from the freebsd install
Network ipmi & 4 network interfaces are connected to a MikroTik switch.

Is there any step I can take to see where it is hanging? Or does anybody else had the same problem?

jasonbking commented 4 years ago

Can you load kmdb from the option menu at boot and try pressing F1-A and see if that puts you into kmdb? What might be useful is running ::cpustack -c XX for each CPU on the system (XX being the cpu number starting at 0). That might give us a hint where things are hanging.

Also, if you have the IPMI port configured, you can enable serial console redirection in the BIOS, and then select 'ttyb' for the console in the loader (I think it's also under the options menu), then use ipmitool to connect to the console via a terminal session (this can be nicer for gathering output since you don't need screenshots).

jasonbking commented 4 years ago

Also, did any previous versions boot without issue?

erwinlem commented 4 years ago

Thank you for the suggestions. I'm a little closer. Apparently if SoL exist (even if disabled) the output still goes to the serial console. As discussed here. At the serial console I get a login prompt.

I will close this issue since it boots fine. Maybe it's a good idea to document this behaviour in the installer documentation. It was quite unexpected.

jasonbking commented 4 years ago

There were some issues with the boot loader -- so that release is being respun (hopefully will be available today or tomorrow) -- that might be why you're only seeing a login prompt there -- it should normally have one on both locations.

jlevon commented 4 years ago

FWIW https://wiki.smartos.org/debugging/

jlevon commented 4 years ago

Can you open a bug against github.com/joyent/smartos-docs? I agree we should have better details console configuration regardless of this.

jasonbking commented 4 years ago

I filed https://github.com/joyent/smartos-docs/issues/32

andy-js commented 4 years ago

I'm seeing the same behaviour on an Intel S2600WFT configured to boot in UEFI mode. It seems like a bug rather than something that needs to be documented.