Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-17-2009, 02:41 PM
|
#16
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
|
ok. I found some nice scripts here: http://www.kroah.com/lkn/ (Chapter 7) a way to find which driver is used for a device.
So I started the live CD that recognizes the disk and got:
Code:
looking at sysfs device: /sys/block/sda
follow 'device' link to parent: /sys/devices/pci0000:00/0000:00:0b.0/host0/target0:0:0/0:0:0:0
found driver: sd
found driver: ahci from module: ahci
So I thought: boot up the newer live CD and modprobe these two modules...
Code:
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:38:53 UTC 2009 i686 GNU/Linux
ubuntu@ubuntu:~$ sudo modprobe sd
FATAL: Module sd not found.
ubuntu@ubuntu:~$ sudo modprobe ahci
FATAL: Module ahci not found.
Is there a way to get these modules load somehow? Or did I understand sth wrong here? (drivers/modules)
Any ideas welcomes
|
|
|
|
04-17-2009, 03:14 PM
|
#17
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,595
|
Maybe they are built-in and not as modules. Check the kernel config of the Ubuntu kernel. If you're running Ubuntu you can also do:
Code:
bash-3.1$ zcat /proc/config.gz | grep AHCI
CONFIG_SATA_AHCI=y
Here ahci is built-in, so you can't modprobe it. If it says 'n' then it isn't built at all. In which case you need another kernel, either compile one yourself or look for one.
|
|
|
|
04-24-2009, 08:51 PM
|
#18
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
|
what I found out till today:
Vendor ID for the disk/controller is 0x10de
Device ID is 0x0ab8
Funny thing is that this device id is known in 2.6.28 in the file ahci.c but not in 2.6.22
2.6.22 kernels recognize the disk (ubuntu 7.10 gutsy, debian lenny), 2.6.28 dont.
I dont know if that has sth to do with my problem but it's driving me nuts.
Any further ideas?
|
|
|
|
05-14-2009, 09:27 AM
|
#19
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
|
*bump*
anyone with an idea or a push in the right direction?
|
|
|
|
05-14-2009, 09:50 AM
|
#20
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
Quote:
|
anyone with an idea or a push in the right direction?
|
You haven't answered H_TeXMeX_H's question, except that for the 'buntus that file is /boot/grub/config-*
|
|
|
|
05-14-2009, 10:06 AM
|
#21
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
|
I'm sorry, thanks for the hint
In the 2.6.28 kernel I get:
In the 2.6.22 kernel (at least debian lenny, can't check the ubuntu one right now) I get:
|
|
|
|
05-14-2009, 10:37 AM
|
#22
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,595
|
In that case you could try compiling ahci and sd as modules, not sure if that would help tho. It may help if you remove other potentially conflicting drivers.
|
|
|
|
05-16-2009, 03:42 AM
|
#23
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
|
Hello
I built a 2.6.28-9 and a 2.6.29-3 kernel with ahci and sd as modules. I got the same error, the disk wasn't recognized 
|
|
|
|
05-16-2009, 04:33 AM
|
#24
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,595
|
What if you compile a 2.6.22 and use that, does it work ?
|
|
|
|
05-16-2009, 04:38 AM
|
#25
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
|
the 2.6.22 kernels i tried have that as a module. these are the only ones (i didnt try older ones) that recognize the disk.
Or do u mean i should try compiling them in a 2.6.22 kernel not as a module but directly?
|
|
|
|
05-16-2009, 04:56 AM
|
#26
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,595
|
I'm saying if it works with these kernel versions, compile your own kernel of this version in distros that normally have later/other versions. I can't think of anything else.
|
|
|
|
10-17-2009, 02:45 AM
|
#27
|
|
LQ Newbie
Registered: Oct 2009
Location: Germany
Distribution: Debian Etch
Posts: 1
Rep:
|
Hi everybody,
has there been a solution for the problem toneman77 has described?
I am facing exactly the same problem. All the suggestions I found so far did not help at all.
My hardware:
HAMA SATA 16GB SSD
ASRock ALiveNF7G-HDready (nForce 630A MCP Chipset)
Any help would be appreciated!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:48 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|