Friday, October 29, 2010

OpenBSD/OCTEON completely boots up from Compact Flash!

The problem was incomplete FPU emulation and baud rate on /etc/ttys, I just fixed it and now I can login and execute programs.
Next work will be SATA driver and SMP, and maybe some people contribute Ether and USB.


U-Boot 1.1.1  (Build time: Oct 23 2009 - 14:48:20)


CAPK-0100ND-CN50XX_1.8.1_294_V1.1.1


Hardware Monitor: W83792D initialized
CN3010_EVB_HS5 board revision major:0, minor:0, serial #: CAPK-0100ND
OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 265 MHz (530 Mhz data rate)
PAL rev: 0.00, MCU rev: 0.00, CPU voltage: 0.00
DRAM:  1024 MB
Flash:  8 MB
Clearing DRAM........ done
BIST check passed.
Starting PCI
PCI Status: PCI 32-bit
PCI BAR 0: 0x00000000, PCI BAR 1: Memory 0x00000000  PCI 0xf8000000
Net:   octeth0, octeth1, octeth2
 Bus 0 (CF Card): OK 


  ide 0: Model: CF 1GB Firm: 20060911 Ser#: TSS25013070129021908
            Type: Removable Hard Disk
            Capacity: 991.2 MB = 0.9 GB (2030112 x 512)
Octeon capk-0100nd# tftpboot
Interface 0 has 3 ports (RGMII)
*** Warning: no boot file name; using '0200A8C0.img'
Using octeth0 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x20000000
Loading: octeth0: Up 1000 Mbps Full duplex (port  0)
#####################
done
Bytes transferred = 2992148 (2da814 hex), 4098 Kbytes/sec
Octeon capk-0100nd# bootoctlinux
ELF file is 64 bit
Attempting to allocate memory for ELF segment: addr: 0xffffffff81000000 (adjusted to: 0x0000000001000000), size 0x3225e0
Allocated memory for ELF segment: addr: 0xffffffff81000000, size 0x3225e0
Processing PHDR 0
  Loading 288a10 bytes at ffffffff81000000
  Clearing 99bd0 bytes at ffffffff81288a10
## Loading Linux kernel with entry point: 0xffffffff81000000 ...
Bootloader: Done loading app on coremask: 0x1
Bank 0 = 0x0000000001324000   ->  0x0000000006000000
mem_layout[0] page 0x00000000000004C9 -> 0x0000000000001800
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org


OpenBSD 4.8-current (GENERIC) #4: Fri Oct 22 09:31:05 JST 2010
    root@openbsd.dokukino.com:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 80592896 (76MB)
avail mem = 79593472 (75MB)
mainbus0 at rootcpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB D 16KB 4 way, L2 128KB direct
clock0 at mainbus0: ticker on int5 using count register
obio0 at mainbus0
octcf0 at obio0 base 0x1d000800 irq 0:
octcf0: 1-sector PIO, CHS, 991MB, 2014 cyl, 16 head, 63 sec, 2030112 sectors
c: ns16550, no working fifo
com0: console
com1 at combus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
/dev/ksyms: Symbol table not valid.
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root device: octcf0c
swap device (default octcf0b): 
root on octcf0c swap on octcf0b dump on octcf0b
filesystem type 0 not known.. assuming ffs
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/roctcf0c: file system is clean; not checking
setting tty flags
pf enabled
starting network
starting system logger
starting initial daemons:.
savecore: /bsd: kvm_openfiles: /bsd: No such file or directory
checking quotas: done.
building ps databases: kvmkvm_mkdb: can't open /dev/ksyms
kvm_mkdb: can't open /bsd: No such file or directory
 dev.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd sendmail inetd.
starting local daemons:.
standard daemons: cron.
Thu Oct 28 01:45:58 MDT 2010


OpenBSD/octeon (noname.my.domain) (console)


login: root
Password:
Last login: Thu Oct 28 01:34:18 on console
OpenBSD 4.8-current (GENERIC) #4: Fri Oct 22 09:31:05 JST 2010


You have mail.
# ps ax                                                                 
  PID TT  STAT       TIME COMMAND
    1 ??  Is      0:00.57 /sbin/init
14475 ??  Is      0:00.55 syslogd: [priv] (syslogd)
21253 ??  S       0:10.13 syslogd -a /var/www/dev/log -a /var/empty/dev/log
29090 ??  Is      0:00.30 pflogd: [priv] (pflogd)
21147 ??  S       0:00.13 pflogd: [running] -s 160 -i pflog0 -f /var/log/pflog 
 9892 ??  Is      0:00.40 /usr/sbin/sshd
  369 ??  Is      0:00.53 inetd
11242 ??  Is      0:00.74 cron
23431 ??  Ss      0:00.36 sendmail: accepting connections (sendmail)
26114 00  Ss      0:00.56 -ksh (ksh)
18534 00  R+      0:00.30 ps -ax
# ls 
.Xdefaults .cshrc     .klogin    .login     .profile   tmp
# cd /usr
# ls
bin     include libdata lkm     mdec    sbin    src
games   lib     libexec local   obj     share   xobj
# ls src/                                                                      
# ps ax
  PID TT  STAT       TIME COMMAND
    1 ??  Is      0:00.57 /sbin/init
14475 ??  Is      0:00.55 syslogd: [priv] (syslogd)
21253 ??  S       0:10.13 syslogd -a /var/www/dev/log -a /var/empty/dev/log
29090 ??  Is      0:00.30 pflogd: [priv] (pflogd)
21147 ??  S       0:00.13 pflogd: [running] -s 160 -i pflog0 -f /var/log/pflog 
 9892 ??  Is      0:00.40 /usr/sbin/sshd
  369 ??  Is      0:00.53 inetd
11242 ??  Is      0:00.74 cron
23431 ??  Ss      0:00.37 sendmail: accepting connections (sendmail)
26114 00  Ss      0:00.58 -ksh (ksh)
15405 00  R+      0:00.00 ps -ax
# top


load averages:  0.11,  0.26,  0.16                    noname.my.domain 01:51:25
11 processes:  10 idle, 1 on processor
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Memory: Real: 12M/31M act/tot  Free: 45M  Swap: 0K/0K used/tot


  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
21253 _syslogd   2    0  736K 1104K idle      poll      0:10  0.00% syslogd
11242 root       2    0  768K 1296K idle      select    0:01  0.00% cron
19763 root      28    0  944K 2160K onproc    -         0:01  0.00% top
26114 root      18    0  944K  848K idle      pause     0:01  0.00% ksh
    1 root      10    0  576K  704K idle      wait      0:01  0.00% init
14475 root       2    0  720K 1152K idle      netio     0:01  0.00% syslogd
  369 root       2    0  528K 1152K idle      select    0:01  0.00% inetd
 9892 root       2    0 1008K 1696K idle      select    0:00  0.00% sshd
23431 root       2    0 1616K 2208K sleep     select    0:00  0.00% sendmail
29090 root       2    0  832K  864K idle      netio     0:00  0.00% pflogd
21147 _pflogd    4    0  896K  624K sleep     bpf       0:00  0.00% pflogd

Tuesday, October 26, 2010

OpenBSD/OCTEON (partially) boots up from Compact Flash

We don't have complete kernel base software FPU emulation code, therefore userland is very unstable for now, but multi user mode booted from Compact Flash anyway.
I had tried to implement CF driver as wdc(4), looks like there's the way to do that if it's acceptable to patch few codes on the generic wdc(4) code, but I had got unknown hangs, and I gave up it.
Then I implemented simple block device "octcf", just like FreeBSD/cavium's CF driver.
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/octeon/dev/octcf.c?rev=1.1;content-type=text/plain

U-Boot 1.1.1  (Build time: Oct 23 2009 - 14:48:20)


CAPK-0100ND-CN50XX_1.8.1_294_V1.1.1


Hardware Monitor: W83792D initialized
CN3010_EVB_HS5 board revision major:0, minor:0, serial #: CAPK-0100ND
OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 265 MHz (530 Mhz data rate)
PAL rev: 0.00, MCU rev: 0.00, CPU voltage: 0.00
DRAM:  1024 MB
Flash:  8 MB
Clearing DRAM........ done
BIST check passed.
Starting PCI
PCI Status: PCI 32-bit
PCI BAR 0: 0x00000000, PCI BAR 1: Memory 0x00000000  PCI 0xf8000000
Net:   octeth0, octeth1, octeth2
 Bus 0 (CF Card): OK 


  ide 0: Model: CF 1GB Firm: 20060911 Ser#: TSS25013070129021908
            Type: Removable Hard Disk
            Capacity: 991.2 MB = 0.9 GB (2030112 x 512)
Octeon capk-0100nd# tftpboot
Interface 0 has 3 ports (RGMII)
*** Warning: no boot file name; using '0200A8C0.img'
Using octeth0 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x20000000
Loading: octeth0: Up 1000 Mbps Full duplex (port  0)
#####################
done
Bytes transferred = 2991844 (2da6e4 hex), 3264 Kbytes/sec
Octeon capk-0100nd# bootoctlinux
ELF file is 64 bit
Attempting to allocate memory for ELF segment: addr: 0xffffffff81000000 (adjusted to: 0x0000000001000000), size 0x3224b0
Allocated memory for ELF segment: addr: 0xffffffff81000000, size 0x3224b0
Processing PHDR 0
  Loading 2888e0 bytes at ffffffff81000000
  Clearing 99bd0 bytes at ffffffff812888e0
## Loading Linux kernel with entry point: 0xffffffff81000000 ...
Bootloader: Done loading app on coremask: 0x1
Bank 0 = 0x0000000001324000   ->  0x0000000006000000
mem_layout[0] page 0x00000000000004C9 -> 0x0000000000001800
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org


OpenBSD 4.8-current (GENERIC) #61: Thu Oct 21 04:01:43 JST 2010
    root@openbsd.dokukino.com:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 80592896 (76MB)
avail mem = 79593472 (75MB)
mainbus0 at rootcpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB D 16KB 4 way, L2 128KB direct
clock0 at mainbus0: ticker on int5 using count register
obio0 at mainbus0
octcf0 at obio0 base 0x1d000800 irq 0:
octcf0: 1-sector PIO, CHS, 991MB, 2014 cyl, 16 head, 63 sec, 2030112 sectors
c: ns16550, no working fifo
com0: console
com1 at combus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
/dev/ksyms: Symbol table not valid.
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root device: octcf0c
swap device (default octcf0b): 
root on octcf0c swap on octcf0b dump on octcf0b
filesystem type 0 not known.. assuming ffs
WARNING: / was not properly unmounted
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/roctcf0c: 16369 files, 229182 used, 270137 free (25 frags, 33764 blocks, 0.0% fragmentation)
/dev/roctcf0c: MARKING FILE SYSTEM CLEAN
setting tty flags
Illegal instruction (core dumped) 
pf enabled
starting network
Illegal instruction (core dumped) 
starting system logger
starting initial daemons:.
Illegal instruction (core dumped) 
checking quotas: done.
building ps databases: kvmkvm_mkdb: can't open /dev/ksyms
kvm_mkdb: can't open /bsd: No such file or directory
 dev.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
Illegal instruction (core dumped) 
ssh-keygen: generating new DSA host key... Illegal instruction (core dumped) 
failed.
ssh-keygen: generating new ECDSA host key... Illegal instruction (core dumped) 
failed.
ssh-keygen: generating new RSA host key... Illegal instruction (core dumped) 
failed.
ssh-keygen: generating new RSA1 host key... Illegal instruction (core dumped) 
failed.
starting network daemons: sshdCould not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
 sendmail inetd.
starting local daemons:.
standard daemons: cron.
Illegal instruction (core dumped) 

Saturday, September 4, 2010

RAMDISK kernel successfully booted!!

YEAH!!


U-Boot 1.1.1  (Build time: Oct 23 2009 - 14:48:20)


CAPK-0100ND-CN50XX_1.8.1_294_V1.1.1


Hardware Monitor: W83792D initialized
CN3010_EVB_HS5 board revision major:0, minor:0, serial #: CAPK-0100ND
OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 265 MHz (530 Mhz data rate)
PAL rev: 0.00, MCU rev: 0.00, CPU voltage: 0.00
DRAM:  1024 MB
Flash:  8 MB
Clearing DRAM........ done
BIST check passed.
Starting PCI
PCI Status: PCI 32-bit
PCI BAR 0: 0x00000000, PCI BAR 1: Memory 0x00000000  PCI 0xf8000000
Net:   octeth0, octeth1, octeth2
 Bus 0 (CF Card): not available  


Octeon capk-0100nd# tftpboot
Interface 0 has 3 ports (RGMII)
*** Warning: no boot file name; using '6F01A8C0.img'
Using octeth0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.111
Filename '6F01A8C0.img'.
Load address: 0x20000000
Loading: octeth0: Up 100 Mbps Full duplex (port  0)
########################################
done
Bytes transferred = 5724637 (5759dd hex), 3128 Kbytes/sec
Octeon capk-0100nd# bootoctlinux
ELF file is 64 bit
Attempting to allocate memory for ELF segment: addr: 0xffffffff81000000 (adjusted to: 0x0000000001000000), size 0x5c4b30
Allocated memory for ELF segment: addr: 0xffffffff81000000, size 0x5c4b30
Processing PHDR 0
  Loading 540080 bytes at ffffffff81000000
  Clearing 84ab0 bytes at ffffffff81540080
## Loading Linux kernel with entry point: 0xffffffff81000000 ...
Bootloader: Done loading app on coremask: 0x1
Boot Descriptor Ver: 7 -> 1/2  CPU clock: 500MHz  Core Mask: 0x1
  Dram: 1024 MB  Board Type: 11  Revision: 0/0
  Octeon Chip: 0  Rev 0/0  Mac Address 00.90.FB.2F.B4.D9 (3)
Total DRAM Size 0X40000000
Bank 0 = 015C8000   ->  0FFFFFFF
Bank 1 = 10000000   ->  3FFFC000
l1icache size:32768 line:128 set:0
l1dcache size:16384 line:128 set:0
l2size:131072 l3size:0
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org


OpenBSD 4.7-current (RAMDISK) #3: Sat Sep  4 00:42:06 JST 2010
    syuu@enoki.dokukino.co:/home/syuu/openbsd-octeon/src/sys/arch/octeon/compile/RAMDISK
real mem = 1050886144 (1002MB)
avail mem = 1036288000 (988MB)
mainbus0 at root: Generic OCTEON
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Cavium OCTEON FPU rev 0.1
cpu0: cache L1-I 32KB D 16KB 4 way, L2 128KB direct
clock0 at mainbus0: ticker on int5 using count regis: ns16550, no working fifo
com0: console
com1 at obio0 base 0x1180000000c00 irq 35: ns16550, no working fifo
rd0: fixed, 8192 blocks
root on rd0a swap on rd0b dump on rd0b
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
erase ^?, werase ^W, kill ^U, intr ^C, status ^T


Welcome to the OpenBSD/loongson 4.7 installation program.
(I)nstall, (U)pgrade or (S)hell? s
# ls /
.profile     etc          install.sub  sbin         usr
bin          install      mnt          tmp          var
dev          install.md   mnt2         upgrade



Monday, August 16, 2010

Repository moved again

Now it's on sourceforge.jp git repository, much faster than my home server.

git://git.sourceforge.jp/gitroot/openbsd-octeon/openbsd-octeon.git

Wednesday, August 11, 2010

16core Cavium OCTEON Server!!



I recently received Movidis x16 Server, which integrated 16core(!!) version Cavium OCTEON.
Which was donation for OpenBSD, from Movidis guy. Thanks!!

It currently running Linux, in near future it'll be OpenBSD for sure ;-)

Monday, August 9, 2010

In IIJ's outside-air-cooled container based data center experiment facility, all 300 servers are running OpenBSD!

I just invited IIJ's next-gen data center experiment facility, and they suggested me to write blog entries.

So I'll try to describe their experiment facilities little bit.

Most important thing for me is it runs OpenBSD anyway ;-)



Problem of traditional data center

Constructing cost is expensive, have to construct all at once.

Takes almost one year to finishing construct, it's difficult to supply to fit demand.

So they need to construct DC for future demand, actually if to do so, it's very difficult to rise ratio of utilization.

While the ratio doesn't raise enough high, their business faces difficult situation.
In data center, they spent same or more amount of electric power for cooling system than IT devices.

These days the devices shrinking but generate more heat, if fill the devices all spaces in rack, it's very difficult to cool them.

So it's waste spaces in rack.

Let's use outside-air-cooled container

Cooling compressor eats most electric power.

They can reduce if we use outside air to cooling the devices.

They also can reduce constructing cost if we use container, and they don't have to construct all at once anymore.

Container can append anytime, and only takes a half day to install.

Experiment

ASHRAE released environmental guidelines(temperature and humidity) for datacenter equipment in 2008, this experiment is trying to follow it using outside air cooling system.
Since they use outside air, temperature and humidity changes by season and also time.
So it needs control.
This is image cooling system, it has three modes:

In winter mode, out side air is too cold, if the system use that air directly, the devices will gets bedewing.

So the system mix exhaust heat and flesh air to cooling.
Spring and fall mode, it just use outside air directly and throw exhaust heat outside.
Summer mode, out side air is too hot, it cannot use it. Use cooling compressor just like traditional datacenter.
For guidelines of power consumption efficiency, we have PUE(Power Usage Effectiveness).

On traditional datacenter, it's generally 2.x, and best score is around 1.4x.

There's no datacenter used as business available under 1.2 in Japan.
This experiment goal is 1.1 whole year for business.

Currently in experiment, they had got 1.07 in winter day(but without UPS and power switchboard).

They are continuously challenging reduce the power consumption to get better score.

To entering business service

They'll construct new datacenter for their cloud service called "IIJ GIO", service in period is next year.

YES IT RUNS OpenBSD!!!!

All servers in the experiment facilities OpenBSD installed!

Thurmo-hygrograph censor is the product of strawberry linux Co., connected to the servers via USB.

And the drivers written by yuo@openbsd. Yeah he also suggested installing OpenBSD to these servers, of cause.

This is great ;-)
These servers are basically just for generating heat(except logging temperature and humidity), it executes openssl to make processors busy.

And of cause it's login from remote, so they can watch temperature log and can control how many machines executes openssl(to heat container up).

Entire picture


Related companies


Cooling system


Cooling compressor

Door for maintenance cooling system


Connector between container and cooling system

Door of container

Foundation of container

It's double entry doors

LED light

Power switch. I'll die if I touched

Thurmo-hygrograph censor

"Hot aisle"

Thurmo-hygrograph censor connected via USB

Duct for throw exhaust heat out

Tube for fire censor

"Cool aisle"

Variety of servers


"It's actually 4GB RAM!" sticker

Tons of 1U servers

Duct for flesh air in

Which manufacturer's machine is this white one?

Other photos #1
Other photos #2

Sunday, August 8, 2010

Ahh... OCTEON doesn't have FPU

I realized OCTEON doesn't have FPU but OpenBSD/mips suppose to have FPU on all supported machines.

 I don't know why but this backtrace says sh trying to enable fpu and it failed. Hah.

Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org


OpenBSD 4.7-current (RAMDISK.MP) #5: Sun Aug 8 07:51:44 JST 2010
syuu@macbook.localdomain:/home/syuu/openbsd-octeon/src/sys/arch/octeon/compile/RAMDISK.MP
real mem = 77742080 (74MB)
avail mem = 70664192 (67MB)
mainbus0 at root: Generic OCTEON
cpu0 at mainbus0: Unknown CPU type (0x6) rev 0.0 499 MHz, Unknown FPU type (0x6) rev 0.0
cpu0: cache L1-I 32KB D 16KB 4 way, L2 128KB direct
cpu0: Setsize 0:0
cpu0: Alias mask 0x0
cpu0: Config Register 8000c48f
cpu0: Cache configuration 0
cpu0: Status Register 508000e0
clock0 at mainbus0: ticker on int5 using count register
obio0 at mainbus0com0 at obio0 base 0x 800 irq 34: ns16550, no working fifo
com0: console
com1 at obio0 base 0x c00 irq 35: ns16550, no working fifo
Timecounters tick every 10.000 msec
rd0: fixed, 8192 blocks
root on rd0a swap on rd0b dump on rd0b
dev=0x800 chrdev=0x1600 rawdev=0x1602
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
init: copying out path `/sbin/init' 11
proc 1 (init): native num 202 call: __sysctl(0x7ffe05f8, 0x2, 0x101a1c70, 0x7ffe0608, 0x0, 0x0)
proc 1 (init): native num 202 ret: err = 0, rv = 0x0,0x25
proc 1 (init): native num 202 call: __sysctl(0x7ffe05b8, 0x2, 0x1024c4b0, 0x7ffe05c8, 0x0, 0x0)
proc 1 (init): native num 202 ret: err = 0, rv = 0x0,0x6
proc 1 (init): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 1 (init): native num 197 ret: err = 0, rv = 0x514f4000,0x3
proc 1 (init): native num 74 call: mprotect(0x514f4000, 0x4000, 0x1)
proc 1 (init): native num 74 ret: err = 0, rv = 0x0,0x514f4018
proc 1 (init): native num 24 call: getuid()
proc 1 (init): native num 24 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 20 call: getpid()
proc 1 (init): native num 20 ret: err = 0, rv = 0x1,0x0
proc 1 (init): native num 147 call: setsid()
proc 1 (init): native num 147 ret: err = 0, rv = 0x1,0x10175fd8
proc 1 (init): native num 50 call: setlogin(0x10176000)
proc 1 (init): native num 50 ret: err = 0, rv = 0x0,0x10175fd8
proc 1 (init): native num 46 call: sigaction(0xc, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x6, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x8, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x4, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0xb, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0xa, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x18, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x19, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x1, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0xf, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x12, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x1e, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x1f, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0xe, 0x7ffe0528, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 48 call: sigprocmask(0x3, 0xffffffff9e7d9156)
proc 1 (init): native num 48 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x15, 0x7ffe05e8, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 46 call: sigaction(0x16, 0x7ffe05e8, 0x0)
proc 1 (init): native num 46 ret: err = 0, rv = 0x0,0x0
proc 1 (init): native num 6 call: close(0x0)
proc 1 (init): native num 6 ret: err = 9, rv = 0x0,0x0
proc 1 (init): native num 6 call: close(0x1)
proc 1 (init): native num 6 ret: err = 9, rv = 0x0,0xffffffffffffffff
proc 1 (init): native num 6 call: close(0x2)
proc 1 (init): native num 6 ret: err = 9, rv = 0x0,0xffffffffffffffff
proc 1 (init): native num 202 call: __sysctl(0x7ffdfcc8, 0x2, 0x7ffdfcd8, 0x7ffdfce0, 0x0, 0x0)
proc 1 (init): native num 202 ret: err = 0, rv = 0x0,0x1
proc 1 (init): native num 2 call: fork()
proc 1 (init): native num 2 ret: err = 0, rv = 0x4c1f,0x0
proc 1 (init): native num 7 call: wait4(0xffffffffffffffff, 0x7ffdfd0c, 0x2, 0x0)
proc 19487 (init): native num 56 call: revoke(0x10176158)
proc 19487 (init): native num 56 ret: err = 0, rv = 0x0,0x1
proc 19487 (init): native num 240 call: nanosleep(0x7ffdfc98, 0x7ffdfca8)
proc 19487 (init): native num 240 ret: err = 0, rv = 0x0,0x2
proc 19487 (init): native num 5 call: open(0x10176158, 0x2, 0x7ffdfcd8)
proc 19487 (init): native num 5 ret: err = 0, rv = 0x0,0x2
proc 19487 (init): native num 147 call: setsid()
proc 19487 (init): native num 147 ret: err = 0, rv = 0x4c1f,0x2
proc 19487 (init): native num 54 call: ioctl(0x0, 0x20007461, 0x0)
proc 19487 (init): native num 54 ret: err = 0, rv = 0x0,0x2
proc 19487 (init): native num 90 call: dup2(0x0, 0x0)
proc 19487 (init): native num 90 ret: err = 0, rv = 0x0,0xffffffffffffffff
proc 19487 (init): native num 90 call: dup2(0x0, 0x1)
proc 19487 (init): native num 90 ret: err = 0, rv = 0x1,0xffffffffffffffff
proc 19487 (init): native num 90 call: dup2(0x0, 0x2)
proc 19487 (init): native num 90 ret: err = 0, rv = 0x2,0xffffffffffffffff
proc 19487 (init): native num 48 call: sigprocmask(0x3, 0x0)
proc 19487 (init): native num 48 ret: err = 0, rv = 0x9e7c9056,0xffffffffffffffff
proc 19487 (init): native num 20 call: getpid()
proc 19487 (init): native num 20 ret: err = 0, rv = 0x4c1f,0x0
proc 19487 (init): native num 202 call: __sysctl(0x7ffdfa38, 0x2, 0x7ffdfa48, 0x7ffdfa28, 0x0, 0x0)
proc 19487 (init): native num 202 ret: err = 0, rv = 0x0,0x1
proc 19487 (init): native num 58 call: readlink(0x10186c30, 0x7ffdfb98, 0x3f)
proc 19487 (init): native num 58 ret: err = 2, rv = 0x0,0x10254008
proc 19487 (init): native num 253 call: issetugid()
proc 19487 (init): native num 253 ret: err = 0, rv = 0x0,0xffffffffffffffff
proc 19487 (init): native num 20 call: getpid()
proc 19487 (init): native num 20 ret: err = 0, rv = 0x4c1f,0x0
proc 19487 (init): native num 197 call: mmap(0x0, 0xc000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (init): native num 197 ret: err = 0, rv = 0x50df8000,0x3
proc 19487 (init): native num 74 call: mprotect(0x50df8000, 0x4000, 0x0)
proc 19487 (init): native num 74 ret: err = 0, rv = 0x0,0x3
proc 19487 (init): native num 74 call: mprotect(0x50e00000, 0x4000, 0x0)
proc 19487 (init): native num 74 ret: err = 0, rv = 0x0,0x3
proc 19487 (init): native num 20 call: getpid()
proc 19487 (init): native num 20 ret: err = 0, rv = 0x4c1f,0x100000000
proc 19487 (init): native num 197 call: mmap(0x0, 0x2000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (init): native num 197 ret: err = 0, rv = 0x5d618000,0x3
proc 19487 (init): native num 74 call: mprotect(0x10254000, 0x4000, 0x1)
proc 19487 (init): native num 74 ret: err = 0, rv = 0x0,0x1dbdd0be
proc 19487 (init): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (init): native num 197 ret: err = 0, rv = 0x60030000,0x3
proc 19487 (init): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (init): native num 197 ret: err = 0, rv = 0x5b104000,0x3
proc 19487 (init): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (init): native num 197 ret: err = 0, rv = 0x5f41c000,0x3
proc 19487 (init): native num 59 call: execve(0x7ffe0128, 0x7ffdfd18, 0x60030030)
proc 19487 (sh): native num 59 ret: err = 0, rv = 0x0,0x0
proc 19487 (sh): native num 202 call: __sysctl(0x7ffd3470, 0x2, 0x101a1c70, 0x7ffd3480, 0x0, 0x0)
proc 19487 (sh): native num 202 ret: err = 0, rv = 0x0,0x25
proc 19487 (sh): native num 202 call: __sysctl(0x7ffd3430, 0x2, 0x1024c4b0, 0x7ffd3440, 0x0, 0x0)
proc 19487 (sh): native num 202 ret: err = 0, rv = 0x0,0x6
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x57044000,0x3
proc 19487 (sh): native num 74 call: mprotect(0x57044000, 0x4000, 0x1)
proc 19487 (sh): native num 74 ret: err = 0, rv = 0x0,0x57044018
proc 19487 (sh): native num 20 call: getpid()
proc 19487 (sh): native num 20 ret: err = 0, rv = 0x4c1f,0x0
proc 19487 (sh): native num 202 call: __sysctl(0x7ffd2d30, 0x2, 0x7ffd2d40, 0x7ffd2d20, 0x0, 0x0)
proc 19487 (sh): native num 202 ret: err = 0, rv = 0x0,0x1
proc 19487 (sh): native num 58 call: readlink(0x10186c30, 0x7ffd2e90, 0x3f)
proc 19487 (sh): native num 58 ret: err = 2, rv = 0x0,0x10254008
proc 19487 (sh): native num 253 call: issetugid()
proc 19487 (sh): native num 253 ret: err = 0, rv = 0x0,0xffffffffffffffff
proc 19487 (sh): native num 20 call: getpid()
proc 19487 (sh): native num 20 ret: err = 0, rv = 0x4c1f,0x0
proc 19487 (sh): native num 197 call: mmap(0x0, 0xc000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5833c000,0x3
proc 19487 (sh): native num 74 call: mprotect(0x5833c000, 0x4000, 0x0)
proc 19487 (sh): native num 74 ret: err = 0, rv = 0x0,0x3
proc 19487 (sh): native num 74 call: mprotect(0x58344000, 0x4000, 0x0)
proc 19487 (sh): native num 74 ret: err = 0, rv = 0x0,0x3
proc 19487 (sh): native num 20 call: getpid()
proc 19487 (sh): native num 20 ret: err = 0, rv = 0x4c1f,0x100000000
proc 19487 (sh): native num 197 call: mmap(0x0, 0x2000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5ce80000,0x3
proc 19487 (sh): native num 74 call: mprotect(0x10254000, 0x4000, 0x1)
proc 19487 (sh): native num 74 ret: err = 0, rv = 0x0,0x4b545478
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5084c000,0x3
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x50368000,0x3
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5c278000,0x3
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5454c000,0x3
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5b930000,0x3
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5a57c000,0x3
proc 19487 (sh): native num 46 call: sigaction(0x2, 0x1023b270, 0x7ffd2f60)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0xc0
proc 19487 (sh): native num 46 call: sigaction(0x2, 0x7ffd2f60, 0x0)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0xe8
proc 19487 (sh): native num 46 call: sigaction(0x3, 0x1023b270, 0x7ffd2f60)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0xc0
proc 19487 (sh): native num 46 call: sigaction(0x3, 0x7ffd2f60, 0x0)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0xe8
proc 19487 (sh): native num 46 call: sigaction(0xf, 0x1023b270, 0x7ffd2f60)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0x40
proc 19487 (sh): native num 46 call: sigaction(0xf, 0x7ffd2f60, 0x0)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0x68
proc 19487 (sh): native num 46 call: sigaction(0x1, 0x1023b270, 0x7ffd2f60)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0x200
proc 19487 (sh): native num 46 call: sigaction(0x1, 0x7ffd2f60, 0x0)
proc 19487 (sh): native num 46 ret: err = 0, rv = 0x0,0x228
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5554c000,0x3
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x5212c000,0x3
proc 19487 (sh): native num 20 call: getpid()
proc 19487 (sh): native num 20 ret: err = 0, rv = 0x4c1f,0x0
proc 19487 (sh): native num 197 call: mmap(0x0, 0x4000, 0x3, 0x1002, 0xffffffffffffffff, 0x0, 0x0)
proc 19487 (sh): native num 197 ret: err = 0, rv = 0x547fc000,0x3
proc 19487 (sh): native num 304 call: __getcwd(0x547fc010, 0x400)
proc 19487 (sh): native num 304 ret: err = 0, rv = 0x2,0x1
proc 19487 (sh): native num 39 call: getppid()
proc 19487 (sh): native num 39 ret: err = 0, rv = 0x1,0x1


Trap cause = 11 Frame 0x9800000005df7da8
Trap PC 0xffffffff8112c050 RA 0xffffffff811179ec fault 0x100c0c28
0xffffffff8112bf80 (0,9800000005df4000,9800000005df4000,1000002c) ra 0xffffffff811179ec sp 0x9800000005df7f00, sz 0
0xffffffff811179e0 (0,9800000005df4000,9800000005df4000,1000002c) ra 0x0 sp 0x9800000005df7f00, sz 0
User-level: pid 19487
stopped on non ddb fault
Stopped at 0xffffffff8112c050: lwc1 f0,320(a1)