Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 09:10:06 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Leon Kos <leon.kos@lecad.uni-lj.si>
Cc:        freebsd-acpi@freebsd.org, bug-followup@freebsd.org
Subject:   Re: kern/121558: Supermicro X7SB4 Fatal trap 12 when ACPI disabled
Message-ID:  <200803130910.06715.jhb@freebsd.org>
In-Reply-To: <alpine.DEB.1.00.0803131304060.19891@achilles.lecadnet>
References:  <200803131010.m2DAA2V0052515@freefall.freebsd.org> <200803130717.17071.jhb@freebsd.org> <alpine.DEB.1.00.0803131304060.19891@achilles.lecadnet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 March 2008 08:44:49 am Leon Kos wrote:
> From sys/dev/pci/pci.c I see that syntax in pci_assign_interrupt() for
> 7.0-STABLE is different that one provided:
>
>          /* Let the user override the IRQ with a tunable. */
>          irq = PCI_INVALID_IRQ;
>          snprintf(tunable_name, sizeof(tunable_name),
>              "hw.pci%d.%d.%d.INT%c.irq",
>              cfg->domain, cfg->bus, cfg->slot, cfg->intpin + 'A' - 1);
>          if (TUNABLE_INT_FETCH(tunable_name, &irq) && (irq >= 255 || irq <=
> 0)) irq = PCI_INVALID_IRQ;
>
>
> This is the reason for hints not getting fetched. How should I change hints
> to?

Argh, yes.  It probably should support the old format for domain == 0 devices.  
Change them to each be 'hw.pci0.13.0.INTA.irq' vs 'hw.pci13.0.INTA.irq'.

> For linux logs and not seeing ethernet cards, it is shown in
> http://www.lecad.uni-lj.si/~leon/other/x7sb4/img_1652.jpg
> that ethernet devices are not configured and that dmesg outputs just 3
> lines. Maybe this is the reason for a bootable linux in any case.
>
> Suggestion that EHCI is a case for rebooting problems was correct.
> I have disabled USB on the motherboard and now it reboots! It is in my
> nature to disable things that I do not need, but after BIOS upgrade and
> consequent BIOS reset to defaults I've overlooked this. So, I am taking
> back my statement that reboot worked in 6.3-STABLE and not working in
> 7.0-STABLE. It was just that I've had disabled USB previously and forgot to
> re-disable it for 7.0.

I would try grabbing my last commit to ehci_pci.c and seeing if it fixes your 
reboot hang.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803130910.06715.jhb>