From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 16 20:50:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BADBE106568D for ; Sat, 16 Jun 2012 20:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 72A5A8FC23 for ; Sat, 16 Jun 2012 20:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5GKoAQ0075771 for ; Sat, 16 Jun 2012 20:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5GKoAo4075770; Sat, 16 Jun 2012 20:50:10 GMT (envelope-from gnats) Resent-Date: Sat, 16 Jun 2012 20:50:10 GMT Resent-Message-Id: <201206162050.q5GKoAo4075770@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Risto Erik Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4CFD106564A for ; Sat, 16 Jun 2012 20:42:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9D6A98FC14 for ; Sat, 16 Jun 2012 20:42:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5GKgRT3016335 for ; Sat, 16 Jun 2012 20:42:27 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q5GKgRKv016334; Sat, 16 Jun 2012 20:42:27 GMT (envelope-from nobody) Message-Id: <201206162042.q5GKgRKv016334@red.freebsd.org> Date: Sat, 16 Jun 2012 20:42:27 GMT From: Risto Erik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169165: Calling fchown(2) on sshfs filesystem causes panic X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 20:50:11 -0000 >Number: 169165 >Category: ports >Synopsis: Calling fchown(2) on sshfs filesystem causes panic >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 16 20:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Risto Erik >Release: 9.0 >Organization: >Environment: FreeBSD test 9.0-RELEASE-p2 FreeBSD 9.0-RELEASE-p2 #0: Thu May 31 22:01:52 EEST 2012 root@test:/usr/obj/usr/src/sys/DEBUG amd64 >Description: Calling fchown() function on a file descriptor opened from a filesystem mounted using sshfs causes FreeBSD 9.0 to panic. I didn't experience panics on FreeBSD 8.x versions. I discovered the issue when I tried to save a file using vim opened from sshfs filesystem. It doesn't matter if filesystem was mounted by regular user or root. I have following fusefs ports installed (which are latest versions available at the time of reporting): fusefs-kmod-0.3.9.p1.20080208_10 fusefs-libs-2.7.4 fusefs-sshfs-2.4 Kernel is GENERIC kernel configuration with to extra options: options DDB options GDB >How-To-Repeat: 1) Install sysutils/fusefs-kmod, sysutils/fusefs-libs and fusefs-sshfs ports on a FreeBSD 9.0 system 2) Load fusefs kernel module: /usr/local/etc/rc.d/fusefs onestart 3) Mount a sshfs filesystem: sshfs user@example.com:. /mnt 4) Compile crash.c program (code below): gcc ~/crash.c -o ~/crash 5) Run compiled program on a sshfs filesystem: cd /mnt && ~/crash 6) Panic --- crash.c code --- #include #include #include #include #include int main(void) { int fd; if ((fd = open("crash.test", O_RDWR|O_CREAT)) == -1) { perror("open"); exit(1); } /* This call will cause panic */ if (fchown(fd, 0, 0) == -1) { perror("fchown"); exit(1); } close(fd); return 0; } --- end crash.c code --- >Fix: Patch attached with submission follows: test dumped core - see /var/crash/vmcore.1 Fri Jun 8 23:02:33 EEST 2012 FreeBSD test 9.0-RELEASE-p2 FreeBSD 9.0-RELEASE-p2 #0: Thu May 31 22:01:52 EEST 2012 root@test:/usr/obj/usr/src/sys/DEBUG amd64 panic: from debugger GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read instruction, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xffffff80003c9ad0 frame pointer = 0x28:0xffffff80003c9b20 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1096 (crash) panic: from debugger cpuid = 0 KDB: stack backtrace: Uptime: 7m30s Dumping 309 out of 2029 MB:..6%..11%..21%..31%..42%..52%..62%..73%..83%..93% Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko #0 doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:260 260 if (textdump && textdump_pending) { (kgdb) #0 doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:260 #1 0xffffffff80840de5 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:442 #2 0xffffffff80841291 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:607 #3 0xffffffff802fbd37 in db_panic (addr=Variable "addr" is not available. ) at /usr/src/sys/ddb/db_command.c:481 #4 0xffffffff802fc141 in db_command (last_cmdp=0xffffffff810f52c0, cmd_table=Variable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:448 #5 0xffffffff802fc390 in db_command_loop () at /usr/src/sys/ddb/db_command.c:501 #6 0xffffffff802fe4c9 in db_trap (type=Variable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:229 #7 0xffffffff80876981 in kdb_trap (type=12, code=0, tf=0xffffff80003c9a20) at /usr/src/sys/kern/subr_kdb.c:620 #8 0xffffffff80b33efd in trap_fatal (frame=0xffffff80003c9a20, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:814 #9 0xffffffff80b34239 in trap_pfault (frame=0xffffff80003c9a20, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:735 #10 0xffffffff80b346ff in trap (frame=0xffffff80003c9a20) at /usr/src/sys/amd64/amd64/trap.c:474 #11 0xffffffff80b1e84f in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228 #12 0x0000000000000000 in ?? () #13 0xffffffff808e0cf5 in sys_fchown (td=0xfffffe0002ea3000, uap=0xffffff80003c9bc0) at file.h:324 #14 0xffffffff80b337e0 in amd64_syscall (td=0xfffffe0002ea3000, traced=0) at subr_syscall.c:131 #15 0xffffffff80b1eb37 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387 #16 0x00000008008a0e1c in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) ------------------------------------------------------------------------ ps -axl UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 0 -52 -1 0 0 - D max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 61 packets for this host 0 packets for unknown/unsupported protocol 0 packets forwarded (0 packets fast forwarded) 1 packet not forwardable 0 packets received for unknown multicast group 0 redirects sent 60 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header icmp: 0 calls to icmp_error 0 errors not generated in response to an icmp message 0 messages with bad code fields 0 messages less than the minimum length 0 messages with bad checksum 0 messages with bad length 0 multicast echo requests ignored 0 multicast timestamp requests ignored 0 message responses generated 0 invalid return addresses 0 no return routes igmp: 0 messages received 0 messages received with too few bytes 0 messages received with wrong TTL 0 messages received with bad checksum 0 V1/V2 membership queries received 0 V3 membership queries received 0 membership queries received with invalid field(s) 0 general queries received 0 group queries received 0 group-source queries received 0 group-source queries dropped 0 membership reports received 0 membership reports received with invalid field(s) 0 membership reports received for groups to which we belong 0 V3 reports received without Router Alert 0 membership reports sent arp: 2 ARP requests sent 3 ARP replies sent 6 ARP requests received 1 ARP reply received 7 ARP packets received 0 total packets dropped due to no ARP entry 0 ARP entrys timed out 0 Duplicate IPs seen ip6: 0 total packets received 0 with size smaller than minimum 0 with data size < data length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 fragments that exceeded limit 0 packets reassembled ok 0 packets for this host 0 packets forwarded 0 packets not forwardable 0 redirects sent 0 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 packets that violated scope rules 0 multicast packets which we don't join Mbuf statistics: 0 one mbuf 0 one ext mbuf 0 two or more ext mbuf 0 packets whose headers are not contiguous 0 tunneling packets that can't find gif 0 packets discarded because of too many headers 0 failures of source address selection Source addresses selection rule applied: 5 same address icmp6: 0 calls to icmp6_error 0 errors not generated in response to an icmp6 message 0 errors not generated because of rate limitation 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Histogram of error messages to be generated: 0 no route 0 administratively prohibited 0 beyond scope 0 address unreachable 0 port unreachable 0 packet too big 0 time exceed transit 0 time exceed reassembly 0 erroneous header field 0 unrecognized next header 0 unrecognized option 0 redirect 0 unknown 0 message responses generated 0 messages with too many ND options 0 messages with bad ND options 0 bad neighbor solicitation messages 0 bad neighbor advertisement messages 0 bad router solicitation messages 0 bad router advertisement messages 0 bad redirect messages 0 path MTU changes rip6: 0 messages received 0 checksum calculations on inbound 0 messages with bad checksum 0 messages dropped due to no socket 0 multicast messages dropped due to no socket 0 messages dropped due to full socket buffers 0 delivered 0 datagrams output ------------------------------------------------------------------------ netstat -m netstat: memstat_kvm_all: Too many CPUs ------------------------------------------------------------------------ netstat -id Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop em0 1500 08:00:27:29:5f:bf 23 0 0 20 0 0 0 em0 1500 0.0.0.0&0xfff cloud 15 - - 14 - - - lo0 16384 46 0 0 46 0 0 0 lo0 16384 localhost ::1 0 - - 0 - - - lo0 16384 fe80::1%lo0 fe80::1 0 - - 0 - - - lo0 16384 0.0.0.0&0xfff localhost 46 - - 46 - - - ------------------------------------------------------------------------ netstat -anr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.100.1 UGS 0 5 em0 127.0.0.1 link#2 UH 0 46 lo0 192.168.100.0/24 link#1 U 0 9 em0 192.168.100.176 link#1 UHS 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 ::1 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::/10 ::1 UGRS lo0 fe80::%lo0/64 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 ff01::%lo0/32 ::1 U lo0 ff02::/16 ::1 UGRS lo0 ff02::%lo0/32 ::1 U lo0 ------------------------------------------------------------------------ netstat -anA Active Internet connections (including servers) Tcpcb Proto Recv-Q Send-Q Local Address Foreign Address (state) fffffe00028697a0 tcp4 0 80 127.0.0.1.22 127.0.0.1.48110 ESTABLISHED fffffe0002869000 tcp4 0 0 127.0.0.1.48110 127.0.0.1.22 ESTABLISHED fffffe00028693d0 tcp4 0 0 127.0.0.1.25 *.* LISTEN fffffe0002869b70 tcp4 0 0 *.22 *.* LISTEN fffffe0002863000 tcp6 0 0 *.22 *.* LISTEN fffffe00028547a8 udp4 0 0 *.514 *.* fffffe0002854ab8 udp6 0 0 *.514 *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr fffffe000296b2d0 stream 0 0 0 fffffe000296b3c0 0 0 fffffe000296b3c0 stream 0 0 0 fffffe000296b2d0 0 0 fffffe000296be10 stream 0 0 0 fffffe000286a000 0 0 fffffe000286a000 stream 0 0 0 fffffe000296be10 0 0 fffffe000296bd20 stream 0 0 fffffe0002878000 0 0 0 /var/run/devd.pipe fffffe000296bb40 dgram 0 0 0 fffffe000296b5a0 0 fffffe000296b960 fffffe000296b960 dgram 0 0 0 fffffe000296b5a0 0 0 fffffe000296b5a0 dgram 0 0 fffffe000298b000 0 fffffe000296bb40 0 /var/run/logpriv fffffe000296b4b0 dgram 0 0 fffffe000298b1e0 0 0 0 /var/run/log ------------------------------------------------------------------------ netstat -aL Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp4 0/0/10 localhost.smtp tcp4 0/0/128 *.ssh tcp6 0/0/128 *.ssh unix 0/0/4 /var/run/devd.pipe ------------------------------------------------------------------------ fstat USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root Îúï¾È» 1096 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 1096 wd - - ?(fuse) - root Îúï¾È» 1096 text / 495304 -rwxr-xr-x 6869 r root Îúï¾È» 1096 0 /dev 42 crw------- ttyv0 rw root Îúï¾È» 1096 1 /dev 42 crw------- ttyv0 rw root Îúï¾È» 1096 2 /dev 42 crw------- ttyv0 rw root Îúï¾È» 1050 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 1050 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 1050 text / 22367 -r-xr-xr-x 69536 r root Îúï¾È» 1050 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1050 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1050 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1050 3 /dev 77 crw-rw---- fuse0 rw root Îúï¾È» 1050 4* local stream fffffe000286a000 <-> fffffe000296be10 dh Îúï¾È» 1049 root / 2 drwxr-xr-x 1024 r dh Îúï¾È» 1049 wd / 521059 drwxr-xr-x 512 r dh Îúï¾È» 1049 text / 575899 -r-xr-xr-x 32624 r dh Îúï¾È» 1049 0* pipe fffffe0002803000 <-> fffffe0002803158 0 rw dh Îúï¾È» 1049 1* pipe fffffe000280a9e0 <-> fffffe000280a888 0 rw dh Îúï¾È» 1049 2* pipe fffffe000280a708 <-> fffffe000280a5b0 0 rw dh Îúï¾È» 1049 3 / 521063 -rwsr----- 0 rw dh Îúï¾È» 1047 root / 2 drwxr-xr-x 1024 r dh Îúï¾È» 1047 wd / 521059 drwxr-xr-x 512 r dh Îúï¾È» 1047 text / 94732 -r-xr-xr-x 368968 r dh Îúï¾È» 1047 16* pipe fffffe0002803000 <-> fffffe0002803158 0 rw dh Îúï¾È» 1047 17* pipe fffffe000280a9e0 <-> fffffe000280a888 0 rw dh Îúï¾È» 1047 18* pipe fffffe000280a708 <-> fffffe000280a5b0 0 rw dh Îúï¾È» 1047 19* pipe fffffe0002803000 <-> fffffe0002803158 0 rw dh Îúï¾È» 1046 root / 2 drwxr-xr-x 1024 r dh Îúï¾È» 1046 wd / 2 drwxr-xr-x 1024 r dh Îúï¾È» 1046 text / 575593 -r-xr-xr-x 269568 r dh Îúï¾È» 1046 0 /dev 27 crw-rw-rw- null rw dh Îúï¾È» 1046 1 /dev 27 crw-rw-rw- null rw dh Îúï¾È» 1046 2 /dev 27 crw-rw-rw- null rw dh Îúï¾È» 1046 3* internet stream tcp fffffe00028697a0 dh Îúï¾È» 1046 4* local stream fffffe000296b3c0 <-> fffffe000296b2d0 dh Îúï¾È» 1046 5* pipe fffffe000280a000 <-> fffffe000280a158 0 rw dh Îúï¾È» 1046 6* pipe fffffe000280a158 <-> fffffe000280a000 0 rw dh Îúï¾È» 1046 8* pipe fffffe0002803158 <-> fffffe0002803000 0 rw dh Îúï¾È» 1046 9* pipe fffffe000280a888 <-> fffffe000280a9e0 0 rw dh Îúï¾È» 1046 11* pipe fffffe000280a5b0 <-> fffffe000280a708 0 rw root Îúï¾È» 1044 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 1044 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 1044 text / 575593 -r-xr-xr-x 269568 r root Îúï¾È» 1044 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1044 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1044 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1044 3* internet stream tcp fffffe00028697a0 root Îúï¾È» 1044 5* local stream fffffe000296b2d0 <-> fffffe000296b3c0 root Îúï¾È» 1043 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 1043 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 1043 text / 578819 -r-xr-xr-x 162456 r root Îúï¾È» 1043 0* local stream fffffe000296be10 <-> fffffe000286a000 root Îúï¾È» 1043 1* local stream fffffe000296be10 <-> fffffe000286a000 root Îúï¾È» 1043 2 /dev 27 crw-rw-rw- null w root Îúï¾È» 1043 3* internet stream tcp fffffe0002869000 root Îúï¾È» 1043 4* local stream fffffe000296be10 <-> fffffe000286a000 root Îúï¾È» 1043 5* local stream fffffe000296be10 <-> fffffe000286a000 root Îúï¾È» 1043 6 /dev 27 crw-rw-rw- null w root Îúï¾È» 976 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 976 wd - - ?(fuse) - root Îúï¾È» 976 text / 94732 -r-xr-xr-x 368968 r root Îúï¾È» 976 15 /dev 42 crw------- ttyv0 rw root Îúï¾È» 976 16 /dev 42 crw------- ttyv0 rw root Îúï¾È» 976 17 /dev 42 crw------- ttyv0 rw root Îúï¾È» 976 18 /dev 42 crw------- ttyv0 rw root Îúï¾È» 976 19 /dev 42 crw------- ttyv0 rw root Îúï¾È» 975 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 975 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 975 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 975 0 /dev 49 crw------- ttyv7 rw root Îúï¾È» 975 1 /dev 49 crw------- ttyv7 rw root Îúï¾È» 975 2 /dev 49 crw------- ttyv7 rw root Îúï¾È» 974 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 974 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 974 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 974 0 /dev 48 crw------- ttyv6 rw root Îúï¾È» 974 1 /dev 48 crw------- ttyv6 rw root Îúï¾È» 974 2 /dev 48 crw------- ttyv6 rw root Îúï¾È» 973 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 973 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 973 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 973 0 /dev 47 crw------- ttyv5 rw root Îúï¾È» 973 1 /dev 47 crw------- ttyv5 rw root Îúï¾È» 973 2 /dev 47 crw------- ttyv5 rw root Îúï¾È» 972 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 972 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 972 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 972 0 /dev 46 crw------- ttyv4 rw root Îúï¾È» 972 1 /dev 46 crw------- ttyv4 rw root Îúï¾È» 972 2 /dev 46 crw------- ttyv4 rw root Îúï¾È» 971 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 971 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 971 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 971 0 /dev 45 crw------- ttyv3 rw root Îúï¾È» 971 1 /dev 45 crw------- ttyv3 rw root Îúï¾È» 971 2 /dev 45 crw------- ttyv3 rw root Îúï¾È» 970 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 970 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 970 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 970 0 /dev 44 crw------- ttyv2 rw root Îúï¾È» 970 1 /dev 44 crw------- ttyv2 rw root Îúï¾È» 970 2 /dev 44 crw------- ttyv2 rw root Îúï¾È» 969 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 969 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 969 text / 575866 -r-xr-xr-x 27480 r root Îúï¾È» 969 0 /dev 43 crw------- ttyv1 rw root Îúï¾È» 969 1 /dev 43 crw------- ttyv1 rw root Îúï¾È» 969 2 /dev 43 crw------- ttyv1 rw root Îúï¾È» 968 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 968 wd / 473600 drwxr-xr-x 512 r root Îúï¾È» 968 text / 578939 -r-sr-xr-x 25048 r root Îúï¾È» 968 0 /dev 42 crw------- ttyv0 rw root Îúï¾È» 968 1 /dev 42 crw------- ttyv0 rw root Îúï¾È» 968 2 /dev 42 crw------- ttyv0 rw root Îúï¾È» 968 3* local dgram fffffe000296bb40 <-> fffffe000296b5a0 root Îúï¾È» 907 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 907 wd / 47368 drwxr-x--- 512 r root Îúï¾È» 907 text / 575651 -r-xr-xr-x 41344 r root Îúï¾È» 907 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 907 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 907 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 907 3 / 47446 -rw------- 3 w root Îúï¾È» 899 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 899 wd / 47386 drwxr-xr-x 512 r root Îúï¾È» 899 text / 575914 -r-xr-sr-x 707416 r root Îúï¾È» 899 0 /dev 27 crw-rw-rw- null r root Îúï¾È» 899 1 /dev 27 crw-rw-rw- null w root Îúï¾È» 899 2 /dev 27 crw-rw-rw- null w root Îúï¾È» 899 3* local dgram fffffe000296b960 <-> fffffe000296b5a0 root Îúï¾È» 899 4* internet stream tcp fffffe00028693d0 root Îúï¾È» 899 5 / 47445 -rw------- 78 w root Îúï¾È» 892 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 892 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 892 text / 575593 -r-xr-xr-x 269568 r root Îúï¾È» 892 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 892 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 892 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 892 3* internet6 stream tcp fffffe0002863000 root Îúï¾È» 892 4* internet stream tcp fffffe0002869b70 root Îúï¾È» 601 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 601 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 601 text / 575817 -r-xr-xr-x 39776 r root Îúï¾È» 601 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 601 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 601 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 601 3 / 47831 -rw------- 3 w root Îúï¾È» 601 4* local dgram fffffe000296b4b0 root Îúï¾È» 601 5* local dgram fffffe000296b5a0 root Îúï¾È» 601 6* internet6 dgram udp fffffe0002854ab8 root Îúï¾È» 601 7* internet dgram udp fffffe00028547a8 root Îúï¾È» 601 8 /dev 34 crw------- klog r root Îúï¾È» 601 10 - - bad - root Îúï¾È» 601 11 / 47439 -rw-r--r-- 39784 w root Îúï¾È» 601 12 / 47441 -rw------- 59 w root Îúï¾È» 601 13 / 47434 -rw------- 2751 w root Îúï¾È» 601 14 / 47450 -rw-r----- 2824 w root Îúï¾È» 601 15 / 47437 -rw-r--r-- 59 w root Îúï¾È» 601 16 / 47442 -rw------- 59 w root Îúï¾È» 601 17 / 47435 -rw------- 23360 w root Îúï¾È» 601 18 / 47436 -rw------- 59 w root Îúï¾È» 601 19 / 47440 -rw-r----- 59 w root Îúï¾È» 463 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 463 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 463 text / 520975 -r-xr-xr-x 443424 r root Îúï¾È» 463 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 463 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 463 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 463 3 /dev 3 crw------- devctl r root Îúï¾È» 463 4* local stream fffffe000296bd20 root Îúï¾È» 463 5 / 47807 -rw------- 3 w _dhcp Îúï¾È» 447 root / 47370 dr-xr-xr-x 512 r _dhcp Îúï¾È» 447 wd / 47370 dr-xr-xr-x 512 r _dhcp Îúï¾È» 447 jail / 47370 dr-xr-xr-x 512 r _dhcp Îúï¾È» 447 text / 520977 -r-xr-xr-x 92208 r _dhcp Îúï¾È» 447 0 /dev 27 crw-rw-rw- null rw _dhcp Îúï¾È» 447 1 /dev 27 crw-rw-rw- null rw _dhcp Îúï¾È» 447 2 /dev 27 crw-rw-rw- null rw _dhcp Îúï¾È» 447 4* route raw 0 fffffe0002866000 _dhcp Îúï¾È» 447 5* pipe fffffe000280a430 <-> fffffe000280a2d8 0 rw _dhcp Îúï¾È» 447 6 / 47428 ---------- 1420 w _dhcp Îúï¾È» 447 7 /dev 10 crw------- bpf rw _dhcp Îúï¾È» 447 8* internet raw ip fffffe0002970000 root Îúï¾È» 409 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 409 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 409 text / 520977 -r-xr-xr-x 92208 r root Îúï¾È» 409 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 409 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 409 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 409 4* pipe fffffe000280a2d8 <-> fffffe000280a430 0 rw root Îúï¾È» 144 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 144 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 144 text / 520964 -r-xr-xr-x 9216 r root Îúï¾È» 144 0 /dev 27 crw-rw-rw- null rw root Îúï¾È» 144 1 /dev 27 crw-rw-rw- null rw root Îúï¾È» 144 2 /dev 27 crw-rw-rw- null rw root Îúï¾È» 1 root / 2 drwxr-xr-x 1024 r root Îúï¾È» 1 wd / 2 drwxr-xr-x 1024 r root Îúï¾È» 1 text / 521001 -r-xr-xr-x 790272 r root Îúï¾Ì» 0 root / 2 drwxr-xr-x 1024 r root Îúï¾Ì» 0 wd / 2 drwxr-xr-x 1024 r ------------------------------------------------------------------------ dmesg Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE-p2 #0: Thu May 31 22:01:52 EEST 2012 root@test:/usr/obj/usr/src/sys/DEBUG amd64 CPU: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (1979.18-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a4 Family = 6 Model = 1a Stepping = 4 Features=0x783fbff Features2=0x209 AMD Features=0x20100800 AMD Features2=0x1 real memory = 2147418112 (2047 MB) avail memory = 2046959616 (1952 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 1.1 on pci0 ata0: on atapci0 ata1: on atapci0 vgapci0: mem 0xe0000000-0xe7ffffff irq 18 at device 2.0 on pci0 em0: port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 19 at device 3.0 on pci0 em0: Ethernet address: 08:00:27:29:5f:bf pci0: at device 4.0 (no driver attached) pcm0: port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at device 5.0 on pci0 pcm0: pci0: at device 7.0 (no driver attached) acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 attimer0: port 0x40-0x43,0x50-0x53 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 qpi0: on motherboard sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atrtc0: at port 0x70 irq 8 on isa0 Event timer "RTC" frequency 32768 Hz quality 0 ppc0: cannot reserve I/O port range Timecounters tick every 10.000 msec pcm0: measured ac97 link rate at 43694 Hz ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: ATA-6 device ada0: 33.300MB/s transfers (UDMA2, PIO 65536bytes) ada0: 10240MB (20971520 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad0 cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present Timecounter "TSC" frequency 1979182033 Hz quality 800 Trying to mount root from ufs:/dev/ada0p2 [rw]... WARNING: / was not properly dismounted /: mount pending error: blocks 64 files 0 Setting hostuuid: 98643bca-99e5-47b1-96cb-ed4fc3a87da6. Setting hostid: 0x50eb6ed6. Entropy harvesting: interrupts ethernet point_to_point kickstart. Starting file system checks: ** SU+J Recovering /dev/ada0p2 ** Reading 33554432 byte journal from inode 4. ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. ** 8 journal records in 1536 bytes for 16.67% utilization ** Freed 2 inodes (0 dirs) 0 blocks, and 1 frags. ***** FILE SYSTEM MARKED CLEAN ***** Mounting local file systems:. Setting hostname: test. Starting Network: lo0 em0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 em0: flags=8843 metric 0 mtu 1500 options=9b ether 08:00:27:29:5f:bf nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active Starting devd. DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPACK from 192.168.100.1 bound to 192.168.100.176 -- renewal in 43200 seconds. add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net fe80::: gateway ::1 add net ff02::: gateway ::1 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 32-bit compatibility ldconfig path: /usr/lib32 Creating and/or trimming log files. Starting syslogd. savecore: reboot after panic: from debugger Jun 8 22:54:02 test savecore: reboot after panic: from debugger savecore: writing core to vmcore.0 Writing crash summary to /var/crash/core.txt.0. Clearing /tmp (X related). Updating motd:. Configuring syscons: keymap blanktime. Starting sshd. Jun 8 22:54:14 test sm-mta[898]: My unqualified host name (cloud) unknown; sleeping for retry Jun 8 22:55:14 test sm-mta[898]: unable to qualify my own domain name (cloud) -- using short name Jun 8 22:55:14 test sm-msp-queue[902]: My unqualified host name (cloud) unknown; sleeping for retry Script /etc/rc.d/sendmail interrupted Starting cron. Starting background file system checks in 60 seconds. Fri Jun 8 22:55:32 EEST 2012 Jun 8 22:55:36 test login: ROOT LOGIN (root) ON ttyv0 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read instruction, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xffffff80003c9ad0 frame pointer = 0x28:0xffffff80003c9b20 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1096 (crash) panic: from debugger cpuid = 0 KDB: stack backtrace: Uptime: 7m30s Dumping 309 out of 2029 MB:..6%..11%..21%..31%..42%..52%..62%..73%..83%..93% ------------------------------------------------------------------------ kernel config options CONFIG_AUTOGENERATED ident GENERIC machine amd64 cpu HAMMER makeoptions DEBUG=-g options USB_DEBUG options AH_SUPPORT_AR5416 options IEEE80211_SUPPORT_MESH options IEEE80211_AMPDU_AGE options IEEE80211_DEBUG options SC_PIXEL_MODE options AHD_REG_PRETTY_PRINT options AHC_REG_PRETTY_PRINT options ATA_STATIC_ID options ATA_CAM options SMP options GDB options DDB options KDB_TRACE options KDB options INCLUDE_CONFIG_FILE options MAC options AUDIT options HWPMC_HOOKS options KBD_INSTALL_CDEV options PRINTF_BUFR_SIZE=128 options _KPOSIX_PRIORITY_SCHEDULING options SYSVSEM options SYSVMSG options SYSVSHM options STACK options KTRACE options SCSI_DELAY=5000 options COMPAT_FREEBSD7 options COMPAT_FREEBSD6 options COMPAT_FREEBSD5 options COMPAT_FREEBSD4 options COMPAT_FREEBSD32 options GEOM_LABEL options GEOM_PART_GPT options PSEUDOFS options PROCFS options CD9660 options MSDOSFS options NFS_ROOT options NFSLOCKD options NFSD options NFSCL options MD_ROOT options UFS_GJOURNAL options UFS_DIRHASH options UFS_ACL options SOFTUPDATES options FFS options SCTP options INET6 options INET options PREEMPTION options SCHED_ULE options NEW_PCIB options GEOM_PART_MBR options GEOM_PART_EBR_COMPAT options GEOM_PART_EBR options GEOM_PART_BSD device isa device mem device io device uart_ns8250 device cpufreq device acpi device pci device fdc device ahci device ata device mvs device siis device ahc device ahd device esp device hptiop device isp device mpt device mps device sym device trm device adv device adw device aic device bt device scbus device ch device da device sa device cd device pass device ses device amr device arcmsr device ciss device dpt device hptmv device hptrr device iir device ips device mly device twa device aac device aacp device ida device mfi device mlx device twe device tws device atkbdc device atkbd device psm device kbdmux device vga device splash device sc device agp device cbb device pccard device cardbus device uart device ppc device ppbus device lpt device plip device ppi device puc device bxe device de device em device igb device ixgbe device le device ti device txp device vx device miibus device ae device age device alc device ale device bce device bfe device bge device dc device et device fxp device jme device lge device msk device nfe device nge device pcn device re device rl device sf device sge device sis device sk device ste device stge device tl device tx device vge device vr device wb device xl device cs device ed device ex device ep device fe device sn device xe device wlan device wlan_wep device wlan_ccmp device wlan_tkip device wlan_amrr device an device ath device ath_pci device ath_hal device ath_rate_sample device ipw device iwi device iwn device malo device mwl device ral device wi device wpi device loop device random device ether device vlan device tun device pty device md device gif device faith device firmware device bpf device uhci device ohci device ehci device xhci device usb device uhid device ukbd device ulpt device umass device ums device urio device u3g device uark device ubsa device uftdi device uipaq device uplcom device uslcom device uvisor device uvscom device aue device axe device cdce device cue device kue device rue device udav device rum device run device uath device upgt device ural device urtw device zyd device firewire device fwe device fwip device dcons device dcons_crom device sound device snd_es137x device snd_hda device snd_ich device snd_uaudio device snd_via8233 ------------------------------------------------------------------------ ddb capture buffer >Release-Note: >Audit-Trail: >Unformatted: