Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Serial Attached SCSI Controller problem?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gen4f
n00b
n00b


Joined: 04 Aug 2006
Posts: 3

PostPosted: Fri Aug 04, 2006 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
rosmild
n00b
n00b


Joined: 08 Nov 2004
Posts: 14
Location: Bologna, Italy

PostPosted: Fri Aug 04, 2006 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message
gen4f
n00b
n00b


Joined: 04 Aug 2006
Posts: 3

PostPosted: Sun Aug 06, 2006 8:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
gen4f
n00b
n00b


Joined: 04 Aug 2006
Posts: 3

PostPosted: Mon Aug 07, 2006 8:28 pm    Post subject: Reply with quote

Hi,

problem solved, was caused by a corruped initrd.defaults.
emerge genkernel brings a clean version.

Thanks

gen4f
Back to top
View user's profile Send private message
DamFam
n00b
n00b


Joined: 20 Jun 2006
Posts: 18

PostPosted: Wed Oct 11, 2006 2:06 am    Post subject: Reply with quote

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
View user's profile Send private message
DamFam
n00b
n00b


Joined: 20 Jun 2006
Posts: 18

PostPosted: Wed Oct 18, 2006 12:36 am    Post subject: Reply with quote

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
View user's profile Send private message
DamFam
n00b
n00b


Joined: 20 Jun 2006
Posts: 18

PostPosted: Mon Nov 06, 2006 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
DamFam
n00b
n00b


Joined: 20 Jun 2006
Posts: 18

PostPosted: Mon Nov 06, 2006 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
patap
n00b
n00b


Joined: 13 Dec 2006
Posts: 1

PostPosted: Wed Dec 13, 2006 1:08 pm    Post subject: Reply with quote

agapo wrote:
Hi again,

Here is the URL where the iso image is:

ftp://195.55.250.135/pub/livecd-IBM306m-SATA.iso (147 MB)


is this file still available ?

firewall-ng var # wget ftp://195.55.250.135/pub/livecd-IBM306m-SATA.iso
--10:55:28-- ftp://195.55.250.135/pub/livecd-IBM306m-SATA.iso
=> `livecd-IBM306m-SATA.iso'
Connecting to 195.55.250.135:21... connected.
Logging in as anonymous ...
Login incorrect.
Back to top
View user's profile Send private message
pahud
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 103

PostPosted: Mon Jan 29, 2007 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum