* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-06 19:10 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-06 19:10 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Pardus Linux
Kernel Version: 2.6.14
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-06-2005 20:10 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
----------------------------------------------------------------------
cartman - 12-06-05 20:05
----------------------------------------------------------------------
Takashi,
Before I test whole CVS, is there a spesific change which might have fixed
this?
Regards,
ismail
----------------------------------------------------------------------
tiwai - 12-06-05 20:10
----------------------------------------------------------------------
Yes, the code has been largely changed after 1.0.10 release.
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
12-06-05 19:57 tiwai Note Added: 0006932
12-06-05 20:05 cartman Note Added: 0006933
12-06-05 20:10 tiwai Note Added: 0006936
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-07 15:16 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-07 15:16 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To: tiwai
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Distribution: Pardus Linux
Kernel Version: 2.6.14
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-07-2005 16:16 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
----------------------------------------------------------------------
cartman - 12-07-05 15:31
----------------------------------------------------------------------
Thank you Sergey, your patch fixed this issue. Takashi can you please add
the patch to upstream CVS? Thanks.
----------------------------------------------------------------------
tiwai - 12-07-05 16:16
----------------------------------------------------------------------
Thanks, applied to CVS now.
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
12-06-05 19:57 tiwai Note Added: 0006932
12-06-05 20:05 cartman Note Added: 0006933
12-06-05 20:10 tiwai Note Added: 0006936
12-07-05 13:39 vsu File Added: 00_platform_device_compat.patch
12-07-05 13:41 vsu Note Added: 0006940
12-07-05 15:31 cartman Note Added: 0006942
12-07-05 16:16 tiwai Status new => resolved
12-07-05 16:16 tiwai Resolution open => fixed
12-07-05 16:16 tiwai Assigned To => tiwai
12-07-05 16:16 tiwai Note Added: 0006945
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-07 14:31 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-07 14:31 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Pardus Linux
Kernel Version: 2.6.14
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-07-2005 15:31 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
----------------------------------------------------------------------
vsu - 12-07-05 13:41
----------------------------------------------------------------------
This problem happens with alsa-driver-1.0.10 on 2.6.x kernels <= 2.6.14
(which don't have platform_driver_register()). The problem is that
snd_platform_driver_probe() does not check for non-NULL drv->probe before
calling it, and platfor_driver_register() emulation code always sets
drv->driver.probe = snd_platform_driver_probe even if drv->probe is NULL.
I have attached a patch for alsa-driver-1.0.10 which should fix this.
----------------------------------------------------------------------
cartman - 12-07-05 15:31
----------------------------------------------------------------------
Thank you Sergey, your patch fixed this issue. Takashi can you please add
the patch to upstream CVS? Thanks.
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
12-06-05 19:57 tiwai Note Added: 0006932
12-06-05 20:05 cartman Note Added: 0006933
12-06-05 20:10 tiwai Note Added: 0006936
12-07-05 13:39 vsu File Added: 00_platform_device_compat.patch
12-07-05 13:41 vsu Note Added: 0006940
12-07-05 15:31 cartman Note Added: 0006942
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-07 12:41 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-07 12:41 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Pardus Linux
Kernel Version: 2.6.14
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-07-2005 13:41 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
----------------------------------------------------------------------
tiwai - 12-06-05 20:10
----------------------------------------------------------------------
Yes, the code has been largely changed after 1.0.10 release.
----------------------------------------------------------------------
vsu - 12-07-05 13:41
----------------------------------------------------------------------
This problem happens with alsa-driver-1.0.10 on 2.6.x kernels <= 2.6.14
(which don't have platform_driver_register()). The problem is that
snd_platform_driver_probe() does not check for non-NULL drv->probe before
calling it, and platfor_driver_register() emulation code always sets
drv->driver.probe = snd_platform_driver_probe even if drv->probe is NULL.
I have attached a patch for alsa-driver-1.0.10 which should fix this.
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
12-06-05 19:57 tiwai Note Added: 0006932
12-06-05 20:05 cartman Note Added: 0006933
12-06-05 20:10 tiwai Note Added: 0006936
12-07-05 13:39 vsu File Added: 00_platform_device_compat.patch
12-07-05 13:41 vsu Note Added: 0006940
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-06 19:05 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-06 19:05 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Pardus Linux
Kernel Version: 2.6.14
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-06-2005 20:05 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
----------------------------------------------------------------------
tiwai - 12-06-05 19:57
----------------------------------------------------------------------
Does it still happen with the ALSA CVS version?
----------------------------------------------------------------------
cartman - 12-06-05 20:05
----------------------------------------------------------------------
Takashi,
Before I test whole CVS, is there a spesific change which might have fixed
this?
Regards,
ismail
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
12-06-05 19:57 tiwai Note Added: 0006932
12-06-05 20:05 cartman Note Added: 0006933
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-06 18:57 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-06 18:57 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Pardus Linux
Kernel Version: 2.6.14
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-06-2005 19:57 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
----------------------------------------------------------------------
tiwai - 12-06-05 19:57
----------------------------------------------------------------------
Does it still happen with the ALSA CVS version?
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
12-06-05 19:57 tiwai Note Added: 0006932
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module
@ 2005-12-06 18:50 bugtrack
0 siblings, 0 replies; 7+ messages in thread
From: bugtrack @ 2005-12-06 18:50 UTC (permalink / raw)
To: alsa-devel
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1623>
======================================================================
Reported By: cartman
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1623
Category: GENERIC - mpu401
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Pardus Linux
Kernel Version: 2.6.14
======================================================================
Date Submitted: 12-06-2005 19:50 CET
Last Modified: 12-06-2005 19:50 CET
======================================================================
Summary: Kernel oopsed when modprobing snd_mpu401 module
Description:
When I try to modprobe snd_mpu401 I get this:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_mpu401 snd_opl3_lib snd_hwdep snd_cs4231_lib
parport_pc
parport i2c_viapro i2c_core via_agp agpgart snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_via82xx
snd_ac97_codec
snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi
snd_seq_device snd sbp2 ohci1394 ieee1394 usb_storage uhci_hcd ohci_hcd
ehci_hcd
usbcore sata_sil sata_nv sata_mv sata_promise sata_sis sata_svw sata_via
sata_uli sata_vsc sata_sx4 sym53c8xx sg a100u2w scsi_transport_sas dc395x
tmscsim ahci BusLogic aacraid sr_mod 3w_xxxx lpfc qla1280 ipr st ch
megaraid
megaraid_mbox megaraid_mm megaraid_sas dmx3191d atp870u nsp32 aic7xxx
aic79xx
scsi_transport_spi osst qlogicfas408 ata_piix libata 3w_9xxx aha152x
qla6312
qla2200 qla2322 qla2100 qla2300 qla2xxx firmware_class scsi_transport_fc
sd_mod
scsi_mod
CPU: 0
EIP: 0060:[<00000000>] Not tainted VLI
EFLAGS: 00010286 (2.6.14.3-10)
EIP is at rest_init+0x3feffdc0/0x40
eax: ccbf3e00 ebx: 00000000 ecx: d244d1b4 edx: d244d1b4
esi: d244d1b4 edi: ccbf3e08 ebp: ccbf3e08 esp: cba15db8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 9771, threadinfo=cba14000 task=cee87a50)
Stack: d2442011 ccbf3e00 c03031ca ccbf3e08 00000000 cba15dec c0303230
c030323f
d244d1b4 ccbf3e08 c0302a5d d244d1b4 ccbf3e08 c04264f8 c04264f8
d244d20c
ccbf3eb2 ccbf3e08 c0426400 ccbf3e08 00000000 c030329b c0426400
00000000
Call Trace:
[<d2442011>] snd_platform_driver_probe+0x11/0x20 [snd]
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c0303230>] __device_attach+0x0/0x20
[<c030323f>] __device_attach+0xf/0x20
[<c0302a5d>] bus_for_each_drv+0x4d/0x70
[<c030329b>] device_attach+0x4b/0x60
[<c0303230>] __device_attach+0x0/0x20
[<c0302b83>] bus_add_device+0x23/0x90
[<c0301cb6>] device_add+0xa6/0x120
[<c0301d41>] device_register+0x11/0x20
[<c0304889>] platform_device_register+0x119/0x170
[<d244386f>] snd_generic_device_register+0x4f/0x90 [snd]
[<d24438eb>] snd_card_set_generic_dev+0xb/0x30 [snd]
[<d25680e8>] snd_mpu401_create+0xe8/0x160 [snd_mpu401]
[<c02f1b07>] compare_pnp_id+0x77/0x90
[<d2568207>] snd_mpu401_pnp_probe+0x57/0x90 [snd_mpu401]
[<c02f1c85>] pnp_device_probe+0x75/0xa0
[<c03031ca>] driver_probe_device+0x2a/0x90
[<c03032b0>] __driver_attach+0x0/0x40
[<c03032eb>] __driver_attach+0x3b/0x40
[<c030294d>] bus_for_each_dev+0x4d/0x70
[<c0291102>] kobject_add+0x72/0xc0
[<c0303305>] driver_attach+0x15/0x20
[<c03032b0>] __driver_attach+0x0/0x40
[<c0302d9b>] bus_add_driver+0x5b/0xa0
[<c03036d4>] driver_register+0x34/0x40
[<c02f1d4f>] pnp_register_driver+0x2f/0x60
[<d231b14a>] alsa_card_mpu401_init+0x4a/0x92 [snd_mpu401]
[<c01388a2>] sys_init_module+0x122/0x1f0
[<c0102f2b>] sysenter_past_esp+0x54/0x79
Code: Bad EIP value.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
12-06-05 19:50 cartman New Issue
12-06-05 19:50 cartman Distribution => Pardus Linux
12-06-05 19:50 cartman Kernel Version => 2.6.14
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-12-07 15:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06 19:10 [ALSA - driver 0001623]: Kernel oopsed when modprobing snd_mpu401 module bugtrack
-- strict thread matches above, loose matches on Subject: below --
2005-12-07 15:16 bugtrack
2005-12-07 14:31 bugtrack
2005-12-07 12:41 bugtrack
2005-12-06 19:05 bugtrack
2005-12-06 18:57 bugtrack
2005-12-06 18:50 bugtrack
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.