LinuxQuestions.org
Help answer threads with 0 replies.
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 08-14-2003, 07:18 AM   #16
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30

Quote:
i'm using slackware 8.1 kernel 2.4.18.
if i upgrade my kernel to 2.4.21, is that mean my slackware version become 9 ?
No. The kernel is quite seperate from the distribution. Slackware 9 relates to the whole set of packages that make up the distribution, (XFree86, Gnome, Kde, GTK, Bash, everything!). Your Slackware version and your kernel version are entirely seperate. If you are trying a kernel version a long way from your current one, you would have to update some packages, but you could easily try a 2.4.21 on Slackware 8.1. Your kernel deals with the hardware in your machine, and is just one file (not including modules). Its useless without the operating system software, but then so is that without a kernel!

Quote:
btw, i have network issue with my box right now. so i'm thinking to upgrade my kernel.
if i upgrade my kernel, do i have to setup all my hardware again ?
i've lanstreamer network adapter and ac'97 audio. i've read that these two hardware is already supported by the latest kernel.
so, which one will be use, previous driver or from latest kernel ?
No your hardware should be fine. You should make sure that anything you are using as a module gets recompiled as a module. You may need to do a little tweaking if the modules have changed between kernel versions, but recompiling your kernel doesn't change anything in /etc AFAIK. When you compile a new kernel version you will still have all your modules in /lib/modules/2.4.18, in case you want to boot with the old kernel in case of problems. However you will also have a new set of modules in /lib/modules/2.4.21.

Quote:
and for my configuration like in /etc/rc.d, do i have to setup all again ? thanks.
Nope, again everything in /etc/rc.d should be o.k. If you refer to any modules in rc.modules which you didn't compile then they won't load, but then you will remember to do all that right? ;-)

I was totally blown away by the fact you could easily update the kernel in GNU/Linux seperately from the system software. Once you get the hang of choosing the kernel options, actually compiling the kernel and adding it to Lilo is pretty simple.

Quote:
btw, this guide is the best i've read. simple and easy to follow.
i think it would be easier to learn linux if all howto's document like this.
Hey thanks man :-) I'm currently working as an IT Trainer so I get a lot of practice helping people out.

If you can get hold of a copy of Slackware 9, I would. It was been compiled with the new Gcc 3.something, and is a heck of a lot faster than 8.1. Good luck and keep on Slackin!
 
Old 08-14-2003, 07:45 AM   #17
planet09
LQ Newbie
 
Registered: Aug 2003
Location: Romania
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
big problem

I have a problem with kernel.I compile and recompile the kernel version 2.4.21 and I can't boot with new version.
When I boot with new kernel I receive that:
boot: lin_snew
Loading: .....................................
and nothing, but I can execute Ctrl+Alt+Del.
The list of my dmesg and old config file(I use that for compile) is below:

dmesg:

Linux version 2.4.20 (root@midas) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 PST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=linux_slack ro root=341
Initializing CPU#0
Detected 1463.275 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2916.35 BogoMIPS
Memory: 256180k/262080k available (1733k kernel code, 5512k reserved, 568k data, 112k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After generic, caps: 0383f9ff c1c3f9ff 00000000 00000000
CPU: Common caps: 0383f9ff c1c3f9ff 00000000 00000000
CPU: AMD Unknown CPU Type stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb400, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1106/3099] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 89
PCI: No IRQ known for interrupt pin A of device 00:11.1. Please try using pci=biosirq.
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdcMA, hddio
hda: WDC WD800JB-00CRA1, ATA DISK drive
hdb: QUANTUM FIREBALLlct10 15, ATA DISK drive
hdc: DV-516E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0388784, I/O limit 4095Mb (mask 0xffffffff)
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63, UDMA(100)
blk: queue c03888c0, I/O limit 4095Mb (mask 0xffffffff)
hdb: 29336832 sectors (15020 MB) w/418KiB Cache, CHS=1826/255/63, (U)DMA
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4
hdb: hdb1 hdb2 < hdb5 hdb6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 2098.400 MB/sec
32regs : 1206.400 MB/sec
pIII_sse : 4023.600 MB/sec
pII_mmx : 3426.800 MB/sec
p5_mmx : 4372.400 MB/sec
raid5: using function: pIII_sse (4023.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 112k freed
NTFS driver v1.1.22 [Flags: R/O MODULE]
NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0b.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xd000. Vers LK1.1.16
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
PCI: Setting latency timer of device 00:11.5 to 64
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xd800, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver

and config

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
CONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=4
CONFIG_X86_USE_STRING_486=y
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_PPRO_FENCE=y
# CONFIG_X86_F00F_WORKS_OK is not set
# CONFIG_X86_MCE is not set
CONFIG_TOSHIBA=m
CONFIG_I8K=m
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_HIGHMEM is not set
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_UP_IOAPIC is not set
# CONFIG_X86_TSC_DISABLE is not set

I hope is a useful this part from old config(I don't change nothing).I run the Slack 9 version, and don't have any problem when I install.

Please help me.
 
Old 08-14-2003, 08:37 AM   #18
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Is that your whole config file?There are some things missing - like drivers for your hardware and filesystems
 
Old 08-14-2003, 03:10 PM   #19
planet09
LQ Newbie
 
Registered: Aug 2003
Location: Romania
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Is not whole config file, I don't post it because is too large.
Tnx, but i resolve the problem. I must re-run lilo everytime when I create new bzImage. I understand why for the first time it works, because I run lilo after changes in the lilo.conf .
 
Old 08-14-2003, 03:14 PM   #20
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Quote:
14. Add the following to /etc/lilo.conf

image = /boot/bzImage-2.4.21-test
root = /dev/hda6 [this should be the same as your existing one]
label = Test
read-only

save, and run lilo (just type lilo), you should see test added.
Thats in step 14.
 
Old 08-14-2003, 04:27 PM   #21
duister
LQ Newbie
 
Registered: Jul 2003
Location: Belgium
Distribution: slackware 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Well great, thye new kernel is running fine. i have some probs with vmware now.. but i will investigate en google that

(i that part of the learning curve of linux?)

(Unable to make a vmnet module that can be loaded in the running kernel:
/tmp/vmware-config0/vmnet.o: unresolved symbol _mmx_memcpy
/tmp/vmware-config0/vmnet.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.
)
anyway.. i am on 2.4.21 now

cheers, and thanks for the nice guide.
 
Old 08-14-2003, 06:51 PM   #22
duister
LQ Newbie
 
Registered: Jul 2003
Location: Belgium
Distribution: slackware 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by duister
Well great, thye new kernel is running fine. i have some probs with vmware now.. but i will investigate en google that

(i that part of the learning curve of linux?)

(Unable to make a vmnet module that can be loaded in the running kernel:
/tmp/vmware-config0/vmnet.o: unresolved symbol _mmx_memcpy
/tmp/vmware-config0/vmnet.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.
)
anyway.. i am on 2.4.21 now

cheers, and thanks for the nice guide.
Okay, sorry for quoting myself

i fixed the problem, differences in kernelheaders and kernel caused this problem. by using the compiler guide from DaOne i compiled my own kernel

This forum is just great! I only started 3 weeks ago with linux, and thanks to u guy's i already compiled my own kernel ) And i gathered a lot of knowlegde.

cheers , and i have to adjust my signature
 
Old 08-15-2003, 02:59 AM   #23
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
hi reclusivemonkey,
what do you suggest, upgrade my kernel or make a fresh install for slackware 9 ? did you say if upgrade kernel can improve performance or just compiling time ?
btw, if you don't mind, would you help guiding me about samba ? i've been read many manual, so far i get more confuse
thanks for your help.
 
Old 08-15-2003, 05:07 AM   #24
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Quote:
what do you suggest, upgrade my kernel or make a fresh install for slackware 9 ?
I would say if you are using Slackware 8, then upgrading to Slackware 9 should give you a performance boost (providing you have a fairly new computer).

Quote:
did you say if upgrade kernel can improve performance or just compiling time?
Compiling time is an indication of performace. The quicker your kernel compiles, the quicker your system is running. Changing your kernel to the correct processor (from 386 to Athlon in may case) gave me a performace boost, but then it will depend what sort of processor you have.

Quote:
btw, if you don't mind, would you help guiding me about samba ? i've been read many manual, so far i get more confuse thanks for your help.
Sorry, I don't know anything about Samba, I'm just a newbie! However if you want to post your problem, I'll see if we can get to the root of the problem and set up another post for a Guru to have a look at

munkeh
 
Old 08-15-2003, 06:22 AM   #25
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
thanks for your suggestion and helps
 
Old 08-15-2003, 06:35 AM   #26
duister
LQ Newbie
 
Registered: Jul 2003
Location: Belgium
Distribution: slackware 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by thundersnows
hi reclusivemonkey,
what do you suggest, upgrade my kernel or make a fresh install for slackware 9 ? did you say if upgrade kernel can improve performance or just compiling time ?
btw, if you don't mind, would you help guiding me about samba ? i've been read many manual, so far i get more confuse
thanks for your help.
did you meant the client part of smb?
cheers,
 
Old 08-16-2003, 03:39 PM   #27
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
Quote:
Originally posted by thundersnows
i'm using slackware 8.1 kernel 2.4.18.
if i upgrade my kernel to 2.4.21, is that mean my slackware version become 9 ?
no
 
  


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
Is SUSE 9.2 a wise choice for a first timer Rockrat Linux - Newbie 5 03-06-2005 05:42 PM
delete files date wise hardeep_ubhi Linux - General 1 11-16-2004 02:07 AM
Is Redhat the best version support wise? iamstorm Red Hat 3 09-11-2004 01:05 PM
Is it wise to change permissions ? glenn69 Linux - Newbie 1 05-04-2004 08:49 PM
bandwidth allocation by user wise and ip wise basbosco Linux - Networking 1 11-12-2003 02:54 AM


All times are GMT -5. The time now is 11:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration