Bug 162936 - fails boot and destabilizes other OSes on FreeBSD 9 RC2 with MSI P6N SLI Platinum
Summary: fails boot and destabilizes other OSes on FreeBSD 9 RC2 with MSI P6N SLI Plat...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: amd64 (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 02:40 UTC by Kevin Ar18
Modified: 2018-05-31 15:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ar18 2011-11-29 02:40:07 UTC
Summary:
--------
Using the "FreeBSD-8.2-RELEASE-amd64-memstick.img"

* System refuses to complete boot
* No hard drives show up in GEOM / rootmount prompt
* Bluescreens Windows after reboot; must cut power
* After powerdown, networking (internet) does not work in Windows right away ... takes some time to start working again.

Details:
1. Tried the "FreeBSD-8.2-RELEASE-amd64-memstick.img" on both a memory stick and an IDE hard drive (the results are the same).
2. On boot, gives several errors:
usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT,
ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
(Since I don't have log, I copied from this source: http://lists.freebsd.org/pipermail/freebsd-stable/2011-July/063196.html)

3. Eventually it ends up at rootmount> prompt
4. If I type "?", no GEOM devices show up.  Guess it can't detect any drives... USB, IDE, or SATA.
5. After reboot, and trying to boot Windows I get a bluescreen stop error.  Must cut power to regain control.
6. After second reboot, in Windows, networking is offline and takes some time to get working (several seconds).  This might not be OS related; it could be my router resetting from the power.


Also tried:
hints.acpi.0.disabled = "1"
Result: the boot process did not get very far.  It said something about not detecting a timer and panicking.  I think I also noticed it couldn't detect some cores/cpus.

hints.apic.0.disabled = "a"
Result: the boot didn't get far. Page fault.


Related items:
This bug report has a lot of similarities: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/118842
Note the problems with not detecting drives, and the same nForce 650i chipset.

This bug report also has similar similarities:
http://www.freebsd.org/cgi/query-pr.cgi?pr=121305&cat=kern
Problems detecting drives and the same motherboard and chipset.

This report also may have some relevance:
http://lists.freebsd.org/pipermail/freebsd-stable/2011-July/063196.html
I see some of the same errors (as noted earlier).

Fix: 

If you need more exact log info, you may need to tell me how I can save/log it properly.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2011-11-30 13:20:14 UTC
On Monday, November 28, 2011 9:35:08 pm Kevin Ar18 wrote:
> >Synopsis:       fails boot and destabilizes other OSes on FreeBSD 9 RC2 
with MSI P6N SLI Platinum
> ...
> >Release:        FreeBSD 9 RC2
> >Organization:
> >Environment:
> * MSI P6N SLI Plantium (nForce 650i northbridge)(nForce 430i southbridge)
> * Intel Q6600
> * USB Memory
> * 1x IDE drive
> * 1x SATA drive
> >Description:
> Summary:
> --------
> Using the "FreeBSD-8.2-RELEASE-amd64-memstick.img"

Hm, here you say 8.2, bit your title says 9?

On a whim, if this is 9, can you try setting 'debug.acpi.disabled=hostres' 
from the loader prompt?

-- 
John Baldwin
Comment 2 Kevin Ar18 2011-12-01 21:21:35 UTC
Apologees, it is definitely 9 RC2.  I just copied the wrong name.

I was using this one for most tests: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/FreeBSD-9.0-RC2-amd64-memstick.img

I also tried a nightly build (built with LLVM+Clang) that someone else made:
http://forums.freebsd.org/showthread.php?p=156243
It was the "freebsd-head-clang.amd64-r228148.img"  It also did not work... although I got the db (debugger?)


...
Tried debug.acpi.disabled="hostres" by adding that line to /boot/boot.conf and /boot/loader.conf
Also, on boot, I escaped to the loader and typed in: set debug.acpi.disabled=hostres and debug.acpi.disabled=hostres
(Is one of those right?)
Anyways, same errors.  Including failed boot, no devices listed in GEOM, and Windows blue screen.
I looked through the file system to see if it made any logs; no logs were made, so can't paste any info from that.


------------
Also, I should note, that DragonFlyBSD boots and detects just fine.  Here's a piece of the log that might be relevant from DragonFly:
ohci0.pci0.pcib0.acpi0.nexus0.root0
ohci0: <OHCI (generic) USB controller> [tentative] mem 0xf9fff000-0xf9ffffff irq 5 at device 11.0 on pci0
ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xf9fff000
usb0: OHCI version 1.0, legacy support
usb0.ohci0.pci0.pcib0.acpi0.nexus0.root0
usb0: <OHCI (generic) USB controller> [tentative] on ohci0
usb0: USB revision 1.0
uhub0.usb0.ohci0.pci0.pcib0.acpi0.nexus0.root0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> [tentative] on usb0
uhub0: 8 ports with 8 removable, self powered
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> [attached!] on usb0
usb0: <OHCI (generic) USB controller> [attached!] on ohci0
ohci0: <OHCI (generic) USB controller> [attached!] mem 0xf9fff000-0xf9ffffff irq 5 at device 11.0 on pci0
ehci0.pci0.pcib0.acpi0.nexus0.root0
ehci0: <EHCI (generic) USB 2.0 controller> [tentative] mem 0xf9ffec00-0xf9ffecff irq 10 at device 11.1 on pci0
ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xf9ffec00
usb1: waiting for BIOS to give up control
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1.ehci0.pci0.pcib0.acpi0.nexus0.root0
usb1: <EHCI (generic) USB 2.0 controller> [tentative] on ehci0
usb1: USB revision 2.0
uhub1.usb1.ehci0.pci0.pcib0.acpi0.nexus0.root0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> [tentative] on usb1
uhub1: 8 ports with 8 removable, self powered
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> [attached!] on usb1
umass0.uhub1.usb1.ehci0.pci0.pcib0.acpi0.nexus0.root0
umass0: <PNY Technologies USB 2.0 FD, class 0/0, rev 2.00/11.00, addr 2> [tentative] on uhub1
umass0:2:0:-1: Attached to scbus2
umass0: <PNY Technologies USB 2.0 FD, class 0/0, rev 2.00/11.00, addr 2> [attached!] on uhub1
usb1: <EHCI (generic) USB 2.0 controller> [attached!] on ehci0
ehci0: <EHCI (generic) USB 2.0 controller> [attached!] mem 0xf9ffec00-0xf9ffecff irq 10 at device 11.1 on pci0
atapci0.pci0.pcib0.acpi0.nexus0.root0
atapci0: <nVidia nForce MCP51 UDMA133 controller> [tentative] port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 13.0 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0


I think it is in this same area that FreeBSD comes up with all kinds of errors like:
usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT,
ignored)

I also noticed FreeBSD does not detect the exact controller model in some lines, but just a generic "nvidia"

Other details:
FreeBSD will bluescreen Windows even if I run another os first.  For example (1) Try to boot FreeBSD; it fails (2) Run DragonFlyBSD (3) Run Windows and get a blue screen from the failed FreeBSD boot.
 		 	   		  =
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:39 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2018-05-31 15:43:57 UTC
Unfortunately this PR was never addressed before these versions of FreeBSD went out of support.  Sorry.

If this is still a problem, please open a new PR.  Thanks.