Hi all,
Looking for a little guidance here. I installed the latest version of Volumio and I would like to recompile the kernel and add support for my iSCSI DroboPro SAN. I have been following instructions from this website:
How to compile a Linux kernel for the Raspberry Pi 4 on Raspbian - The Tech Journal (stephenwagner.com)
I merged in instructions, to add iSCSI initiator setttings, from this website: RPi iSCSI Initiator - eLinux.org
Once the UI has loaded, navigate to the “Device Drivers” section (enter to navigate between pages, space to change an option), then “SCSI device support”, then “SCSI Transports”. Change the “iSCSI Transport Attributes” option twice (so that it shows a *) to build it into the kernel. Go back a page, hit space for “SCSI low-level drivers” to enable this option, then enter to descend into it, then space twice for a * on “iSCSI Initiator over TCP/IP”.
Once these options are enabled, exit the UI and save changes. To ensure these are set, run:
grep ISCSI .config
This should return the following:
CONFIG_SCSI_ISCSI_ATTRS=y
CONFIG_ISCSI_TCP=y
#CONFIG_ISCSI_BOOT_SYSFS is not set
Built the kernel, everything seems to go fine. But when I got to the last step of copying the kernel over to /boot, it said I had run out of space. Collaborating with a friend who knows Linux better than I, he suggested I remove /boot/kernel7.img as there appeared to be three kernel image files. Removing that file, I was able to copy my new kernel from ‘home’ folder over to /boot, now when I boot up Volumio the networking seems unstable. SSH sessions keep crashing after a few seconds of connectivity or they don’t come up.
Does anyone know what the three image files are for? My new kernel is 6.2 MB and I need to just free up a bit of space to fit it on the partition.
Steve