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 03-12-2006, 09:28 AM   #16
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53

Yes, I have never seen it either. It is fine under Fedora. I have been into the xorg.conf files and it may be that I have to uncomment the "pc102" for a European keyboard. It is a standard GB keyboard, only difference to US keyboard is the @ and " are switched and presence of the pound sign. This is acting really erratically. When the pipe key is pressed it returns ">". Strange.

Bob
 
Old 03-12-2006, 09:34 AM   #17
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Hi
This is the outut from the lspci -v about the missing eth device:


Subsystem: Giga-byte Technology Marvell 88E8001 Gigabit Ethernet Controller (Gigabyte)
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 9
Memory at fb010000 (32-bit, non-prefetchable) [size=16K]
I/O ports at 7800 [size=256]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data

Not showing up anywhere else.

Bob
 
Old 03-12-2006, 09:37 AM   #18
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by BobNutfield
Yes, I have never seen it either. It is fine under Fedora. I have been into the xorg.conf files and it may be that I have to uncomment the "pc102" for a European keyboard. It is a standard GB keyboard, only difference to US keyboard is the @ and " are switched and presence of the pound sign. This is acting really erratically. When the pipe key is pressed it returns ">". Strange.

Bob
I think the | is where the # is, the # is where the £ is and the US don't have a £ or I haven't found it yet.

There are many differences between the US and UK layouts, but I can't remember most of them. Most of the differences aren't straight swaps like @ and "
 
Old 03-12-2006, 09:44 AM   #19
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Hi Again--

Once again, with your help, another problem solved. The dvd and cd writers are hda and hdb respectively. When I assign them fstab this way, they mount just fine.

Now if I can get the keyboard sorted..

I am also in the beginnings of studying how to recompile a new kernel (2.6.15.6). I believe that will solve a lot of my problems because I mostly have newer hardware. But, will I still have the 2.4.31 kernel to boot into in case I run into any trouble?

Bob
 
Old 03-12-2006, 09:46 AM   #20
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
To get a UK keyboard map running (at least on the console), issue the command

Code:
user@box:~$  loadkeys /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz
I guess you could add that to your /etc/profile or .bashrc to make it a little more permanant.
 
Old 03-12-2006, 09:55 AM   #21
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
phil,g,d

Thank you. You are correct, the | key is the shift # key. Not too much of an inconvenience to use it this way.

Thanks,

Bob
 
Old 03-12-2006, 10:18 AM   #22
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Sure you can keep your 2.4 kernel--in fact it's a good idea to do so as you'll probably screw up your first kernel compile (who didn't?). There are a myriad of tutorials on how to compile your kernel and everyone seems to have a slightly different way of doing it. So I see no reason not to further add to the confusion and post my method .

Clearly you've grabbed the source from kernel.org and unpacked it somewhere (you can compile the kernel in your home directory as a regular user, but you need to be root to install it).

A good place to start may be to grab Slackware's 2.6.13 "testing" kernel config file from ftp://ftp.slackware.com/pub/slackwar.../config-2.6.13

Here's what I'd do:
Code:
cd /path/to/whereever/I/unpacked/the/source
make mrproper
make menuconfig
You can then use the "Load external config" option at the bottom of the menu and feed it the Slack config file from above.

Go through all the various submenus and see what you see. Items marked <*> are compiled into the kernel, items marked <M> are compiled as modules. Note that you'll need your root filesystem (ext2, ext3, reiserfs or whatever) and probably any disk controlers (SATA/SCSI etc.) compiled in otherwise you may run into trouble booting.

Once you're all done, exit and "Save your new .config"

Now the boring bit:
Code:
make bzImage && make modules
This is the bit where you go and make a sandwhich, pot of coffee etc.

When it's all done:
Code:
su -c "make modules_install && cat arch/i386/boot/bzImage > /boot/2.6.15.6-1 && cp System.map /boot/System.map.2.6.15.6-1"
You can call the kernel whatever you want - it doesn't have to be 2.6.15.6-1

The last bit is to edit /etc/lilo.conf and add an entry for your new kernel. You'll see the orininal entry for /boot/vmlinuz, which points to the 2.4 kernel. Add these lines after that:

Code:
image = /boot/2.6.15.6-1
  root = /dev/hda1
  label = 2.6.15.6-1
  read-only
Obviously, change the image and root lines to reflect your situation. Then run /sbin/lilo to write these changes to disk, cross your fingers, make virgin sacrifices to apropriate deity/ies and reboot.

I know that's a bit quick & dirty explanation, but it should get you started (and I'm only on my 1st cup of coffee).

Last edited by odevans; 03-12-2006 at 10:20 AM.
 
Old 03-12-2006, 11:24 AM   #23
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you. I am compiling the new kernel now. I use grub, but I would assume since I changed the link in /usr/src for linux --> linux-2.6.15.6 from 2.4.31 that the grub entry already there would boot the new kernel. Is that correct? The grub entry is:

kernel /hd0,1) /boot/vmlinuz root=sda2 ro vga=788
 
Old 03-12-2006, 11:41 AM   #24
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Sorry - I should have remembered from your other posts that you're using grub.

Changing the symlink /usr/src/linux to point to /usr/src/2.6.15.6 won't affect the booting of your box - the kernels are stored in /boot.

I don't use grub, but I'd leave that line in the config file (and the symlink in the /boot directory that points to the 2.4 kernel) so you can boot it if your new 2.6 kernel fails, and duplicate the line, chaning the "/boot/vmlinuz" bit to "/boot/2.6.15.6" (or whatever you named your kernel).

Good luck! (Although it's not as painful as people make it out to be)
 
Old 03-12-2006, 11:53 AM   #25
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you. It has finished compiling and I have rebooted and the 2.4.31 kernel still boots just fine. Whew!! a relief....

I will add another line to grub duplicating the first using the folder name from /usr/src of the new kernel. Wee'll see.

Once again, thank you for all your help. Noobs like me never become users like you without users like you!

Bob
 
Old 03-12-2006, 12:57 PM   #26
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Well, I guess I should expect not to be successful on my first try at recompiling the kernel. 2.6.15.6 would'nt boot. Just went to a black screen and stayed there. Looks like I have quite a bit of studying to do before I try it again.

Bob
 
Old 03-12-2006, 03:13 PM   #27
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by odevans
Are you sure about that? My experience is exactly opposite. I believe that the 4GB (and 16GB? been a while sine I rolled a kernel) are upper limits, not lower. I have a couple of systems with >1GB RAM (but <4GB) that will not use all the mem if HIGHMEM is not set.
You are right.
Lowmem < 1GB
Highmem 1GB<x<4GB
Upper limit is 64GB
 
Old 03-12-2006, 11:05 PM   #28
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
I believe that the 4GB (and 16GB? been a while sine I rolled a kernel) are upper limits, not lower.
may b. experience is the key thing and tht is what we want.
i posted tht since while compiling there was 3 options for highmemory section, off 4gb 64gb, so i thought till 4 gb it wasn't needed. but now i found u r correct, the help in kernel goes like this
Quote:
4GB HIGHMEM4G
Select this if you have a 32-bit processor and between 1 and 4
gigabytes of physical RAM.
this is how we are learing.. thnks "odevans", i am going to get a machine with 1gb ram so evenif i compile i would have missed this
Quote:
/dev/cdrom symlink is created for security,
in the sence that security from the user/root. if by chance "chmod, rm-"these commands can spoil the thing why v are playing with devices..
 
Old 03-12-2006, 11:27 PM   #29
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
from odevans post
Quote:
make bzImage && make modules
do we need this this is for 2.4 kernel compilation (i think so), may b this wil work but i use this series
Quote:
$ make menuconfig
$ make
then su to root and
# cp System.map /boot/System.map-2.6.15 ; ln -sf /boot/System.map-2.6.15 /boot/System.map
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.15
# lilo <----before doing this edit lilo
# reboot <--if u want to try this kernel
Quote:
Just went to a black screen and stayed there.
may b ur "frame buffer support" is the problem, enable FB, the same issue is discussed in many threads n the same forum

since u r using the grub i cant help on that
hope ur
1.cd/dvd problem over
2. memory pro 1.2 is also solved,
3.font pro is solved
4.cdrecord ( while compiling, enable scsi emulation-if ur drive is atapi)or else append line in lilo under the 2.4kernel section wil do it 4 u. if u want to try in 2.4 kernel
this is a small compilation guide " http://www.linuxquestions.org/questi...33#post2128933 "

Last edited by rkrishna; 03-12-2006 at 11:29 PM.
 
Old 03-13-2006, 12:22 AM   #30
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Quote:
Originally Posted by rkrishna
in the sence that security from the user/root. if by chance "chmod, rm-"these commands can spoil the thing why v are playing with devices..
Many apologies, rkrishna, but I still cannot make sense of this--I cannot understand how a symlink (with full permissions, I.E lrwxrwxrwx or 1777) can be something to do with security.

After doing the kernel config bit, one can always issue make help for advice on what's about to happen.

Like I said in a previous post, everyone seems to have their own method for compiling and installing a new kernel. Your series of commands are nearly analagous to mine, IE they achieve the same end.

I don't believe that newer kernels need the /boot/System.map link, in the same way that /usr/src/linux is no longer required to point to one's current kernel source.

I'll re-read all my notes for compiling the 2.4.n kernel and get back to you (it's approaching 2am and I've not slept for ninety something hours... ...)

Last edited by odevans; 03-13-2006 at 07:58 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
Mandrake10.1 Installation & external DVD RW Hardware recognition & pipseeking Mandriva 0 05-15-2005 07:02 AM
recognition Kane2002 General 7 01-24-2005 03:44 PM
Does tour distro has good enough hardware recognition?, Tell me! carrie Linux - Distributions 0 10-11-2004 01:54 AM
usb recognition peda Linux - Hardware 2 10-08-2004 09:10 AM
Recognition where due... jong357 Linux From Scratch 0 01-19-2004 10:52 PM

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

All times are GMT -5. The time now is 06:01 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