From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 26 Aug 2001 10:32:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 26 Aug 2001 10:31:52 -0400 Received: from ns.ranet.sk ([195.146.17.11]:1800 "EHLO ns.ranet.sk") by vger.kernel.org with ESMTP id ; Sun, 26 Aug 2001 10:31:40 -0400 Date: Sun, 26 Aug 2001 16:31:54 +0200 Message-Id: <200108261431.QAA24146@ns.ranet.sk> To: linux-kernel@vger.kernel.org Subject: Kernel bug at slab.c when loading module with modem driver From: Bohdan Kolecek Reply-To: Bohdan Kolecek MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit User-Agent: mmail WebMail Interface by manaz Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: bk@freemail.sk To: linux-kernel@vger.kernel.org Subject: Kernel bug at slab.c when loading module with modem driver 1. One line summary of the problem ---------------------------------- Loading Motorola SM56 Softmodem driver causes kernel bug at slab.c line 1062. 2. Full description of the problem ---------------------------------- I've got Motorola SM56 Softmodem using vendor's driver. When I try to insert driver module by 'insmod sm56.o' I get kernel bug message followed by unsuccesfull installation of the module. 3. Kernel version ----------------- cat /proc/version: Linux version 2.4.9 (root@pentium-mmx) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) #1 Ne srp 26 14:48:49 CEST 2001 4. Output of kernel bug message ------------------------------- kernel: kernel BUG at slab.c:1062! kernel: invalid operand: 0000 kernel: CPU: 0 kernel: EIP: 0010:[] kernel: EFLAGS: 00010282 kernel: eax: 0000001b ebx: c12272b4 ecx: c66e0000 edx: c6fdf320 kernel: esi: 00000202 edi: c12272b4 ebp: 00000007 esp: c66e1e38 kernel: ds: 0018 es: 0018 ss: 0018 kernel: Process modprobe (pid: 525, stackpage=c66e1000) kernel: Stack: c021d57a c021d616 00000426 c12272b4 00000202 00000007 c66e1e8c c0263d54 kernel: c0123a99 c12272b4 00000007 00000064 00000000 c881f065 c886d24b 00000064 kernel: 00000007 c02af5a0 00000000 c881f000 c881f065 c66e1ebc c886d820 00000064 kernel: Call Trace: [] [] [] [] [] kernel: [] [] [] [] [] [] kernel: [] [] [] [] [] [] kernel: kernel: Code: 0f 0b 83 c4 0c f7 c5 00 10 00 00 0f 85 c4 01 00 00 a1 c8 77 5. Invoking error ----------------- insmod /lib/modules/2.4.9/kernel/drivers/char/sm56.o 6. Installed software --------------------- Motorola Softmodem SM56 Rel. 5.01 Build 01 output of ver_linux: If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux pentium-mmx 2.4.9 #1 Ne srp 26 14:48:49 CEST 2001 i586 unknown Gnu C 2.95.2 Gnu make 3.79.1 binutils 2.9.5.0.37 util-linux 2.10s mount 2.10s modutils 2.4.6 e2fsprogs 1.22 PPP 2.4.1 Linux C Library 2.1.3 ldd: version 1.9.11 Procps 2.0.6 Net-tools 1.60 Kbd [přepínač...] Console-tools 0.2.3 Sh-utils 2.0 Modules Loaded sm56 7. Processor information ------------------------ cat /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 4 model name : Pentium MMX stepping : 3 cpu MHz : 200.457 fdiv_bug : no hlt_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 399.76 8. Module information --------------------- cat /proc/modules: sm56 1346016 0 (unused) 9. Loaded driver and hardware information ----------------------------------------- cat /proc/ioports: 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial(set) 0300-031f : eth0 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(set) 0cf8-0cff : PCI conf1 6400-64ff : ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] 6800-683f : Ensoniq ES1370 [AudioPCI] 6800-683f : es1370 f000-f00f : VIA Technologies, Inc. Bus Master IDE f000-f007 : ide0 f008-f00f : ide1 cat /proc/iomem: 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-07ffffff : System RAM 00100000-00219ecf : Kernel code 00219ed0-0028045f : Kernel data e0000000-e0ffffff : ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] e1000000-e1000fff : ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] e1001000-e10010ff : PCI device 11d4:1805 (Analog Devices) ffff0000-ffffffff : reserved 10. PCI information ------------------- output of lspci -vvv: 00:00.0 Host bridge: VIA Technologies, Inc. VT82C585VP [Apollo VP1/VPX] (rev 23) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] 00:0a.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01) Subsystem: Unknown device 4942:4c4c Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- TAbort- SERR-