Source-Changes-D archive

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

Re: amd64 direct map causing crashes at boot (Re: CVS commit: src/sys/arch)



On Thu, Dec 08, 2011 at 07:47:07AM -0800, Chuck Silvers wrote:
> 
> I'd like to leave the direct-map stuff enabled for now so we can
> gather some more data on where it works and where it doesn't.
> if you (and anyone who sees this problem) could send me the output from
> dmesg and "cpuctl identify", hopefully that will give me some clues.
> actually if people who don't see this problem with a kernel from monday
> or later  could send me that info too, that will also hope.

Built the kernel with the _HAVE_DIRECT_MAP block turned off.  Works
fine, gives me the attached dmesg and cpuctl identify.

Thor
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    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.59 (RNDVERBOSE) #34: Thu Dec  8 22:28:28 EST 2011
        
luser@beaky.local:/Volumes/csfs/amd64-build/objdir/sys/arch/amd64/compile/RNDVERBOSE
total memory = 511 MB
avail memory = 479 MB
rnd: initialised (4096) with counter
rnd: WARNING! initial entropy low (2).
rnd: entropy sink "arc4random" wants 16 bytes of data.
timecounter: Timecounters tick every 10.000 msec
rnd: WARNING! initial entropy low (0).
cprng kernel: WARNING insufficient entropy at creation.
rnd: WARNING! initial entropy low (1).
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
innotek GmbH VirtualBox (1.2)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz, id 
0x6f6
cpu1 at mainbus0 apid 1: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz, id 
0x6f6
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <VBOX  ,VBOXXSDT,00000001>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
LPT (PNP0400) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
SRL0 (PNP0501) at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
acpibat0: innotek VBOX rechargeable battery
acpibat0: granularity: low->warn 0.001 Wh, warn->full 0.001 Wh
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
rnd: pckbd0 attached as an entropy source (collecting)
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
rnd: pms0 attached as an entropy source (collecting)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vga0 at pci0 dev 2 function 0: vendor 0x80ee product 0xbeef (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
wm0 at pci0 dev 3 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic0 pin 19
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 08:00:27:06:ea:f6
wm0: MDIC read timed out: phy 0 reg 1
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 4
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rnd: wm0 attached as an entropy source (off)
vendor 0x80ee product 0xcafe (miscellaneous system) at pci0 dev 4 function 0 
not configured
auich0 at pci0 dev 5 function 0: i82801AA (ICH) AC-97 Audio
auich0: interrupting at ioapic0 pin 21
auich0: ac97: SigmaTel STAC9700 codec; no 3D stereo
auich0: ac97: ext id 0x809<AC97_23,VRM,VRA>
piixpm0 at pci0 dev 7 function 0
piixpm0: vendor 0x8086 product 0x7113 (rev. 0x08)
piixpm0: SMBus disabled
mpt has not been converted to device_t
mpt0 at pci0 dev 20 function 0: vendor 0x1000 product 0x0030
mpt0: applying 1030 quirk
mpt0: interrupting at ioapic0 pin 20
scsibus0 at mpt0: 16 targets, 8 luns per target
ppb0 at pci0 dev 24 function 0: vendor 0x8086 product 0x2448 (rev. 0xf2)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ppb1 at pci0 dev 25 function 0: vendor 0x8086 product 0x2448 (rev. 0xf2)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x27b9 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x2829
ahcisata0: interrupting at ioapic0 pin 23
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.10, 1 ports, 32 slots, CAP 
0xc8241f80<CCCS,SAM,ISS=0x2=Gen2,SSS,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
ohci0 at pci0 dev 31 function 4: vendor 0x106b product 0x003f (rev. 0x00)
ohci0: interrupting at ioapic0 pin 23
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 31 function 5: vendor 0x8086 product 0x265c (rev. 0x00)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
ehci0: wrong number of companions (0 != 1)
usb1 at ehci0: USB revision 2.0
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
ERROR: 9903 cycle TSC drift observed
scsibus0: waiting 2 seconds for devices to settle...
auich0: measured ac97 link rate at 18881 Hz, will use 48000 Hz
audio0 at auich0: full duplex, playback, capture, mmap, independent
acpiacad0: AC adapter offline.
uhub0 at usb0: vendor 0x106b OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
atapibus0 at atabus0: 1 targets
cd0 at atapibus0 drive 0: <VBOX CD-ROM, VB0-1a2b3c4d, 1.0> cdrom removable
rnd: cd0 attached as an entropy source (collecting)
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
cd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA)
sd0 at scsibus0 target 0 lun 0: <VBOX, HARDDISK, 1.0> disk fixed
sd0: fabricating a geometry
sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
rnd: sd0 attached as an entropy source (collecting)
sd0: fabricating a geometry
mpt0: page type 0x4 not changeable
mpt0: unable to write Device Page 1
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
rnd: WARNING! initial entropy low (6).
cprng sysctl: WARNING insufficient entropy at creation.
rnd: WARNING! initial entropy low (7).
boot device: sd0
root on sd0a dumps on sd0b
dump_misc_init: max_paddr = 0x1fff0000
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
rnd: have initial entropy (128)
supplying 16 bytes to entropy sink "arc4random" (cb 0xffffffff8087abb0, arg 
0xffffffff80e88b60).
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)
cprng 2874d0xffff8000244e65e00xffff8000244e4a481: WARNING insufficient entropy 
at creation.
rnd: entropy sink "2874d0xffff8000" wants 16 bytes of data.
rnd: entropy sink "2874d0xffff8000" no longer wants data.
cpu0: Intel Core 2 (686-class), 2077.25 MHz, id 0x6f6
cpu0: features  0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features  0x178bfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2>
cpu0: features  0x178bfbff<HTT>
cpu0: features2 0x201<SSE3,SSSE3>
cpu0: features3 0x20100800<SYSCALL/SYSRET,XD,EM64T>
cpu0: features4 0x1<LAHF>
cpu0: "Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz"
cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
cpu0: L2 cache 4MB 64B/line 16-way
cpu0: ITLB 128 4KB entries 4-way
cpu0: DTLB 256 4KB entries 4-way, 16 4MB entries 4-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: family 06 model 0f extfamily 00 extmodel 00
cpu1: Intel Core 2 (686-class), 2077.25 MHz, id 0x6f6
cpu1: features  0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features  0x178bfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2>
cpu1: features  0x178bfbff<HTT>
cpu1: features2 0x201<SSE3,SSSE3>
cpu1: features3 0x20100800<SYSCALL/SYSRET,XD,EM64T>
cpu1: features4 0x1<LAHF>
cpu1: "Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz"
cpu1: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
cpu1: L2 cache 4MB 64B/line 16-way
cpu1: ITLB 128 4KB entries 4-way
cpu1: DTLB 256 4KB entries 4-way, 16 4MB entries 4-way
cpu1: Initial APIC ID 1
cpu1: Cluster/Package ID 0
cpu1: Core ID 1
cpu1: family 06 model 0f extfamily 00 extmodel 00


Home | Main Index | Thread Index | Old Index