linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: SiS/Trident 4DWave sound driver oops
@ 2001-10-25 13:24 Michael F. Robbins
  2001-10-26  1:37 ` Tachino Nobuhiro
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Michael F. Robbins @ 2001-10-25 13:24 UTC (permalink / raw)
  To: linux-kernel

I just grabbed 2.4.12-ac6 and the OOPS continues.  This is with
soundcore, ac97_codec, and trident all built as modules.

Again, like my previous report (which was on Linus' 2.4.12), I can
'modprobe soundcore' and 'modprobe ac97_codec' with no problems.  Once I
do the 'modprobe trident', I get the oops.  After the oops, the system
is still responsive, and just like Stuart Young reported, the trident
module is stuck in "initalizing".

See below for the details including the oops report itself.

Mike Robbins
compumike@compumike.com
(Please also cc your reply to me.)




`cat /proc/modules` after the oops:
-----------
trident                26800 (initializing)
ac97_codec              9120   0 [trident]
soundcore               3568   2 [trident]
NVdriver              713104  17
8139too                12896   1 (autoclean)
-----------



Relevant part of /proc/pci:
----------
  Bus  0, device   3, function  0:
    Multimedia audio controller: PCI device 10b9:5451 (Acer Laboratories
Inc. [ALi]) (rev 2).
      IRQ 10.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=24.
      I/O at 0xc400 [0xc4ff].
      Non-prefetchable 32 bit memory at 0xdfffe000 [0xdfffefff].
----------



Part of /proc/iomem:
dfffe000-dfffefff : PCI device 10b9:5451 (Acer Laboratories Inc. [ALi])



Part of /proc/ioports:
c400-c4ff : PCI device 10b9:5451 (Acer Laboratories Inc. [ALi])



SYSLOG LEADING UP TO OOPS:
(`modprobe trident` executed here, and this is the result:)
----------
Oct 25 08:35:55 tbird kernel: Trident 4DWave/SiS 7018/ALi 5451,Tvia
CyberPro 5050 PCI Audio, version 0.14.9d, 08:28:09 Oct 25 2001
Oct 25 08:35:55 tbird kernel: PCI: Assigned IRQ 10 for device 00:03.0
Oct 25 08:35:55 tbird kernel: trident: ALi Audio Accelerator found at IO
0xc400, IRQ 10
Oct 25 08:35:55 tbird kernel: ac97_codec: AC97 Audio codec, id:
0x414c:0x4326 (Unknown)
Oct 25 08:35:55 tbird kernel: ali: AC97 CODEC read timed out.
Oct 25 08:35:55 tbird kernel: ali: AC97 CODEC write timed out.
Oct 25 08:35:55 tbird kernel: ali: AC97 CODEC read timed out.
Oct 25 08:35:55 tbird last message repeated 2 times
Oct 25 08:35:55 tbird kernel: ac97_codec: AC97  codec, id: 0x0000:0x0000
(Unknown)
Oct 25 08:35:55 tbird kernel: ali: AC97 CODEC read timed out.
Oct 25 08:35:55 tbird kernel: ali: AC97 CODEC write timed out.
Oct 25 08:35:55 tbird kernel: ali: AC97 CODEC read timed out.
Oct 25 08:35:55 tbird kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000000
---------- (the rest of the oops follows this)



KSYMOOPS REPORT:
-----------
Unable to handle kernel NULL pointer dereference at virtual address
00000000
e5991d7e
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<e5991d7e>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: 00000000   ebx: dc4c7cc0   ecx: df408000   edx: 00000006
esi: 00000000   edi: dc4c7d70   ebp: 00000001   esp: dcd01e98
ds: 0018   es: 0018   ss: 0018
Process modprobe (pid: 885, stackpage=dcd01000)
Stack: dc4c7cc0 02000000 dc4c7d70 00000001 e5999fcb dc4c7cc0 00000024
00000003
       dee5c000 dfff5000 e599b120 dfff6400 e599a410 dee5c000 ffffffed
0000c400
       02000000 e599b068 e599b1e0 dfff6400 00000000 c01b22a4 dfff6400
e599b068
Call Trace: [<e5999fcb>] [<e599b120>] [<e599a410>] [<e599b068>]
[<e599b1e0>]
   [<c01b22a4>] [<e599b068>] [<e599b1e0>] [<c01b2302>] [<e599b1e0>]
[<e599a634>]
   [<e599b1e0>] [<e599aee0>] [sys_init_module+1317/1504] [<e599b860>]
[<e5995060>] [system_call+51/56]
   [<e599b1e0>] [<e599aee0>] [<c01142c5>] [<e599b860>] [<e5995060>]
[<c0106ecb>]
Code: 8b 00 85 c0 74 04 53 ff d0 5a 31 ed 83 3d e0 31 99 e5 ff ba

>>EIP; e5991d7e <[ac97_codec]ac97_init_mixer+7e/e0>   <=====
Trace; e5999fcb <[trident]trident_ac97_init+22b/2f0>
Trace; e599b120 <[trident]trident_audio_fops+0/60>
Trace; e599a410 <[trident]trident_probe+380/4a0>
Trace; e599b068 <[trident]trident_pci_tbl+54/a8>
Trace; e599b1e0 <[trident]trident_pci_driver+0/3f>
Trace; c01b22a4 <pci_announce_device+34/50>
Trace; e599b068 <[trident]trident_pci_tbl+54/a8>
Trace; e599b1e0 <[trident]trident_pci_driver+0/3f>
Trace; c01b2302 <pci_register_driver+42/60>
Trace; e599b1e0 <[trident]trident_pci_driver+0/3f>
Trace; e599a634 <[trident]trident_init_module+24/50>
Trace; e599b1e0 <[trident]trident_pci_driver+0/3f>
Trace; e599aee0 <[trident]__module_pci_device_size+614/693>
Trace; e599b1e0 <[trident]trident_pci_driver+0/3f>
Trace; e599aee0 <[trident]__module_pci_device_size+614/693>
Trace; c01142c5 <sys_init_module+525/5e0>
Trace; e599b860 <.bss.end+1/????>
Trace; e5995060 <[trident]trident_enable_loop_interrupts+0/80>
Trace; c0106ecb <system_call+33/38>
Code;  e5991d7e <[ac97_codec]ac97_init_mixer+7e/e0>
00000000 <_EIP>:
Code;  e5991d7e <[ac97_codec]ac97_init_mixer+7e/e0>   <=====
   0:   8b 00                     mov    (%eax),%eax   <=====
Code;  e5991d80 <[ac97_codec]ac97_init_mixer+80/e0>
   2:   85 c0                     test   %eax,%eax
Code;  e5991d82 <[ac97_codec]ac97_init_mixer+82/e0>
   4:   74 04                     je     a <_EIP+0xa> e5991d88
<[ac97_codec]ac97_init_mixer+88/e0>
Code;  e5991d84 <[ac97_codec]ac97_init_mixer+84/e0>
   6:   53                        push   %ebx
Code;  e5991d85 <[ac97_codec]ac97_init_mixer+85/e0>
   7:   ff d0                     call   *%eax
Code;  e5991d87 <[ac97_codec]ac97_init_mixer+87/e0>
   9:   5a                        pop    %edx
Code;  e5991d88 <[ac97_codec]ac97_init_mixer+88/e0>
   a:   31 ed                     xor    %ebp,%ebp
Code;  e5991d8a <[ac97_codec]ac97_init_mixer+8a/e0>
   c:   83 3d e0 31 99 e5 ff      cmpl   $0xffffffff,0xe59931e0
Code;  e5991d91 <[ac97_codec]ac97_init_mixer+91/e0>
  13:   ba 00 00 00 00            mov    $0x0,%edx
----------





^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: SiS/Trident 4DWave sound driver oops
@ 2001-10-25  1:07 Michael F. Robbins
  2001-10-25  5:55 ` Stuart Young
  2001-10-25  7:02 ` Stuart Young
  0 siblings, 2 replies; 22+ messages in thread
From: Michael F. Robbins @ 2001-10-25  1:07 UTC (permalink / raw)
  To: linux-kernel

I have a very similar OOPS that I reported to linux-kernel just last
week: see full details at
http://uwsg.iu.edu/hypermail/linux/kernel/0110.1/1690.html

> This kernel oops is totally reproducible (on every occasion) in 2.4.9,
> 2.4.10, and 2.4.12. I have not tried earlier kernels in the 2.4 
> series

I also have a totally reproduceable OOPS on 2.4.9 through 2.4.12. 
Kernel 2.4.7 works just fine.  If the soundcard is compiled in to the
kernel, it dies while booting.  If it is compiled as a module, it dies
when attempting to load the module (typically when artsd starts).

> The machine in question is a Clevo lp200t SiS630S "all-in-one" 
> machine.

My machine is an ECS K7AMA: ALi 1645 northbridge, ALi Magic 1535D+
southbridge.  Sound is onboard the southbridge.  I ran ksymoops on my
OOPS report, so you can see the trace at the message archive.

Mike Robbins
compumike@compumike.com
(Please also cc your reply to me.)



^ permalink raw reply	[flat|nested] 22+ messages in thread
* SiS/Trident 4DWave sound driver oops
@ 2001-10-23  6:15 Stuart Young
  2001-10-23 16:19 ` Alan Cox
  2001-10-24 23:55 ` Stuart Young
  0 siblings, 2 replies; 22+ messages in thread
From: Stuart Young @ 2001-10-23  6:15 UTC (permalink / raw)
  To: linux-kernel

This kernel oops is totally reproducible (on every occasion) in 2.4.9, 
2.4.10, and 2.4.12. I have not tried earlier kernels in the 2.4 series, but 
have tried 2.2.19pre17 (will explain other SiS Chipset funny business in 
another message). All kernels were compiled while the machine was running 
2.2.19pre17.

The machine in question is a Clevo lp200t SiS630S "all-in-one" machine.
( http://www.clevo.com.tw/products/lp200t.asp - has some specs online ). 
The SiS630S chipset contains an SiS7018, so the driver is correct. Machine 
in question has a very 'sparse' BIOS, so there is little in the way I can 
configure or change.

lspci shows the following:
  00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
  00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
  00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
  00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 
10/100 Ethernet (rev 82)
  00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
  00:01.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
  00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS 
PCI Audio Accelerator (rev 02)
  00:01.6 Modem: Silicon Integrated Systems [SiS]: Unknown device 7013 (rev a0)
  00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
  00:0c.0 CardBus bridge: Texas Instruments PCI1420
  00:0c.1 CardBus bridge: Texas Instruments PCI1420
  00:0d.0 FireWire (IEEE 1394): Texas Instruments: Unknown device 8020
  01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 
SiS630 GUI Accelerator+3D (rev 31)

Taken from /proc/pci - the two devices that share the same IRQ.

   Bus  0, device  12, function  1:
     CardBus bridge: Texas Instruments PCI1420 (#2) (rev 0).
       IRQ 5.

   Bus  0, device   1, function  4:
     Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI 
Audio
Accelerator (rev 2).
       IRQ 5.
       Master Capable.  Latency=128.  Min Gnt=2.Max Lat=24.
       I/O at 0x1000 [0x10ff].
       Non-prefetchable 32 bit memory at 0x34003000 [0x34003fff].

The Yenta driver (afaik) is using the Cardbus, and the cardbus interface 
works fine.

Loading the driver (eg: 'modprobe trident') results in the oops, and the 
driver itself stuck in initializing (as reported using lsmod). Trying to 
remove the driver fails, and system has to be rebooted (usually by manually 
sync'ing disks, mounting R/O, and then rebooting, all using Alt-SysRq 
methods, otherwise it hangs trying to bring down ethernet, which is an SiS900).

Output taken from syslog kernel debug output, contact me if you need 
more/different output.

  kernel: Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, 
version 0.14.9c, 10:46:08 Oct 23 2001
  kernel: PCI: Found IRQ 5 for device 00:01.4
  kernel: PCI: Sharing IRQ 5 with 00:0c.1
  kernel: trident: SiS 7018 PCI Audio found at IO 0x1000, IRQ 5
  kernel: ac97_codec: AC97  codec, id: 0x0000:0x0000 (Unknown)
  kernel: Unable to handle kernel NULL pointer dereference at virtual 
address 00000000
  kernel:  printing eip:
  kernel: cf828db6
  kernel: *pde = 00000000
  kernel: Oops: 0000
  kernel: CPU:    0
  kernel: EIP:    0010:[<cf828db6>]    Not tainted
  kernel: EFLAGS: 00010297
  kernel: eax: 00000000   ebx: cef2e680   ecx: 02000040   edx: 00001044
  kernel: esi: 000001f8   edi: 0000002a   ebp: 00000000   esp: cdce9e6c
  kernel: ds: 0018   es: 0018   ss: 0018
  kernel: Process modprobe (pid: 225, stackpage=cdce9000)
  kernel: Stack: cef2e680 000001f8 0000002a cf828d1c cef2e680 cf829fc0 
cf829cad 00000000
  kernel:        00000000 cf829faa 02000000 00000000 cef2e680 ce610000 
00000000 00000000
  kernel:        cf830d7c cef2e680 cf832040 cefe1c00 ce610000 00000000 
cef2e680 cf83120c
  kernel: Call Trace: [<cf828d1c>] [<cf829fc0>] [<cf829cad>] [<cf829faa>] 
[<cf830d7c>]
  kernel:    [<cf832040>] [<cf83120c>] [<cf83126b>] [<cf83208c>] 
[<cf832220>] [pci_announce_device+54/84]
  kernel:    [<cf83208c>] [<cf832220>] [pci_register_driver+72/96] 
[<cf832220>] [<cf83145b>] [<cf832220>]
  kernel:    [<cf831d60>] [sys_init_module+1285/1448] [<cf82c060>] 
[system_call+51/56]
  kernel:
  kernel: Code: 83 38 00 74 08 53 8b 00 ff d0 83 c4 04 31 ff ba 20 a3 82 cf

AMC Enterprises P/L    - Stuart Young
First Floor            - Network and Systems Admin
3 Chesterville Rd      - sgy@amc.com.au
Cheltenham Vic 3192    - Ph:  (03) 9584-2700
http://www.amc.com.au/ - Fax: (03) 9584-2755


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2001-10-29  4:03 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-25 13:24 SiS/Trident 4DWave sound driver oops Michael F. Robbins
2001-10-26  1:37 ` Tachino Nobuhiro
2001-10-26  1:56   ` Tachino Nobuhiro
2001-10-26  2:36     ` Tachino Nobuhiro
2001-10-26  1:45 ` Robert Love
2001-10-26  2:02   ` Robert Love
2001-10-26  2:42     ` Robert Love
2001-10-26  3:13       ` David Weinehall
2001-10-26  3:28       ` Robert Love
2001-10-26  3:24     ` Stuart Young
2001-10-26 14:36       ` Alan Cox
2001-10-26 14:47         ` Trever L. Adams
2001-10-28 23:06       ` SiS/Trident 4DWave sound driver Stuart Young
2001-10-29  1:19       ` SiS/Trident 4DWave sound driver (Update) Stuart Young
2001-10-29  4:04       ` SiS drivers (more) Stuart Young
2001-10-26 23:43 ` SiS/Trident 4DWave sound driver oops Michael F. Robbins
  -- strict thread matches above, loose matches on Subject: below --
2001-10-25  1:07 Michael F. Robbins
2001-10-25  5:55 ` Stuart Young
2001-10-25  7:02 ` Stuart Young
2001-10-23  6:15 Stuart Young
2001-10-23 16:19 ` Alan Cox
2001-10-24 23:55 ` Stuart Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).