-
Senior Member
registered user
Would someone please patch the knoppix kernel with i2c?
I'd really like ot work out some hardware monitoring capability, but i2c is holding me up. I can compile a kernel, but seems like there are a lot of special considerations for knoppix's kernel. If there's someone who's got a handle on alterning knoppix's kernel, please make one that has i2c modules that will support most x86 architectures. I know I can't be the only one who wants this....
-
Senior Member
registered user
If you are running KNOPPIX install to HD, building custom kernel is pretty easy. If you mean a CD based KNOPPIX, it would mean a remastering that IMO is pretty cumbersome(every time Klaus comes out a new CD, the fork needs to follow, pain to maintain).
Since I use the poorman's install method, I adopt a 'middle of the road' approach as the following :
1. put the ISO file on the HD
2. put my custom kernel tree side by side on a ext2 loopback file under the same directory when the ISO goes
3. extra the boot.img(thus the miniroot.gz) and made modification to the initrc as well as copying the necessary modules to it
4. boot using my own kernel and at the end of initrc, mount my kernel tree to /lib/modules
In this way, I can keep up with the packages in KNOPPIX using my own kernel for as long as I want and I can switch kernel easily.
Of course it sticks to the machine but since the kernel tree is not too large, I believe about 15M compressed, I can put in on a CF(just use one that comes with my digital camera that is useless for that purpose) and I can still carry it around, together with KNOPPIX.
As for alternative knoppix kernel, my limited experience said that there is no such a thing. A kernel in linux means vmlinuz + ALL files under /lib/modules/`uname -r`(which got burnt into the CD) as a slight change in one of the function address exported by the kernel would make those modules unusable and how these address is in the kernel depends on what compilation option one choose when compiling it and what compiler used as well. So a standard linux kernel is actually 30M+(uncompressed) unless for special one where no module is used(like those special purpose router on a floppy stuff).
If Klaus can change his arrangement a bit by seperate out the kernel tree from the rest and use a similar approach as mine, it would be easier to 'inject' a custom kernel to KNOPPIX CD as all I need is to build another clooped kernel tree image and use knoppix-customize to replace that in the ISO.
-
Senior Member
registered user
One of the install alternatives lets you compile the modules outside your kernel source tree (i.e. you don't need to recompile your kernel, you only need its sources) and then install them in the right place. This is how ALSA/nvidia's binary drivers/etc work.
Maybe scripts a la FabianX could do this....
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
arkaine23
One of the install alternatives lets you compile the modules outside your kernel source tree (i.e. you don't need to recompile your kernel, you only need its sources) and then install them in the right place. This is how ALSA/nvidia's binary drivers/etc work.
Maybe scripts a la FabianX could do this....
Until now, I still don't know how these binary only module works. I have tried to use the config file of KNOPPIX using supposely the same source tree but the modules are not compatible. I tried to diff the System.map and they are all different.
Similar Threads
-
By BillS in forum General Support
Replies: 0
Last Post: 04-25-2005, 02:25 PM
-
By Albert in forum Customising & Remastering
Replies: 7
Last Post: 10-26-2004, 05:26 PM
-
By Smoke187 in forum General Support
Replies: 1
Last Post: 02-25-2004, 12:58 AM
-
By ozfrog in forum Customising & Remastering
Replies: 4
Last Post: 06-21-2003, 04:30 PM
-
By henriquegobbi in forum Customising & Remastering
Replies: 0
Last Post: 03-19-2003, 02:27 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![15.6](/store/img/g/aFMAAOSwS4dmT5XL/s-l225/15-6-Lenovo-ThinkPad-Laptop-PC-Intel-i5-16GB-RAM-5.jpg)
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam
$229.99
![Lenovo ThinkPad 13 Laptop Intel Celeron CPU 8GB RAM 128GB SSD Windows 10 picture](/store/img/g/2RsAAOSwY0llznJm/s-l225/Lenovo-ThinkPad-13-Laptop-Intel-Celeron-CPU-8GB-RA.jpg)
Lenovo ThinkPad 13 Laptop Intel Celeron CPU 8GB RAM 128GB SSD Windows 10
$79.00
![Lenovo ThinkPad L560 15.6](/store/img/g/w3EAAOSw2j1mJX7l/s-l225/Lenovo-ThinkPad-L560-15-6-Core-i7-6600U-2-6GHz-16G.jpg)
Lenovo ThinkPad L560 15.6" Core i7 6600U 2.6GHz 16GB RAM 512GB SSD Win 10 Pro
$249.00
![Lenovo ThinkBook 15 Gen 4 Notebook 15.6](/store/img/g/p58AAOSwUlZman8a/s-l225/Lenovo-ThinkBook-15-Gen-4-Notebook-15-6-FHD-Intel-.jpg)
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$514.99
![Lenovo ThinkPad T14S Gen 1 14-inch (2020) i5-10310U 16 GB SSD 256 GB - B Grade picture](/store/img/g/bD4AAOSwcMtmefge/s-l225/Lenovo-ThinkPad-T14S-Gen-1-14-inch-2020-i5-10310U-.jpg)
Lenovo ThinkPad T14S Gen 1 14-inch (2020) i5-10310U 16 GB SSD 256 GB - B Grade
$199.99
![Lenovo Ideapad 1 14](/store/img/g/l2oAAOSw3UplMDZC/s-l225/Lenovo-Ideapad-1-14-Laptop-Celeron-N4020-with-4GB-.jpg)
Lenovo Ideapad 1 14" Laptop - Celeron N4020 with 4GB Memory - Intel UHD Graph...
$149.99
![Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen picture](/store/img/g/WfsAAOSwK2JmPjsb/s-l225/Lenovo-ThinkPad-L13-Yoga-Gen-2-i5-1145G7-2-60GHz-1.jpg)
Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen
$279.99
![Lenovo ThinkPad T540P 15.6](/store/img/g/OVgAAOSwMgBmfcp-/s-l225/Lenovo-ThinkPad-T540P-15-6-FHD-Laptop-PC-Intel-i5-.jpg)
Lenovo ThinkPad T540P 15.6" FHD Laptop PC Intel i5 8GB Ram 256GB SSD Fingerprint
$118.00
![Lenovo ThinkPad Laptop PC Computer 15.6](/store/img/g/DLkAAOSwMapmfYli/s-l225/Lenovo-ThinkPad-Laptop-PC-Computer-15-6-Core-i5-8G.jpg)
Lenovo ThinkPad Laptop PC Computer 15.6" Core i5 8GB RAM 256GB SSD Windows 11
$198.50
![Lenovo ThinkPad T470 14](/store/img/g/EiAAAOSwhKpj5Csy/s-l225/Lenovo-ThinkPad-T470-14-FHD-Core-i7-7600U-2-80GHz-.jpg)
Lenovo ThinkPad T470 14" FHD Core i7-7600U 2.80GHz Webcam Backlit HDMI USB-C
$295.00