Bug 11510 - ATL1E OOPS
Summary: ATL1E OOPS
Status: RESOLVED DUPLICATE of bug 11454
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Alexey Dobriyan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 09:25 UTC by Cijoml Cijomlovic Cijomlov
Modified: 2008-09-08 21:26 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.27-rc5
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Cijoml Cijomlovic Cijomlov 2008-09-06 09:25:11 UTC
Latest working kernel version: unknown
Earliest failing kernel version:
Distribution: Debian stable
Hardware Environment: Asus EEE 901
Software Environment:
Problem Description:

ATL1E 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ATL1E 0000:04:00.0: setting latency timer to 64
BUG: scheduling while atomic: modprobe/1943/0x00000002
Modules linked in: atl1e(+) video output snd_hda_intel snd_pcm snd_timer snd_page_alloc snd_hwdep snd
Pid: 1943, comm: modprobe Not tainted 2.6.27-rc5 #4
 [<c02fdab1>] schedule+0x75/0x41d
 [<c02fef09>] _spin_unlock_irqrestore+0x18/0x22
 [<c0126f9f>] __mod_timer+0x8d/0x97
 [<c02fe023>] schedule_timeout+0x6b/0x86
 [<c0126bd9>] process_timeout+0x0/0x5
 [<c0126fb6>] msleep+0xd/0x12
 [<f886779b>] atl1e_phy_init+0x47/0x2aa [atl1e]
 [<f88689bc>] atl1e_probe+0x465/0x5b0 [atl1e]
 [<c01f03b5>] pci_match_device+0x42/0x61
 [<c0254678>] __driver_attach+0x0/0x55
 [<c01f0889>] pci_device_probe+0x36/0x57
 [<c0254601>] driver_probe_device+0xb5/0x12c
 [<c02546af>] __driver_attach+0x37/0x55
 [<c025405e>] bus_for_each_dev+0x34/0x56
 [<c025449c>] driver_attach+0x11/0x13
 [<c0254678>] __driver_attach+0x0/0x55
 [<c0253b0b>] bus_add_driver+0x8a/0x1a5
 [<c01e3684>] kset_find_obj+0x4f/0x56
 [<c0254805>] driver_register+0x6d/0xc1
 [<c01f0a59>] __pci_register_driver+0x3c/0x67
 [<c0101127>] do_one_initcall+0x3a/0x12a
 [<f883e000>] atl1e_init_module+0x0/0x14 [atl1e]
 [<c011d8b2>] check_preempt_wakeup+0xd0/0xfe
 [<c02fef09>] _spin_unlock_irqrestore+0x18/0x22
 [<c011ce03>] try_to_wake_up+0x118/0x122
 [<c013cfc4>] sys_init_module+0x87/0x177
 [<c0102ec1>] sysenter_do_call+0x12/0x21
 =======================
BUG: scheduling while atomic: modprobe/1943/0x00000002
Modules linked in: atl1e(+) video output snd_hda_intel snd_pcm snd_timer snd_page_alloc snd_hwdep snd
Pid: 1943, comm: modprobe Not tainted 2.6.27-rc5 #4
 [<c02fdab1>] schedule+0x75/0x41d
 [<c02fef09>] _spin_unlock_irqrestore+0x18/0x22
 [<c0126f9f>] __mod_timer+0x8d/0x97
 [<c02fe023>] schedule_timeout+0x6b/0x86
 [<c0126bd9>] process_timeout+0x0/0x5
 [<c0126fb6>] msleep+0xd/0x12
 [<f88677b5>] atl1e_phy_init+0x61/0x2aa [atl1e]
 [<f88689bc>] atl1e_probe+0x465/0x5b0 [atl1e]
 [<c01f03b5>] pci_match_device+0x42/0x61
 [<c0254678>] __driver_attach+0x0/0x55
 [<c01f0889>] pci_device_probe+0x36/0x57
 [<c0254601>] driver_probe_device+0xb5/0x12c
 [<c02546af>] __driver_attach+0x37/0x55
 [<c025405e>] bus_for_each_dev+0x34/0x56
 [<c025449c>] driver_attach+0x11/0x13
 [<c0254678>] __driver_attach+0x0/0x55
 [<c0253b0b>] bus_add_driver+0x8a/0x1a5
 [<c01e3684>] kset_find_obj+0x4f/0x56
 [<c0254805>] driver_register+0x6d/0xc1
 [<c01f0a59>] __pci_register_driver+0x3c/0x67
 [<c0101127>] do_one_initcall+0x3a/0x12a
 [<f883e000>] atl1e_init_module+0x0/0x14 [atl1e]
 [<c011d8b2>] check_preempt_wakeup+0xd0/0xfe
 [<c02fef09>] _spin_unlock_irqrestore+0x18/0x22
 [<c011ce03>] try_to_wake_up+0x118/0x122
 [<c013cfc4>] sys_init_module+0x87/0x177
 [<c0102ec1>] sysenter_do_call+0x12/0x21
 =======================
BUG: scheduling while atomic: modprobe/1943/0x00000002
Modules linked in: atl1e(+) video output snd_hda_intel snd_pcm snd_timer snd_page_alloc snd_hwdep snd
Pid: 1943, comm: modprobe Not tainted 2.6.27-rc5 #4
 [<c02fdab1>] schedule+0x75/0x41d
 [<c02fef09>] _spin_unlock_irqrestore+0x18/0x22
 [<c0126f9f>] __mod_timer+0x8d/0x97
 [<c02fe023>] schedule_timeout+0x6b/0x86
 [<c0126bd9>] process_timeout+0x0/0x5
 [<c0126fb6>] msleep+0xd/0x12
 [<f88678ca>] atl1e_phy_init+0x176/0x2aa [atl1e]
 [<f88689bc>] atl1e_probe+0x465/0x5b0 [atl1e]
 [<c01f03b5>] pci_match_device+0x42/0x61
 [<c0254678>] __driver_attach+0x0/0x55
 [<c01f0889>] pci_device_probe+0x36/0x57
 [<c0254601>] driver_probe_device+0xb5/0x12c
 [<c02546af>] __driver_attach+0x37/0x55
 [<c025405e>] bus_for_each_dev+0x34/0x56
 [<c025449c>] driver_attach+0x11/0x13
 [<c0254678>] __driver_attach+0x0/0x55
 [<c0253b0b>] bus_add_driver+0x8a/0x1a5
 [<c01e3684>] kset_find_obj+0x4f/0x56
 [<c0254805>] driver_register+0x6d/0xc1
 [<c01f0a59>] __pci_register_driver+0x3c/0x67
 [<c0101127>] do_one_initcall+0x3a/0x12a
 [<f883e000>] atl1e_init_module+0x0/0x14 [atl1e]
 [<c011d8b2>] check_preempt_wakeup+0xd0/0xfe
 [<c02fef09>] _spin_unlock_irqrestore+0x18/0x22
 [<c011ce03>] try_to_wake_up+0x118/0x122
 [<c013cfc4>] sys_init_module+0x87/0x177
 [<c0102ec1>] sysenter_do_call+0x12/0x21
 =======================


Steps to reproduce:

boot kernel
Comment 1 Alexey Dobriyan 2008-09-08 21:23:48 UTC
Not suprisingly:

        /* Init GPHY as early as possible due to power saving issue  */
        spin_lock(&adapter->mdio_lock);
        atl1e_phy_init(&adapter->hw);
        spin_unlock(&adapter->mdio_lock);

atl1e_phy_init() does msleep()
Comment 2 Alexey Dobriyan 2008-09-08 21:26:03 UTC

*** This bug has been marked as a duplicate of bug 11454 ***

Note You need to log in before you can comment on or make changes to this bug.