gem5-dev@gem5.org

The gem5 Developer List

View all threads

failed to run ifconfig/ping command

S
sun2k23
Wed, Jan 3, 2024 9:48 AM

Hi,

I'm trying to boot arm linux using the gem5-v23.0.1.0 + arm64 architecture + binary and disk downloaded from the gem5 official website(GUESTED BINARIES->Arm FS binaries), the startup script is the simple_bootscript.rcS.

i can boot the vmlinux succesfully, but encountered one issue when it starts to execute the "/sbin/ifconfig eth0 hw ether 00:90:00:00:00:${MY_ADDR_PADDED}" command in simple_bootscript.rcS, the error information is as below:
"ifconfig: SIOCSIFHWADDR: No such device"

I think maybe that's because of the linux didn't enable ethernet, but i don't konw how to enable it even i can compile the linux kernel myself.
Does anyone meet similar situations? Thanks a lot and expect any suggestions to about it.

Thanks a lot.

-TK

Hi, I'm trying to boot arm linux using the gem5-v23.0.1.0 + arm64 architecture + binary and disk downloaded from the gem5 official website(GUESTED BINARIES->Arm FS binaries), the startup script is the simple_bootscript.rcS. i can boot the vmlinux succesfully, but encountered one issue when it starts to execute the "/sbin/ifconfig eth0 hw ether 00:90:00:00:00:${MY_ADDR_PADDED}" command in simple_bootscript.rcS, the error information is as below: "ifconfig: SIOCSIFHWADDR: No such device" I think maybe that's because of the linux didn't enable ethernet, but i don't konw how to enable it even i can compile the linux kernel myself. Does anyone meet similar situations? Thanks a lot and expect any suggestions to about it. Thanks a lot. -TK