* BUG: scheduling while atomic reintroduced
@ 2009-07-28 18:00 Sergey Senozhatsky
2009-07-28 19:20 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Sergey Senozhatsky @ 2009-07-28 18:00 UTC (permalink / raw)
To: Alan Cox; +Cc: Andrew Morton, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 7881 bytes --]
Hello Alan,
Looks like someone reintroduced "scheduling while atomic" bug.
(rc4-git2)
...
kernel: [ 747.713441] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [ 747.713450] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse evdev pcspkr serio_raw usbhid hid
sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore r8169 mii
kernel: [ 747.713567] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [ 747.713573] Call Trace:
kernel: [ 747.713589] [<c140265f>] ? printk+0x23/0x36
kernel: [ 747.713601] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [ 747.713610] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [ 747.713622] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [ 747.713631] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [ 747.713642] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [ 747.713654] [<c112e5b1>] ? ep_poll_callback+0xa1/0xe0
kernel: [ 747.713665] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [ 747.713674] [<c1404035>] mutex_lock+0x25/0x50
kernel: [ 747.713684] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [ 747.713695] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [ 747.713708] [<c13a22bc>] ? __inet_lookup_established+0x2bc/0x2f0
kernel: [ 747.713719] [<c140608e>] ? _spin_unlock+0x1e/0x60
kernel: [ 747.713728] [<c13b99ef>] ? tcp_v4_rcv+0x56f/0x7a0
kernel: [ 747.713739] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [ 747.713748] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [ 747.713757] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [ 747.713767] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [ 747.713777] [<c12d68b5>] pty_write+0x55/0x80
kernel: [ 747.713790] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [ 747.713804] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [ 747.713814] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [ 747.713824] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [ 747.713834] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [ 747.713843] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [ 747.713851] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [ 747.713862] [<c10618b4>] kthread+0x84/0x90
kernel: [ 747.713872] [<c1061830>] ? kthread+0x0/0x90
kernel: [ 747.713883] [<c1003e7f>] kernel_thread_helper+0x7/0x18
kernel: [ 973.783398] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [ 973.783407] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse evdev pcspkr serio_raw usbhid hid
sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore r8169 mii
kernel: [ 973.783525] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [ 973.783531] Call Trace:
kernel: [ 973.783546] [<c140265f>] ? printk+0x23/0x36
kernel: [ 973.783558] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [ 973.783567] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [ 973.783579] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [ 973.783589] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [ 973.783599] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [ 973.783609] [<c103d610>] ? default_wake_function+0x0/0x40
kernel: [ 973.783620] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [ 973.783630] [<c1404035>] mutex_lock+0x25/0x50
kernel: [ 973.783641] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [ 973.783652] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [ 973.783663] [<c13b9348>] ? tcp_v4_do_rcv+0x258/0x390
kernel: [ 973.783673] [<c13a22bc>] ? __inet_lookup_established+0x2bc/0x2f0
kernel: [ 973.783685] [<c140608e>] ? _spin_unlock+0x1e/0x60
kernel: [ 973.783693] [<c13b99ef>] ? tcp_v4_rcv+0x56f/0x7a0
kernel: [ 973.783704] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [ 973.783713] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [ 973.783723] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [ 973.783733] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [ 973.783742] [<c12d68b5>] pty_write+0x55/0x80
kernel: [ 973.783755] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [ 973.783769] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [ 973.783780] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [ 973.783789] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [ 973.783799] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [ 973.783807] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [ 973.783816] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [ 973.783827] [<c10618b4>] kthread+0x84/0x90
kernel: [ 973.783837] [<c1061830>] ? kthread+0x0/0x90
kernel: [ 973.783848] [<c1003e7f>] kernel_thread_helper+0x7/0x18
kernel: [ 973.790112] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [ 973.790119] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse evdev pcspkr serio_raw usbhid hid
sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore r8169 mii
kernel: [ 973.790228] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [ 973.790234] Call Trace:
kernel: [ 973.790244] [<c140265f>] ? printk+0x23/0x36
kernel: [ 973.790254] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [ 973.790264] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [ 973.790274] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [ 973.790283] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [ 973.790294] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [ 973.790306] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [ 973.790315] [<c1404035>] mutex_lock+0x25/0x50
kernel: [ 973.790325] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [ 973.790335] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [ 973.790345] [<c104d86c>] ? local_bh_enable_ip+0x4c/0xc0
kernel: [ 973.790357] [<f80959c5>] ? ppp_async_push+0x105/0x480 [ppp_async]
kernel: [ 973.790369] [<c104d86c>] ? local_bh_enable_ip+0x4c/0xc0
kernel: [ 973.790379] [<c1405d56>] ? _spin_unlock_bh+0x26/0x40
kernel: [ 973.790393] [<f8033878>] ? ppp_push+0x158/0x5a0 [ppp_generic]
kernel: [ 973.790403] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [ 973.790412] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [ 973.790422] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [ 973.790432] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [ 973.790442] [<c12d68b5>] pty_write+0x55/0x80
kernel: [ 973.790453] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [ 973.790467] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [ 973.790476] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [ 973.790486] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [ 973.790496] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [ 973.790505] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [ 973.790514] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [ 973.790524] [<c10618b4>] kthread+0x84/0x90
kernel: [ 973.790534] [<c1061830>] ? kthread+0x0/0x90
kernel: [ 973.790543] [<c1003e7f>] kernel_thread_helper+0x7/0x18
...
Please Cc me.
Sergey
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* BUG: scheduling while atomic reintroduced
@ 2009-07-28 19:47 Sergey Senozhatsky
0 siblings, 0 replies; 6+ messages in thread
From: Sergey Senozhatsky @ 2009-07-28 19:47 UTC (permalink / raw)
To: James Morris; +Cc: Miloslav Trmac, Andrew Morton, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 7849 bytes --]
Hello,
Looks like someone reintroduced "scheduling while atomic" bug.
(rc4-git2)
...
kernel: [ 747.713441] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [ 747.713450] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse evdev pcspkr serio_raw usbhid hid
sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore r8169 mii
kernel: [ 747.713567] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [ 747.713573] Call Trace:
kernel: [ 747.713589] [<c140265f>] ? printk+0x23/0x36
kernel: [ 747.713601] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [ 747.713610] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [ 747.713622] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [ 747.713631] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [ 747.713642] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [ 747.713654] [<c112e5b1>] ? ep_poll_callback+0xa1/0xe0
kernel: [ 747.713665] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [ 747.713674] [<c1404035>] mutex_lock+0x25/0x50
kernel: [ 747.713684] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [ 747.713695] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [ 747.713708] [<c13a22bc>] ? __inet_lookup_established+0x2bc/0x2f0
kernel: [ 747.713719] [<c140608e>] ? _spin_unlock+0x1e/0x60
kernel: [ 747.713728] [<c13b99ef>] ? tcp_v4_rcv+0x56f/0x7a0
kernel: [ 747.713739] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [ 747.713748] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [ 747.713757] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [ 747.713767] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [ 747.713777] [<c12d68b5>] pty_write+0x55/0x80
kernel: [ 747.713790] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [ 747.713804] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [ 747.713814] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [ 747.713824] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [ 747.713834] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [ 747.713843] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [ 747.713851] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [ 747.713862] [<c10618b4>] kthread+0x84/0x90
kernel: [ 747.713872] [<c1061830>] ? kthread+0x0/0x90
kernel: [ 747.713883] [<c1003e7f>] kernel_thread_helper+0x7/0x18
kernel: [ 973.783398] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [ 973.783407] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse evdev pcspkr serio_raw usbhid hid
sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore r8169 mii
kernel: [ 973.783525] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [ 973.783531] Call Trace:
kernel: [ 973.783546] [<c140265f>] ? printk+0x23/0x36
kernel: [ 973.783558] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [ 973.783567] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [ 973.783579] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [ 973.783589] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [ 973.783599] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [ 973.783609] [<c103d610>] ? default_wake_function+0x0/0x40
kernel: [ 973.783620] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [ 973.783630] [<c1404035>] mutex_lock+0x25/0x50
kernel: [ 973.783641] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [ 973.783652] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [ 973.783663] [<c13b9348>] ? tcp_v4_do_rcv+0x258/0x390
kernel: [ 973.783673] [<c13a22bc>] ? __inet_lookup_established+0x2bc/0x2f0
kernel: [ 973.783685] [<c140608e>] ? _spin_unlock+0x1e/0x60
kernel: [ 973.783693] [<c13b99ef>] ? tcp_v4_rcv+0x56f/0x7a0
kernel: [ 973.783704] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [ 973.783713] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [ 973.783723] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [ 973.783733] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [ 973.783742] [<c12d68b5>] pty_write+0x55/0x80
kernel: [ 973.783755] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [ 973.783769] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [ 973.783780] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [ 973.783789] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [ 973.783799] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [ 973.783807] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [ 973.783816] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [ 973.783827] [<c10618b4>] kthread+0x84/0x90
kernel: [ 973.783837] [<c1061830>] ? kthread+0x0/0x90
kernel: [ 973.783848] [<c1003e7f>] kernel_thread_helper+0x7/0x18
kernel: [ 973.790112] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [ 973.790119] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse evdev pcspkr serio_raw usbhid hid
sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore r8169 mii
kernel: [ 973.790228] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [ 973.790244] [<c140265f>] ? printk+0x23/0x36
kernel: [ 973.790254] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [ 973.790264] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [ 973.790274] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [ 973.790283] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [ 973.790294] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [ 973.790306] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [ 973.790315] [<c1404035>] mutex_lock+0x25/0x50
kernel: [ 973.790325] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [ 973.790335] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [ 973.790345] [<c104d86c>] ? local_bh_enable_ip+0x4c/0xc0
kernel: [ 973.790357] [<f80959c5>] ? ppp_async_push+0x105/0x480 [ppp_async]
kernel: [ 973.790369] [<c104d86c>] ? local_bh_enable_ip+0x4c/0xc0
kernel: [ 973.790379] [<c1405d56>] ? _spin_unlock_bh+0x26/0x40
kernel: [ 973.790393] [<f8033878>] ? ppp_push+0x158/0x5a0 [ppp_generic]
kernel: [ 973.790403] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [ 973.790412] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [ 973.790422] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [ 973.790432] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [ 973.790442] [<c12d68b5>] pty_write+0x55/0x80
kernel: [ 973.790453] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [ 973.790467] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [ 973.790476] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [ 973.790486] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [ 973.790496] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [ 973.790505] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [ 973.790514] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [ 973.790524] [<c10618b4>] kthread+0x84/0x90
kernel: [ 973.790534] [<c1061830>] ? kthread+0x0/0x90
kernel: [ 973.790543] [<c1003e7f>] kernel_thread_helper+0x7/0x18
...
Please Cc me.
Sergey
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* BUG: scheduling while atomic reintroduced
@ 2009-07-28 22:18 Sergey Senozhatsky
0 siblings, 0 replies; 6+ messages in thread
From: Sergey Senozhatsky @ 2009-07-28 22:18 UTC (permalink / raw)
To: James Morris; +Cc: Miloslav Trmac, Andrew Morton, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2829 bytes --]
something is wrong with tty->termios_mutex
kernel: [16662.855163] BUG: scheduling while atomic: ksoftirqd/0/4/0x00000203
kernel: [16662.855172] Modules linked in: usb_storage ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek
snd_hda_intel snd_hda_codec snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq asus_laptop rng_core snd_timer snd_seq_device snd i2c_i801 soundcore snd_page_alloc psmouse
evdev pcspkr serio_raw usbhid hid sg sd_mod sr_mod cdrom sdhci_pci sdhci ata_generic mmc_core pata_acpi uhci_hcd ricoh_mmc led_class ehci_hcd ata_piix ide_pci_generic usbcore
r8169 mii
kernel: [16662.855292] Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.31-rc4-git2 #1
kernel: [16662.855298] Call Trace:
kernel: [16662.855313] [<c140265f>] ? printk+0x23/0x36
kernel: [16662.855325] [<c103a865>] __schedule_bug+0x75/0x80
kernel: [16662.855336] [<c14031f8>] schedule+0x5c8/0xb70
kernel: [16662.855347] [<c1068d4b>] ? sched_clock_cpu+0x16b/0x1f0
kernel: [16662.855357] [<c14058eb>] ? _spin_lock+0x1b/0x50
kernel: [16662.855367] [<c10327a2>] ? task_rq_lock+0x42/0x90
kernel: [16662.855380] [<c112e5b1>] ? ep_poll_callback+0xa1/0xe0
kernel: [16662.855391] [<c1404234>] __mutex_lock_slowpath+0xe4/0x190
kernel: [16662.855401] [<c1404035>] mutex_lock+0x25/0x50
kernel: [16662.855411] [<c12d3443>] tty_throttle+0x23/0x70
kernel: [16662.855422] [<c12d1d17>] n_tty_receive_buf+0x407/0x1200
kernel: [16662.855432] [<c13b9348>] ? tcp_v4_do_rcv+0x258/0x390
kernel: [16662.855443] [<c13a22bc>] ? __inet_lookup_established+0x2bc/0x2f0
kernel: [16662.855454] [<c140608e>] ? _spin_unlock+0x1e/0x60
kernel: [16662.855463] [<c13b99ef>] ? tcp_v4_rcv+0x56f/0x7a0
kernel: [16662.855475] [<c109ccf0>] ? move_native_irq+0x20/0x70
kernel: [16662.855485] [<c1405f70>] ? _spin_unlock_irqrestore+0x20/0x60
kernel: [16662.855494] [<c12d4352>] ? tty_ldisc_try+0x42/0x60
kernel: [16662.855504] [<c12d55e5>] flush_to_ldisc+0xf5/0x1f0
kernel: [16662.855514] [<c12d575b>] tty_flip_buffer_push+0x7b/0x90
kernel: [16662.855524] [<c12d68b5>] pty_write+0x55/0x80
kernel: [16662.855537] [<f8095c57>] ppp_async_push+0x397/0x480 [ppp_async]
kernel: [16662.855551] [<f80964f5>] ppp_async_process+0x85/0x98 [ppp_async]
kernel: [16662.855561] [<c104cad3>] tasklet_action+0xe3/0xf0
kernel: [16662.855570] [<c104d417>] __do_softirq+0xa7/0x210
kernel: [16662.855580] [<c104d5cd>] do_softirq+0x4d/0x60
kernel: [16662.855589] [<c104d662>] ksoftirqd+0x82/0x1a0
kernel: [16662.855598] [<c104d5e0>] ? ksoftirqd+0x0/0x1a0
kernel: [16662.855608] [<c10618b4>] kthread+0x84/0x90
kernel: [16662.855618] [<c1061830>] ? kthread+0x0/0x90
kernel: [16662.855629] [<c1003e7f>] kernel_thread_helper+0x7/0x18
commit 26a2e20f4a966bebc312836aeb4423fbfd4e33e2
commit 38db89799bdf11625a831c5af33938dcb11908b6
Sergey
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* BUG: scheduling while atomic reintroduced
@ 2009-07-29 8:28 Sergey Senozhatsky
2009-07-29 11:45 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Sergey Senozhatsky @ 2009-07-29 8:28 UTC (permalink / raw)
To: James Morris; +Cc: Miloslav Trmac, Andrew Morton, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 5007 bytes --]
Hello,
who is tty maintainer at the moment?
kernel: [30720.827764] BUG: soft lockup - CPU#1 stuck for 61s! [pppd:3132]
kernel: [30720.827766] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device psmouse snd i2c_i801 serio_raw rng_core pcspkr soundcore snd_page_alloc asus_laptop evdev usbhid hid
sg sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix sdhci_pci ricoh_mmc ide_pci_generic uhci_hcd sdhci mmc_core led_class ehci_hcd usbcore r8169 mii
kernel: [30720.827766] irq event stamp: 17186
kernel: [30720.827766] hardirqs last enabled at (17185): [<c142da15>] _spin_unlock_irqrestore+0x75/0x90
kernel: [30720.827766] hardirqs last disabled at (17186): [<c142d26b>] _spin_lock_irq+0x1b/0x90
kernel: [30720.827766] softirqs last enabled at (17058): [<f809101b>] ppp_channel_push+0xab/0xd0 [ppp_generic]
kernel: [30720.827766] softirqs last disabled at (17052): [<c142d5ea>] _read_lock_bh+0x1a/0x90
kernel: [30720.827766]
kernel: [30720.827766] Pid: 3132, comm: pppd Not tainted (2.6.31-rc4-dbg-git2 #1) F3JC
kernel: [30720.827766] EIP: 0060:[<c1036990>] EFLAGS: 00000202 CPU: 1
kernel: [30720.827766] EIP is at sub_preempt_count+0x80/0xb0
kernel: [30720.827766] EAX: 00000001 EBX: cdd677f4 ECX: 00000101 EDX: c27d8000
kernel: [30720.827766] ESI: cdd677ac EDI: 00000001 EBP: c27d9e98 ESP: c27d9e94
kernel: [30720.827766] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
kernel: [30720.827766] CR0: 8005003b CR2: b73a5000 CR3: 0275a000 CR4: 000006d0
kernel: [30720.827766] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
kernel: [30720.827766] DR6: ffff0ff0 DR7: 00000400
kernel: [30720.827766] Call Trace:
kernel: [30720.827766] [<c1266b7f>] delay_tsc+0x7f/0xc0
kernel: [30720.827766] [<c1266a88>] __delay+0x18/0x30
kernel: [30720.827766] [<c126c820>] _raw_spin_lock+0xf0/0x170
kernel: [30720.827766] [<c142d22c>] _spin_lock_bh+0x6c/0x90
kernel: [30720.827766] [<f8090f94>] ? ppp_channel_push+0x24/0xd0 [ppp_generic]
kernel: [30720.827766] [<f8090f94>] ppp_channel_push+0x24/0xd0 [ppp_generic]
kernel: [30720.827766] [<f8091157>] ppp_write+0xd7/0xe0 [ppp_generic]
kernel: [30720.827766] [<c1109fba>] vfs_write+0xba/0x1b0
kernel: [30720.827766] [<f8091080>] ? ppp_write+0x0/0xe0 [ppp_generic]
kernel: [30720.827766] [<c110ac53>] sys_write+0x53/0xa0
kernel: [30720.827766] [<c100358b>] sysenter_do_call+0x12/0x32
kernel: [30786.327758] BUG: soft lockup - CPU#1 stuck for 61s! [pppd:3132]
kernel: [30786.327760] Modules linked in: ppp_async crc_ccitt ppp_generic slhc ipv6 fuse loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device psmouse snd i2c_i801 serio_raw rng_core pcspkr soundcore snd_page_alloc asus_laptop evdev usbhid hid
sg sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix sdhci_pci ricoh_mmc ide_pci_generic uhci_hcd sdhci mmc_core led_class ehci_hcd usbcore r8169 mii
kernel: [30786.327760] irq event stamp: 17186
kernel: [30786.327760] hardirqs last enabled at (17185): [<c142da15>] _spin_unlock_irqrestore+0x75/0x90
kernel: [30786.327760] hardirqs last disabled at (17186): [<c142d26b>] _spin_lock_irq+0x1b/0x90
kernel: [30786.327760] softirqs last enabled at (17058): [<f809101b>] ppp_channel_push+0xab/0xd0 [ppp_generic]
kernel: [30786.327760] softirqs last disabled at (17052): [<c142d5ea>] _read_lock_bh+0x1a/0x90
kernel: [30786.327760]
kernel: [30786.327760] Pid: 3132, comm: pppd Not tainted (2.6.31-rc4-dbg-git2 #1) F3JC
kernel: [30786.327760] EIP: 0060:[<c1266b2b>] EFLAGS: 00000282 CPU: 1
kernel: [30786.327760] EIP is at delay_tsc+0x2b/0xc0
kernel: [30786.327760] EAX: 00000001 EBX: c24d46f0 ECX: 00000001 EDX: 00000000
kernel: [30786.327760] ESI: 324bdcc1 EDI: 00000001 EBP: c27d9eb4 ESP: c27d9ea0
kernel: [30786.327760] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
kernel: [30786.327760] CR0: 8005003b CR2: b73a5000 CR3: 0275a000 CR4: 000006d0
kernel: [30786.327760] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
kernel: [30786.327760] DR6: ffff0ff0 DR7: 00000400
kernel: [30786.327760] Call Trace:
kernel: [30786.327760] [<c1266a88>] __delay+0x18/0x30
kernel: [30786.327760] [<c126c820>] _raw_spin_lock+0xf0/0x170
kernel: [30786.327760] [<c142d22c>] _spin_lock_bh+0x6c/0x90
kernel: [30786.327760] [<f8090f94>] ? ppp_channel_push+0x24/0xd0 [ppp_generic]
kernel: [30786.327760] [<f8090f94>] ppp_channel_push+0x24/0xd0 [ppp_generic]
kernel: [30786.327760] [<f8091157>] ppp_write+0xd7/0xe0 [ppp_generic]
kernel: [30786.327760] [<c1109fba>] vfs_write+0xba/0x1b0
kernel: [30786.327760] [<f8091080>] ? ppp_write+0x0/0xe0 [ppp_generic]
kernel: [30786.327760] [<c110ac53>] sys_write+0x53/0xa0
kernel: [30786.327760] [<c100358b>] sysenter_do_call+0x12/0x32
Sergey
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BUG: scheduling while atomic reintroduced
2009-07-29 8:28 Sergey Senozhatsky
@ 2009-07-29 11:45 ` Alan Cox
0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2009-07-29 11:45 UTC (permalink / raw)
To: Sergey Senozhatsky
Cc: James Morris, Miloslav Trmac, Andrew Morton, linux-kernel
On Wed, 29 Jul 2009 11:28:26 +0300
Sergey Senozhatsky <sergey.senozhatsky@mail.by> wrote:
> Hello,
> who is tty maintainer at the moment?
There isn't one but Linus and Ogawa are currently working on fixing the
bug whose incorrect fix in the last -rc causes your bug
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-29 11:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28 18:00 BUG: scheduling while atomic reintroduced Sergey Senozhatsky
2009-07-28 19:20 ` Alan Cox
2009-07-28 19:47 Sergey Senozhatsky
2009-07-28 22:18 Sergey Senozhatsky
2009-07-29 8:28 Sergey Senozhatsky
2009-07-29 11:45 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®