Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jul 2017 21:52:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220437] system crashes and reboots while unpacking tarball to sdcard
Message-ID:  <bug-220437-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220437

            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@FreeBSD.org
          Reporter: josua.mayer97@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@pentium3:/mnt # tar -xpf
/usr/local/samba/clearfog/freebsd-clearfog-20170702.tar.gz=20
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, wi=
th
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220437-8>