View previous topic :: View next topic |
Author |
Message |
gen4f n00b
Joined: 04 Aug 2006 Posts: 3
|
Posted: Fri Aug 04, 2006 1:11 am Post subject: |
|
|
Hi,
Quote: | I've solved this problem just forcing genkernel to load adp94xx module in the initramfs. |
how did you do this?
I tried to get it work, but it does not work , please help me.
Thanks in advance,
gen4f |
|
Back to top |
|
|
rosmild n00b
Joined: 08 Nov 2004 Posts: 14 Location: Bologna, Italy
|
Posted: Fri Aug 04, 2006 11:00 am Post subject: |
|
|
Hi,
first of all now I've some problem with kernel 2.6.17-r4, but everythink works fine with kernel 2.6.16-r13.
- download this [url]http://www.adaptec.com/en-US/speed/sas/linux/adp94xx-openbuild-b5918_i386_tar_gz.htm [/url], probably it contains just rpm files but you can convert them using rpm2targz.
- insert adp94xx in you kernel tree, using this command Code: | ./Build ../driver-adp94xx ../shipped-binary ../../../usr/src/linux-2.6.16-gentoo-r13 blist+=i686-smp | , pay attention cause you need to launch it in adaptec build directory and paths could be different.
- before to compile the kernel, you need to modify genkernl conf files:
Code: | vi /usr/share/genkernel/x86/modules_load | and insert adp94xx at the end of "MODULES_SCSI" module list
Code: | vi /usr/share/genkernel/generic/initrd.defaults | and insert adp94xx in MY_HWOPTS list
- Now you can compile your kernel.
- Don't forget to add "doscsi" option in grub.conf.
I hope this can help you to solve your problem.
If you need something else tell me. Sorry for my english,
matteo |
|
Back to top |
|
|
gen4f n00b
Joined: 04 Aug 2006 Posts: 3
|
Posted: Sun Aug 06, 2006 8:09 pm Post subject: |
|
|
Hi,
thanks for your tips!
I was able to build the module and kompile the kernel. But after booting the new kernel I got an error:
/init: /init: /15: cannot create : Directory nonexistent
Kernel panic not syncing: Attempt to kill init
I am using an Raid1 set wit sata drives, the access to the system works fine with the boot-cd mentioned in this thread.
Whats rong? Can you post our grub.conf?
gen4f |
|
Back to top |
|
|
gen4f n00b
Joined: 04 Aug 2006 Posts: 3
|
Posted: Mon Aug 07, 2006 8:28 pm Post subject: |
|
|
Hi,
problem solved, was caused by a corruped initrd.defaults.
emerge genkernel brings a clean version.
Thanks
gen4f |
|
Back to top |
|
|
DamFam n00b
Joined: 20 Jun 2006 Posts: 18
|
Posted: Wed Oct 11, 2006 2:06 am Post subject: |
|
|
rosmild wrote: | Hi,
first of all now I've some problem with kernel 2.6.17-r4, but everythink works fine with kernel 2.6.16-r13.
- download this [url]http://www.adaptec.com/en-US/speed/sas/linux/adp94xx-openbuild-b5918_i386_tar_gz.htm [/url], probably it contains just rpm files but you can convert them using rpm2targz.
- insert adp94xx in you kernel tree, using this command Code: | ./Build ../driver-adp94xx ../shipped-binary ../../../usr/src/linux-2.6.16-gentoo-r13 blist+=i686-smp | , pay attention cause you need to launch it in adaptec build directory and paths could be different.
- before to compile the kernel, you need to modify genkernl conf files:
Code: | vi /usr/share/genkernel/x86/modules_load | and insert adp94xx at the end of "MODULES_SCSI" module list
Code: | vi /usr/share/genkernel/generic/initrd.defaults | and insert adp94xx in MY_HWOPTS list
- Now you can compile your kernel.
- Don't forget to add "doscsi" option in grub.conf.
I hope this can help you to solve your problem.
If you need something else tell me. Sorry for my english,
matteo |
Hi all,
I'm still fighting with this.
I am trying to follow the procedure above, but keep getting:
subdir-$(CONFIG_SCSI_ADP94XX) += adp94xx
No dotconfig files found, make terminated.
the .config file for the kernel is in it's place. I've even tried backing it up, running a mrproper and putting it back. Same result.
Any ideas? |
|
Back to top |
|
|
DamFam n00b
Joined: 20 Jun 2006 Posts: 18
|
Posted: Wed Oct 18, 2006 12:36 am Post subject: |
|
|
Ok, I'm starting from scratch..
although it appears the livecd you posted doesn't have links or Lynx on it, so I can't install gentoo? |
|
Back to top |
|
|
DamFam n00b
Joined: 20 Jun 2006 Posts: 18
|
Posted: Mon Nov 06, 2006 4:21 pm Post subject: |
|
|
gen4f wrote: | Hi,
problem solved, was caused by a corruped initrd.defaults.
emerge genkernel brings a clean version.
Thanks
gen4f |
I keep getting this error.
I've re-emerged genkernel twice. Still errors out.
Can you help?
Also, how/where do you pass the module the "attach_HostRAID=1" parameter? |
|
Back to top |
|
|
DamFam n00b
Joined: 20 Jun 2006 Posts: 18
|
Posted: Mon Nov 06, 2006 7:26 pm Post subject: |
|
|
Finally, I have a working system.
Thanks everyone.
using the files agapo posted, I was able to modify the initrd to suit my needs, inserting the adp94xx and libsata modules I made for my kernel. I then had to make a new nod in the initrd for my root fs (/dev/sda3).
Once that was done, I had to manually create the /initrd directory.
After that, a reboot brought me into a live system!
SUCCESS! |
|
Back to top |
|
|
patap n00b
Joined: 13 Dec 2006 Posts: 1
|
|
Back to top |
|
|
pahud Tux's lil' helper
Joined: 26 Nov 2002 Posts: 103
|
Posted: Mon Jan 29, 2007 2:27 am Post subject: |
|
|
I've booted it with an alternative LiveCD with adp94xx support but what kernel source can I use so I can boot it directly from the disk? Is adp94xx already supported in 2.6.20? |
|
Back to top |
|
|
|