5.3-p2 freezes after kldloading snd_neomagic

Jan Stary hans at stare.cz
Sat Dec 4 12:54:50 PST 2004


Hello,

I am running FreeBSD 5.3-p2 on a Dell Latitude LS notebook. (See
KERNCONF and dmesg at the end.) Nearly everything is working fine,
except for the sound chip. I built the sound stuff as modules
(sound/pcm + sound/driver/neomagic).
 
When I try to insert the module, I get

# kldload snd_neomagic
pcm0: <NeoMagic 256AV> mem 0xfea00000-0xfeafffff,0xf7800000-0xf7bfffff irq 10 at device 0.1 on pci1

and then the system freezes. If I compile pcm right into the kernel, the
freeze occurs during bootime with the same message.

 	Thanks
 
 		Jan
 
This is my KERNCONF and dmesg:


# DELL -- a FreeBSD 5.3 kernel for a DELL Latitude LS laptop

machine	i386
cpu	I686_CPU
ident	DELL

options	SCHED_4BSD		# 4BSD scheduler
#options	SCHED_ULE
options	INET			# InterNETworking
options	FFS			# Berkeley Fast Filesystem
options	SOFTUPDATES		# Enable FFS soft updates support
options	UFS_DIRHASH		# Improve performance on big directories
options	NFSCLIENT		# Network Filesystem Client
options	PROCFS			# Process filesystem (requires PSEUDOFS)
options	PSEUDOFS		# Pseudo-filesystem framework
options	GEOM_GPT		# GUID Partition Tables.
options	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
#options	COMPAT_FREEBSD4	
options	KTRACE			# ktrace(1) support
options	SYSVSHM			# SYSV-style shared memory
options	SYSVMSG			# SYSV-style message queues
options	SYSVSEM			# SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # P1003_1B real-time extensions
options	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options ADAPTIVE_GIANT		# Giant mutex is adaptive.

# ACPI
device	acpi
options	ACPI_DEBUG

# Bus support.  Do not remove isa, even if you have no isa slots
device		isa
device		eisa
device		pci

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
# ani floppy ani cd neexistuje jako modul
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
options 	ATA_STATIC_ID	# Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

# screen
device		vga		# VGA video card driver
device		agp		# support several AGP chipsets
device		splash		# Splash screen and screen saver support
device		sc

device		npx
device		pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
#device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device

# NIC
device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Wireless NIC cards
device		wlan		# 802.11 support
#device		an		# Aironet 4500/4800 802.11 wireless NICs.
#device		awi		# BayStack 660 and others
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.

# Pseudo devices.
device		loop		# Network loopback
device		mem		# Memory and kernel memory devices
device		io		# I/O device
device		random		# Entropy device
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
#device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# firewall: ipfw
options	IPFIREWALL
options	IPFIREWALL_VERBOSE
options	IPDIVERT
options	IPSTEALTH



Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE-p2 #0: Sat Dec  4 22:18:14 CET 2004
    root at dell:/usr/obj/usr/src/sys/DELL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (398.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 134152192 (127 MB)
avail memory = 125812736 (119 MB)
module_register_init: MOD_LOAD (splash_bmp, 0xc07be810, 0) error 2
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0> port 0x66,0x62 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <multimedia, audio> at device 0.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfcd0-0xfcdf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
cbb0: <TI1211 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfc00-0xfc7f mem 0xfedfec00-0xfedfec7f irq 10 at device 13.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:b0:d0:4d:ae:31
pci0: <simple comms> at device 16.0 (no driver attached)
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xcc000-0xcc7ff,0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 398270339 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging unlimited
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 19077MB <IC25N020ATMR04-0/MO1OAD0A> [38760/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a


More information about the freebsd-questions mailing list