Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem finding my SATA-drives
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
GangsterAlgot
n00b
n00b


Joined: 17 Dec 2006
Posts: 6

PostPosted: Sun Dec 17, 2006 1:38 pm    Post subject: Problem finding my SATA-drives Reply with quote

Hi, i have a problem installing gentoo on my pc.

The problem is that Gentoo 2006.1 livecd wont find my sata-drives. There is no sd* in /dev/. I have a IDE-drive where i have a Windows installation, which gentoo finds as hdc. But i want to install gentoo on one of my SATA-drives. I could install gentoo on the IDE but that dont really solve the actuall problem I think. By the way, windows has no trouble at all finding my sata-drives.

Here are some of the specs of my comp:
ASUS K8N4-E DeLuxe motherboard
AMD Athlon 64 3400+
2048 mb RAM
HDD:s
WDC WD2000JB-22GVC0 (IDE with windows)
WDC WD2000JD-00HBB0 (SATA)
SAMSUNG SP2504C (SATA)
ST3320620AS (Seagate) (SATA)

lspci:
Code:

00:00.0 Memory controller: nVidia Corporation CK804 Memory controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev  (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA COntroller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTrensport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM COntroller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GT] (rev a1)
05:0a.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)


I've also started the LiveCD with the command "gentoo irqpoll noapic". I dont actually now what it does but I read in a different thread that it helped. But it didn't change a thing.

Some more things that i noticed is:
dmesg | grep sata:
Code:

sata_sil 0000:05:0a.0: version 0.9
sata_sil probe of 0000:05:0a.0 failed with error -12


I don't have a clue what that means or if it even matters.

Thanks for the help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Dec 17, 2006 2:29 pm    Post subject: Reply with quote

GangsterAlgot,

Welcome to Gentoo,

Code:
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA COntroller (rev f3)
shows that you need the sata_nv kernel module. Is it shown in lsmod ?
If not,
Code:
modprobe sata-nv
should help.

The error
Code:
sata_sil 0000:05:0a.0: version 0.9
sata_sil probe of 0000:05:0a.0 failed with error -12
can be ignored unless you also have a SIL sata controller, thats not showing in lspci but is where your drives are connected.

Most SATA controllers can also provide fakeraid. If the raid mode is turned on, you may not see your drives without extra software.
Check the RAID settings in the BIOS, make sure they are off.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
GangsterAlgot
n00b
n00b


Joined: 17 Dec 2006
Posts: 6

PostPosted: Sun Dec 17, 2006 3:18 pm    Post subject: Reply with quote

sata_nv is loaded in my kernel and i all raid is turned off in BIOS and i still cant find my sata-drives.
Back to top
View user's profile Send private message
dpshak
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 183
Location: Wisconsin

PostPosted: Sun Dec 17, 2006 3:44 pm    Post subject: Reply with quote

The error you show from your dmesg is related to the Silicon Image RAID controller. From what I was able to find out about your MB, you have eight SATA ports, 4 controlled by the Nvidia chipset (sata_nv) and 4 controlled by the Silicon Image controller. Like NeddySeagoon said, your sata drives may be connected to the Silicon Image controller ports instead of the Nvidia ports. Changing the sata connection points on your MB MAY solve your problem
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Dec 17, 2006 3:49 pm    Post subject: Reply with quote

GangsterAlgot,

I missed
Code:
05:0a.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)

That chip is fakeraid capable and needs the sata-sil driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
GangsterAlgot
n00b
n00b


Joined: 17 Dec 2006
Posts: 6

PostPosted: Sun Dec 17, 2006 5:07 pm    Post subject: Reply with quote

if i move the discs to the silicon image ports gentoo still doesn't find them, and the raidcontroller starts acting up, since those ports are only for raids. I belive i have connected the drives to the right slots (nVidia ports). And since gentoo have problems loading the silicon images drivers i dont think having the drives on those ports is a good choice.

Do i need the silicon images ports, cause i can turn them off from BIOS?

My question is why gentoo doesn't find the drives at the nVidia ports (the drives has always been connected to these)? Those drivers look like they are working properly... and are loaded into the kernel.
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Mon Dec 18, 2006 4:33 pm    Post subject: Reply with quote

[Edit: Remind me to think before I type next time... One don't have a kernel installed when trying to INSTALL gentoo... /EDIT]

You should consider loading the modules mod_sd and sg (scsi disk support & scsi generic support) under
Code:
'Device drivers'->'Scsi device support'->


addeman
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Dec 18, 2006 7:37 pm    Post subject: Reply with quote

GangsterAlgot,

Please post the SCSI section form your /usr/src/linux/.config file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
GangsterAlgot
n00b
n00b


Joined: 17 Dec 2006
Posts: 6

PostPosted: Tue Dec 19, 2006 8:33 am    Post subject: Reply with quote

i dont have a /usr/scr/linux/ directory, my /usr/src/ is empty

/Viktor
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Tue Dec 19, 2006 8:10 pm    Post subject: Reply with quote

GangsterAlgot,

In that case you are using the kernel from the installer CD. You will find its config in compressed format at /proc/config.gz
From memory, is supports all your SATA controllers. Its a fairly old kernel now, you may want to consider a kernel update.

You can either use genkernel or roll your own.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
GangsterAlgot
n00b
n00b


Joined: 17 Dec 2006
Posts: 6

PostPosted: Wed Dec 27, 2006 3:16 pm    Post subject: Reply with quote

I fixed it using a 2005.1 gentoo installdisc instead, and everything worked just like it was supposed to.
Back to top
View user's profile Send private message
GangsterAlgot
n00b
n00b


Joined: 17 Dec 2006
Posts: 6

PostPosted: Thu Dec 28, 2006 2:59 pm    Post subject: Reply with quote

After some installing and trying to get some kernels to work I figured out that it is the later kernels that doesn't have support for the nforce4 satadrivers. Every kernel 2.6.16 or later is quite convinced its a bad idea to find my sata-drives

Now i'm running 2.6.12 and it seems to be working fine.

I do wonder what it is in the 2.6.16 and later that convinced them that nforce4-sata is the mother of all evil...

All jokes aside, is there anyone who can figure out what the problem is? I don't belive it is the sata_nv driver because it works just fine in 2.6.12.

/Viktor
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Thu Dec 28, 2006 10:04 pm    Post subject: Reply with quote

GangsterAlgot,

I would be surprised if the nv_sata had been damaged in recent kernels. We would be seeing a lot more posts about it than just yours.
In kernel 2.6.19, the SATA configuration has been moved - it does not migrate well with the usual make oldconfig. You need to go into menuconfig and check and maybe select it again.

Try comparing the SATA settings between a kernel that works and one that doesn't
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Sun Dec 31, 2006 10:41 am    Post subject: Reply with quote

NeddySeagoon,

I can verify that something is wrong. I spent 2 days trying to get GangsterAlgot's computer up and running.

I witnessed it not finding the hdd's nor NIC with a 2006.x install-cd, but it worked just fine with 2005.1.

I also configured a lot of kernels, i tried the following (all 2.6 gentoo-sources) 12-r10,16-r13, 17-r9, 18-r4, 19-r2. The only one that will find a root partion is the 2.6.12-r10 kernel. I can promise that all the necessary things are in kernel, not as modules etc.

I do agree that it's a bit strange that not more people are having troubles with it, but there are those who do:Example1 , Example 2. Although the second thread seems to be resolved, trying what they did actually didn't help :(

It could be a specific Asus K8N4-E Deluxe thing, or something with running a 32-bit kernel.

Addeman
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Dec 31, 2006 1:33 pm    Post subject: Reply with quote

addeman,

If you can find a common feature with other threads, I'll merge them and make a sticky.

Can you try a 64 bit kernel with 32 bit support ?
That would be an interesting experiment
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Tue Jan 02, 2007 10:06 am    Post subject: Reply with quote

Hi,

i'll see what i can do about both things. I'll start searching for threads a soon as get back home to my broadband connection[/code].

How would i go about compiling a 64 bit kernel? Is it something like
Code:
make ARCH=x86_64 menuconfig
make ARCH=x86_64 && make ARCH=x86_64 modules_install
from his 32-bit environment? Maybe it's easier to build a 64-bit kernel on my 64-bit system.

Best regards
addeman
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Tue Jan 02, 2007 1:52 pm    Post subject: Reply with quote

addeman,

The config step works, I'm not sure about the make and you really don't want to install any 64 bit stuff on a 32 bit box, so if it works, make ARCH=x86_64 modules_install is a really bad idea.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Tue Jan 02, 2007 8:00 pm    Post subject: Reply with quote

Thats true, of course... But then one would have to build a monolithic kernel ;) I guess its just easier to do it on my 64-bit machine after all.

When we tried to boot a GangsterAlgot's computer with a livecd we tried 2005.1 Amd64 (64-bit) [had no i386 livecd around at the time :( ] and it worked great up until building a 32-bit kernel, even though i used
Code:
make ARCH=i386 menuconfig
make ARCH=i386 && make ARCH=i386 modules_install
Is that procedure supposed to fail? We were using a 32-bit stage3.

Best regards
addeman
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Tue Jan 02, 2007 10:06 pm    Post subject: Reply with quote

addeman,

Other than the config, I've not ried the rest. However, it occurs to me that setting the ARCH may only be required for the make menuconfig step.
Everything needed for the build is in the .config file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Sat Jan 06, 2007 2:49 pm    Post subject: Reply with quote

Well after some searching the forums for sata_nv and sata related problems here is a selection of posts:

sata_nv problems (same as earlier post), same model of motherboard: https://forums.gentoo.org/viewtopic-t-522268.html
sata_nv problems (nforce4 chipset, irqpoll doesn't help either) https://forums.gentoo.org/viewtopic-t-502963.html
sata_nv problems nforce 570 chipset: https://forums.gentoo.org/viewtopic-t-517037.html
sata-problems (resolved, the suggested fix didn't help): https://forums.gentoo.org/viewtopic-t-465985.html
sata-problems (more general): https://forums.gentoo.org/viewtopic-t-512228.html
sata_nv problems (though trying to use raid): https://forums.gentoo.org/viewtopic-t-522765.html

Oh, and by the way, trying to boot the 64-bit kernel i compiled resulted in
Code:
'VFS: Cannot open root device "sdb3" or unknown-block(2,0)'


Best regards
addeman
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Jan 06, 2007 3:10 pm    Post subject: Reply with quote

addeman,

Well, unknown-block(2,0) is /dev/fd0. You won't have a Gentoo root filesystem there.
I'd be guessing if I speculated how sdb3, that would be (8,19) got turned into (2,0)

See less /usr/src/linux/Documentation/devices.txt if you want to know where to get the numbers.
The format is unknown-block(Major,Minor)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Sat Jan 06, 2007 3:42 pm    Post subject: Reply with quote

Thanks for the info, i've been looking for a documentation of those device-numbers or a while.

Maybe we could try to boot with something like:
Code:

title=Gentoo
kernel /boot/mykernel vga=0x318 video=vesafb:1024x768-32@60

so that grub/the kernel can decide what to do on its own. It works on my laptop, at least.

Best regards
addeman
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jan 06, 2007 5:12 pm    Post subject: Reply with quote

NeddySeagoon wrote:
I'd be guessing if I speculated how sdb3, that would be (8,19) got turned into (2,0)

I have seen this happen before when the kernel is configured for rootfs-on-NFS. If a suitable NFS server cannot be found, then the kernel will try to fallback to the floppy drive.
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