usb/117719: umass plugging with hald running causes kernel panics on 7.0

Kyryll A Mirnenko aka Mirya mirya at zoc.com.ua
Tue Nov 20 04:10:04 PST 2007


The following reply was made to PR usb/117719; it has been noted by GNATS.

From: Kyryll A Mirnenko aka Mirya <mirya at zoc.com.ua>
To: bug-followup at freebsd.org,
 mirya at zoc.com.ua
Cc:  
Subject: Re: usb/117719: umass plugging with hald running causes kernel panics on 7.0
Date: Tue, 20 Nov 2007 13:59:00 +0200

 I've noticed the problem is not reproducable with the GENERIC kernel, here's 
 the configuration I use (i'm currently trying to determine the "wrong" 
 option):
 
 machine		i386
 cpu		I686_CPU
 ident		MY-LITE
 
 #options 	SCHED_4BSD		# 4BSD scheduler
 options 	SCHED_ULE
 options 	PREEMPTION		# Enable kernel thread preemption
 options 	INET			# InterNETworking
 options		INET6
 options 	FFS			# Berkeley Fast Filesystem
 options 	SOFTUPDATES		# Enable FFS soft updates support
 options 	UFS_ACL			# Support for access control lists
 options 	UFS_DIRHASH		# Improve performance on big directories
 options 	NFSCLIENT		# Network Filesystem Client
 options 	NFSSERVER		# Network Filesystem Server
 options 	MSDOSFS			# MSDOS Filesystem
 options 	CD9660			# ISO 9660 Filesystem
 options 	PROCFS			# Process filesystem (requires PSEUDOFS)
 options 	PSEUDOFS		# Pseudo-filesystem framework
 options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
 options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
 options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
 options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
 options 	SYSVSHM			# SYSV-style shared memory
 options 	SYSVMSG			# SYSV-style message queues
 options 	SYSVSEM			# SYSV-style semaphores
 options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
 options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
 options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
 
 device		apic			# I/O APIC
 
 device		eisa
 device		pci
 
 device		ata
 device		atadisk		# ATA disk drives
 device		atapicd		# ATAPI CDROM drives
 options 	ATA_STATIC_ID	# Static device numbering
 
 device		scbus		# SCSI bus (required for SCSI)
 device		da		# Direct Access (disks)
 device		cd		# CD
 device		pass		# Passthrough device (direct SCSI access)
 device		sg		# Linux compartibility
 
 device		atkbdc		# AT keyboard controller
 device		atkbd		# AT keyboard
 device		psm		# PS/2 mouse
 
 device		vga		# VGA video card driver
 options		VESA
 
 device		splash		# Splash screen and screen saver support
 
 device		sc
 
 device		agp		# support several AGP chipsets
 
 # Power management support (see NOTES for more options)
 #device		apm
 # Add suspend/resume support for the i8254.
 device		pmtimer
 
 device		cbb		# cardbus (yenta) bridge
 device		pccard		# PC Card (16-bit) bus
 device		cardbus		# CardBus (32-bit) bus
 
 device		sio		# 8250, 16[45]50 based serial ports
 
 # Parallel port
 #device		ppc
 #device		ppbus		# Parallel port bus (required)
 #device		lpt		# Printer
 #device		ppi		# Parallel port interface device
 
 device		miibus		# MII bus support
 device		rl		# RealTek 8129/8139
 
 device		wlan		# 802.11 support
 device		firmware
 device		iwi
 
 device		loop		# Network loopback
 device		random		# Entropy device
 device		ether		# Ethernet support
 device		ppp		# Kernel PPP
 device		tun		# Packet tunnel.
 device		pty		# Pseudo-ttys (telnet etc)
 device		md		# Memory "disks"
 
 device		bpf		# Berkeley packet filter
 
 # USB support
 device		uhci		# UHCI PCI->USB interface
 device		ohci		# OHCI PCI->USB interface
 device		ehci		# EHCI PCI->USB interface (USB 2.0)
 device		usb		# USB Bus (required)
 device		ugen		# Generic
 device		uhid		# "Human Interface Devices"
 device		ukbd		# Keyboard
 device		ulpt		# Printer
 device		umass		# Disks/Mass storage - Requires scbus and da
 device		ums		# Mouse
 device		uscanner	# Scanners
 
 device		ucom
 device		uplcom
 device		sound
 device		speaker
 device		snd_ich
 device		isa
 device		mem
 device		npx
 device		io
 
 options		QUOTA
 device		crypto
 device		snp
 #maxusers	15
 
 options		HZ=100
 options		PERFMON
 options		LIBICONV
 options		COMPAT_AOUT
 options		CD9660_ICONV
 options		MSDOSFS_ICONV
 options		NTFS
 options		NTFS_ICONV
 options		COMPAT_LINUX
 options		REISERFS
 options		EXT2FS
 options		LINPROCFS
 options		LINSYSFS
 options		FDESCFS
 options		MAXCONS=5
 options		PANIC_REBOOT_WAIT_TIME=-1
 options		SC_ALT_MOUSE_IMAGE
 options		SC_CUT_SPACES2TABS
 options		SC_HISTORY_SIZE=700
 options		SC_MOUSE_CHAR=0x3
 options		SC_TWOBUTTON_MOUSE
 options		SC_PIXEL_MODE
 
 options		SMBFS
 options		UNIONFS
 device		atapicam
 options		FB_INSTALL_CDEV
 
 options		GEOM_BDE
 options		GEOM_ELI
 options		GEOM_BSD
 options		GEOM_MBR
 options		GEOM_VOL
 options		GEOM_LABEL
 options		DIRECTIO
 options		DEVICE_POLLING
 options		NO_F00F_HACK
 options		VFS_AIO
 options		LIBALIAS
 options		LIBMCHAIN
 options		NETSMB
 #-options		NETSMBCRYPTO
 options		ZERO_COPY_SOCKETS
 device		blank_saver
 options		IPFIREWALL
 options		IPFIREWALL_DEFAULT_TO_ACCEPT
 options		IPFIREWALL_VERBOSE
 options		IPFIREWALL_VERBOSE_LIMIT=100
 options		IPDIVERT
 options		DUMMYNET
 options		IPFIREWALL_FORWARD
 options		PMAP_SHPGPERPROC=400
 
 device		puc
 
 options 	DFLDSIZ=(512UL*1024*1024)
 options 	MAXDSIZ=(1024UL*1024*1024)
 options 	MAXSSIZ=(128UL*1024*1024)
 options 	PPP_BSDCOMP	
 options 	PPP_DEFLATE	
 options 	PPP_FILTER	
 options 	SEMMAP=45
 options 	SEMMNI=15
 options 	SEMMNS=90
 options 	SEMMNU=45
 options 	SEMMSL=90
 options 	SEMOPM=150
 options 	SEMUME=15
 options 	SHMALL=1536
 options 	SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)
 options 	SHMMAXPGS=1536
 options 	SHMMIN=2
 options 	SHMMNI=48
 options 	SHMSEG=12
 
 device		smb
 device		smbus
 device		ichsmb
 
 device		sl
 
 device		cpufreq
 
 device		atausb
 
 options		XFS
 options		P1003_1B_MQUEUE
 options		AUDIT
 options		NDISAPI
 device		ndis
 options		COMPAT_FREEBSD6
 options		GEOM_JOURNAL
 options		UFS_GJOURNAL
 options		SCTP
 device		nvram
 
 options		GEOM_PART_GPT
 options		COMPAT_43TTY
 
 -- 
 Regards, Mirya
 ICQ #313898202


More information about the freebsd-usb mailing list