Random behaviour of sound module.

David Woodhouse (dwmw2@thor.cam.ac.uk)
Tue, 12 Nov 1996 16:28:36 +0000


I run kernel 2.0.14 (SMP) on a Tyan Tomcat II, with 2 P120s. My sound card
is a Sound Blaster AWE32 Value (ct3910). The sound card is initialised to
use IRQ 5 by the DOS driver.

When I insert the sound module, it often fails to initialize the card.
Sometimes, though, it manages it.

Patches added to kernel:
Plug'n'Play BIOS support (the card isn't PnP, so I don't suspect this)
PC speaker driver
AWE32 driver

Is this a problem with the SMP interrupt handling? Could this be a
manifestation of the problem that older versions this motherboard are
reported to have with CPUs at or above 120MHz and 512Kb cache? I was
assured that it had been fixed when I ordered the board.

What is the current kernel version regarded as stable for SMP? The most
recent information I could find says don't use anything >= 2.0.15 because
the interrupt handlers are broken, but that was two months ago. Are they
fixed yet?

If you want a dmesg output from boot, look at
http://dwmw2.robinson.cam.ac.uk/cgi-bin/dmesghtml

---- ------------------------------------------------ ----
David Woodhouse, (n)talk: dwmw2@dwmw2.robinson.cam.ac.uk
Robinson College, WWW: http://dwmw2.robinson.cam.ac.uk
Cambridge, Email: dwmw2@thor.cam.ac.uk
CB3 9AN, Room: C9
England. Tel: +44 (0) 976 658355
---- ------------------------------------------------ ----

dwmw2:/home/httpd/html/devload # rmmod sound; cat /dev/sndstat
Sound Driver:3.5.4-960630 (Mon Nov 11 12:53:15 GMT 1996 dwmw2,
Linux dwmw2.robinson.cam.ac.uk 2.0.14 #14 Fri Nov 8 20:03:48 GMT 1996
i586)
Kernel: Linux dwmw2.robinson.cam.ac.uk 2.0.14 #24 Mon Nov 11 23:24:51 GMT
1996 i586
Config options: 0

Installed drivers:
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config:
Sound Blaster at 0x220 irq 5 drq 1,5
(SB MPU-401 at 0x330 irq 1 drq 0)

Audio devices:

Synth devices:
0: AWE32 Synth (512k)

Midi devices:

Timers:
0: System clock

Mixers:
dwmw2:/home/httpd/html/devload # rmmod sound; cat /dev/sndstat
Sound Driver:3.5.4-960630 (Mon Nov 11 12:53:15 GMT 1996 dwmw2,
Linux dwmw2.robinson.cam.ac.uk 2.0.14 #14 Fri Nov 8 20:03:48 GMT 1996
i586)
Kernel: Linux dwmw2.robinson.cam.ac.uk 2.0.14 #24 Mon Nov 11 23:24:51 GMT
1996 i586
Config options: 0

Installed drivers:
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config:
Sound Blaster at 0x220 irq 5 drq 1,5
SB MPU-401 at 0x330 irq 5 drq 0

Audio devices:
0: Sound Blaster 16 (4.13)

Synth devices:
0: AWE32 Synth (512k)

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster
dwmw2:/home/httpd/html/devload # tail -5 /var/log/messages
Nov 12 16:10:58 dwmw2 kernel: sb: Interrupt test on IRQ5 failed - device disabled
Nov 12 16:10:58 dwmw2 kernel: <AWE32 SynthCard (512k)>
Nov 12 16:10:59 dwmw2 kernel: sb: Interrupt test on IRQ5 failed - device disabled
Nov 12 16:10:59 dwmw2 kernel: <AWE32 SynthCard (512k)>
Nov 12 16:11:00 dwmw2 kernel: <AWE32 SynthCard (512k)>
dwmw2:/home/httpd/html/devload # cat /usr/src/linux-2.0.14/.config
#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PNP=y
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_KERNEL_ELF=y
CONFIG_M586=y

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_TRITON=y
# CONFIG_IDE_CHIPSETS is not set

#
# Additional Block Devices
#
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
CONFIG_IP_FORWARD=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ACCT=y
# CONFIG_IP_ROUTER is not set
CONFIG_NET_IPIP=m
# CONFIG_ARPD is not set

#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y

#
#
#
CONFIG_IPX=m
# CONFIG_IPX_INTERN is not set
CONFIG_ATALK=m
# CONFIG_AX25 is not set
# CONFIG_BRIDGE is not set
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y

#
# SCSI support
#
CONFIG_SCSI=m

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_NCR53C8XX is not set
CONFIG_SCSI_PPA=m
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_DLCI is not set
CONFIG_PLIP=m
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_RADIO is not set
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not set
# CONFIG_EL3 is not set
# CONFIG_VORTEX is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
CONFIG_NET_ISA=y
# CONFIG_AT1700 is not set
# CONFIG_E2100 is not set
# CONFIG_DEPCA is not set
# CONFIG_EWRK3 is not set
# CONFIG_EEXPRESS is not set
# CONFIG_EEXPRESS_PRO is not set
# CONFIG_FMV18X is not set
# CONFIG_HPLAN_PLUS is not set
# CONFIG_HPLAN is not set
# CONFIG_HP100 is not set
# CONFIG_ETH16I is not set
CONFIG_NE2000=y
# CONFIG_NI52 is not set
# CONFIG_NI65 is not set
# CONFIG_SEEQ8005 is not set
# CONFIG_SK_G16 is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_TR is not set
# CONFIG_ARCNET is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
CONFIG_QUOTA=y
# CONFIG_LOCK_MANDATORY is not set
CONFIG_MINIX_FS=m
CONFIG_EXT_FS=m
CONFIG_EXT2_FS=y
CONFIG_XIA_FS=m
CONFIG_FAT_FS=m
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_SMB_FS=m
CONFIG_SMB_LONG=y
CONFIG_NCP_FS=m
CONFIG_ISO9660_FS=m
CONFIG_HPFS_FS=m
# CONFIG_SYSV_FS is not set
CONFIG_AFFS_FS=m
CONFIG_AMIGA_PARTITION=y
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=m
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
CONFIG_PRINTER=m
CONFIG_MOUSE=y
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_BUSMOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
CONFIG_PSMOUSE=m
# CONFIG_82C710_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_POWER_OFF is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_WDT is not set
CONFIG_SOFT_WATCHDOG=m
# CONFIG_PCWATCHDOG is not set
CONFIG_RTC=y

#
# Sound
#
CONFIG_SOUND=m
# CONFIG_PAS is not set
CONFIG_SB=y
# CONFIG_ADLIB is not set
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
CONFIG_MIDI=y
# CONFIG_YM3812 is not set
SBC_BASE=220
SBC_IRQ=5
SBC_DMA=1
SB_DMA2=5
SB_MPU_BASE=330
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
CONFIG_LOWLEVEL_SOUND=y
# CONFIG_ACI_MIXER is not set
CONFIG_AWE32_SYNTH=y
CONFIG_PCSP=m
# CONFIG_PCSP_NO_TEST_SPEED is not set
CONFIG_PCSP_16BIT=y
CONFIG_PCSP_LEFT=100
CONFIG_PCSP_RIGHT=100

#
# Kernel hacking
#
# CONFIG_PROFILE is not set