LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2005, 05:23 AM   #16
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46

Why do you have the patch? I must have missed that part.

to extract the patch just do 'bzip2 -d patch......' since its not a tar file (tar.bz2)

everything else looks ok just a couple of things to make sure of

1) make install installs modules in /lib/modules

2) make install installs a kernel in /boot

On the above note I wouldn't name it vmlinuz since that symlink points to the default kernel (leave that one there and leave that entry in lilo.conf alone until you know 2.6.10 will boot and work)

you could to be on the safe side instead of make and make install do:

make bzImage
make modules && make modules_install

this will do the same thing but then you can cp the kernel over to boot as anything you like such as (in the kernel source dir):

cp arch/i386/boot/bzImage /boot/kernel-2.6.10

then edit your lilo.conf

######3
# lilo.conf
#########

image = /boot/vmlinuz
root = /dev/....
label = Linux
read-only
(leave that entry alone to fall back on just in case)

image = /boot/kernel-2.6.10
root = /dev/...
label = Linux2.6
read-only

#########

just a little safety net in case things go wrong you can still boot

as far as the append line I used to use it back in the 2.5 early 2.6 days but I'm still using 2.4 since it works better for me but there are other threads on this forum discussing that issue so check them and see what worked for others

Last edited by __J; 01-02-2005 at 05:28 AM.
 
Old 01-02-2005, 06:04 AM   #17
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
When I went to kernel.org I clicked on the first link
that said, "The latest stable version of the Linux kernel is: 2.6.10" I didn't realize it was a patch
until just now, so I'm going to down load the full
source.

I was planning on renaming the present kernel
vmlinuz.old here is what my lilo.conf looks like

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /slack-n-stein/boot/vmlinuz
root = /dev/hdb2
# initrd = /slack-n-stein/boot/vmlinuz-ide-2.4.28
label = Slack-n-stein
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /slack-n-stein/boot/vmlinuz.old
root = /dev/hdb2
label = Slack-n-stein.old
read only

so now I can just do;
make mrproper
make xconfig
save and exit
make
make install
reboot
correct or did I miss something?
 
Old 01-02-2005, 07:11 AM   #18
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
-------------
tar -xjvf patch-2.6.10.bz2 ???
-------------

did you get the full sources ? ( i think you need to: patching a 2.4 kernel up to 2.6.10 is not a good idea. )

------------
rm -f linux
ln -s linux-2.6.10 linux
------------

there's no need to do this. that link is never used.

if you use this method to build your kernel, don't forget to edit the make-file.
and after " make install ", check if all is there ( kernel-image and modules ).
then run " lilo " before you reboot.

egag

Last edited by egag; 01-02-2005 at 07:12 AM.
 
Old 01-02-2005, 07:44 AM   #19
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
great! I'll be starting sometime this morning...
 
Old 01-02-2005, 04:14 PM   #20
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
Short answer kernel sort-of works,
No fonts on boot
No adsl

long answer....
Alright the results are in,
I did the kernel (2.6.10) build and install
left the old kernel in place (just in case)
copied the image as suggested by _J
in post 16, modified lilo.conf, then the reboot...
Well the screen was blank, but I could here the
hard drive working. When it stopped the screen
was still blank. I took a chance and logged in as root, screen still blank, tried startx and kde came up and worked. Pulled up a terminal window, that
had a prompt so I typed dmesg and it was there...

I tried adsl-start it did not work I know I loaded the Ethernet card it showed up in dmesg...

So to recap errors;
No fonts on boot
No adsl
 
Old 01-02-2005, 04:32 PM   #21
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well....for the blank screen : you could put in your lilo.conf file : vga=normal,
or recompile your kernel and build-in framebuffer-support for your graph.-card.

and your eth. : is the correct module loaded ( see " lsmod " )
and is eth0 up ( see " #ifconfig " )

egag
 
Old 01-03-2005, 12:42 PM   #22
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
vga=normal worked

ifconfig -a shows my eth0 up and good.
Went through kernel again and I have the
right Ethernet card chosen.
Isn't there some place to configure pppoe
in kernel. I thought I saw it someplace
and I looked under networking but it wasn't with
the rest of the ppp stuff.
 
Old 01-03-2005, 01:52 PM   #23
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
found the pppoe in kernel. config has a note to see roaring peguin web site headed there now.
 
Old 01-03-2005, 04:04 PM   #24
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
here is the reference in the kernel for pppoe
"Support for PPP over Ethernet.

This driver requires the latest version of pppd from the CVS
repository at cvs.samba.org. Alternatively, see the
RoaringPenguin package (http://www.roaringpenguin.com/pppoe)
which contains instruction on how to use this driver (under
the heading "Kernel mode PPPoE")."

Went to that web site, there are no such instructions. So I removed the rp-pppoe adsl pkg that came with Slack current. Downloaded and install the latest roaring penguin source (which is the same as slacks) included the gui and then tried to connect nothing, just timed out.
Maybe I need to turn something else on?
is there somewhere to look to help trouble shoot?
 
Old 01-03-2005, 04:31 PM   #25
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
do you connect to a router/modem for internet?
can you ping anything ( like that router ) ?
does " ifconfig " show an eth0 with an ip-nr. ( and is that a fixed or by dhcp ) ?

egag
 
Old 01-03-2005, 04:55 PM   #26
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
I connect to a westell dsl modem.
I have to reboot to get the rest of the info...
 
Old 01-03-2005, 05:25 PM   #27
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
here is the results of ifconfig
root@slack-n-stein:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:DA:C5:86:FA
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1180 (1.1 Kb)
Interrupt:10 Base address:0xa400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Last edited by phil1361; 01-03-2005 at 05:26 PM.
 
Old 01-03-2005, 05:30 PM   #28
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
eth0 has no ip-adress.
do you use dhcp to connect ? if so...: what does " #dhcpcd " do ?
( should give an ip-adress to eth0 )

egag
 
Old 01-03-2005, 05:38 PM   #29
phil1361
Member
 
Registered: Dec 2002
Posts: 64

Original Poster
Rep: Reputation: 16
I use adsl-start with this config
here is a copy of ifconfig with my stock kernel using SL 10.0 release

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50A:C5:86:FA
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1168 errors:0 dropped:0 overruns:0 frame:0
TX packets:1313 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:729082 (711.9 Kb) TX bytes:196884 (192.2 Kb)
Interrupt:10 Base address:0xa400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:xxx.xxx.xxx.xxx P-t-P:10.7.94.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1089 errors:0 dropped:0 overruns:0 frame:0
TX packets:1233 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:700315 (683.9 Kb) TX bytes:164898 (161.0 Kb)

Last edited by phil1361; 01-03-2005 at 07:27 PM.
 
Old 01-03-2005, 05:44 PM   #30
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
ppp0 if is up and running.
what's the response at " #ping 216.239.57.99 " ( that's google )

egag

Last edited by egag; 01-03-2005 at 05:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
kernel panic error after rebooting new kernel image fiero Linux - General 4 07-13-2005 08:32 AM
Kernel 2.6.7 install error, initrd-2.6.7.img error jjorloff1 Linux - General 3 09-15-2004 12:15 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration