[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: superformat having problems allocating memory?



Douglas Bates <bates@cs.wisc.edu> writes:

> > On 25 Jan 1998, Douglas Bates wrote:
> > 
> > > I'm not sure if this is a problem with the superformat program from
> > > the fdutils package or with malloc under libc6 or with my kernel but
> > > I get errors from superformat saying it cannot allocate memory when
> > > there is a lot of memory available.
> > >  bash-2.01$ superformat -d /dev/fd0
> > >  Formatting cylinder  0, head 0 format: Cannot allocate memory
> > >  bash-2.01$ cat /proc/meminfo 
> > > 	 total:    used:    free:  shared: buffers:  cached:
> > >  Mem:  130924544 126173184  4751360 24453120 55037952 37212160
> > >  Swap: 106921984    20480 106901504
> > >  MemTotal:    127856 kB
> > >  MemFree:       4640 kB
> > >  MemShared:    23880 kB
> > >  Buffers:      53748 kB
> > >  Cached:       36340 kB
> > >  SwapTotal:   104416 kB
> > >  SwapFree:    104396 kB
> > > 
> > > Am I misinterpreting that error message?
> > > 
> > > I have the 5.2pl4-2 fdutils package installed, a 2.0.33 kernel, and
> > > libc6 version 2.0.6-3 on a hamm system.
> > > 
> > > Other programs don't seem to have problems with memory allocation.

> It seems to have been a transitory problem with the floppy device
> /dev/fd0.  Other programs began to encounter problems with it so I
> rebooted.  This problem has not recurred.

I wrote too soon.  The problem did recur.  
 bash-2.01$ superformat -v 1 -d /dev/fd0 && fdmount && cp -a /var/tmp/fd0/* /fd0 && fdumount && sync
 .............................format: Cannot allocate memory
The errors reported to /var/adm/messages look like
 floppy0: data CRC error: track 52, head 1, sector 16, size 2
 floppy0: data CRC error: track 52, head 1, sector 16, size 2
 end_request: I/O error, dev 02:00, sector 1905

Any suggestions what might be going on?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: