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.
Ok. I tried reloading and using lilo for the boot loader. I get the same error. I have read in some other posts of upgrading lilo as a solution. I follow you directions, included with the img files, and everything goes fine. The mkinitrd returns no errors. I edit lilo.conf, fstab, modules all without any problems. The only error I got was when I ran lilo after editing the conf. It tells me can't access /dev/ataraid/d0.
So I booted the system, and I get a Kernel Panic: VFS: Unable to mount root fs on 08:02.
Thanks for you quick response to my above post. I will check the post tomorrow morning....I am EST. (-5GMT).
Originally posted by Moonmagi Ok. I have downloaded the file and will try it this evening. I am guessing I just need to load this version of lilo, correct?
Hummmm,... i think that you will need to install lilo with
"boot=/dev/sda" but with append="root=/dev/ataraid/d0pX" then you will be able to boot 1st time,... at this time (using hptraid + ataraid) must use "boot=/dev/ataraid/d0"
The 1st time boot should work with the lilo included in the installer (it supports scsi but not ataraid, you are using scsi emulation during the install progress)
I have been parsing this thread to see if I could piece together a solution for Mandrake Linux Distro 9.1. It actually detects the the RAID 0 array ( as ATARAID/d0 ) I created on the HPT370 controller built into my Abit KG7-RAID motherboard, but it always says it must reboot to write changes to the partion table after I allocate space on the RAID array. After rebooting, it says it cannot read the partion table and I have to start all over again.
I have deleted/recreated the array several times, and tried both manually and automatically allocating the space. No change in the problem.
I also would be happy to try out attempts to get highpoint working with mandrake9.1
System ASUS A7v133 256Mb
2x 2.1Gb drives on built in mobo promise 20265 IDE (NOT RAID) - can be used to bootstrap up system without having RAID working. (/dev/hdi /dev/hdk)
DVD drive (/dev/hda) on ASUS built in IDE mobo controller
I have checked Sharky's excellent instructions for how to get things working with older versions of the kernel than 2.4.21-13mdk but it appears that code has been reorganised. It definitely works for mandrake 9.0 as I've tried it.
I'd happily have mandrake 9.1 and a 2.5 kernel that I compile and install myself if there was a stable release of the 2.5 kernel!
If people have suggestions I'm willing to try them as my system isn't going to do anything until I get this working so I've not nothing to loose in terms of data.
At present having recomplied kernel without hpt modules included and adding in the "opensource" complied module from highpoint into /lib/modules ...etc and rebuilding initrd (using preload statements on sharkys website [not able to mod ide-pci.c as it doesn't exist in this distro as allued in post above] and re running lilo. [Setting boot options for "linuxraid" initrd of the one I build and new kernel and "linuxdist" to be mdk installed kernel and initrd]
I get
mount: error6 ext3 flags kernel panic: no init found. Try passing init= option to kernel
Any suggestions people ?
do I need something telling the system that hde/hdg are part of the raid or to use Scsi emulation ?
Got partial resolution to problem - found error in lilo.conf that meant it was trying to use old initrd and new kernel to boot. Have now fixed it so that lilo has option for dist kernel and dist initrd - which works and recompiled kernel (without hpt modules, but with opensource module) and rebuilt initrd (as per sharkys instructions - which crashes with error above.
I can't really send boot logs as recompiled version crashses and burns before anything gets written.
wondering if I need something like hde=ide-scsi in append string?
Or since support is build into 2.5 kernel where I can get a working 2.5 kernel ?
I can complie hpt37x2.o no probs but don't know how to move the hpt37x2lib.o binary that is included in the open source so that is is complied with current version of gcc (3.2.2) rather than 2.9.6.
2.4.21 doesn't have ide-pci.c it has setup-pci instead. I can't find the lines that I'd suppored to delete that refer to the HPT devices. Does anyone know where the highpoint doc that are referred to in the instruction from shark are so that I can try to work out what I need to delete from where ?
if I can get a working kernel I'll build a boot one and post disks ala shark for 9.1 raid installation for others to use.
However I am having problems applying it - and I can't see why.
I'm applying to latest mandrake version, not 2.4.21-rc7 as is suggested (not sure if there is much difference between these - does anyone know what mandrake 9.1 (2.4.21-0.13mdk is based on ?)
I get
[root@localhost /usr/src]# patch -p0 < linux-2.4.21-pre7-hptraid-0.1-ww1.patch
patching file linux/drivers/ide/raid/hptraid.c
patch: **** malformed patch at line 10: static int hptraid_open(struct inode * inode, struct file * filp);
Looking at the patch file I can't see anything much wrong with it and I'd expect a different error if it didn't like the base kernel I was patching.
Any suggestions people.
If I get this working with both runtime and BOOT kernels I will post results for others to use.
Well I managed to build a working system kernel based on 2.4.21-0.25mdk and the patch reffered to in my last post - apprently it was a problem due to the way the website displayed the message.
I've alos build a BOOT kernel that appear to work in as much as it recognised the ataraid hpt array. However I can't get a working install floppy image which lets me use this new kernel at install time and then do Sharky's trick of swapping over to the runtime kernel.
If i use blank.img it can't find my cd drive
if I use cdrom.img and replace it with my kernel it complains that it doesn't have the modules "/lib/modules.cz-2.4.21-0.25hptBOOT" missing.
once DrakX is up and running.
Any neat ideas? on how I use the kernel I've built to install ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.