Hi all, The problem is solved, the issue was with the initrd. I think 2.6.27 cannot init 2.6.28. After creating a 2.6.28 initrd using mkinitramfs command, iam able to boot my new kernel and modprobe ath5k. Thanks, Rajith. On Sun, Dec 28, 2008 at 10:54 PM, rajith pr <rajithpr@xxxxxxxxx> wrote: > Hi Pavel, > > Thanks for the explanation. Now, i understand enabling the Ath5 driver > requires installation of a configured kernel and installation of > driver. > > I have been able to build both the configured kernel and the drivers. > But when i boot the kernel i get a run time errr: Coudnt open > directory /lib/modules/2.6.28-rc9-wl but i have confirmed the the > directory exists. > > google search is not giving me any result to fix the issue on ubuntu. > I have pasted my menu.lst for my grub loader. My Ubuntu 8.10, kernel > 2.6 is my new kernel. > > title Ubuntu 8.10, kernel 2.6.27-7-generic > root ()/ubuntu/disks > kernel /boot/vmlinuz-2.6.27-7-generic > root=UUID=F8B8EED2B8EE8E86 loop=/ubuntu/disks/root.disk ro > ROOTFLAGS=syncio quiet splash > initrd /boot/initrd.img-2.6.27-7-generic > > title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) > root ()/ubuntu/disks > kernel /boot/vmlinuz-2.6.27-7-generic > root=UUID=F8B8EED2B8EE8E86 loop=/ubuntu/disks/root.disk ro > ROOTFLAGS=syncio single > initrd /boot/initrd.img-2.6.27-7-generic > > title Ubuntu 8.10, memtest86+ > root ()/ubuntu/disks > kernel /boot/memtest86+.bin > > title My Ubuntu 8.10, kernel 2.6 > root ()/ubuntu/disks > kernel /boot/mylinux root=UUID=F8B8EED2B8EE8E86 > loop=/ubuntu/disks/root.disk ro ROOTFLAGS=syncio quiet splash > initrd /boot/initrd.img-2.6.27-7-generic > > Any idea wht is the issue or pointers to resolve this? > > Thanks, > Rajith > > On Sat, Dec 27, 2008 at 2:38 PM, Pavel Roskin <proski@xxxxxxx> wrote: >> On Sat, 2008-12-27 at 00:21 +0530, rajith pr wrote: >>> Hi Pavel, >>> >>> I intend to work on the ath5k driver only. Iam actually stuck with the >>> Enabling ath5k section of >>> http://wireless.kernel.org/en/users/Drivers/ath5k. May be a trivial >>> think but i dont have an option but ask :-) >>> >>> Enabling ath5k section talks about some configuration but i dont know >>> where to configure these. Should i run some configuration tool and >>> follow the steps ?? >> >> I've edited that text slightly to mention kernel configuration in the >> beginning. It's mentioned later in the text. >> >> The kernel configuration is described in the README file in the Linux >> sources. There are several ways to configure the kernel, such as "make >> menuconfig" and "make xconfig", but they all edit the ".config" file in >> the directory where the kernel is going to be compiled. >> >> In my opinion, "make menuconfig" is more intuitive that the X based >> configuration tools. >> >> To enable ath5k, you need "CONFIG_ATH5K=m" or "CONFIG_ATH5K=y" to appear >> in .config along with the required dependencies of the driver. "m" is >> for compiling ath5k as a module, "y" is for compiling into the kernel. >> I think compiling as module is more convenient in most cases. >> >> I don't know any automatic way to enable a particular option and its >> dependencies, so you'll need to go through the configuration and enable >> the dependencies manually. The link you referred to tells you what >> options to enable. >> >> Actually, that page is becoming obsolete. SoftMAC is gone from the >> current git repository. ath5k has other dependencies, such as PCI. But >> I was reluctant to edit that text, as some users may be compiling older >> kernel, where SoftMAC is present. As for PCI and some other >> dependencies, they are most likely already enabled, so mentioning them >> could confuse some users. >> >> -- >> Regards, >> Pavel Roskin >> > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html