LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-17-2009, 02:41 PM   #16
toneman77
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0

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
 
Old 04-17-2009, 03:14 PM   #17
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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.
 
Old 04-24-2009, 08:51 PM   #18
toneman77
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 05-14-2009, 09:27 AM   #19
toneman77
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
*bump*

anyone with an idea or a push in the right direction?
 
Old 05-14-2009, 09:50 AM   #20
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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-*
 
Old 05-14-2009, 10:06 AM   #21
toneman77
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
I'm sorry, thanks for the hint

In the 2.6.28 kernel I get:
Code:
CONFIG_SATA_AHCI=y
In the 2.6.22 kernel (at least debian lenny, can't check the ubuntu one right now) I get:
Code:
CONFIG_SATA_AHCI=m
 
Old 05-14-2009, 10:37 AM   #22
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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.
 
Old 05-16-2009, 03:42 AM   #23
toneman77
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 05-16-2009, 04:33 AM   #24
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What if you compile a 2.6.22 and use that, does it work ?
 
Old 05-16-2009, 04:38 AM   #25
toneman77
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 05-16-2009, 04:56 AM   #26
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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.
 
Old 10-17-2009, 02:45 AM   #27
rp17
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: Disabled
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!
 
  


Reply

Tags
ssd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partiton sizes on a 128 GB SSD frostyk Linux - Newbie 1 03-18-2009 04:25 PM
Slackware 12.2 on PATA SSD - Cant use as SATA? Hangdog42 Slackware - Installation 11 02-02-2009 02:42 PM
Filesystem for a netbook with a SSD suicideducky Linux - General 4 12-16-2008 03:03 AM
Non-Magnetic Storage : CF, DOM , SSD binooetomo Linux - Hardware 3 09-15-2008 11:22 PM
ssd-0.4.1-lfs.tar.gz rverlander Linux From Scratch 1 11-03-2002 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration