[opensuse] *help* Built 2.6.20 kernel - boots fine, no keyboard, no mouse, no network
Mates, This is really comical - sort of. I am running opensuse 10. I have been through heck compiling a new kernel. I got the 2.6.20 kernel and did the following Get the latest and greatest kernel, unpack it into /usr/src/linux-2.6.20, create a symlink linux->linux-2.6.20 cd linux zcat /proc/config.gz config make oldconfig make make modules_install make install. edit grub to boot from new and old kernels. This was the first build from the new source tree. On boot, the 2.6.20 kernel boots fine, but it can't find eth-id..... and the network fails, then there is *no* keyboard input and the mouse is dead (no lights). It just sits at the (login: ) prompt, but I can't type a darn thing. Anybody want to take a stab at where I screwed up?? Why in the heck wouldn't I have a keyboard?? -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
david rankin wrote:
This is really comical - sort of. I am running opensuse 10.
Is that 10.0?
I have been through heck compiling a new kernel. I got the 2.6.20 kernel and did the following
Get the latest and greatest kernel, unpack it into /usr/src/linux-2.6.20, create a symlink linux->linux-2.6.20
That should not be necessary.
cd linux zcat /proc/config.gz config make oldconfig make make modules_install make install. edit grub to boot from new and old kernels.
Did "make install" create an initrd etc.?
[...] Anybody want to take a stab at where I screwed up??
Well, did you read Documentation/Changes in the kernel source tree? Does your system meet the "Current Minimal Requirements"? If it's indeed a 10.0 system, then I have some doubts... Cheers, Th. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From: "Thomas Hertweck"
david rankin wrote:
This is really comical - sort of. I am running opensuse 10.
Is that 10.0?
Yes
I have been through heck compiling a new kernel. I got the 2.6.20 kernel and did the following
Get the latest and greatest kernel, unpack it into /usr/src/linux-2.6.20, create a symlink linux->linux-2.6.20
That should not be necessary.
Sorry, everything I have read, said do it, so I just did it....
cd linux zcat /proc/config.gz config make oldconfig make make modules_install make install. edit grub to boot from new and old kernels.
Did "make install" create an initrd etc.?
Yes, everything did exactly what it was supposed to do! I even took the time to create links to make sure I could boot to the old kernel, which worked. providence:/home/david # ll /boot total 17184 drwxr-xr-x 3 root root 888 2007-04-17 22:21 . drwxr-xr-x 23 root root 544 2007-04-18 05:03 .. -rw------- 1 root root 512 2006-08-12 17:09 backup_mbr lrwxrwxrwx 1 root root 1 2006-08-12 16:56 boot -> . -rw-r--r-- 1 root root 63196 2007-03-02 10:42 config-2.6.13-15.15-smp drwxr-xr-x 2 root root 544 2007-04-17 22:22 grub lrwxrwxrwx 1 root root 19 2007-04-17 22:21 initrd -> initrd-2.6.20.7-smp -rw-r--r-- 1 root root 1848561 2007-04-13 11:40 initrd-2.6.13-15.15-smp -rw-r--r-- 1 root root 1752217 2007-04-16 20:37 initrd-2.6.20.6-smp -rw-r--r-- 1 root root 1800590 2007-04-17 22:21 initrd-2.6.20.7-smp lrwxrwxrwx 1 root root 23 2007-04-16 19:59 initrdold -> initrd-2.6.13-15.15-smp -rw-r--r-- 1 root root 90292 2005-09-09 11:36 memtest.bin -rw-r--r-- 1 root root 128000 2006-08-12 17:09 message -rw-r--r-- 1 root root 73773 2007-03-02 10:42 symvers-2.6.13-15.15-i386-smp.gz -rw-r--r-- 1 root root 779055 2007-03-02 10:33 System.map-2.6.13-15.15-smp -rw-r--r-- 1 root root 856751 2007-04-15 00:44 System.map-2.6.20.6-smp -rw-r--r-- 1 root root 856751 2007-04-15 00:44 System.map-2.6.20.6-smp.old -rw-r--r-- 1 root root 860395 2007-04-17 22:01 System.map-2.6.20.7-smp -rw-r--r-- 1 root root 1991337 2007-03-02 10:42 vmlinux-2.6.13-15.15-smp.gz lrwxrwxrwx 1 root root 20 2007-04-17 22:20 vmlinuz -> vmlinuz-2.6.20.7-smp -rw-r--r-- 1 root root 1684799 2007-03-02 10:33 vmlinuz-2.6.13-15.15-smp -rw-r--r-- 1 root root 1590304 2007-04-15 00:44 vmlinuz-2.6.20.6-smp -rw-r--r-- 1 root root 1590304 2007-04-15 00:44 vmlinuz-2.6.20.6-smp.old -rw-r--r-- 1 root root 1562784 2007-04-17 22:01 vmlinuz-2.6.20.7-smp lrwxrwxrwx 1 root root 24 2007-04-16 19:59 vmlinuzold -> vmlinuz-2.6.13-15.15-smp providence:/home/david # The machine boots just fine on 2.6.20.6 and 2.6.20.7, the only problems are (1) keyboard; (2) mouse; and (3) network. Everything else works fine (Apache, MySQL, smb, nmb, sata, etc.......)
[...] Anybody want to take a stab at where I screwed up??
Well, did you read Documentation/Changes in the kernel source tree? Does your system meet the "Current Minimal Requirements"? If it's indeed a 10.0 system, then I have some doubts...
Yes, I read the Documentation/Changes in the kernel source. Specifically the "Current Minimal Requirements" o Gnu C 3.2 # gcc --version o Gnu make 3.79.1 # make --version o binutils 2.12 # ld -v o util-linux 2.10o # fdformat --version o module-init-tools 0.9.10 # depmod -V o e2fsprogs 1.29 # tune2fs o jfsutils 1.1.3 # fsck.jfs -V o reiserfsprogs 3.6.3 # reiserfsck -V 2>&1|grep reiserfsprogs o xfsprogs 2.6.0 # xfs_db -V o pcmciautils 004 # pccardctl -V o quota-tools 3.09 # quota -V o PPP 2.4.0 # pppd --version o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version o nfs-utils 1.0.5 # showmount --version o procps 3.2.0 # ps --version o oprofile 0.9 # oprofiled --version o udev 081 # udevinfo -V Out of the entire list, the only requirement I did not update was udev because the documentation said it was not a good idea. If you think this is the problem, then I'm game to update it.
Cheers, Th. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
david rankin wrote:
From: "Thomas Hertweck"
[... create link linux->linux-2.6.20 ...]
That should not be necessary.
Sorry, everything I have read, said do it, so I just did it....
In principle, the link "/usr/src/linux" is not required at all and has mainly historical reasons. It's nowadays only used for convenience.
[...] The machine boots just fine on 2.6.20.6 and 2.6.20.7, the only problems are (1) keyboard; (2) mouse; and (3) network. Everything else works fine (Apache, MySQL, smb, nmb, sata, etc.......)
Well, you cloned the old configuration, so all that stuff that worked in the old kernel should be available in the new kernel as well. However, it does not work at the moment, so there must be a problem which indeed could be related....
o udev 081 # udevinfo -V
...to udev. udev is responsible for creating and removing device nodes, renaming network interfaces, etc. If devices were missing, then this would of course explain why some of your components (mouse, etc.) do not work. However, other components seem to work, so it's not failing completely or in a consistent way which does not allow any accurate conclusion. All your problematic components are hardware-related, so I am not surprised that apache, mysql etc. work as expected - that's all pure software, isn't it?
Out of the entire list, the only requirement I did not update was udev because the documentation said it was not a good idea.
Well, udev is a core component and I would agree that messing around with udev is not such a good idea ;-) I am not really sure what advice to give in this situation, maybe others can contribute their point of view in this discussion. Cheers, Th. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From: "Thomas Hertweck"
david rankin wrote:
From: "Thomas Hertweck"
[... create link linux->linux-2.6.20 ...]
That should not be necessary.
Sorry, everything I have read, said do it, so I just did it....
In principle, the link "/usr/src/linux" is not required at all and has mainly historical reasons. It's nowadays only used for convenience.
[...] The machine boots just fine on 2.6.20.6 and 2.6.20.7, the only problems are (1) keyboard; (2) mouse; and (3) network. Everything else works fine (Apache, MySQL, smb, nmb, sata, etc.......)
Well, you cloned the old configuration, so all that stuff that worked in the old kernel should be available in the new kernel as well. However, it does not work at the moment, so there must be a problem which indeed could be related....
o udev 081 # udevinfo -V
...to udev. udev is responsible for creating and removing device nodes, renaming network interfaces, etc. If devices were missing, then this would of course explain why some of your components (mouse, etc.) do not work. However, other components seem to work, so it's not failing completely or in a consistent way which does not allow any accurate conclusion.
All your problematic components are hardware-related, so I am not surprised that apache, mysql etc. work as expected - that's all pure software, isn't it?
Out of the entire list, the only requirement I did not update was udev because the documentation said it was not a good idea.
Well, udev is a core component and I would agree that messing around with udev is not such a good idea ;-) I am not really sure what advice to give in this situation, maybe others can contribute their point of view in this discussion.
Thomas, Thank you for your help along the way. This entire kernel building process was undertaken just to get dri working. After building X, I have a great looking 1680x1050 display (which is what started this whole process). The only lingering kernel issue was drm/dri. In reality, I don't really need dri. glxgears at 680 fps is just fine. I don't do video/gaming, etc.. However, I did learn a lot in the process. I know much more about the X window system, mesa and drm. I now know how to build the kernel. I don't yet know how to role my own udev on a vanilla kernel, but that will have to wait for another day. I presume 10.3 will cure the remaining drm issue. So all in all it was a successful exercise. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 18 April 2007, david rankin wrote:
The machine boots just fine on 2.6.20.6 and 2.6.20.7, the only problems are (1) keyboard; (2) mouse; and (3) network. Everything else works fine (Apache, MySQL, smb, nmb, sata, etc.......)
How would you know? That deaf, dumb, and blind kid sure plays a mean pin-ball!!! -- _____________________________________ John Andersen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From: "John Andersen" On Wednesday 18 April 2007, david rankin wrote:
The machine boots just fine on 2.6.20.6 and 2.6.20.7, the only problems are (1) keyboard; (2) mouse; and (3) network. Everything else works fine (Apache, MySQL, smb, nmb, sata, etc.......)
How would you know?
Hmm...... Good point........ -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
david rankin
-
John Andersen
-
Thomas Hertweck