xfs
[Top] [All Lists]

Oops when installing floppy module

To: linux-xfs@xxxxxxxxxxx
Subject: Oops when installing floppy module
From: "Marcelo E. Magallon" <marcelo.magallon@xxxxxxxxxxx>
Date: Sat, 25 Aug 2001 18:22:51 +0200
Mail-followup-to: linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.20i
Hi,

 I'm having trouble while installing floppy.o (the computer doesn't
 have a floppy drive, and the floppy controller is disabled at the BIOS
 level).  Right after installing floppy.o I see:

 floppy0: no floppy controllers found

 and the kernel oopses.  The backtrace:

Oops: 0002
CPU: 0
EIP: 0010:[<c0117602>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010092
eax: c0259fe4 ebx: 00000292 ecx: c2d55d58 edx: c88bb244
esi: 00000000 edi: c0297240 ebp: 00000000 esp: c2d55d50
Process modprobe (pid: 5879, stackpage=c2d55000)
Stack: c029f734 00000000 00000000 00000046 c011a2f6 c0289fe4 c011756a c0117489
       00000009 00000001 c0297280 fffffffe c0297280 c011726a c0297280 00000000
       c0293900 00000000 c2d55db4 00000046 c010810d c0297e20 00000000 c2d55e6c
Call trace: [<c011a2f6>] [<c011756a>] [<c0117489>] [<c011726a>] [<c010810d>]
            [<c0106cc4>] [<c0216d82>] [<c015554a>] [<c02173ab>] [<c02173ab>]
            [<c0217426>] [<c0217444>] [<c0115854>] [<c014972a>] [<c0147a38>]
            [<c012f5e6>] [<c0106c3b>]
Code: 89 4a 04 89 54 24 08 8b 50 04 89 08 89 51 04 89 0a 89 00 89

>>EIP; c0117602 <__run_task_queue+12/60>   <=====
Trace; c011a2f6 <immediate_bh+16/20>
Trace; c011756a <bh_action+1a/50>
Trace; c0117489 <tasklet_hi_action+59/80>
Trace; c011726a <do_softirq+5a/b0>
Trace; c010810d <do_IRQ+9d/b0>
Trace; c0106cc4 <ret_from_intr+0/7>
Trace; c0216d82 <number+1f2/440>
Trace; c015554a <pagebuf_generic_file_write+10a/3d0>
Trace; c02173ab <vsnprintf+3db/420> <- one of this two is wrong
Trace; c02173ab <vsnprintf+3db/420> <- I copied the wrong address
Trace; c0217426 <vsprintf+16/20>
Trace; c0217444 <sprintf+14/20>
Trace; c0115854 <get_ksyms_list+74/e0>
Trace; c014972a <ksyms_read_proc+1a/40>
Trace; c0147a38 <proc_file_read+f8/1a0>
Trace; c012f5e6 <sys_read+96/d0>
Trace; c0106c3b <system_call+33/38>
Code;  c0117602 <__run_task_queue+12/60>
00000000 <_EIP>:
Code;  c0117602 <__run_task_queue+12/60>   <=====
   0:   89 4a 04                  mov    %ecx,0x4(%edx)   <=====
Code;  c0117605 <__run_task_queue+15/60>
   3:   89 54 24 08               mov    %edx,0x8(%esp,1)
Code;  c0117609 <__run_task_queue+19/60>
   7:   8b 50 04                  mov    0x4(%eax),%edx
Code;  c011760c <__run_task_queue+1c/60>
   a:   89 08                     mov    %ecx,(%eax)
Code;  c011760e <__run_task_queue+1e/60>
   c:   89 51 04                  mov    %edx,0x4(%ecx)
Code;  c0117611 <__run_task_queue+21/60>
   f:   89 0a                     mov    %ecx,(%edx)
Code;  c0117613 <__run_task_queue+23/60>
  11:   89 00                     mov    %eax,(%eax)
Code;  c0117615 <__run_task_queue+25/60>
  13:   89 00                     mov    %eax,(%eax)

 the code that produces the message looks like this:

        if (have_no_fdc) 
        {
                DPRINT("no floppy controllers found\n");
                floppy_tq.routine = (void *)(void *) empty;
                mark_bh(IMMEDIATE_BH);
                schedule();
                if (usage_count)
                        floppy_release_irq_and_dma();
                blk_cleanup_queue(BLK_DEFAULT_QUEUE(MAJOR_NR));
                devfs_unregister_blkdev(MAJOR_NR,"fd");
        }

 Does this look like something that might be specific to the XFS tree
 (2.4.9-xfs as of today) or should I report this to lkml?

-- 
Marcelo


<Prev in Thread] Current Thread [Next in Thread>