[DragonFlyBSD - Bug #2652] 189a0ff3761b47 ... ix: Implement MSI-X support locks up Lenovo S10 Intel Atom n270

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Mar 7 04:36:41 PST 2014


Issue #2652 has been updated by davshao.


I got the idea for examining cam_xpt.c because I saw in
sys/dev/raid/hpt27xx/osm_bsd.c the line

SYSINIT(hptinit, SI_SUB_CONFIGURE, SI_ORDER_FIRST, hpt_init, NULL);

Then doing a search for all other uses of SI_SUB_CONFIGURE, I saw in

sys/bus/cam/cam_xpt.c

DECLARE_MODULE(cam, cam_moduledata, SI_SUB_CONFIGURE, SI_ORDER_SECOND);

and observed the manpage for DECLARE_MODULE said that SYSINIT was called.

By the way, FreeBSD 10.0 at least has a 

TUNABLE_INT("kern.cam.boot_delay", &xsoftc.boot_delay);
SYSCTL_INT(_kern_cam, OID_AUTO, boot_delay, CTLFLAG_RDTUN,
        &xsoftc.boot_delay, 0, "Bus registration wait time");

in its implementation of cam_xpt.c



----------------------------------------
Bug #2652: 189a0ff3761b47 ... ix: Implement MSI-X support locks up Lenovo S10 Intel Atom n270
http://bugs.dragonflybsd.org/issues/2652#change-11889

* Author: davshao
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
For a i386 Lenovo S10 Intel Atom n270 netbook, bisection indicates using
189a0ff3761b47 ... ix: Implement MSI-X support and enable multiple TX rings
locks up the machine on booting at the point:

...
md0: invalid primary partition table: no magic
Math emulator present
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
hpt27xx: RocketRAID 27xx controller driver v1.0 (Feb 28 2014 21:38:19)

Attached is a full verbose dmesg from the same machine running with master
previous to the above commit.  The machine only fully boots with
acpi disabled using hint.acpi.0.disabled=1, but even with acpi enabled the
lockup with the problematic commit occurs sooner than the normal lockup
with acpi enabled.  "Normally" on this machine booting with acpi halts at

acpi0.nexus0.root0
acpi0: <LENOVO CB-01> [tentative] on motherboard
ACPI: All ACPI Tables successfully acquired
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI testing level/high
IOAPIC: irq 9, gsi 9 edge/high -> level/high

---Files--------------------------------
lenovo_s10_dmesg.txt (36.5 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list