View Single Post
Old 10-11-2021, 06:36 PM   #1
wishindo
Member
wishindo began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Oct 2021
Location: Florida, USA
Device: Kindle Keyboard w/ 3G (k3g), Likebook Mars (T80D)
Swapping the 3G modem for a USB Flash Drive

Continuation of Swapping the 3G modem for a 4G modem, post 2 and Swapping the 3G modem for a 4G modem, post 3

I found and bought a mini-PCIe to USB adpater on Amazon with one-day shipping yesterday, and it arrived today. I've installed it in my Kindle Keyboard, inserted a FAT32 USB drive, and oops! No SCSI over USB support in the kernel! Which means "/dev/sda" and "/dev/sda1" (and so on) don't exist.

As existence is a prerequisite of being mounted, I have to (I assume) build some kernel modules and place them in the appropriate directory in "/lib/modules/", specifically "USB_STORAGE" and "SCSI". Ugh.

As I've never built a kernel module before (my experience with the Linux kernel is solely building the kernel after taking a config file from "/boot/", tweaking it, and naming it ".config", and running "make bindeb-pkg"), let alone cross-compile kernel modules, I'd like some advice.

1) Should I use the toolchain at Snapshots of NiLuJe's hacks?
2) Where would I get the kernel headers?
3) Do I download the source for the same version number as the output of "uname -r" (2.6.26-rt in my case) from kernel.org to get the module source?
wishindo is offline   Reply With Quote