RESOLVED: FreeBSD hangs while booting with USB legacy support off

Norihiko Murase mur1080224 at inter7.jp
Sun Mar 27 18:42:00 UTC 2011


Hi,

I would like to report upon the following problem (symptom)
that I did post to this mailing list::
  * URL: http://lists.freebsd.org/pipermail/freebsd-usb/2011-January/009849.html
    Date: 16 Jan 2011 15:48:21 +0900
    Message-ID: <20110116064821.12622.qmail at ts1.inter7.jp>
    To: freebsd-usb at freebsd.org
    From: Norihiko Murase <mur1080224 at inter7.jp>
    Subject: FreeBSD hangs while booting with USB legacy support off
(The full text of it is available also at the bottom of this
message.)

Fortunately this problem is now RESOLVED.

Briefly, the root cause of it is
  * the wrong connection method between the KVM switch
  * and the PC motherboard
  * 
  * # where KVM switch means hardware device that allows a
  * # user to control multiple computers from a single
  * # keyboard, video monitor and mouse.
  * # http://en.wikipedia.org/wiki/KVM_switch
Only one (NOT two) of the two PS/2 connectors from the KVM
switch was plugged into the PC motherboard, which is
considered to be WRONG officially (by the KVM switch vendor).


------------------------------
The KVM switch I use is corega CG-PC2KVMCA, whose detail is
as follows::
  * KVM switch: corega CG-PC2KVMCA
    http://corega.jp/prod/pc2kvmca/
    ----------
    (1) It accepts the following as console:
          - PS/2 and USB keyboard
          - PS/2 and USB mouse
          - USB 2.0/1.1 hardware
          - Analog/RGB display monitor
    (2) The connection interfaces available to the PC are
        as follows::
          - USB (for keyboard, mouse, and other hardware)
          - PS/2 (for keyboard and mouse)
          - Analog/RGB display monitor

I connected the PS/2 keyboard and the PS/2 mouse to the
above-mentioned KVM switch, which is not wrong.

The PC motherboard that is connected to the above-mentioned
KVM switch is GIGABYTE GA-P55A-UD5, whose detail is mentioned
in the original message I posted::
  * Motherboard: GIGABYTE GA-P55A-UD5
    http://www.gigabyte.com/products/product-page.aspx?pid=3237
    ----------
    (1) BIOS ver = F12 (latest)
    (2) Chipset: Intel P55 Express
    (3) Only one PS/2 connector is available.
    (4) USB 3.0 ports are available as well as USB 2.0/1.1 ones.

I connected the cables between the KVM switch and the PC
motherboard. These cables provide the following connector at
the side of the PC motherboard::
  (a)   USB
  (b-1) PS/2 keyboard
  (b-2) PS/2 mouse
  (c)   Analog/RGB display monitor
I plugged (a), (b-1), and (c) into the PC motherboard. The
connector (b-2) was NOT plugged, because it is ONLY ONE PS/2
connector that is available at this PC motherboard.

However, the KVM switch vendor informed me that this
connection method was WRONG and that only the following
two patterns are accepted as the PS/2 connection method::
  (OK) BOTH OF (b-1) AND (b-2) are plugged into the PC
  (OK) NEITHER (b-1) NOR (b-2) are plugged into the PC
  -----
  (NG) only (b-1) is plugged into the PC
  (NG) only (b-2) is plugged into the PC

Now, only (a) and (c) are plugged into the PC motherboard.
Under this circumstance, no trouble occur, independently of
the following bios setting::
  <USB Legacy Function> = "Enabled" / "Disabled"
  <Onboard USB 3.0 Controller> = "Enabled" / "Disabled"


Finally, I would like to thank those who gave me the comments.


-------------------- Original Message --------------------
Date: 16 Jan 2011 15:48:21 +0900
Message-ID: <20110116064821.12622.qmail at ts1.inter7.jp>
To: freebsd-usb at freebsd.org
From: Norihiko Murase <mur1080224 at inter7.jp>
Subject: FreeBSD hangs while booting with USB legacy support off
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
URL: http://lists.freebsd.org/pipermail/freebsd-usb/2011-January/009849.html

Hi,

My name is Norihiko Murase. I would like you to give me the
comments/suggestions about the symptom described below.


When I started the FreeBSD installation system via DVD
(FreeBSD-***-RELEASE-i386-dvd1.iso), the system hangs while
the devices are being probed.

The last lines displayed was the following::
  pci4: <ACPI PCI bus> on pcib4
  pci4: domain=0, physical bus=4

Curiously, the system does NOT hang at all if the bios
setting of the box is changed as follows:
  <USB Legacy Function> = "Enabled" (from "Disabled")
# opposite to PR#91906 ?!
# http://www.freebsd.org/cgi/query-pr.cgi?pr=91906

After I change the bios setting as described above, the
following lines are displayed::
  pci4: <ACPI PCI bus> on pcib4
  pci4: domain=0, physical bus=4
  found-> vendor=0x1033, dev=0x0194, revid=0x03
          domain=0, bus=4, slot=0, func=0
          class=0c-03-30, hdrtype=0x00, mfdev=0
          cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
          lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
          intpin=a, irq=12
          powerspec 3  supports D0 D3  current D0
          MSI supports 8 messages, 64 bit
          MSI-X supports 8 messages in map 0x10
          map[10]: type Memory, range 64, base 0xfbcfe000, size 13, enabled
  pcib4: requested memory range 0xfbcfe000-0xfbcfffff: good
  pcib4: matched entry for 4.0.INTA
  pcib4: slot 0 INTA hardwired to IRQ 18
  pci4: <serial bus, USB> at device 0.0 (no driver attached)


Detail of the environment under which I tried is as follows:
  * OS: FreeBSD
      6.4-RELEASE
      7.3-RELEASE
      8.1-RELEASE
  * Motherboard: GIGABYTE GA-P55A-UD5
    http://www.gigabyte.com/products/product-page.aspx?pid=3237
    ----------
    (1) BIOS ver = F12 (latest)
    (2) Chipset: Intel P55 Express
    (3) Only one PS/2 connector is available.
    (4) USB 3.0 ports are available as well as USB 2.0/1.1 ones.


Best regards,
---
Norihiko Murase <mur1080224 at inter7.jp>

_______________________________________________
freebsd-usb at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"



More information about the freebsd-usb mailing list