Subject: ifconfig(8) panic when configuring ral0
To: None <current-users@netbsd.org>
From: Nino Dehne <ndehne@gmail.com>
List: current-users
Date: 09/24/2006 10:18:37
Hi,

on a recent -current using a GENERIC kernel, ifconfig panics when doing

# ifconfig ral0 up

with (typing by hand):

uvm_fault(0xcad4a700, 0, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 150.1 (ifconfig) at      netbsd:kauth_cred_ngroups+0x6:  movl 0x20(%eax),%eax

Running a custom kernel[1] does not produce this panic.

Best regards,

ND


[1] custom kernel config:
----- snip -----
include		"arch/i386/conf/std.i386"

no options	EXEC_AOUT

options		INCLUDE_CONFIG_FILE

maxusers	32

options		I586_CPU

options		MULTIBOOT
options		RTC_OFFSET=0
options		NTP
options		SYSTRACE
options		DDB

options		SYSCTL_INCLUDE_DESCR

file-system	FFS
options		FFS_NO_SNAPSHOT
file-system	PROCFS

options		INET
options		INET6
options		IPSEC
options		IPSEC_ESP
options		IPSEC_NAT_T
options		IPSEC_DEBUG
options		MROUTING
options		PIM
options		PFIL_HOOKS

options		NMBCLUSTERS=8192

options		MEMORY_DISK_HOOKS
options		MEMORY_DISK_IS_ROOT
options		MEMORY_DISK_ROOT_SIZE=131072 # size in 512b blocks
options		MEMORY_DISK_SERVER=0
options		MEMORY_RBFLAGS=0 # no single-user

options		MIIVERBOSE
options		PCIVERBOSE

config		netbsd root on ? type ?

mainbus0	at root
cpu*		at mainbus?
pci*		at mainbus? bus ?
gscpcib*	at pci? dev ? function ?
isa0		at gscpcib?
gpio*		at gscpcib?

geodegcb*	at pci? dev ? function ?
geodewdog*	at geodegcb?
geodecntr*	at geodegcb?

npx0		at isa? port 0xf0 irq 13
com0		at isa? port 0x3f8 irq 4

geodeide*	at pci? dev ? function ?
atabus*		at ata?
wd*			at atabus? drive ? flags 0x0000

sip*		at pci? dev ? function ?
nsphyter*	at mii? phy ?

ral*		at pci? dev ? function ?

pseudo-device	crypto
pseudo-device	swcrypto

pseudo-device	md

pseudo-device	bpfilter
pseudo-device	bridge
pseudo-device	loop
pseudo-device	tap
pseudo-device	tun
pseudo-device	gre
pseudo-device	gif
pseudo-device	faith
pseudo-device	vlan
pseudo-device	pf
pseudo-device	pflog
pseudo-device	carp

pseudo-device	pty
pseudo-device	rnd
pseudo-device	clockctl
pseudo-device	ksyms
----- snip -----