Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm working on a rather old server (2 Pentium II 350 + 256 MBs of ram). I tried to update to ubuntu dapper, but I can't make it boot because the support for megaraid is broken. I want to use another kernel that had megaraid support built in (not modular). The ones I have at hand only have it by modules (knoppix 5.0, a 2.6.20 experimental kernel from debian). I even tried downloading the source and configure it by hand, but when I try to include the megaraid support (in menuconfig) I always get a message that says that there's a dependency that is "mocular" so megaraid will be built modularized. :-S What can I do to solve it?
Right now, the box can't boot.
I tried booting with knoppix 5.0 and copying the kernel / modules. The box starts to boot, but it fails miserably because megaraid is modular. Any "express" ideas I can work on?
I had the same problem here, also with a Megaraid controller, on older hardware. I wound up running mkinitrd, and putting the module in there, so it would load at boot time. Seems to work well.
What I did to reboot it (just a while ago) was to build a kernel with megaraid legacy support included and ext3 included too. It has just booted... but I'd like to hear about other ways as well.
Is this device what is also known as FakeRaid? If so, there is hope for you with the package called DMRAID. I notice that the DMRAID pages mention Megaraid. Here is the ubuntu help page that I used to install Debian Etch to a Promise FastTrak66. If your Megaraid is the same sort of device (and I think it is) then this page should work for you, as well.
So, what they've done is to add a chip to a 2940 controller then? It's very strange that a configured hardware raid wouldn't boot without loading some software first, but, ah well. Good luck!
What I did to reboot it (just a while ago) was to build a kernel with megaraid legacy support included and ext3 included too. It has just booted... but I'd like to hear about other ways as well.
The server I did this on was SuSE. I edited the /etc/sysconfig/kernel file, and there's a line marked "INITRD_MODULES", and I added the megaraid_old, megaraid, jbd, and ext3 modules there, like this:
INITRD_MODULES="megaraid_old megaraid jbd ext3"
I ran mkinitrd, and it rebuilt my ramdisk image in /boot/initrd (symlink to my real image). Reboots worked fine from that point on. You can also run the command from the command-line, and specify the modules using the -m switch, which will accomplish the same thing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.