NetBSD-Bugs archive

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

port-amd64/52088: ISA_HOLE_VADDR() does not work at custom kernel



>Number:         52088
>Category:       port-amd64
>Synopsis:       ISA_HOLE_VADDR() does not work at custom kernel
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 18 11:05:00 +0000 2017
>Originator:     HITOSHI Osada
>Release:        NetBSD 7.99.66
>Organization:
>Environment:
NetBSD llano 7.99.66 NetBSD 7.99.66 (MYVMWARE) #0: Sat Mar 18 19:11:43 JST 2017  that@llano:/tmp/MYVMWARE amd64
>Description:
My custom kernel can't get SMBIOS information and can't initialize vga screen.

Even in this state, X will start up on VMware, but on real hardware, a hard reset occurs when X starts.

Curiously, GENERIC or INSTALL kernels work well.

>How-To-Repeat:
Compile the kernel with config like below, and boot the kernel in VMware.
----
include 	"arch/amd64/conf/std.amd64"
options 	INCLUDE_CONFIG_FILE	
maxusers	64		
options 	INSECURE	
options 	RTC_OFFSET=-540	
options 	NTP		
options 	KTRACE		
options 	CPU_UCODE	
options 	SYSVMSG		
options 	SYSVSEM		
options 	SYSVSHM		
options 	MODULAR		
options 	MODULAR_DEFAULT_AUTOLOAD
options 	USERCONF	
options 	SYSCTL_INCLUDE_DESCR	
acpicpu*	at cpu?		
vmt0		at cpu0		
options 	BUFQ_PRIOCSCAN
options 	DIAGNOSTIC	
				
makeoptions 	COPTS="-O2 -fno-omit-frame-pointer"
options 	DDB		
options 	DDB_HISTORY_SIZE=512	
makeoptions	DEBUG="-g"	
options 	KDTRACE_HOOKS	
options 	COMPAT_70	
options 	COMPAT_OSSAUDIO
options 	COMPAT_NETBSD32
options 	COMPAT_LINUX
options 	COMPAT_LINUX32	
options 	EXEC_ELF32
options 	COMPAT_BSDPTY	
options 	DKWEDGE_AUTODISCOVER	
options 	DKWEDGE_METHOD_GPT	
file-system 	FFS		
file-system	TMPFS		
file-system	KERNFS		
file-system	PROCFS		
file-system	PTYFS		
options 	WAPBL		
				
options 	UFS_EXTATTR	
options 	INET		
options 	INET6		
options 	IPFILTER_LOG	
options 	IPFILTER_LOOKUP	
options 	IPFILTER_COMPAT 
options 	WSEMUL_VT100		
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WSDISPLAY_COMPAT_PCVT		
options 	WSDISPLAY_COMPAT_SYSCONS	
options 	WSDISPLAY_COMPAT_USL		
options 	WSDISPLAY_COMPAT_RAWKBD		
options 	PCKBD_CNATTACH_MAY_FAIL
options 	PCKBD_LAYOUT="KB_JP"
options 	PCDISPLAY_SOFTCURSOR
options 	WSDISPLAY_SCROLLSUPPORT
config		netbsd	root on ? type ?
acpi0		at mainbus0
options 	ACPI_SCANPCI		
options 	MPBIOS			
options 	MPBIOS_SCANPCI		
options 	VGA_POST		
acpiacad* 	at acpi?		
acpibut* 	at acpi?		
attimer*	at acpi?		
hpet*		at acpihpetbus?		
hpet*		at acpinodebus?		
pckbc*  	at acpi?		
pcppi*  	at acpi?                
pci*	at mainbus? bus ?
pci*	at pchb? bus ?
pci*	at ppb? bus ?
pchb*	at pci? dev ? function ?	
options 	AGP_X86
pcib*	at pci? dev ? function ?	
ppb*	at pci? dev ? function ?	
					
agp*	at pchb?
isa0	at mainbus?
isa0	at pcib?
pckbc0		at isa?			
pckbd*		at pckbc?		
pms*		at pckbc?		
vga*		at pci? dev ? function ?
genfb*		at pci? dev ? function ?
options 	VCONS_DRAW_INTR
wsdisplay*	at vga? console ?
wsdisplay*	at wsemuldisplaydev?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0
attimer0	at isa?
pcppi0		at isa?
sysbeep0	at pcppi?
com0	at isa? port 0x3f8 irq 4	
piixpm* at pci? dev ? function ?	
mpt*	at pci? dev ? function ?	
scsibus* at scsi?
sd*	at scsibus? target ? lun ?	
cd*	at scsibus? target ? lun ?	
piixide* at pci? dev ? function ?	
ahcisata* at pci? dev ? function ?
atabus* at ata?
wd*	at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd*	at atapibus? drive ? flags 0x0000	
sd*	at atapibus? drive ? flags 0x0000	
vmx*	at pci? dev ? function ?	
					
eap*	at pci? dev ? function ?	
audio*	at audiobus?
cinclude "arch/amd64/conf/GENERIC.local"
pseudo-device	crypto			
pseudo-device	swcrypto		
pseudo-device	vnd			
options 	VND_COMPRESSION		
pseudo-device	bpfilter		
pseudo-device	ipfilter		
pseudo-device	loop			
pseudo-device	pty			
pseudo-device	clockctl		
pseudo-device	ksyms			
pseudo-device	wsmux			
pseudo-device	wsfont
pseudo-device	drvctl
options 	FILEASSOC		
					
pseudo-device	veriexec
options VERIFIED_EXEC_FP_RMD160
options VERIFIED_EXEC_FP_SHA256
options VERIFIED_EXEC_FP_SHA384
options VERIFIED_EXEC_FP_SHA512
options VERIFIED_EXEC_FP_SHA1
options VERIFIED_EXEC_FP_MD5
options 	PAX_SEGVGUARD=0		
options 	PAX_MPROTECT=1		
options 	PAX_MPROTECT_DEBUG=1	
options 	PAX_ASLR=1		
options 	PAX_ASLR_DEBUG=1	

----
>Fix:



Home | Main Index | Thread Index | Old Index