mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG()] IrDA in 2.4.16 + preempt
@ 2001-12-14 10:31 Pawel Kot
  2001-12-17  9:28 ` Martin Diehl
  0 siblings, 1 reply; 10+ messages in thread
From: Pawel Kot @ 2001-12-14 10:31 UTC (permalink / raw)
  To: Dag Brattli, linux-kernel

Hi,

I found an annoying problem with irda on 2.4.16.
When I remove irlan module I get sementation fault:
root@blurp:~# rmmod irlan
Dec 14 02:27:29 blurp kernel: irlan_init()
Dec 14 02:27:29 blurp kernel: irlmp_register_client()
Dec 14 02:27:29 blurp kernel: irlan_register_netdev()
Dec 14 02:27:35 blurp kernel: kernel BUG at slab.c:1200!
Dec 14 02:27:35 blurp kernel: invalid operand: 0000
Dec 14 02:27:35 blurp kernel: CPU:    0
Dec 14 02:27:35 blurp kernel: EIP:    0010:[kmem_extra_free_checks+81/140] Not tainted
Dec 14 02:27:35 blurp kernel: EFLAGS: 00010082
Dec 14 02:27:35 blurp kernel: eax: 0000001b   ebx: c14055f0   ecx: ffffffe2 edx: 000017eb
Dec 14 02:27:35 blurp kernel: esi: 00000000   edi: cf2eb974   ebp: cc4d9030 esp: cc045ebc
Dec 14 02:27:35 blurp kernel: ds: 0018   es: 0018   ss: 0018
Dec 14 02:27:35 blurp kernel: Process rmmod (pid: 110, stackpage=cc045000)
Dec 14 02:27:35 blurp kernel: Stack: c024a8ac 000004b0 cf2eb974 cc4d9030 cc4d9030 c14055f0 c012d3c2 c14055f0
Dec 14 02:27:35 blurp kernel:        cf2eb974 cc4d9030 cc4d9030 cc4d9030 ffffe000 00000286 ffffe000 00000400
Dec 14 02:27:35 blurp kernel:        cc4d9030 00000286 c01eab85 cc4d9030 cc4d9030 c01ead4f cc4d9030 cc4d9030
Dec 14 02:27:35 blurp kernel: Call Trace: [kfree+450/576] [netdev_finish_unregister+145/152] [unregister_netdevice+451/632] [unregister_netdev+16/40] [<d285b490>]
Dec 14 02:27:35 blurp kernel:    [<d285b34c>] [hashbin_delete+107/152] [<d285b160>] [<d285b34c>] [<d28602e3>] [<d285ccdd>]
Dec 14 02:27:36 blurp kernel:    [free_module+23/192] [sys_delete_module+300/732] [system_call+51/56]
Dec 14 02:27:36 blurp kernel:
Dec 14 02:27:36 blurp kernel: Code: 0f 0b 83 c4 08 8b 5f 14 83 fb ff 74 27 8d b6 00 00 00 00 39
[and segmentation fault]

And then the module is not removed in fact:
root@blurp:~# lsmod
Module                  Size  Used by
irlan                      0   0  (deleted)
root@blurp:~# insmod irlan
Using /lib/modules/2.4.16preempt/kernel/net/irda/irlan/irlan.o
insmod: a module named irlan already exists

Moreover, some processes go into a 'D' state. Eg. ifconfig, irattach.

Additionally, when I try to login an the other console, I get bug:
Dec 14 02:28:52 blurp kernel:  kernel BUG at slab.c:1243!
Dec 14 02:28:52 blurp kernel: invalid operand: 0000
Dec 14 02:28:52 blurp kernel: CPU:    0
Dec 14 02:28:52 blurp kernel: EIP:    0010:[kmalloc+346/504]    Not tainted
Dec 14 02:28:52 blurp kernel: EFLAGS: 00010086
Dec 14 02:28:52 blurp kernel: eax: 0000001b   ebx: c14055f0   ecx: ffffffe5 edx: 00001b5b
Dec 14 02:28:52 blurp kernel: esi: cc4d9400   edi: cc4d942f   ebp: cc4d942f esp: ccc41f30
Dec 14 02:28:52 blurp kernel: ds: 0018   es: 0018   ss: 0018
Dec 14 02:28:52 blurp kernel: Process bash (pid: 94, stackpage=ccc41000)
Dec 14 02:28:52 blurp kernel: Stack: c024a8ac 000004db 00000100 fffffff4 000000ff c15181ec 00000400 00000246
Dec 14 02:28:52 blurp kernel:        c0149d19 00000400 000001f0 c0149e0a 00000100 000000ff c15181ec 00000001
Dec 14 02:28:52 blurp kernel:        c15181ec 00000003 ccc40000 c15181ec bffffd12 c0141b46 c15181ec 000000ff
Dec 14 02:28:52 blurp kernel: Call Trace: [alloc_fd_array+25/52] [expand_fd_array+142/384] [expand_files+54/68] [sys_dup2+125/324] [system_call+51/56]
Dec 14 02:28:52 blurp kernel:
Dec 14 02:28:52 blurp kernel: Code: 0f 0b 83 c4 08 90 f6 43 1d 04 74 4e b8 a5 c2 0f 17 87 06 3d

There's only a problem with a first login. But I suppose it is a consequence
of the first bug.

I can reproduce it.

pkot
-- 
mailto:pkot@linuxnews.pl :: mailto:pkot@slackware.pl
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku
http://tfuj.pl/cv.html :: http://tfuj.pl/pgp.asc


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

end of thread, other threads:[~2001-12-18  1:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-14 10:31 [BUG()] IrDA in 2.4.16 + preempt Pawel Kot
2001-12-17  9:28 ` Martin Diehl
2001-12-17 22:20   ` Pawel Kot
2001-12-17 23:19     ` Pawel Kot
2001-12-17 22:45   ` Jean Tourrilhes
2001-12-17 23:22     ` Pawel Kot
2001-12-18  0:10       ` Jean Tourrilhes
2001-12-18  0:22         ` Pawel Kot
2001-12-18  1:16         ` Pawel Kot
2001-12-18  1:23           ` Jean Tourrilhes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®