Project

General

Profile

Actions

Bug #9863

open

[OpenIndiana Hipster] Live DVD and USB hang / freeze during boot

Added by Will B almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2018-10-02
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

When attempting to boot the live Hipster 20180427 DVD or USB, OpenIndiana hangs not long after the boot begins. The hang happens usually right after the SunOS copyright text. When the computer hangs, the processor fan starts to slowly ramp up to maximum after some minutes.

Using kmdb, debug and verbose from the boot menu, the last output shown on-screen is below. I was unable to get into the debugger's interactive mode to get ::msgbuf, ::panicinfo, ::cpuinfo -v or ::threadlist.

...
Reading Intel IOMMU boot options
npe0 at root: space 0 offset 0
npe0 is /pci@0,0
PCI Express-device: isa@14,3, isa0
pseudo-device: acpippm0
acpippm0 is /pseudo/acpippm@0
pseudo-device: ppm0
ppm0 is /pseudo/ppm@0
ramdisk0 at root
ramdisk0 is /ramdisk
root on /ramdisk:a fstype ufs
/cpus (cpunex0) online
pseudo-device: dld0
dld0 is /pseudo/dld@0
PCI Express-device: pci1043,9602@1, pci_pci0
pci_pci0 is /pci@0,0/pci1043,9602@1
PCI Express-device: pci1022,9607@7, pcieb0
pcieb0 is /pci@0,0/pci1022,9607@7
PCI Express-device: pci1022,9608@9, pcieb1
pcieb1 is /pci@0,0/pci1022,9608@9
PCI Express-device: pci1022,9609@a, pcieb2
pcieb2 is /pci@0,0/pci1022,9609@a
PCI Express-device: pci1002,4384@14,4, pci_pci1
pci_pci1 is /pci@0,0/pci1002,4384@14,4

I'm uncertain how to identify which specific device is causing the problem based on this output.

For comparison, here is the output of lspci on Linux:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASUSTeK Computer Inc. AMD RS780/RS880 PCI to PCI bridge (int gfx)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000]
02:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
03:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

My motherboard information:
ASUS M5A78L-M PLUS/USB3, BIOS 0502, 11/18/2016

Processor info:
AMD FX-6300 Six-Core Processor 64-bit

Actions #1

Updated by Will B almost 5 years ago

Further investigation using snooping/W 1 and moddebug/W 80000000 reveals that when the EHCI module is being installed, this is when the hang seems to happen. For this attempt, I disabled only USB 3 / XHCI in BIOS:

When I also disable USB 2.0 / EHCI in my BIOS, it no longer hangs at the EHCI installation step, but then kernel panics:

I have tried to issue kmdb commands to read crash information, but the keyboard does not respond.

Actions #2

Updated by Gary Mills almost 5 years ago

The SunOS banner is printed just before the illumos kernel changes from the BIOS video driver to the driver included with the OS. If that driver does not exist, the output will stop at that point. Try installing a discrete video card just to see if that fixes the problem.

Are you using a USB keyboard? kmdb does not work with a USB keyboard. Likewise, disabling the USB driver is not useful with a USB keyboard. Try using a PS2 keyboard.

Actions #3

Updated by Will B almost 5 years ago

Gary Mills wrote:

Try installing a discrete video card just to see if that fixes the problem.

Try using a PS2 keyboard.

Thanks Gary. I am unable to do these things in my present situation.

A key reason for submitting this trouble report is so that my hardware (and others who have the same hardware) will be supported properly by the kernel. Adding or changing the hardware will basically be a 'band-aid' -- treating the symptom instead of the root issue.

I would be happy to test any patched kernel or do further troubleshooting, but I'm unable to alter my hardware configuration right now.

Actions #4

Updated by Will B almost 5 years ago

More specific information...

I do not have the ability to use a PS/2 keyboard and/or mouse, so I experimented by unplugging all USB connections from the computer and plugging in one thing at a time. The OI Live USB and DVD booted properly when the keyboard and mouse were connected directly to USB 2 ports!

When I previously attempted to boot OI with my USB keyboard through a four-port USB 2 hub that has been part of my setup for a while, OI froze as before. So it appears that there is some weird interaction with the keyboard and hub which is bothering the kernel.

Obviously I will no longer use the hub when trying to boot the OI Live USB or DVD, however I still feel there is a bug here regarding the USB hub itself.

The information for the hub in question:

Targus
Model: ACH114US
Item: 52
Reg: ACH114

dmesg in Linux says this about the hub:

usb 1-6: new high-speed USB device number 7 using ehci-pci
usb 1-6: New USB device found, idVendor=05e3, idProduct=0608
usb 1-6: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-6: Product: USB2.0 Hub
hub 1-6:1.0: USB hub found
hub 1-6:1.0: 4 ports detected

Actions #5

Updated by Gary Mills almost 5 years ago

So, the problem is the USB hub. I recall seeing someplace the information that a hub could not be used with the keyboard or mouse. Is this still the case? Can it be fixed?

You might try plugging the USB hub into another USB port, and seeing if the OS recognizes it. Try this command:

# echo '::prtusb' | mdb -k

Here's what I got on an AMD system:

INDEX   DRIVER      INST  NODE          GEN  VID.PID     PRODUCT             
1       xhci        0     pci1b21,1142  3.0  0000.0000   No Product String
2       xhci        1     pci1043,86f2  3.0  0000.0000   No Product String
3       xhci        2     pci1043,8747  3.0  0000.0000   No Product String
4       usb_mid     0     device        1.1  046d.c31c   USB Keyboard
5       scsa2usb    1     storage       2.0  058f.6362   Mass Storage Device
6       hid         0     mouse         1.1  045e.0040   
Microsoft Wheel Mouse Optical�

On an Intel system, I got:

INDEX   DRIVER      INST  NODE          GEN  VID.PID     PRODUCT             
1       ehci        0     pci103c,1309  2.0  0000.0000   No Product String
2       ehci        1     pci103c,1309  2.0  0000.0000   No Product String
3       uhci        0     pci103c,1309  1.1  0000.0000   No Product String
4       uhci        1     pci103c,1309  1.1  0000.0000   No Product String
5       uhci        2     pci103c,1309  1.1  0000.0000   No Product String
6       uhci        3     pci103c,1309  1.1  0000.0000   No Product String
7       uhci        4     pci103c,1309  1.1  0000.0000   No Product String
8       uhci        5     pci103c,1309  1.1  0000.0000   No Product String
9       scsa2usb    0     storage       2.0  0bda.0181   USB2.0-CRW
a       hid         0     mouse         2.0  192f.0416   USB Optical Mouse
b       hid         3     keyboard      1.1  0430.0005   No Product String

You might also find something useful in the /var/adm/messages log file.

Actions #6

Updated by Will B almost 5 years ago

Thanks Gary,

I will have to try this at a later date. I finally was able to get OI installed and the video to (somewhat) work, but because VirtualBox takes a computer scientist to install on OI and because the OS won't mount an ext3 or ext4 partition it makes OI unworkable for my needs -- at least for the time being.

Thanks again! :)

Actions

Also available in: Atom PDF