You are not logged in.

#1 2010-11-01 11:47:38

Fackamato
Member
Registered: 2006-03-31
Posts: 579

2.6.36 BUG: scheduling while atomic

Hi,

I just upgraded to 2.6.36 from testing (config is ARCH default except I selected "Atom" among CPUs). I get these errors on boot:

EXT4-fs (dm-0): Ignoring deprecated nobh option
EXT4-fs (dm-0): re-mounted. Opts: nobh,discard,nouser_xattr,barrier=0
EXT4-fs (dm-0): Ignoring deprecated nobh option
EXT4-fs (dm-0): re-mounted. Opts: nobh,discard,nouser_xattr,barrier=0
BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
Modules linked in: joydev hid_logitech ff_memless snd_hda_codec_nvhdmi usbhid hid snd_hda_codec_realtek snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hda_codec snd_pcm_oss snd_hwdep ohci_hcd snd_pcm ehci_hcd evdev snd_mixer_oss i2c_nforce2 snd_timer pcspkr psmouse usbcore shpchp sg forcedeth wmi i2c_core snd processor button serio_raw thermal pci_hotplug snd_page_alloc soundcore raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx uvesafb cn sd_mod
Pid: 1376, comm: rc.sysinit Not tainted 2.6.36-ARCH #1
Call Trace:
[<ffffffff810397ce>] __schedule_bug+0x5e/0x70
[<ffffffff81403110>] schedule+0x950/0xa70
[<ffffffff81060bad>] ? insert_work+0x7d/0x90
[<ffffffff81060fbd>] ? queue_work_on+0x1d/0x30
[<ffffffff81061127>] ? queue_work+0x37/0x60
[<ffffffff8140377d>] schedule_timeout+0x21d/0x360
[<ffffffff812031c3>] ? generic_make_request+0x2c3/0x540
[<ffffffff81402680>] wait_for_common+0xc0/0x150
[<ffffffff81041490>] ? default_wake_function+0x0/0x10
[<ffffffff812034bc>] ? submit_bio+0x7c/0x100
[<ffffffff810680a0>] ? wake_bit_function+0x0/0x40
[<ffffffff814027b8>] wait_for_completion+0x18/0x20
[<ffffffff8120a969>] blkdev_issue_discard+0x1b9/0x210
[<ffffffff811ba03e>] ext4_free_blocks+0x68e/0xb60
[<ffffffff811b1650>] ? __ext4_handle_dirty_metadata+0x110/0x120
[<ffffffff811b098c>] ext4_ext_truncate+0x8cc/0xa70
[<ffffffff810d713e>] ? pagevec_lookup+0x1e/0x30
[<ffffffff81191618>] ext4_truncate+0x178/0x5d0
[<ffffffff810eacbb>] ? unmap_mapping_range+0xab/0x280
[<ffffffff810d8976>] vmtruncate+0x56/0x70
[<ffffffff811925cb>] ext4_setattr+0x14b/0x460
[<ffffffff811319e4>] notify_change+0x194/0x380
[<ffffffff81117f80>] do_truncate+0x60/0x90
[<ffffffff811e08fa>] ? security_inode_permission+0x1a/0x20
[<ffffffff811eaec1>] ? tomoyo_path_truncate+0x11/0x20
[<ffffffff81127539>] do_last+0x5d9/0x770
[<ffffffff811278bd>] do_filp_open+0x1ed/0x680
[<ffffffff8140644f>] ? page_fault+0x1f/0x30
[<ffffffff81132bfc>] ? alloc_fd+0xec/0x140
[<ffffffff81118db1>] do_sys_open+0x61/0x120
[<ffffffff81118e8b>] sys_open+0x1b/0x20
[<ffffffff81002e6b>] system_call_fastpath+0x16/0x1b

Many more of them (per process I suppose).

Full dmesg is here: http://nopaste.info/cf4db3e9f9.html
Full config is here: http://nopaste.info/3ec80514fe.html

Anyone experiencing the same?

edit: More information added to bug report: https://bugs.archlinux.org/task/21558

Last edited by Fackamato (2010-11-01 12:47:48)

Offline

#2 2010-11-02 00:42:26

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: 2.6.36 BUG: scheduling while atomic

2.6.26 on Atom n450 (32-bit) - Atom selected in config
kernel from sources +BFQ + BFS + tuxonice
custom rc.sysinit

don't see this error.

Have you tried default Arch kernel from testing? Have you got the same error?

Last edited by broch (2010-11-02 00:45:38)

Offline

#3 2010-11-02 07:26:52

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: 2.6.36 BUG: scheduling while atomic

broch wrote:

2.6.26 on Atom n450 (32-bit) - Atom selected in config
kernel from sources +BFQ + BFS + tuxonice
custom rc.sysinit

don't see this error.

Have you tried default Arch kernel from testing? Have you got the same error?

I'll try the default kernel when I get home, cheers.

Offline

#4 2010-11-02 22:04:27

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: 2.6.36 BUG: scheduling while atomic

OK.

I installed the default -ARCH kernel from testing. I have the same result.

dmesg here: http://nopaste.info/48ca95692d.html

I'll reopen the bug report (I don't know why I created one when I compiled my own kernel.. silly.)

Offline

#5 2010-11-02 22:44:09

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: 2.6.36 BUG: scheduling while atomic

Trace shows something with blkdev_issue_discard. Do you have the discard option enabled? If so, could you try to disable it? Maybe the kernel does something that the sandforce controller on your SSD doesn't like,

Offline

#6 2010-11-02 22:47:18

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: 2.6.36 BUG: scheduling while atomic

JGC wrote:

Trace shows something with blkdev_issue_discard. Do you have the discard option enabled? If so, could you try to disable it? Maybe the kernel does something that the sandforce controller on your SSD doesn't like,

Thanks, I'll try without the discard mount option. Will post results soon. BTW, link to bug: https://bugs.archlinux.org/task/21558 (requested reopening, since I switched to -ARCH kernel in testing)

Offline

#7 2010-11-02 22:53:05

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: 2.6.36 BUG: scheduling while atomic

Wahey, what do you know. Not using the discard mount option for my root fs, and everything appears to work fine. Cheers!

Offline

Board footer

Powered by FluxBB