can't execute any executable in shell except busybox commands..

2022-04-05 Thread Chan Kim
Hello, all I built linux 5.4.0 and made initramfs using busybox. I added the initramfs inside the linux kernel. The init file in the intramfs executes shell. After kernel boots on a arm64 virtual machine, I'm in the busybox shell. Now after I get file from outside world(using tftp), I cannot run t

RE: can't execute any executable in shell except busybox commands..

2022-04-05 Thread Chan Kim
I found adding -static option in the compile solves the problem. Thank you! Chan Kim > -Original Message- > From: Chan Kim > Sent: Tuesday, April 5, 2022 5:11 PM > To: 'qemu-discuss' > Subject: can't execute any executable in shell except busybox commands.. > > Hello, all > > I built

How can I debug kernel module running on a virtual machine?

2022-04-05 Thread Chan Kim
Hello all, I think I have once read about this but can't find it now. I'm running linux-5.4.188 on a qemu arm64 virtual machine. Because I built the kernel from the source, I can debug(analyze) the kernel by attaching to the linux kernel program running on a remote machine(qemu virtual machine). T

RE: How can I debug kernel module running on a virtual machine?

2022-04-05 Thread Chan Kim
Hello all, I found how to do it, I had asked it on stackoverflow.com and posted it as an answer there. Please see if you are interested. https://stackoverflow.com/questions/71749640/how-can-i-debug-kernel-module-r unning-on-a-virtual-machine/71753139#71753139 Thank you! Chan Kim > -Origina

Improving user networking performance

2022-04-05 Thread Anders Pitman
I'm trying to improve user networking performance, especially from a Windows 10 host, Linux guest. My goal is to get at least 100Mbps duplex. I'm hoping to be able to saturate a 1Gbps link. I need to avoid requiring any admin privileges, which is why I'm doing user networking instead of setting

irq_desc not found for my interrupt number during request_irq (radix tree of irq_desc has only 64 entries..)

2022-04-05 Thread Chan Kim
Hello all, I'm doing an linux driver and application test on a qemu arm64 virtual machine. My virtual machine is slightly modified version of arm 'virt' machine and it has our device model included. When I do request_irq for INTID 208 (SPI 176) in linux on my arm64 virtual machine, it returns -EI

RE: irq_desc not found for my interrupt number during request_irq (radix tree of irq_desc has only 64 entries..)

2022-04-05 Thread Chan Kim
This is the boot message of the virtual machine related to IRQ. [0.00] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [0.00] GICv3: 224 SPIs implemented [0.00] GICv3: 0 Extended SPIs implemented [0.00] GICv3: Distributor has no Range Selector support [0.00] G

Re: Improving user networking performance

2022-04-05 Thread Paul Menzel
Dear Anders, Am 05.04.22 um 22:31 schrieb Anders Pitman: I'm trying to improve user networking performance, especially from a Windows 10 host, Linux guest. My goal is to get at least 100Mbps duplex. I'm hoping to be able to saturate a 1Gbps link. I need to avoid requiring any admin privileges,