Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: Intel DP45SG motherboard problem (amd64)

18 views
Skip to first unread message

Alastair Hogge

unread,
Feb 21, 2010, 9:31:11 AM2/21/10
to freebsd-...@freebsd.org, Randy Chou
> > Hello all.
> > I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard
> > on FreeBSD/amd64. Any devices (keyboard, sata, net) don't work after
> > kernel loading. It works for i386 (expect for keyboard: first pressed
> > key "sticks").
> > FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT
> > There was no difference with/without ACPI.
> > I connect serial console, boot -v and I'm seeing FreeBSD complaining
> > about inability to allocate interrupts for devices, like the log below:
>
> Try 'device mptable'. Also, do you have an i386 dmesg?
>
> --
> John Baldwin
Hello John,

In regards to an old email thread:
http://lists.freebsd.org/pipermail/freebsd-hardware/2009-June/thread.html#5887

I've attached the i386 dmesg & "mptable device" from a 9.0-CURRENT -r204168
system which still fails on booting an amd64 CD.

Currently, the 201002 snapshot hangs at (please forgive for any spelling
mistakes):
ACPI disabled:

cpu0 on motherboard
est0: <Ehanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616
device_attach: est0 attach returned 6
p4tcc0: <CPU Frequency Thermal Control> on cpu0
orm0: <ISA Option ROMs> at iomem 0xcf800-0xd5fff,0xd6000-0xd6fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x54 on isa0
atrtc0: <AT Real Time Clock> at port 0x70 irq 8 on isa0
atrtc0: Warning: Couldn't map interrupt.
fdc0: cannot reserve interrupt line
ppc0: cannont reserve I/O port range
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616
device_attach: est0 attach returned 6
Timecounter "TSC" frequency 2399972535 Hz quality 800
Timecounters tick every 1.000 msec
md0: Preloaded image </boot/mfsroot> 4194304 bytes at 0xffffffff81047ba8

ACPI enabled & verbose:
ACPI: ASPT 0xcfd6cb18 0002C (v2 INTEL PerfTune 00000116 AMI 00000003)
ACPI: WDTT 0xcfd65918 002CC (v2 INTEL DP45SG 00000116 AMI 00000003)
acpi0: <INTEL DP45SG> on motherboard
PCIe: Memory Mapped configuration base @ 0xf0000000
acpi0: could not allocate interrupt
ACPI Exception: AE_ALREADY_EXISTS, Unable to install System Control Interrupt
ha
ndler (20100121/evevent-257)
acpi0: Could not enable ACPI: AE_ALREADY_EXISTS
device_attach: acpi0 attach returned 6


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x88
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff80860fd9
stack pointer = 0x28:0xffffffff8144dbf0
frame pointer = 0x28:0xffffffff8144dc30
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
[ thread pid 0 tid 100000 ]
stopped at acpi_install_wakeup_handler+0xd9: movq
%r15,0x88(%r12)
db>

I can't drive db has the keyboard doesn't respond, also, according to
http://wiki.freebsd.org/DebugWithDcons I should be able to use dcons and a
firewire connection, however, it looks like dcons doesn't connect to the amd64
boot(works OK when in i386 mode).

Have you any ideas on how we can get our DP45SG systems booting amd64?

Thanks

DP45SG-i386.dmesg
DP45SG-i386.mptable-device

John Baldwin

unread,
Feb 22, 2010, 11:02:16 AM2/22/10
to freebsd-...@freebsd.org, a...@coolrhaug.com, Randy Chou
On Sunday 21 February 2010 9:31:11 am Alastair Hogge wrote:
> > > Hello all.
> > > I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard
> > > on FreeBSD/amd64. Any devices (keyboard, sata, net) don't work after
> > > kernel loading. It works for i386 (expect for keyboard: first pressed
> > > key "sticks").
> > > FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT
> > > There was no difference with/without ACPI.
> > > I connect serial console, boot -v and I'm seeing FreeBSD complaining
> > > about inability to allocate interrupts for devices, like the log below:
> >
> > Try 'device mptable'. Also, do you have an i386 dmesg?
> >
> > --
> > John Baldwin
> Hello John,
>
> In regards to an old email thread:
> http://lists.freebsd.org/pipermail/freebsd-hardware/2009-
June/thread.html#5887
>
> I've attached the i386 dmesg & "mptable device" from a 9.0-CURRENT -r204168
> system which still fails on booting an amd64 CD.

You need to build a custom amd64 kernel which includes "device mptable" and
use that. You may need to set 'hint.acpi.0.disabled=1' as well to force ACPI
to be disabled.

--
John Baldwin

Alastair Hogge

unread,
Feb 23, 2010, 8:51:04 AM2/23/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
OK, I've cross built an amd64 system and installed it on a spare HDD. Once it
booted I ran "mptable -verbose -dmesg -grope" Here is the output:


===============================================================================

MPTable

looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x00096400
searching CMOS 'top of mem' @ 0x00096000 (600K)
searching default 'top of mem' @ 0x0009fc00 (639K)
searching BIOS @ 0x000f0000

MP FPS found in BIOS @ physical addr: 0x000fd4e0

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

location: BIOS
physical address: 0x000fd4e0
signature: '_MP_'
length: 16 bytes
version: 1.4
checksum: 0x7f
mode: Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

physical address: 0x000fd240
signature: 'PCMP'
base table length: 564
version: 1.4
checksum: 0xc1
OEM ID: 'DP45SG'
Product ID: 'INTEL'
OEM table pointer: 0x00000000
OEM table size: 0
entry count: 59
local APIC address: 0xfee00000
extended table length: 104
extended table checksum: 45

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors: APIC ID Version State Family Model Step
Flags
0 0x14 BSP, usable 6 7 10 0xbfebfbff
1 0x14 AP, usable 6 7 10 0xbfebfbff
2 0x14 AP, usable 6 7 10 0xbfebfbff
3 0x14 AP, usable 6 7 10 0xbfebfbff
--
Bus: Bus ID Type
0 PCI
1 PCI
2 PCI
3 ISA
--
I/O APICs: APIC ID Version State Address
0 0x20 usable 0xfec00000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
INT conforms conforms 3 0 0 2
INT conforms conforms 3 1 0 1
INT conforms conforms 3 4 0 4
INT conforms conforms 3 8 0 8
INT active-hi level 3 9 0 9
INT conforms conforms 3 12 0 12
INT conforms conforms 3 13 0 13
INT conforms conforms 3 14 0 14
INT conforms conforms 3 15 0 15
INT conforms conforms 0 6:A 0 16
INT conforms conforms 0 6:B 0 17
INT conforms conforms 0 6:C 0 18
INT conforms conforms 0 6:D 0 19
INT conforms conforms 0 1:A 0 16
INT conforms conforms 0 1:B 0 17
INT conforms conforms 0 1:C 0 18
INT conforms conforms 0 1:D 0 19
INT conforms conforms 0 31:A 0 18
INT conforms conforms 0 31:B 0 19
INT conforms conforms 0 31:C 0 18
INT conforms conforms 0 22:A 0 18
INT conforms conforms 0 22:B 0 19
INT conforms conforms 0 27:A 0 22
INT conforms conforms 2 0:A 0 19
INT conforms conforms 2 2:A 0 20
INT conforms conforms 2 2:B 0 21
INT conforms conforms 2 2:C 0 22
INT conforms conforms 2 2:D 0 23
INT conforms conforms 2 3:A 0 21
INT conforms conforms 2 3:B 0 22
INT conforms conforms 2 3:C 0 23
INT conforms conforms 2 3:D 0 20
INT conforms conforms 2 4:A 0 22
INT conforms conforms 2 4:B 0 23
INT conforms conforms 2 4:C 0 20
INT conforms conforms 2 4:D 0 21
INT conforms conforms 0 25:A 0 20
INT conforms conforms 0 29:A 0 23
INT conforms conforms 0 29:B 0 19
INT conforms conforms 0 29:C 0 18
INT conforms conforms 0 26:A 0 16
INT conforms conforms 0 26:B 0 21
INT conforms conforms 0 26:C 0 18
INT conforms conforms 0 26:D 0 16
INT conforms conforms 0 28:A 0 17
INT conforms conforms 0 28:B 0 16
INT conforms conforms 0 28:C 0 18
INT conforms conforms 0 28:D 0 19
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
ExtINT conforms conforms 0 0:A 255 0
NMI conforms conforms 0 0:A 255 1

-------------------------------------------------------------------------------

MP Config Extended Table Entries:

--
System Address Space
bus ID: 0 address type: I/O address
address base: 0xd000
address range: 0x2160
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xd0000000
address range: 0x10227000
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x0
address range: 0x1000
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xa0000
address range: 0x20000
--
Bus Hierarchy
bus ID: 3 bus info: 0x01 parent bus ID: 0
--
Compatibility Bus Address
bus ID: 0 address modifier: add
predefined range: 0x00000000
--
Compatibility Bus Address
bus ID: 0 address modifier: add
predefined range: 0x00000001

-------------------------------------------------------------------------------

dmesg output:

Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #0 r204168M: Tue Feb 23 06:07:50 WST 2010
agh@madcat:/usr/obj/amd64/usr/depot/svn.freebsd.org/base/head/sys/GENERIC
amd64
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz (2399.97-MHz K8-class
CPU)
Origin = "GenuineIntel" Id = 0x1067a Stepping = 10
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x408e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 4294967296 (4096 MB)
avail memory = 4100902912 (3910 MB)
MPTable: <DP45SG INTEL>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
ioapic0: Assuming intbase of 0
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem
0xd0000000-0xdfffffff,0xe0030000-0xe003ffff irq 16 at device 0.0 on pci1
vgapci1: <VGA-compatible display> mem 0xe0020000-0xe002ffff at device 0.1 on
pci1
em0: <Intel(R) PRO/1000 Network Connection 6.9.25> port 0xf100-0xf11f mem
0xe0200000-0xe021ffff,0xe0224000-0xe0224fff irq 20 at device 25.0 on pci0
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:1c:c0:8c:09:d9
uhci0: <Intel 82801JI (ICH10) USB controller USB-D> port 0xf0e0-0xf0ff irq 16
at device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801JI (ICH10) USB controller USB-D> on uhci0
uhci1: <Intel 82801JI (ICH10) USB controller USB-E> port 0xf0c0-0xf0df irq 21
at device 26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801JI (ICH10) USB controller USB-E> on uhci1
uhci2: <Intel 82801JI (ICH10) USB controller USB-F> port 0xf0a0-0xf0bf irq 18
at device 26.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel 82801JI (ICH10) USB controller USB-F> on uhci2
ehci0: <Intel 82801JI (ICH10) USB 2.0 controller USB-B> mem
0xe0225c00-0xe0225fff irq 18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801JI (ICH10) USB 2.0 controller USB-B> on ehci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
uhci3: <Intel 82801JI (ICH10) USB controller USB-A> port 0xf080-0xf09f irq 23
at device 29.0 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus4: <Intel 82801JI (ICH10) USB controller USB-A> on uhci3
uhci4: <Intel 82801JI (ICH10) USB controller USB-B> port 0xf060-0xf07f irq 19
at device 29.1 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x2f00
usbus5: <Intel 82801JI (ICH10) USB controller USB-B> on uhci4
uhci5: <Intel 82801JI (ICH10) USB controller USB-C> port 0xf040-0xf05f irq 18
at device 29.2 on pci0
uhci5: [ITHREAD]
uhci5: LegSup = 0x2f00
usbus6: <Intel 82801JI (ICH10) USB controller USB-C> on uhci5
ehci1: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> mem
0xe0225800-0xe0225bff irq 23 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: waiting for BIOS to give up control
usbus7: timed out waiting for BIOS
usbus7: EHCI version 1.0
usbus7: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> on ehci1
pcib2: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
fwohci0: <Lucent FW322/323> mem 0xe0100000-0xe0100fff irq 19 at device 0.0 on
pci2
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:90:27:00:02:2b:34:ed
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:90:27:2b:34:ed
fwe0: Ethernet address: 02:90:27:2b:34:ed
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:90:27:00:02:2b:34:ed @ 0xfffe00000000, S400,
maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x42000
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=2, non CYCLEMASTER
mode
rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem 0xe0101000-0xe01010ff
irq 20 at device 2.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:d4:2a:bb
rl0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH8 AHCI SATA controller> port
0xf150-0xf157,0xf140-0xf143,0xf130-0xf137,0xf120-0xf123,0xf020-0xf03f mem
0xe0225000-0xe02257ff irq 19 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.20 with 6 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [ITHREAD]
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
cpu0 on motherboard


est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616
device_attach: est0 attach returned 6

p4tcc0: <CPU Frequency Thermal Control> on cpu0

cpu1 on motherboard
est1: <Enhanced SpeedStep Frequency Control> on cpu1


est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616

device_attach: est1 attach returned 6
p4tcc1: <CPU Frequency Thermal Control> on cpu1
cpu2 on motherboard
est2: <Enhanced SpeedStep Frequency Control> on cpu2


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 6160922062e0616
device_attach: est2 attach returned 6
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3 on motherboard
est3: <Enhanced SpeedStep Frequency Control> on cpu3


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 616092206360622
device_attach: est3 attach returned 6
p4tcc3: <CPU Frequency Thermal Control> on cpu3


orm0: <ISA Option ROMs> at iomem 0xcf800-0xd5fff,0xd6000-0xd6fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0

atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]


atrtc0: <AT Real Time Clock> at port 0x70 irq 8 on isa0

ppc0: cannot reserve I/O port range


uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

uart0: [FILTER]
uart0: console (115200,n,8,1)


uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0

uart1: [FILTER]


est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 616092206360622


device_attach: est0 attach returned 6

est1: <Enhanced SpeedStep Frequency Control> on cpu1


est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616

device_attach: est1 attach returned 6
est2: <Enhanced SpeedStep Frequency Control> on cpu2


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 616092206360622
device_attach: est2 attach returned 6
est3: <Enhanced SpeedStep Frequency Control> on cpu3


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 6160922062e0616
device_attach: est3 attach returned 6


Timecounters tick every 1.000 msec

firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1)
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
usbus7: 480Mbps High Speed USB v2.0
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
firewire0: New S400 device ID:00902700022b34b9
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ada0 at ahcich1 bus 0 scbus2 target 0 lun 0
ada0: cd0 at ahcich0 bus 0 scbus1 target 0 lun 0
cd0: <ASUS DRW-20B1LT 1.00> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray
closed
<SAMSUNG HD501LJ CR100-13> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich4 bus 0 scbus5 target 0 lun 0
ada1: <ST3120026AS 3.05> ATA-6 SATA 1.x device
ada1: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada1: 114473MB (234441648 512 byte sectors: 16H 63S/T 16383C)
ada2 at ahcich5 bus 0 scbus6 target 0 lun 0
ada2: <Maxtor 6V300F0 VA111630> ATA-7 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 286188MB (586114704 512 byte sectors: 16H 63S/T 16383C)
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: ada0s1: geometry does not match label (255h,63s != 16h,63s).
ugen0.2: <ALCOR> at usbus0
uhub8: <ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 2> on usbus0
ugen1.2: <DATACOMP> at usbus1
ukbd0: <DATACOMP SteelSDATA, class 0/0, rev 1.10/0.01, addr 2> on usbus1
kbd2 at ukbd0
ums0: <DATACOMP SteelSDATA, class 0/0, rev 1.10/0.01, addr 2> on usbus1
Trying to mount root from ufs:/dev/label/direwolf
uhub8: 4 ports with 4 removable, self powered
ugen0.3: <SteelSeries ApS> at usbus0
ums1: <SteelSeries ApS Ikari Laser, class 0/0, rev 2.00/1.00, addr 3> on
usbus0
ums1: 7 buttons and [XYZ] coordinates ID=2
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 done
All buffers synced.
lock order reversal:
1st 0xffffff0005155278 ufs (ufs) @
/usr/depot/svn.freebsd.org/base/head/sys/kern/vfs_mount.c:1201
2nd 0xffffff0004f24db8 devfs (devfs) @
/usr/depot/svn.freebsd.org/base/head/sys/kern/vfs_subr.c:2091
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2e
witness_checkorder() at witness_checkorder+0x81e
__lockmgr_args() at __lockmgr_args+0xd11
vop_stdlock() at vop_stdlock+0x39
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
_vn_lock() at _vn_lock+0x47
vget() at vget+0x7b
devfs_allocv() at devfs_allocv+0x100
devfs_root() at devfs_root+0x48
dounmount() at dounmount+0x474
vfs_unmountall() at vfs_unmountall+0x54
boot() at boot+0x7b4
reboot() at reboot+0x68
syscall() at syscall+0x102
Xfast_syscall() at Xfast_syscall+0xe1
--- syscall (55, FreeBSD ELF64, reboot), rip = 0x4082dc, rsp = 0x7fffffffe778,
rbp = 0x4023d0 ---
Uptime: 7m13s
Rebooting...
cpu_reset: Stopping other CPUs
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #0 r204168M: Tue Feb 23 06:07:50 WST 2010
agh@madcat:/usr/obj/amd64/usr/depot/svn.freebsd.org/base/head/sys/GENERIC
amd64
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz (2399.98-MHz K8-class
CPU)
Origin = "GenuineIntel" Id = 0x1067a Stepping = 10
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x408e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 4294967296 (4096 MB)
avail memory = 4100902912 (3910 MB)
MPTable: <DP45SG INTEL>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
ioapic0: Assuming intbase of 0
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem
0xd0000000-0xdfffffff,0xe0030000-0xe003ffff irq 16 at device 0.0 on pci1
vgapci1: <VGA-compatible display> mem 0xe0020000-0xe002ffff at device 0.1 on
pci1
em0: <Intel(R) PRO/1000 Network Connection 6.9.25> port 0xf100-0xf11f mem
0xe0200000-0xe021ffff,0xe0224000-0xe0224fff irq 20 at device 25.0 on pci0
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:1c:c0:8c:09:d9
uhci0: <Intel 82801JI (ICH10) USB controller USB-D> port 0xf0e0-0xf0ff irq 16
at device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801JI (ICH10) USB controller USB-D> on uhci0
uhci1: <Intel 82801JI (ICH10) USB controller USB-E> port 0xf0c0-0xf0df irq 21
at device 26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801JI (ICH10) USB controller USB-E> on uhci1
uhci2: <Intel 82801JI (ICH10) USB controller USB-F> port 0xf0a0-0xf0bf irq 18
at device 26.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel 82801JI (ICH10) USB controller USB-F> on uhci2
ehci0: <Intel 82801JI (ICH10) USB 2.0 controller USB-B> mem
0xe0225c00-0xe0225fff irq 18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801JI (ICH10) USB 2.0 controller USB-B> on ehci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
uhci3: <Intel 82801JI (ICH10) USB controller USB-A> port 0xf080-0xf09f irq 23
at device 29.0 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus4: <Intel 82801JI (ICH10) USB controller USB-A> on uhci3
uhci4: <Intel 82801JI (ICH10) USB controller USB-B> port 0xf060-0xf07f irq 19
at device 29.1 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x2f00
usbus5: <Intel 82801JI (ICH10) USB controller USB-B> on uhci4
uhci5: <Intel 82801JI (ICH10) USB controller USB-C> port 0xf040-0xf05f irq 18
at device 29.2 on pci0
uhci5: [ITHREAD]
uhci5: LegSup = 0x2f00
usbus6: <Intel 82801JI (ICH10) USB controller USB-C> on uhci5
ehci1: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> mem
0xe0225800-0xe0225bff irq 23 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: waiting for BIOS to give up control
usbus7: timed out waiting for BIOS
usbus7: EHCI version 1.0
usbus7: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> on ehci1
pcib2: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
fwohci0: <Lucent FW322/323> mem 0xe0100000-0xe0100fff irq 19 at device 0.0 on
pci2
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:90:27:00:02:2b:34:ed
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:90:27:2b:34:ed
fwe0: Ethernet address: 02:90:27:2b:34:ed
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:90:27:00:02:2b:34:ed @ 0xfffe00000000, S400,
maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x42000
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=2, CYCLEMASTER
mode
rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem 0xe0101000-0xe01010ff
irq 20 at device 2.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:d4:2a:bb
rl0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH8 AHCI SATA controller> port
0xf150-0xf157,0xf140-0xf143,0xf130-0xf137,0xf120-0xf123,0xf020-0xf03f mem
0xe0225000-0xe02257ff irq 19 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.20 with 6 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [ITHREAD]
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
cpu0 on motherboard


est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616
device_attach: est0 attach returned 6

p4tcc0: <CPU Frequency Thermal Control> on cpu0

cpu1 on motherboard
est1: <Enhanced SpeedStep Frequency Control> on cpu1


est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616

device_attach: est1 attach returned 6
p4tcc1: <CPU Frequency Thermal Control> on cpu1
cpu2 on motherboard
est2: <Enhanced SpeedStep Frequency Control> on cpu2


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 6160922062e0616
device_attach: est2 attach returned 6
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3 on motherboard
est3: <Enhanced SpeedStep Frequency Control> on cpu3


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 616092206360622
device_attach: est3 attach returned 6
p4tcc3: <CPU Frequency Thermal Control> on cpu3


orm0: <ISA Option ROMs> at iomem 0xcf800-0xd5fff,0xd6000-0xd6fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0

atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]


atrtc0: <AT Real Time Clock> at port 0x70 irq 8 on isa0

ppc0: cannot reserve I/O port range


uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

uart0: [FILTER]
uart0: console (115200,n,8,1)


uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0

uart1: [FILTER]


est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616
device_attach: est0 attach returned 6

est1: <Enhanced SpeedStep Frequency Control> on cpu1


est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616

device_attach: est1 attach returned 6
est2: <Enhanced SpeedStep Frequency Control> on cpu2


est: CPU supports Enhanced Speedstep, but is not recognized.

est: cpu_vendor GenuineIntel, msr 616092206360622
device_attach: est2 attach returned 6
est3: <Enhanced SpeedStep Frequency Control> on cpu3


est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160922060c0616

device_attach: est3 attach returned 6


Timecounters tick every 1.000 msec

firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me)
firewire0: bus manager 1
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
usbus7: 480Mbps High Speed USB v2.0
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
firewire0: New S400 device ID:00902700022b34b9
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ada0 at ahcich1 bus 0 scbus2 target 0 lun 0
ada0: cd0 at ahcich0 bus 0 scbus1 target 0 lun 0
cd0: <ASUS DRW-20B1LT 1.00> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray
closed
<SAMSUNG HD501LJ CR100-13> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich4 bus 0 scbus5 target 0 lun 0
ada1: <ST3120026AS 3.05> ATA-6 SATA 1.x device
ada1: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada1: 114473MB (234441648 512 byte sectors: 16H 63S/T 16383C)
ada2 at ahcich5 bus 0 scbus6 target 0 lun 0
ada2: <Maxtor 6V300F0 VA111630> ATA-7 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 286188MB (586114704 512 byte sectors: 16H 63S/T 16383C)
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
ugen0.2: <ALCOR> at usbus0
uhub8: <ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 2> on usbus0
GEOM: ada0s1: geometry does not match label (255h,63s != 16h,63s).
ugen1.2: <DATACOMP> at usbus1
ukbd0: <DATACOMP SteelSDATA, class 0/0, rev 1.10/0.01, addr 2> on usbus1
kbd2 at ukbd0
ums0: <DATACOMP SteelSDATA, class 0/0, rev 1.10/0.01, addr 2> on usbus1
Trying to mount root from ufs:/dev/label/direwolf
uhub8: 4 ports with 4 removable, self powered
ugen0.3: <SteelSeries ApS> at usbus0
ums1: <SteelSeries ApS Ikari Laser, class 0/0, rev 2.00/1.00, addr 3> on
usbus0
ums1: 7 buttons and [XYZ] coordinates ID=2
em0: link state changed to UP

===============================================================================



John Baldwin

unread,
Feb 23, 2010, 11:14:00 AM2/23/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org

It appears that the new kernel works, yes? That should at least get you a
working system now. I have no idea why the system does not provide ACPI
tables. Is there a BIOS option to enable/disable ACPI perhaps?

--
John Baldwin

Alastair Hogge

unread,
Feb 23, 2010, 5:40:31 PM2/23/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
On Wed February 24 2010 00:14:00 John Baldwin wrote:
> On Tuesday 23 February 2010 8:51:04 am Alastair Hogge wrote:
> > > > Hello John,
> > > >
> > > > In regards to an old email thread:
> > > > http://lists.freebsd.org/pipermail/freebsd-hardware/2009-
> > >
> > > June/thread.html#5887
> > >
> > > > I've attached the i386 dmesg & "mptable device" from a 9.0-CURRENT
> > > > -r204168 system which still fails on booting an amd64 CD.
> > >
> > > You need to build a custom amd64 kernel which includes "device mptable"
> > > and use that. You may need to set 'hint.acpi.0.disabled=1' as well to
> > > force ACPI to be disabled.
> >
> > OK, I've cross built an amd64 system and installed it on a spare HDD.
> > Once it booted I ran "mptable -verbose -dmesg -grope" Here is the output:
>
> It appears that the new kernel works, yes?
Yes

> That should at least get you a
> working system now.

Pretty exciting, however, it looks like that booting from an installation
CD is still problematic.

> I have no idea why the system does not provide ACPI
> tables. Is there a BIOS option to enable/disable ACPI perhaps?

I can't find anything .

Thanks

John Baldwin

unread,
Feb 24, 2010, 9:46:29 AM2/24/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
On Tuesday 23 February 2010 5:40:31 pm Alastair Hogge wrote:
> On Wed February 24 2010 00:14:00 John Baldwin wrote:
> > On Tuesday 23 February 2010 8:51:04 am Alastair Hogge wrote:
> > > > > Hello John,
> > > > >
> > > > > In regards to an old email thread:
> > > > > http://lists.freebsd.org/pipermail/freebsd-hardware/2009-
> > > >
> > > > June/thread.html#5887
> > > >
> > > > > I've attached the i386 dmesg & "mptable device" from a 9.0-CURRENT
> > > > > -r204168 system which still fails on booting an amd64 CD.
> > > >
> > > > You need to build a custom amd64 kernel which includes "device
mptable"
> > > > and use that. You may need to set 'hint.acpi.0.disabled=1' as well to
> > > > force ACPI to be disabled.
> > >
> > > OK, I've cross built an amd64 system and installed it on a spare HDD.
> > > Once it booted I ran "mptable -verbose -dmesg -grope" Here is the
output:
> >
> > It appears that the new kernel works, yes?
> Yes
>
> > That should at least get you a
> > working system now.
> Pretty exciting, however, it looks like that booting from an installation
> CD is still problematic.

Yes, but it is really odd that you do not have any ACPI tables. All 64-bit
machines should have ACPI.

> > I have no idea why the system does not provide ACPI
> > tables. Is there a BIOS option to enable/disable ACPI perhaps?
> I can't find anything .

Can you save the output of 'acpidump -d -t' to a file and post the URL? If
the output is very short, you can just paste it inline into a reply.

--
John Baldwin

Alastair Hogge

unread,
Feb 24, 2010, 6:32:21 PM2/24/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
# acpidump -d -t
/*
RSD PTR: OEM=INTEL, ACPI_Rev=2.0x (2)
XSDT=0xcfd62e18, length=36, cksum=1
*/
acpidump: XSDT is corrupted

John Baldwin

unread,
Feb 25, 2010, 8:02:58 AM2/25/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org

Hmm, the checksum for the XSDT is bad. You can try hacking
src/usr.sbin/acpi/acpidump/acpi.c to disable the checksum check for the XSDT.
Just look for the 'XSDT is corrupted' string in that source file and comment
out the call to acpi_checksum(). Something like this:

rsdp = (ACPI_TABLE_HEADER *)acpi_map_sdt(rp->XsdtPhysicalAddress);
if (memcmp(rsdp->Signature, "XSDT", 4) != 0 /* ||
acpi_checksum(rsdp, rsdp->Length) != 0 */)
errx(1, "XSDT is corrupted");
addr_size = sizeof(uint64_t);

Then see if acpidump -d -t gets any further. I would also look for a BIOS
update perhaps, and/or complain to your motherboard vendor that their BIOS is
broken.

--
John Baldwin

Andriy Gapon

unread,
Feb 25, 2010, 11:18:08 AM2/25/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, a...@coolrhaug.com, freebsd-...@freebsd.org
on 25/02/2010 15:02 John Baldwin said the following:

> Hmm, the checksum for the XSDT is bad. You can try hacking
> src/usr.sbin/acpi/acpidump/acpi.c to disable the checksum check for the XSDT.
> Just look for the 'XSDT is corrupted' string in that source file and comment
> out the call to acpi_checksum(). Something like this:
>
> rsdp = (ACPI_TABLE_HEADER *)acpi_map_sdt(rp->XsdtPhysicalAddress);
> if (memcmp(rsdp->Signature, "XSDT", 4) != 0 /* ||
> acpi_checksum(rsdp, rsdp->Length) != 0 */)
> errx(1, "XSDT is corrupted");
> addr_size = sizeof(uint64_t);
>
> Then see if acpidump -d -t gets any further. I would also look for a BIOS
> update perhaps, and/or complain to your motherboard vendor that their BIOS is
> broken.

BTW, I googled for 'DP45SG XSDT' and addition to this thread it turned up some
linux boot logs with complaints about invalid XSDT checksums.
But linux seems to be more forgiving, it's just a warning.
E.g. see here (search for XSDT):
http://bugs.gentoo.org/attachment.cgi?id=201949&action=view


--
Andriy Gapon

Alastair Hogge

unread,
Feb 26, 2010, 6:15:28 AM2/26/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
Pleas see http://pastebin.ca/1811641
You might noticed a different XSDT in the lastest dump. This is because I
moved the amd64 hdd to the other system and booted it from there. Both systems
are identical except for the video cards.

> I would also look for a BIOS
> update perhaps,

I've updated the BIOS, but still no luck.

> and/or complain to your motherboard vendor that their BIOS
> is broken.

Complaining has begun.

John Baldwin

unread,
Feb 26, 2010, 11:29:13 AM2/26/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org

Hmm, it looks like it is a common problem with this board actually. Try
editing src/contrib/dev/acpica/include/acconfig.h and changing
ACPI_CHECKSUM_ABORT to 0 instead of FALSE.

--
John Baldwin

John Baldwin

unread,
Feb 26, 2010, 4:57:37 PM2/26/10
to Andriy Gapon, kochetko...@gmail.com, Randy Chou, a...@coolrhaug.com, freebsd-...@freebsd.org

Actually, it looks like ACPICA changed to be less forgiving. In the forum
post below, 6.4 is booted on one of these machines and generates similar
warnings about the XSDT checksum being wrong, but still uses ACPI:

http://forums.freebsd.org/archive/index.php/t-4682.html

Hmm, in theory we set a value in acconfig.h to false to only warn about bad
checksums but not error, but that seems to not be working.

--
John Baldwin

Alastair Hogge

unread,
Feb 27, 2010, 2:30:05 AM2/27/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
acpidump output doesn't change & the system still fails to boot with ACPI
enabled.

John Baldwin

unread,
Mar 1, 2010, 11:54:00 AM3/1/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org

This would not change acpidump output, just the kernel. Are you able to
capture the boot messages with this kernel? Specifically, do you get any
error messages from ACPI? Also, what happens if you find the code that uses
ACPI_CHECKSUM_ABORT (I think in sys/contrib/acpica/tables/tbutils.c) and put
#if 0 around that block?

--
John Baldwin

Alastair Hogge

unread,
Mar 16, 2010, 9:22:28 AM3/16/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
Full log:
http://codepad.org/96PT5OO8

> Specifically, do you get any
> error messages from ACPI? Also, what happens if you find the code that
> uses ACPI_CHECKSUM_ABORT (I think in sys/contrib/acpica/tables/tbutils.c)
> and put #if 0 around that block?

Full log with changes:
http://codepad.org/QPmK0m9f

Not much difference from the first log.

John Baldwin

unread,
Mar 17, 2010, 11:23:03 AM3/17/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org

Oh! ACPI is working, but the MADT is not so it's trying to mix and match
mptable (for SMP) with ACPI. Odd that you didn't get a warning message about
the checksum failing from boot -v. Try this patch:

Index: amd64/acpica/acpi_machdep.c
===================================================================
--- amd64/acpica/acpi_machdep.c (revision 205249)
+++ amd64/acpica/acpi_machdep.c (working copy)
@@ -627,8 +627,10 @@
if (ACPI_FAILURE(AcpiTbChecksum(table, length))) {
if (bootverbose)
printf("ACPI: Failed checksum for table %s\n", sig);
+#if (ACPI_CHECKSUM_ABORT)
table_unmap(table, length);
return (NULL);
+#endif
}
return (table);
}
Index: i386/acpica/acpi_machdep.c
===================================================================
--- i386/acpica/acpi_machdep.c (revision 205249)
+++ i386/acpica/acpi_machdep.c (working copy)
@@ -641,8 +641,10 @@
if (ACPI_FAILURE(AcpiTbChecksum(table, length))) {
if (bootverbose)
printf("ACPI: Failed checksum for table %s\n", sig);
+#if (ACPI_CHECKSUM_ABORT)
table_unmap(table, length);
return (NULL);
+#endif
}
return (table);
}


--
John Baldwin

Alastair Hogge

unread,
Mar 27, 2010, 8:26:19 PM3/27/10
to John Baldwin, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org
OK, I've applied the patch to my i386 system & there doesn't appear to be
problems so far.

I also created an amd64 bootonly CD with the patch & was able to boot into
sysinstall :-)

[dcons connected]
lapic: Divisor 2, Frequency 166664803 Hz
ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 59
Timecounter "TSC" frequency 2833301532 Hz quality -100

Timecounters tick every 1.000 msec

vlan: initialized, using hash tables with chaining
lo0: bpf attached
hptrr: no controller detected.
ata2: Identifying devices: 00000001
ata2: New devices: 00000001

firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me)
firewire0: bus manager 1

md0: Preloaded image </boot/mfsroot> 4194304 bytes at 0xffffffff8104f9f8

usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0

usbus7: 480Mbps High Speed USB v2.0

ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad4: setting UDMA100
ad4: 286188MB <Maxtor 6V300F0 VA111630> at ata2-master UDMA100 SATA 3Gb/s
ad4: 586114704 sectors [581463C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad4

ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6

ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7

ad4: Intel check1 failed
ad4: Adaptec check1 failed
ad4: LSI (v3) check1 failed
ad4: LSI (v2) check1 failed
ad4: FreeBSD check1 failed
ata3: Identifying devices: 00000001
ata3: New devices: 00000001
ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad6: setting UDMA100
ad6: 476940MB <SAMSUNG HD502HJ 1AJ100E4> at ata3-master UDMA100 SATA 3Gb/s
ad6: 976773168 sectors [969021C/16H/63S] 16 sectors/interrupt 1 depth queue
ad6: Intel check1 failed
ad6: Adaptec check1 failed
ad6: LSI (v3) check1 failed
ad6: LSI (v2) check1 failed
ad6: FreeBSD check1 failed
ata4: Identifying devices: 00000001
ata4: New devices: 00000001
ata4-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad8: setting UDMA100
ad8: 114473MB <Seagate ST3120026AS 3.05> at ata4-master UDMA100 SATA 1.5Gb/s
ad8: 234441648 sectors [232581C/16H/63S] 16 sectors/interrupt 1 depth queue
ad8: Intel check1 failed
ad8: Adaptec check1 failed
ad8: LSI (v3) check1 failed
ad8: LSI (v2) check1 failed
ad8: FreeBSD check1 failed
ata5: Identifying devices: 00000000
ata5: New devices: 00000000
ata6: Identifying devices: 00000001
ata6: New devices: 00000001
ata6-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad12: setting UDMA100
ad12: 476940MB <SAMSUNG HD502HJ 1AJ100E4> at ata6-master UDMA100 SATA 3Gb/s
ad12: 976773168 sectors [969021C/16H/63S] 16 sectors/interrupt 1 depth queue
ad12: Intel check1 failed
ad12: Adaptec check1 failed
ad12: LSI (v3) check1 failed
ad12: LSI (v2) check1 failed
ad12: FreeBSD check1 failed
ata7: Identifying devices: 00010000
ata7: New devices: 00010000
ata7-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
acd0: setting UDMA100
ata7: device_reset timeout=230us
acd0: <ASUS DRW-20B1LT/1.00> DVDR drive at ata7 as master
acd0: read 8269KB/s (8269KB/s) write 8269KB/s (8269KB/s), 2048KB buffer,
UDMA100 SATA 1.5Gb/s
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet
acd0: Writes: CDR, CDRW, DVDR, DVDRAM, test write, burnproof
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-ROM 120mm data disc
GEOM: new disk ad6
GEOM: new disk ad8
GEOM: new disk ad12

firewire0: New S400 device ID:00902700022b34b9
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered

ugen0.2: <ALCOR> at usbus0
uhub8: <ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 2> on usbus0

(probe1:sbp0:0:1:0): Error 22, Unretryable error
(probe2:sbp0:0:2:0): Error 22, Unretryable error
(probe3:sbp0:0:3:0): Error 22, Unretryable error
(probe0:sbp0:0:0:0): Error 22, Unretryable error
(probe4:sbp0:0:4:0): Error 22, Unretryable error
(probe5:sbp0:0:5:0): Error 22, Unretryable error
(probe6:sbp0:0:6:0): Error 22, Unretryable error
ATA PseudoRAID loaded

SMP: AP CPU #1 Launched!

cpu1 AP:
ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400

SMP: AP CPU #3 Launched!

cpu3 AP:
ID: 0x03000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400

SMP: AP CPU #2 Launched!

cpu2 AP:
ID: 0x02000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400
ioapic0: routing intpin 3 (ISA fIlRoQw t3a)b lteo cllaepaince r1
svteacrttoerd 4
8
ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 2 vector 48
ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 3 vector 48
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 1 vector 49
ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 2 vector 49
ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 3 vector 49
ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 1 vector 50
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 2 vector 50
msi: Assigning MSI IRQ 256 to local APIC 3 vector 50


WARNING: WITNESS option enabled, expect reduced performance.

ugen1.2: <DATACOMP> at usbus1
ukbd0: <DATACOMP SteelSDATA, class 0/0, rev 1.10/0.01, addr 2> on usbus1
kbd2 at ukbd0

kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000


ums0: <DATACOMP SteelSDATA, class 0/0, rev 1.10/0.01, addr 2> on usbus1

uhub8: 4 ports with 4 removable, self powered
ugen0.3: <SteelSeries ApS> at usbus0
ums1: <SteelSeries ApS Ikari Laser, class 0/0, rev 2.00/1.00, addr 3> on
usbus0
ums1: 7 buttons and [XYZ] coordinates ID=2

acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05
Trying to mount root from ufs:/dev/md0
ct_to_ts([2010-03-28 08:05:57]) = 1269763557.000000000
start_init: trying /sbin/init
start_init: trying /sbin/oinit
start_init: trying /sbin/init.bak
start_init: trying /rescue/init
start_init: trying /stand/sysinstall

Thanks for the help John & *, any chance this will get committed?

John Baldwin

unread,
Mar 29, 2010, 12:02:16 PM3/29/10
to a...@coolrhaug.com, kochetko...@gmail.com, Randy Chou, freebsd-...@freebsd.org

It is already in the tree and merged to 7 and 8. It should be present in 7.4
and 8.1.

--
John Baldwin

0 new messages