You are not logged in.
Can someone please give me some tips as i need to install Arch on my Compaq Proliant server.
I know i need the cpqarray , tlan , sym53c8xx_2 , sd_mod , scsi_mod
But i still cant see the dev files for ida blah blah so Arch cant see my drive.
I have the raid setup as mirroring ( Raid 1 ) on 3 * 9Gb scsi drives.
If you have installed Arch on one of these servers can you help me out. I will be using the 0.7.1 noodle cd.
Regards,
Justin Smithies
Offline
I installed Arch i586 on my ProLiant 1500R. When I modprobed cpqarray and tlan, I was good to go. I had to compile a kernel for it on a different machine and copy it over tho, but that was an installer issue.
What does dmesg say after you modprobe cpqarray?
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
What do you mean you had to compile another kernel then copy it over.
Does that mean the Noodle cd installer wont work.
I'm away to modprobe cpqarray and tlan again and i'll tell you what dmesg says.
Thanks....
Offline
Well after doing dmesg i get :
Compaq SMART driver (v 2.6.0)
Drives found ida0 (Smart-2/p)
ida / c0d0 : p1 p2 p3 p4 < p5 >
And also details for my tlan.
So it see the drives but there are still no ida files in my /dev dir.
Please help me i need Arch on my server not Trustix .....
Offline
Paste the output of
cat /proc/partitions
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
The output from cat /proc/partitions is using the Arch installer cd :
Major Minor Blocks Name
72 0 8882160 ida/c0d0
72 1 53040 ida/codop1
72 2 8009040 ida/codop2
72 3 36704 ida/codop3
72 4 1 ida/codop4
72 5 783344 ida/codop5
Thanks in advance Fubar.........
Offline
Thanks Fubar i've cracked it.
Now you've helped me with cat /proc/partitions i realised all i had to do was create the device files by:
in /dev
mkdir ida
then mknod for all the partitions
After that i just mount the relevant mount points and hey presto im in and i can install ArchLinux.
Thanks for all your help and i hope this maybe helps others too.
Offline
One more question :
When i have mounted my raid array and installed Arch onto and setup fstab etc and so on also my modules etc.
When i reboot will the Arch kernel create the /dev/ida/c0d0p1 p2 p3 p4 p5 etc and mount this array?
Or is there something else im going to have to do ?
Offline
I have found a problem in the Arch setup script.
When the find discs routine runs there is no provision to look for arrarys.
I added the id into the code along with hd and sd
But if i look in /blocks/sys the array is listed as ida!c0d0
So when the setup script is run it messes up the names they end up like :
ida!c0d0p1
ida!c0d0p2
etc
So some code needs to be added to remove the !
Hope someone can help then we can get support for Compaq proliants in the installer.
Offline
Wow dude, that's very strange! I'll turn on my ProLiant tonight to see how it handles the cpqarray-devices. I didn't have to do those hacks to get it working. I used the i586 install CD tho, which is based on Arch 0.6 or perhaps even 0.7. Which one are you using?
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I'm using 0.7.1 Noodle.
I have rewritten the finddiscs routine in the setup script to locate these arrays.
Here the modified routine.
cd /sys/block
for dev in `ls | egrep '^hd|^sd|^id'`; do
if [ "`cat $dev/removable`" = "0" ]; then
echo "/dev/$dev"
[ "$1" ] && echo $1
fi
done
s=$dev
j=`echo $dev | cut -c 1-2`
if [ "$j" = "id" ]; then
m=`echo $dev | cut -c 5-8`
j=`echo $dev | cut -c 1-3`
dev="$j/$m"
else
dev=`echo $s`
fi
Going to test it on Wednesday but after intial tests using a fake /sys/block with certain files in it seems to work fine so it should see my array....
I've submitted it to Judd too , so i'll let you know when ive burnt a new iso with the modified initrd.img.
Offline
Your right Fubar 0.6 finds the drives no bother.
Now whats changed from 0.6 to 0.7.1 ?
Is it the devfs removal ?
Offline
[17:57:30] fubar@nythala:~ $ cat /proc/partitions
major minor #blocks name
72 0 18429360 ida/c0d0
72 1 32640 ida/c0d0p1
72 2 17576640 ida/c0d0p2
72 3 36704 ida/c0d0p3
72 4 1 ida/c0d0p4
72 5 783344 ida/c0d0p5
72 16 2023680 ida/c0d1
72 17 2023664 ida/c0d1p1
[17:57:35] fubar@nythala:~ $ ps aux | grep dev
root 766 1.0 0.1 1420 452 ? S<s 17:55 0:01 udevd
fubar 1387 0.0 0.2 3512 544 pts/0 S+ 17:57 0:00 grep dev
My box is running udev, and the partitions are detected correctly.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
/etc/udev/udev.conf
# udev.conf
#
# Where in the filesystem to place the device nodes
udev_root="/dev"
# The name and location of the udev database.
udev_db="/dev/.udevdb"
# The name and location of the udev rules file(s).
udev_rules="/etc/udev/rules.d"
# The syslog(3) priority: "err", "info", or the numerical value.
udev_log="err"
/etc/udev/scsi-devfs.sh
#! /bin/sh
#
# scsi-devfs.sh: udev external PROGRAM script
#
# Copyright 2004 Richard Gooch <rgooch@atnf.csiro.au>
# Copyright 2004 Fujitsu Ltd.
# Distributed under the GNU Copyleft version 2.0.
#
# return devfs-names for scsi-devices
# Usage in udev.rules:
# BUS="scsi", KERNEL="sd*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh sd %b %n",
NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
# BUS="scsi", KERNEL="sr*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh sr %b %n",
NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
# BUS="scsi", KERNEL="st*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh st %b %n",
NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
# BUS="scsi", KERNEL="sg*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh sg %b %n",
NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
# Find out where sysfs is mounted. Exit if not available
sysfs=`grep -F sysfs /proc/mounts | awk '{print $2}'`
if [ "$sysfs" = "" ]; then
echo "sysfs is required"
exit 1
fi
cd $sysfs/bus/scsi/devices
case "$1" in
sd)
# Extract partition component
if [ "$3" = "" ]; then
lpart="disc"
spart=""
else
lpart="part$3"
spart="p$3"
fi
;;
sr)
lpart="cdrom"
spart=""
;;
st)
# Not supported yet
exit 1
;;
sg)
lpart="generic"
spart=""
;;
*)
exit 1
;;
esac
# Extract SCSI logical address components
scsi_host=`echo $2 | cut -f 1 -d:`
scsi_bus=`echo $2 | cut -f 2 -d:`
scsi_target=`echo $2 | cut -f 3 -d:`
scsi_lun=`echo $2 | cut -f 4 -d:`
# Generate long and short common name parts
l_com="bus$scsi_bus/target$scsi_target/lun$scsi_lun/$lpart"
s_com="b${scsi_bus}t${scsi_target}u${scsi_lun}$spart"
# Generate long and short logical names
l_log="scsi/host$scsi_host/$l_com"
s_log="$1/c${scsi_host}${s_com}"
readlink $2 | grep -F -q pci
if [ "$?" != "0" ]; then
# Not a PCI controller, show logical locations only
echo $l_log $s_log
exit 0
fi
# Extract PCI address
tmp=`readlink $2 | sed -e 's@/host.*/.*@@'`
pci_addr=`basename "$tmp"`
pci_domain=`echo $pci_addr | cut -f 1 -d:`
pci_bus=`echo $pci_addr | cut -f 2 -d:`
pci_slot=`echo $pci_addr | tr . : | cut -f 3 -d:`
pci_function=`echo $pci_addr | cut -f 2 -d.`
# Generate long and short physical names
l_pci="domain$pci_domain/bus$pci_bus/slot$pci_slot/function$pci_function"
l_phy="bus/pci/$l_pci/scsi/$l_com"
s_phy="$1/pci/$pci_addr/$s_com"
echo $l_phy $s_phy $l_log $s_log
/etc/udev/rules.d/udev.rules
#
# This ruleset should provide a DevFS-compatible device tree.
#
# There are a number of modifiers that are allowed to be used in some
# of the different fields. They provide the following subsitutions:
#
# %n the "kernel number" of the device.
# For example, 'sda3' has a "kernel number" of '3'
# %e the smallest number for that name which does not matches an existing node
# %k the kernel name for the device.
# %M the kernel major number for the device
# %m the kernel minor number for the device
# %b the bus id for the device
# %c the string returned by the PROGRAM
# %s{filename} the content of a sysfs attribute.
# %% the '%' char itself.
#
# There are a number of modifiers that are allowed to be used in some of the
# fields. See the udev man page for a full description of them.
# global stuff
# default permissions for all block devices
SUBSYSTEM="block", GROUP="disk"
# CD/DVD symlinks
BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1
} %c{2} %c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c
{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="scd[0-9]*", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%
c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
# ide block devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", SYMLINK="%c{
1} %c{2}"
# permissions for IDE CD devices
BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat /proc/ide/%
k/media", RESULT="cdrom*", NAME="%k", GROUP="optical"
# permissions for SCSI CD devices
BUS="scsi", KERNEL="sr[0-9]*", SYSFS{type}="5", NAME="scd%n", GROUP="optical"
BUS="scsi", KERNEL="sg[0-9]*", SYSFS{type}="5", NAME="%k", GROUP="optical"
# permissions for IDE floppy devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-floppy.sh %k", RESULT="floppy",
NAME{all_partitions}="%k", GROUP="floppy"
# permissions for removable devices like cardreaders or sticks
BUS="usb", KERNEL="sd*", PROGRAM="/etc/udev/usb-storage.sh %k", RESULT="1", NAME
="%k", GROUP="storage"
# permissions for ide storage like pcmcia card readers
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-storage.sh %k", RESULT="1", NAME
="%k", GROUP="storage"
# permissions for SCSI scanners
BUS="scsi", KERNEL="sg[0-9]*", SYSFS{type}="6", NAME="%k", GROUP="scanner"
# pty and tty legacy devices
KERNEL="pty[a-z][a-z,0-9]*", NAME="legacy/%k"
KERNEL="tty[a-z][a-z,0-9]*", NAME="legacy/%k"
# md block devices
KERNEL="md[0-9]*", NAME="md/%n"
# device-mapper
KERNEL="device-mapper", NAME="mapper/control"
# floppy devices
KERNEL="fd[0-9]*", NAME="fd%n", SYMLINK="floppy/%n fd%nu1440 fd%nu720 fd%nh1200
fd%nu360", GROUP="floppy"
# tty devices
SUBSYSTEM="tty", GROUP="tty"
KERNEL="tty[0-9]*", NAME="vc/%n"
KERNEL="ttyS[0-9]*", NAME="tts/%n", SYMLINK="ttyS%n"
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"
# vc devices
KERNEL="vcs", NAME="vcc/0"
KERNEL="vcs[0-9]*", NAME="vcc/%n"
KERNEL="vcsa", NAME="vcc/a0"
KERNEL="vcsa[0-9]*", NAME="vcc/a%n"
KERNEL="ptmx", MODE="0666"
KERNEL="tty", MODE="0666"
# video devices
SUBSYSTEM="video4linux", GROUP="video"
KERNEL="dvb*", PROGRAM="/etc/udev/dvb.sh %k", NAME="%c", GROUP="video"
KERNEL="nvidia*", GROUP="video"
KERNEL="card[0-9]*", NAME="dri/%k", GROUP="video"
KERNEL="3dfx*", NAME="%k", GROUP="video"
# v4l devices
KERNEL="video[0-9]*", NAME="v4l/video%n", SYMLINK="%k", GROUP="video"
KERNEL="radio[0-9]*", NAME="v4l/radio%n", SYMLINK="radio%e", GROUP="video"
KERNEL="vbi[0-9]*", NAME="v4l/vbi%n", SYMLINK="%k", GROUP="video"
KERNEL="vtx[0-9]*", NAME="v4l/vtx%n", SYMLINK="%k", GROUP="video"
# dm devices (ignore them)
KERNEL="dm-[0-9]*", NAME=""
# i2c devices
KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"
# loop devices
KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
# ramdisks
KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
# framebuffer devices
KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k", GROUP="video"
# misc
KERNEL="rtc", NAME="misc/%k", SYMLINK="%k", GROUP="audio", MODE="0664"
KERNEL="nvram", NAME="misc/%k", SYMLINK="%k"
KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k" GROUP="video"
KERNEL="uinput", NAME="misc/%k", SYMLINK="%k"
KERNEL="random", MODE="0666"
KERNEL="urandom", MODE="0444"
KERNEL="mem", MODE="0640", GROUP="kmem"
KERNEL="kmem", MODE="0640", GROUP="kmem"
KERNEL="port", MODE="0640", GROUP="kmem"
KERNEL="full", MODE="0666"
KERNEL="null", MODE="0666"
KERNEL="zero", MODE="0666"
KERNEL="sgi_fetchop", MODE="0666"
KERNEL="sonypi", MODE="0666"
KERNEL="inotify", NAME="misc/%k", SYMLINK="%k", MODE="0666"
# sound devices
# alsa devices
SUBSYSTEM="sound", GROUP="audio"
KERNEL="controlC[0-9]*", NAME="snd/%k"
KERNEL="hw[CD0-9]*", NAME="snd/%k"
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
KERNEL="midi[CD0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
# oss devices
KERNEL="audio*", NAME="sound/%k", SYMLINK="%k"
KERNEL="dmmidi*", NAME="sound/%k", SYMLINK="%k"
KERNEL="admmidi*", NAME="sound/%k", SYMLINK="%k"
KERNEL="dsp*", NAME="sound/%k", SYMLINK="%k"
KERNEL="adsp*", NAME="sound/%k", SYMLINK="%k"
KERNEL="midi*", NAME="sound/%k", SYMLINK="%k"
KERNEL="amidi*", NAME="sound/%k", SYMLINK="%k"
KERNEL="mixer*", NAME="sound/%k", SYMLINK="%k"
KERNEL="sequencer*", NAME="sound/%k", SYMLINK="%k"
# input devices
KERNEL="mice", NAME="input/%k", MODE="0644"
KERNEL="mouse*", NAME="input/%k", MODE="0644"
KERNEL="event*", NAME="input/%k"
KERNEL="js*", NAME="input/%k", MODE="0664"
KERNEL="ts*", NAME="input/%k"
KERNEL="uinput", NAME="input/%k"
# USB devices
KERNEL="hiddev*", NAME="usb/%k"
KERNEL="auer*", NAME="usb/%k"
KERNEL="legousbtower*", NAME="usb/%k", MODE="0666"
KERNEL="dabusb*", NAME="usb/%k"
BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
BUS="usb", KERNEL="ttyUSB*", SYSFS{product}="Palm Handheld*", SYMLINK="pilot"
# printer devices
SUBSYSTEM="printer", GROUP="lp"
# netlink devices
KERNEL="route", NAME="netlink/%k"
KERNEL="skip", NAME="netlink/%k"
KERNEL="usersock", NAME="netlink/%k"
KERNEL="fwmonitor", NAME="netlink/%k"
KERNEL="tcpdiag", NAME="netlink/%k"
KERNEL="nflog", NAME="netlink/%k"
KERNEL="xfrm", NAME="netlink/%k"
KERNEL="arpd", NAME="netlink/%k"
KERNEL="route6", NAME="netlink/%k"
KERNEL="ip6_fw", NAME="netlink/%k"
KERNEL="dnrtmsg", NAME="netlink/%k"
KERNEL="tap*", NAME="netlink/%k"
# CAPI devices
KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
KERNEL="capi*", NAME="capi/%n"
# Network devices
KERNEL="tun", NAME="net/%k"
# raw devices
KERNEL="raw[0-9]*", NAME="raw/%k"
# kbd devices
KERNEL="kbd", NAME="%k", MODE="0664"
# packet devices
KERNEL="pktcdvd", NAME="pktcdvd/control", GROUP="optical", MODE="0660"
KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n", GROUP="optical", MODE="0660"
pacman -Qi udev
Name : udev
Version : 057-1
Groups : None
Packager : maci <maci@dmeisterboard.de>
URL : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
License : None
Architecture : i586
Size : 301287
Build Date : Mon Apr 18 03:00:55 2005 UTC
Install Date : Sat Apr 23 19:59:26 2005 UTC
Install Script : Yes
Reason: : explicitly installed
Provides : None
Depends On : coreutils hotplug
Required By : None
Conflicts With : None
Description : The userspace dev tools (udev)
Hope that helps.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Fubar can you help me get Arch onto my compaq proliant 1600/300 please.
I can get Arch onto it but i cannot get grub onto my /boot partition.
When i reboot i get missing operating system.
The other message ive had on previous attempts is a kernel panic because it just doesnt see my cpqarray ( Smart2 ) .
I can manually load the module and mount my devices then install Arch but i just cant get grub on and then it wont boot up.
I think this is due to the kernel not seeing the array though.
If you can email me justin AT smithies DOT me DOT uk that would be a great and would help me speed up getting Arch onto my server.
Thanks in advance
Offline
Sorry for the late reply, haven't been around on the forums lately.
I haven't been able to get Grub working on it either, so I switched to lilo and everything was peachy. Have you tried lilo yet?
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline