Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic during cpu_attach() on core i7



Hmm, it works just fine using port-amd64....  See attached dmesg.

On Wed, 30 Sep 2009, Tobias Nygren wrote:

Looks like we explode in rdmsr() on recent intel processors.
The value of the %cx register is 0xcd which corresponds to MSR_FSB_FREQ.
I'll try a kernel with speedstep disabled and see what happens ...

NetBSD 5.99.15 (GENERIC.g33m) #0: Sun Aug 30 17:45:07 CEST 2009
       
tnn%g33m.int.nygren.pp.se@localhost:/x/obj/sys/arch/amd64/compile/GENERIC.g33m
total memory = 6135 MB
avail memory = 5931 MB
mainbus0 (root)
cpu0 at mainbus0: Intel 686-class, 2807MHz, id 0x106e5
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff8022dd56 cs 8 rflags 10246 cr2  0 cpl 8
rsp ffffffff80edcc28 kernel: protection fault trap, code=0
Stopped in pid 0.1 (system) at  netbsd:rdmsr+0x6:       rdmsr
db{0}> bt
rdmsr() at netbsd:rdmsr+0x6
est_init_once() at netbsd:est_init_once+0x3dc
_run_once() at netbsd:_run_once+0x62
cpu_identify() at netbsd:cpu_identify+0x163
cpu_attach() at netbsd:cpu_attach+0x357
config_attach_loc() at netbsd:config_attach_loc+0x15d
mainbus_attach() at netbsd:mainbus_attach+0x15a
config_attach_loc() at netbsd:config_attach_loc+0x15d
cpu_configure() at netbsd:cpu_configure+0x26
main() at netbsd:main+0x1b3
db{0}>


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.18 (BOLT (ASUS P6T) 2009-09-20 04:50:10) #0: Sat Sep 19 23:56:03 
PDT 2009
        
paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/BOLT
total memory = 3062 MB
avail memory = 2960 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
System manufacturer System Product Name (System Version)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2672MHz, id 0x106a5
cpu0: Intel(R) On Demand Clock Modulation (state disabled)
cpu1 at mainbus0 apid 2: Intel 686-class, 2672MHz, id 0x106a5
cpu2 at mainbus0 apid 4: Intel 686-class, 2672MHz, id 0x106a5
cpu3 at mainbus0 apid 6: Intel 686-class, 2672MHz, id 0x106a5
cpu4 at mainbus0 apid 1: Intel 686-class, 2672MHz, id 0x106a5
cpu5 at mainbus0 apid 3: Intel 686-class, 2672MHz, id 0x106a5
cpu6 at mainbus0 apid 5: Intel 686-class, 2672MHz, id 0x106a5
cpu7 at mainbus0 apid 7: Intel 686-class, 2672MHz, id 0x106a5
ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0 apid 9: pa 0xfec8a000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20090730
acpi0: X/RSDT: OemId <020309,XSDT2056,20090203>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
attimer0 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi0 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
aiboost0 at acpi0 (ASOC, ATK0110-16843024)
aiboost0: ASUS AI Boost Hardware monitor
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
FWH (INT0800) at acpi0 not configured
WMI1 (pnp0c14) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
attimer0: attached to pcppi0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x3405 (rev. 0x12)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x3408 (rev. 0x12)
ppb0: unsupported PCI Express version
pci1 at ppb0 bus 1
pci1: no spaces enabled!
ppb1 at pci0 dev 3 function 0: vendor 0x8086 product 0x340a (rev. 0x12)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: vendor 0x1002 product 0x954f (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
hdaudio1 at pci2 dev 0 function 1: HD Audio Controller
hdaudio1: interrupting at ioapic1 pin 10
hdafg1 at hdaudio1 vendor 0x1002 product 0xAA01 nid 0x01 (firmware 
configuration)
hdafg1: DAC0:02, Digital Digital Other Out: Jack (Unknown, 03)
hdafg1: 2ch/0ch 32000Hz-48000Hz 16/16
audio1 at hdafg1: full duplex, independent
audio: could not allocate record buffer
ppb2 at pci0 dev 7 function 0: vendor 0x8086 product 0x340e (rev. 0x12)
ppb2: unsupported PCI Express version
pci3 at ppb2 bus 3
pci3: no spaces enabled!
vendor 0x8086 product 0x3425 (interrupt system, revision 0x12) at pci0 dev 16 
function 0 not configured
vendor 0x8086 product 0x3426 (interrupt system, revision 0x12) at pci0 dev 16 
function 1 not configured
vendor 0x8086 product 0x342e (interrupt system, revision 0x12) at pci0 dev 20 
function 0 not configured
vendor 0x8086 product 0x3422 (interrupt system, revision 0x12) at pci0 dev 20 
function 1 not configured
vendor 0x8086 product 0x3423 (interrupt system, revision 0x12) at pci0 dev 20 
function 2 not configured
vendor 0x8086 product 0x3438 (interrupt system, revision 0x12) at pci0 dev 20 
function 3 not configured
uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x3a37 (rev. 0x00)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x3a38 (rev. 0x00)
uhci1: interrupting at ioapic0 pin 21
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 26 function 2: vendor 0x8086 product 0x3a39 (rev. 0x00)
uhci2: interrupting at ioapic0 pin 19
usb2 at uhci2: USB revision 1.0
ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x3a3c (rev. 0x00)
ehci0: interrupting at ioapic0 pin 18
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0 vendor 0x10EC product 0x0888 nid 0x01 (firmware 
configuration)
hdafg0: DAC0:02, Analog Speaker: Jack (Green, 14)
hdafg0: DAC0:03, Analog Speaker: Jack (Orange, 16)
hdafg0: DAC0:04, Analog Speaker: Jack (Black, 15)
hdafg0: DAC0:05, Analog Speaker: Jack (Grey, 17)
hdafg0: DAC1:25, Analog HP Out: Jack (Green, 1B)
hdafg0: DAC2:06, Digital SPDIF Out: Jack (Orange, 1E)
hdafg0: DAC3:10, Digital SPDIF Out: Fixed Function (Unknown, 11)
hdafg0: ADC4:08, Analog Mic In: Jack (Pink, 18)
hdafg0: ADC4:08, Analog Line In: Jack (Blue, 1A)
hdafg0: ADC5:09, Analog Mic In: Jack (Pink, 19)
hdafg0: 8ch/2ch 44100Hz-192000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, independent
ppb3 at pci0 dev 28 function 0: vendor 0x8086 product 0x3a40 (rev. 0x00)
pci4 at ppb3 bus 7
pci4: memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 2: vendor 0x8086 product 0x3a44 (rev. 0x00)
pci5 at ppb4 bus 6
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci5 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 
0x02)
re0: interrupting at ioapic0 pin 18
re0: Ethernet address 00:24:8c:54:41:a6
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb5 at pci0 dev 28 function 3: vendor 0x8086 product 0x3a46 (rev. 0x00)
pci6 at ppb5 bus 5
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
fwohci0 at pci6 dev 0 function 0: vendor 0x1106 product 0x3403 (rev. 0x00)
fwohci0: interrupting at ioapic0 pin 19
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:1e:8c:00:01:cd:99:c5
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
ppb6 at pci0 dev 28 function 4: vendor 0x8086 product 0x3a48 (rev. 0x00)
pci7 at ppb6 bus 4
pci7: i/o space, memory space enabled, rd/line, wr/inv ok
jmide0 at pci7 dev 0 function 0: vendor 0x197b product 0x2363
jmide0: 1 PATA port, 2 SATA ports
jmide0: interrupting at ioapic0 pin 16
ahcisata0 at jmide0
ahcisata0: AHCI revision 1.0, 2 ports, 32 command slots, features 0xc722e000
atabus1 at ahcisata0 channel 0
atabus2 at ahcisata0 channel 1
jmide1 at pci7 dev 0 function 1: vendor 0x197b product 0x2363
jmide1: 1 PATA port, 2 SATA ports
jmide1: interrupting at ioapic0 pin 17
jmide1: PCI IDE interface used
jmide1: bus-master DMA support present
jmide1: primary channel wired to native-PCI mode
jmide1: primary channel is PATA
atabus3 at jmide1 channel 0
jmide1: secondary channel wired to native-PCI mode
jmide1: secondary channel is SATA
atabus4 at jmide1 channel 1
uhci3 at pci0 dev 29 function 0: vendor 0x8086 product 0x3a34 (rev. 0x00)
uhci3: interrupting at ioapic0 pin 23
usb4 at uhci3: USB revision 1.0
uhci4 at pci0 dev 29 function 1: vendor 0x8086 product 0x3a35 (rev. 0x00)
uhci4: interrupting at ioapic0 pin 19
usb5 at uhci4: USB revision 1.0
uhci5 at pci0 dev 29 function 2: vendor 0x8086 product 0x3a36 (rev. 0x00)
uhci5: interrupting at ioapic0 pin 18
usb6 at uhci5: USB revision 1.0
ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x3a3a (rev. 0x00)
ehci1: interrupting at ioapic0 pin 23
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci3 uhci4 uhci5
usb7 at ehci1: USB revision 2.0
ppb7 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x90)
pci8 at ppb7 bus 8
pci8: no spaces enabled!
pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x3a16 (rev. 0x00)
piixide1 at pci0 dev 31 function 2: Intel ICH10 Serial ATA 2 Controller 4x2 
(rev. 0x00)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using ioapic0 pin 20 for native-PCI interrupt
atabus5 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus6 at piixide1 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x3a30 (rev. 0x00)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
iic0: devices at 0x09 0x1e 0x20 0x30 0x32 0x44 0x50 0x52 0x54 0x69
dbcool_chip_ident: addr 0x2e c_id 0x00 d_id 0x00 r_id 0x00: No match.
spdmem0 at iic0 addr 0x50
spdmem0: DDR3 SDRAM, no ECC, no temp-sensor, 1GB, 1333MHz (PC3-10666)
spdmem0: 11 rows, 13 cols, 8 log. banks, 1 phys. banks, 1.500ns cycle time
spdmem0: tAA-tRCD-tRP-tRAS: 9-9-9-24
spdmem2 at iic0 addr 0x52
spdmem2: DDR3 SDRAM, no ECC, no temp-sensor, 1GB, 1333MHz (PC3-10666)
spdmem2: 11 rows, 13 cols, 8 log. banks, 1 phys. banks, 1.500ns cycle time
spdmem2: tAA-tRCD-tRP-tRAS: 9-9-9-24
spdmem4 at iic0 addr 0x54
spdmem4: DDR3 SDRAM, no ECC, no temp-sensor, 1GB, 1333MHz (PC3-10666)
spdmem4: 11 rows, 13 cols, 8 log. banks, 1 phys. banks, 1.500ns cycle time
spdmem4: tAA-tRCD-tRP-tRAS: 9-9-9-24
piixide0 at pci0 dev 31 function 5: Intel ICH10 Serial ATA 2 Controller 2x2 
(rev. 0x00)
piixide0: bus-master DMA support present
piixide0: primary channel wired to native-PCI mode
piixide0: using ioapic0 pin 20 for native-PCI interrupt
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to native-PCI mode
atabus7 at piixide0 channel 1
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2672818960 Hz quality 3000
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub4 at usb4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhub5 at usb5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
uhub6 at usb6: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub6: 2 ports with 2 removable, self powered
uhub7 at usb7: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub7: 6 ports with 6 removable, self powered
ehci1: handing over low speed device on port 2 to uhci3
uhidev0 at uhub4 port 2 configuration 1 interface 0
uhidev0: Justcom Technology USB KVM Switch, rev 1.10/1.00, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 2 configuration 1 interface 1
uhidev1: Justcom Technology USB KVM Switch, rev 1.10/1.00, addr 2, iclass 3/1
ums0 at uhidev1: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0 at atabus0 drive 0: <WDC WD1600AAJS-00M0A0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Accounting started


Home | Main Index | Thread Index | Old Index