Subject: Re: ifconfig(8) panic when configuring ral0
To: Nino Dehne <ndehne@gmail.com>
From: Jaime A Fournier <ober@linbsd.org>
List: current-users
Date: 09/24/2006 09:47:11
What type of device is this?
I have a:
-------------------------
ral0 at uhub0 port 1
ral0: Ralink 802.11g WLAN + Pen Drive, rev 2.00/0.01, addr 2
ral0: MAC/BBP RT2570 (rev 0x03), RF RT2526
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps
-------------------------

this is running fine on a sparc64 with GENERIC and is also booting over 
nfs.

The device is up and configured and is used without any issues on 4.99.3.
Although I am not sure this particular device requires firmware.




-Ober


On Sun, 24 Sep 2006, Nino Dehne wrote:

> Date: Sun, 24 Sep 2006 10:18:37 +0200
> From: Nino Dehne <ndehne@gmail.com>
> To: current-users@NetBSD.org
> Subject: ifconfig(8) panic when configuring ral0
> 
> 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 -----
>