LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-02-2006, 03:56 PM   #1
insane_machine
LQ Newbie
 
Registered: Oct 2005
Location: Wisconsin
Distribution: SuSe 10.1
Posts: 5

Rep: Reputation: 0
Kernel Configuration Trouble


Hi, I'm trying to run a custom kernel, just using the default kernel in suse. I did get it to boot up before but that was on my IDE drive, and my sata drives were not accessible anyways. But know after reinstalling linux on sata drive, I have again tried running a custom kernel. This time it won't even boot. I get a kernel panic that VFS can't find the root filesystem. When I do a make install of the Kernel after compiling. I get some errors about not being able to resolve the following module dependencies.
Code:
Cannot determine dependencies of module amd74xx. Is modules.dep up to date?
Cannot determine dependencies of module sata_nv. Is modules.dep up to date?
Cannot determine dependencies of module processor. Is modules.dep up to date?
Cannot determine dependencies of module thermal. Is modules.dep up to date?
Cannot determine dependencies of module fan. Is modules.dep up to date?
Cannot determine dependencies of module jbd. Is modules.dep up to date?
Cannot determine dependencies of module ext3. Is modules.dep up to date?
amd74xx sata_nv processor thermal fan jbd ext3 (xennet xenblk)

I know that I compiled support for Ext3 directly into the kernel and for sata too(libata under the SCSI option in the make xconfig). Here is the output of

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:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
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] HyperTra                                                           nsport 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 Con                                                           troller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscella                                                           neous Control
01:07.0 Multimedia audio controller: Creative Labs SB Audigy LS
01:07.1 Input device controller: Creative Labs SB Audigy LS MIDI/Game port
01:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ether                                                           net Controller (rev 13)
05:00.0 VGA compatible controller: nVidia Corporation GeForce 7800 GT (rev a1)
hwinfo --storage
Code:
17: PCI 06.0: 0101 IDE interface
  [Created at pci.300]
  UDI: /org/freedesktop/Hal/devices/pci_10de_53
  Unique ID: H0_h.eFN_oIMMqJ6
  SysFS ID: /devices/pci0000:00/0000:00:06.0
  SysFS BusID: 0000:00:06.0
  Hardware Class: storage
  Model: "nVidia CK804 IDE"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0053 "CK804 IDE"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0xcb84
  Revision: 0xa2
  Driver: "AMD_IDE"
  I/O Ports: 0xe800-0xe80f (rw)
  I/O Ports: 0x1f0-0x1f7 (rw)
  I/O Port: 0x3f6 (rw)
  I/O Ports: 0x170-0x177 (rw)
  I/O Port: 0x376 (rw)
  IRQ: 14 (1172 events)
  IRQ: 15 (18447 events)
  Module Alias: "pci:v000010DEd00000053sv000010DEsd0000CB84bc01sc01i8a"
  Driver Info #0:
    Driver Status: amd74xx is active
    Driver Activation Cmd: "modprobe amd74xx"
  Driver Info #1:
    Driver Status: sata_nv is active
    Driver Activation Cmd: "modprobe sata_nv"
  Driver Info #2:
    Driver Status: generic is not active
    Driver Activation Cmd: "modprobe generic"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

18: PCI 07.0: 0101 IDE interface
  [Created at pci.300]
  UDI: /org/freedesktop/Hal/devices/pci_10de_54
  Unique ID: M71A.bYtzXQr2l97
  SysFS ID: /devices/pci0000:00/0000:00:07.0
  SysFS BusID: 0000:00:07.0
  Hardware Class: storage
  Model: "nVidia CK804 Serial ATA Controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0054 "CK804 Serial ATA Controller"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0xcb84
  Revision: 0xa3
  Driver: "sata_nv"
  I/O Ports: 0x9f0-0x9f7 (rw)
  I/O Ports: 0xbf0-0xbf3 (rw)
  I/O Ports: 0x970-0x977 (rw)
  I/O Ports: 0xb70-0xb73 (rw)
  I/O Ports: 0xd400-0xd40f (rw)
  Memory Range: 0xfe02c000-0xfe02cfff (rw,non-prefetchable)
  IRQ: 217 (251472 events)
  Module Alias: "pci:v000010DEd00000054sv000010DEsd0000CB84bc01sc01i85"
  Driver Info #0:
    Driver Status: sata_nv is active
    Driver Activation Cmd: "modprobe sata_nv"
  Driver Info #1:
    Driver Status: generic is not active
    Driver Activation Cmd: "modprobe generic"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

19: PCI 08.0: 0101 IDE interface
  [Created at pci.300]
  UDI: /org/freedesktop/Hal/devices/pci_10de_55
  Unique ID: RE4e.6zpj0+ylGY7
  SysFS ID: /devices/pci0000:00/0000:00:08.0
  SysFS BusID: 0000:00:08.0
  Hardware Class: storage
  Model: "nVidia CK804 Serial ATA Controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0055 "CK804 Serial ATA Controller"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0xcb84
  Revision: 0xa3
  Driver: "sata_nv"
  I/O Ports: 0x9e0-0x9e7 (rw)
  I/O Ports: 0xbe0-0xbe3 (rw)
  I/O Ports: 0x960-0x967 (rw)
  I/O Ports: 0xb60-0xb63 (rw)
  I/O Ports: 0xc000-0xc00f (rw)
  Memory Range: 0xfe02b000-0xfe02bfff (rw,non-prefetchable)
  IRQ: 225 (216 events)
  Module Alias: "pci:v000010DEd00000055sv000010DEsd0000CB84bc01sc01i85"
  Driver Info #0:
    Driver Status: sata_nv is active
    Driver Activation Cmd: "modprobe sata_nv"
  Driver Info #1:
    Driver Status: generic is not active
    Driver Activation Cmd: "modprobe generic"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
If anymore info is needed feel free to ask. As of this moment I am completely stumped.

Last edited by insane_machine; 07-02-2006 at 06:25 PM.
 
Old 07-02-2006, 09:17 PM   #2
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
search for a working config file and use it to compile the kernel..then slowly start stripping off the kernel for unneccessary modules and compile it again...


that is the way i got my kernel working
 
Old 07-02-2006, 10:15 PM   #3
insane_machine
LQ Newbie
 
Registered: Oct 2005
Location: Wisconsin
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Used the default config file and after being amazed at how many modules are included, I installed it, and amazingly it worked. Thank you very much for your help. Now I just need to figure out what I need and what I don't.
 
Old 07-03-2006, 02:57 AM   #4
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
happy to know that it worked
 
Old 07-03-2006, 07:29 PM   #5
insane_machine
LQ Newbie
 
Registered: Oct 2005
Location: Wisconsin
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
I'm stuck again. I narrowed it down to just the sata_nv module having "dependency problems". I say that in quotes because I have no idea why it's telling me that but I'm almost sure that is not the problem. For the other modules, if I compiled them into the kernel it would give problems, like not finding the module. But if I left it as a module, it would work and be loaded during boot. Right now it's no longer giving me kernel panic, just dropping me to a /bin/sh shell.

So my question is: How would I go about finding this sata_nv module in the kernel config. As of right now I am compiling the sata stuff under Drivers/SCSI/Low level SCSI drivers as a module. So i'm lost. I'm trying to get this to work on a DFI nF4 Ultra-D with an Opteron 148 and 3Sata drives
 
Old 07-03-2006, 10:50 PM   #6
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
Quote:
I know that I compiled support for Ext3 directly into the kernel and for sata too(libata under the SCSI option in the make xconfig). Here is the output of
suse requires to build these as modules

there is no point of using default config for new kernel. You are not going to learn anything except:
make bzImage && make modules && make modules_install && make install

I suggest to analise default config to leaern what is compiled into kernel and what as module, but try to kompile real custom kernel.
 
Old 07-04-2006, 09:55 AM   #7
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
at the time of making the new kernel just pipe the command to a log file...so that we can narrow down to a solution
 
Old 07-04-2006, 10:01 AM   #8
insane_machine
LQ Newbie
 
Registered: Oct 2005
Location: Wisconsin
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
I think you mean the make install command. As that is where it was giving me errors.

EDIT:

Well here is a working make install. I didn't touch the drivers section at all. Now i gota take it slow and figure where I am screwing things up
Code:
sh /usr/src/linux-2.6.16.13-4/arch/i386/boot/install.sh 2.6.16-Tiger-4-default arch/i386/boot/bzImage System.map "/boot"
Root device:	/dev/sdb6 (mounted on / as ext3)
Module list:	amd74xx sata_nv processor thermal fan jbd ext3 (xennet xenblk)

Kernel image:	/boot/vmlinuz-2.6.16-Tiger-4-default
Initrd image:	/boot/initrd-2.6.16-Tiger-4-default
Shared libs:	lib/ld-2.4.so lib/libacl.so.1.1.0 lib/libattr.so.1.1.0 lib/libblkid.so.1.0 lib/libc-2.4.so lib/libcom_err.so.2.1 lib/libdl-2.4.so lib/libext2fs.so.2.4 lib/libhistory.so.5.1 lib/libncurses.so.5.5 lib/libpthread-2.4.so lib/libreadline.so.5.1 lib/librt-2.4.so lib/libuuid.so.1.2 



Driver modules:	ide-core ide-disk scsi_mod sd_mod amd74xx libata sata_nv processor thermal fan 
Filesystem modules:	jbd ext3 
Including:	initramfs fsck.ext3
Bootsplash:	SuSE (1280x1024)

Last edited by insane_machine; 07-04-2006 at 01:51 PM.
 
Old 07-04-2006, 08:08 PM   #9
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
post your config and list of used hardware. That is all
 
Old 07-05-2006, 02:20 AM   #10
insane_machine
LQ Newbie
 
Registered: Oct 2005
Location: Wisconsin
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Well I finally got it to work. Just took it slowly and saw what broke it and what didn't. My hardware goes as follows:
CPU: AMD Opteron 148
MBM: DFI LanParty Nf4 Ultra-D
HDD: 3 Sata, 1 IDE
VGA: Evga 7800GT
RAM: 2GB of Vitesse RAM
Sound: Creative Soundblaster LS 24bit

And the link to my config is here, in case anyone else finds it useful: http://lanclan.us/config
I think that I have compiled everything I don't need out of it, but who knows. Time will see.

Now onto the joys getting the Nvidia driver working and installing Ndiswrapper for my crappy Netgear WG111 USB adapter thingie.

Last edited by insane_machine; 07-05-2006 at 12:20 PM.
 
  


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
Trouble with network configuration MANBREE Linux - Networking 9 03-28-2006 07:53 AM
GRUB bash-like interface configuration trouble vishwanath_79 Linux - Laptop and Netbook 5 03-08-2005 02:00 AM
GRUB bash-like interface configuration trouble vishwanath_79 Linux - Software 1 03-08-2005 12:40 AM
ALSA Configuration Trouble gregwill Linux - Hardware 1 12-12-2004 12:30 PM
SUSE 9.1 Printer Configuration trouble Malacandra Linux - Hardware 7 07-31-2004 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:31 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