LinuxQuestions.org
Visit Jeremy's Blog.
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 01-12-2005, 11:19 PM   #1
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Rep: Reputation: 15
Problems with Nforce4 and onboard ide controller


I have Mandrake 10 installed on an old 30 gig hard drive I had sitting around. That hard drive, and another 120 gig hard drive are on a pci ide controller. Linux won't recgonize anything thats connected to my onboard ide controllers. (IDE slots on the motherboard). I need to be able yo have access to that controller because my CD Roms are on it. Tried mounting them, etc. I'm a linux noob so maybe I'm doing something wrong. My motherboard is an Asus A8N-SLI.

I also had a similiar problem with this when I was trying to install Mandrake for the first time. The cd's would boot but then when the installer came up, it said it couldn't find a cd rom. I ended up installing it from the iso's on a fat32 partition. Help please.
 
Old 01-12-2005, 11:32 PM   #2
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
Here is the problem . . . if you are quoting that motherboard's model correctly then you must be using SATA and not normal IDE. Try using /dev/sda1 and /dev/sdb1, etc for your drives. Also look at this page:http://www.linuxmafia.com/faq/Hardware/sata.html

Be sure to tell me if that helps.
 
Old 01-13-2005, 09:03 AM   #3
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
No I'm using standard IDE. I don't have any SATA devices.

If it helps any... Its calling the my other 120gig hard drive hda and the 30gig that linux is on hdc. It must look locally on that controller card, but then its not looking at my other controllers which are on the motherboard.

Last edited by TheDude05; 01-13-2005 at 04:02 PM.
 
Old 01-13-2005, 05:56 PM   #4
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Ok... finding out a little more stuff. sda sdb sdc all are my flash memory card drives. No one has any ideas?

EDIT: Maybe this will help but I don't know...

[andrew@localhost sbin]$ lspci
00:00.0 Memory controller: nVidia Corporation: Unknown device 005e (rev a3)
00:01.0 ISA bridge: nVidia Corporation: Unknown device 0050 (rev a3)
00:01.1 SMBus: nVidia Corporation: Unknown device 0052 (rev a2)
00:02.0 USB Controller: nVidia Corporation: Unknown device 005a (rev a2)
00:02.1 USB Controller: nVidia Corporation: Unknown device 005b (rev a3)
00:06.0 IDE interface: nVidia Corporation: Unknown device 0053 (rev a2)
00:07.0 IDE interface: nVidia Corporation: Unknown device 0054 (rev a3)
00:08.0 IDE interface: nVidia Corporation: Unknown device 0055 (rev a3)

00:09.0 PCI bridge: nVidia Corporation: Unknown device 005c (rev a2)
00:0a.0 Bridge: nVidia Corporation: Unknown device 0057 (rev a3)
00:0b.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
00:0c.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
00:0d.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
00:0e.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0140 (rev a2)
05:06.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
05:06.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
05:06.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
05:07.0 Multimedia video controller: Conexant: Unknown device 8800 (rev 05)
05:08.0 Unknown mass storage controller: Promise Technology, Inc. 20269 (rev 02)
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
05:0c.0 Ethernet controller: Galileo Technology Ltd.: Unknown device 4320 (rev 13

I'm no linux genius, but it appears to me that my Nvidia IDE controller is showing up. My Prmoise IDE controller is also showing up at the bottom. I'll bold them. What am I doing wrong?

Last edited by TheDude05; 01-13-2005 at 07:14 PM.
 
Old 01-13-2005, 09:13 PM   #5
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
what version kernel are you using? You have alot of undetected hardware and maybe you are using an older kernel (2.4 and not 2.6)

Try uname -r on the command line.
 
Old 01-13-2005, 10:18 PM   #6
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Its 2.6 something. Hold on let me boot into Linux and i'll post it from there.

[andrew@localhost andrew]$ uname -r
2.6.3-7mdk-i686-up-4GB

Last edited by TheDude05; 01-13-2005 at 10:21 PM.
 
Old 01-13-2005, 10:31 PM   #7
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
I guess I can suggest upgrading your kernel. I looked at a few changelogs (2.6.9 > 2.6.10 and 2.6.8 > 2.6.9) and I notice a few things on nvidia ide controllers . . . try to get it through mandrake and it should install it for you.
 
Old 01-13-2005, 10:42 PM   #8
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
You will find this esp. helpful!! can't believe how nice this was to find --

<ak@suse.de>
[PATCH] PCI: Disable mmconfig on AMD CPUs.

Disable mmconfig on AMD CPUs.

This patch fixes various problems on PCI Express boards, like the
Nforce4. They have a MCFG table in ACPI, but not all devices can be
accessed using MMCONFIG. e.g. the CPU builtin PCI devices in the A64
Northbridge can't. Linux happily uses mmconfig for all PCI devices and
that cause failures and memory corruption.

Right solution apparently is to get more information from MCFG which is
supposed to tell for which busses mmconfig is legal and for which ones
not. But that would be a much more complicated patch and I don't have
a specification of this enhanced table.

This patch just disable MMCONFIG on all AMD CPUs. This is a kludge,
but works around the problem for now.

Patch for both i386 and x86-64

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

So it should work on 2.6.10 but nothing less. That is a bug for you that will hopefully be fixed with the 2.6.10 kernel.

I forgot to mention that as I looked through some 2.6.0 to 2.6.7 changelogs that they should have also fixed all the problems with your lspci saying "unknown" on all your devices.

Last edited by barryman_5000; 01-13-2005 at 10:44 PM.
 
Old 01-13-2005, 10:45 PM   #9
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for all your help. I think i'm just going to download the new 10.1 ISOs and try and re-install it all.I just tried running Mandrake's update control center thing and it said it couldn't get any of the packages in the list. This install is just broken. From the time the bootable disk said it couldn't find a cd rom, to running the iso's off another hard drive and essentially none of the packages installing right, its just been a headache. I'm assuming 10.1 will have a newer kernel but I'll check before I download. I do appreciate all the help you've given me. If I wasn't a poor high school student i'd send a donation.

EDIT: So its just a problem with my outdated kernel then? Sounds good. Atleast its been addressed. Still think I should go ahead with finding a 10.1 iso or should I try something else... i'm kind of a newb at this

Last edited by TheDude05; 01-13-2005 at 10:48 PM.
 
Old 01-13-2005, 11:28 PM   #10
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Well Mandrake 10.1 runs off 2.6.8 kernel with some fixes from 2.6.9rc. Does this mean i'm going to have the same "Can't find cd rom" error again with the install?
 
Old 01-13-2005, 11:45 PM   #11
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
maybe you should make your own kernel . . . it'll be fun :-D

Mandrake hasn't even touched anything beyond a 2.6.9rc3 kernel so I think you are gonna have to download 2.6.10 from kernel.org . . . Have you ever compiled a kernel? If not reply back and I will go over the pain of it all . . . its gonna be fun XD
 
Old 01-14-2005, 03:21 PM   #12
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Well... I really don't have much expirience with Linux at all so no never compiled a new kernel or done anything with my own. My programming skills are kind of low too. I only know some visual basic javascript which won't help much. If its not too big of a problem could you explain the method of going about compiling the kernel. You've already helped me a lot and i'm anxious to learn more, but am I getting in over my head?

Last edited by TheDude05; 01-14-2005 at 03:27 PM.
 
Old 01-14-2005, 09:19 PM   #13
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
Not at all. Compiling a kernel is easy if you know your hardware

http://www.kernel.org/pub/linux/kern...2.6.10.tar.bz2 -- click here to download the kernel.

Save it to /tmp. Open an xterm and type in the following:

Code:
su (to login as root)
cd /tmp
bunzip2 linux-2.6.10.tar.bz2 -c > /usr/src/
cd /usr/src/linux-2.6.10
cp ../linux/.config .config (copies old config)
make xconfig (or make gconfig if that doesn't work)
Now you will be in a nice gui to configure the kernel (its come a long way!). If you want you can go through and chose all the options but instead we copied your old config over so no problem, right?
Now we just need to make sure your stuff is all on there. Anything checked is compiled into the kernel and anything that's a boxed in is going to be compiled outside the kernel as a module.

If you want you can peruse all this and if you find anything that you are ABSOLUTELY sure is incorrect then you can change it otherwise you can exit that configure program(I just wanted you to be aware of how to do it).

Next you are back at the xterm. Type:

Code:
make all (compiles the kernel)
make modules_install (will put the modules in their places)
The next thing depends on your cpu. If you don't run an amd64 then type:

Code:
cp arch/i386/boot/bzImage /boot/CustImage
If you run an amd64 then type:

Code:
cp arch/x86_64/boot/bzImage /boot/CustImage
If you happened to change anything about the config then I suggest you also type this:

Code:
cp System.map /boot/System.map
cp System.map /boot/map
Now everything is done except for one thing! If you use lilo then you need to edit your /etc/lilo.conf as root and add this at the end:

image=/boot/CustImage
label=TestKernel
read-only
root=/dev/hdc5 (change this to your default drive).

then just save that and run lilo

Code:
lilo
^^ lol

If you use grub edit your /boot/grub/grub.conf (or menu.lst . . . whichever exists) as root to have this at the end:

title TestKernel
root (hd1,0) (make this the value of your root. this is the second harddrive first partition)
kernel /boot/CustImage root=/dev/hdb1 (make this your root system).
#initrd /initrd.img

Thats all there is to it. Restart and choose TestKernel. If you have any problems then post it here. Grub doesn't need you to run any commands so yay for that
 
Old 01-15-2005, 05:08 PM   #14
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
The syntax to unzip the file does work correctly... it says /usr/src/ is a directory and won't extract

EDIT: Didn't use that exact syntax but the archive into the correct spot using number of different methods. Going to try rest of the post now.


Problem 1:

Code:
[root@localhost linux-2.6.10]# cp /usr/src/linux/.config .config
cp: cannot stat `/usr/src/linux/.config': No such file or directory

EDIT: I fixed this error. Went through mandrakes install rpm program and installed the source code for the current kernel which also gave me the linked linux folder in /src. I'm still getting the error below




So then I think, well i'll just try and do it all manually and see how much trouble it is..so I go on to next command which also gives me an error

Code:
[root@localhost linux-2.6.10]# make xconfig
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2
[root@localhost linux-2.6.10]#

This doesn't work either

Code:
[root@localhost linux-2.6.10]# make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** [scripts/kconfig/.tmp_gtkcheck] Error 1
make: *** [gconfig] Error 2
[root@localhost linux-2.6.10]#
"Make config" does however work but I didn't mess with it cause I didn't know what I was getting into.

Last edited by TheDude05; 01-15-2005 at 06:12 PM.
 
Old 01-18-2005, 08:27 PM   #15
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
try make menuconfig -- its a better interface. :-D
 
  


Reply



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
Problems installing an IDE/ATA controller Y0jiMb0 Linux - Hardware 72 04-27-2009 10:26 PM
IDE Controller Card Problems in Mandrake zaknafein Mandriva 1 10-27-2004 07:19 AM
Problems With Onboard VIA8235 IDE-Controller scahrossar Linux - Hardware 0 12-26-2003 03:58 PM
grub, onboard ide and ide add-in cards sambartle Linux - General 15 11-07-2003 10:44 AM
Problems with IDE controller (maybe?) hermes917 Linux - Newbie 3 07-08-2003 07:20 AM

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

All times are GMT -5. The time now is 11:00 PM.

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