udev & initrd

Brian Empson <[email protected]> Mon, 19 Mar 2012 11:32:44 -0700 (PDT)
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
--===============9222250651187597830==
Content-Type: multipart/alternative;
	boundary="264668936-2061889889-1332181964=:3309"

--264668936-2061889889-1332181964=:3309
Content-Type: text/plain; charset=us-ascii

Confused as to why OpenSSI uses udev but are using an initrd as opposed to initramfs. On boot it fails with "unknown filesystem devfs". Installing openssi on debian etch removes the devfsd package and installs udev for some reason I cannot understand. Why would you use and initrd with udev if initrd wants to use devfs, moreover, why would you not compile devfs support into a kernel that uses an initrd image? There's no instructions that tell me to do anything different...I'd like to at least have a running OpenSSI machine before I start development! :)

My NIC module is in the initrd lib/modules, still doesnt load it for some reason, however. This is getting rediculous, I must have spent 4 days and 30+ hours trying to get the damn thing to boot. I mean, it sees the NIC in the directory, the kernel (stock debian) can use it and the ssi kernel has the module in it's modules folder. I don't know what else you have to do to get it to work!

Also, on compiling the kernel to attempt to add devfs support:


Compiling the kernel fails with any source package from apt-get or cvs:

include/linux/pagemap.h: In function
`fault_in_pages_writeable':
include/linux/pagemap.h:208: error: `__put_user_lcl'
undeclared (first use in this function)
include/linux/pagemap.h:208: error: (Each undeclared
identifier is reported only once
include/linux/pagemap.h:208: error: for each function
it appears in.)
include/linux/pagemap.h:218:48: macro
"__put_user_lcl" passed 3 arguments, but takes just 2
include/linux/pagemap.h:228:34: macro
"__get_user_lcl" passed 3 arguments, but takes just 2
include/linux/pagemap.h: In function
`fault_in_pages_readable':
include/linux/pagemap.h:228: error: `__get_user_lcl'
undeclared (first use in this function)
include/linux/pagemap.h:234:42: macro
"__get_user_lcl" passed 3 arguments, but takes just 2
include/linux/pagemap.h:225: warning: unused variable
`c'

I've since fixed these errors but there are still MORE errors! What is the proper compiler version, mine is 2.95.3. (Maybe it's my compiler? Although newer versions complain about the same thing.) I must have "patched" over 30 files and still going strong :3

If I could just get the kernel to compile, I could continue troubleshooting this thing.


Regards,
Brian


Looking through the source I'm trying to patch things as I go but the deeper I get the more it looks like it's unfinished, even in the debian source packag

--264668936-2061889889-1332181964=:3309
Content-Type: text/html; charset=us-ascii

<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Confused as to why OpenSSI uses udev but are using an initrd as opposed to initramfs. On boot it fails with "unknown filesystem devfs". Installing openssi on debian etch removes the devfsd package and installs udev for some reason I cannot understand. Why would you use and initrd with udev if initrd wants to use devfs, moreover, why would you not compile devfs support into a kernel that uses an initrd image? There's no instructions that tell me to do anything different...I'd like to at least have a running OpenSSI machine before I start development! :)</div><div><br></div><div>My NIC module is in the initrd lib/modules, still doesnt load it for some reason, ho
 wever. This is getting rediculous, I must have spent 4 days and 30+ hours trying to get the damn thing to boot. I mean, it sees the NIC in the directory, the kernel
 (stock debian) can use it and the ssi kernel has the module in it's modules folder. I don't know what else you have to do to get it to work!</div><div><br></div><div>Also, on compiling the kernel to attempt to add devfs support:<br></div><div><br></div><div>Compiling the kernel fails with any source package from apt-get or cvs:</div><div><br></div><div class="MsoNormal">include/linux/pagemap.h: In function
`fault_in_pages_writeable':</div>

<div class="MsoNormal">include/linux/pagemap.h:208: error: `__put_user_lcl'
undeclared (first use in this function)</div>

<div class="MsoNormal">include/linux/pagemap.h:208: error: (Each undeclared
identifier is reported only once</div>

<div class="MsoNormal">include/linux/pagemap.h:208: error: for each function
it appears in.)</div>

<div class="MsoNormal">include/linux/pagemap.h:218:48: macro
"__put_user_lcl" passed 3 arguments, but takes just 2</div>

<div class="MsoNormal">include/linux/pagemap.h:228:34: macro
"__get_user_lcl" passed 3 arguments, but takes just 2</div>

<div class="MsoNormal">include/linux/pagemap.h: In function
`fault_in_pages_readable':</div>

<div class="MsoNormal">include/linux/pagemap.h:228: error: `__get_user_lcl'
undeclared (first use in this function)</div>

<div class="MsoNormal">include/linux/pagemap.h:234:42: macro
"__get_user_lcl" passed 3 arguments, but takes just 2</div>

<div class="MsoNormal">include/linux/pagemap.h:225: warning: unused variable
`c'</div><div><br></div><div>I've since fixed these errors but there are still MORE errors! What is the proper compiler version, mine is 2.95.3. (Maybe it's my compiler? Although newer versions complain about the same thing.) I must have "patched" over 30 files and still going strong :3</div><div><br></div><div>If I could just get the kernel to compile, I could continue troubleshooting this thing.<br></div><div><br></div><div>Regards,</div><div>Brian<br></div><div><br></div><div>Looking through the source I'm trying to patch things as I go but the deeper I get the more it looks like it's unfinished, even in the debian source packag<br></div></div></body></html>
--264668936-2061889889-1332181964=:3309--


--===============9222250651187597830==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
--===============9222250651187597830==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ssic-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel

--===============9222250651187597830==--