linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.70 lockup while write()ing to /dev/hda1
@ 2003-08-06 12:32 lode leroy
  2003-08-06 12:47 ` Michael Buesch
  2003-08-06 13:05 ` Felipe Alfaro Solana
  0 siblings, 2 replies; 5+ messages in thread
From: lode leroy @ 2003-08-06 12:32 UTC (permalink / raw)
  To: linux-kernel

I just want to report a problem I saw on linux 2.5.70:
(since I have a workaround, I do not intend to debug this further)

the following program locks up the computer.
sometimes this has happened after about 16MB,
sometimes after about 64MB...

main()
{
    int f = open("/dev/hda1", O_RDWR);
    char buffer[8192];
    for(i=0;1;i++) {
       printf("%d\r", i);
       write(f, buffer, sizeof(buffer);
       /* fsync(f); */
    }
    close(f)
}

when using adding the fsync(), all goes fine!

_________________________________________________________________
Receive your Hotmail & Messenger messages on your mobile phone with MSN 
Mobile http://www.msn.be/gsm/smsservices


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: 2.5.70 lockup while write()ing to /dev/hda1
@ 2003-08-06 14:50 lode leroy
  0 siblings, 0 replies; 5+ messages in thread
From: lode leroy @ 2003-08-06 14:50 UTC (permalink / raw)
  To: felipe_alfaro; +Cc: linux-kernel

Actually, you're right... i don't see this on 2.6.0-test2 .
I should have tried upgrading first!


>From: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
>To: lode leroy <lode_leroy@hotmail.com>
>CC: LKML <linux-kernel@vger.kernel.org>
>Subject: Re: 2.5.70 lockup while write()ing to /dev/hda1
>Date: Wed, 06 Aug 2003 15:05:06 +0200
>
>On Wed, 2003-08-06 at 14:32, lode leroy wrote:
> > I just want to report a problem I saw on linux 2.5.70:
> > (since I have a workaround, I do not intend to debug this further)
> >
> > the following program locks up the computer.
> > sometimes this has happened after about 16MB,
> > sometimes after about 64MB...
>
>Don't you think 2.5.70 is a little bit obsolete now? ;-)
>I recoomend you testing this on 2.6.0-test2-latest. Using the latest
>available kernel will probably help mantainers to nail down any problem.
>

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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

end of thread, other threads:[~2003-08-06 14:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-06 12:32 2.5.70 lockup while write()ing to /dev/hda1 lode leroy
2003-08-06 12:47 ` Michael Buesch
2003-08-06 13:38   ` Andreas Schwab
2003-08-06 13:05 ` Felipe Alfaro Solana
2003-08-06 14:50 lode leroy

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).