LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-24-2003, 11:25 PM   #61
Moonmagi
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0

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).

Thanks
Moonmagi
 
Old 04-25-2003, 02:29 AM   #62
tarkie
LQ Newbie
 
Registered: Apr 2003
Posts: 20

Original Poster
Rep: Reputation: 0
As I said in my reply, I have a boot floppy disk, so I edited lilo.conf, and put /dev/fd0 instead of /dev/ataraid/d0.

I lilo'ed and booted from the floppy.

My Raid partition is the last 20mb of a 160mb Raid stripe, which is why, I believe, I have to have a boot disk.

Unless anyone knows otherwise?
 
Old 04-25-2003, 04:44 AM   #63
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Moonmagi:

download: http://home.san.rr.com/johninsd/pub/...22.5.1.tar.gz, this will work great.

tarkie: install lilo in the mbr, other solution is build that boot floopy to allow 1st boot and build the new lilo.

Last edited by sharkyr0lz; 04-25-2003 at 04:45 AM.
 
Old 04-25-2003, 12:42 PM   #64
Moonmagi
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
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?

I will let you know the results.

Thanks
Moonmagi
 
Old 04-25-2003, 01:56 PM   #65
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Quote:
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)
 
Old 05-17-2003, 04:27 PM   #66
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Mandrake 9.1 and HPT370

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.

Any ideas on a work-around for this?
 
Old 05-25-2003, 03:41 PM   #67
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
Tester

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)

2x 80GB drives on Adaptec RAID 1200 PCI card (/dev/hde /dev/hdg)

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.
 
Old 05-25-2003, 03:43 PM   #68
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
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 ?

Last edited by n03lm; 05-25-2003 at 04:01 PM.
 
Old 05-26-2003, 07:47 AM   #69
patton
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by n03lm

.....
......

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 ?
Have you checked that you are using the ext3 file system on your
root partition?
Or do you use ext2, or rieserfs or something different?

Patton
 
Old 05-26-2003, 11:44 AM   #70
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
Nope, all partitions are ext3 jornalised

any other hints ?
 
Old 05-27-2003, 03:11 AM   #71
patton
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by n03lm
Nope, all partitions are ext3 jornalised

any other hints ?
Can you post the Kernel Logs at boot?
 
Old 05-27-2003, 07:25 PM   #72
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
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 ?

Any ideas people ?
 
Old 05-31-2003, 09:21 AM   #73
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
more mandrake 9.1 and hpt problems

OK various issues

I have tried the 2.4.21-rc5-ac2 kernel - doesn't recognise drives on the raid card at all, but it does boot.

Gone back to http://www.terra.es/personal2/capull.../index.en.html
to check instructions for 2B option - disabel raid and use "opensource"

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.

Thanks for help
 
Old 06-05-2003, 12:43 PM   #74
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
Possilbe HPT raid solution

Hi All,

Thought people on this thread might be interested in this patch ..

http://www.cs.helsinki.fi/linux/linu...3-15/0343.html

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.
 
Old 09-03-2003, 03:51 PM   #75
n03lm
LQ Newbie
 
Registered: Apr 2003
Location: Scotland
Distribution: Mandrake 9.1, Mandrake 9.0
Posts: 14

Rep: Reputation: 0
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 ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HighPoint HPT 370/372 (RAID 0) and Mandrake Arbitor Linux - Hardware 2 06-05-2004 09:42 PM
Partitioning/installing with HPT372A RAID controller? MAF Slackware 0 09-19-2003 05:21 AM
Mandrake 9 / Highpoint 372 Raid dayloon Linux - Newbie 4 01-12-2003 03:56 AM
Highpoint raid not working with mandrake 9.0 Borriszan Linux - Hardware 0 01-09-2003 07:07 AM
Mandrake 9 / Highpoint 372 Raid dayloon Linux - Distributions 2 10-13-2002 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration