Re: devfs_remove call when not using devfs 2.6.0-test1

From: Andrew Morton (akpm_at_osdl.org)
Date: 07/26/03

  • Next message: Felipe Alfaro Solana: "Re: Random Oopses on 2.6.0-test1-mm2"
    Date:	Sat, 26 Jul 2003 01:53:26 -0700
    To: Balram Adlakha <b_adlakha@softhome.net>
    
    

    Balram Adlakha <b_adlakha@softhome.net> wrote:
    >
    > I get the following when I remove the OSS emu10k1 module:
    >
    > Call Trace:
    > [<c018e261>] devfs_remove+0x9e/0xa0
    > [<c013898a>] unmap_vmas+0xcb/0x214
    > [<d29e3e2d>] oss_cleanup+0x2b/0xed [sound]
    > [<c0129c1e>] sys_delete_module+0x152/0x1a8
    > [<c0130064>] generic_file_aio_write_nolock+0x8a7/0xa6a
    > [<c013be3c>] sys_munmap+0x57/0x75
    > [<c0108f81>] sysenter_past_esp+0x52/0x71
    >
    > I'm not using devfs so it should not happen.

    Does this fix it?

    diff -puN sound/oss/soundcard.c~soundcard-devfs-fix sound/oss/soundcard.c
    --- 25/sound/oss/soundcard.c~soundcard-devfs-fix 2003-07-26 01:52:55.000000000 -0700
    +++ 25-akpm/sound/oss/soundcard.c 2003-07-26 01:52:59.000000000 -0700
    @@ -592,7 +592,7 @@ static void __exit oss_cleanup(void)
             int i, j;
     
             for (i = 0; i < sizeof (dev_list) / sizeof *dev_list; i++) {
    - devfs_remove("snd/%s", dev_list[i].name);
    + devfs_remove("sound/%s", dev_list[i].name);
                     if (!dev_list[i].num)
                             continue;
                     for (j = 1; j < *dev_list[i].num; j++)

    _

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Felipe Alfaro Solana: "Re: Random Oopses on 2.6.0-test1-mm2"

    Relevant Pages

    • Re: [PATCH] hci-usb bugfix
      ... It should fix it, too. ... > Call trace: ... Do you use DevFS? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • pmac oops: devfs versus power management - fight!
      ... I was able to get an Oops message once, ... [I still use devfs because without it, the vt system freaks on boot since ... Call trace: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • devfs_remove call when not using devfs 2.6.0-test1
      ... I get the following when I remove the OSS emu10k1 module: ... Call Trace: ... I'm not using devfs so it should not happen. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Badness in as_completed_request in 2.6.0-test5-bk3
      ... Call Trace: ... My mainboard has a VIA controller and the hard disk is a IBM ... 180GXP with Tagged Command Queueing enabled and a default queue length ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.23-pre9 ide+XFree+ptrace=Complete hang
      ... there is any way to get the Xserver running without ioplbut using ... ioperm instead - I know that the io bitmap is only 0x400 ports, ... Any ideas on how to trace this down? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)