Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2023 04:34:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 270495] panic: Could not malloc 163840 bytes with M_WAITOK from /usr/src/sys/contrib/openzfs/module/zstd/zfs_zstd.c line 670
Message-ID:  <bug-270495-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 270495
           Summary: panic: Could not malloc 163840 bytes with M_WAITOK
                    from
                    /usr/src/sys/contrib/openzfs/module/zstd/zfs_zstd.c
                    line 670
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: tkmcintosh@me.com

I am trying to install FreeBSD 13.1 on my legacy i386 system:

- Supermicro P5STE motherboard (Intel 430HX)
<https://theretroweb.com/motherboards/s/supermicro-p5ste>;
- Pentium 90? CPU
- 64MB RAM
- Builtin dual-IDE:
  - IDE0
    - primary: 1GB WDC disk
    - secondary: Toshiba XM6202B CDROM drive
  - IDE1
    - primary: 2GB WDC disk
    - secondary: N/A
- Adaptec AHA-2940 SCSI controller (ID 0)
  - ID 6 - 1GB SEAGATE disk

In order to fit the installation media on a standard 700MB CDROM, I used
`xorriso` to create a reduced-size version of the `disc1` ISO, removing the
`src.txz` package, as follows:

```
xorriso -external_filter exclude_src default /usr/bin/grep -v src.txz -- \
-boot_image any discard \
-boot_image any bin_path=3Dboot/cdboot \
-indev ~/Downloads/FreeBSD-13.1-RELEASE-i386-disc1.iso \
-outdev ~/Downloads/FreeBSD-13.1-RELEASE-i386-cd.iso \
-rm /usr/freebsd-dist/src.txz -- \
-set_filter exclude_src /usr/freebsd-dist/MANIFEST
```

I then attempted to boot the system from the CDROM (with the CDROM as the o=
nly
bootable drive). The complete output looks like this:

```
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is fd0
BIOS drive B: is fd1
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS drive E: is disk2
panic: Could not malloc 163840 bytes with M_WAITOK from
/usr/src/sys/contrib/openzfs/module/zstd/zfs_zstd.c line 670
--> Press a key on the console to reboot <--
```

--=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-270495-227>