2.2.1ac3 cannot identify ESS1869

akruchkoff@qantas.com.au
Thu, 4 Feb 1999 10:12:59 +1000


I applied 2.2.1ac3 patch, built new kernel and it cannot detect my ESS1869:
from /proc/sound:
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux ak 2.2.1-ac3 #14 Tue Feb 2 19:24:41 EST 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: ESS ES1688 AudioDrive (rev 11) (3.1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Synth devices:
0: Yamaha OPL3

Midi devices:
0: Loopback MIDI Port 1
1: Loopback MIDI Port 2

Timers:
0: System clock

Mixers:
0: Sound Blaster

With 2.2.1 the idendtification was OK:
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux ak 2.2.1 #13 Fri Jan 29 21:39:32 EST 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: ESS ES1869 AudioDrive (rev 11) (3.1)

Synth devices:
0: Yamaha OPL3

Midi devices:
0: Loopback MIDI Port 1
1: Loopback MIDI Port 2

Timers:
0: System clock

Mixers:
0: Sound Blaster

I've hardcoded ``esstype = 1869'' ;)
and rebuild modules - > the identification OK.

But I still have problem. ESS-1869 locks up my box.
If I run mpg123 immediately after the boot then it will lock up after
2..11 secs.
I don't know why, but if I try to do some intensive work:
bzip2 a cdrom image, find the whole system with checking gzip -tv for all
.gz files
etc then i'm able to run mpg123. I noticed from `top' that in this case
swap memory is used.
If the load is high then mpg123 can continue to play files. When the load
is go down ESS will lock up the box.

Some additional info:

/proc/pci
========

PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies VT 82C597 Apollo VP3 (rev 4).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=16.
Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies VT 82C598 Apollo MVP3 AGP (rev 0).
Medium devsel. Master Capable. No bursts. Min Gnt=12.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 65).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=64.
I/O at 0xe000 [0xe001].
Bus 0, device 8, function 0:
SCSI storage controller: NCR 53c875 (rev 3).
Medium devsel. IRQ 10. Master Capable. Latency=64. Min Gnt=17.Max
Lat=64.
I/O at 0xe800 [0xe801].
Non-prefetchable 32 bit memory at 0xe7001000 [0xe7001000].
Non-prefetchable 32 bit memory at 0xe7000000 [0xe7000000].
Bus 1, device 1, function 0:
VGA compatible controller: Trident Image 975 (rev 243).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable.
Latency=64.
Non-prefetchable 32 bit memory at 0xe5400000 [0xe5400000].
Non-prefetchable 32 bit memory at 0xe5800000 [0xe5800000].
Non-prefetchable 32 bit memory at 0xe5000000 [0xe5000000].

dmesg
======

Linux version 2.2.1-ac3 (root@ak) (gcc version egcs-2.90.29 980515
(egcs-1.0.3 release)) #14 Tue Feb 2 19:24:41 EST 1999
Detected 300689729 Hz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 599.65 BogoMIPS
Memory: 127912k/131072k available (1044k kernel code, 412k reserved, 1632k
data, 72k init)
CPU: AMD AMD-K6(tm) 3D processor stepping 00
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb000
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
vesafb: framebuffer at 0xe5400000, mapped to 0xc8800000, size 4096k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:1759
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.09
loop: registered device at major 7
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide0: VIA Bus-Master (U)DMA Timing Config Success
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
ide1: VIA Bus-Master (U)DMA Timing Config Success
hda: WDC AC36400L, ATA DISK drive
hdb: WDC AC36400L, ATA DISK drive
hdc: 34X CD-ROM, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: WDC AC36400L, 6149MB w/256kB Cache, CHS=784/255/63, UDMA
hdb: WDC AC36400L, 6149MB w/256kB Cache, CHS=784/255/63, UDMA
hdc: ATAPI 22X CD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.52
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ncr53c8xx: at PCI bus 0, device 8, function 0
ncr53c8xx: 53c875 detected with Tekram NVRAM
ncr53c875-0: rev=0x03, base=0xe7001000, io_port=0xe800, irq=10
ncr53c875-0: Tekram format NVRAM, ID 7, Fast-20, Parity Checking
ncr53c875-0: on-chip RAM at 0xe7000000
ncr53c875-0: restart (scsi reset).
ncr53c875-0: Downloading SCSI SCRIPTS.
scsi0 : ncr53c8xx - revision 3.1f
scsi : 1 host.
Vendor: MATSHITA Model: CD-R CW-7502 Rev: 4.10
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI cdrom total.
ncr53c875-0-<6,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
sr0: scsi3-mmc drive: 0x/0x writer xa/form2 cdda tray
Partition check:
hda: hda1 hda2
hdb: hdb1 hdb2 hdb3
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 72k freed
Adding Swap: 130748k swap-space (priority -1)
cdrom: open failed.
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device sr(11,0)
ISO 9660 Extensions: RRIP_1991A
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 3.1 detected OK (220)
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft
1993-1996
MIDI Loopback device driver
VFS: Disk change detected on device fd(2,0)
cat uses obsolete /proc/pci interface

config
======

CONFIG_EXPERIMENTAL=y

CONFIG_M586TSC=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y

CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_QUIRKS=y
CONFIG_PCI_OLD_PROC=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m

CONFIG_PNP=y

CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y

CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_VIA82C586=y

CONFIG_BLK_DEV_LOOP=y
CONFIG_PARIDE_PARPORT=y

CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y

CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y

CONFIG_SCSI=y

CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y

CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

CONFIG_SCSI_NCR53C8XX=y
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
CONFIG_SCSI_NCR53C8XX_PROFILE=y
CONFIG_SCSI_NCR53C8XX_IOMAPPED=y

CONFIG_NETDEVICES=y

CONFIG_DUMMY=y

CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_NVRAM=m
CONFIG_RTC=y

CONFIG_AUTOFS_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_MINIX_FS=m
CONFIG_PROC_FS=y
CONFIG_ROMFS_FS=m
CONFIG_EXT2_FS=y
CONFIG_SYSV_FS=m
CONFIG_UFS_FS=m

CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y

CONFIG_BSD_DISKLABEL=y
CONFIG_SMD_DISKLABEL=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_NLS=y

CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_KOI8_R=y

CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_VMIDI=m

CONFIG_MAGIC_SYSRQ=y

isapnp.conf
==========

# $Id: pnpdump.c,v 1.15 1998/05/25 17:22:16 fox Exp $
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of this file format, see isapnp.conf(5)
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER
#
# Trying port address 0223
# Board 1 has serial identifier d7 ff ff ff ff 03 00 73 16

# (DEBUG)
(READPORT 0x0223)
(ISOLATE PRESERVE)
(IDENTIFY *)

# Card 1: (serial identifier d7 ff ff ff ff 03 00 73 16)
# Vendor Id ESS0003, No Serial Number (-1), checksum 0xD7.
# Version 1.0, Vendor version 1.0
# ANSI string -->ESS ES1869 Plug and Play AudioDrive<--
#
# Logical device id ESS0006
# Device supports vendor reserved register @ 0x3a
# Device supports vendor reserved register @ 0x3d
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0003/-1 (LD 0
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ff8
# IO base alignment 8 bytes
# Number of IO addresses required: 8

####uncomented 981109
(IO 0 (BASE 0x0800))
# (ACT Y)
))
#
# Logical device id ESS1869
# Device supports vendor reserved register @ 0x38
# Device supports vendor reserved register @ 0x3a
# Device supports vendor reserved register @ 0x3d
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0003/-1 (LD 1

# Multiple choice time, choose one only !

# Start dependent functions: priority preferred
# First DMA channel 1.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
####alexk
(DMA 0 (CHANNEL 1))
# Next DMA channel 0 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0220
# IO base alignment 0 bytes
# Number of IO addresses required: 16
(IO 0 (BASE 0x0220))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0388
# Maximum IO base address 0x0388
# IO base alignment 0 bytes
# Number of IO addresses required: 4
(IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0330
# Maximum IO base address 0x0330
# IO base alignment 0 bytes
# Number of IO addresses required: 2
(IO 2 (BASE 0x0330))

# Start dependent functions: priority acceptable
# First DMA channel 1.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
(DMA 0 (CHANNEL 1))
# Next DMA channel 0 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9 or 10.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0240
# IO base alignment 32 bytes
# Number of IO addresses required: 16
(IO 0 (BASE 0x0220))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0388
# Maximum IO base address 0x0388
# IO base alignment 0 bytes
# Number of IO addresses required: 4
(IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0300
# Maximum IO base address 0x0330
# IO base alignment 48 bytes
# Number of IO addresses required: 2
(IO 2 (BASE 0x0300))

# Start dependent functions: priority acceptable
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
# Next DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9, 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0280
# IO base alignment 32 bytes
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0388
# Maximum IO base address 0x0388
# IO base alignment 0 bytes
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0300
# Maximum IO base address 0x0330
# IO base alignment 48 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0300))

# Start dependent functions: priority acceptable
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
# Next DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9, 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0280
# IO base alignment 32 bytes
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0388
# Maximum IO base address 0x0388
# IO base alignment 0 bytes
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ffe
# IO base alignment 2 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0800))

# Start dependent functions: priority functional
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
# Next DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9, 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0280
# IO base alignment 32 bytes
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ffc
# IO base alignment 4 bytes
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0800))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ffe
# IO base alignment 2 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0800))

# End dependent functions
(ACT Y)
))
#
# Logical device id ESS0001
# Device supports vendor reserved register @ 0x3a
# Device supports vendor reserved register @ 0x3d
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0003/-1 (LD 2

# Multiple choice time, choose one only !

# Start dependent functions: priority preferred
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0201
# Maximum IO base address 0x0201
# IO base alignment 0 bytes
# Number of IO addresses required: 1
# (IO 0 (BASE 0x0201))

# Start dependent functions: priority acceptable
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0200
# Maximum IO base address 0x020f
# IO base alignment 1 bytes
# Number of IO addresses required: 1
# (IO 0 (BASE 0x0200))

# End dependent functions
# Compatible device id PNPb02f
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

/proc/modules
============
v_midi 4752 0 (unused)
opl3 10600 0 (unused)
sb 31356 0 (unused)
uart401 5708 0 [sb]
sound 55476 0 [v_midi opl3 sb uart401]
soundcore 2136 7 [sb sound]

/etc/rc2.d/rc.modules
==================

echo "Updating module dependencies for Linux `uname -r`:"
/sbin/depmod -a

/sbin/isapnp /etc/isapnp.conf
/sbin/modprobe sound
/sbin/modprobe uart401
/sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=-1
/sbin/modprobe opl3 io=0x388
/sbin/modprobe v_midi

Can someone help me to resolve the problem of locking up?

Is something wrong with my setup (isapnp.conf or config or the order of
loading modules or anything else?)
Or may be this is a problem with the sound driver or with dma?
Or may be this is a problem with my VIA PCI - ISA bridge?

If it is impossible to solve this problem by software then should I
consider the replacement of the soundcard.
If so then what sound card would you recommend: PCI? which one.

Or may be this case required more radical treatment like replacement
AMD-K6 with PC-100 (VIA) motherboard
by
pentium II with BX motherboard?

Any advise would be highly appretiated.

Regards
Alex

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/