First of all, you shouldn't bother with packages for kernel source.
Package management is great, but using the package management software
to do something like install kernel source is just silly. I did
recently recommend that someone do exactly that, but that's because
the person didn't have Internet access in Linux, and last I checked
the Storm CD *does* have a few kernel source packages on it (they
should be named along the lines of kernel-source.2.2.16)
If you did install a kernel source package, look in /usr/src. There
should be a file there called kernel-srouce.2.2.15.tar.gz or something
like that. That's your kernel source.
> 1. where do I get source code for Storm. I know that source code is NOT
> specific to Storm, but after I added the Kernel Source package
> (downloaded from Debian), I cannot find the source anywhere on my
> harddrive.
http://ftp.kernel.org/
Again, I always get my kernel source directly from kernel.org rather than
by installing a kernel-source package: one, because I like to get the
latest kernel without having to wait for it to be packaged as a Deb,
two, because you can get bzipped rather than gzipped versions from
kernel.org, which saves on download time for modem users, and three,
because package management is rather pointless in a case where you're
going to take what the package installs, rip it apart, move it around,
compile it, and the next time you want to upgrade your kernel, delete
it.
Anyway, either get the kernel source from kernel.org and put it in
/usr/src, or use the package management software to install a
kernel source package. Either way, you've got a tarball in /usr/src.
Unpack it, and do what you need to do.
>
> 2. Will this solve my problem? I mean after having the source, if I
> compile the driver as a module, will it be loadable?
In theory....
That would be great, wouldn't it?
Modules can be unpredictable sometimes though (UNRESOLVE EXTERNAL
SYMBOL... AHHHH). One thing that helps is to always use modprobe
instead of insmod. I'm not sure what the fundamental differences are,
but modprobe always spits out fewer errors than insmod, and seems
to successfully insert the module when insmod doesn't.
>
> 3. Why are all the packages included in the Storm distro older that
> required by the source? How can I upgrade all the packages to the latest
> versions?
Heh heh heh, be careful what you wish for. If you really want to upgrade
everything on your system, you can start by grabbing my sources.list:
http://bsu.dynhost.com/sources.list
Replace your /etc/apt/sources.list with that (after reading the disclaimer-
I haven't used it with Storm very much so don't initiate legal action
against me if you run into some minor dependency problems)
Then just run apt-get update and apt-get upgrade, or run Update in dselect,
and then Select in dselect to see all the cool new packages you have
available.
>
> 4. Can I remove a package that other packages depend on? I tried the
> force remove option and it still did not work. (in dpkg)
Don't.
>
> THanks in advance.
>
> -farshad abasi
>
>
> _______________________________________________
> Stormlinux-users-list mailing list
> [EMAIL PROTECTED]
> http://www.stormix.com/community/lists/listinfo/stormlinux-users-list
>
--
Craig McPherson
[EMAIL PROTECTED]
The world's funniest joke:
"Memes are a hoax. Tell all your friends!"
_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list