lkml.org 
[lkml]   [1997]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCOW Patch

I forgot who made the "cow.patch" because I deleted the header!!! So
whoever you are <grin> nice start, but no cigar.

I installed your 'zerod' patch. Upon startup, most everything seg-faulted
probably because the startup stuff doesn't bother to check if malloc()
returned a null-pointer. Basically, most all dynamic memory allocation
fails "most of the time"....

I had to modify startup to just create a shell and try to do things
by hand because there were so.... many seg-faults. Login wouldn't
even work.

I was able to eventually get up to see what was happening, finally got
/proc mounted (mount seg-faulted many times), so here is your 'zerod'
with RWN status (whatever).

F UID PID PPID PRI NI SIZE RSS WCHAN STAT TTY TIME COMMAND
100 0 1 0 0 0 824 352 do_select S ? 0:06 init
40 0 2 0 20 20 0 0 RWN ? 0:00 (zerod)
40 0 3 1 0 0 0 0 bdflush SW ? 0:00 (kflushd)
40 0 4 1 -12 -12 0 0 kswapd SW< ? 0:00 (kswapd)
40 0 5 1 0 0 0 0 nfsiod SW ? 0:00 (nfsiod)
40 0 6 1 0 0 0 0 nfsiod SW ? 0:00 (nfsiod)
40 0 7 1 0 0 0 0 nfsiod SW ? 0:00 (nfsiod)
40 0 8 1 0 0 0 0 nfsiod SW ? 0:00 (nfsiod)
100140 0 33 1 0 0 812 300 skb_recv_ S ? 0:00 /usr/sbin/rwhod -t -s
40 0 37 1 0 0 0 544 D ? 0:00 (sh)
0 0 40 1 0 0 808 304 read_chan S 3 0:00 /sbin/agetty 38400 tty3
0 0 42 1 0 0 808 304 read_chan S 5 0:00 /sbin/agetty 38400 tty5
0 0 46 1 0 0 808 304 read_chan S 2 0:00 /sbin/agetty 38400 tty2
0 0 47 1 0 0 808 308 read_chan S S0 0:00 /sbin/agetty -T vt100 ttyS0 9600
0 0 48 1 0 0 808 304 read_chan S 4 0:00 /sbin/agetty 38400 tty4
100 0 49 1 5 0 1164 672 wait4 S 1 0:00 -bash
0 0 50 1 0 0 808 304 read_chan S 6 0:00 /sbin/agetty 38400 tty6
100000 0 73 49 16 0 880 416 R 1 0:00 ps -laxw

Also ....

total: used: free: shared: buffers: cached:
Mem: 31481856 8941568 22540288 2490368 4493312 1961984
Swap: 0 0 0
MemTotal: 30744 kB
MemFree: 22012 kB
MemShared: 2432 kB
Buffers: 4388 kB
Cached: 1916 kB
SwapTotal: 0 kB
SwapFree: 0 kB


Could never use swapon. Seg-faulted every time.

So.... It's broken, but sorta works!

Now, I noticed something that is kind of nice, but I don't know if it
is the correct behavior. I wanted to prevent destruction of my root
file-system so I unmounted it. I was able to do this with /proc still
mounted on the mount-point. I would have thought that it would be busy
and not allow a dismount until other file-systems had been dismounted
from mount-points existing on the root FS.



Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.20 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:1.044 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site