QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: conke

/etc/fstab中最后两个数字表示什么意思?

[复制链接]
 楼主| 发表于 2003-10-29 02:40:00 | 显示全部楼层
This question has been asked many times in many forums, maybe including linuxfans, but none is helpful.
回复

使用道具 举报

 楼主| 发表于 2003-10-29 02:47:43 | 显示全部楼层
I have tried a feasible way without knowing how to write the makefile .

If you know, please inform me.

(Please donnot give me a web link only, or something like "google".)
回复

使用道具 举报

发表于 2003-10-29 03:03:30 | 显示全部楼层
[quote:fc2d5c064a="conke"]Now could you please tell me how to build a kernel module on linux 2.6 kernel ?
use man what ??[/quote]


this is not a command or call, so "man .." does not help. but i suggest u to read  Documentation/kbuild/*. with that, u know how to do that. I believe there are some people are not knowledgeable as you. so if they ask question in detail, i will answer in detail.  

i will try to post a "hello world" module under linux 2.6 today. hope this can help some people to solve the problem.
回复

使用道具 举报

发表于 2003-10-29 03:04:39 | 显示全部楼层
[quote:eb81638181="conke"]This question has been asked many times in many forums, maybe including linuxfans, but none is helpful.[/quote]

i did not come frequently now. but i think they did not discuss this yet.
回复

使用道具 举报

发表于 2003-10-29 03:05:58 | 显示全部楼层
[quote:3c14b24663="conke"]I have tried a feasible way without knowing how to write the makefile .

If you know, please inform me.

(Please donnot give me a web link only, or something like "google".)[/quote]


if u find the feasible way that need not handle makefile, pls post here to share with us.
回复

使用道具 举报

 楼主| 发表于 2003-10-29 03:32:15 | 显示全部楼层
The difficulty in writing a kernel module(say, hello.ko) on 2.6 kernel is not the module itself, but the makefile in a way. For I donnot know  how to generate the .ko file.
回复

使用道具 举报

 楼主| 发表于 2003-10-29 03:40:47 | 显示全部楼层
In a word, what should I do to compile hello.c to hello.ko?
回复

使用道具 举报

发表于 2003-10-29 03:47:59 | 显示全部楼层
i only know how to do this via a makefile.

i just come back from post office and will write a hello module later.

i can not give u the module  i write now.
回复

使用道具 举报

 楼主| 发表于 2003-10-29 03:58:48 | 显示全部楼层
or how to  convert hello.o into hello.ko ?
回复

使用道具 举报

 楼主| 发表于 2003-10-29 04:22:03 | 显示全部楼层
Yeah, it's very kind of you to do so ! Thanks !
What I need is the makefile, and you needn't show me your_module.c file.

I used to write device drivers on 2.4 kernel for some companies, but now I donnot know how to write makefile to build the drivers source on 2.6 kernl.
The key is how to generate the .ko file(s).
回复

使用道具 举报

 楼主| 发表于 2003-10-29 04:43:37 | 显示全部楼层
I feel a little sleepy now.
回复

使用道具 举报

发表于 2003-10-29 04:48:32 | 显示全部楼层
i will post in a new post with both the makefile and example module code. u need not that. but many people still need that.
回复

使用道具 举报

 楼主| 发表于 2003-10-29 12:53:55 | 显示全部楼层
right here waiting ...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 10:23 , Processed in 0.042123 second(s), 12 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表