IRC channel logs
2023-06-25.log
back to list of logs
<damo22>but everything works nicely in qemu with the patch <damo22>damn, the rumpnet makefiles are not right, there are some hard stubs compiled in: <damo22>/usr/bin/ld: /usr/lib/gcc/i686-gnu/12/../../../librumpnet.a(net_stub.o):(.bss+0x0): multiple definition of `rumpns_ifnet_mtx'; /usr/lib/gcc/i686-gnu/12/../../../librumpnet_net.a(if.o):(.data.cacheline_aligned+0x0): first defined here <damo22>/usr/bin/ld: /usr/lib/gcc/i686-gnu/12/../../../librumpnet.a(net_stub.o):(.bss+0x4): multiple definition of `rumpns_ifnet_pslist'; /usr/lib/gcc/i686-gnu/12/../../../librumpnet_net.a(if.o):(.bss+0x4): first defined here <damo22>/usr/bin/ld: /usr/lib/gcc/i686-gnu/12/../../../librumpnet.a(net_stub.o):(.bss+0x8): multiple definition of `rumpns_ifnet_list'; /usr/lib/gcc/i686-gnu/12/../../../librumpnet_net.a(if.o):(.bss+0x8): first defined here <damo22>i dont think the usb stack is split by host/device in rump <damo22>i think the best we can do for now is a monolithic usb driver <damo22>[ 3.0800050] umass0: QEMU (0x46f4) QEMU USB HARDDRIVE (0x0001), rev 3.00/0.00, addr 1 <damo22>[ 3.1400050] umass0: using SCSI over Bulk-Only <damo22>[ 3.1600050] scsibus0 at umass0: 2 targets, 1 lun per target <damo22>[ 3.1800050] sd0 at scsibus0 target 0 lun 0: <QEMU, QEMU HARDDISK, 2.5+> disk fixed <damo22>[ 3.1800050] sd0: 4096 MB, 8322 cyl, 16 head, 63 sec, 512 bytes/sect x 8388608 sectors <damo22>i got rumpdisk to boot off usb with 3 lines of code