I turned on some more kernel debugging. Is this stuff helpful?
Freeing unused kernel memory: 80k freed
BUG: sleeping function called from invalid context at mm/slab.c:3034
in_atomic():0, irqs_disabled():1
Stack:
23fe5ccc 22331614 00000000 000000d0 00000010 2203bc64 22168d40 00000000
00000001 00000000 00000033 00000fbb 22166440 223310d4 00000000 000000d0
2203c1ac 00000000 23ffd214 223795fc 22331614 22379620 000000d0 00000000
Call Trace:
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<22166440>] _spin_unlock+0xc/0x50
[<2203c1ac>] cache_alloc_refill+0x52c/0x668
[<2203c3a4>] kmem_cache_zalloc+0xbc/0xcc
[<2205a02c>] mntput_no_expire+0x24/0xc8
[<2203c398>] kmem_cache_zalloc+0xb0/0xcc
[<220c4cf0>] alloc_tty_struct+0x14/0x28
[<221663e8>] _spin_unlock_irqrestore+0x10/0x5c
[<22049f6c>] do_path_lookup+0x1c4/0x2f4
[<220c8a60>] init_dev+0xe4/0x610
[<22047f40>] getname+0x48/0xc0
[<220436b8>] cdev_get+0xc/0x20
[<220c90b8>] tty_open+0x12c/0x310
[<2200af50>] console_device+0x14/0x78
[<22043978>] exact_lock+0x8/0x30
[<22043844>] chrdev_open+0x154/0x18c
[<22043830>] chrdev_open+0x140/0x18c
[<2203eb6c>] __dentry_open+0x94/0x1e0
[<2204ad40>] open_namei+0x1a0/0x784
[<2203eb5c>] __dentry_open+0x84/0x1e0
[<220436f0>] chrdev_open+0x0/0x18c
[<2203ece4>] nameidata_to_filp+0x2c/0x60
[<2203ed40>] do_filp_open+0x28/0x64
[<2200ab7c>] vprintk+0x1f8/0x458
[<2205a02c>] mntput_no_expire+0x24/0xc8
[<2203ed6c>] do_filp_open+0x54/0x64
[<2203f1e4>] do_sys_open+0x8c/0xd8
[<2203ef48>] get_unused_fd+0x40/0x13c
[<22047f40>] getname+0x48/0xc0
[<2203f1c4>] do_sys_open+0x6c/0xd8
[<2203f184>] do_sys_open+0x2c/0xd8
[<22004178>] free_init_pages+0xe4/0x10c
[<2203f248>] sys_open+0x18/0x2c
[<221669f4>] unlock_kernel+0x24/0x68
[<22000364>] init+0x268/0x378
[<220b6340>] kobject_release+0x0/0x1c
[<22001194>] kernel_thread_helper+0xc/0x20
[<22001188>] kernel_thread_helper+0x0/0x20
Mounting proc:
Mounting var:
Populating /var:
BUG: sleeping function called from invalid context at
include/linux/buffer_head.h:302
in_atomic():0, irqs_disabled():1
Stack:
23cd1a94 23ff4bac 23e6c580 00000034 00000000 2206c104 22168d40 00000000
00000001 00000000 00000033 0000173a 23e6c580 23e6c580 00000000 23cd1af0
2206e4c0 00000000 2202bbd8 00000001 00000001 00000000 2202bd04 23e6c580
Call Trace:
[<2206c104>] block_read_full_page+0x334/0x404
[<2206e4c0>] blkdev_readpage+0x18/0x2c
[<2202bbd8>] add_to_page_cache+0x30/0x1a0
[<2202bd04>] add_to_page_cache+0x15c/0x1a0
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2202bd58>] add_to_page_cache_lru+0x10/0x50
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2202d870>] read_cache_page+0x108/0x23c
[<2206e2b4>] blkdev_get_block+0x0/0x90
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2208c6b8>] cramfs_read+0x2dc/0x37c
[<220317a4>] __alloc_pages+0x70/0x33c
[<2208d428>] cramfs_readpage+0x94/0x26c
[<2216579c>] mutex_lock+0x1c/0x68
[<221b203c>] pty_init+0x2d8/0x6c0
[<22166730>] _write_unlock_irq+0xc/0x60
[<2202bc28>] add_to_page_cache+0x80/0x1a0
[<22034340>] __do_page_cache_readahead+0x150/0x310
[<220343b8>] __do_page_cache_readahead+0x1c8/0x310
[<220342fc>] __do_page_cache_readahead+0x10c/0x310
[<220346a4>] blockable_page_cache_readahead+0x5c/0xf8
[<22166124>] _spin_lock+0x1c/0x30
[<220221dc>] wake_up_bit+0x24/0x40
[<2208bf2c>] cramfs_iget5_test+0x0/0x164
[<22166440>] _spin_unlock+0xc/0x50
[<22057bdc>] wake_up_inode+0x10/0x24
[<22057b78>] iget5_locked+0x1cc/0x220
[<22166124>] _spin_lock+0x1c/0x30
[<22166440>] _spin_unlock+0xc/0x50
[<220584f4>] unlock_new_inode+0x14/0x28
[<22034954>] page_cache_readahead+0x140/0x298
[<2208d35c>] cramfs_lookup+0x1e0/0x218
[<22166124>] _spin_lock+0x1c/0x30
[<22166440>] _spin_unlock+0xc/0x50
[<2202d234>] do_generic_mapping_read+0x458/0x658
[<220b4f20>] _atomic_dec_and_lock+0x6c/0x7c
[<2202cf74>] do_generic_mapping_read+0x198/0x658
[<2202f430>] generic_file_aio_read+0x1e8/0x2a0
[<22166440>] _spin_unlock+0xc/0x50
[<22049964>] __link_path_walk+0xdec/0x1068
[<2203fd44>] do_sync_read+0xb8/0x108
[<2202d434>] file_read_actor+0x0/0x108
[<2203fec8>] vfs_read+0x134/0x140
[<22166440>] _spin_unlock+0xc/0x50
[<221b203c>] pty_init+0x2d8/0x6c0
[<221b203c>] pty_init+0x2d8/0x6c0
[<22022028>] autoremove_wake_function+0x0/0x48
[<2204832c>] deny_write_access+0x58/0x8c
[<2203fe38>] vfs_read+0xa4/0x140
[<22044f2c>] open_exec+0xe0/0x104
[<22044f0c>] open_exec+0xc0/0x104
[<22044ef0>] open_exec+0xa4/0x104
[<22044f88>] kernel_read+0x38/0x58
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<22045ce8>] do_execve+0x50/0x25c
[<22007684>] mm_init+0x30/0xb4
[<220458fc>] prepare_binprm+0xd0/0xfc
[<22044be0>] count+0x40/0x70
[<221a5910>] inflate_codes+0x88/0x544
[<22007748>] mm_alloc+0x40/0x60
[<22045d98>] do_execve+0x100/0x25c
[<22045d50>] do_execve+0xb8/0x25c
[<22047f40>] getname+0x48/0xc0
[<2203f2dc>] filp_close+0x44/0x9c
[<220025c4>] sys_execve+0x74/0x9c
[<22002574>] sys_execve+0x24/0x9c
[<2203f444>] sys_close+0x110/0x128
[<22005248>] schedule_tail+0x48/0xfc
[<220022e8>] work_pending+0x34/0x3c
[<221b203c>] pty_init+0x2d8/0x6c0
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Created 5 configuration files (133 bytes)
Mounting sysfs:
Setting hostname:
BUG: sleeping function called from invalid context at
include/linux/buffer_head.h:302
in_atomic():0, irqs_disabled():1
Stack:
2384ba94 23ff4bac 23811c38 0000007a 00000000 2206c104 22168d40 00000000
00000001 00000000 00000033 00002415 23811c38 23811c38 00000000 2384baf0
2206e4c0 00000000 2202bbd8 00000001 00000001 00000000 2202bd04 23811c38
Call Trace:
[<2206c104>] block_read_full_page+0x334/0x404
[<2206e4c0>] blkdev_readpage+0x18/0x2c
[<2202bbd8>] add_to_page_cache+0x30/0x1a0
[<2202bd04>] add_to_page_cache+0x15c/0x1a0
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2202bd58>] add_to_page_cache_lru+0x10/0x50
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2202d870>] read_cache_page+0x108/0x23c
[<2206e2b4>] blkdev_get_block+0x0/0x90
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2208c6b8>] cramfs_read+0x2dc/0x37c
[<220317a4>] __alloc_pages+0x70/0x33c
[<2208d428>] cramfs_readpage+0x94/0x26c
[<2216579c>] mutex_lock+0x1c/0x68
[<22166730>] _write_unlock_irq+0xc/0x60
[<2202bc28>] add_to_page_cache+0x80/0x1a0
[<22034340>] __do_page_cache_readahead+0x150/0x310
[<220343b8>] __do_page_cache_readahead+0x1c8/0x310
[<220342fc>] __do_page_cache_readahead+0x10c/0x310
[<220346a4>] blockable_page_cache_readahead+0x5c/0xf8
[<22166124>] _spin_lock+0x1c/0x30
[<220221dc>] wake_up_bit+0x24/0x40
[<2208bf2c>] cramfs_iget5_test+0x0/0x164
[<22166440>] _spin_unlock+0xc/0x50
[<22057bdc>] wake_up_inode+0x10/0x24
[<22057b78>] iget5_locked+0x1cc/0x220
[<22166124>] _spin_lock+0x1c/0x30
[<22166440>] _spin_unlock+0xc/0x50
[<220584f4>] unlock_new_inode+0x14/0x28
[<22034954>] page_cache_readahead+0x140/0x298
[<2208d35c>] cramfs_lookup+0x1e0/0x218
[<22166124>] _spin_lock+0x1c/0x30
[<22166440>] _spin_unlock+0xc/0x50
[<2202d234>] do_generic_mapping_read+0x458/0x658
[<220b4f20>] _atomic_dec_and_lock+0x6c/0x7c
[<2202cf74>] do_generic_mapping_read+0x198/0x658
[<2202f430>] generic_file_aio_read+0x1e8/0x2a0
[<22166478>] _spin_unlock+0x44/0x50
[<22166440>] _spin_unlock+0xc/0x50
[<22049964>] __link_path_walk+0xdec/0x1068
[<2203fd44>] do_sync_read+0xb8/0x108
[<2202d434>] file_read_actor+0x0/0x108
[<2203fec8>] vfs_read+0x134/0x140
[<22166440>] _spin_unlock+0xc/0x50
[<22022028>] autoremove_wake_function+0x0/0x48
[<2204832c>] deny_write_access+0x58/0x8c
[<2203fe38>] vfs_read+0xa4/0x140
[<22044f2c>] open_exec+0xe0/0x104
[<22044f0c>] open_exec+0xc0/0x104
[<22044ef0>] open_exec+0xa4/0x104
[<22044f88>] kernel_read+0x38/0x58
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<22045ce8>] do_execve+0x50/0x25c
[<22007684>] mm_init+0x30/0xb4
[<220458fc>] prepare_binprm+0xd0/0xfc
[<22044be0>] count+0x40/0x70
[<221a574c>] flush_window+0x8c/0x104
[<22007748>] mm_alloc+0x40/0x60
[<22045d98>] do_execve+0x100/0x25c
[<22045d50>] do_execve+0xb8/0x25c
[<22047f40>] getname+0x48/0xc0
[<2203f2dc>] filp_close+0x44/0x9c
[<220025c4>] sys_execve+0x74/0x9c
[<22002574>] sys_execve+0x24/0x9c
[<2203f444>] sys_close+0x110/0x128
[<22005248>] schedule_tail+0x48/0xfc
[<220022e8>] work_pending+0x34/0x3c
Setting up interface lo:
Starting DHCP client:
Starting thttpd:
BUG: sleeping function called from invalid context at
include/linux/buffer_head.h:302
in_atomic():0, irqs_disabled():1
Stack:
238a1a0c 23ff4bac 238114e8 00000151 00000000 2206c104 22168d40 00000000
00000001 00000000 00000033 00003082 238114e8 238114e8 00000000 238a1a68
2206e4c0 00000000 2202bbd8 00000001 00000001 00000000 2202bd04 238114e8
Call Trace:
[<2206c104>] block_read_full_page+0x334/0x404
[<2206e4c0>] blkdev_readpage+0x18/0x2c
[<2202bbd8>] add_to_page_cache+0x30/0x1a0
[<2202bd04>] add_to_page_cache+0x15c/0x1a0
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2202bd58>] add_to_page_cache_lru+0x10/0x50
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2202d870>] read_cache_page+0x108/0x23c
[<2206e2b4>] blkdev_get_block+0x0/0x90
[<2206e4a8>] blkdev_readpage+0x0/0x2c
[<2208c6b8>] cramfs_read+0x2dc/0x37c
[<2208d6a0>] cramfs_uncompress_block+0x74/0x120
[<2208c620>] cramfs_read+0x244/0x37c
[<2208d5c4>] cramfs_readpage+0x230/0x26c
[<2216579c>] mutex_lock+0x1c/0x68
[<2202c500>] unlock_page+0x44/0x5c
[<22166730>] _write_unlock_irq+0xc/0x60
[<22034340>] __do_page_cache_readahead+0x150/0x310
[<220343b8>] __do_page_cache_readahead+0x1c8/0x310
[<220342fc>] __do_page_cache_readahead+0x10c/0x310
[<220346a4>] blockable_page_cache_readahead+0x5c/0xf8
[<221661b0>] _spin_lock_irq+0x2c/0x40
[<2202c500>] unlock_page+0x44/0x5c
[<22166530>] _spin_unlock_irq+0xc/0x60
[<220344cc>] __do_page_cache_readahead+0x2dc/0x310
[<22034340>] __do_page_cache_readahead+0x150/0x310
[<220343b8>] __do_page_cache_readahead+0x1c8/0x310
[<220347c4>] make_ahead_window+0x84/0xd4
[<22166124>] _spin_lock+0x1c/0x30
[<2208bf2c>] cramfs_iget5_test+0x0/0x164
[<22166440>] _spin_unlock+0xc/0x50
[<220349e4>] page_cache_readahead+0x1d0/0x298
[<22166124>] _spin_lock+0x1c/0x30
[<22166440>] _spin_unlock+0xc/0x50
[<2202d234>] do_generic_mapping_read+0x458/0x658
[<22166168>] _spin_lock_irqsave+0x30/0x4c
[<2202cf74>] do_generic_mapping_read+0x198/0x658
[<22166124>] _spin_lock+0x1c/0x30
[<2202f430>] generic_file_aio_read+0x1e8/0x2a0
[<220316ec>] get_page_from_freelist+0x440/0x488
[<22166428>] _spin_unlock_irqrestore+0x50/0x5c
[<221663e8>] _spin_unlock_irqrestore+0x10/0x5c
[<221661b0>] _spin_lock_irq+0x2c/0x40
[<2203fd44>] do_sync_read+0xb8/0x108
[<22166530>] _spin_unlock_irq+0xc/0x60
[<2202d434>] file_read_actor+0x0/0x108
[<22073d20>] load_flat_binary+0x650/0xbdc
[<22166530>] _spin_unlock_irq+0xc/0x60
[<22045044>] set_task_comm+0x38/0x64
[<221663e8>] _spin_unlock_irqrestore+0x10/0x5c
[<22022028>] autoremove_wake_function+0x0/0x48
[<2203a6e0>] do_mremap+0xc4/0x108
[<221a55bc>] huft_build+0x4f8/0x5fc
[<22025ff4>] down_write+0x28/0x40
[<22073c04>] load_flat_binary+0x534/0xbdc
[<22045b74>] search_binary_handler+0x78/0x19c
[<2203fe38>] vfs_read+0xa4/0x140
[<22044d18>] copy_strings+0x108/0x200
[<221664e0>] _read_unlock+0xc/0x50
[<220413f0>] __fput+0x150/0x1ac
[<220736d0>] load_flat_binary+0x0/0xbdc
[<22045dfc>] do_execve+0x164/0x25c
[<220025c4>] sys_execve+0x74/0x9c
[<2203f444>] sys_close+0x110/0x128
[<2203a55c>] sys_munmap+0x4c/0x74
[<220022e8>] work_pending+0x34/0x3c
jimtest8 login: root
BUG: sleeping function called from invalid context at mm/slab.c:3034
in_atomic():0, irqs_disabled():1
Stack:
238e5e40 2237cf9c 00000000 000000d0 00000010 2203bc64 22168d40 00000000
00000001 00000000 00000033 00003d43 220c591c 2233117c 00000000 000000d0
2203c1ac 00000000 23ffd994 23ffacc0 2237cf9c 23fface4 000000d0 00000000
Call Trace:
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<220c591c>] tty_ldisc_deref+0xa0/0xac
[<2203c1ac>] cache_alloc_refill+0x52c/0x668
[<2203bc70>] kmem_cache_alloc+0xa0/0xb0
[<220c6124>] tty_write+0x224/0x26c
[<220cc164>] write_chan+0x0/0x38c
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<22047f1c>] getname+0x24/0xc0
[<22002574>] sys_execve+0x24/0x9c
[<2204e44c>] sys_ioctl+0x28/0x98
[<220022e8>] work_pending+0x34/0x3c
[<220022e8>] work_pending+0x34/0x3c
[<220022e8>] work_pending+0x34/0x3c
Password:
BUG: sleeping function called from invalid context at mm/slab.c:3034
in_atomic():0, irqs_disabled():1
Stack:
238e5d08 22331b54 00000007 000040d0 00000010 2203bc64 22168d40 00000000
00000001 00000000 00000033 00004001 22025ff4 2233117c 00000000 000040d0
2203c1ac 00000000 23ffe908 22379bfc 22331b54 22379c20 000040d0 00000000
Call Trace:
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<22025ff4>] down_write+0x28/0x40
[<2203c1ac>] cache_alloc_refill+0x52c/0x668
[<2203c530>] __kmalloc+0xd8/0xe8
[<221661b0>] _spin_lock_irq+0x2c/0x40
[<22166440>] _spin_unlock+0xc/0x50
[<22048194>] permission+0x88/0xf4
[<22166530>] _spin_unlock_irq+0xc/0x60
[<22045044>] set_task_comm+0x38/0x64
[<2203c518>] __kmalloc+0xc0/0xe8
[<22039f34>] do_mmap_pgoff+0x68c/0x9d8
[<22039b6c>] do_mmap_pgoff+0x2c4/0x9d8
[<22045704>] flush_old_exec+0x694/0x7bc
[<221a503c>] prompt_ramdisk+0x20/0x34
[<22073be0>] load_flat_binary+0x510/0xbdc
[<22025fe8>] down_write+0x1c/0x40
[<22166440>] _spin_unlock+0xc/0x50
[<221a5b08>] inflate_codes+0x280/0x544
[<22025ff4>] down_write+0x28/0x40
[<22045b74>] search_binary_handler+0x78/0x19c
[<2203fe38>] vfs_read+0xa4/0x140
[<22044d18>] copy_strings+0x108/0x200
[<22044d18>] copy_strings+0x108/0x200
[<221664e0>] _read_unlock+0xc/0x50
[<221661b0>] _spin_lock_irq+0x2c/0x40
[<220736d0>] load_flat_binary+0x0/0xbdc
[<22045dfc>] do_execve+0x164/0x25c
[<220025c4>] sys_execve+0x74/0x9c
[<220022e8>] work_pending+0x34/0x3c
[<220022e8>] work_pending+0x34/0x3c
#
BUG: sleeping function called from invalid context at mm/slab.c:3034
in_atomic():0, irqs_disabled():1
Stack:
238e5e0c 22331764 00000001 000040d0 00000010 2203bc64 22168d40 00000000
00000001 00000000 00000033 00004001 221663e8 2233117c 00000000 000040d0
2203c1ac 00000000 23ffe608 2237977c 22331764 223797a0 000040d0 00000000
Call Trace:
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<221663e8>] _spin_unlock_irqrestore+0x10/0x5c
[<2203c1ac>] cache_alloc_refill+0x52c/0x668
[<2203c530>] __kmalloc+0xd8/0xe8
[<221661b0>] _spin_lock_irq+0x2c/0x40
[<220b8f14>] __up_write+0x11c/0x1d4
[<22166530>] _spin_unlock_irq+0xc/0x60
[<2203c518>] __kmalloc+0xc0/0xe8
[<22039f34>] do_mmap_pgoff+0x68c/0x9d8
[<22039b6c>] do_mmap_pgoff+0x2c4/0x9d8
[<22039ef4>] do_mmap_pgoff+0x64c/0x9d8
[<220027b4>] sys_mmap+0x88/0x114
[<22025fe8>] down_write+0x1c/0x40
[<221a5b08>] inflate_codes+0x280/0x544
[<22025ff4>] down_write+0x28/0x40
[<220022e8>] work_pending+0x34/0x3c
[<220022e8>] work_pending+0x34/0x3c
#
#
#
#
#
#
#
#
BUG: sleeping function called from invalid context at mm/slab.c:3034
in_atomic():0, irqs_disabled():1
Stack:
238e5e0c 22331764 00000001 000040d0 00000010 2203bc64 22168d40 00000000
00000001 00000000 00000033 00004001 221663e8 2233117c 00000000 000040d0
2203c1ac 00000000 23ffe608 2237977c 22331764 223797a0 000040d0 00000000
Call Trace:
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<221663e8>] _spin_unlock_irqrestore+0x10/0x5c
[<2203c1ac>] cache_alloc_refill+0x52c/0x668
[<2203c530>] __kmalloc+0xd8/0xe8
[<221661b0>] _spin_lock_irq+0x2c/0x40
[<220b8f14>] __up_write+0x11c/0x1d4
[<22166530>] _spin_unlock_irq+0xc/0x60
[<2203c518>] __kmalloc+0xc0/0xe8
[<22039f34>] do_mmap_pgoff+0x68c/0x9d8
[<22039b6c>] do_mmap_pgoff+0x2c4/0x9d8
[<22039ef4>] do_mmap_pgoff+0x64c/0x9d8
[<220027b4>] sys_mmap+0x88/0x114
[<22025fe8>] down_write+0x1c/0x40
[<221a5b08>] inflate_codes+0x280/0x544
[<22025ff4>] down_write+0x28/0x40
[<220022e8>] work_pending+0x34/0x3c
[<220022e8>] work_pending+0x34/0x3c
#
#
#
#
#
#
# more /proc/partitions
BUG: sleeping function called from invalid context at mm/slab.c:3034
in_atomic():0, irqs_disabled():1
Stack:
23901e40 2237cf9c 00000000 000000d0 00000010 2203bc64 22168d40 00000000
00000001 00000000 00000033 00004001 80641800 2233117c 00000000 000000d0
2203c1ac 00000000 23ffd994 23ffacc0 2237cf9c 23fface4 000000d0 00000000
Call Trace:
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<2203c1ac>] cache_alloc_refill+0x52c/0x668
[<2203bc70>] kmem_cache_alloc+0xa0/0xb0
[<22166530>] _spin_unlock_irq+0xc/0x60
[<220196c0>] do_sigaction+0x1a8/0x1e8
[<2203bc64>] kmem_cache_alloc+0x94/0xb0
[<22047f1c>] getname+0x24/0xc0
[<22166124>] _spin_lock+0x1c/0x30
[<22166440>] _spin_unlock+0xc/0x50
[<22166530>] _spin_unlock_irq+0xc/0x60
[<22002574>] sys_execve+0x24/0x9c
[<220022e8>] work_pending+0x34/0x3c
[<220022e8>] work_pending+0x34/0x3c
<< /proc/partitions >>
major minor #blocks name
31 0 768 mtdblock0
31 1 256 mtdblock1
BUG: scheduling while atomic: more/0x7200546f/52
Stack:
2395fda4 2395ff78 00000000 23c3ff1c 00000000 22001dd4 22168de8 2389c1e4
7200546f 00000034 00989680 00000000 2395ff99 00000008 00000003 00000005
00000001 0000001f 2395ff78 00000000 23c3ff1c 00000000 00000000 00000000
Call Trace:
[<22001dd4>] ret_from_intr+0x1c/0x40
31 2 256 mtdblock2
31 3 128 mtdblock3
31 4 4096 mtdblock4
31 5 1024 mtdblock5
31 6 9216 mtdblock6
31 7 1424 mtdblock7
#
John Williams wrote:
Hi Jim,
These things are tricky to track down - I'm working to clear my desk
so I can get some quality tyime on it. Stay tuned.
John
Jim Van Vorst wrote:
More info:
BUG: scheduling while atomic: more/0x7200546f/101
Stack:
239afd20 00000001 00000018 239afefc 00000ff9 22001cb4 22155cc0
238698f0
7200546f 00000065 00989680 00000000 239ae000 00000008 00000074
0000000a
00000001 00000018 239afefc 00000ff9 2397fec8 00000001 00000000
00000000
Call Trace:
[<22001cb4>] ret_from_intr+0x1c/0x40
I can get this with thttpd as well with:
while [ 1 ]; do curl http://[ipaddress] > /dev/null; done
yields
BUG: scheduling while atomic: thttpd/0xfff90000/46
Stack:
2389ba30 00000001 00000016 00000000 00000005 22001cb4 22155cc0
23869b50
fff90000 0000002e 00989680 00000019 2389a000 00000008 2389ffa8
00000009
00000001 00000016 00000000 00000005 2389c0f4 2389c018 23894fac
00000000
Call Trace:
[<22001cb4>] ret_from_intr+0x1c/0x40
[<22000000>] _start+0x0/0x50
[<220ea494>] skb_release_data+0x88/0xf4
[<220ea494>] skb_release_data+0x88/0xf4
[<220ea260>] kfree_skbmem+0x84/0xf0
[<220ea1e8>] kfree_skbmem+0xc/0xf0
[<2211b0a0>] tcp_cong_avoid+0x14/0x38
[<220ea1e8>] kfree_skbmem+0xc/0xf0
[<220094fc>] __call_console_drivers+0x64/0x88
[<2200ed70>] __do_softirq+0x28/0x3c
[<220095b8>] _call_console_drivers+0x98/0xb0
[<22026488>] handle_IRQ_event+0x5c/0xc8
[<220aeb80>] vscnprintf+0xc/0x38
[<220ae8c0>] vsnprintf+0x37c/0x630
[<22009904>] release_console_sem+0x110/0x2b0
[<22009c98>] vprintk+0x1d0/0x3b8
[<22009b30>] vprintk+0x68/0x3b8
[<22001728>] do_IRQ+0x40/0x54
[<22009ea0>] printk+0x20/0x34
[<220aec78>] sprintf+0x28/0x3c
[<22001cb4>] ret_from_intr+0x1c/0x40
[<220055f4>] scheduler_tick+0x18/0xa8
Reverting to the 2.4 kernel doesn't produce these messages, but I
think that's just because
the checking isn't in there. It still barfs, but silently.
This is on a microblaze spartan3E 1600.
Any ideas?
thanks,
jim
Jim Van Vorst wrote:
I get this a lot as well:
# more /proc/partitions
<< /proc/partitions >>
major minor #blocks name
31 0 768 mtdblock0
31 1 256 mtdblock1
31 2 256 mtdblock2
31 3 128 mtdblock3
31 4 4096 mtdblock4
31 5 1024 mtdblock5
31 6 BUG: scheduling while atomic: sh/0x00000008/47
Stack:
23effc08 2200ed08 23e9140c 00000000 00000000 22001c54 22161ca0
23c9d8ec
00000008 0000002f 01c9c380 0000000e 23efe000 00000008 00000000
00000000
23efffbd 23e9140c 00000000 00000000 2397ff1c 00000000 00000000
23e91c54
Call Trace: [<2200ed08>] [<22001c54>] [<2215daa4>] [<2200ed08>]
[<220016b4>]
9216 mtdblock6
31 7 1424 mtdblock7
I then tried enabling CONFIG_PREEMPT:
# more /proc/partitions
<< /proc/partitions >>
maBUG: scheduling while atomic: more/0x7200546f/54
Stack:
238efd34 00000000 2397ff1c 00000000 22001758 22001dd4 2217dcb0
238818f0
7200546f 00000036 221b9bf0 00000000 00000008 238ee670 238ee474
0000001b
00000000 238eff78 00000000 2397ff1c 00000000 00000000 00000000
238efe24
Call Trace: [<22001758>] [<22001dd4>]
jor minor #blocks name
31 0 768 mtdblock0
31 1 BUG: scheduling while atomic: more/0x7200546f/54
Stack:
238efda0 00000000 2397ff1c 00000000 22001758 22001dd4 2217dcb0
238818f0
7200546f 00000036 00989680 00000000 00000008 00000020 00000005
00000001
0000000f 238eff78 00000000 2397ff1c 00000000 00000000 00000000
238efe90
Call Trace: [<22001758>] [<22001dd4>]
256 mtdblock1
31 2 256 mtdblock2
31 3 128 mtdblock3
31 4 4096 mtdblock4
31 5 1024 mtdblock5
31 6 9216 mtdblock6
31 7 1424 mtdblock7
Woohoo! Crashes in more instead of sh...
I don't get these all the time but it's very easy to replicate.
Sometimes my board keeps going, sometimes it freezes.
It's not just more or cat. Basically any command will do it.
I don't remember getting these with the 2.4 kernel.
John Williams wrote:
Hi Chun Yeow,
Thanks for the report - we'll look into it and let you know via
the list.
Thanks again,
John
Yeoh Chun Yeow wrote:
Dear all,
I compile the 2.6 kernel in the petalogix distribution. My file
system is in romfs format.
I have found "BUG: scheduling while atomic: sh/0x00000008/43" in
my kernel execution.
BUG: scheduling while atomic: sh/0x00000008/43
Stack:
27efeac4 27ece5cc 245d1d20 00000001 0000005b 24001ed4 2418a0e4
244ea1c4
00000008 0000002b 0ba0f600 27efea30 00000008 245d15e0 245d15e0
2459e000
27ece5cc 245d1d20 00000001 0000005b 27effc30 00000000 00000000
27efebb4
Call Trace:
[<24001ed4>] ret_from_intr+0x1c/0x40
After I enable in CONFIG_PREEMPT, thing get better.
But, now when I doing the ping, the following bugs occur:
bytes from 199.20.6.174 <http://199.20.6.174>: icmp_BUG:
scheduling while atomic: ping/0x00000002/62
Stack:
2465fc14 27cb28b0 000000c0 00000000 27d1e120 241a7f9c 241ab0a8
27d1b1d8
00000002 0000003e 2465e000 000000a2 240166c0 7fffffff 00000000
2465fc8c
2465fce0 2465fd18 00000000 00000000 27cb28b0 000000c0 00000000
2411b36c
Call Trace:
What is the reason behind that? Any ideas?
Please advice. Thanks
regards,
chun yeow
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/