rump_server, "panic: uvm_km_alloc failed" on module load

Nemanja Simonovic <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Hi,

I tried asking this on users list but got no reply.

When trying to load modules to rump_server I am getting kernel
"panic: uvm_km_alloc failed". Both with -m parameter and with
rump.modload.

I not sure if I am doing something wrong or hitting a bug?


-------------------------------------------------------------
bash-5.2$ uname -a
NetBSD netbsdb.dev63.com 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 
13:08:11 UTC 2024 
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64

bash-5.2$ rump_server -v -lrumpvfs -m 
/stand/amd64/10.1/modules/tmpfs/tmpfs.kmod   unix://sock
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 
2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 
2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All 
rights reserved.

[   1.0000000] NetBSD 10.1 (RUMP-ROAST)
[   1.0000000] total memory = unlimited (host limit)
[   1.0000000] entropy: ready
[   1.0000000] timecounter: Timecounters tick every 10.000 msec
[   1.0000040] timecounter: Timecounter "clockinterrupt" frequency 100 
Hz quality 0
[   1.0000050] cpu0 at thinair0: rump virtual cpu
[   1.0000050] cpu1 at thinair0: rump virtual cpu
[   1.0000050] root file system type: rumpfs
[   1.0000050] kern.module.path=/stand/amd64/10.1/modules
[   1.0200050] panic: uvm_km_alloc failed
[   1.0200050] rump kernel halting...
halted



---------------
bash-5.2$ rump_server -v -lrumpvfs -s  unix://sock
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 
2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 
2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All 
rights reserved.

[   1.0000000] NetBSD 10.1 (RUMP-ROAST)
[   1.0000000] total memory = unlimited (host limit)
[   1.0000000] entropy: ready
[   1.0000000] timecounter: Timecounters tick every 10.000 msec
[   1.0000040] timecounter: Timecounter "clockinterrupt" frequency 100 
Hz quality 0
[   1.0000050] cpu0 at thinair0: rump virtual cpu
[   1.0000050] cpu1 at thinair0: rump virtual cpu
[   1.0000050] root file system type: rumpfs
[   1.0000050] kern.module.path=/stand/amd64/10.1/modules
[  52.4700050] panic: uvm_km_alloc failed
[  52.4700050] rump kernel halting...
halted
Abort trap (core dumped)

# panic is after
bash-5.2$ rump.modload /stand/amd64/10.1/modules/msdos/msdos.kmod

-------------------------------------------------------------
arm64# uname -a
NetBSD arm64 10.99.14 NetBSD 10.99.14 (GENERIC64) #0: Wed Apr 23 
17:20:11 CEST 2025 
[email protected]:/home/nemanja/source/evbarm-aarch64/sys/arch/evbarm/compile/GENERIC64 
evbarm

arm64#  rump_server -v -m 
/stand/evbarm/10.99.14/modules/tmpfs/tmpfs.kmod unix://sock
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 
2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 
2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All 
rights reserved.

[   1.0000000] NetBSD 10.99.14 (RUMP-ROAST)
[   1.0000000] total memory = unlimited (host limit)
[   1.0000000] entropy: ready
[   1.0000000] timecounter: Timecounters tick every 10.000 msec
[   1.0000040] timecounter: Timecounter "clockinterrupt" frequency 100 
Hz quality 0
[   1.0000050] cpu0 at thinair0: rump virtual cpu
[   1.0000050] cpu1 at thinair0: rump virtual cpu
[   1.0000050] root file system type: rumpfs
[   1.0000050] kern.module.path=/stand/evbarm/10.99.14/modules
[   1.0200050] warning: kernel ABI not supported on this arch
[   1.0200050] panic: uvm_km_alloc failed
[   1.0200050] rump kernel halting...
halted
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.