Still OOPS in linux-2.1.124 when recording sound

Rainer Keller (Rainer.Keller@studbox.uni-stuttgart.de)
Mon, 05 Oct 1998 16:19:43 +0200


Hello,

some days ago I mailed to the list, about an oops that occured, when I
recorded some stuff with my CS4232-soundcard (compiled as modules).

I first compiled with egcs1.1 and -mpentium & -march=pentium settings
on.
THEN, to be sure, I recompiled the kernel and modules with gcc 2.7.2.3.
The problem still exists!

I may record one time, successfully, then, when recording the second
time, it oopses!

Now, below there is an _interesting_ (?) result: Compiling the sound
driver
into the kernel does NOT trigger the problem!!!
BUT: By mistake, a script of mine _did_ insmod sound.o and soundcore.o
it
happened again, I donīt know, whether all those traces where of any use,
but I think the last one IS !?

linux-2.1.124, w/ egcs1.1 (sound as module):
Oct 5 13:46:50 James kernel: Unable to handle kernel paging request at
virtual address 00001000
Oct 5 13:46:50 James kernel: current->tss.cr3 = 00101000, 4r3 =00101000
Oct 5 13:46:50 James kernel: *pde = 00000000
Oct 5 13:46:50 James kernel: Oops: 0002
Oct 5 13:46:50 James kernel: CPU: 0
Oct 5 13:46:50 James kernel: EIP: 0010:[<c480e3a3>]
Oct 5 13:46:50 James kernel: EFLAGS: 00010206
Oct 5 13:46:50 James kernel: eax: 00001000 ebx: 00001000
ecx:00001000 edx: 00001000
Oct 5 13:46:50 James kernel: esi: c482b0d4 edi: 00001000
ebp:00000001 esp: c2f27e80
Oct 5 13:46:50 James kernel: ds: 0018 es: 0018 ss: 0018
Oct 5 13:46:50 James kernel: Process record (pid: 356, process
nr:38,stackpage=c2f27000)
Oct 5 13:46:50 James kernel: Stack: 00000000 00000001 00000001 00000000
00001000 00010000 00000001 c480fbb3
Oct 5 13:46:50 James kernel: 00000000 c26957e0 c24f6754 c2b8a240
00000001 c480e03f 00000003 c26957e0
Oct 5 13:46:50 James kernel: c26957e0 c012375b c24f6754 c26957e0
c26957e0 00000000 c2bbca40 c0123709
Oct 5 13:46:50 James kernel: Call Trace: [<c480fbb3>]
[<c480e03f>][<c012375b>] [<c0123709>] [<c01154ce>] [<c0107898>]
[<c480df61>]
Oct 5 13:46:50 James kernel: [<c0123bee>] [<c0107a13>]
Oct 5 13:46:50 James kernel: Code: f3 aa 45 8b 5e 2c 39 dd 0f 8c 7b ff
ff ff 80 4e 14 80 5b 5e
>>EIP: c480e3a3 cannot be resolved
Trace: c480fbb3
Trace: c480e03f
Trace: c012375b <__fput+1f/48>
Trace: c0123709 <close_fp+65/98>
Trace: c01154ce <do_exit+122/238>
Trace: c0107898 <do_signal+1e4/274>
Trace: c4
Trace: c480fbb3
Trace: c480e03f
Trace: c012375b <__fput+1f/48>
Trace: c0123709 <close_fp+65/98>
Trace: c01154ce <do_exit+122/238>
Trace: c0107898 <do_signal+1e4/274>
Trace: c4
Trace: c0123bee <sys_read+a2/f0>
Trace: c0107a13 <signal_return+13/20>

linux-2.1.124, w/ gcc 2.7.2.3 (sound as module):
Oct 5 14:39:03 James kernel: Unable to handle kernel paging request at
virtual address 00001000
Oct 5 14:39:03 James kernel: current->tss.cr3 = 01935000, 4r3 =
01935000
Oct 5 14:39:03 James kernel: *pde = 00000000
Oct 5 14:39:03 James kernel: Oops: 0002
Oct 5 14:39:03 James kernel: CPU: 0
Oct 5 14:39:03 James kernel: EIP: 0010:[<c480e3a3>]
Oct 5 14:39:03 James kernel: EFLAGS: 00010206
Oct 5 14:39:03 James kernel: eax: 00001000 ebx: 00001000 ecx:
00001000 edx: 00001000
Oct 5 14:39:03 James kernel: esi: c482b0d4 edi: 00001000 ebp:
00000001 esp: c1937f4c
Oct 5 14:39:03 James kernel: ds: 0018 es: 0018 ss: 0018
Oct 5 14:39:03 James kernel: Process record (pid: 197, process nr:
37,stackpage=c1937000)
Oct 5 14:39:03 James kernel: Stack: 00000000 00000001 00000001 00000000
00001000 00010000 00000001 c480fbb3
Oct 5 14:39:03 James kernel: 00000000 c16491a0 c3b18324 c3b1ac00
bffff6b8 c480e03f 00000003 c16491a0
Oct 5 14:39:03 James kernel: c16491a0 c012375b c3b18324 c16491a0
c16491a0 00000000 c1936000 c0123449
Oct 5 14:39:03 James kernel: Call Trace: [<c480fbb3>] [<c480e03f>]
[<c012375b>] [<c0123449>] [<c01079c4>]
Oct 5 14:39:03 James kernel: Code: f3 aa 45 8b 5e 2c 39 dd 0f 8c 7b ff
ff ff 80 4e 14 80 5b 5e
>>EIP: c480e3a3 cannot be resolved
Trace: c480fbb3
Trace: c480e03f
Trace: c012375b <__fput+1f/48>
Trace: c0123449 <sys_close+a5/d8>
Trace: c01079c4 <system_call+34/40>
Code:
Code: f3 aa repz stosb %al,%es:(%edi)
Code: 45 incl %ebp
Code: 8b 5e 2c movl 0x2c(%esi),%ebx
Code: 39 dd cmpl %ebx,%ebp
Code: 0f 8c 7b ff ff jl ffffff89 <_EIP+0xffffff89>
Code: 80 4e 14 80 orb $0x80,0x14(%esi)
Code: 5b popl %ebx
Code: 5e popl %esi

Linux-2.1.124 w/ egcs1.1 (sound in kernel, but sound.o and
soundcore.o loaded anyway !!!):
Oct 5 16:00:07 James kernel: Unable to handle kernel paging request at
virtual address 00001000
Oct 5 16:00:07 James kernel: current->tss.cr3 = 03632000, 4r3 =
03632000
Oct 5 16:00:07 James kernel: *pde = 00000000
Oct 5 16:00:07 James kernel: Oops: 0002
Oct 5 16:00:07 James kernel: CPU: 0
Oct 5 16:00:07 James kernel: EIP: 0010:[<c018d7d3>]
Oct 5 16:00:07 James kernel: EFLAGS: 00010206
Oct 5 16:00:07 James kernel: eax: 00001080 ebx: 00001000 ecx:
00001000 edx: 00001000
Oct 5 16:00:07 James kernel: esi: c48040d4 edi: 00001000 ebp:
00000001 esp: c3635f38
Oct 5 16:00:07 James kernel: ds: 0018 es: 0018 ss: 0018
Oct 5 16:00:07 James kernel: Process record (pid: 156, process nr: 20,
stackpage=c3635000)
Oct 5 16:00:07 James kernel: Stack: 00000000 00000001 00000001 00000000
00001000 00010000 00000001 c018d837
Oct 5 16:00:07 James kernel: 00000000 c32e74e0 c3b23430 c3b220e0
bffff8a8 c018c177 00000003 c32e74e0
Oct 5 16:00:07 James kernel: c32e74e0 c01221b3 c3b23430 c32e74e0
c32e74e0 00000000 fffffff7 c0122241
Oct 5 16:00:07 James kernel: Call Trace: [<c018d837>] [<c018c177>]
[<c01221b3>] [<c0122241>] [<c01222c2>] [<c0107974>]
Oct 5 16:00:07 James kernel: Code: f3 aa 45 8b 5e 2c 39 dd 0f 8c 7b ff
ff ff 80 4e 14 80 5b 5e
>>EIP: c018d7d3 <sync_output+ff/11c>
Trace: c018d837 <audio_release+47/74>
Trace: c018c177 <sound_release+3f/88>
Trace: c01221b3 <__fput+1f/48>
Trace: c0122241 <close_fp+65/98>
Trace: c01222c2 <sys_close+4e/5c>
Trace: c010797
Trace: c018d837 <audio_release+47/74>
Trace: c018c177 <sound_release+3f/88>
Trace: c01221b3 <__fput+1f/48>
Trace: c0122241 <close_fp+65/98>
Trace: c01222c2 <sys_close+4e/5c>
Trace: c010797
Code: c018d7d3 <sync_output+ff/11c>
Code: c018d7d3 <sync_output+ff/11c> f3 aa repz stosb
%al,%es:(%edi)
Code: c018d7d5 <sync_output+101/11c> 45 incl %ebp
Code: c018d7d6 <sync_output+102/11c> 8b 5e 2c movl
0x2c(%esi),%ebx
Code: c018d7d9 <sync_output+105/11c> 39 dd cmpl %ebx,%ebp
Code: c018d7db <sync_output+107/11c> 0f 8c 7b ff ff jl ffffff89
<_EIP+0xffffff89>
Code: c018d7e1 <sync_output+10d/11c> 80 4e 14 80 orb
$0x80,0x14(%esi)
Code: c018d7e5 <sync_output+111/11c> 5b popl %ebx
Code: c018d7e6 <sync_output+112/11c> 5e popl %esi

In all cases, I do get about 3 "Sound: Recording overrun" per second,
and /dev/dsp is in use, from then on.

My configuration is (first two situations):
CONFIG_EXPERIMENTAL=y
CONFIG_M586=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_QUIRKS=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PNP=y
CONFIG_PNP_PARPORT=m
CONFIG_BLK_DEV_FD=m
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_LOOP=m
CONFIG_BLK_DEV_RAM=m
CONFIG_PARIDE_PARPORT=m
CONFIG_PACKET=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_FIREWALL=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_IPX=m
CONFIG_ATALK=m
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_PPA=m
CONFIG_SCSI_PPA_HAVE_PEDANTIC=0
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_EISA=y
CONFIG_NE2K_PCI=m
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
CONFIG_PRINTER_READBACK=y
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_BT848=m
CONFIG_JOYSTICK=m
CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_NFSD=m
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_SMB_FS=m
CONFIG_SMB_WIN95=y
CONFIG_NTFS_FS=m
CONFIG_HFS_FS=m
CONFIG_AUTOFS_FS=m
CONFIG_DEVPTS_FS=m
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_VGA_CONSOLE=y
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_CS4232=m
CONFIG_SOUND_YM3812=m
CONFIG_MAGIC_SYSRQ=y

My next step will be to try, if it works with sound compiled in.

If You do need any further info, just drop me a line and I see, what I
can do.

Greetings, raY

-
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/