Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-02 Thread Ciaran McCreesh
On Tue, 02 Sep 2003 23:31:51 +0800 "Stephen Liu" <[EMAIL PROTECTED]> wrote:
| RAID-0 (Z-Cyber ATA133 RAID)

Don't know for sure if this is supported in Linux...

| I did following steps;
| 1)Booting up the PC with CD#1
| 2)At prompt
| # gentoo md

Try gentoo doataraid. If that doesn't work, try:
# modprobe ataraid
# modprobe (whatever)raid

AFAIK, the cd has hptraid for Highpoint-based chipsets and pdcraid for Promise-based 
chipsets. It *might* also have silraid (haven't used the newest set of CDs on a 
software RAID box). If you don't know which driver to use, trying each in turn should 
be okay...

Your disk should show up as /dev/ataraid/disc0/disc . You'll still get devices in 
/dev/discs/ for each physical disc (Linux can still see them), but you should ignore 
these.

HTH,
-- 
Ciaran McCreesh
mail: ciaranm at firedrop.org.uk


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-02 Thread Kai Lindenberg
Hi Stephen,

Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> This is my first time installing Gentoo.
>
> Hardware Config.
> RAID-0 (Z-Cyber ATA133 RAID)
> Drive-A:  Connected to 1st slot of RAID controller
> Drive-B:  Connected to 2nd slot of RAID controller

[...]

> I did following steps;
> 1)Booting up the PC with CD#1
> 2)At prompt
> # gentoo md
> cdimage root# fdisk -l
>
> Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB

[...]

> Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB

[...]

> Why it is not a single hard drive, instead 2 drives being seen.
>  One drive is of Linux system and another Win95 FAT32 (LBA)
> system.


Hey, you answered this question by yourself

1. This is not a "real" hardware raidcontroller, so you always see 
all connected drives, maybe the windows driver hides them.

2. You don't see an additional "drive" because you have no module 
for the linux kernel. Try to find a silraid driver patch for your 
kernel, maybe the latest vanilla kernel supports it, the latest 
stable 2.4.20-gentoo-r6 doesn't.

Kai



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-04 Thread Stephen Liu
Hi Ciaran,

Thanks for your advice.

Tried as follows;

1)Booting up the PC with CD#1
2)At prompt
# modprobe ataraid
(no response)
# modprobe scsiraid
modprobe: Cant' locate module scsiraid

Continued
# gentoo doataraid

Network configuration without problem, broadband connected
# ping -c 3 www.yahoo.com
showing connected

Continued
Partition with "fdisk"
After finish, rebooted PC

# fdisk -l

Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
16 heads, 63 sectors/track, 77557 cylinders
Units = cylinders of 1008 = 512 = 516096 bytes

Devices /dev/ide/host0/bus1/target0/lun0/part1
Boot#
Start   1
End 77557
Block   39000696+
Id  83
System  Linux

Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 = 512 = 8225280 bytes

Devices /dev/ide/host0/bus0/target0/lun0/part1
Boot*
Start   1
End 5
Block   40131
Id  83
System  Linux

Devices /dev/ide/host0/bus0/target0/lun0/part2
Boot
Start   6
End 68
Block   506947+
Id  83
System  Linux

Devices /dev/ide/host0/bus0/target0/lun0/part3
Boot
Start   69
End 4066
Block   38539935
Id  83
System  Linux

The hard drive connected to bus1 seems not in use, only the hard drive
connected to bus0 partitioned.  If it is the case I will continue the
test to install gentoo.

Kindly advise.  Thanks in advance.

B.Regards
Stephen

 

On Wed, 2003-09-03 at 00:34, Ciaran McCreesh wrote:
> On Tue, 02 Sep 2003 23:31:51 +0800 "Stephen Liu" <[EMAIL PROTECTED]> wrote:
> | RAID-0 (Z-Cyber ATA133 RAID)
> 
> Don't know for sure if this is supported in Linux...
> 
> | I did following steps;
> | 1)Booting up the PC with CD#1
> | 2)At prompt
> | # gentoo md
> 
> Try gentoo doataraid. If that doesn't work, try:
> # modprobe ataraid
> # modprobe (whatever)raid
> 
> AFAIK, the cd has hptraid for Highpoint-based chipsets and pdcraid for Promise-based 
> chipsets. It *might* also have silraid (haven't used the newest set of CDs on a 
> software RAID box). If you don't know which driver to use, trying each in turn 
> should be okay...
> 
> Your disk should show up as /dev/ataraid/disc0/disc . You'll still get devices in 
> /dev/discs/ for each physical disc (Linux can still see them), but you should ignore 
> these.
> 
> HTH,


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-04 Thread Andrew Gaffney
Stephen Liu wrote:
Continued
# gentoo doataraid
I believe this should be typed at the CD's boot prompt.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-04 Thread Stephen Liu
Hi Kai,

Thanks for your response.

I tried hard to search silraid driver on Internet without result
including subscribing to "linux-kernel" mailing list, a very high
traffic list.

I found Arjan's driver working on Medley software RAID (Silicon Image
3112 SATARaid, CMD680) but I have no idea whether it works on Z-Cyber
ATA133 RAID controller.  I am still searching its download website.

B.R.
Stephen

On Tue, 2003-09-02 at 23:57, Kai Lindenberg wrote:
> Hi Stephen,
> 
> Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> > This is my first time installing Gentoo.
> >
> > Hardware Config.
> > RAID-0 (Z-Cyber ATA133 RAID)
> > Drive-A:  Connected to 1st slot of RAID controller
> > Drive-B:  Connected to 2nd slot of RAID controller
> 
> [...]
> 
> > I did following steps;
> > 1)Booting up the PC with CD#1
> > 2)At prompt
> > # gentoo md
> > cdimage root# fdisk -l
> >
> > Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
> 
> [...]
> 
> > Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
> 
> [...]
> 
> > Why it is not a single hard drive, instead 2 drives being seen.
> >  One drive is of Linux system and another Win95 FAT32 (LBA)
> > system.
> 
> 
> Hey, you answered this question by yourself
> 
> 1. This is not a "real" hardware raidcontroller, so you always see 
> all connected drives, maybe the windows driver hides them.
> 
> 2. You don't see an additional "drive" because you have no module 
> for the linux kernel. Try to find a silraid driver patch for your 
> kernel, maybe the latest vanilla kernel supports it, the latest 
> stable 2.4.20-gentoo-r6 doesn't.
> 
> Kai


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-04 Thread Stephen Liu
Hi Andrew,
On Fri, 2003-09-05 at 11:07, Andrew Gaffney wrote:
> > Continued
> > # gentoo doataraid
> 
> I believe this should be typed at the CD's boot prompt.

Yes.  That is correct.  I typed it at booting the CD#1

B.R.
Stephen


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-04 Thread Stephen Liu
Hi Andrew,
On Fri, 2003-09-05 at 11:07, Andrew Gaffney wrote:
> > Continued
> > # gentoo doataraid
> 
> I believe this should be typed at the CD's boot prompt.

Yes.  That is correct.  I typed it at booting the CD#1

B.R.
Stephen


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-05 Thread William Kenworthy
There's a driver for the 680 in 2.4.22-gss (one setting for udma, and
one for the ideraid) that I am using in IDE mode. Much better than the
2.4.20 gentoo-sources for this card.  Only prob is the card only has a
cdrom on it, and I dont have a /dev/hda, but there is a /proc/ide/hda
...



BillK


On Fri, 2003-09-05 at 11:28, Stephen Liu wrote:
> Hi Kai,
> 
> Thanks for your response.
> 
> I tried hard to search silraid driver on Internet without result
> including subscribing to "linux-kernel" mailing list, a very high
> traffic list.
> 
> I found Arjan's driver working on Medley software RAID (Silicon Image
> 3112 SATARaid, CMD680) but I have no idea whether it works on Z-Cyber
> ATA133 RAID controller.  I am still searching its download website.
> 
> B.R.
> Stephen
> 
> On Tue, 2003-09-02 at 23:57, Kai Lindenberg wrote:
> > Hi Stephen,
> > 
> > Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> > > This is my first time installing Gentoo.
> > >
> > > Hardware Config.
> > > RAID-0 (Z-Cyber ATA133 RAID)
> > > Drive-A:  Connected to 1st slot of RAID controller
> > > Drive-B:  Connected to 2nd slot of RAID controller
> > 
> > [...]
> > 
> > > I did following steps;
> > > 1)Booting up the PC with CD#1
> > > 2)At prompt
> > > # gentoo md
> > > cdimage root# fdisk -l
> > >
> > > Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
> > 
> > [...]
> > 
> > > Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
> > 
> > [...]
> > 
> > > Why it is not a single hard drive, instead 2 drives being seen.
> > >  One drive is of Linux system and another Win95 FAT32 (LBA)
> > > system.
> > 
> > 
> > Hey, you answered this question by yourself
> > 
> > 1. This is not a "real" hardware raidcontroller, so you always see 
> > all connected drives, maybe the windows driver hides them.
> > 
> > 2. You don't see an additional "drive" because you have no module 
> > for the linux kernel. Try to find a silraid driver patch for your 
> > kernel, maybe the latest vanilla kernel supports it, the latest 
> > stable 2.4.20-gentoo-r6 doesn't.
> > 
> > Kai
> 
> 
> To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
William Kenworthy <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-05 Thread Stephen Liu
Hi Bill,

Thanks for your response.  

Kindly advise whether you meant kernel-2.4.22 supports ATA RAID?  But I
have to install Gentoo 1.4 first before I can upgrade the kernel.  Even
after upgrading the kernel the OS still resides on drive-1, similar to
Egg and Chicken question.

B.R.
Stephen

On Fri, 2003-09-05 at 17:46, William Kenworthy wrote:
> There's a driver for the 680 in 2.4.22-gss (one setting for udma, and
> one for the ideraid) that I am using in IDE mode. Much better than the
> 2.4.20 gentoo-sources for this card.  Only prob is the card only has a
> cdrom on it, and I dont have a /dev/hda, but there is a /proc/ide/hda
> ...
> 
> 
> 
> BillK
> 
> 
> On Fri, 2003-09-05 at 11:28, Stephen Liu wrote:
> > Hi Kai,
> > 
> > Thanks for your response.
> > 
> > I tried hard to search silraid driver on Internet without result
> > including subscribing to "linux-kernel" mailing list, a very high
> > traffic list.
> > 
> > I found Arjan's driver working on Medley software RAID (Silicon Image
> > 3112 SATARaid, CMD680) but I have no idea whether it works on Z-Cyber
> > ATA133 RAID controller.  I am still searching its download website.
> > 
> > B.R.
> > Stephen
> > 
> > On Tue, 2003-09-02 at 23:57, Kai Lindenberg wrote:
> > > Hi Stephen,
> > > 
> > > Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> > > > This is my first time installing Gentoo.
> > > >
> > > > Hardware Config.
> > > > RAID-0 (Z-Cyber ATA133 RAID)
> > > > Drive-A:  Connected to 1st slot of RAID controller
> > > > Drive-B:  Connected to 2nd slot of RAID controller
> > > 
> > > [...]
> > > 
> > > > I did following steps;
> > > > 1)Booting up the PC with CD#1
> > > > 2)At prompt
> > > > # gentoo md
> > > > cdimage root# fdisk -l
> > > >
> > > > Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
> > > 
> > > [...]
> > > 
> > > > Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
> > > 
> > > [...]
> > > 
> > > > Why it is not a single hard drive, instead 2 drives being seen.
> > > >  One drive is of Linux system and another Win95 FAT32 (LBA)
> > > > system.
> > > 
> > > 
> > > Hey, you answered this question by yourself
> > > 
> > > 1. This is not a "real" hardware raidcontroller, so you always see 
> > > all connected drives, maybe the windows driver hides them.
> > > 
> > > 2. You don't see an additional "drive" because you have no module 
> > > for the linux kernel. Try to find a silraid driver patch for your 
> > > kernel, maybe the latest vanilla kernel supports it, the latest 
> > > stable 2.4.20-gentoo-r6 doesn't.
> > > 
> > > Kai
> > 
> > 
> > To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
> > 
> > --
> > [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-05 Thread Stephen Liu
Hi folks,

I continued installing Gentoo 1.4 and encountered following difficulty

(Remark: 
-Prompt - use "gentoo md"
-disk partition on drive connected to bus0 only - without problem
-creating filesystems - without complaint
-mounting partitions - without complaint)

Now when came to - stages tarballs and chroot (2 CD version)
-Extraction of tarballs - stage2 - without complaint

cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without complaint)
cdimage gentoo # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf (without complaint)
cdimage gentoo # chroot /mnt/gentoo /bin/bash
Illegal instruction

I could not proceed further.  Kindly advise.

Thanks in advance.

B.Regards
Stephen



On Fri, 2003-09-05 at 17:46, William Kenworthy wrote:
> There's a driver for the 680 in 2.4.22-gss (one setting for udma, and
> one for the ideraid) that I am using in IDE mode. Much better than the
> 2.4.20 gentoo-sources for this card.  Only prob is the card only has a
> cdrom on it, and I dont have a /dev/hda, but there is a /proc/ide/hda
> ...
> 
> 
> 
> BillK
> 
> 
> On Fri, 2003-09-05 at 11:28, Stephen Liu wrote:
> > Hi Kai,
> > 
> > Thanks for your response.
> > 
> > I tried hard to search silraid driver on Internet without result
> > including subscribing to "linux-kernel" mailing list, a very high
> > traffic list.
> > 
> > I found Arjan's driver working on Medley software RAID (Silicon Image
> > 3112 SATARaid, CMD680) but I have no idea whether it works on Z-Cyber
> > ATA133 RAID controller.  I am still searching its download website.
> > 
> > B.R.
> > Stephen
> > 
> > On Tue, 2003-09-02 at 23:57, Kai Lindenberg wrote:
> > > Hi Stephen,
> > > 
> > > Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> > > > This is my first time installing Gentoo.
> > > >
> > > > Hardware Config.
> > > > RAID-0 (Z-Cyber ATA133 RAID)
> > > > Drive-A:  Connected to 1st slot of RAID controller
> > > > Drive-B:  Connected to 2nd slot of RAID controller
> > > 
> > > [...]
> > > 
> > > > I did following steps;
> > > > 1)Booting up the PC with CD#1
> > > > 2)At prompt
> > > > # gentoo md
> > > > cdimage root# fdisk -l
> > > >
> > > > Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
> > > 
> > > [...]
> > > 
> > > > Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
> > > 
> > > [...]
> > > 
> > > > Why it is not a single hard drive, instead 2 drives being seen.
> > > >  One drive is of Linux system and another Win95 FAT32 (LBA)
> > > > system.
> > > 
> > > 
> > > Hey, you answered this question by yourself
> > > 
> > > 1. This is not a "real" hardware raidcontroller, so you always see 
> > > all connected drives, maybe the windows driver hides them.
> > > 
> > > 2. You don't see an additional "drive" because you have no module 
> > > for the linux kernel. Try to find a silraid driver patch for your 
> > > kernel, maybe the latest vanilla kernel supports it, the latest 
> > > stable 2.4.20-gentoo-r6 doesn't.
> > > 
> > > Kai
> > 
> > 
> > To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
> > 
> > --
> > [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-05 Thread Collins Richey
On Sat, 06 Sep 2003 09:49:49 +0800
Stephen Liu <[EMAIL PROTECTED]> wrote:


> Now when came to - stages tarballs and chroot (2 CD version)
> -Extraction of tarballs - stage2 - without complaint
> 
> cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without
> complaint) cdimage gentoo # cp /etc/resolv.conf
> /mnt/gentoo/etc/resolv.conf (without complaint) cdimage gentoo #
> chroot /mnt/gentoo /bin/bash Illegal instruction
> 

Almost always this means that you have installed binary code (the stage
2) that is not compiled for your computer, example: Pentium4 code for an
AMD computer.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread William Kenworthy
Yes, it appears to: its in the raid configure section of the kernel
alongside the promise and hpt raid devices.  The (u)dma setting is in
the normal ide device settings.  I am using it in ide mode (jumper
out).  Note that this is gs-sources, not kernel-sources.

BillK


On Fri, 2003-09-05 at 23:51, Stephen Liu wrote:
> Hi Bill,
> 
> Thanks for your response.  
> 
> Kindly advise whether you meant kernel-2.4.22 supports ATA RAID?  But I
> have to install Gentoo 1.4 first before I can upgrade the kernel.  Even
> after upgrading the kernel the OS still resides on drive-1, similar to
> Egg and Chicken question.
> 
> B.R.
> Stephen
> 
> On Fri, 2003-09-05 at 17:46, William Kenworthy wrote:
> > There's a driver for the 680 in 2.4.22-gss (one setting for udma, and
> > one for the ideraid) that I am using in IDE mode. Much better than the
> > 2.4.20 gentoo-sources for this card.  Only prob is the card only has a
> > cdrom on it, and I dont have a /dev/hda, but there is a /proc/ide/hda
> > ...
> > 
> > 
> > 
> > BillK
> > 
> > 
> > On Fri, 2003-09-05 at 11:28, Stephen Liu wrote:
> > > Hi Kai,
> > > 
> > > Thanks for your response.
> > > 
> > > I tried hard to search silraid driver on Internet without result
> > > including subscribing to "linux-kernel" mailing list, a very high
> > > traffic list.
> > > 
> > > I found Arjan's driver working on Medley software RAID (Silicon Image
> > > 3112 SATARaid, CMD680) but I have no idea whether it works on Z-Cyber
> > > ATA133 RAID controller.  I am still searching its download website.
> > > 
> > > B.R.
> > > Stephen
> > > 
> > > On Tue, 2003-09-02 at 23:57, Kai Lindenberg wrote:
> > > > Hi Stephen,
> > > > 
> > > > Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> > > > > This is my first time installing Gentoo.
> > > > >
> > > > > Hardware Config.
> > > > > RAID-0 (Z-Cyber ATA133 RAID)
> > > > > Drive-A:  Connected to 1st slot of RAID controller
> > > > > Drive-B:  Connected to 2nd slot of RAID controller
> > > > 
> > > > [...]
> > > > 
> > > > > I did following steps;
> > > > > 1)Booting up the PC with CD#1
> > > > > 2)At prompt
> > > > > # gentoo md
> > > > > cdimage root# fdisk -l
> > > > >
> > > > > Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
> > > > 
> > > > [...]
> > > > 
> > > > > Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
> > > > 
> > > > [...]
> > > > 
> > > > > Why it is not a single hard drive, instead 2 drives being seen.
> > > > >  One drive is of Linux system and another Win95 FAT32 (LBA)
> > > > > system.
> > > > 
> > > > 
> > > > Hey, you answered this question by yourself
> > > > 
> > > > 1. This is not a "real" hardware raidcontroller, so you always see 
> > > > all connected drives, maybe the windows driver hides them.
> > > > 
> > > > 2. You don't see an additional "drive" because you have no module 
> > > > for the linux kernel. Try to find a silraid driver patch for your 
> > > > kernel, maybe the latest vanilla kernel supports it, the latest 
> > > > stable 2.4.20-gentoo-r6 doesn't.
> > > > 
> > > > Kai
> > > 
> > > 
> > > To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
> > > 
> > > --
> > > [EMAIL PROTECTED] mailing list
> 
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
William Kenworthy <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread William Kenworthy
possible due to wrong choice of settings for processor in make.conf.

BillK

On Sat, 2003-09-06 at 10:11, Collins Richey wrote:
> On Sat, 06 Sep 2003 09:49:49 +0800
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> 
> > Now when came to - stages tarballs and chroot (2 CD version)
> > -Extraction of tarballs - stage2 - without complaint
> > 
> > cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without
> > complaint) cdimage gentoo # cp /etc/resolv.conf
> > /mnt/gentoo/etc/resolv.conf (without complaint) cdimage gentoo #
> > chroot /mnt/gentoo /bin/bash Illegal instruction
> > 
> 
> Almost always this means that you have installed binary code (the stage
> 2) that is not compiled for your computer, example: Pentium4 code for an
> AMD computer.
-- 
William Kenworthy <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread Stephen Liu
Hi Collins,

Thanks for your response.

I am testing Gentoo 1.4 on a Intel P-II PC, running software RAID-0. 
Because Gentoo 1.4 could not detect the RAID controller, I continued the
installation on the drive connected to bus0

I extracted Stage2 tarballs.  Whether I need to extract Stage1
tarballs.  If YES, Kindly advise how to format all partitions removing
all files completely for fresh installation instead of repartitioning
the drive.

Thanks in advance.

B.Regards
Stephen

On Sat, 2003-09-06 at 10:11, Collins Richey wrote: 
> On Sat, 06 Sep 2003 09:49:49 +0800
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> 
> > Now when came to - stages tarballs and chroot (2 CD version)
> > -Extraction of tarballs - stage2 - without complaint
> > 
> > cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without
> > complaint) cdimage gentoo # cp /etc/resolv.conf
> > /mnt/gentoo/etc/resolv.conf (without complaint) cdimage gentoo #
> > chroot /mnt/gentoo /bin/bash Illegal instruction
> > 
> 
> Almost always this means that you have installed binary code (the stage
> 2) that is not compiled for your computer, example: Pentium4 code for an
> AMD computer.


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread Stephen Liu
Hi Bill,

Thanks for your response/

On Sat, 2003-09-06 at 15:50, William Kenworthy wrote:
> possible due to wrong choice of settings for processor in make.conf.

Sorry I could not catch your advice.  Whether you meant that I have to
edit "make.conf" 


According to "10. Setting Gentoo optimizations (make.conf)" of the
installation manual;

".. generally, the defaults (an empty or unset USE variable) are
fine. More information."

therefore I left the file untouched.

Kindly advise what I have to edit?  I am running this test on a Intel
PII PC with software RAID-0.  Gentoo could not detect the RAID
controller.  I continued the test on installing Gentoo 1.4 on the drive
connected to bus0

B.Regards
Stephen


> 
> BillK
> 
> On Sat, 2003-09-06 at 10:11, Collins Richey wrote:
> > On Sat, 06 Sep 2003 09:49:49 +0800
> > Stephen Liu <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > > Now when came to - stages tarballs and chroot (2 CD version)
> > > -Extraction of tarballs - stage2 - without complaint
> > > 
> > > cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without
> > > complaint) cdimage gentoo # cp /etc/resolv.conf
> > > /mnt/gentoo/etc/resolv.conf (without complaint) cdimage gentoo #
> > > chroot /mnt/gentoo /bin/bash Illegal instruction
> > > 
> > 
> > Almost always this means that you have installed binary code (the stage
> > 2) that is not compiled for your computer, example: Pentium4 code for an
> > AMD computer.


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread Stephen Liu
Hi Bill,

On Sat, 2003-09-06 at 15:49, William Kenworthy wrote:
> Yes, it appears to: its in the raid configure section of the kernel
> alongside the promise and hpt raid devices.  The (u)dma setting is in
> the normal ide device settings.  I am using it in ide mode (jumper
> out).  Note that this is gs-sources, not kernel-sources.

After installing and running Gentoo 1.4 on my PC I will upgrade the
kernel to see what will happen.  I will come back to this point later.

Thanks

B.Regards
Stephen.


> 
> 
> On Fri, 2003-09-05 at 23:51, Stephen Liu wrote:
> > Hi Bill,
> > 
> > Thanks for your response.  
> > 
> > Kindly advise whether you meant kernel-2.4.22 supports ATA RAID?  But I
> > have to install Gentoo 1.4 first before I can upgrade the kernel.  Even
> > after upgrading the kernel the OS still resides on drive-1, similar to
> > Egg and Chicken question.
> > 
> > B.R.
> > Stephen
> > 
> > On Fri, 2003-09-05 at 17:46, William Kenworthy wrote:
> > > There's a driver for the 680 in 2.4.22-gss (one setting for udma, and
> > > one for the ideraid) that I am using in IDE mode. Much better than the
> > > 2.4.20 gentoo-sources for this card.  Only prob is the card only has a
> > > cdrom on it, and I dont have a /dev/hda, but there is a /proc/ide/hda
> > > ...
> > > 
> > > 
> > > 
> > > BillK
> > > 
> > > 
> > > On Fri, 2003-09-05 at 11:28, Stephen Liu wrote:
> > > > Hi Kai,
> > > > 
> > > > Thanks for your response.
> > > > 
> > > > I tried hard to search silraid driver on Internet without result
> > > > including subscribing to "linux-kernel" mailing list, a very high
> > > > traffic list.
> > > > 
> > > > I found Arjan's driver working on Medley software RAID (Silicon Image
> > > > 3112 SATARaid, CMD680) but I have no idea whether it works on Z-Cyber
> > > > ATA133 RAID controller.  I am still searching its download website.
> > > > 
> > > > B.R.
> > > > Stephen
> > > > 
> > > > On Tue, 2003-09-02 at 23:57, Kai Lindenberg wrote:
> > > > > Hi Stephen,
> > > > > 
> > > > > Am Dienstag, 2. September 2003 17:31 schrieb Stephen Liu:
> > > > > > This is my first time installing Gentoo.
> > > > > >
> > > > > > Hardware Config.
> > > > > > RAID-0 (Z-Cyber ATA133 RAID)
> > > > > > Drive-A:  Connected to 1st slot of RAID controller
> > > > > > Drive-B:  Connected to 2nd slot of RAID controller
> > > > > 
> > > > > [...]
> > > > > 
> > > > > > I did following steps;
> > > > > > 1)Booting up the PC with CD#1
> > > > > > 2)At prompt
> > > > > > # gentoo md
> > > > > > cdimage root# fdisk -l
> > > > > >
> > > > > > Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB
> > > > > 
> > > > > [...]
> > > > > 
> > > > > > Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB
> > > > > 
> > > > > [...]
> > > > > 
> > > > > > Why it is not a single hard drive, instead 2 drives being seen.
> > > > > >  One drive is of Linux system and another Win95 FAT32 (LBA)
> > > > > > system.
> > > > > 
> > > > > 
> > > > > Hey, you answered this question by yourself
> > > > > 
> > > > > 1. This is not a "real" hardware raidcontroller, so you always see 
> > > > > all connected drives, maybe the windows driver hides them.
> > > > > 
> > > > > 2. You don't see an additional "drive" because you have no module 
> > > > > for the linux kernel. Try to find a silraid driver patch for your 
> > > > > kernel, maybe the latest vanilla kernel supports it, the latest 
> > > > > stable 2.4.20-gentoo-r6 doesn't.
> > > > > 
> > > > > Kai
> > > > 
> > > > 
> > > > To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
> > > > 
> > > > --
> > > > [EMAIL PROTECTED] mailing list
> > 
> > 
> > --
> > [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread William Kenworthy
USE is just one of many variables in make.conf.  The one I was referring
to is CFLAGS.  Also check the CHOST flag is correct.

Is there a reason why you are trying to use the raid function on this
card - my understanding its purely a remapping under the control of a
driver in windows and in linux, software raid is more efficient and
flexible?  I am using raid0 on the motherboard ports, and when I set
this up (~ two years ago under mandrake on another MB and still going
under gentoo) and it was reccomended then to run (it was a hpt
controller) any winraid card in ide mode and use softraid.  Use the
silraid, and you lose that option, and as far as I can see, gain nothing
unless the disks are required to be readable under a dual boot win/lin
system.

BillK

On Sat, 2003-09-06 at 20:37, Stephen Liu wrote:
> Hi Bill,
> 
> Thanks for your response/
> 
> On Sat, 2003-09-06 at 15:50, William Kenworthy wrote:
> > possible due to wrong choice of settings for processor in make.conf.
> 
> Sorry I could not catch your advice.  Whether you meant that I have to
> edit "make.conf" 
> 
> 
> According to "10. Setting Gentoo optimizations (make.conf)" of the
> installation manual;
> 
> ".. generally, the defaults (an empty or unset USE variable) are
> fine. More information."
> 
> therefore I left the file untouched.
> 
> Kindly advise what I have to edit?  I am running this test on a Intel
> PII PC with software RAID-0.  Gentoo could not detect the RAID
> controller.  I continued the test on installing Gentoo 1.4 on the drive
> connected to bus0
> 
> B.Regards
> Stephen
> 
> 
> > 
> > BillK
> > 
> > On Sat, 2003-09-06 at 10:11, Collins Richey wrote:
> > > On Sat, 06 Sep 2003 09:49:49 +0800
> > > Stephen Liu <[EMAIL PROTECTED]> wrote:
> > > 
> > > 
> > > > Now when came to - stages tarballs and chroot (2 CD version)
> > > > -Extraction of tarballs - stage2 - without complaint
> > > > 
> > > > cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without
> > > > complaint) cdimage gentoo # cp /etc/resolv.conf
> > > > /mnt/gentoo/etc/resolv.conf (without complaint) cdimage gentoo #
> > > > chroot /mnt/gentoo /bin/bash Illegal instruction
> > > > 
> > > 
> > > Almost always this means that you have installed binary code (the stage
> > > 2) that is not compiled for your computer, example: Pentium4 code for an
> > > AMD computer.
> 
> 
> To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
-- 
William Kenworthy <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] First time installing Gentoo 1.4

2003-09-06 Thread Stephen Liu
Hi Bill,

This PC, a RAID-0 box for test use, has a motherboard which only
supports ATA-33 hard drive.  I have no ATA-33 hard drive and only have
ATA-133 hard drive available for test.  The problem is with the ATA-133
RAID controller installed on booting the PC the BIOS detects it.  I have
searched around on the BIOS pages to disable it without result.

ATA-133 hard drive does not work on the old motherboard.  I have tested
it.  I have no ATA-133 controller available therefore I got a ATA-66
controller from stock instead and continued testing installation of
Gentoo 1.4.  However I encountered another problem as follows;

At start hitting "Enter" to start standard kernel

cdimage root # fdisk -l

Disk /dev/ide/host2/bus0/target0/lun0/disc: 40.0 GB
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Devices /dev/ide/host2/bus0/target0/lun0/part1
Boot#
Start   1
End 4866
Block   39086113+
Id  c
System  Win95 FAT32 (LBA)


cdimage root # fdisk /dev/hda
Unable to open /dev/hda

cdimage root # fdisk /dev/hdc
You will not be able to write the partition table.
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new Dos disklabel.  Changes will remain in memory only, until
you decide to write them.  After that of course, the previous content
won't be recoverable.

Warning: invalid flag 0x000 of partition table 4 will be corrected by
w(rite)

Command (m for help): p

Disk /dev/hdc: 476 MB, 476618752 bytes
255 heads, 63 sectors/track, 57 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes



I supposed /dev/hdc is the RAM disk.  Why /dev/hda could not be opened?

(Remark:  The ATA-133 hard drive has been previously formatted in DOS)

Kindly advise how to proceed.  Thanks in advance.

B.Regards
Stephen

P.S. I also tested "gentoo md" and the result was the same.




On Sat, 2003-09-06 at 22:44, William Kenworthy wrote:
> USE is just one of many variables in make.conf.  The one I was referring
> to is CFLAGS.  Also check the CHOST flag is correct.
> 
> Is there a reason why you are trying to use the raid function on this
> card - my understanding its purely a remapping under the control of a
> driver in windows and in linux, software raid is more efficient and
> flexible?  I am using raid0 on the motherboard ports, and when I set
> this up (~ two years ago under mandrake on another MB and still going
> under gentoo) and it was reccomended then to run (it was a hpt
> controller) any winraid card in ide mode and use softraid.  Use the
> silraid, and you lose that option, and as far as I can see, gain nothing
> unless the disks are required to be readable under a dual boot win/lin
> system.
> 
> BillK
> 
> On Sat, 2003-09-06 at 20:37, Stephen Liu wrote:
> > Hi Bill,
> > 
> > Thanks for your response/
> > 
> > On Sat, 2003-09-06 at 15:50, William Kenworthy wrote:
> > > possible due to wrong choice of settings for processor in make.conf.
> > 
> > Sorry I could not catch your advice.  Whether you meant that I have to
> > edit "make.conf" 
> > 
> > 
> > According to "10. Setting Gentoo optimizations (make.conf)" of the
> > installation manual;
> > 
> > ".. generally, the defaults (an empty or unset USE variable) are
> > fine. More information."
> > 
> > therefore I left the file untouched.
> > 
> > Kindly advise what I have to edit?  I am running this test on a Intel
> > PII PC with software RAID-0.  Gentoo could not detect the RAID
> > controller.  I continued the test on installing Gentoo 1.4 on the drive
> > connected to bus0
> > 
> > B.Regards
> > Stephen
> > 
> > 
> > > 
> > > BillK
> > > 
> > > On Sat, 2003-09-06 at 10:11, Collins Richey wrote:
> > > > On Sat, 06 Sep 2003 09:49:49 +0800
> > > > Stephen Liu <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > 
> > > > > Now when came to - stages tarballs and chroot (2 CD version)
> > > > > -Extraction of tarballs - stage2 - without complaint
> > > > > 
> > > > > cdimage gentoo # mount -t proc proc /mnt/gentoo/proc (without
> > > > > complaint) cdimage gentoo # cp /etc/resolv.conf
> > > > > /mnt/gentoo/etc/resolv.conf (without complaint) cdimage gentoo #
> > > > > chroot /mnt/gentoo /bin/bash Illegal instruction
> > > > > 
> > > > 
> > > > Almost always this means that you have installed binary code (the stage
> > > > 2) that is not compiled for your computer, example: Pentium4 code for an
> > > > AMD computer.
> > 
> > 
> > To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.


--
[EMAIL PROTECTED] mailing list