From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5dfc3013f645a600,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,5dfc3013f645a600,start X-Google-Attributes: gid1164f8,public From: ichihara@rikvax.riken.go.jp (Takashi Ichihara ) Subject: bbadriver BUG in OSF/1 V3.0B Date: 1995/05/08 Message-ID: <1995May8.070313.1449@riksun.riken.go.jp> X-Deja-AN: 102194238 sender: news@riksun.riken.go.jp organization: RIKEN (The Institute of Physical and Chemical Research) 2-1 Hirosawa, Wako, Saitama 351-01, Japan reply-to: ichihara@rikvax.riken.go.jp newsgroups: comp.unix.osf.osf1,comp.sys.dec Since the last December when I installed mbone staffs (AF, sd, vat, nv, wb...) in our DEC 3000-600 running OSF/1 V2.0B, I experienced frequent system "panic" on our OSF/1. "trap: invalid memory read access from kernel mode" I called the local DEC service and they brought back and analyzed the crash dump files for 4 crashes. ** After 4 months ** they (DEC) concluded that: > This look like a bbadriver problem. Here's the stack trace from > the crash-data file: > : > DMA buffers allocated using kalloc was not always returning > contiguous memory. IOCTRL ASIC DMA buffers must be contiguous. > Solution was to allocate 1 page buffers at a time instead of > all at once. > ------------------------------------------------------------------- > Fixed in pre. BL12. This crash was running T3.0-2 (BL11). Local DEC service told us that this bug of bbadriver (sound driver) has been fixed in OSF V3.0 and they recommended to upgrade OS from OSF V2.0B to OSF V3.0 or latter. In the beginning of the last April, we have upgraded the operating system of our AXP to OSF/1 V3.0B (Rev. 358.78) according to the suggestions of DEC. However, we still experienced the "panic" after this version up. Here I show some records in /usr/var/adm/crash/crash-data.* (1)CASE 1 (in OSF/1 V3.0B Rev. 358.78) trap: invalid memory read access from kernel mode 0 boot(0x0, 0x4, 0xff000a0a30336532, 0x0, 0x0) ["../../../../src /kernel/arch/alpha/machdep.c":1499, 0xfffffc00004460e8] 1 panic(s = 0xfffffc00005339e0 = "kernel memory fault") ["../../.. /../src/kernel/bsd/subr_prf.c":668, 0xfffffc00004092a4] 2 trap() ["../../../../src/kernel/arch/alpha/trap.c":1262, 0xfffffc0000453a30] 3 _XentMM(0x4, 0xfffffc000031aa84, 0xfffffc0000569c50, 0xffffffff 8cc4f000, 0xffffffff8cb35f02) ["../../../../src/kernel/arch/alpha/ locore.s":1256, 0xfffffc00004432f4] 4 freeb(mp = 0xffffffff8cb1e600) ["../../../../src/kernel/streams/ str_memory.c":561, 0xfffffc000031aa80] 5 bba_Voice_Write(0xffffffff8cb1e6e8, 0xffffffff8cb35f02, 0xffffffff8 cb1e688,0xffffffff8ccde540, 0xfffffc0100000040) ["../../../../src/ kernel/io/dec/tc/amd79c30.c":2754, 0xfffffc00004c159c] 6 bba_txintr(0xffffffff8ccde500, 0xfffffc00004bb2a4, 0xffffffff 90c0314b, 0xa,0xfffffc00004c231c) ["../../../../src/kernel/io/dec /tc/amd79c30.c":2785, 0xfffffc00004c16b4] 7 bbaintr(0x0, 0xd, 0xfffffc000059d7e4, 0xb25c22f976a96, 0xfffffc00 004639f4)["../../../../src/kernel/io/dec/tc/amd79c30.c":3171, 0xfffffc00004c2574] : (2)CASE 2 (in OSF/1 V3.0B Rev. 358.78) panic (cpu 0); freeing free mblk 0 boot(0x0, 0x4, 0xfffffc00004c8ac4, 0x5d9622fa97b4f, 0xfffffc000020 9ec0) ["../../../../src/kernel/arch/alpha/machdep.c":1499, 0xfffffc00004460e8] 1 panic(s = 0xfffffc0000515c70 = "freeing free mblk") ["../../../.. /src/kernel/bsd/subr_prf.c":668, 0xfffffc00004092a4] 2 freeb(mp = 0xffffffff8cc5f600) ["../../../../src/kernel/streams/ str_memory.c":562, 0xfffffc000031aa9c] 3 bba_Voice_Write(0xffffffff8cbd0ae8, 0xffffffff8cb36f02, 0xffffffff 8cbd0a88,0xffffffff8cb82f40, 0xfffffc0100000040) ["../../../../src/ kernel/io/dec/tc/amd79c30.c":2754, 0xfffffc00004c159c] 4 bba_txintr(0xffffffff8cb82f00, 0xfffffc00004bb2a4, 0xffffffff 90c03421, 0xa,0xfffffc00004c231c) ["../../../../src/kernel/io/dec/ tc/amd79c30.c":2785, 0xfffffc00004c16b4] 5 bbaintr(0x0, 0xd, 0xfffffc000059d7e4, 0x5d9622fa97b4f, 0xfffffc0 0004639f4)["../../../../src/kernel/io/dec/tc/amd79c30.c":3171, 0xfffffc00004c2574] : It seems that these problems are cased by bba_Voice_Write calling in both cases and due to a bug of bbadriver in OSF V3.0B. I have already sent the complete dump files in /usr/var/adm/crash to DEC service in Japan in the last month. But still no answer. Does anyone know the patch for this bug ? Is there any suggestions ? Thanks for the information. Takashi Ichihara Radiation lab/Accelerator Research Facility RIKEN (The Institute of Physical and Chemical Research) 2-1, Hirosawa, Wako, 351-01, Japan (Internet) Ichihara@rikvax.riken.go.jp (HEPnet/span) RIKEN::ICHIHARA (41910::Ichihara)