Dear all,

I cannot even understand if this kernel oops really belong to the irda section,
but it happened while I was fussing about with the irda modules and
ksymoops talks about line disciplines, so I'll post it anyway in the
hope that some brave soul is able to make something out of it...

[1.] One line summary of the problem:    

     ircomm-ircomm_tty oops and module locking

[2.] Full description of the problem/report:

     got a kernel oops which did not block the machine; however, after
     that the ircomm_tty module was locked into the kernel with a use
     count of 1 and it was impossible to remove it; the irda/ircomm
     stack was unusable after oops. The oops came at a non-determinable
     moment (in fact I realized afterwards, when I saw that irda was
     non-functional and I tried to remove it).

[3.] Keywords (i.e., modules, networking, kernel):

     kernel networking irda ircomm
     
[4.] Kernel version (from /proc/version):

     Linux version 2.2.10 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #4 Tue Jun 15 
21:28:08 CEST 1999

[5.] Output of Oops.. message (if applicable) with symbolic information 
     resolved (see Documentation/oops-tracing.txt)

     Warning in compare_ksyms_lsmod, module i82365 is in lsmod but not in ksyms, 
probably no symbols exported
     Warning in compare_ksyms_lsmod, module isofs is in lsmod but not in ksyms, 
probably no symbols exported
     ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
     ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
     ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
     ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
     Unable to handle kernel NULL pointer dereference at virtual address 0000005c
     current->tss.cr3 = 02081000, %cr3 = 02081000
     *pde = 00000000
     Oops: 0000
     CPU:    0
     EIP:    0010:[<c6876bfa>]
     EFLAGS: 00013282
     eax: c414d4a0   ebx: c38e3000   ecx: 00000000   edx: 00000000
     esi: c38e3000   edi: c38e3100   ebp: c38e3000   esp: c05cbeac
     ds: 0018   es: 0018   ss: 0018
     Process pppd (pid: 23119, process nr: 86, stackpage=c05cb000)
     Stack: c38e3000 c38e3000 c01f9370 c017d11e c38e3000 c38e3000 080640d0 c38e3000 
            00005423 00000000 c047e108 00000000 00000005 00000000 800018b2 00000000 
            7f1c0300 01000415 1a131100 170f1200 73000016 c01820f7 c38e3000 c01c0000 
     Call Trace: [<c017d11e>] [<c01820f7>] [<c01113c6>] [<c01a041f>] [<c018129c>] 
[<c0181270>] [<c017fa18>] 
            [<c017fa54>] [<c0181344>] [<c01819ac>] [<c018229c>] [<c0181094>] 
[<c0181b84>] [<c01801d8>] [<c01801a4>] 
            [<c017f058>] [<c017f44b>] [<c012d314>] [<c0109f74>] 
     Code: 8b 42 5c 85 c0 74 15 76 13 c7 42 5c 00 00 00 00 8b 82 80 00 
     Warning: trailing garbage ignored on Code: line
       Text: 'Code: 8b 42 5c 85 c0 74 15 76 13 c7 42 5c 00 00 00 00 8b 82 80 00 '
       Garbage: ' '

     >>EIP: c6876bfa <END_OF_CODE+20e82/????>
     Trace: c017d11e <tty_set_ldisc+102/1d0>
     Trace: c01820f7 <set_termios+157/16c>
     Trace: c01113c6 <schedule+14e/27c>
     Trace: c01a041f <NR_TYPES+807/898>
     Trace: c018129c <n_tty_open+0/a8>
     Trace: c0181270 <n_tty_close+0/2c>
     Trace: c017fa18 <n_tty_flush_buffer+0/3c>
     Trace: c017fa54 <n_tty_chars_in_buffer+0/40>
     Trace: c017f058 <tiocsetd+18/20>
     Code:  c6876bfa <END_OF_CODE+20e82/????>       00000000 <_EIP>: <===
     Code:  c6876bfa <END_OF_CODE+20e82/????>          0:       8b 42 5c        movl   
0x5c(%edx),%eax <===
     Code:  c6876bfd <END_OF_CODE+20e85/????>          3:       85 c0           testl  
%eax,%eax
     Code:  c6876bff <END_OF_CODE+20e87/????>          5:       74 15           je     
 c6876c16 <END_OF_CODE+20e9e/????>
     Code:  c6876c01 <END_OF_CODE+20e89/????>          7:       76 13           jbe    
 c6876c16 <END_OF_CODE+20e9e/????>
     Code:  c6876c03 <END_OF_CODE+20e8b/????>          9:       c7 42 5c 00 00  movl   
$0x0,0x5c(%edx)
     Code:  c6876c08 <END_OF_CODE+20e90/????>          e:       00 00 
     Code:  c6876c0a <END_OF_CODE+20e92/????>         10:       8b 82 80 00 00  movl   
0x80(%edx),%eax
     Code:  c6876c0f <END_OF_CODE+20e97/????>         15:       00 


     4 warnings issued.  Results may not be reliable.
     
--------------------------------------------------------------------------------------------------------------------
     (well I could'nt do any better than this...)

[6.] A small shell script or example program which triggers the
     problem (if possible)

     er....

[7.] Environment

     Toshiba Satellite 2540CDS 96 Mbytes RAM 4.3 Gbytes disk w Linux 2.2.10
     and stock irda modules + toshoboe 1.9

[7.1.] Software (add the output of the ver_linux script here)

     Linux ax-nicb.axnet.it 2.2.10 #4 Tue Jun 15 21:28:08 CEST 1999 i586 unknown
     Kernel modules         2.1.121
     Gnu C                  2.7.2.3
     Binutils               linux-2.8.1.0.1
     Linux C Library        5.4.46
     Dynamic linker         ldd: version 1.9.9
     Linux C++ Library      27.2.8
     Linux C++ Library      27.2.8
     Procps                 1.2.7
     Mount                  2.9s
     Net-tools              1.421
     Kbd                    0.94
     Sh-utils               1.16
     Modules Loaded         opl3sa2 ad1848 mpu401 sound soundcore ircomm_tty ircomm 
toshoboe irda beep ds i82365 pcmcia_core

[7.2.] Processor information (from /proc/cpuinfo):

     processor  : 0
     vendor_id  : AuthenticAMD
     cpu family : 5
     model              : 8
     model name : AMD-K6(tm) 3D processor
     stepping   : 12
     cpu MHz            : 333.273633
     fdiv_bug   : no
     hlt_bug            : no
     sep_bug            : no
     f00f_bug   : no
     coma_bug   : no
     fpu                : yes
     fpu_exception      : yes
     cpuid level        : 1
     wp         : yes
     flags              : fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx 3dnow
     bogomips   : 665.19

[7.3.] Module information (from /proc/modules):

     opl3sa2                 3424   0 (autoclean)
     ad1848                 15324   0 (autoclean) [opl3sa2]
     mpu401                 17840   0 (autoclean) [opl3sa2]
     sound                  56076   0 (autoclean) [opl3sa2 ad1848 mpu401]
     soundcore               2216   7 (autoclean) [sound]
     ircomm_tty             10192   0 (autoclean) (unused)
     ircomm                  8568   0 (autoclean) [ircomm_tty]
     toshoboe                5456   1 (autoclean)
     irda                   57777   1 (autoclean) [ircomm_tty ircomm toshoboe]
     beep                     944   0 (autoclean) (unused)
     ds                      6180   2
     i82365                 23208   2
     pcmcia_core            42060   0 [ds i82365]

[7.4.] SCSI information (from /proc/scsi/scsi)

[7.5.] Other information that might be relevant to the problem
       (please look in /proc and include all information that you
       think to be relevant):

     this is what dmesg says upon irda startup.

     IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
     ToshOboe: Found 701 chip at 0xffe0 irq 11
     ToshOboe: seting baud to 9600
     IrDA: Registered device irda0
     irmanager is not running!
     ToshOboe: Using single tasks, version $Id: toshoboe.c,v 1.9 1999/06/29 14:21:06 
root Exp $
     Linux-IrDA: IrCOMM protocol ( revision:Tue May 18 03:11:39 1999 ) 
     ircomm_tty: virtual tty driver for IrCOMM ( revision:Wed May 26 00:49:11 1999 )

[X.] Other notes, patches, fixes, workarounds:

     I wish I had some.


Thank you

Nicola
------------------------------------------------------------------------
Nicola Bernardini
E-mail: [EMAIL PROTECTED]
 
Re graphics: A picture is worth 10K words -- but only those to describe
the picture.  Hardly any sets of 10K words can be adequately described
with pictures.

Reply via email to