Re: Fw: Samba install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-06-09 at 18:46 +0100, Freedom Web Services wrote:
> > Hmm, I've got a K6-200 running FC5 at home... that has an i586 kernel too.
> >
> > I'm afraid I don't know why this kernel module is not included in the i586 
> > kernels but it is in the i686 versions.
> >
> > If there's a good reason for it not being included then you have problems. 
> > Perhaps someone more au fait with the kernel knows.
> >
> > If it's accidental that it's not included, then you should be able to 
> > request in bugzilla that it gets included in future i586 kernel releases, 
> > and you could try compiling the module "out of tree". Do you have the 
> > kernel 2.6.16-1.2122_FC5 SRPM or any other source for that module?
> >
> 
> Yes Paul I do have the kernel-2.6.16-1.2122_FC5.src.rpm and the 
> kernel-devel-2.6.16-1.2122_FC5.i586.rpm.

Right, let's try building the module ourselves then.

Install the kernel-devel RPM; that will be needed.

Next, follow the steps in the kernel tweaking guide at
http://www.city-fan.org/tips/TweakKernelPackage up to and including the
"Prepare Build" step. Use your kernel-2.6.16-1.2122_FC5.src.rpm instead
of the FC4 one used as an example.

Next, make yourself a module-build directory:

$ mkdir ~/module-build
$ cd ~/module-build

Next, copy the module source code from the unpacked kernel source:

$ cp
~/rpmbuild/BUILD/kernel-2.6.16/linux-2.6.16.i586/drivers/char/n_hdlc.c .

(don't miss the "." at the end of that one long command)

Create a file "Makefile" in your module-build directory, containing:


obj-m := n_hdlc.o

KDIR  := /lib/modules/$(shell uname -r)/build
PWD   := $(shell pwd)

default:
        $(MAKE) -C $(KDIR) M=$(PWD) modules

install:
        strip -g n_hdlc.ko
        $(MAKE) -C $(KDIR) M=$(PWD) modules_install


(all indented lines should be indented with tabs, not spaces)

Build the module:

$ make

Install the module:

$ su
# make install
# /sbin/depmod -a

You should then have your module ready to go...

I'm off to Tesco now.

Paul.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux