It has been about a year and a half to two years since I have ran Slackware (currently Slackware 13/64 bit), I had switched to Debian 5 (lenny) for a spell and on that system I never compiled my own kernel I left it as the default one installed when the system was installed. Now that I am back on Slackware I want to go about doing my own kernel, but I want it smaller then the included kernels. From what I remember of me doing a custom kernel I use to get multiple kernel panics. I tried it and think I did pretty good I don't get a kernel panic (well I got a kernel panic but it was because I loaded the file system as a module instead of compiled in fixed that and we were good, kind of....), it boots up and everything but I have no keyboard or mouse or sound (I shouldn't have sound I disabled it in the kernel) but mouse and keyboard I do believe I will need. I look in dmesg (remotely though a secure shell connection) and from what I see both the keyboard and mouse are loaded.
Quote:
root@krazy:~# dmesg | grep AUX
serio: i8042 AUX port at 0x60,0x64 irq 12
root@krazy:~# dmesg | grep mouse
mice: PS/2 mouse device common for all mice
root@krazy:~# dmesg | grep serio
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1
|
Loaded but they still don't work. The only thing I can think of is that it is something on the board that I have disabled but I need to enable it. When I view the whole contents of dmesg the only other thing I see is:
Quote:
EXT3-fs: sda1: couldn't mount because of unsupported optional features (240).
EXT2-fs: sda1: couldn't mount because of unsupported optional features (240).
|
sda1 is the / partition but it is a EXt4 file system on that partition, all my partitions are EXT4 except for /boot (and swap of course) /boot is an EXT2 partition instead of EXT4 partition because I was under the impression that GRUB2 wouldn't work on an EXT4 partition. My main concern is getting the mouse and keyboard working the rest can be worked out as I go. Here is some information you may need about my system.
Quote:
MSI P45 Neo F motherboard ICH10 chipset
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
4GB 800mhz memory
nvidia geoforce 8500 GT (PCI-E)
on board ethernet RTL8111/8168B PCI Express Gigabit Ethernet controller
USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller
USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller
SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA Controller
IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller
the monitor/keyboard/mouse are connected to a KVM switch (using a usb-ps/2 converter on the mouse, that worked perfect on default kernel)
using EXT4 on all partitions except /boot which is EXT2
|
I think I got the size pretty close it smaller the the two default kernels (not by much but still smaller) I am also including a .config file by chance someone willing to take a look at what I did wrong. Any help anyone could shed on this matter would be greatly appreciated.
Quote:
2606288 2010-02-04 03:31 /boot/vmlinuz-2.6.32.7
2629312 2009-08-17 03:48 /boot/vmlinuz-generic-2.6.29.6
5004096 2009-08-17 12:59 /boot/vmlinuz-huge-2.6.29.6
|