Hi Fabrice,

The last thing that I read from Jacques on this was, "Don't do kernel work
under UML slink". Unfortunately I was unable to find his original message to
refer you to but in a nutshell it said to do your kernel work on a
traditional Linux installation.

Hope this helps,
Eric Kiser

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:leaf-devel-admin@;lists.sourceforge.net]On Behalf Of Fabrice
LABORIE
Sent: Monday, October 21, 2002 11:38 AM
To: [EMAIL PROTECTED]
Subject: [leaf-devel] UML development slink filesystem missing kernel
headers


Hi,

here are some updates trying to compile a USB-Modem driver ( but still NO
solutions )!

Since the kernel header didn't come in the root_fs_slink,
I decided to download the kernel source into my UML devel box ;-)

Since the kernel source uncompressed didn't fit, I created a
BIG_root_fs_slink
identical to the original but 400MB large
(by basically using dd,mkfs, mount -o loop , cp -a  ,nmount )

Running a make menuconfig and a make dep inside the UML created the
missing /usr/src/linux/include/linux/modversions.h . Great ...
BUT
- trying to compile my USBdrivers show some problems in the kernel header
( /usr/src/linux/include/linux/kernel.h in particular ... but then plenty of
other problem)
-  trying to compilego further in the kernel compilation shows the same
error messages.

so i was wondering if I should follow the steps given in chapter 5 "How to
build an UML kernel for LEAF"
it would make sense ..: maybe the problem above was that I was tring to
build a i386 kernel ( or at least get
the matching headers ) in a ARCH=um environment...
trying to follow those steps, I applied all the patched ( bering+uml)  (
replaced the make xgo in freeswan-X.XX by make menugo
root_fs_slink didn't come with "wish")  ... but as soon as you save the
".config" file from the freeswan error message started to flow :(
and also error messages when typing the make linux ARCH=um ...

I also tried to skip the freeswan part .... going directly to the make linux
ARCH=um but no luck same kind of error message :(

bottom line ... i am a bit stuck now :(

any suggestion ?

thanks

fabrice.

----- Original Message -----
From: "Fabrice LABORIE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 21, 2002 1:49 PM
Subject: UML development slink filesystem missing kernel headers


> Hi guys,
>
> I am trying to compile the drivers for a Aztech 56K USB modem...
> This is my 1st attempt to play with UML
>
> the USB/linux drivers from http://www.smlink.com/download were working on
my
> previous
> machine RH7.3 ( I also gave it a try with the compilation on RH80. "make"
> succedded ... )
>
> it seems that the Leaf_UML Debian "slink" recommended in the
>  "Using a Virtual Debian/slink development box" doesn't include kernel
> include/header...
>
> downloading the kernel2.4.18.bz2 to extract the source  didn't help much
...
> (a file is still missing mod_versions.h that I believe is created when you
> compile the kernel...)
>
> any suggestions on how to be able to compile kernel modules under Leaf_UML
?
> - a "bigger" uml filesystem with the "full" development environment?
> - a debian package to install ( similar to rh8.0
> glibc-kernheaders-2.4-7.20 ) that
> would install the 2.4.18 headers for slink ? ( I am no debian specialist
...
> and my search on the debian site wasn't really successfull ...
> - ?
>
> (alternatively, i'd accept the drivers for my USB modem is someone can
> compile them ...
> but I'd also like to learn the process to be more independant in the
future)
>
> thanks for your help.
>
> Fabrice



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en


_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to