Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
isci [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
iradu
n00b
n00b


Joined: 19 May 2014
Posts: 6

PostPosted: Mon May 19, 2014 5:44 pm    Post subject: isci [SOLVED] Reply with quote

Hello,

I'm trying to install a gentoo on a fresh server. I use the install-amd64-minimal-20140508 for boot and after the boot process I can see all my HDDs but after the installation process the new kernel is not able to see my HDDs and stops during the boot process.
I'm very sure that the isci driver should be used because if I removed on livecd all HDDs will be removed also.

So I've tried with Intel C600 Series Chipset SAS Controller as module but also in kernel. Every time it broke during the booting processe. I'm using genkernel to compile the kernel and initrd. When I put as module I cannot find it in the initrd.

If you need more logs please tell me.

Any help are welcome.


Last edited by iradu on Tue May 20, 2014 11:33 am; edited 2 times in total
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 768
Location: Queensland

PostPosted: Mon May 19, 2014 10:22 pm    Post subject: first steps Reply with quote

During installation use lspci -v to see for sure what drivers are driving your disk hardware, then make sure that those drivers are built-in to the kernel you're building, or in your initrd if you prefer it that way.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
iradu
n00b
n00b


Joined: 19 May 2014
Posts: 6

PostPosted: Tue May 20, 2014 6:28 am    Post subject: Reply with quote

08:00.0 Serial Attached SCSI controller: Intel Corporation C602 chipset 4-Port SATA Storage Control Unit (rev 06)
Subsystem: Intel Corporation Device 3583
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 38007fc00000 (64-bit, prefetchable) [size=16K]
Memory at 38007f800000 (64-bit, prefetchable) [size=4M]
I/O ports at 1000 [size=256]
Capabilities: [98] Power Management version 3
Capabilities: [c4] Express Endpoint, MSI 00
Capabilities: [a0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [138] Alternative Routing-ID Interpretation (ARI)
Capabilities: [180] Transaction Processing Hints
Capabilities: [140] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: isci
Kernel modules: isci


livecd ~ # ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 May 19 17:26 /dev/sda
brw-rw---- 1 root disk 8, 16 May 19 17:26 /dev/sdb
brw-rw---- 1 root disk 8, 17 May 19 17:26 /dev/sdb1
brw-rw---- 1 root disk 8, 18 May 19 17:26 /dev/sdb2
brw-rw---- 1 root disk 8, 19 May 19 17:26 /dev/sdb3
brw-rw---- 1 root disk 8, 32 May 19 17:26 /dev/sdc
brw-rw---- 1 root disk 8, 33 May 19 17:26 /dev/sdc1
brw-rw---- 1 root disk 8, 48 May 19 17:26 /dev/sdd
brw-rw---- 1 root disk 8, 49 May 19 17:26 /dev/sdd1
brw-rw---- 1 root disk 8, 64 May 19 17:26 /dev/sde
livecd ~ # rmmod isci
livecd ~ # ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 May 19 17:26 /dev/sda
livecd ~ # modprobe isci
livecd ~ # ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 May 19 17:26 /dev/sda
brw-rw---- 1 root disk 8, 16 May 20 06:21 /dev/sdb
brw-rw---- 1 root disk 8, 17 May 20 06:21 /dev/sdb1
brw-rw---- 1 root disk 8, 18 May 20 06:21 /dev/sdb2
brw-rw---- 1 root disk 8, 19 May 20 06:21 /dev/sdb3
brw-rw---- 1 root disk 8, 32 May 20 06:21 /dev/sdc
brw-rw---- 1 root disk 8, 33 May 20 06:21 /dev/sdc1
brw-rw---- 1 root disk 8, 48 May 20 06:21 /dev/sdd
brw-rw---- 1 root disk 8, 49 May 20 06:21 /dev/sdd1
brw-rw---- 1 root disk 8, 64 May 20 06:21 /dev/sde



I tried both, with that driver built-in in to the kernel and also in initrd but no luck. Regarding the initrd like I said I use genkernel but isci is not included in the initrd. Any idea how to put that driver in intird file?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue May 20, 2014 6:54 am    Post subject: Reply with quote

To see disks kernel must see the controller, so having controller build inside kernel will allow kernel to "see" that controller.
If you build it as module, kernel will see that controller once the driver module is loaded : it's something that cause no problem if your disks can be seen after boot, but something that will cause problem if the booting disk is attach to that controller as now the kernel cannot see it when booting.
Using initrd with the module in it, will preload that module ; this will also works then.
But without initrd, you must buildin the driver in order to have kernel use it.

So build it inside kernel, and then having an initrd or not, in all cases the driver will be use.

iradu wrote:
I tried both, with that driver built-in in to the kernel and also in initrd but no luck.

That's your problem, there's a logic to boot and errors can gave you clue on what is going on, you need to apply it or keep going with your luck ; well, seems so far your luck is bad, better just get back to logic.
Because even if you build-in the driver or add it as module inside your initrd, this will remove one problem to boot, but still you can fail to boot for other reasons. We (gentoo users, but certainly not me, that genkernel is mystery for me) could help you with other reasons ; but first, remove the controller problem reason and gives the error you get once this is done.
Back to top
View user's profile Send private message
iradu
n00b
n00b


Joined: 19 May 2014
Posts: 6

PostPosted: Tue May 20, 2014 7:38 am    Post subject: Reply with quote

Hello,

Ok. Just make another try: manual configuration with buil-in isci no initrd and the error:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue May 20, 2014 8:39 am    Post subject: Reply with quote

iradu wrote:
Hello,

Ok. Just make another try: manual configuration with buil-in isci no initrd and the error:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Don't you have more than just that?
Code:
here are the available partitions:

Kernel should confirm it can see your hdds
Back to top
View user's profile Send private message
iradu
n00b
n00b


Joined: 19 May 2014
Posts: 6

PostPosted: Tue May 20, 2014 8:44 am    Post subject: Reply with quote

Well I've made a movie because I wasn't able to read so fast. Looks like no HDD was detected even isci driver was loaded.
Is very strage. I generated initrd with dracut and include the driver isci. after the boot process I got dracut prompt but I can't see my HDDs not even after I loaded the isci drivers.
The only way to see the HDDs is with initrd generated by dracut BUT only with config from /proc/config.z. So is clear that isci requires additional drivers to be loaded first. Any idea?
Back to top
View user's profile Send private message
iradu
n00b
n00b


Joined: 19 May 2014
Posts: 6

PostPosted: Tue May 20, 2014 9:03 am    Post subject: Reply with quote

Well I solved.
Starting from the point that isci needs something else, I've checked built-in some modules that I thought is needed by isci and works.

Thank you very much for your support and your time!
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 768
Location: Queensland

PostPosted: Tue May 20, 2014 11:21 am    Post subject: Job done Reply with quote

Good, glad we could help. Please add [SOLVED] to your subject line for the benefit of anyone searching for isci.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
iradu
n00b
n00b


Joined: 19 May 2014
Posts: 6

PostPosted: Tue May 20, 2014 11:35 am    Post subject: Reply with quote

I don't remember which modules I've selected but if it is needed just PM me and I'll send the .config file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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