[Bug 220437] system crashes and reboots while unpacking tarball to sdcard

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 2 21:52:22 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220437

            Bug ID: 220437
           Summary: system crashes and reboots while unpacking tarball to
                    sdcard
           Product: Base System
           Version: CURRENT
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: josua.mayer97 at gmail.com

Hi there;
I am running FreeBSD-11.1-RC1 on an old Pentium3 machine with 512MB RAM.
The device also has a USB-2.0 PCI expansion card where I attached a USB-3.0
sdcard reader by Transcend.

Now what I am doing is mount slice 3 (MBR) on that card as /mnt, and unpack a
previously created tarball containing a custom freebsd build for arm.
Tarball is about 900MB in size, and then gzipped with -9 to 300MB.

I was using an SSH session to perform the unpacking, and after a while the
console showed errors:
root at pentium3:/mnt # tar -xpf
/usr/local/samba/clearfog/freebsd-clearfog-20170702.tar.gz 
usr/: Can't create 'usr'
usr/lib/: Can't create 'usr/lib'
usr/libexec/: Can't create 'usr/libexec'
usr/libdata/: Can't create 'usr/libdata'
......

Once I noticed the situation, the machine was already halfway through
rebooting, and the SSH client eventually realized that the session was dead.

I have seen this behaviour before with FreeBSD as a guest to VirtualBox, with
that *same* cardreader and card attached via usb-passthrough! (But I didn't
collect any data back then).

So a crashdump was saved in /var/crash:
-rw-------  1 root  wheel   191M Jul  3 01:05 vmcore.0
https://vps.jm0.eu/box/sdcardcrash1.core
https://vps.jm0.eu/box/sdcardcrash1.core.xz

Let me know if you need further details.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list