linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Errors and later panics in 2.6.0-test11.
@ 2003-12-03 13:17 David Martínez Moreno
  2003-12-03 13:31 ` William Lee Irwin III
  2003-12-03 15:59 ` Linus Torvalds
  0 siblings, 2 replies; 24+ messages in thread
From: David Martínez Moreno @ 2003-12-03 13:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: ender, clubinfo.servers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a day or
so under a web/FTP server load, the kernel starts to spit messages:

Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
Dec  2 22:07:25 ulises kernel: flags:0x0102002c mapping:d50c8a28 mapped:0 count:1
Dec  2 22:07:25 ulises kernel: Backtrace:
Dec  2 22:07:25 ulises kernel: Call Trace:
Dec  2 22:07:25 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec  2 22:07:25 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec  2 22:07:25 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec  2 22:07:25 ulises kernel:  [find_get_page+26/37] find_get_page+0x1a/0x25
Dec  2 22:07:25 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec  2 22:07:25 ulises kernel:  [do_wp_page+168/674] do_wp_page+0xa8/0x2a2
Dec  2 22:07:25 ulises kernel:  [handle_mm_fault+293/308] handle_mm_fault+0x125/0x134
Dec  2 22:07:25 ulises kernel:  [do_page_fault+288/1264] do_page_fault+0x120/0x4f0
Dec  2 22:07:25 ulises kernel:  [dentry_open+246/334] dentry_open+0xf6/0x14e
Dec  2 22:07:25 ulises kernel:  [filp_open+98/100] filp_open+0x62/0x64
Dec  2 22:07:25 ulises kernel:  [do_fcntl+188/394] do_fcntl+0xbc/0x18a
Dec  2 22:07:25 ulises kernel:  [sys_fcntl64+87/149] sys_fcntl64+0x57/0x95
Dec  2 22:07:25 ulises kernel:  [do_page_fault+0/1264] do_page_fault+0x0/0x4f0
Dec  2 22:07:25 ulises kernel:  [error_code+45/56] error_code+0x2d/0x38
Dec  2 22:07:25 ulises kernel:
Dec  2 22:07:25 ulises kernel: Trying to fix it up, but a reboot is needed
Dec  2 22:07:28 ulises kernel: Bad page state at prep_new_page
Dec  2 22:07:28 ulises kernel: flags:0x0102002c mapping:d348b8a8 mapped:0 count:1
Dec  2 22:07:28 ulises kernel: Backtrace:
Dec  2 22:07:28 ulises kernel: Call Trace:
Dec  2 22:07:28 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec  2 22:07:28 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec  2 22:07:28 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec  2 22:07:28 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec  2 22:07:28 ulises kernel:  [__get_free_pages+31/65] __get_free_pages+0x1f/0x41
Dec  2 22:07:28 ulises kernel:  [__pollwait+133/198] __pollwait+0x85/0xc6
Dec  2 22:07:28 ulises kernel:  [datagram_poll+43/202] datagram_poll+0x2b/0xca
Dec  2 22:07:28 ulises kernel:  [sock_poll+41/49] sock_poll+0x29/0x31
Dec  2 22:07:28 ulises kernel:  [do_pollfd+140/144] do_pollfd+0x8c/0x90
Dec  2 22:07:28 ulises kernel:  [do_poll+97/192] do_poll+0x61/0xc0
Dec  2 22:07:28 ulises kernel:  [sys_poll+405/651] sys_poll+0x195/0x28b
Dec  2 22:07:28 ulises kernel:  [__pollwait+0/198] __pollwait+0x0/0xc6
Dec  2 22:07:28 ulises kernel:  [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71
Dec  2 22:07:28 ulises kernel:
Dec  2 22:07:28 ulises kernel: Trying to fix it up, but a reboot is needed
Dec  2 22:07:45 ulises kernel: Bad page state at prep_new_page
Dec  2 22:07:45 ulises kernel: flags:0x0102002c mapping:d348b8a8 mapped:0 count:1
Dec  2 22:07:45 ulises kernel: Backtrace:
Dec  2 22:07:45 ulises kernel: Call Trace:
Dec  2 22:07:45 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec  2 22:07:45 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec  2 22:07:45 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec  2 22:07:45 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec  2 22:07:45 ulises kernel:  [do_wp_page+168/674] do_wp_page+0xa8/0x2a2
Dec  2 22:07:45 ulises kernel:  [handle_mm_fault+293/308] handle_mm_fault+0x125/0x134
Dec  2 22:07:45 ulises kernel:  [do_page_fault+288/1264] do_page_fault+0x120/0x4f0
Dec  2 22:07:45 ulises kernel:  [sock_destroy_inode+27/31] sock_destroy_inode+0x1b/0x1f
Dec  2 22:07:45 ulises kernel:  [destroy_inode+53/80] destroy_inode+0x35/0x50
Dec  2 22:07:45 ulises kernel:  [iput+85/111] iput+0x55/0x6f
Dec  2 22:07:45 ulises kernel:  [dput+210/347] dput+0xd2/0x15b
Dec  2 22:07:45 ulises kernel:  [__fput+121/188] __fput+0x79/0xbc
Dec  2 22:07:45 ulises kernel:  [sys_setresuid+227/369] sys_setresuid+0xe3/0x171
Dec  2 22:07:45 ulises kernel:  [do_page_fault+0/1264] do_page_fault+0x0/0x4f0
Dec  2 22:07:45 ulises kernel:  [error_code+45/56] error_code+0x2d/0x38
Dec  2 22:07:45 ulises kernel:
Dec  2 22:07:45 ulises kernel: Trying to fix it up, but a reboot is needed
Dec  2 22:07:56 ulises kernel: Bad page state at prep_new_page
Dec  2 22:07:56 ulises kernel: flags:0x0102002c mapping:d50c8a28 mapped:0 count:1
Dec  2 22:07:56 ulises kernel: Backtrace:
Dec  2 22:07:56 ulises kernel: Call Trace:
Dec  2 22:07:56 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec  2 22:07:56 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec  2 22:07:56 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec  2 22:07:56 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec  2 22:07:56 ulises kernel:  [do_wp_page+168/674] do_wp_page+0xa8/0x2a2
Dec  2 22:07:56 ulises kernel:  [handle_mm_fault+293/308] handle_mm_fault+0x125/0x134
Dec  2 22:07:56 ulises kernel:  [do_page_fault+288/1264] do_page_fault+0x120/0x4f0
Dec  2 22:07:56 ulises kernel:  [dentry_open+246/334] dentry_open+0xf6/0x14e
Dec  2 22:07:56 ulises kernel:  [filp_open+98/100] filp_open+0x62/0x64
Dec  2 22:07:56 ulises kernel:  [sys_open+126/139] sys_open+0x7e/0x8b
Dec  2 22:07:56 ulises kernel:  [do_page_fault+0/1264] do_page_fault+0x0/0x4f0
Dec  2 22:07:56 ulises kernel:  [error_code+45/56] error_code+0x2d/0x38
Dec  2 22:07:56 ulises kernel:
Dec  2 22:07:56 ulises kernel: Trying to fix it up, but a reboot is needed
[...]

	After that, probably due to these errors, the kernel starts to panic:

Dec  2 22:11:28 ulises kernel: Bad page state at prep_new_page
Dec  2 22:11:28 ulises kernel: flags:0x0102002c mapping:d50c8a28 mapped:0 count:1
Dec  2 22:11:28 ulises kernel: Backtrace:
Dec  2 22:11:28 ulises kernel: Call Trace:
Dec  2 22:11:28 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec  2 22:11:28 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec  2 22:11:28 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec  2 22:11:28 ulises kernel:  [__alloc_pages+331/788] __alloc_pages+0x14b/0x314
Dec  2 22:11:28 ulises kernel:  [do_page_cache_readahead+221/265] do_page_cache_readahead+0xdd/0x109
Dec  2 22:11:28 ulises kernel:  [kfree_skbmem+36/44] kfree_skbmem+0x24/0x2c
Dec  2 22:11:28 ulises kernel:  [page_cache_readahead+190/335] page_cache_readahead+0xbe/0x14f
Dec  2 22:11:28 ulises kernel:  [do_generic_mapping_read+186/927] do_generic_mapping_read+0xba/0x39f
Dec  2 22:11:28 ulises kernel:  [file_read_actor+0/234] file_read_actor+0x0/0xea
Dec  2 22:11:28 ulises kernel:  [__generic_file_aio_read+444/494] __generic_file_aio_read+0x1bc/0x1ee
Dec  2 22:11:28 ulises kernel:  [file_read_actor+0/234] file_read_actor+0x0/0xea
Dec  2 22:11:28 ulises kernel:  [xfs_read+346/620] xfs_read+0x15a/0x26c
Dec  2 22:11:28 ulises kernel:  [linvfs_read+141/159] linvfs_read+0x8d/0x9f
Dec  2 22:11:28 ulises kernel:  [do_sync_read+139/183] do_sync_read+0x8b/0xb7
Dec  2 22:11:28 ulises kernel:  [inet_setsockopt+54/58] inet_setsockopt+0x36/0x3a
Dec  2 22:11:28 ulises kernel:  [sys_setsockopt+120/178] sys_setsockopt+0x78/0xb2
Dec  2 22:11:28 ulises kernel:  [vfs_read+176/281] vfs_read+0xb0/0x119
Dec  2 22:11:28 ulises kernel:  [sys_read+66/99] sys_read+0x42/0x63
Dec  2 22:11:28 ulises kernel:  [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71
Dec  2 22:11:28 ulises kernel:
Dec  2 22:11:28 ulises kernel: Trying to fix it up, but a reboot is needed
Dec  2 22:11:29 ulises kernel: ------------[ cut here ]------------
Dec  2 22:11:29 ulises kernel: kernel BUG at mm/vmscan.c:280!
Dec  2 22:11:29 ulises kernel: invalid operand: 0000 [#2]
Dec  2 22:11:29 ulises kernel: CPU:    0
Dec  2 22:11:29 ulises kernel: EIP:    0060:[shrink_list+1061/1099]    Not tainted
Dec  2 22:11:29 ulises kernel: EFLAGS: 00010202
Dec  2 22:11:29 ulises kernel: EIP is at shrink_list+0x425/0x44b
Dec  2 22:11:29 ulises kernel: eax: 01010041   ebx: d5d57b34   ecx: c13588a0   edx: c104b7c0
Dec  2 22:11:29 ulises kernel: esi: c104b7a8   edi: ce393cfc   ebp: c0463b0c   esp: ce393c38
Dec  2 22:11:29 ulises kernel: ds: 007b   es: 007b   ss: 0068
Dec  2 22:11:29 ulises kernel: Process proftpd (pid: 30881, threadinfo=ce392000 task=d3a43900)
Dec  2 22:11:29 ulises kernel: Stack: 00000000 00000000 00000000 00000000 00000000 00000000 ce393c50 ce393c50
Dec  2 22:11:29 ulises kernel:        0000f1ce 00000000 00000000 00000050 0000f1ce c012d871 dea9a5d8 0000f1ce
Dec  2 22:11:29 ulises kernel:        00000000 00000001 c012d5f9 c13877c8 c13877c8 00000000 c026ecea dea9a5d8
Dec  2 22:11:29 ulises kernel: Call Trace:
Dec  2 22:11:29 ulises kernel:  [find_or_create_page+33/170] find_or_create_page+0x21/0xaa
Dec  2 22:11:29 ulises kernel:  [unlock_page+21/82] unlock_page+0x15/0x52
Dec  2 22:11:29 ulises kernel:  [_pagebuf_lookup_pages+725/941] _pagebuf_lookup_pages+0x2d5/0x3ad
Dec  2 22:11:29 ulises kernel:  [__pagevec_lru_add_active+150/165] __pagevec_lru_add_active+0x96/0xa5
Dec  2 22:11:29 ulises kernel:  [shrink_cache+353/637] shrink_cache+0x161/0x27d
Dec  2 22:11:29 ulises kernel:  [xfs_da_buf_make+508/513] xfs_da_buf_make+0x1fc/0x201
Dec  2 22:11:29 ulises kernel:  [xfs_da_do_buf+738/2470] xfs_da_do_buf+0x2e2/0x9a6
Dec  2 22:11:29 ulises kernel:  [shrink_caches+167/189] shrink_caches+0xa7/0xbd
Dec  2 22:11:29 ulises kernel:  [try_to_free_pages+159/351] try_to_free_pages+0x9f/0x15f
Dec  2 22:11:29 ulises kernel:  [__alloc_pages+469/788] __alloc_pages+0x1d5/0x314
Dec  2 22:11:29 ulises kernel:  [__get_free_pages+31/65] __get_free_pages+0x1f/0x41
Dec  2 22:11:29 ulises kernel:  [__pollwait+133/198] __pollwait+0x85/0xc6
Dec  2 22:11:29 ulises kernel:  [tcp_poll+52/346] tcp_poll+0x34/0x15a
Dec  2 22:11:29 ulises kernel:  [sock_poll+41/49] sock_poll+0x29/0x31
Dec  2 22:11:29 ulises kernel:  [do_select+582/675] do_select+0x246/0x2a3
Dec  2 22:11:29 ulises kernel:  [__pollwait+0/198] __pollwait+0x0/0xc6
Dec  2 22:11:29 ulises kernel:  [sys_select+711/1251] sys_select+0x2c7/0x4e3
Dec  2 22:11:29 ulises kernel:  [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71
Dec  2 22:11:29 ulises kernel:
Dec  2 22:11:29 ulises kernel: Code: 0f 0b 18 01 ca cd 40 c0 e9 7c fc ff ff 8b 84 24 b0 00 00 00
Dec  2 22:11:32 ulises kernel:  ------------[ cut here ]------------
Dec  2 22:11:32 ulises kernel: kernel BUG at mm/vmscan.c:280!
Dec  2 22:11:32 ulises kernel: invalid operand: 0000 [#3]
Dec  2 22:11:32 ulises kernel: CPU:    0
Dec  2 22:11:32 ulises kernel: EIP:    0060:[shrink_list+1061/1099]    Not tainted
Dec  2 22:11:32 ulises kernel: EFLAGS: 00010202
Dec  2 22:11:32 ulises kernel: EIP is at shrink_list+0x425/0x44b
Dec  2 22:11:32 ulises kernel: eax: 01020049   ebx: 00000000   ecx: c141ae00   edx: c10bc100
Dec  2 22:11:32 ulises kernel: esi: c10bc0e8   edi: d653dcfc   ebp: c0463b0c   esp: d653dc38
Dec  2 22:11:32 ulises kernel: ds: 007b   es: 007b   ss: 0068
Dec  2 22:11:32 ulises kernel: Process proftpd (pid: 30503, threadinfo=d653c000 task=c80ba080)
Dec  2 22:11:32 ulises kernel: Stack: c036608a dffe799c dddd5180 de49e680 00000000 00000000 d653dc50 d653dc50
Dec  2 22:11:32 ulises kernel:        00000000 c036a066 dddd5180 d653dc68 0000012c 00000001 00000001 c0545e90
Dec  2 22:11:32 ulises kernel:        00000000 00000001 00000013 00000980 c04c1380 dfd39ba0 c010b04a 00000292
Dec  2 22:11:32 ulises kernel: Call Trace:
Dec  2 22:11:32 ulises kernel:  [kfree_skbmem+36/44] kfree_skbmem+0x24/0x2c
Dec  2 22:11:32 ulises kernel:  [net_tx_action+58/172] net_tx_action+0x3a/0xac
Dec  2 22:11:32 ulises kernel:  [do_IRQ+196/223] do_IRQ+0xc4/0xdf
Dec  2 22:11:32 ulises kernel:  [start_this_handle+172/688] start_this_handle+0xac/0x2b0
Dec  2 22:11:32 ulises kernel:  [__pagevec_lru_add_active+150/165] __pagevec_lru_add_active+0x96/0xa5
Dec  2 22:11:32 ulises kernel:  [shrink_cache+353/637] shrink_cache+0x161/0x27d
Dec  2 22:11:32 ulises kernel:  [__block_commit_write+136/138] __block_commit_write+0x88/0x8a
Dec  2 22:11:32 ulises kernel:  [__ext3_journal_stop+36/80] __ext3_journal_stop+0x24/0x50
Dec  2 22:11:32 ulises kernel:  [shrink_caches+167/189] shrink_caches+0xa7/0xbd
Dec  2 22:11:32 ulises kernel:  [try_to_free_pages+159/351] try_to_free_pages+0x9f/0x15f
Dec  2 22:11:32 ulises kernel:  [__alloc_pages+469/788] __alloc_pages+0x1d5/0x314
Dec  2 22:11:32 ulises kernel:  [__get_free_pages+31/65] __get_free_pages+0x1f/0x41
Dec  2 22:11:32 ulises kernel:  [__pollwait+133/198] __pollwait+0x85/0xc6
Dec  2 22:11:32 ulises kernel:  [tcp_poll+52/346] tcp_poll+0x34/0x15a
Dec  2 22:11:32 ulises kernel:  [sock_poll+41/49] sock_poll+0x29/0x31
Dec  2 22:11:32 ulises kernel:  [do_select+582/675] do_select+0x246/0x2a3
Dec  2 22:11:32 ulises kernel:  [__pollwait+0/198] __pollwait+0x0/0xc6
Dec  2 22:11:32 ulises kernel:  [sys_select+711/1251] sys_select+0x2c7/0x4e3
Dec  2 22:11:32 ulises kernel:  [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71
Dec  2 22:11:32 ulises kernel:
Dec  2 22:11:32 ulises kernel: Code: 0f 0b 18 01 ca cd 40 c0 e9 7c fc ff ff 8b 84 24 b0 00 00 00
[...]

	This machine is Pentium IV with 512 MB of RAM, IDE & SATA disks, RAID 0 over the
2 SATA disks, vanilla 2.6.0-test11, Debian testing, apache2 and proftpd.

	And yes :-) it's compiled from a fresh cleaned tree.

	Any ideas? Should I switch to 2.6.0-test10-mm1, in case that will be
more stable?

	Thanks in advance,


		Ender.
- -- 
Another C-3PO: E chu ta!
C-3PO: How rude!
		-- C-3PO (The Empire Strikes Back)
- --
Servicios de red - Network services
Centro de Comunicaciones CSIC/RedIRIS
Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.49.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zeJeWs/EhA1iABsRAv1dAKCqjUn0lzLiYlpUuh6Wm9G20Qt2iwCeJRaL
rNXUG4kfKEIfm0DVyIsMez8=
=D0lV
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 13:17 Errors and later panics in 2.6.0-test11 David Martínez Moreno
@ 2003-12-03 13:31 ` William Lee Irwin III
  2003-12-03 16:49   ` David Martínez Moreno
  2003-12-03 15:59 ` Linus Torvalds
  1 sibling, 1 reply; 24+ messages in thread
From: William Lee Irwin III @ 2003-12-03 13:31 UTC (permalink / raw)
  To: David Mart?nez Moreno; +Cc: linux-kernel, clubinfo.servers

On Wed, Dec 03, 2003 at 02:17:18PM +0100, David Mart?nez Moreno wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a day or
> so under a web/FTP server load, the kernel starts to spit messages:
> Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
> Dec  2 22:07:25 ulises kernel: flags:0x0102002c mapping:d50c8a28 mapped:0 count:1
> Dec  2 22:07:25 ulises kernel: Backtrace:
> Dec  2 22:07:25 ulises kernel: Call Trace:
> Dec  2 22:07:25 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
> Dec  2 22:07:25 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
> Dec  2 22:07:25 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108

Someone is freeing pages still in the pagecache.

What filesystem? What .config? Could you try CONFIG_DEBUG_PAGEALLOC?


-- wli

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 13:17 Errors and later panics in 2.6.0-test11 David Martínez Moreno
  2003-12-03 13:31 ` William Lee Irwin III
@ 2003-12-03 15:59 ` Linus Torvalds
  2003-12-03 16:20   ` Jens Axboe
  2003-12-03 16:47   ` David Martínez Moreno
  1 sibling, 2 replies; 24+ messages in thread
From: Linus Torvalds @ 2003-12-03 15:59 UTC (permalink / raw)
  To: David Martínez Moreno
  Cc: Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown



On Wed, 3 Dec 2003, David [iso-8859-15] Martínez Moreno wrote:
>
> 	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a day or
> so under a web/FTP server load, the kernel starts to spit messages:
>
> Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
> [ ... ]
>
> 	This machine is Pentium IV with 512 MB of RAM, IDE & SATA disks, RAID 0 over the
> 2 SATA disks, vanilla 2.6.0-test11, Debian testing, apache2 and proftpd.

Interesting. Another RAID 0 problem report..

Is there any way you can test the same setup _without_ using RAID? We seem
to be narrowing down the current 2.6.x problems to RAID usage, but it
would be good to verify that.

		Linus

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 15:59 ` Linus Torvalds
@ 2003-12-03 16:20   ` Jens Axboe
  2003-12-03 16:26     ` Jens Axboe
                       ` (2 more replies)
  2003-12-03 16:47   ` David Martínez Moreno
  1 sibling, 3 replies; 24+ messages in thread
From: Jens Axboe @ 2003-12-03 16:20 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown

On Wed, Dec 03 2003, Linus Torvalds wrote:
> 
> 
> On Wed, 3 Dec 2003, David [iso-8859-15] Martínez Moreno wrote:
> >
> > 	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a day or
> > so under a web/FTP server load, the kernel starts to spit messages:
> >
> > Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
> > [ ... ]
> >
> > 	This machine is Pentium IV with 512 MB of RAM, IDE & SATA disks, RAID 0 over the
> > 2 SATA disks, vanilla 2.6.0-test11, Debian testing, apache2 and proftpd.
> 
> Interesting. Another RAID 0 problem report..

Hmm did _all_ reports include raid-0, or just "some" raid? I'm looking
at the bio_pair stuff which raid-0 is the only user of, something looks
fishy there.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 16:20   ` Jens Axboe
@ 2003-12-03 16:26     ` Jens Axboe
  2003-12-03 16:51     ` Linus Torvalds
  2003-12-03 20:04     ` Neil Brown
  2 siblings, 0 replies; 24+ messages in thread
From: Jens Axboe @ 2003-12-03 16:26 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown

On Wed, Dec 03 2003, Jens Axboe wrote:
> On Wed, Dec 03 2003, Linus Torvalds wrote:
> > 
> > 
> > On Wed, 3 Dec 2003, David [iso-8859-15] Martínez Moreno wrote:
> > >
> > > 	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a day or
> > > so under a web/FTP server load, the kernel starts to spit messages:
> > >
> > > Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
> > > [ ... ]
> > >
> > > 	This machine is Pentium IV with 512 MB of RAM, IDE & SATA disks, RAID 0 over the
> > > 2 SATA disks, vanilla 2.6.0-test11, Debian testing, apache2 and proftpd.
> > 
> > Interesting. Another RAID 0 problem report..
> 
> Hmm did _all_ reports include raid-0, or just "some" raid? I'm looking
> at the bio_pair stuff which raid-0 is the only user of, something looks
> fishy there.

Looks like some raid-5 and others were involved in other reports, so
that's probably not it.

The bio_pair stuff has a few flaws, but nothing that could bad things to
happen.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 15:59 ` Linus Torvalds
  2003-12-03 16:20   ` Jens Axboe
@ 2003-12-03 16:47   ` David Martínez Moreno
  2003-12-03 17:25     ` Linus Torvalds
  1 sibling, 1 reply; 24+ messages in thread
From: David Martínez Moreno @ 2003-12-03 16:47 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown

[-- Attachment #1: clearsigned data --]
[-- Type: Text/Plain, Size: 4331 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Miércoles, 3 de Diciembre de 2003 16:59, Linus Torvalds escribió:
> On Wed, 3 Dec 2003, David [iso-8859-15] Martínez Moreno wrote:
> > 	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a
> > day or so under a web/FTP server load, the kernel starts to spit
> > messages:
> >
> > Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
> > [ ... ]
> >
> > 	This machine is Pentium IV with 512 MB of RAM, IDE & SATA disks, RAID 0
> > over the 2 SATA disks, vanilla 2.6.0-test11, Debian testing, apache2 and
> > proftpd.
>
> Interesting. Another RAID 0 problem report..
>
> Is there any way you can test the same setup _without_ using RAID? We seem
> to be narrowing down the current 2.6.x problems to RAID usage, but it
> would be good to verify that.
>
> 		Linus

	I've just rebooted about six hours ago, and it's giving panics elsewhere:

[...]
Ending XFS recovery on filesystem: md0 (dev: md0)
b44: eth0: Link is down.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is on for TX and on for RX.
eth0: no IPv6 routers present
Unable to handle kernel paging request at virtual address 00100104
 printing eip:
c012d195
*pde = 00000000
Oops: 0002 [#1]
CPU:    0
EIP:    0060:[<c012d195>]    Not tainted
EFLAGS: 00010286
EIP is at __remove_from_page_cache+0x2d/0x62
eax: 00100100   ebx: c120d5c8   ecx: c120d5d0   edx: 00200200
esi: dbcb1d28   edi: dfdc5e64   ebp: dbcb1d28   esp: dfdc5d8c
ds: 007b   es: 007b   ss: 0068
Process kswapd0 (pid: 8, threadinfo=dfdc4000 task=dfdcacc0)
Stack: dbcb1d2c 0001b18a 00000001 c120d5c8 c0135b56 c120d5c8 00000088 0000001e
       00000001 00000070 00000000 dfdc5db8 dfdc5db8 dfd16000 0000b400 dfdc5e44
       c11632d0 c0463af4 00000002 c0548540 c0134efe 00000000 00000001 c13efaf8
Call Trace:
 [<c0135b56>] shrink_list+0x2af/0x44b
 [<c0134efe>] __pagevec_lru_add+0x84/0x93
 [<c0135e53>] shrink_cache+0x161/0x27d
 [<c0135737>] shrink_slab+0x75/0x153
 [<c01367ac>] balance_pgdat+0x178/0x1f0
 [<c0136936>] kswapd+0x112/0x122
 [<c0119533>] autoremove_wake_function+0x0/0x4f
 [<c0119533>] autoremove_wake_function+0x0/0x4f
 [<c0136824>] kswapd+0x0/0x122
 [<c0106fa5>] kernel_thread_helper+0x5/0xb

Code: 89 50 04 89 02 c7 41 04 00 02 20 00 c7 43 08 00 01 10 00 c7
 Bad page state at prep_new_page
flags:0x0102000c mapping:dbcb1d28 mapped:0 count:2
Backtrace:
Call Trace:
 [<c01306c5>] bad_page+0x5d/0x85
 [<c01309b7>] prep_new_page+0x32/0x51
 [<c0130dd8>] buffered_rmqueue+0xa5/0x108
 [<c0130ee1>] __alloc_pages+0xa6/0x314
 [<c0132a9a>] do_page_cache_readahead+0xdd/0x109
 [<c0362f99>] sock_sendpage+0x61/0x70
 [<c0132b84>] page_cache_readahead+0xbe/0x14f
 [<c012daeb>] do_generic_mapping_read+0xba/0x39f
 [<c012e1c8>] file_send_actor+0x0/0x73
 [<c012e2a3>] generic_file_sendfile+0x68/0x75
 [<c012e1c8>] file_send_actor+0x0/0x73
 [<c0277b72>] xfs_sendfile+0xb8/0x195
 [<c012e1c8>] file_send_actor+0x0/0x73
 [<c0272889>] linvfs_sendfile+0x57/0x5f
 [<c012e1c8>] file_send_actor+0x0/0x73
 [<c0145aab>] do_sendfile+0x1de/0x2b5
 [<c012e1c8>] file_send_actor+0x0/0x73
 [<c0145be6>] sys_sendfile+0x64/0xd0
 [<c0108cd1>] sysenter_past_esp+0x52/0x71

Trying to fix it up, but a reboot is needed
[...more errors...]


	I can rebuild the Debian mirror for not using the RAID and using the SATA 
disks separately, but will be tomorrow, it's a lot of space to move, and I 
need remote intervention.

	Anyway I'd love to know before doing if it will be useful, looking at what 
Jens has said just ten minutes ago about RAIDs 0/5. Will it help to you? Say 
so and I'll go for it.

	I attach the .config, but I think it's nothing strange.

	Regards,


		Ender.
- -- 
And need I remind you that I am naked in the snow...? I
 can't feel any of my extremities, and I mean *any* of them...
		-- Skinner (The League of Extraordinary Gentlemen)
- --
Servicios de red - Network services
Centro de Comunicaciones CSIC/RedIRIS
Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.49.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zhOUWs/EhA1iABsRAoF/AKCT8AmLwTj4EIge67VmL29uTrZFFgCeMZ09
xtvZBp7h53LONzbBPX+45d8=
=FHph
-----END PGP SIGNATURE-----

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 22918 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_EDD=y
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
# CONFIG_PM_DISK is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_RELAXED_AML is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Device Drivers
#

#
# Generic Driver Options
#

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set

#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_DEBUG=y

#
# Protocols
#
# CONFIG_ISAPNP is not set
CONFIG_PNPBIOS=y

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIIMAGE=y
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
CONFIG_BLK_DEV_3W_XXXX_RAID=y
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_MEGARAID is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_ATA_PIIX is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_DM is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
CONFIG_NET_IPGRE=y
# CONFIG_NET_IPGRE_BROADCAST is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
CONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
CONFIG_B44=y
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_ACPI=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=y
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIAPRO is not set

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
CONFIG_AGP_NVIDIA=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_MWAVE is not set
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=256
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_OSSEMUL is not set
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=y
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set

#
# File systems
#
# CONFIG_EXT2_FS is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="iso8859-15"
CONFIG_CIFS=y
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-15"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_DES is not set
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_TWOFISH=y
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 13:31 ` William Lee Irwin III
@ 2003-12-03 16:49   ` David Martínez Moreno
  0 siblings, 0 replies; 24+ messages in thread
From: David Martínez Moreno @ 2003-12-03 16:49 UTC (permalink / raw)
  To: William Lee Irwin III; +Cc: linux-kernel, clubinfo.servers

[-- Attachment #1: clearsigned data --]
[-- Type: Text/Plain, Size: 1981 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Miércoles, 3 de Diciembre de 2003 14:31, William Lee Irwin III escribió:
> On Wed, Dec 03, 2003 at 02:17:18PM +0100, David Mart?nez Moreno wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 	Hello again. I'm testing 2.6.0-test11 in one of my servers. In about a
> > day or so under a web/FTP server load, the kernel starts to spit
> > messages: Dec  2 22:07:25 ulises kernel: Bad page state at prep_new_page
> > Dec  2 22:07:25 ulises kernel: flags:0x0102002c mapping:d50c8a28 mapped:0
> > count:1 Dec  2 22:07:25 ulises kernel: Backtrace:
> > Dec  2 22:07:25 ulises kernel: Call Trace:
> > Dec  2 22:07:25 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
> > Dec  2 22:07:25 ulises kernel:  [prep_new_page+50/81]
> > prep_new_page+0x32/0x51 Dec  2 22:07:25 ulises kernel: 
> > [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
>
> Someone is freeing pages still in the pagecache.
>
> What filesystem? What .config? Could you try CONFIG_DEBUG_PAGEALLOC?

	Ext3 in /, XFS over RAID 0:

ulises:/home# mount
/dev/hda5 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
none on /sys type sysfs (rw)
/dev/hda1 on /boot type ext3 (rw)
/dev/hda6 on /var type ext3 (rw)
/dev/hda8 on /home type ext3 (rw)
/dev/md0 on /mirror type xfs (rw)

	Attached is .config. I'll try to build another kernel with 
CONFIG_DEBUG_PAGEALLOC support enabled today or tomorrow.

	Regards,


		Ender.
- -- 
El conceto es el conceto.
		-- Pazos (Airbag)
- --
Servicios de red - Network services
Centro de Comunicaciones CSIC/RedIRIS
Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.49.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zhQcWs/EhA1iABsRAv7+AKDSTmSrYxYU6y9JhLZZyIXq+SPN/gCgrTH1
dFcP3l+sT4SRVYOZghR8ves=
=ji2Q
-----END PGP SIGNATURE-----

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 22918 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_EDD=y
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
# CONFIG_PM_DISK is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_RELAXED_AML is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Device Drivers
#

#
# Generic Driver Options
#

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set

#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_DEBUG=y

#
# Protocols
#
# CONFIG_ISAPNP is not set
CONFIG_PNPBIOS=y

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIIMAGE=y
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
CONFIG_BLK_DEV_3W_XXXX_RAID=y
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_MEGARAID is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_ATA_PIIX is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_DM is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
CONFIG_NET_IPGRE=y
# CONFIG_NET_IPGRE_BROADCAST is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
CONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
CONFIG_B44=y
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_ACPI=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=y
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIAPRO is not set

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
CONFIG_AGP_NVIDIA=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_MWAVE is not set
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=256
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_OSSEMUL is not set
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=y
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set

#
# File systems
#
# CONFIG_EXT2_FS is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="iso8859-15"
CONFIG_CIFS=y
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-15"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_DES is not set
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_TWOFISH=y
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 16:20   ` Jens Axboe
  2003-12-03 16:26     ` Jens Axboe
@ 2003-12-03 16:51     ` Linus Torvalds
  2003-12-03 17:25       ` Kevin P. Fleming
  2003-12-03 20:09       ` Neil Brown
  2003-12-03 20:04     ` Neil Brown
  2 siblings, 2 replies; 24+ messages in thread
From: Linus Torvalds @ 2003-12-03 16:51 UTC (permalink / raw)
  To: Jens Axboe
  Cc: David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown



On Wed, 3 Dec 2003, Jens Axboe wrote:
> >
> > Interesting. Another RAID 0 problem report..
>
> Hmm did _all_ reports include raid-0, or just "some" raid? I'm looking
> at the bio_pair stuff which raid-0 is the only user of, something looks
> fishy there.

The ones I've seen seem to be raid-0, but Nathan (nathans@sgi.com)
reported problems in RAID-5 under load. I didn't decode the full oops on
that one, but it really looked like a stale "bi" bio that trapped on the
PAGE_ALLOC debug code.

So we may have more than one problem.

		Linus

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 16:47   ` David Martínez Moreno
@ 2003-12-03 17:25     ` Linus Torvalds
  2003-12-04 12:43       ` Jens Axboe
                         ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Linus Torvalds @ 2003-12-03 17:25 UTC (permalink / raw)
  To: David Martínez Moreno
  Cc: Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown



On Wed, 3 Dec 2003, David Martínez Moreno wrote:
>
> 	I've just rebooted about six hours ago, and it's giving panics elsewhere:
>
> [...]
> Ending XFS recovery on filesystem: md0 (dev: md0)
> b44: eth0: Link is down.
> b44: eth0: Link is up at 100 Mbps, full duplex.
> b44: eth0: Flow control is on for TX and on for RX.
> eth0: no IPv6 routers present
> Unable to handle kernel paging request at virtual address 00100104

That's the LIST_POISON stuff: 00100100 is the "bad list pointer". Somebody
tried to remove a page twice.

Doesn't mean a lot - if your "struct page" got corrupted, anything can
happen. Quite possibly it's a double free.

> 	I can rebuild the Debian mirror for not using the RAID and using the SATA
> disks separately, but will be tomorrow, it's a lot of space to move, and I
> need remote intervention.
>
> 	Anyway I'd love to know before doing if it will be useful, looking at what
> Jens has said just ten minutes ago about RAIDs 0/5. Will it help to you? Say
> so and I'll go for it.

It might be more useful to leave it as RAID0, if you're willing to try out
patches to try to debug this. The slab-debugging thing I sent out earlier
is one such patch (but may well cause out-of-memory problems under load),
and possibly the atomic-decrement checker patch (appended). And maybe Jens
and Neil can come up with something..

		Linus

----
===== arch/i386/lib/dec_and_lock.c 1.1 vs edited =====
--- 1.1/arch/i386/lib/dec_and_lock.c	Tue Feb  5 09:40:21 2002
+++ edited/arch/i386/lib/dec_and_lock.c	Sun Nov  2 09:07:53 2003
@@ -19,7 +19,7 @@
 	counter = atomic_read(atomic);
 	newcount = counter-1;

-	if (!newcount)
+	if (newcount <= 0)
 		goto slow_path;

 	asm volatile("lock; cmpxchgl %1,%2"
===== include/asm-i386/atomic.h 1.5 vs edited =====
--- 1.5/include/asm-i386/atomic.h	Mon Aug 18 19:46:23 2003
+++ edited/include/asm-i386/atomic.h	Sun Nov  2 09:40:42 2003
@@ -2,6 +2,8 @@
 #define __ARCH_I386_ATOMIC__

 #include <linux/config.h>
+#include <linux/kernel.h>
+#include <asm/bug.h>

 /*
  * Atomic operations that C can't guarantee us.  Useful for
@@ -136,12 +138,17 @@
  */
 static __inline__ int atomic_dec_and_test(atomic_t *v)
 {
-	unsigned char c;
+	static int count = 2;
+	unsigned char c, neg;

 	__asm__ __volatile__(
-		LOCK "decl %0; sete %1"
-		:"=m" (v->counter), "=qm" (c)
+		LOCK "decl %0; sete %1; sets %2"
+		:"=m" (v->counter), "=qm" (c), "=qm" (neg)
 		:"m" (v->counter) : "memory");
+	if (count && neg) {
+		count--;
+		WARN_ON(neg);
+	}
 	return c != 0;
 }


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 16:51     ` Linus Torvalds
@ 2003-12-03 17:25       ` Kevin P. Fleming
  2003-12-05  3:20         ` Nathan Scott
  2003-12-03 20:09       ` Neil Brown
  1 sibling, 1 reply; 24+ messages in thread
From: Kevin P. Fleming @ 2003-12-03 17:25 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jens Axboe, David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown

Linus Torvalds wrote:

> The ones I've seen seem to be raid-0, but Nathan (nathans@sgi.com)
> reported problems in RAID-5 under load. I didn't decode the full oops on
> that one, but it really looked like a stale "bi" bio that trapped on the
> PAGE_ALLOC debug code.

The problem I reported was also with RAID-5, and I have also found a 
problem similar to Nathan's (probably the same one) by just trying to 
run bonnie++ on an XFS filesystem on DM over RAID-5, even after 
formatting the XFS filesystem to forcibly align everything to RAID-5 
stripes (64K units).


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 16:20   ` Jens Axboe
  2003-12-03 16:26     ` Jens Axboe
  2003-12-03 16:51     ` Linus Torvalds
@ 2003-12-03 20:04     ` Neil Brown
  2003-12-03 20:11       ` Linus Torvalds
  2 siblings, 1 reply; 24+ messages in thread
From: Neil Brown @ 2003-12-03 20:04 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linus Torvalds, David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar

On Wednesday December 3, axboe@suse.de wrote:
> > 
> > Interesting. Another RAID 0 problem report..
> 
> Hmm did _all_ reports include raid-0, or just "some" raid? I'm looking
> at the bio_pair stuff which raid-0 is the only user of, something looks
> fishy there.

I think this is the first raid0 related problem I have seen for a
while.  Others were raid1 and raid5.

Once an array is set up and running there is minimal common code
between the different levels so it is very unlikely to be the same
problem in all three cases.

xfs seems to figure almost as prominantly as raid (the raid1 bug was
ext3), but maybe it's just that xfs over raid is a popular
configuration. 

NeilBrown

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 16:51     ` Linus Torvalds
  2003-12-03 17:25       ` Kevin P. Fleming
@ 2003-12-03 20:09       ` Neil Brown
  2003-12-04  6:39         ` Nathan Scott
  1 sibling, 1 reply; 24+ messages in thread
From: Neil Brown @ 2003-12-03 20:09 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jens Axboe, David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar

On Wednesday December 3, torvalds@osdl.org wrote:
> 
> 
> On Wed, 3 Dec 2003, Jens Axboe wrote:
> > >
> > > Interesting. Another RAID 0 problem report..
> >
> > Hmm did _all_ reports include raid-0, or just "some" raid? I'm looking
> > at the bio_pair stuff which raid-0 is the only user of, something looks
> > fishy there.
> 
> The ones I've seen seem to be raid-0, but Nathan (nathans@sgi.com)
> reported problems in RAID-5 under load. I didn't decode the full oops on
> that one, but it really looked like a stale "bi" bio that trapped on the
> PAGE_ALLOC debug code.
> 

Nathan's had a second oops that turned out to be a bi_next pointer
being bad in a bio that raid5 had just about finished writing out.
So there does seem to be something wrong with bio handling, quite
possibly in raid5.

The only thing I could find was that if raid5 received two overlapping
bios concurrently (or atleast received the second before it had
finished with the first) it could get confused.  I've asked Nathan to
try a patch that BUGs when that happens.

NeilBrown

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 20:04     ` Neil Brown
@ 2003-12-03 20:11       ` Linus Torvalds
  0 siblings, 0 replies; 24+ messages in thread
From: Linus Torvalds @ 2003-12-03 20:11 UTC (permalink / raw)
  To: Neil Brown
  Cc: Jens Axboe, David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar




On Thu, 4 Dec 2003, Neil Brown wrote:
>
> xfs seems to figure almost as prominantly as raid (the raid1 bug was
> ext3), but maybe it's just that xfs over raid is a popular
> configuration.

I suspect that is the case - people seem to be reporting it with other
filesystems too, and it's more likely just a case of "somebody who feels
he needs to set up raid probably is also likely to feel he needs XFS".

That effect is then quite possibly exaggerated by XFS having different IO
patterns than some other loads (ie it is likely that a lot of RAID
developers are themselves using just ext3 and may thus have hit the
"normal" bugs and fixed them already).

		Linus

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 20:09       ` Neil Brown
@ 2003-12-04  6:39         ` Nathan Scott
  0 siblings, 0 replies; 24+ messages in thread
From: Nathan Scott @ 2003-12-04  6:39 UTC (permalink / raw)
  To: Neil Brown
  Cc: Linus Torvalds, Jens Axboe, David Martínez Moreno,
	Kernel Mailing List, clubinfo.servers, Ingo Molnar

On Thu, Dec 04, 2003 at 07:09:10AM +1100, Neil Brown wrote:
> On Wednesday December 3, torvalds@osdl.org wrote:
> > 
> > 
> > On Wed, 3 Dec 2003, Jens Axboe wrote:
> > > >
> > > > Interesting. Another RAID 0 problem report..
> > >
> > > Hmm did _all_ reports include raid-0, or just "some" raid? I'm looking
> > > at the bio_pair stuff which raid-0 is the only user of, something looks
> > > fishy there.
> > 
> > The ones I've seen seem to be raid-0, but Nathan (nathans@sgi.com)
> > reported problems in RAID-5 under load. I didn't decode the full oops on
> > that one, but it really looked like a stale "bi" bio that trapped on the
> > PAGE_ALLOC debug code.
> > 
> 
> Nathan's had a second oops that turned out to be a bi_next pointer
> being bad in a bio that raid5 had just about finished writing out.
> So there does seem to be something wrong with bio handling, quite
> possibly in raid5.
> 
> The only thing I could find was that if raid5 received two overlapping
> bios concurrently (or atleast received the second before it had
> finished with the first) it could get confused.  I've asked Nathan to
> try a patch that BUGs when that happens.

I haven't tripped the bug so far today, although have been
running with page-sized fs blocksize so far - perhaps that
is implicated, and makes it less likely to trigger (when I
say "the bug" there, I mean neither the panic, nor the new
BUG_ON(); I'll revert back to smaller block sizes next).

That error path bio_put issue you spotted in XFS, Neil, I
think is a valid problem - I'm not sure that is reachable
code in practice (possibly overly defensive XFS bio code),
I'll go investigate that some more.

cheers.

-- 
Nathan

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 17:25     ` Linus Torvalds
@ 2003-12-04 12:43       ` Jens Axboe
  2003-12-04 14:07         ` Jens Axboe
  2003-12-04 12:53       ` David Martínez Moreno
  2003-12-12 18:38       ` David Martínez Moreno
  2 siblings, 1 reply; 24+ messages in thread
From: Jens Axboe @ 2003-12-04 12:43 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown

On Wed, Dec 03 2003, Linus Torvalds wrote:
> 
> 
> On Wed, 3 Dec 2003, David Martínez Moreno wrote:
> >
> > 	I've just rebooted about six hours ago, and it's giving panics elsewhere:
> >
> > [...]
> > Ending XFS recovery on filesystem: md0 (dev: md0)
> > b44: eth0: Link is down.
> > b44: eth0: Link is up at 100 Mbps, full duplex.
> > b44: eth0: Flow control is on for TX and on for RX.
> > eth0: no IPv6 routers present
> > Unable to handle kernel paging request at virtual address 00100104
> 
> That's the LIST_POISON stuff: 00100100 is the "bad list pointer". Somebody
> tried to remove a page twice.
> 
> Doesn't mean a lot - if your "struct page" got corrupted, anything can
> happen. Quite possibly it's a double free.
> 
> > 	I can rebuild the Debian mirror for not using the RAID and using the SATA
> > disks separately, but will be tomorrow, it's a lot of space to move, and I
> > need remote intervention.
> >
> > 	Anyway I'd love to know before doing if it will be useful, looking at what
> > Jens has said just ten minutes ago about RAIDs 0/5. Will it help to you? Say
> > so and I'll go for it.
> 
> It might be more useful to leave it as RAID0, if you're willing to try out
> patches to try to debug this. The slab-debugging thing I sent out earlier
> is one such patch (but may well cause out-of-memory problems under load),
> and possibly the atomic-decrement checker patch (appended). And maybe Jens
> and Neil can come up with something..

I can reproduce on raid5 with linear dm on top (using XFS). I need to
kill the slab and memory debugging, I've put some bio debugging in there
instead (the memory debugging interferes with it). It's definitely a bio
use after free case, clone_endio() ends up with a freed bio.

Program received signal SIGEMT, Emulation trap.
0xc02dd454 in handle_stripe (sh=0xc17cf630) at drivers/md/raid5.c:1009
1009                                        wbi = wbi2;
(gdb) bt
#0  0xc02dd454 in handle_stripe (sh=0xc17cf630) at drivers/md/raid5.c:1009
#1  0xc02de31f in raid5d (mddev=0xdfd2d200) at drivers/md/raid5.c:1436
#2  0xc02e675a in md_thread (arg=0xdffdc1a0) at drivers/md/md.c:2692
#3  0xc010752d in kernel_thread_helper () at arch/i386/kernel/process.c:226

wbi (dev->written) has already been freed by someone else.

My puny 512MB test box cannot use your slab-debug patch :). The
atomic-checker didn't catch anything.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 17:25     ` Linus Torvalds
  2003-12-04 12:43       ` Jens Axboe
@ 2003-12-04 12:53       ` David Martínez Moreno
  2003-12-12 18:38       ` David Martínez Moreno
  2 siblings, 0 replies; 24+ messages in thread
From: David Martínez Moreno @ 2003-12-04 12:53 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown, ender

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Miércoles, 3 de Diciembre de 2003 18:25, Linus Torvalds escribió:
> It might be more useful to leave it as RAID0, if you're willing to try out
> patches to try to debug this. The slab-debugging thing I sent out earlier
> is one such patch (but may well cause out-of-memory problems under load),
> and possibly the atomic-decrement checker patch (appended). And maybe Jens
> and Neil can come up with something..

	Ok, Linus, I've rebooted the server with your patch applied. It'll be very 
easy to check. People are hitting all the time the archive, downloading the 
Debian CD images, so in several hours I'll tell you the result.

	Thanks in advance,


		Ender.

> ===== arch/i386/lib/dec_and_lock.c 1.1 vs edited =====
> --- 1.1/arch/i386/lib/dec_and_lock.c	Tue Feb  5 09:40:21 2002
> +++ edited/arch/i386/lib/dec_and_lock.c	Sun Nov  2 09:07:53 2003
> @@ -19,7 +19,7 @@
>  	counter = atomic_read(atomic);
>  	newcount = counter-1;
>
> -	if (!newcount)
> +	if (newcount <= 0)
>  		goto slow_path;
>
>  	asm volatile("lock; cmpxchgl %1,%2"
> ===== include/asm-i386/atomic.h 1.5 vs edited =====
> --- 1.5/include/asm-i386/atomic.h	Mon Aug 18 19:46:23 2003
> +++ edited/include/asm-i386/atomic.h	Sun Nov  2 09:40:42 2003
> @@ -2,6 +2,8 @@
>  #define __ARCH_I386_ATOMIC__
>
>  #include <linux/config.h>
> +#include <linux/kernel.h>
> +#include <asm/bug.h>
>
>  /*
>   * Atomic operations that C can't guarantee us.  Useful for
> @@ -136,12 +138,17 @@
>   */
>  static __inline__ int atomic_dec_and_test(atomic_t *v)
>  {
> -	unsigned char c;
> +	static int count = 2;
> +	unsigned char c, neg;
>
>  	__asm__ __volatile__(
> -		LOCK "decl %0; sete %1"
> -		:"=m" (v->counter), "=qm" (c)
> +		LOCK "decl %0; sete %1; sets %2"
> +		:"=m" (v->counter), "=qm" (c), "=qm" (neg)
>
>  		:"m" (v->counter) : "memory");
>
> +	if (count && neg) {
> +		count--;
> +		WARN_ON(neg);
> +	}
>  	return c != 0;
>  }

- -- 
Oh, I saw...Very American. Fire enough bullets and hope
 they hit the target!
		-- Allan Quatermain (The League of Extraordinary Gentlemen)
- --
Servicios de red - Network services
Centro de Comunicaciones CSIC/RedIRIS
Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.49.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zy5eWs/EhA1iABsRAslYAKDP9AbmxeYkYMX1VDMbyQvLNhJzEQCgslrF
ZHEPuaAf52qTJ+hfOwZETIQ=
=VmD7
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-04 12:43       ` Jens Axboe
@ 2003-12-04 14:07         ` Jens Axboe
  2003-12-04 14:14           ` Jens Axboe
  2003-12-05  3:07           ` Neil Brown
  0 siblings, 2 replies; 24+ messages in thread
From: Jens Axboe @ 2003-12-04 14:07 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown

On Thu, Dec 04 2003, Jens Axboe wrote:
> On Wed, Dec 03 2003, Linus Torvalds wrote:
> > 
> > 
> > On Wed, 3 Dec 2003, David Martínez Moreno wrote:
> > >
> > > 	I've just rebooted about six hours ago, and it's giving panics elsewhere:
> > >
> > > [...]
> > > Ending XFS recovery on filesystem: md0 (dev: md0)
> > > b44: eth0: Link is down.
> > > b44: eth0: Link is up at 100 Mbps, full duplex.
> > > b44: eth0: Flow control is on for TX and on for RX.
> > > eth0: no IPv6 routers present
> > > Unable to handle kernel paging request at virtual address 00100104
> > 
> > That's the LIST_POISON stuff: 00100100 is the "bad list pointer". Somebody
> > tried to remove a page twice.
> > 
> > Doesn't mean a lot - if your "struct page" got corrupted, anything can
> > happen. Quite possibly it's a double free.
> > 
> > > 	I can rebuild the Debian mirror for not using the RAID and using the SATA
> > > disks separately, but will be tomorrow, it's a lot of space to move, and I
> > > need remote intervention.
> > >
> > > 	Anyway I'd love to know before doing if it will be useful, looking at what
> > > Jens has said just ten minutes ago about RAIDs 0/5. Will it help to you? Say
> > > so and I'll go for it.
> > 
> > It might be more useful to leave it as RAID0, if you're willing to try out
> > patches to try to debug this. The slab-debugging thing I sent out earlier
> > is one such patch (but may well cause out-of-memory problems under load),
> > and possibly the atomic-decrement checker patch (appended). And maybe Jens
> > and Neil can come up with something..
> 
> I can reproduce on raid5 with linear dm on top (using XFS). I need to
> kill the slab and memory debugging, I've put some bio debugging in there
> instead (the memory debugging interferes with it). It's definitely a bio
> use after free case, clone_endio() ends up with a freed bio.
> 
> Program received signal SIGEMT, Emulation trap.
> 0xc02dd454 in handle_stripe (sh=0xc17cf630) at drivers/md/raid5.c:1009
> 1009                                        wbi = wbi2;
> (gdb) bt
> #0  0xc02dd454 in handle_stripe (sh=0xc17cf630) at drivers/md/raid5.c:1009
> #1  0xc02de31f in raid5d (mddev=0xdfd2d200) at drivers/md/raid5.c:1436
> #2  0xc02e675a in md_thread (arg=0xdffdc1a0) at drivers/md/md.c:2692
> #3  0xc010752d in kernel_thread_helper () at arch/i386/kernel/process.c:226
> 
> wbi (dev->written) has already been freed by someone else.
> 
> My puny 512MB test box cannot use your slab-debug patch :). The
> atomic-checker didn't catch anything.

I can just as easily reproduce with ext2, so I don't think XFS has
anything to do with it. This is still raid5 with dm linear on top.

(gdb) bt
#0  0x0b10dead in ?? ()
#1  0xc0170e25 in bio_endio (bio=0xda37fae0, bytes_done=0, error=0)
    at fs/bio.c:689
#2  0xc02e8a0d in clone_endio (bio=0xda38c120, done=7168, error=0)
    at drivers/md/dm.c:266
#3  0xc02dd78c in handle_stripe (sh=0xdfc18de0) at drivers/md/raid5.c:1209
#4  0xc02de38f in raid5d (mddev=0xdfd62200) at drivers/md/raid5.c:1437
#5  0xc02e67da in md_thread (arg=0xdfd58260) at drivers/md/md.c:2692
#6  0xc010752d in kernel_thread_helper () at arch/i386/kernel/process.c:226
(gdb) p *(struct bio *) 0xda37fae0
$1 = {bi_sector = 42974, bi_next = 0x0, bi_bdev = 0xb10dead, bi_flags =
1041, 
  bi_rw = 1, bi_vcnt = 3, bi_idx = 0, bi_phys_segments = 0, 
  bi_hw_segments = 0, bi_size = 0, bi_max_vecs = 0, bi_io_vec =
0xda357ce0, 
  bi_end_io = 0xb10dead, bi_cnt = {counter = 0}, bi_private = 0xb10dead, 
  bi_destructor = 0xc0170050 <bio_destructor>, free_eip = 0xc02e8a26}

EIP is bad, bio debug magic 0x0b10dead. bi_flags has the uptodate bit
set, the clone bit, and the 10th bit (debug dead bit). The bio itself
was freed by 0xc02e8a26, dm.c:clone_endio().

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-04 14:07         ` Jens Axboe
@ 2003-12-04 14:14           ` Jens Axboe
  2003-12-05  3:07           ` Neil Brown
  1 sibling, 0 replies; 24+ messages in thread
From: Jens Axboe @ 2003-12-04 14:14 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Neil Brown

On Thu, Dec 04 2003, Jens Axboe wrote:
> On Thu, Dec 04 2003, Jens Axboe wrote:
> > On Wed, Dec 03 2003, Linus Torvalds wrote:
> > > 
> > > 
> > > On Wed, 3 Dec 2003, David Martínez Moreno wrote:
> > > >
> > > > 	I've just rebooted about six hours ago, and it's giving panics elsewhere:
> > > >
> > > > [...]
> > > > Ending XFS recovery on filesystem: md0 (dev: md0)
> > > > b44: eth0: Link is down.
> > > > b44: eth0: Link is up at 100 Mbps, full duplex.
> > > > b44: eth0: Flow control is on for TX and on for RX.
> > > > eth0: no IPv6 routers present
> > > > Unable to handle kernel paging request at virtual address 00100104
> > > 
> > > That's the LIST_POISON stuff: 00100100 is the "bad list pointer". Somebody
> > > tried to remove a page twice.
> > > 
> > > Doesn't mean a lot - if your "struct page" got corrupted, anything can
> > > happen. Quite possibly it's a double free.
> > > 
> > > > 	I can rebuild the Debian mirror for not using the RAID and using the SATA
> > > > disks separately, but will be tomorrow, it's a lot of space to move, and I
> > > > need remote intervention.
> > > >
> > > > 	Anyway I'd love to know before doing if it will be useful, looking at what
> > > > Jens has said just ten minutes ago about RAIDs 0/5. Will it help to you? Say
> > > > so and I'll go for it.
> > > 
> > > It might be more useful to leave it as RAID0, if you're willing to try out
> > > patches to try to debug this. The slab-debugging thing I sent out earlier
> > > is one such patch (but may well cause out-of-memory problems under load),
> > > and possibly the atomic-decrement checker patch (appended). And maybe Jens
> > > and Neil can come up with something..
> > 
> > I can reproduce on raid5 with linear dm on top (using XFS). I need to
> > kill the slab and memory debugging, I've put some bio debugging in there
> > instead (the memory debugging interferes with it). It's definitely a bio
> > use after free case, clone_endio() ends up with a freed bio.
> > 
> > Program received signal SIGEMT, Emulation trap.
> > 0xc02dd454 in handle_stripe (sh=0xc17cf630) at drivers/md/raid5.c:1009
> > 1009                                        wbi = wbi2;
> > (gdb) bt
> > #0  0xc02dd454 in handle_stripe (sh=0xc17cf630) at drivers/md/raid5.c:1009
> > #1  0xc02de31f in raid5d (mddev=0xdfd2d200) at drivers/md/raid5.c:1436
> > #2  0xc02e675a in md_thread (arg=0xdffdc1a0) at drivers/md/md.c:2692
> > #3  0xc010752d in kernel_thread_helper () at arch/i386/kernel/process.c:226
> > 
> > wbi (dev->written) has already been freed by someone else.
> > 
> > My puny 512MB test box cannot use your slab-debug patch :). The
> > atomic-checker didn't catch anything.
> 
> I can just as easily reproduce with ext2, so I don't think XFS has
> anything to do with it. This is still raid5 with dm linear on top.
> 
> (gdb) bt
> #0  0x0b10dead in ?? ()
> #1  0xc0170e25 in bio_endio (bio=0xda37fae0, bytes_done=0, error=0)
>     at fs/bio.c:689
> #2  0xc02e8a0d in clone_endio (bio=0xda38c120, done=7168, error=0)
>     at drivers/md/dm.c:266
> #3  0xc02dd78c in handle_stripe (sh=0xdfc18de0) at drivers/md/raid5.c:1209
> #4  0xc02de38f in raid5d (mddev=0xdfd62200) at drivers/md/raid5.c:1437
> #5  0xc02e67da in md_thread (arg=0xdfd58260) at drivers/md/md.c:2692
> #6  0xc010752d in kernel_thread_helper () at arch/i386/kernel/process.c:226
> (gdb) p *(struct bio *) 0xda37fae0
> $1 = {bi_sector = 42974, bi_next = 0x0, bi_bdev = 0xb10dead, bi_flags =
> 1041, 
>   bi_rw = 1, bi_vcnt = 3, bi_idx = 0, bi_phys_segments = 0, 
>   bi_hw_segments = 0, bi_size = 0, bi_max_vecs = 0, bi_io_vec =
> 0xda357ce0, 
>   bi_end_io = 0xb10dead, bi_cnt = {counter = 0}, bi_private = 0xb10dead, 
>   bi_destructor = 0xc0170050 <bio_destructor>, free_eip = 0xc02e8a26}
> 
> EIP is bad, bio debug magic 0x0b10dead. bi_flags has the uptodate bit
> set, the clone bit, and the 10th bit (debug dead bit). The bio itself
> was freed by 0xc02e8a26, dm.c:clone_endio().

As far as I can see, dm bio handling looks perfectly fine (no bad usage
in there wrt references). So this looks more and more like a raid
problem. I tried looking at handle_strip() and associated raid5
functions, but I think I'll leave that to Neil... It's not a straight
forward read.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-04 14:07         ` Jens Axboe
  2003-12-04 14:14           ` Jens Axboe
@ 2003-12-05  3:07           ` Neil Brown
  2003-12-05  4:31             ` Kevin P. Fleming
  2003-12-05  4:32             ` Nathan Scott
  1 sibling, 2 replies; 24+ messages in thread
From: Neil Brown @ 2003-12-05  3:07 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linus Torvalds, David Martínez Moreno, Kernel Mailing List,
	clubinfo.servers, Ingo Molnar, Nathan Scott, Mihai RUSU

On Thursday December 4, axboe@suse.de wrote:
> 
> I can just as easily reproduce with ext2, so I don't think XFS has
> anything to do with it. This is still raid5 with dm linear on top.
> 

Thanks.  The more evidence the better....

After staring at the code over and ove again, I finally saw the
assumption that I was making that was invalid.  I also found a
possible data-corruption bug in the process.

If you have been having problems with raid5, please try this patch and
see if it helps.

Thanks,
NeilBrown

### Comments for ChangeSet
Fix bugs in md/raid5

This patch does three things:
 1/ make sure raid5 doesn't try to handle multiple overlaping 
    requests at the same time as this would confuse things badly.
    Currently it justs BUGs if this is attempted.
 2/ Fix a possible data-loss-on-write problem.  If two or
    more bio's that write to the same page are processed at the
    same time, only the first was actually commited to storage.
 3/ Fix a use-after-free bug.  raid5 keeps the bio's it is given
    in linked lists when more than one bio touch a single page.
    In some cases the tail of this list can be freed, and
    the current test for 'are we at the end' isn't reliable.
    This patch strengths the test to make it reliable.


 ----------- Diffstat output ------------
 ./drivers/md/raid5.c |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff ./drivers/md/raid5.c~current~ ./drivers/md/raid5.c
--- ./drivers/md/raid5.c~current~	2003-12-03 16:25:54.000000000 +1100
+++ ./drivers/md/raid5.c	2003-12-05 13:27:49.000000000 +1100
@@ -40,6 +40,16 @@
 
 #define stripe_hash(conf, sect)	((conf)->stripe_hashtbl[((sect) >> STRIPE_SHIFT) & HASH_MASK])
 
+/* bio's attached to a stripe+device for I/O are linked together in bi_sector
+ * order without overlap.  There may be several bio's per stripe+device, and
+ * a bio could span several devices.
+ * When walking this list for a particular stripe+device, we must never proceed
+ * beyond a bio that extends past this device, as the next bio might no longer 
+ * be valid.
+ * This macro is used to determine the 'next' bio in the list, given the sector
+ * of the current stripe+device
+ */
+#define r5_next_bio(bio, sect) ( ( bio->bi_sector + (bio->bi_size>>9) < sect + STRIPE_SECTORS) ? bio->bi_next : NULL)
 /*
  * The following can be used to debug the driver
  */
@@ -613,7 +623,7 @@ static void copy_data(int frombio, struc
 	int i;
 
 	for (;bio && bio->bi_sector < sector+STRIPE_SECTORS;
-		bio = bio->bi_next) {
+	      bio = r5_next_bio(bio, sector) ) {
 		int page_offset;
 		if (bio->bi_sector >= sector)
 			page_offset = (signed)(bio->bi_sector - sector) * 512;
@@ -738,7 +748,11 @@ static void compute_parity(struct stripe
 	for (i = disks; i--;)
 		if (sh->dev[i].written) {
 			sector_t sector = sh->dev[i].sector;
-			copy_data(1, sh->dev[i].written, sh->dev[i].page, sector);
+			struct bio *wbi = sh->dev[i].written;
+			while (wbi && wbi->bi_sector < sector + STRIPE_SECTORS) {
+				copy_data(1, wbi, sh->dev[i].page, sector);
+				wbi = r5_next_bio(wbi, sector);
+			}
 
 			set_bit(R5_LOCKED, &sh->dev[i].flags);
 			set_bit(R5_UPTODATE, &sh->dev[i].flags);
@@ -791,8 +805,10 @@ static void add_stripe_bio (struct strip
 		bip = &sh->dev[dd_idx].towrite;
 	else
 		bip = &sh->dev[dd_idx].toread;
-	while (*bip && (*bip)->bi_sector < bi->bi_sector)
+	while (*bip && (*bip)->bi_sector < bi->bi_sector) {
+		BUG_ON((*bip)->bi_sector + ((*bip)->bi_size >> 9) > bi->bi_sector);
 		bip = & (*bip)->bi_next;
+	}
 /* FIXME do I need to worry about overlapping bion */
 	if (*bip && bi->bi_next && (*bip) != bi->bi_next)
 		BUG();
@@ -813,7 +829,7 @@ static void add_stripe_bio (struct strip
 		for (bi=sh->dev[dd_idx].towrite;
 		     sector < sh->dev[dd_idx].sector + STRIPE_SECTORS &&
 			     bi && bi->bi_sector <= sector;
-		     bi = bi->bi_next) {
+		     bi = r5_next_bio(bi, sh->dev[dd_idx].sector)) {
 			if (bi->bi_sector + (bi->bi_size>>9) >= sector)
 				sector = bi->bi_sector + (bi->bi_size>>9);
 		}
@@ -883,7 +899,7 @@ static void handle_stripe(struct stripe_
 			spin_unlock_irq(&conf->device_lock);
 			while (rbi && rbi->bi_sector < dev->sector + STRIPE_SECTORS) {
 				copy_data(0, rbi, dev->page, dev->sector);
-				rbi2 = rbi->bi_next;
+				rbi2 = r5_next_bio(rbi, dev->sector);
 				spin_lock_irq(&conf->device_lock);
 				if (--rbi->bi_phys_segments == 0) {
 					rbi->bi_next = return_bi;
@@ -928,7 +944,7 @@ static void handle_stripe(struct stripe_
 			if (bi) to_write--;
 
 			while (bi && bi->bi_sector < sh->dev[i].sector + STRIPE_SECTORS){
-				struct bio *nextbi = bi->bi_next;
+				struct bio *nextbi = r5_next_bio(bi, sh->dev[i].sector);
 				clear_bit(BIO_UPTODATE, &bi->bi_flags);
 				if (--bi->bi_phys_segments == 0) {
 					md_write_end(conf->mddev);
@@ -941,7 +957,7 @@ static void handle_stripe(struct stripe_
 			bi = sh->dev[i].written;
 			sh->dev[i].written = NULL;
 			while (bi && bi->bi_sector < sh->dev[i].sector + STRIPE_SECTORS) {
-				struct bio *bi2 = bi->bi_next;
+				struct bio *bi2 = r5_next_bio(bi, sh->dev[i].sector);
 				clear_bit(BIO_UPTODATE, &bi->bi_flags);
 				if (--bi->bi_phys_segments == 0) {
 					md_write_end(conf->mddev);
@@ -957,7 +973,7 @@ static void handle_stripe(struct stripe_
 				sh->dev[i].toread = NULL;
 				if (bi) to_read--;
 				while (bi && bi->bi_sector < sh->dev[i].sector + STRIPE_SECTORS){
-					struct bio *nextbi = bi->bi_next;
+					struct bio *nextbi = r5_next_bio(bi, sh->dev[i].sector);
 					clear_bit(BIO_UPTODATE, &bi->bi_flags);
 					if (--bi->bi_phys_segments == 0) {
 						bi->bi_next = return_bi;
@@ -1000,7 +1016,7 @@ static void handle_stripe(struct stripe_
 			    wbi = dev->written;
 			    dev->written = NULL;
 			    while (wbi && wbi->bi_sector < dev->sector + STRIPE_SECTORS) {
-				    wbi2 = wbi->bi_next;
+				    wbi2 = r5_next_bio(wbi, dev->sector);
 				    if (--wbi->bi_phys_segments == 0) {
 					    md_write_end(conf->mddev);
 					    wbi->bi_next = return_bi;

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 17:25       ` Kevin P. Fleming
@ 2003-12-05  3:20         ` Nathan Scott
  2003-12-05  3:49           ` Kevin P. Fleming
  0 siblings, 1 reply; 24+ messages in thread
From: Nathan Scott @ 2003-12-05  3:20 UTC (permalink / raw)
  To: Kevin P. Fleming
  Cc: Linus Torvalds, Jens Axboe, David Martínez Moreno,
	Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown

On Wed, Dec 03, 2003 at 10:25:27AM -0700, Kevin P. Fleming wrote:
> Linus Torvalds wrote:
> 
> >The ones I've seen seem to be raid-0, but Nathan (nathans@sgi.com)
> >reported problems in RAID-5 under load. I didn't decode the full oops on
> >that one, but it really looked like a stale "bi" bio that trapped on the
> >PAGE_ALLOC debug code.
> 
> The problem I reported was also with RAID-5, and I have also found a 
> problem similar to Nathan's (probably the same one) by just trying to 
> run bonnie++ on an XFS filesystem on DM over RAID-5, even after 
> formatting the XFS filesystem to forcibly align everything to RAID-5 
> stripes (64K units).

FWIW, this doesn't align _everything_ (space allocations done
through the XFS allocator are influenced, which means "most")
-- log IO is still going to be sector aligned, as are any IOs
to the four XFS allocation group header metadata structures.

cheers.

-- 
Nathan

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-05  3:20         ` Nathan Scott
@ 2003-12-05  3:49           ` Kevin P. Fleming
  0 siblings, 0 replies; 24+ messages in thread
From: Kevin P. Fleming @ 2003-12-05  3:49 UTC (permalink / raw)
  To: Nathan Scott
  Cc: Linus Torvalds, Jens Axboe, David Martínez Moreno,
	Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown

Nathan Scott wrote:

>>The problem I reported was also with RAID-5, and I have also found a 
>>problem similar to Nathan's (probably the same one) by just trying to 
>>run bonnie++ on an XFS filesystem on DM over RAID-5, even after 
>>formatting the XFS filesystem to forcibly align everything to RAID-5 
>>stripes (64K units).
> 
> 
> FWIW, this doesn't align _everything_ (space allocations done
> through the XFS allocator are influenced, which means "most")
> -- log IO is still going to be sector aligned, as are any IOs
> to the four XFS allocation group header metadata structures.

OK, I thought that "-l sunit=..." being set to a block-size multiple 
would take care of that as well, but apparently not.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-05  3:07           ` Neil Brown
@ 2003-12-05  4:31             ` Kevin P. Fleming
  2003-12-05  4:32             ` Nathan Scott
  1 sibling, 0 replies; 24+ messages in thread
From: Kevin P. Fleming @ 2003-12-05  4:31 UTC (permalink / raw)
  To: Neil Brown
  Cc: Jens Axboe, Linus Torvalds, David Martínez Moreno,
	Kernel Mailing List, clubinfo.servers, Ingo Molnar, Nathan Scott,
	Mihai RUSU

Neil Brown wrote:

> After staring at the code over and ove again, I finally saw the
> assumption that I was making that was invalid.  I also found a
> possible data-corruption bug in the process.
> 
> If you have been having problems with raid5, please try this patch and
> see if it helps.

Initial indications are good here, my system (using XFS on linear DM 
over a 6-disk RAID-5) just passed a bonnie++ run while the array was 
resyncing, which it has not done without oopsing before.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-05  3:07           ` Neil Brown
  2003-12-05  4:31             ` Kevin P. Fleming
@ 2003-12-05  4:32             ` Nathan Scott
  1 sibling, 0 replies; 24+ messages in thread
From: Nathan Scott @ 2003-12-05  4:32 UTC (permalink / raw)
  To: Neil Brown
  Cc: Jens Axboe, Linus Torvalds, David Martínez Moreno,
	Kernel Mailing List, clubinfo.servers, Ingo Molnar, Mihai RUSU

On Fri, Dec 05, 2003 at 02:07:35PM +1100, Neil Brown wrote:
> On Thursday December 4, axboe@suse.de wrote:
> > 
> > I can just as easily reproduce with ext2, so I don't think XFS has
> > anything to do with it. This is still raid5 with dm linear on top.
> > 
> 
> Thanks.  The more evidence the better....
> 
> After staring at the code over and ove again, I finally saw the
> assumption that I was making that was invalid.  I also found a
> possible data-corruption bug in the process.
> 
> If you have been having problems with raid5, please try this patch and
> see if it helps.

Yes, thats fixed it.  That reproducible test case I had no longer
shows any problems.

cheers.

-- 
Nathan

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Errors and later panics in 2.6.0-test11.
  2003-12-03 17:25     ` Linus Torvalds
  2003-12-04 12:43       ` Jens Axboe
  2003-12-04 12:53       ` David Martínez Moreno
@ 2003-12-12 18:38       ` David Martínez Moreno
  2 siblings, 0 replies; 24+ messages in thread
From: David Martínez Moreno @ 2003-12-12 18:38 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Kernel Mailing List, clubinfo.servers, Ingo Molnar, Neil Brown

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	Hey, Linus. The machine was nearly stable until three days ago...

	I suffered two hard locks (without logs in /var/log/messages), and
the console was not working, sorry. I'll dig now in that if I have some time.

	The last night the panics were:

Dec 11 22:36:41 ulises -- MARK --
Dec 11 22:50:01 ulises kernel: Bad page state at prep_new_page
Dec 11 22:50:01 ulises kernel: flags:0x01020028 mapping:dc49cd28 mapped:0 count:1
Dec 11 22:50:01 ulises kernel: Backtrace:
Dec 11 22:50:01 ulises kernel: Call Trace:
Dec 11 22:50:01 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec 11 22:50:01 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec 11 22:50:01 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec 11 22:50:01 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec 11 22:50:01 ulises kernel:  [skb_over_panic+3/71] kfree_skbmem+0x24/0x2c
Dec 11 22:50:01 ulises kernel:  [__get_free_pages+31/65] __get_free_pages+0x1f/0x41
Dec 11 22:50:01 ulises kernel:  [cache_grow+157/576] cache_grow+0x9d/0x240
Dec 11 22:50:01 ulises kernel:  [permission+70/72] permission+0x46/0x48
Dec 11 22:50:01 ulises kernel:  [cache_alloc_refill+321/474] cache_alloc_refill+0x141/0x1da
Dec 11 22:50:01 ulises kernel:  [kmem_cache_alloc+64/66] kmem_cache_alloc+0x40/0x42
Dec 11 22:50:01 ulises kernel:  [dup_task_struct+69/201] dup_task_struct+0x45/0xc9
Dec 11 22:50:01 ulises kernel:  [copy_process+214/2442] copy_process+0xd6/0x98a
Dec 11 22:50:01 ulises kernel:  [do_fork+80/365] do_fork+0x50/0x16d
Dec 11 22:50:01 ulises kernel:  [sys_clone+65/69] sys_clone+0x41/0x45
Dec 11 22:50:01 ulises kernel:  [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71
Dec 11 22:50:01 ulises kernel:
Dec 11 22:50:02 ulises kernel: Trying to fix it up, but a reboot is needed
Dec 11 22:50:02 ulises kernel: Bad page state at prep_new_page
Dec 11 22:50:02 ulises kernel: flags:0x01020028 mapping:dc49cd28 mapped:0 count:1
Dec 11 22:50:02 ulises kernel: Backtrace:
Dec 11 22:50:02 ulises kernel: Call Trace:
Dec 11 22:50:02 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec 11 22:50:02 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec 11 22:50:02 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec 11 22:50:02 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec 11 22:50:02 ulises kernel:  [do_wp_page+168/904] do_wp_page+0xa8/0x388
Dec 11 22:50:02 ulises kernel:  [handle_mm_fault+293/308] handle_mm_fault+0x125/0x134
Dec 11 22:50:02 ulises kernel:  [do_page_fault+288/1264] do_page_fault+0x120/0x4f0
Dec 11 22:50:02 ulises kernel:  [sys_stat64+55/57] sys_stat64+0x37/0x39
Dec 11 22:50:02 ulises kernel:  [do_page_fault+0/1264] do_page_fault+0x0/0x4f0
Dec 11 22:50:02 ulises kernel:  [error_code+45/56] error_code+0x2d/0x38
Dec 11 22:50:02 ulises kernel:
Dec 11 22:50:02 ulises kernel: Trying to fix it up, but a reboot is needed
Dec 11 22:50:02 ulises kernel: Bad page state at prep_new_page
Dec 11 22:50:02 ulises kernel: flags:0x0102002c mapping:dc49cd28 mapped:0 count:1
[...]

	After rebooting this morning...

	The box is now giving panics:

Dec 12 18:32:40 ulises kernel: Bad page state at prep_new_page
Dec 12 18:32:40 ulises kernel: flags:0x0102002c mapping:c000bea8 mapped:0 count:1
Dec 12 18:32:40 ulises kernel: Backtrace:
Dec 12 18:32:40 ulises kernel: Call Trace:
Dec 12 18:32:40 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec 12 18:32:40 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec 12 18:32:40 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec 12 18:32:40 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec 12 18:32:40 ulises kernel:  [do_page_cache_readahead+221/265] do_page_cache_readahead+0xdd/0x109
Dec 12 18:32:40 ulises kernel:  [page_cache_readahead+190/335] page_cache_readahead+0xbe/0x14f
Dec 12 18:32:40 ulises kernel:  [do_generic_mapping_read+186/1228] do_generic_mapping_read+0xba/0x4cc
Dec 12 18:32:40 ulises kernel:  [file_read_actor+0/234] file_read_actor+0x0/0xea
Dec 12 18:32:40 ulises kernel:  [__generic_file_aio_read+444/494] __generic_file_aio_read+0x1bc/0x1ee
Dec 12 18:32:40 ulises kernel:  [file_read_actor+0/234] file_read_actor+0x0/0xea
Dec 12 18:32:40 ulises kernel:  [xfs_read+346/620] xfs_read+0x15a/0x26c
Dec 12 18:32:40 ulises kernel:  [linvfs_read+141/159] linvfs_read+0x8d/0x9f
Dec 12 18:32:40 ulises kernel:  [do_sync_read+139/183] do_sync_read+0x8b/0xb7
Dec 12 18:32:40 ulises kernel:  [inet_setsockopt+54/58] inet_setsockopt+0x36/0x3a
Dec 12 18:32:40 ulises kernel:  [sys_setsockopt+120/178] sys_setsockopt+0x78/0xb2
Dec 12 18:32:40 ulises kernel:  [vfs_read+176/281] vfs_read+0xb0/0x119
Dec 12 18:32:40 ulises kernel:  [sys_read+66/99] sys_read+0x42/0x63
Dec 12 18:32:40 ulises kernel:  [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71
Dec 12 18:32:40 ulises kernel:
Dec 12 18:32:40 ulises kernel: Trying to fix it up, but a reboot is needed
Dec 12 18:33:16 ulises kernel: Bad page state at prep_new_page
Dec 12 18:33:16 ulises kernel: flags:0x0102002c mapping:c000bea8 mapped:0 count:1
Dec 12 18:33:16 ulises kernel: Backtrace:
Dec 12 18:33:16 ulises kernel: Call Trace:
Dec 12 18:33:16 ulises kernel:  [bad_page+93/133] bad_page+0x5d/0x85
Dec 12 18:33:16 ulises kernel:  [prep_new_page+50/81] prep_new_page+0x32/0x51
Dec 12 18:33:16 ulises kernel:  [buffered_rmqueue+165/264] buffered_rmqueue+0xa5/0x108
Dec 12 18:33:16 ulises kernel:  [__alloc_pages+166/788] __alloc_pages+0xa6/0x314
Dec 12 18:33:16 ulises kernel:  [do_wp_page+168/904] do_wp_page+0xa8/0x388
Dec 12 18:33:16 ulises kernel:  [handle_mm_fault+293/308] handle_mm_fault+0x125/0x134
Dec 12 18:33:16 ulises kernel:  [do_page_fault+288/1264] do_page_fault+0x120/0x4f0
Dec 12 18:33:16 ulises kernel:  [recalc_task_prio+144/426] recalc_task_prio+0x90/0x1aa
Dec 12 18:33:16 ulises kernel:  [schedule+742/1420] schedule+0x2e6/0x58c
Dec 12 18:33:16 ulises kernel:  [sys_setresuid+227/369] sys_setresuid+0xe3/0x171
Dec 12 18:33:16 ulises kernel:  [do_page_fault+0/1264] do_page_fault+0x0/0x4f0
Dec 12 18:33:16 ulises kernel:  [error_code+45/56] error_code+0x2d/0x38
Dec 12 18:33:16 ulises kernel:
Dec 12 18:33:16 ulises kernel: Trying to fix it up, but a reboot is needed
[...]

	It's running kernel 2.6.0-test11 with your patch described below.

	It keeps running RAID0, so it's not the issue that Neil found related to RAID5.

	If you need some other information, don't hesitate to ask it.

El Miércoles, 3 de Diciembre de 2003 18:25, Linus Torvalds escribió:
> On Wed, 3 Dec 2003, David Martínez Moreno wrote:
> > 	I've just rebooted about six hours ago, and it's giving panics
> > elsewhere:
> >
> > [...]
> > Ending XFS recovery on filesystem: md0 (dev: md0)
> > b44: eth0: Link is down.
> > b44: eth0: Link is up at 100 Mbps, full duplex.
> > b44: eth0: Flow control is on for TX and on for RX.
> > eth0: no IPv6 routers present
> > Unable to handle kernel paging request at virtual address 00100104
>
> That's the LIST_POISON stuff: 00100100 is the "bad list pointer". Somebody
> tried to remove a page twice.
>
> Doesn't mean a lot - if your "struct page" got corrupted, anything can
> happen. Quite possibly it's a double free.
>
> > 	I can rebuild the Debian mirror for not using the RAID and using the
> > SATA disks separately, but will be tomorrow, it's a lot of space to move,
> > and I need remote intervention.
> >
> > 	Anyway I'd love to know before doing if it will be useful, looking at
> > what Jens has said just ten minutes ago about RAIDs 0/5. Will it help to
> > you? Say so and I'll go for it.
>
> It might be more useful to leave it as RAID0, if you're willing to try out
> patches to try to debug this. The slab-debugging thing I sent out earlier
> is one such patch (but may well cause out-of-memory problems under load),
> and possibly the atomic-decrement checker patch (appended). And maybe Jens
> and Neil can come up with something..
>
> 		Linus
>
> ----
> ===== arch/i386/lib/dec_and_lock.c 1.1 vs edited =====
> --- 1.1/arch/i386/lib/dec_and_lock.c	Tue Feb  5 09:40:21 2002
> +++ edited/arch/i386/lib/dec_and_lock.c	Sun Nov  2 09:07:53 2003
> @@ -19,7 +19,7 @@
>  	counter = atomic_read(atomic);
>  	newcount = counter-1;
>
> -	if (!newcount)
> +	if (newcount <= 0)
>  		goto slow_path;
>
>  	asm volatile("lock; cmpxchgl %1,%2"
> ===== include/asm-i386/atomic.h 1.5 vs edited =====
> --- 1.5/include/asm-i386/atomic.h	Mon Aug 18 19:46:23 2003
> +++ edited/include/asm-i386/atomic.h	Sun Nov  2 09:40:42 2003
> @@ -2,6 +2,8 @@
>  #define __ARCH_I386_ATOMIC__
>
>  #include <linux/config.h>
> +#include <linux/kernel.h>
> +#include <asm/bug.h>
>
>  /*
>   * Atomic operations that C can't guarantee us.  Useful for
> @@ -136,12 +138,17 @@
>   */
>  static __inline__ int atomic_dec_and_test(atomic_t *v)
>  {
> -	unsigned char c;
> +	static int count = 2;
> +	unsigned char c, neg;
>
>  	__asm__ __volatile__(
> -		LOCK "decl %0; sete %1"
> -		:"=m" (v->counter), "=qm" (c)
> +		LOCK "decl %0; sete %1; sets %2"
> +		:"=m" (v->counter), "=qm" (c), "=qm" (neg)
>
>  		:"m" (v->counter) : "memory");
>
> +	if (count && neg) {
> +		count--;
> +		WARN_ON(neg);
> +	}
>  	return c != 0;
>  }

- -- 
And need I remind you that I am naked in the snow...? I
 can't feel any of my extremities, and I mean *any* of them...
		-- Skinner (The League of Extraordinary Gentlemen)
- --
Servicios de red - Network services
Centro de Comunicaciones CSIC/RedIRIS
Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.49.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/2gsMWs/EhA1iABsRAtuOAKDs3W7Iklx6VDNEX8Y1Gt+RhyRWtwCgpX+9
55Dq4DmQM14b2DeNXfdEwxY=
=Casj
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2003-12-12 18:40 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03 13:17 Errors and later panics in 2.6.0-test11 David Martínez Moreno
2003-12-03 13:31 ` William Lee Irwin III
2003-12-03 16:49   ` David Martínez Moreno
2003-12-03 15:59 ` Linus Torvalds
2003-12-03 16:20   ` Jens Axboe
2003-12-03 16:26     ` Jens Axboe
2003-12-03 16:51     ` Linus Torvalds
2003-12-03 17:25       ` Kevin P. Fleming
2003-12-05  3:20         ` Nathan Scott
2003-12-05  3:49           ` Kevin P. Fleming
2003-12-03 20:09       ` Neil Brown
2003-12-04  6:39         ` Nathan Scott
2003-12-03 20:04     ` Neil Brown
2003-12-03 20:11       ` Linus Torvalds
2003-12-03 16:47   ` David Martínez Moreno
2003-12-03 17:25     ` Linus Torvalds
2003-12-04 12:43       ` Jens Axboe
2003-12-04 14:07         ` Jens Axboe
2003-12-04 14:14           ` Jens Axboe
2003-12-05  3:07           ` Neil Brown
2003-12-05  4:31             ` Kevin P. Fleming
2003-12-05  4:32             ` Nathan Scott
2003-12-04 12:53       ` David Martínez Moreno
2003-12-12 18:38       ` David Martínez Moreno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).