NetBSD Problem Report #41383

From hauke@spg.tu-darmstadt.de  Fri May  8 11:56:01 2009
Return-Path: <hauke@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3923D63B8DF
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 May 2009 11:56:01 +0000 (UTC)
Message-Id: <200905081154.n48BsZb2000793@localhost.>
Date: Fri, 8 May 2009 13:54:36 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: Panic during xdm startup
X-Send-Pr-Version: 3.95

>Number:         41383
>Category:       kern
>Synopsis:       Panic during xdm startup on Thinkpad 380D
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 08 12:00:01 +0000 2009
>Originator:     Hauke Fath
>Release:        NetBSD 5.0_STABLE
>Organization:

>Environment:


System: NetBSD Charcoal 5.0_STABLE NetBSD 5.0_STABLE (TP380D) #0: Thu May 7 18:21:39 CEST 2009 hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/TP380D i386
Architecture: i386
Machine: i386
>Description:

	On a netbsd-5 installation on a Thinkpad 380D (Pentium 150, 80
	MB RAM) I got a few panics during xdm startup. The gdb trace
	(core dump available on request) looks like

(gdb) target kvm /var/tmp/netbsd.4.core
#0  cpu_reboot (howto=260, bootstr=0x0)
    at /public/netbsd-5/sys/arch/i386/i386/machdep.c:931
931	/public/netbsd-5/sys/arch/i386/i386/machdep.c: No such file or directory.
	in /public/netbsd-5/sys/arch/i386/i386/machdep.c
(gdb) bt full
#0  cpu_reboot (howto=260, bootstr=0x0)
    at /public/netbsd-5/sys/arch/i386/i386/machdep.c:931
No locals.
#1  0xc0274abe in panic (
    fmt=0xc03f1386 "kernel %sassertion \"%s\" failed: file \"%s\", line %d")
    at /public/netbsd-5/sys/kern/subr_prf.c:253
	ci = <value optimized out>
	bootopt = 260
	ap = 0xc6d46d78 "\0379;*;\003"
	intrace = 0
#2  0xc0359f40 in __kernassert (t=0xc039f31f "diagnostic ", 
    f=0xc03bdb2a "/public/netbsd-5/sys/kern/kern_sig.c", l=970, 
    e=0xc03bdaab "!cpu_intr_p()")
    at /public/netbsd-5/sys/lib/libkern/__assert.c:50
No locals.
#3  0xc025ab7f in psignal (p=0xc7ad8cec, signo=30)
    at /public/netbsd-5/sys/kern/kern_sig.c:970
	ksi = {ksi_flags = 3335810544, ksi_list = {cqe_next = 0x0, 
    cqe_prev = 0xc0263b62}, ksi_info = {_signo = -1071314776, _code = 6, 
    _errno = -1069556736, _reason = {_rt = {_pid = -1071265317, 
        _uid = 3223653182, _value = {sival_int = -1069155850, 
          sival_ptr = 0xc045f9f6}}, _child = {_pid = -1071265317, 
        _uid = 3223653182, _status = -1069155850, _utime = 2390, 
        _stime = 3335810636}, _fault = {_addr = 0xc025c9db, 
        _trap = -1071314114}, _poll = {_band = -1071265317, 
        _fd = -1071314114}}}, ksi_lid = -944927508}
#4  0xc019f6c3 in usl_sync_check_sig (sd=0xc094a180, sig=30, flags=1)
    at /public/netbsd-5/sys/dev/wscons/wsdisplay_compat_usl.c:148
No locals.
#5  0xc019f791 in usl_detachproc (cookie=0xc094a180, waitok=0, 
    callback=0xc019dce9 <wsdisplay_switch1_cb>, cbarg=0xc6d40004)
    at /public/netbsd-5/sys/dev/wscons/wsdisplay_compat_usl.c:194
	sd = (struct usl_syncdata *) 0x0
#6  0xc019dffd in wsdisplay_switch (dv=0xc6d40004, no=1, waitok=0)
    at /public/netbsd-5/sys/dev/wscons/wsdisplay.c:1947
	sc = (struct wsdisplay_softc *) 0xc6918ee8
	s = <value optimized out>
	res = <value optimized out>
	scr = (struct wsscreen *) 0x0
#7  0xc01a3b72 in wskbd_translate (id=0xc0427a20, type=2, 
    value=<value optimized out>)
    at /public/netbsd-5/sys/dev/wscons/wskbd.c:1613
	sc = (struct wskbd_softc *) 0xc6d405ac
	ksym = <value optimized out>
	res = <value optimized out>
	group = <value optimized out>
	kpbuf = {command = 50900, group1 = {60, 0}, group2 = {28396, 50900}}
	kp = (struct wscons_keymap *) 0xc07ff258
	iscommand = <value optimized out>
	ishotkey = <value optimized out>
	__func__ = "wskbd_translate"
#8  0xc01a4403 in wskbd_input (dev=0xc6d40698, type=2, value=60)
    at /public/netbsd-5/sys/dev/wscons/wskbd.c:682
	sc = (struct wskbd_softc *) 0xc6d405ac
	num = <value optimized out>
	i = <value optimized out>
#9  0xc03286c5 in pckbd_input (vsc=0xc69096e4, data=60)
    at /public/netbsd-5/sys/dev/pckbport/pckbd.c:584
	key = 60
	type = 2
#10 0xc01917f9 in pckbcintr (vsc=0xc69096c8)
    at /public/netbsd-5/sys/dev/ic/pckbc.c:607
	t = (struct pckbc_internal *) 0xc0435b00
	stat = <value optimized out>
	slot = 0
	q = (struct pckbc_slotdata *) 0xc0427860
	served = 1
	data = <value optimized out>
#11 0xc02f32e0 in intr_biglock_wrapper (vp=0xc07f5cc0)
    at /public/netbsd-5/sys/arch/x86/x86/intr.c:617
	ret = <value optimized out>
#12 0xc01016fb in Xintr_legacy1 ()
No symbol table info available.
(gdb) 


	The dmesg output:


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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.0_STABLE (TP380D) #0: Thu May  7 18:21:39 CEST 2009
	hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/TP380D
total memory = 81532 KB
avail memory = 75956 KB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
mainbus0 (root)
cpu0 at mainbus0: Intel 586-class, 152MHz, id 0x52c
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
pchb0: Intel 82437MX (MTSC) Mobile System Controller (rev. 0x02)
pcib0 at pci0 dev 1 function 0
pcib0: Intel 82371MX (MPIIX) Mobile PCI I/O IDE Xcelerator (rev. 0x03)
vga0 at pci0 dev 3 function 0: Neomagic MagicGraph 128ZV (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
pcic0 at pci0 dev 19 function 0: Cirrus Logic PD6729 PCMCIA controller
pcic0: controller 0 (Cirrus PD6710/2X) has sockets A and B
isa0 at pcib0
lpt2 at isa0 port 0x3bc-0x3bf irq : polled
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.02
audio0 at sb0: half duplex, mmap, independent
opl0 at sb0: model OPL3
midi0 at opl0: SB Yamaha OPL3 (CPU-intensive output)
wss0 at isa0 port 0x530-0x537 irq 10 drq 0,1: CS4236B
audio1 at wss0: full duplex, mmap
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
attimer0: attached to pcppi0
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
apm0 at mainbus0: Advanced Power Management BIOS: Power Management spec V1.2
apm0: A/C state: on
apm0: battery charge state: no battery
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 152144680 Hz quality 3000
pcic0: using irq 3 for socket events
pcic0: WARNING: powerhook_establish is deprecated
pcic0: WARNING: powerhook_establish is deprecated
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 1: <CD-38E, , 2.0A> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at atabus0 drive 0: <IC25N040ATCS05-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pad: requested 1 units
pad0: outputs: 44100Hz, 16-bit, stereo
audio2 at pad0: half duplex
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: 3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002
pcmcia1: Manufacturer code 0x101, product 0x589
pcmcia1: function 0: network adapter, ccr addr 10000 mask 3
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
pcmcia1: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
ep0 at pcmcia1 function 0: <3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002>
pcic0: port 0x400-0x40f
pcmcia1: card irq 7
ep0: address 00:10:4b:7f:61:a3, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10baseT)
boot device: wd0
root on wd0a dumps on wd0b
dump_misc_init: max_paddr = 0x5000000
/: replaying log to memory
init: copying out path `/sbin/init' 11
/: replaying log to disk
/var: replaying log to disk
pcmcia1: card irq 7
apm0: A/C state: on
apm0: battery charge state: no battery
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)
/usr/pkg: replaying log to disk
/local: replaying log to disk


	The kernel config file:


# IBM Thinkpad 380D kernel config

include 	"arch/i386/conf/std.i386"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	16		# estimated number of users

makeoptions 	CPUFLAGS="-Os -pipe -march=pentium"

# CPU-related options.
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE

options 	MULTIBOOT	# Multiboot support (see multiboot(8))

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options 	CPURESET_DELAY=2000

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

options 	RTC_OFFSET=-60	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop

options 	KTRACE		# system call tracing via ktrace(1)

# Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing
options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support

options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# expensive kernel consistency checks
options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	DDB_VERBOSE_HELP
#options 	KGDB		# remote debugger
#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
makeoptions 	DEBUG="-g"	# compile full symbol table
#options 	SYSCALL_STATS	# per syscall counts
#options 	SYSCALL_TIMES	# per syscall times
#options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)

# Compatibility options
options 	COMPAT_30	# NetBSD 3.0
options 	COMPAT_30_PTHREAD # NetBSD 3.0 pthreads compatibility.
options 	COMPAT_40	# NetBSD 4.0

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_LINUX	# binary compatibility with Linux

options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Wedge support
options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
# The following two options can break /etc/fstab, so handle with care
#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges

# File systems
file-system 	FFS		# UFS
file-system 	NFS		# Network File System client
file-system 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	PROCFS		# /proc
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)

# File system options
options 	WAPBL		# File system journaling support - Experimental
#options 	NFSSERVER	# Network File System server

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
options 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	IPFILTER_LOG	# ipmon(8) log support
options 	IPFILTER_LOOKUP	# ippool(8) support
#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	MIIVERBOSE	# verbose PHY autoconfig messages
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
options 	SCSIVERBOSE	# human readable SCSI error messages

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# wscons options
#
# builtin terminal emulations
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR=""
#options 	WS_KERNEL_MONOATTR=""
# customization of console border color
options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
# don't attach pckbd as the console if no PS/2 keyboard is found
options 	PCKBD_CNATTACH_MAY_FAIL
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR
# console scrolling support.
options 	WSDISPLAY_SCROLLSUPPORT

# Kernel root file system and dump configuration.
config		netbsd	root on wd0a type ffs

#
# Device configuration
#

apm0	at mainbus0			# Advanced power management

# Tuning for power management, see apm(4) for more details.
#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
#options 	APM_NO_POWEROFF		# Don't power off on halt(8)

options 	APM_POWER_PRINT		# Print stats on the console

# For IBM Thinkpads
options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
options		APMDEBUG

# Basic Bus Support

# This option can be used to retrieve CPU and APIC information.
# that I/O APICs can be used if ACPI is enabled below.
#options 	MPBIOS_SCANPCI	# find PCI roots using MPBIOS
#options 	ACPI_SCANPCI	# find PCI roots using ACPI
#
#acpi0 		at mainbus0

options 	VGA_POST		# in-kernel support for VGA POST


# PCI bus support
pci*	at mainbus? bus ?
pci*	at pchb? bus ?

pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

# ISA bus support
isa0	at pcib?

# PCMCIA bus support
pcmcia* at pcic? controller ? socket ?

# PCI PCMCIA controllers
pcic0	at pci? dev? function ?


# Coprocessor Support

# Math Coprocessor support
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor


# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume

vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0

attimer0	at isa?
pcppi0		at isa?
sysbeep0	at pcppi?


# Serial Devices

# PCMCIA serial interfaces
com*	at pcmcia? function ?		# Modems and serial cards

pcmcom* at pcmcia? function ?		# PCMCIA multi-port serial cards
com*	at pcmcom? slave ?		# ...and the slave devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
com1	at isa? port 0x2f8 irq 3

# Parallel Printer Interfaces

# ISA parallel printer interfaces
#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
#lpt1	at isa? port 0x278
lpt2	at isa? port 0x3bc

# SCSI Controllers and Devices

# PCMCIA SCSI controllers
aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
#esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
#spc* 	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
#ch*	at scsibus? target ? lun ?	# SCSI autochangers
#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
#ss*	at scsibus? target ? lun ?	# SCSI scanners
uk*	at scsibus? target ? lun ?	# SCSI unknown


# ISA ST506, ESDI, and IDE controllers
# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
# fall back to 16bits I/O if 32bits I/O are not functional).
# Some controllers pass the initial 32bit test, but will fail later.
wdc0	at isa? port 0x1f0 irq 14 flags 0x00
wdc1	at isa? port 0x170 irq 15 flags 0x00

# ATA (IDE) bus support
atabus* at ata?
options	ATADEBUG

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown


# Miscellaneous mass storage devices

# ISA floppy
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves

# Network Interfaces

# PCMCIA network interfaces
#an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
#awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
cs*	at pcmcia? function ?		# CS89xx Ethernet
ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
mbe*	at pcmcia? function ?		# MB8696x based Ethernet
ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
#ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
sm*	at pcmcia? function ?		# Megahertz Ethernet
wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
com*	at xirc?
xi*	at xirc?
mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
com*	at mhzc?
sm*	at mhzc?

# MII/PHY support
ukphy*	at mii? phy ?			# generic unknown PHYs


# Audio Devices

# ISA audio devices
sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System

# OPL[23] FM synthesizers
opl*	at sb?

# Audio support
audio*	at audiobus?

# MIDI support
midi*	at midibus?
midi*	at pcppi?		# MIDI interface to the PC speaker

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0	at pcppi?		# PC speaker


# Pseudo-Devices

pseudo-device 	crypto		# /dev/crypto device
pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device	cgd		4	# cryptographic disk devices
pseudo-device	fss		4	# file system snapshot device

pseudo-device	md		1	# memory disk device (ramdisk)
options		MEMORY_DISK_HOOKS	# enable root ramdisk
options		MEMORY_DISK_DYNAMIC	# loaded via kernel module

pseudo-device	vnd			# disk-like interface to files
options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	sl			# Serial Line IP
pseudo-device	irframetty		# IrDA frame line discipline
pseudo-device	tap			# virtual Ethernet
pseudo-device	tun			# network tunneling over tty
pseudo-device	gre			# generic L3 over IP tunnel
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	agr			# IEEE 802.3ad link aggregation
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	lockstat		# lock profiling

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

# cmos(4) pseudo-device
pseudo-device	cmos

# pseudo audio device driver
pseudo-device	pad

# userland interface to drivers, including autoconf and properties retrieval
pseudo-device	drvctl

# Pass-to-Userspace TransporTER, required for puffs(4) and pud(4)
pseudo-device	putter

options 	FILEASSOC		# fileassoc(9) - required for Veriexec


>How-To-Repeat:

	Set up a Thinkpad 380D with NetBSD 5, enable xdm, boot.

>Fix:
	No idea.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.