COM: OK. Loaded initial symtab at 0xc03cb4c8, strtab at 0xc03e5cb8, # entries 4276 pmap_postinit: Allocated 35 static L1 descriptor tables Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.34 (BEAST) #277: Fri Nov 30 11:01:43 CET 2007 \x09jano@beast:/home/jano/netbsd/src/sys/arch/evbarm/compile/obj/BEAST total memory = 128 MB avail memory = 114 MB mainbus0 (root) cpu0 at mainbus0: ARM926EJ-S rev 3 (ARM9EJ-S core) cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled cpu0: 16KB/32B 4-way Instruction cache cpu0: 16KB/32B 4-way write-back-locking-C Data cache apb0 at mainbus0 ahb0 at mainbus0 pic0 at mainbus0 clk0 at mainbus0 bcom0 at mainbus0 attach ... bcom0: major = 111: console flashdisk0 at mainbus0 md0: internal 6000 KB image area rn_init: radix functions require max_keylen be set boot device: root on md0a dumps on md0b mountroot: trying ffs... root file system type: ffs WARNING: no TOD clock present WARNING: using filesystem time WARNING: CHECK AND RESET THE DATE! init: copying out flags `-s' 3 init: copying out path `/sbin/init' 11 Nov 30 10:23:29 init: /etc/pwd.db: No such file or directory Enter pathname of shell or RETURN for /bin/sh: # ls -al total 44 drwxr-xr-x 9 1000 wheel 512 Nov 21 16:08 . drwxr-xr-x 9 1000 wheel 512 Nov 21 16:08 .. drwxr-xr-x 2 1000 wheel 512 Nov 21 16:35 bin drwxr-xr-x 4 1000 wheel 13824 Nov 14 15:30 dev drwxr-xr-x 3 1000 wheel 512 Nov 14 14:15 etc drwxr-xr-x 2 1000 wheel 1024 Nov 14 14:15 lib drwxr-xr-x 2 1000 wheel 512 Nov 14 14:15 libexec drwxr-xr-x 2 1000 wheel 512 Nov 14 16:00 sbin drwxr-xr-x 5 1000 wheel 512 Nov 21 16:42 usr # ps aux USER PID %CPU %MEM VSZ RSS TTY STAT STARTED TIME COMMAND 0 0 0.0 0.1 0 148 ? DKsl 10:23AM 0:00.01 [system] 0 1 0.0 0.4 36 468 ? Ss 10:23AM 0:00.19 init -s 0 2 0.0 0.6 972 832 ? Ss 10:23AM 0:00.25 -sh 0 4 0.0 0.5 976 696 ? R 10:23AM 0:00.10 ps -aux # top Shared object "libtermcap.so.0" not found # export LD_LIBRARY_PATH="/lib" # otp otp: not found # top load averages: 0.00, 0.00, 0.00 up 0 days, 0:01 10:24:15 4 processes: 3 sleeping, 1 on processor CPU states: % user, % nice, % system, % interrupt, % idle Memory: 1568K Act, 76K Wired, 1120K Exec, 72K File, 112M Free Swap: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 6 0 30 0 972K 816K CPU 0:00 0.00% 0.00% top 1 0 -13 0 36K 468K wait 0:00 0.00% 0.00% init 2 0 -14 0 976K 864K wait 0:00 0.00% 0.00% sh 0 0 -18 0 0K 160K schedule 0:00 0.00% 0.00% [system] # top -d 2 load averages: 0.00, 0.00, 0.00 up 0 days, 0:01 10:24:20 4 processes: 3 sleeping, 1 on processor CPU states: % user, % nice, % system, % interrupt, % idle Memory: 1568K Act, 76K Wired, 1120K Exec, 72K File, 112M Free Swap: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 7 0 29 0 972K 844K CPU 0:00 0.00% 0.00% top 1 0 -13 0 36K 468K wait 0:00 0.00% 0.00% init 2 0 -14 0 976K 864K wait 0:00 0.00% 0.00% sh 0 0 -18 0 0K 160K schedule 0:00 0.00% 0.00% [system] load averages: 0.00, 0.00, 0.00 up 0 days, 0:01 10:24:22 4 processes: 3 sleeping, 1 on processor CPU states: 0.5% user, 0.0% nice, 1.4% system, 0.0% interrupt, 98.1% idle Memory: 1608K Act, 76K Wired, 1120K Exec, 72K File, 112M Free Swap: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 7 0 28 0 980K 952K CPU 0:00 0.00% 0.00% top 1 0 -13 0 36K 468K wait 0:00 0.00% 0.00% init 2 0 -14 0 976K 864K wait 0:00 0.00% 0.00% sh 0 0 -18 0 0K 160K schedule 0:00 0.00% 0.00% [system] # # # # # # ls bin dev etc lib libexec sbin usr # mount root_device on / type ffs (read-only, local) # # mount -f -t ffs /dev/md0a / # mount /dev/md0a on / type ffs (local) # mkdir kernfs # mkdir procfs # mount /dev/md0a on / type ffs (local) # mount_kernfs /kern /kernfs # mount /dev/md0a on / type ffs (local) kernfs on /kernfs type kernfs (local) # mount_procfs /proc /prof mount_procfs: realpath /prof: No such file or directory # mount_procfs /proc /procfs # mount /dev/md0a on / type ffs (local) kernfs on /kernfs type kernfs (local) procfs on /procfs type procfs (local) # # # cd kernfs # ls boottime hostname loadavg pagesize rootdev version copyright hz msgbuf physmem time # cat hz 100 # cat physmem 32768 # cat loadavg 0 0 0 2048 # cd .. # ls bin dev etc kernfs lib libexec procfs sbin usr # cd procfs # ls 0 1 2 26 curproc self # cd 0 # ls cmdline ctl cwd emul fd mem note notepg root status # cat mem cat: mem: Invalid argument # ls -l total 1 -r--r--r-- 1 0 wheel 0 Nov 30 10:26 cmdline --w------- 1 0 wheel 0 Nov 30 10:26 ctl lr-xr-xr-x 1 0 wheel 1 Nov 30 10:26 cwd -> / -r--r--r-- 1 0 wheel 6 Nov 30 10:26 emul dr-x------ 2 0 wheel 512 Nov 30 10:26 fd -rw------- 1 0 wheel 0 Nov 30 10:26 mem --w------- 1 0 wheel 0 Nov 30 10:26 note --w------- 1 0 wheel 0 Nov 30 10:26 notepg lr-xr-xr-x 1 0 wheel 1 Nov 30 10:26 root -> / -r--r--r-- 1 0 wheel 0 Nov 30 10:26 status # id id: not found # cd fd # ls # cd .. # ls cmdline ctl cwd emul fd mem note notepg root status # cat status system 0 0 0 0 -1,-1 sldr 1196418209,0 0,0 0,79151 schedule 0 0 # cd .. # ls 0 1 2 36 curproc self # cd 36 cd: can't cd to 36 # ls -l total 4 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 0 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 1 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 2 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 37 lr-xr-xr-x 1 0 wheel 2 Nov 30 10:27 curproc -> 37 lr-xr-xr-x 1 0 wheel 2 Nov 30 10:27 self -> curproc # cd 37 cd: can't cd to 37 # ls -l total 4 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 0 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 1 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 2 dr-xr-xr-x 2 0 wheel 512 Nov 30 10:27 38 lr-xr-xr-x 1 0 wheel 2 Nov 30 10:27 curproc -> 38 lr-xr-xr-x 1 0 wheel 2 Nov 30 10:27 self -> curproc # cd 2 # ls cmdline cwd exe file map mem notepg root ctl emul fd fpregs maps note regs status # ls -l total 2289 -r--r--r-- 1 0 wheel 0 Nov 30 10:27 cmdline --w------- 1 0 wheel 0 Nov 30 10:27 ctl lr-xr-xr-x 1 0 wheel 1 Nov 30 10:27 cwd -> / -r--r--r-- 1 0 wheel 6 Nov 30 10:27 emul lr-xr-xr-x 1 0 wheel 1 Nov 30 10:27 exe -> / dr-x------ 2 0 wheel 512 Nov 30 10:27 fd -r-xr-xr-x 1 1000 wheel 163535 Nov 14 14:15 file -rw------- 1 0 wheel 100 Nov 30 10:27 fpregs -r--r--r-- 1 0 wheel 0 Nov 30 10:27 map -r--r--r-- 1 0 wheel 0 Nov 30 10:27 maps -rw------- 1 0 wheel 999424 Nov 30 10:27 mem --w------- 1 0 wheel 0 Nov 30 10:27 note --w------- 1 0 wheel 0 Nov 30 10:27 notepg -rw------- 1 0 wheel 68 Nov 30 10:27 regs lr-xr-xr-x 1 0 wheel 1 Nov 30 10:27 root -> / -r--r--r-- 1 0 wheel 0 Nov 30 10:27 status # cat regs =0xFF =0xFF Xk=0xFF _=0x0002 \x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00Xk=0xFF _=0x0000 \x00w=0x02 \x00D\x00\x03\x00\x00m=0xFF _=0x0084 =0xBF ?\x17 Tk=0xFF _=0x00C8 \x01\x00L=0x83 \x10\x00\x00 # # # cat status sh 2 1 2 2 -1,-1 ctty,sldr 1196418209,190000 0,31296 0,385992 wait 0 0 # cd .. # ls 0 1 2 42 curproc self # uptime 10:28AM up 5 mins, 0 users, load averages: 0.00, 0.00, 0.00 # # # # uname -a NetBSD 4.99.34 NetBSD 4.99.34 (BEAST) #277: Fri Nov 30 11:01:43 CET 2007 jano@beast:/home/jano/netbsd/src/sys/arch/evbarm/compile/obj/BEAST evbarm # # ps axu USER PID %CPU %MEM VSZ RSS TTY STAT STARTED TIME COMMAND 0 0 0.0 0.2 0 244 ? DKsl 10:23AM 0:00.10 [system] 0 1 0.0 0.4 36 468 ? Is 10:23AM 0:00.19 init -s 0 2 0.0 0.7 976 868 ? Ss 10:23AM 0:00.44 -sh 0 46 0.0 0.6 976 756 ? R 10:28AM 0:00.07 ps -axu # cd /etc # ls group passwd.conf rc.conf rc.lkm rc.shutdown ttys motd rc rc.d rc.local rc.subr # cat rc.conf #\x09$NetBSD: rc.conf,v 1.96 2000/10/14 17:01:29 wiz Exp $ # # see rc.conf(5) for more information. # # Use program=YES to enable program, NO to disable it. program_flags are # passed to the program on the command line. # # Load the defaults in from /etc/defaults/rc.conf (if it's readable). # These can be overridden below. # if [ -r /etc/defaults/rc.conf ]; then \x09. /etc/defaults/rc.conf fi # If this is not set to YES, the system will drop into single-user mode. # rc_configured=NO # Add local overrides below # # # #