View previous topic :: View next topic |
Author |
Message |
fajar79 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Feb 2006 Posts: 3
|
Posted: Thu Feb 02, 2006 8:20 am Post subject: Serial Attached SCSI Controller problem? |
|
|
I like Gentoo Linux, already try it for sometimes, seems really simple to manage for me.
Our company buy new server based on IBM x206, I don't know exactly the controller chipset version, but from the driver that they provide for redhat and suse, it seems the driver/module begin with adp94xx. I hope my gentoo 2005.1 stage 3 installation will work, but it doesn't . After browsing to someplaces, i found that adaptec provide a kernel 2.6.13 patched with SAS built in. I want to try that, but my gentoo live cd can't recognize the controller, so i can't install it Maybe someone willing to help me ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flybynite l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 06 Dec 2002 Posts: 620
|
Posted: Mon Feb 06, 2006 6:27 am Post subject: |
|
|
Gentoo linux can be installed from almost anything. You just need to find a way to boot the kernel that supports your hardware. Then you can follow the install instructions.
Can you find any linux floppy or cdrom that supports your hardware? Do you have access to another linux box to create your own bootable cdrom? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fajar79 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Feb 2006 Posts: 3
|
Posted: Sat Feb 11, 2006 5:24 pm Post subject: |
|
|
yes, i have redhat linux enterprise 4 running on another box using that driver, i know maybe for you it maybe simple, but i'm still new, but i'm fall in love with gentoo ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxtuxhellsinki l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/108586992641e91ddb64c5a.gif)
Joined: 15 Nov 2004 Posts: 700 Location: Hellsinki
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fajar79 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Feb 2006 Posts: 3
|
Posted: Sun Feb 12, 2006 11:38 pm Post subject: |
|
|
i'm testing in installing gentoo from ubuntu breezy(sda) in vmware, all it seems running well. After chrooting, installing the kernel that support the scsi controller(adp94xx/aic94xx)->manual kernel, installing grub in /dev/sdb, making adjustment in fstab to point / to /dev/sda2(/dev/sda1 for swap), modify grub.conf to point the root into /dev/sda2, then booting, and...
can't find valid root device......
hmm,, maybe i miss something in kernel, so, i repeat the process but using genkernel, with genkernel all, making adjustment in grub.conf and fstab, and it still give the same result.
can't find valid root device......
hmm, another try to separated /boot and /, but it gives the same result. I haven't try using the default gentoo-sources, cause i just want to try kernel that support my scsi controller in real system.
I have install gentoo several times using livecd gentoo, using gentoo-sources, and always running well. Did I miss something?
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dashnu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Fri Mar 10, 2006 7:16 pm Post subject: |
|
|
Have you figured this out yet? I have the same Controller same problem 2006.1 livecd does not see it. Were you able to get gentoo up and running after using a different live disk? _________________ write quit bang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mda2376 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Feb 2006 Posts: 8 Location: Rochester, NY
|
Posted: Sat Apr 01, 2006 4:58 pm Post subject: livecd for aic94xx |
|
|
I have one of these aic94xx controllers aswell and put together a livecd with the official adaptec 2.6.13-sas kernel as well as the 2.6.16-mm2 with support built in for aic94xx. Both of these kernels detect my controller but unfortunatly either of them can find the drives since they are SATA not SAS. As far as I can tell netiher kernel supports SATA discs. I'm making the livecd available so that hopefully it will be useful to someone.
I will keep it available here: http://ritbailey.servebeer.com/~matt/aic94xx-livecd.iso. Please be patient as I have a pretty slow upload here.
Edit: I almost forgot, there is no auto-login setup, so the username/password is root/root _________________ matt.
http://www.pc.ibm.com/us/thinkpad/community/legends/index.html
Last edited by mda2376 on Sat Apr 01, 2006 8:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dashnu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Sat Apr 01, 2006 7:05 pm Post subject: |
|
|
That sucks that this does not work for the sata disks. Good job with the cd anyways.. What do those of us with the sata drives do ![Sad :(](images/smiles/icon_sad.gif) _________________ write quit bang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mda2376 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Feb 2006 Posts: 8 Location: Rochester, NY
|
Posted: Sat Apr 01, 2006 8:06 pm Post subject: |
|
|
Right now I dont know about the SATA discs. What I dont understand is in the dmesg output, after the aic94xx loads there is a libata version 1.20 (or 1.12 on the adaptec kernel) loading message. I havent been able to determine if SATA is _actually_ supported or not. I posted a message to the linux-scsi kernel mailing list but havent gotten any feedback as of yet. I'm about to install windows on this server and use it for something else.. which is a real shame. _________________ matt.
http://www.pc.ibm.com/us/thinkpad/community/legends/index.html |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dashnu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Sat Apr 01, 2006 8:10 pm Post subject: |
|
|
haha, I did the exact same thing. However I still need to get another server.. the next jump up is a bit to exspensive. _________________ write quit bang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mda2376 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Feb 2006 Posts: 8 Location: Rochester, NY
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dashnu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Mon May 01, 2006 3:17 pm Post subject: |
|
|
I am seeing nothing in 2.6.17 ![Sad :(](images/smiles/icon_sad.gif) _________________ write quit bang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
agapo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Mario/Mario_-_Mario3.gif)
Joined: 31 May 2006 Posts: 5 Location: Zaragoza (Spain)
|
Posted: Wed May 31, 2006 11:19 am Post subject: Maybe a solution |
|
|
Hello,
I'm new in the forum. I had the same problem with aic94xx module, it finds the controller but it's
not be able to see the SATA disks. Looking for more information I found the adp94xx module, I think is older than
aic94xx but it works with SAS controllers and SATA drives. I created a liveCD to boot my server IBM 306m using
vanilla kernel sources 2.6.10 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.gz) and the adp94xx
module sources (http://parker.vslib.cz/pub/adaptec/sas/linux/adp94xx-openbuild-b5918.i386.tar.gz). Instructions
to create a Live CD can be follow here (http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch).
This Live CD let me boot the server and using the adp94xx module I can access to SATA drives
(if you have setup a disk array in the hostRAID controller you must load the module setting the option
'attach_HostRAID:1'). Once you can access to drives... to install gentoo is a easy task.
I'm very busy now but I'll try to upload my Live CD to a FTP server as soon as possible. I hope that
it can be useful to gentoo friends who have a IBM xSeries server with this SAS controller.
Best regards |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dashnu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Wed May 31, 2006 1:46 pm Post subject: |
|
|
Awesome man, Please let me know when you upload the live disk. _________________ write quit bang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
agapo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Mario/Mario_-_Mario3.gif)
Joined: 31 May 2006 Posts: 5 Location: Zaragoza (Spain)
|
Posted: Wed May 31, 2006 5:31 pm Post subject: |
|
|
Hi again,
Here is the URL where the iso image is:
ftp://195.55.250.135/pub/livecd-IBM306m-SATA.iso (147 MB)
It comes with Kernel version 2.6.10 patched to support adp94xx SAS/SATA controller (inside SCSI drivers section you will be able to see adp94xx module). I have cleared modules what isn't useful to me along installation process (USB, sound, etc.). I just have included network modules to support broadcom NIC (it's the model used by my IBM 306m server), the network module is 'tg3'.
User and password to login in system are 'root' and 'root'.
Keyboard map loaded in boot process is spanish (es-cp850), you can load another one using loadkeys command. configurated system locales are: en_US/ISO-8859-1, en_US.UTF-8/UTF-8, es_ES/ISO-8859-1 and es_ES@euro/ISO-8859-15.
When the prompt appears you just type 'modprobe adp94xx' and you will see your drives (two SATA disk in my case) as '/dev/sda' and '/dev/sdb'. If you has defined an array in the hostRAID (this is my case too) it's better to type 'modprobe adp94xx attach_HostRAID=1' to access to whole disk array.
I hope this helps to you. It worked for me after two whole days looking for a solution desperately.
Best regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dashnu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Wed May 31, 2006 5:53 pm Post subject: |
|
|
downloading now. I really appreciate this man. I plan to get a couple 306m now.
Have you heard anything about when support will be added to the kernel tree? _________________ write quit bang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
agapo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Mario/Mario_-_Mario3.gif)
Joined: 31 May 2006 Posts: 5 Location: Zaragoza (Spain)
|
Posted: Thu Jun 01, 2006 3:07 pm Post subject: |
|
|
I don't know, sorry. At the moment the only solution I know it's to use adp94xx module. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netbja n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/37219216041ae4bfc4701c.jpg)
Joined: 28 Sep 2004 Posts: 16 Location: France
|
Posted: Mon Jun 19, 2006 5:00 pm Post subject: Live CD EM64T from scratch and adp94xx driver |
|
|
Hello agapo,
Could you please explain in details how do you compile the adaptec driver.
Because I create my own Live Gentoo 64 CD from scratch but it's impossible to compile the adp94xx driver.
Is the 2.6.10 kernel version needed by the driver ?
Thanks,
Bernard.
Last edited by netbja on Wed Jun 21, 2006 3:58 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DamFam n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jun 2006 Posts: 18
|
Posted: Tue Jun 20, 2006 11:57 pm Post subject: |
|
|
Thanks for this!
I have a problem, however.
I use the cd, access the array and install gentoo as per the gentoo documentation.
Come time to reboot, however - no joy. Can't find root fs.
How do I get/compile a kernel on the new install that can load the module?
Please help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
agapo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Mario/Mario_-_Mario3.gif)
Joined: 31 May 2006 Posts: 5 Location: Zaragoza (Spain)
|
Posted: Wed Jun 28, 2006 8:37 pm Post subject: |
|
|
Hello:
I'm sorry but I don't know if the module can be compiled for x64 systems. In my live CD I tried with 2.6.10 kernel (vanilla sources) but at this moment my machine is working nice with this module and 2.6.16-gentoo-r9 kernel (gentoo sources).
the same thing happened to me. I had to create a initrd file (including adp94xx and libata modules and customizing slightly the linuxrc script inside) to be able to boot the machine from SATA HDs. In this URL you will be able to find the system.map, vmlinuz, initrd, modules and grub.conf files that I use at this moment to boot. If you have the same hardware than me in your server and you copy the files to the appropiate directories maybe you might be able to start your machine.
ftp://195.55.250.135/pub/files.tar.bz2
I still have a little problem because initrd remains mounted after the boot process finish (I can unmount it manually but it doesn't do it automatically) but I'm very busy now to try solve this little issue and anyhow the system works fine.
I hope this helps you.
Best regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DamFam n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jun 2006 Posts: 18
|
Posted: Tue Jul 04, 2006 3:02 am Post subject: |
|
|
Thank You!
What filesystems are supported/compiled into that initrd and kernel?
It hangs on trying to mount my root fs, which is ext3.
Thanks again! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
agapo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Mario/Mario_-_Mario3.gif)
Joined: 31 May 2006 Posts: 5 Location: Zaragoza (Spain)
|
Posted: Tue Jul 04, 2006 2:04 pm Post subject: |
|
|
You're welcome.
ext2 and ext3
so.. have you tried to modify the linuxrc script inside initrd file? initrd file is really a gzipped ext2 filesystem image that system use to load modules to RAM in the boot process before it be able to access to root devices. You can decompress, mount and enter on this "file" to change whatever you want and to make a new one. My linuxrc is like this:
#!/bin/nash
echo "Loading libata.ko module"
insmod /lib/libata.ko
echo "Loading adp94xx.ko module"
insmod /lib/adp94xx.ko
echo Mounting /proc filesystem
mount -t proc /proc /proc
echo 0x0100 > /proc/sys/kernel/real-root-dev
echo "Mounting root filesystem"
mount -o noatime --ro -t ext3 /dev/sda1 /sysroot
pivot_root /sysroot /sysroot/initrd
umount /initrd/proc
Maybe you root filesystem is not in /dev/sda1 and you must change this by your right partition.
I hope this help you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DamFam n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jun 2006 Posts: 18
|
Posted: Tue Jul 04, 2006 2:50 pm Post subject: |
|
|
agapo wrote: | You're welcome.
ext2 and ext3
so.. have you tried to modify the linuxrc script inside initrd file? initrd file is really a gzipped ext2 filesystem image that system use to load modules to RAM in the boot process before it be able to access to root devices. You can decompress, mount and enter on this "file" to change whatever you want and to make a new one. My linuxrc is like this:
#!/bin/nash
echo "Loading libata.ko module"
insmod /lib/libata.ko
echo "Loading adp94xx.ko module"
insmod /lib/adp94xx.ko
echo Mounting /proc filesystem
mount -t proc /proc /proc
echo 0x0100 > /proc/sys/kernel/real-root-dev
echo "Mounting root filesystem"
mount -o noatime --ro -t ext3 /dev/sda1 /sysroot
pivot_root /sysroot /sysroot/initrd
umount /initrd/proc
Maybe you root filesystem is not in /dev/sda1 and you must change this by your right partition.
I hope this help you |
Thanks! Do I just use TAR zxvf to unzip the image?
My root filesystem is in fact /dev/sda3, and /boot is /dev/sda1 so I would need to change it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DamFam n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jun 2006 Posts: 18
|
Posted: Thu Jul 06, 2006 2:05 am Post subject: |
|
|
OK, managed to make the change and recreate the initrd, but now I get
Mounting /proc filesystem
Mounting root filesystem
kjournald starrting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 172k freed
Kernel panic - not syncing: No init found. Try passing init= option to kernel
any ideas here? It looks to be mounting my root filesystem ok now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rosmild n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Nov 2004 Posts: 14 Location: Bologna, Italy
|
Posted: Tue Aug 01, 2006 1:14 pm Post subject: |
|
|
I've solved this problem just forcing genkernel to load adp94xx module in the initramfs.
Now everything works fine.
rosmild |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|