public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can someone confirm ext4 BUG_ON on latest kernel build?
@ 2011-06-19 10:13 halfdog
  2011-06-19 15:07 ` Randy Dunlap
  2011-06-20  1:42 ` Ted Ts'o
  0 siblings, 2 replies; 3+ messages in thread
From: halfdog @ 2011-06-19 10:13 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

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

Sorry, I do not have latest kernel. Can someone confirm this on latest?
At least bugtracker does not know about it, and to my understanding of
source, should be still here.


dd if=/dev/zero bs=1M count=64 of=test
mkfs.ext4 -F test
echo -n " " | dd of=test bs=1 count=1 seek=297195 conv=notrunc
mount -o loop test /mnt/test
dmesg -c

On ubuntu natty with latest kernel, it seems, that
fs/ext4/super.c:__save_error_info calls mod_timer before timer->function
is set at end of fs/ext4/super.c:ext4_fill_super via
  sbi->s_err_report.function = print_daily_error_info;

This causes BUG_ON(!timer->function) in kernel/timer.c:__mod_timer
Device is stuck, not usable any more.

Thanks

- -- 
http://www.halfdog.net/
PGP: 156A AE98 B91F 0114 FE88  2BD8 C459 9386 feed a bee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFN/cvFxFmThv7tq+4RAgfvAJ97N9bnKq4kN99XneTMyJZ5Hha9MQCfcguN
L4trkTeOsIqDWF8m6VUqcgc=
=zvYY
-----END PGP SIGNATURE-----

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

* Re: Can someone confirm ext4 BUG_ON on latest kernel build?
  2011-06-19 10:13 Can someone confirm ext4 BUG_ON on latest kernel build? halfdog
@ 2011-06-19 15:07 ` Randy Dunlap
  2011-06-20  1:42 ` Ted Ts'o
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-06-19 15:07 UTC (permalink / raw)
  To: halfdog, linux-ext4; +Cc: linux-kernel@vger.kernel.org

[adding ext4 mailing list]


On Sun, 19 Jun 2011 10:13:52 +0000 halfdog wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sorry, I do not have latest kernel. Can someone confirm this on latest?
> At least bugtracker does not know about it, and to my understanding of
> source, should be still here.
> 
> 
> dd if=/dev/zero bs=1M count=64 of=test
> mkfs.ext4 -F test
> echo -n " " | dd of=test bs=1 count=1 seek=297195 conv=notrunc
> mount -o loop test /mnt/test
> dmesg -c
> 
> On ubuntu natty with latest kernel, it seems, that
> fs/ext4/super.c:__save_error_info calls mod_timer before timer->function
> is set at end of fs/ext4/super.c:ext4_fill_super via
>   sbi->s_err_report.function = print_daily_error_info;
> 
> This causes BUG_ON(!timer->function) in kernel/timer.c:__mod_timer
> Device is stuck, not usable any more.
> 
> Thanks
> 
> - -- 
> http://www.halfdog.net/
> PGP: 156A AE98 B91F 0114 FE88  2BD8 C459 9386 feed a bee
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> 
> iD8DBQFN/cvFxFmThv7tq+4RAgfvAJ97N9bnKq4kN99XneTMyJZ5Hha9MQCfcguN
> L4trkTeOsIqDWF8m6VUqcgc=
> =zvYY
> -----END PGP SIGNATURE-----
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

* Re: Can someone confirm ext4 BUG_ON on latest kernel build?
  2011-06-19 10:13 Can someone confirm ext4 BUG_ON on latest kernel build? halfdog
  2011-06-19 15:07 ` Randy Dunlap
@ 2011-06-20  1:42 ` Ted Ts'o
  1 sibling, 0 replies; 3+ messages in thread
From: Ted Ts'o @ 2011-06-20  1:42 UTC (permalink / raw)
  To: halfdog; +Cc: linux-kernel@vger.kernel.org, linux-ext4

On Sun, Jun 19, 2011 at 10:13:52AM +0000, halfdog wrote:
> 
> Sorry, I do not have latest kernel. Can someone confirm this on latest?
> At least bugtracker does not know about it, and to my understanding of
> source, should be still here.
> 
> dd if=/dev/zero bs=1M count=64 of=test
> mkfs.ext4 -F test
> echo -n " " | dd of=test bs=1 count=1 seek=297195 conv=notrunc
> mount -o loop test /mnt/test
> dmesg -c
> 
> On ubuntu natty with latest kernel, it seems, that
> fs/ext4/super.c:__save_error_info calls mod_timer before timer->function
> is set at end of fs/ext4/super.c:ext4_fill_super via
>   sbi->s_err_report.function = print_daily_error_info;
> 
> This causes BUG_ON(!timer->function) in kernel/timer.c:__mod_timer
> Device is stuck, not usable any more.

This problem is fixed in 2.6.39 (via commit 0449641130f5, which landed
in mainline in 2.6.39-rc3).

Regards,

					- Ted

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

end of thread, other threads:[~2011-06-20  1:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-19 10:13 Can someone confirm ext4 BUG_ON on latest kernel build? halfdog
2011-06-19 15:07 ` Randy Dunlap
2011-06-20  1:42 ` Ted Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox