2.6.26-rc1 oops on boot -- cs423x? - Kernel

This is a discussion on 2.6.26-rc1 oops on boot -- cs423x? - Kernel ; Missed most of the 26-git series, git6 first one tried and oops showed in that one as well as those tried after. oops below. -- Pete Clements pnp: the driver 'cs4236_isapnp' has been registered cs4236_isapnp 01:01.00: driver attached cs4236_isapnp 01:01.02: ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: 2.6.26-rc1 oops on boot -- cs423x?

  1. 2.6.26-rc1 oops on boot -- cs423x?

    Missed most of the 26-git series, git6 first one tried and oops
    showed in that one as well as those tried after. oops below.

    --
    Pete Clements

    pnp: the driver 'cs4236_isapnp' has been registered
    cs4236_isapnp 01:01.00: driver attached
    cs4236_isapnp 01:01.02: driver attached
    cs4236_isapnp 01:01.00: pnp_assign_resources, try dependent set 0
    cs4236_isapnp 01:01.00: add dma 1 flags 0x40000028
    cs4236_isapnp 01:01.00: add dma 3 flags 0x40000028
    cs4236_isapnp 01:01.00: add irq 5 flags 0x40000001
    cs4236_isapnp 01:01.00: add io 0x534-0x537 flags 0x40000001
    cs4236_isapnp 01:01.00: add io 0x388-0x38b flags 0x40000001
    cs4236_isapnp 01:01.00: add io 0x220-0x22f flags 0x40000001
    cs4236_isapnp 01:01.00: pnp_assign_resources succeeded: current resources:
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101 io 0x388-0x38b fla
    ------------[ cut here ]------------
    WARNING: at lib/vsprintf.c:609 vsnprintf+0x6c7/0x6d0()
    Modules linked in: snd_cs4236(+) snd_opl3_lib snd_seq_dummy snd_hwdep snd_cs4236_lib snd_mpu401_uart snd_seq_oss(+) snd_seq_midi snd_seq_midi_event snd_seq snd_rawmidi snd_seq_device snd_cs4231_lib snd_pcm_oss snd_mixer_oss snd_pcm snd_timer uhci_hcd snd i2c_piix4 usbcore soundcore sg snd_page_alloc 3c59x i2c_core mii
    Pid: 1885, comm: modprobe Not tainted 2.6.27-rc1 #1
    [] warn_on_slowpath+0x61/0xa0
    [] __dequeue_entity+0x57/0xd0
    [] update_curr+0x4d/0x70
    [] pick_next_task_fair+0x8d/0x100
    [] string+0x27/0xc0
    [] vsnprintf+0x3b9/0x6d0
    [] number+0x2a7/0x2b0
    [] string+0x27/0xc0
    [] vsnprintf+0x6c7/0x6d0
    [] idr_get_new_above_int+0x10/0x80
    [] up+0x11/0x40
    [] release_console_sem+0x19e/0x1d0
    [] idr_remove+0x173/0x1d0
    [] xlate_proc_name+0x3d/0xc0
    [] snprintf+0x1b/0x20
    [] dbg_pnp_show_resources+0x129/0x220
    [] pnp_assign_resources+0x18e/0x850
    [] iput+0x1d/0x50
    [] sysfs_addrm_finish+0x3a/0x1f0
    [] klist_node_init+0x2e/0x50
    [] pnp_auto_config_dev+0x57/0xb0
    [] pnp_request_card_device+0xbe/0xf0
    [] pnp_activate_dev+0x1f/0x50
    [] snd_cs423x_pnpc_detect+0x11f/0x3b4 [snd_cs4236]
    [] card_probe+0xea/0x170
    [] pnp_register_card_driver+0x9e/0xb0
    [] alsa_card_cs423x_init+0x27/0x49 [snd_cs4236]
    [] sys_init_module+0x136/0x1920
    [] __request_region+0x0/0xd0
    [] syscall_call+0x7/0xb
    =======================
    ---[ end trace b28563869b69121a ]---
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101 io 0x388-0x38b fla
    cs4236_isapnp 01:01.00: pnp_start_dev: current resources:
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101 io 0x388-0x38b fla
    cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101 io 0x388-0x38b fla
    cs4236_isapnp 01:01.00: set resources
    cs4236_isapnp 01:01.00: set io 0 to 0x534
    cs4236_isapnp 01:01.00: set io 1 to 0x388
    cs4236_isapnp 01:01.00: set io 2 to 0x220
    cs4236_isapnp 01:01.00: set irq 0 to 5
    cs4236_isapnp 01:01.00: set dma 0 to 1
    cs4236_isapnp 01:01.00: set dma 1 to 3
    cs4236_isapnp 01:01.00: activated
    cs4236_isapnp 01:01.02: pnp_assign_resources, try dependent set 0
    cs4236_isapnp 01:01.02: add io 0xf00-0xf07 flags 0x40000001
    cs4236_isapnp 01:01.02: pnp_assign_resources succeeded: current resources:
    cs4236_isapnp 01:01.02: io 0xf00-0xf07 flags 0x40000101
    cs4236_isapnp 01:01.02: pnp_start_dev: current resources:
    cs4236_isapnp 01:01.02: io 0xf00-0xf07 flags 0x40000101
    cs4236_isapnp 01:01.02: set resources
    cs4236_isapnp 01:01.02: set io 0 to 0xf00
    cs4236_isapnp 01:01.02: activated
    --
    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/

  2. Re: 2.6.26-rc1 oops on boot -- cs423x?

    On Tue, 29 Jul 2008 14:51:57 -0400 (EDT) Pete Clements wrote:

    > Missed most of the 26-git series, git6 first one tried and oops
    > showed in that one as well as those tried after. oops below.
    >
    > --
    > Pete Clements
    >
    > pnp: the driver 'cs4236_isapnp' has been registered
    > cs4236_isapnp 01:01.00: driver attached
    > cs4236_isapnp 01:01.02: driver attached
    > cs4236_isapnp 01:01.00: pnp_assign_resources, try dependent set 0
    > cs4236_isapnp 01:01.00: add dma 1 flags 0x40000028
    > cs4236_isapnp 01:01.00: add dma 3 flags 0x40000028
    > cs4236_isapnp 01:01.00: add irq 5 flags 0x40000001
    > cs4236_isapnp 01:01.00: add io 0x534-0x537 flags 0x40000001
    > cs4236_isapnp 01:01.00: add io 0x388-0x38b flags 0x40000001
    > cs4236_isapnp 01:01.00: add io 0x220-0x22f flags 0x40000001
    > cs4236_isapnp 01:01.00: pnp_assign_resources succeeded: current resources:
    > cs4236_isapnp 01:01.00: dma 1 flags 0x40000828
    > cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828
    > cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401
    > cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101
    > cs4236_isapnp 01:01.00: dma 1 flags 0x40000828 dma 3 flags 0x40000828 irq 5 flags 0x40000401 io 0x534-0x537 flags 0x40000101 io 0x388-0x38b fla
    > ------------[ cut here ]------------
    > WARNING: at lib/vsprintf.c:609 vsnprintf+0x6c7/0x6d0()
    > Modules linked in: snd_cs4236(+) snd_opl3_lib snd_seq_dummy snd_hwdep snd_cs4236_lib snd_mpu401_uart snd_seq_oss(+) snd_seq_midi snd_seq_midi_event snd_seq snd_rawmidi snd_seq_device snd_cs4231_lib snd_pcm_oss snd_mixer_oss snd_pcm snd_timer uhci_hcd snd i2c_piix4 usbcore soundcore sg snd_page_alloc 3c59x i2c_core mii
    > Pid: 1885, comm: modprobe Not tainted 2.6.27-rc1 #1
    > [] warn_on_slowpath+0x61/0xa0
    > [] __dequeue_entity+0x57/0xd0
    > [] update_curr+0x4d/0x70
    > [] pick_next_task_fair+0x8d/0x100
    > [] string+0x27/0xc0
    > [] vsnprintf+0x3b9/0x6d0
    > [] number+0x2a7/0x2b0
    > [] string+0x27/0xc0
    > [] vsnprintf+0x6c7/0x6d0
    > [] idr_get_new_above_int+0x10/0x80
    > [] up+0x11/0x40
    > [] release_console_sem+0x19e/0x1d0
    > [] idr_remove+0x173/0x1d0
    > [] xlate_proc_name+0x3d/0xc0
    > [] snprintf+0x1b/0x20
    > [] dbg_pnp_show_resources+0x129/0x220
    > [] pnp_assign_resources+0x18e/0x850
    > [] iput+0x1d/0x50
    > [] sysfs_addrm_finish+0x3a/0x1f0
    > [] klist_node_init+0x2e/0x50
    > [] pnp_auto_config_dev+0x57/0xb0
    > [] pnp_request_card_device+0xbe/0xf0
    > [] pnp_activate_dev+0x1f/0x50
    > [] snd_cs423x_pnpc_detect+0x11f/0x3b4 [snd_cs4236]
    > [] card_probe+0xea/0x170
    > [] pnp_register_card_driver+0x9e/0xb0
    > [] alsa_card_cs423x_init+0x27/0x49 [snd_cs4236]
    > [] sys_init_module+0x136/0x1920
    > [] __request_region+0x0/0xd0
    > [] syscall_call+0x7/0xb
    > =======================


    I would say that dbg_pnp_show_resources() is passing a negative `size'
    into snprintf().


    --
    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/

+ Reply to Thread