2010S issues
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Jasper,
I have installed debian via the gentoo livecd 1.
(gentoo is another great distro. www.gentoo.org)
The kernel of this CD detects your raid.
Do the following steps to install debian via the gentoo CD:
- Boot with the gentoo LiveCD
- Create partitions with fdisk
# fdisk /dev/sda - Create filesystems like # mke2fs -j /dev/sda1 # mkswap /dev/sda2 # mkreiserfs /dev/sda3 - Mount partitions # swapon /dev/sda2 # mount /dev/sda3 /mnt/gentoo # mkdir /mnt/gentoo/boot # mount /dev/sda1 /mnt/gentoo/boot - Do the following on a already installed debian-machine # apt-get --download-only install debootstrap - On the new machine do # mkdir /root/work # cd /root/work # scp debianmachine:/var/cache/apt/archives/debootstrap_0.1.17_i386.deb . # ar -xf debootstrap_0.1.17_i386.deb # cd /mnt/gentoo # mkdir tmp # cd tmp # mkdir debinst # cp -a /mnt/cloop/usr . # tar zxvf /root/work/data.tar.gz # cd / # rm usr # ln -s /mnt/gentoo/tmp/debinst/usr . # /usr/sbin/sbin/debootstrap --arch i386 woody /mnt/gentoo http://http.us.debian.org/debian # chroot /mnt/gentoo /bin/bash - debian base dirs are now installed. edit now the /etc/fstab # vi /etc/fstab # mount -a # mount -t proc proc /proc # dpkg-reconfigure console-data - configure the net # vi /etc/network/interfaces # vi /etc/resolve.conf # vi /etc/hostname - do now the debian base-config # /usr/sbin/base-config - install packages desired for kernel-compile # apt-get update # apt-get upgrade # apt-get install perl # apt-get install make # apt-get install gcc # apt-get install ssh # apt-get install wget # apt-get install bzip2 # apt-get install libncurses5-dev - compile the kernel # wget http://www.kernel.org/pub/linux/v2.4/linux-2.4.24.tar.bz2 # tar jxvf linux-2.4.24.tar.bz2 # ln -s linux-2.4.24 linux # cd linux # make mrproper # make menuconfig - kernel configuration - DO NOT include 79xx support. - include Adaptec i20 RAID support (in scsi menu) i2o_dpt - DO NOT include i2o device support - know compile # make dep # make clean # make bzImage # make modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.24 # cp System.map /boot/System.map-2.4.24 # cp .config /boot/config-2.4.24 - configure lilo # vi /etc/lilo.conf # vi /boot/bootmess.txt # /sbin/lilo -v - Create bootdisks (insert an empty floppy) # mkboot /boot/vmlinuz-2.4.24
FINISH
- try to reboot
unfortunatelly we can only boot from the bootdisk booting from the RAID doesn't work
Good luck
Regards valli
Quoted 35 lines
hi valli,
I am sorry to bother you, but i have the same RAID1 card as you and i going to run Debian on my server (Supermicro, Intel Xeon, Adaptec 7902 dual-channel Ultra320 SCSI onboard and Zero-channel RAID support using Adaptec 2010S).
I havent tried to install it yet but i read you managed to get it working
(http://marc.theaimsgroup.com/?l=linux-raid&m=107403841015538&w=2).That's a big relieve because i have read some stories of people who didnt get it working with Debian. Adaptec seems to think that there arent any other distros besides SuSE & RedHat :)
Can you give me any tips on installing it succesfully? I have two 36GB discs and no IDE disc to boot from, but a floppy will do i hope ;)
My approach will be:
- config 2.4.24 (2.6.1 seems to have a broken Adapteci2o_dpt)
- include 790x support and Adaptec i20 support.
- compile the kernel
- create a new Debian bootdisk using this newly created kernel
- boot the new server and install debian using net-install
- boot from floppyAre there any steps i forgot?
I already tested that
dpt_utilon a spare Debian box and it runs, of course it can't detect scsi-adapters though.Kind regards,
Jasper
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: 2010S issues (7902 issues)
Hi jasper,
Quoted 6 lines
...
i have to catch up reading about Gentoo's Live CD, afaik it works just like the Knoppix project.I presume i can take the:
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/x86/1.4/livecd/pentium4/
Gentoo is not only a LiveCD, it is also a full distro. If you want to use gentoo, you have to compile everything by yourself (emerge do it for you, it's something like apt-get) There's a great installer doku:
http://www.gentoo.org/doc/en/gentoo-x86-install.xml
Quoted 2 lines
...
let's hope it'll detect the 1Gbit broadcom controller ;)
No idea, but should work.
Quoted 2 lines
...
i should add the 3/dev/sda*filesystems there i presume.
yes! give a look at another /etc/fstab at a already installed debian machine
Quoted 6 lines
...
Quoted 3 lines
- kernel configuration
- DO NOT include 79xx support.
- include Adaptec i20 RAID support (in scsi menu)i2o_dptso the i20 detects both the 2010 and the 7902?
No, the 2010s board detects 7902 and communicate with this SCSI-controller; The kernel only communicate with the Adaptec 2010s (It's a so called Zero Channel Raid Controller, means it has not a SCSI-Controller onboard)
Graphic: (<=> means comunicate)
Kernel <=> Adaptec 2010s <=> Adaptec 7902 <=> SCSI Harddrives
Quoted 1 line
...
Kind regards,
valli
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: 2010S issues (7902 issues)
Hi jasper,
Quoted 18 lines · On Wed, 14 Jan 2004, [email protected] wrote:
Quoted 7 lines
Hi jasper,
Quoted 4 lines
...
i have to catch up reading about Gentoo's Live CD, afaik it works just like the Knoppix project.Quoted 9 lines
Quoted 2 lines
I presume i can take the:
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/x86/1.4/livecd/pentium4/Gentoo is not only a LiveCD, it is also a full distro. If you want to use gentoo, you have to compile everything by yourself (emerge do it for you, it's something like apt-get) There's a great installer doku:
http://www.gentoo.org/doc/en/gentoo-x86-install.xml
Quoted 8 lines
i already downloaded it and took a look at it. Looks just fine. The first screens look better than the avarage debian bootmenu :) i have to wait for a few days before i can start installing it, have some tests at school first. But i am confident the 2010S wont be a pain in the ass as i thought before.
Not to spoil the fun, but can't i use a custom kernel (2.4.24 with 2010S support enabled) and make a native debian bootdisc out of it?
No idea, could be.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
...
let's hope it'll detect the 1Gbit broadcom controller ;)No idea, but should work.
there's an onboard Intel 100mbit NIC too. i can use the eepro i hope.
This one works for sure with the LiveCD
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines
...
i should add the 3/dev/sda*filesystems there i presume.yes! give a look at another
/etc/fstabat a already installed debian machineack, i only have a couple of IDE machines. I can just do 'mount' and use that info to fill
/etc/fstab.
Looks like the following:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>
<dump> <pass>/dev/sda3 / reiserfs defaults 0
0
/dev/sda1 /boot ext3 defaults 0
2
/dev/sda2 none swap sw 0
0
proc /proc proc defaults 0
0/dev/fd0 /floppy auto user,noauto 0
0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0
0Quoted 12 lines
Quoted 12 lines
Quoted 6 lines
...
Quoted 3 lines
- kernel configuration
- DO NOT include 79xx support.
- include Adaptec i20 RAID support (in scsi menu)i2o_dptso the i20 detects both the 2010 and the 7902?
No, the 2010s board detects 7902 and communicate with this SCSI-controller; The kernel only communicate with the Adaptec 2010s (It's a so called Zero Channel Raid Controller, means it has not a SCSI-Controller onboard)
Quoted 10 lines
Quoted 3 lines
Graphic: (<=> means comunicate)
Kernel <=> Adaptec 2010s <=> Adaptec 7902 <=> SCSI HarddrivesSo you have to use the 7902 if you dont use the optional RAID controller. That makes sense.
I am preparing stuff at my Athlon first and fiddle around with the LiveCD some more ;)
Kind regards,
valli
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: 2010S issues (7902 issues HostRAID)
Hi jasper,
Quoted 52 lines · On Wed, 14 Jan 2004, [email protected] wrote:
Quoted 10 lines
Hi jasper,
Quoted 5 lines · On Wed, 14 Jan 2004, [email protected] wrote:
Quoted 3 lines
Hi jasper,
there's an onboard Intel 100mbit NIC too. i can use the eepro i hope.
This one works for sure with the LiveCD
ack
Quoted 29 lines
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
...
i should add the 3/dev/sda*filesystems there i presume.yes! give a look at another
/etc/fstabat a already installed debian machineack, i only have a couple of IDE machines. I can just do 'mount' and
use
Quoted 2 lines
that info to fill
/etc/fstab.Looks like the following:
#/etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>
<dump> <pass>/dev/sda3/ reiserfs defaults
00 /dev/sda1 /boot ext3 defaults 0 2 /dev/sda2 none swap sw 0 0 proc /proc proc defaults 0 0Quoted 8 lines
/dev/fd0/floppy auto user,noauto
00 /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
Quoted 5 lines
hmmm, pretty straightforward ;) The whole sequence of commands makes more sense now i
see the/etc/fstaboutput :) thanx. I have read about the hotraid stuff at the linux.adaptec.com pages, is that a sort of software raid?
You mean the HostRAID stuff (not hotraid I think).
HostRaid is something like a build-in software raid (levels 0,1,10) in the 7902 controller. (i think it's non-hotplug)
DO NOT WASTE YOUR TIME WITH THIS GARBAGE. I've already done it for you! The aic79xx driver (of Justin T. Gibbs) in the kernel does not support HostRAID.
I think there is currently no opensource HostRAID driver available at all.
See also:
http://news.gw.com/freebsd.aic7xxx/797
http://mbserver.adaptec.com/view.php?bn=linux_scsi&key=1064363305&pattern=AIC-7902+hostraid
(It's a shame!)
Quoted 6 lines
<cut>
Quoted 3 lines
Kind regards,
valli
regards valli
Re: 2010S issues (7902 issues)
In reply to a message not in the archiveHi jasper,
Quoted 6 lines
...
i have to catch up reading about Gentoo's Live CD, afaik it works just like the Knoppix project.I presume i can take the:
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/x86/1.4/livecd/pentium4/
Gentoo is not only a LiveCD, it is also a full distro. If you want to use gentoo, you have to compile everything by yourself (emerge do it for you, it's something like apt-get) There's a great installer doku:
http://www.gentoo.org/doc/en/gentoo-x86-install.xml
Quoted 2 lines
...
let's hope it'll detect the 1Gbit broadcom controller ;)
No idea, but should work.
Quoted 2 lines
...
i should add the 3/dev/sda*filesystems there i presume.
yes! give a look at another /etc/fstab at a already installed debian machine
Quoted 6 lines
...
Quoted 3 lines
- kernel configuration
- DO NOT include 79xx support.
- include Adaptec i20 RAID support (in scsi menu)i2o_dptso the i20 detects both the 2010 and the 7902?
No, the 2010s board detects 7902 and communicate with this SCSI-controller; The kernel only communicate with the Adaptec 2010s (It's a so called Zero Channel Raid Controller, means it has not a SCSI-Controller onboard)
Graphic: (<=> means comunicate)
Kernel <=> Adaptec 2010s <=> Adaptec 7902 <=> SCSI Harddrives
Quoted 1 line
...
Kind regards,
valli
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Mike,
The 2010s is a hardware RAID solution. It has nothing todo with 'MD raid' which is a software RAID solution. I didn't build the MD raid things, neither as modules nor compiled in static in the kernel.
Valli
Quoted 12 lines · On Wed, Jan 14, 2004 at 01:43:28PM +0100, [email protected] wrote:
Quoted 4 lines
FINISH
- try to reboot
unfortunatelly we can only boot from the bootdisk booting from the RAID doesn't workThat's because the MD raid is built as modules.
I never took the time to work with raid modules since it won't autodetect (it's compiled out for the modules case), you have to have some code in userspace put them back together (try mdadm).