kernel BUG at audio.c:1474 (2.4.19-pre3-ac3)

kernel BUG at audio.c:1474 (2.4.19-pre3-ac3)

Post by Sean Hunte » Thu, 21 Mar 2002 22:40:23



Hi there

Since upgrading to 2.4.19-pre3-ac3, I get this problem when accessing my
soundcard (an Sb Live).  2.4.19-pre3-ac1 also had this problem, but 2.4.17 (my
previous kernel) didn't.

The snippet of code (I think) that is triggering the bug call is this:

        buffer->numfrags = buffer->size / buffer->fragment_size;
        buffer->pages =  buffer->size / PAGE_SIZE + ((buffer->size % PAGE_SIZE) ? 1 : 0);
        if (buffer->size % buffer->fragment_size)
                BUG();

...from ./drivers/sound/emu10k1/audio.c .  What I'm doing when this occurs is
attempting to set the soundcard input channels up and read from them.

Please let me know if you need more information

Thanks

Sean

kernel BUG at audio.c:1474!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c0207295>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010082
eax: 0000001c   ebx: dfe593c8   ecx: c02ed640   edx: 000034a8
esi: 00000002   edi: 00000007   ebp: 0000ffff   esp: dcf09f2c
ds: 0018   es: 0018   ss: 0018
Process aed (pid: 1465, stackpage=dcf09000)
Stack: c02c65c7 000005c2 00018000 0001c000 00010000 00014000 00000246 dfe59380
       dcf08000 00002000 c0204c70 dfe59380 00000800 00000000 df1056c0 0000ac44
       00000000 dd26ee60 ffffffea 00002000 c013e756 dd26ee60 bfffd5b0 00002000
Call Trace: [<c0204c70>] [<c013e756>] [<c014def3>] [<c010708b>]
Code: 0f 0b 5a 59 83 c4 10 5b 5e 5f 5d c3 eb 0d 90 90 90 90 90 90

Quote:>>EIP; c0207295 <ahc_rem_wscb+135/1c0>   <=====
>>ebx; dfe593c8 <END_OF_CODE+1fa25a2c/????>
>>ecx; c02ed640 <quota_versions+63ec/11dbc>
>>edx; 000034a8 Before first symbol
>>ebp; 0000ffff Before first symbol
>>esp; dcf09f2c <END_OF_CODE+1cad6590/????>

Trace; c0204c70 <ahc_init+f20/10d0>
Trace; c013e756 <do_readv_writev+76/300>
Trace; c014def3 <dcache_readdir+113/150>
Trace; c010708b <system_call+33/38>

Code;  c0207295 <ahc_rem_wscb+135/1c0>
00000000 <_EIP>:
Code;  c0207295 <ahc_rem_wscb+135/1c0>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c0207297 <ahc_rem_wscb+137/1c0>
   2:   5a                        pop    %edx
Code;  c0207298 <ahc_rem_wscb+138/1c0>
   3:   59                        pop    %ecx
Code;  c0207299 <ahc_rem_wscb+139/1c0>
   4:   83 c4 10                  add    $0x10,%esp
Code;  c020729c <ahc_rem_wscb+13c/1c0>
   7:   5b                        pop    %ebx
Code;  c020729d <ahc_rem_wscb+13d/1c0>
   8:   5e                        pop    %esi
Code;  c020729e <ahc_rem_wscb+13e/1c0>
   9:   5f                        pop    %edi
Code;  c020729f <ahc_rem_wscb+13f/1c0>
   a:   5d                        pop    %ebp
Code;  c02072a0 <ahc_rem_wscb+140/1c0>
   b:   c3                        ret    
Code;  c02072a1 <ahc_rem_wscb+141/1c0>
   c:   eb 0d                     jmp    1b <_EIP+0x1b> c02072b0 <ahc_rem_wscb+150/1c0>
Code;  c02072a3 <ahc_rem_wscb+143/1c0>
   e:   90                        nop    
Code;  c02072a4 <ahc_rem_wscb+144/1c0>
   f:   90                        nop    
Code;  c02072a5 <ahc_rem_wscb+145/1c0>
  10:   90                        nop    
Code;  c02072a6 <ahc_rem_wscb+146/1c0>
  11:   90                        nop    
Code;  c02072a7 <ahc_rem_wscb+147/1c0>
  12:   90                        nop    
Code;  c02072a8 <ahc_rem_wscb+148/1c0>
  13:   90                        nop    

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Promise 20267 hangs with 2.4.19-pre3 and 2.4.19-pre3-ac3

With 2.4.18 everything works fine:

  Mar 13 13:56:13 athlon kernel: PDC20267: IDE controller on PCI bus 00 dev 48
  Mar 13 13:56:13 athlon kernel: PDC20267: chipset revision 2
  Mar 13 13:56:13 athlon kernel: PDC20267: not 100%% native mode: will probe irqs later
  Mar 13 13:56:13 athlon kernel: PDC20267: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
  Mar 13 13:56:13 athlon kernel:     ide2: BM-DMA at 0x1800-0x1807, BIOS settings: hde:pio, hdf:pio
  Mar 13 13:56:13 athlon kernel:     ide3: BM-DMA at 0x1808-0x180f, BIOS settings: hdg:pio, hdh:pio

  Mar 13 13:56:13 athlon kernel: hde: Maxtor 4G120J6, ATA DISK drive
  Mar 13 13:56:13 athlon kernel: hdf: Maxtor 4G160J8, ATA DISK drive
  Mar 13 13:56:13 athlon kernel: hdg: TOSHIBA CD-ROM XM-6602B, ATAPI CD/DVD-ROM drive

  Mar 13 13:56:14 athlon kernel: hde: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=238216/16/63, UDMA(100)
  Mar 13 13:56:14 athlon kernel: hdf: 268435455 sectors (137439 MB) w/2048KiB Cache, CHS=266305/16/63, UDMA(100)

  Mar 13 13:56:14 athlon kernel: Partition check:
  Mar 13 13:56:14 athlon kernel:  hde: hde1 hde2 hde3 hde4
  Mar 13 13:56:14 athlon kernel:  hdf: hdf1

With 2.4.19-pre3 and pre3-ac3 the disk type and size are reported correctly
but the systems hangs at the partition check (I couldn't find a copy of the log on
the disk so I edited the above to match what I remembered on the screen):

  Mar 13 13:56:13 athlon kernel: hde: Maxtor 4G120J6, ATA DISK drive
  Mar 13 13:56:14 athlon kernel: hde: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=238216/16/63, UDMA(100)
  Mar 13 13:56:14 athlon kernel: Partition check:
  Mar 13 13:56:14 athlon kernel:  hde:

I tried the experiental ide timeout workaround and that does print a timeout message
after a few seconds but the system still hangs there.

Its a Tyan 2462 athlon SMP with real SMP CPUs. There is another disk and a cdrom on
this controller but due to cable lengths I can't switch things around.

I am willing to try any patch or suggestion...

Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. egcs headers

3. IDE Panic (2.4.19-pre3-ac3)

4. Serial programming in Linux

5. Kernel panic 2.4.19-pre6 AND 2.4.19-pre5-ac3 - More info - ksymoops

6. dualhead -> language settings

7. kbuild25 version 3.0 for 2.4.19-pre9 and 2.4.19-pre9-ac3

8. ulimit

9. 2.4.19-pre3 kernel freeze (SMP broken between pre2 and pre3?)

10. kernel BUG at page_alloc (2.4.19-pre5-ac3)

11. bug: Kernel timer added twice al c0198391 (2.4.19-pre5-ac3)

12. 2.4.19-pre3: kernel bug: kswapd vmscan.c:358

13. BUG REPORT: kernel nfs between 2.4.19-pre2 (server) and 2.2.21-pre3 (client)