Post #79,286
2/4/03 3:38:49 PM
|

Kernel upgrade issues.
So I'm beating my head against the wall for fun and profit... Or more specifically, I'm trying to move my kernel to 2.4.frog-knows (18, actually.) using the directions [link|http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking|here].
apt-get install kernel-source-2.4.18
(package installs successfully, I've got a file named "kernel-source-2.4.18.tar.bz2" in /usr/src)
After a short misadventure when I failed to RTFM and realize that I needed the package "ncurses-dev" to proceed... Which is actually a virtual package, and I managed to figure out what to do about that...
(By the way, DO NOT "more" a gz file. I hosed a terminal doing this... Luckily, there are five more on a default install, without rebooting. ^_^')
make menuconfig
(Configure lotsa stuff)
make-kpkg clean
make-kpkg --revision=custom.1.0 kernel_image
dpkg -i ../kernel-image-2.4.18_custom.1.0_i386.deb
shutdown -r now
(System reboots, comes up to a 2.4.18 prompt - NICE! Finally the screen is aligned properly! Wooohooo! For the record, the screen was aligned about 5-10 pixels "low", with the bottom being trimmed, and the top having some blank. It's actually kinda strange to look at now.)
login
startx
Hmm, same problem. Let's just move the whole friggin' thing over to test, and it will all be groovy, right?
apt-get update
Uh... Network no workee... Go back and look at the "make menuconfig" options, and I've got my network card in there - EtherExpressPro/100 support is compiled in.
I look at IFCONFIG, and it looks like device eth0 is there, but I don't see anything that looks like an IP address configured there. The loopback device has the line "inet addr:127.0.0.1" but the eth0 device doesn't have anything similar. Any ideas where I should look to find out why eth0 isn't binding to the TCP/IP protocol?
Thanks.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,291
2/4/03 3:46:11 PM
|

Three things:
1) I use [link|http://subwiki.honeypot.net/cgi-bin/view/Main/DebianKernelBuilding|http://subwiki.honey...ianKernelBuilding] for my kernel building needs. Had no issues with it other than with initrd.
2) Debian saves the kernel config in /boot with the kernel. Diff it to see what may or may not have been left out of your new config.
3) Are you using grub? And did you save your old kernel?
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #79,292
2/4/03 4:08:47 PM
|

Some answers
Not using grub (yet) - using Lilo. I need to poke around and figure out how to point it back at my old kernel - nevermind, fixed that. The file "config-2.2.20-idepci" is 3888 bytes, the file "config-2.4.18" is 20500 bytes. Just a wee bit different, methinks. :P I'll poke around and see what I can find missing, though.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,297
2/4/03 4:40:23 PM
|

Suggestion: use grub
When you're screwing around with new kernels, GRUB makes things easier by allowing you to edit the boot params at boot time when something is mucked up.
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #79,334
2/4/03 7:38:11 PM
|

eaten by etherconf?
On at least one of my machines, I had the upgrade of etherconf wipe my network configuration. You may want to do a reconfigure or reinstall of etherconf and redo your ethernet configuration.
David "LordBeatnik"
|
Post #79,497
2/5/03 11:46:28 AM
|

No such package/man entry.
harveydebian:~# etherconf\n-bash: etherconf: command not found\nharveydebian:~# man etherconf\nNo manual entry for etherconf\nharveydebian:~# make love\nmake: *** No rule to make target 'love'. Stop.\nharveydebian:~#
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,508
2/5/03 12:42:55 PM
|

apt-get install etherconf
or
dpkg-reconfigure etherconf
see what happen on your kernel that at least workey
[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT | [link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!] [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!] | [link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004] | Heimatland Geheime Staatspolizei reminds: These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them. "Questions" will be asked at safety checkpoints. |
|
Post #79,513
2/5/03 12:53:37 PM
|

Re: apt-get install etherconf
Hopefully this will work - I'm going to install etherconf from the 2.2.20 kernel, and run it under the 2.4.20 kernel.
By the way, installed 2.4.20, and I'm experiencing the same problem. My guess? I'm not hitting some part needed for workee. Should I just d/l the precompiled kernel package that Debian puts up there?
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,520
2/5/03 1:00:12 PM
|

Re: apt-get install etherconf
Okay, it installed fine in 2.2.20 - rebooted into 2.4.20, ran dpkg-reconfigure etherconf, and went through the menu options. It detected eth0 (as did ifconfig earlier) and completed, then the spew: socket: Protocol not available - make sure CONFIG_PACKET and CONFIG_FILTER are defined in your kernel configuration!\nexiting So it looks like I need to #define CONFIG_PACKET and CONFIG_FILTER - but not comfortable enough with kernel compilation to know where to do that...
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,526
2/5/03 1:14:37 PM
|

I'd just INstall the Binary Kernel... It works well..
I am currently running the Testing Kernel on a both Debian Boxen I have so far... 2.4.20-5
Recognizes dam near everything *I* need... (I have a camera it pukes on... way OFF brand, if bought in Taiwan, it'd have been a Cheap import knock-off of the ones THEY make as knock-offs...)
Get a working system first *THEN* screw it up... It seems to be always easier to get a Known Good a t one time system back from the dead that way... Same Idea in RedHat and Mandrake etc...
[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT | [link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!] [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!] | [link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004] | Heimatland Geheime Staatspolizei reminds: These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them. "Questions" will be asked at safety checkpoints. |
|
Post #79,535
2/5/03 1:34:15 PM
|

Just tried that.
Puked on me pretty bad (kernel panic), and so I manually hacked it back to the old kernel. I'd dump the spew here if I knew where it threw boot spew - couldn't find anything looking like it after I jumped back to 2.2.20. I may try again...
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,539
2/5/03 1:44:20 PM
|

Okay... I *GUESS*...
I am just shicked at how hard it is to get the 2.4 kernel to workey...
Of course we both know, you have less "experience" than I... but that shouldn't preclude you from running the Kernel...
OK, just for Grins and Giggle as We are experiencing ALOT of issues here...
Why not try a re-install using bf24, select testing... and if you can, don't select Frame Buffer... UNLESS you have to... DRM might be better...
And this is still the first time I have suggested an R&R...
[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT | [link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!] [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!] | [link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004] | Heimatland Geheime Staatspolizei reminds: These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them. "Questions" will be asked at safety checkpoints. |
|
Post #79,661
2/5/03 7:01:30 PM
|

Re: Just tried that.
Configuring the debian kernels for the first time is a PITA. You may need to configure /etc/mkinitrd/modules. And then you need to recreate the initrd.
First off, lets configure /etc/mkinitrd/modules. It needs to list all the modules for accessing your root filesystem. So, you'll need to load modules for your filesystem and some for your hard disk.
For example, my one box with ext3 and a scsi disk has:
jbd ext3 scsi_mod sd_mod sym53c8xx
For ext3 and and an ide disk, you should need:
jbd ext3 ide-mod ide-disk
Then, you need to rerun mkinitrd. run "mkinitrd -o INITRD_FILE_NAME /lib/modules/KERNEL_VERSION". e.g. For my 2.4.20-k6 kernel, I run "mkinitrd -o /boot/initrd.img-2.4.20-k6 /lib/modules/2.4.20-k6"
Last of all, when you set up grub or lilo, make sure you have the kernel parameter root=ROOT_DEV set. If you don't set it's root dev, it'll try and use /dev/ram0 as root IIRC.
Wasn't that fun?
David "LordBeatnik"
|
Post #79,766
2/6/03 2:34:40 AM
|

Boot Spew
/var/log/messages /var/log/dmesg
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #79,650
2/5/03 6:41:36 PM
|

Re: apt-get install etherconf
I assume since you need those options you are trying to use dhcp?
If you're using menuconfig or xconfig to configure your kernel, both CONFIG_PACKET and CONFIG_FILTER options are under the "networking options" menu. Both should be in the top half dozen options shown under the networking options menu.
David "LordBeatnik"
|
Post #79,667
2/5/03 7:16:07 PM
|

Bah.
Not working. I got those options in there, but it still barfs with the same error message.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
|
Post #79,819
2/6/03 10:20:58 AM
|

My 1905-S303 page updated...
[link|http://www.mikevitale.com/1905s303.html|http://www.mikevitale.com/1905s303.html]
Contains my XF86Config-4 file as well as my .config file from /usr/src/kernel-source-2.4.19.
apt-get install kernel-source-2.4.19. Try my .config file. Make kernel (directions for how I did it are on the aforementioned page.) Add to $BOOT_LOADER. Reboot.
Let me know if'n that shite doesn't work.
-YendorMike
[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
|
Post #79,826
2/6/03 10:53:12 AM
|

On it. I'll let ya know how it turned out...
|