LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-08-2004, 04:26 PM   #16
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15

MRK, so how din you finally manage to boot the 2.6.8.1 kernel ? I compiled it with the sata.i config file from slackware-current, but still get the error when booting :
--------------
VFS: Cannot open root device "sda3"or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic VFS: Unable to mount root fs on unknown-block(0,0)
--------------
Luckily i have vmlinuz.old boot option in lilo.conf, so I keep trying to get it right....
 
Old 10-08-2004, 10:04 PM   #17
LNXman
Member
 
Registered: Jul 2002
Location: California (USA)
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
MRK,

Try this link. It explains how to get your kernel configured to boot up with ICH5R/ICH6R sata(raid). I explains how to set it up for kernel 2.4.22<. Even though it only tackles 2.4.22<, the concept should be the same for setting up a 2.6.X kernel.

Start reading from section 4 down, skip the first 3 since they talk about dual booting with windows (unless you want to do that).

Hope the site helps.

GL

//edit: added content

Last edited by LNXman; 10-08-2004 at 10:05 PM.
 
Old 10-09-2004, 01:26 PM   #18
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
Tried to compile the kernel with ALL the modules in it, and it still pops up the same error. I get the feeling the only thing left to do is to wait until 2.6.9 comes out, maybe that will fix it...
 
Old 10-10-2004, 09:44 PM   #19
MRK
Member
 
Registered: Jan 2002
Posts: 60

Original Poster
Rep: Reputation: 15
Could someone with a successful compile w/ an Intel mobo and Sata drive please post thier config file for 2.6.8.1? Or any 2.6 kernel? Thanks!

-Matt
 
Old 10-11-2004, 01:53 PM   #20
bramadams
LQ Newbie
 
Registered: Jul 2004
Location: Waregem, Belgium
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
Hi,

I put my bootdisk as well as the .config for the full kernel, online at http://allserv.ugent.be/~badams/linux/index.html.
To obtain the bootdisk-.config: leave USB- and parallel-support out, besides fat- and ext2/3-support (I used ReiserFS and NTFS). Some other minor things should also be left out to obtain a bzImage of less than 1417kB. Then just use the makedisk-script (kernels-directory).

On the other hand, one could simply put the compiled kernel on the first Slackware CD-ROM ...
 
Old 10-11-2004, 10:38 PM   #21
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
Since I compiled it any way I could but to no avail, could someone with an ABIT I875P mobo and a sata drive post their .config file for a 2.6.x kernel? Thanks a lot !
 
Old 10-12-2004, 08:29 AM   #22
0xff
LQ Newbie
 
Registered: Oct 2004
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Hi,

I have similar problems with kernel 2.6.8.1 on Slackware 10. I've been searching the web and this and other forums and recomping the kernel for a two weeks or so without any success.
Here are the details:
First of all everything works just fine with the standart bare.i 2.4.26 kernel from slackware. When I boot using it I get the following messages:
Code:
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5-SATA: IDE controller at PCI slot 00:1f.2
PCI: Found IRQ 11 for device 00:1f.2
PCI: Sharing IRQ 11 with 00:1d.2
PCI: Sharing IRQ 11 with 02:02.0
ICH5-SATA: chipset revision 2
ICH5-SATA: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST3120026AS, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: QUANTUM FIREBALL EX6.4A, ATA DISK drive
hdd: TEAC CD-W552E, ATAPI CD/DVD-ROM drive
blk: queue c03b37b4, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, UDMA(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 12594960 sectors (6449 MB) w/418KiB Cache, CHS=13328/15/63, UDMA(33)
hdd: attached ide-cdrom driver.
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
 hdc: hdc1
So I have an ABIT IS7 with chipset Intel 82865PE (MCH) + 82801 EB (ICH5R) with Serial ATA with RAID function (0) via ICH5R South Bridge. The hard disk is Seagate.

I've tried whatever came into my mind in order to switch to 2.6.8.1:
I tried without SATA i.e. I said no to SCSI, SATA etc and yes to the IDE drivers. I also tried with CONFIG_SCSI_SATA and CONFIG_SCSI_ATA_PIIX. And finally I even compiled both in. I've been passing different root= and boot time like hda2, sda2, sdXY etc and I only get a kernel panic.
I don't care about the RAID function (which is disabled by BIOS anyway) I only want to switch to 2.6 because GNOME 2.8 needs it. I don't even care if its going to work through the IDE or the SCSI subsystem. I've really tried to many different setups that I cannot describe them all here.

So here are some questions:
(1) Do I need to patch the 2.6.8.1 kernel to get it to work
(2) If my 2.4.26 kernel sees my root dir as /dev/hda2 it is supposed to become /dev/sda2 with CONFIG_SCSI_ATA_PIIX, right?
(3) Why the hell everything works fine with 2.4 through the IDE subsystem and with 2.6 it doesn't

So if anyone could give me a clue I'll be extremely happy and thankful.

Let the source be with you
 
Old 10-13-2004, 01:24 AM   #23
MRK
Member
 
Registered: Jan 2002
Posts: 60

Original Poster
Rep: Reputation: 15
Well, i got tiered of things not working so i did it the hard way. I took bonecrushers sata.i boot disk config file and compiled the 2.6.8.1 kernel with it. It worked fine. It however compiled about 10000000 gillion things into the kernel. I then slowly and painstakeingly removed one thing at a time untill i had a good working kernel. I really dont know what made this work. That is what is so mysterious. I may redo a config file like i was doing before and then use a diff utility on the files to see what the differnce is. I'll post the config file up as soon as i get home.

Hahah. I was so desprate that i downloaded the freebsd disks and was just about to put bsd on the system when i got decided to do this.

-Matt
 
Old 10-13-2004, 01:50 AM   #24
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
Hold on, which config file is that, is it this one : slack_v10-d1-sata.iso\kernels\sata.i\config ?
 
Old 10-13-2004, 02:40 AM   #25
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Are you running with some PI 100MHz, that it's going to make such a difference -knocking off a few KB from your kernel? Why not USE what works?
If the kernel is so STUPID, why bother with it?
If you want to study Pat V's minimal kernel, have a look at the config file for the lowmem kernel. Then comapre that to the bare.i config and look at the relevant sections and make the changes in your config starting from lowmem config (+-300k kernel size). You can exclude all the modules you don't need.
 
Old 10-13-2004, 04:23 AM   #26
0xff
LQ Newbie
 
Registered: Oct 2004
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
gnashley

First of all I also don't like calling the kernel stupid but that's the post's title. The whole thing isn't about the few KBs of kernel features that will never be used on one's machine. On my old PC with kernels 2.4, knowing my hardware I compiled and used only monolitic kernels i.e. no modules. Everything I needed was compiled in. This has advantages, you know, more or less. I don't compile linux kernels since last week. That's why being unable to switch to 2.6 with my ICH5R SATA drivers me crazy. Probably that's the way MDK felt when naming the thread.

Enjoy
 
Old 10-13-2004, 01:28 PM   #27
MRK
Member
 
Registered: Jan 2002
Posts: 60

Original Poster
Rep: Reputation: 15
Haha. I'm not calling the kernel stupid, as it is the heart of linux. And i love linux. But i was simply frustrated at how hard it was becoming to get things to work. The only other time i remember having that many problems getting linux to work was when i installed linux the first time 10 years ago. (that was an experience) Anyways, i'm just glad i got it to work. I want a small, fast, and efficient kernel. I dont want 20 things that i dont need compiled in. Thats a waste of space. (Even though i have 200 gigs of space) Anyways, i'm compiling my pureftpd on the server now. As soon as i get it up and working, i'll upload the .config file. (as i have no other way to get that file from there to here.)

-Matt
 
Old 10-13-2004, 01:33 PM   #28
MRK
Member
 
Registered: Jan 2002
Posts: 60

Original Poster
Rep: Reputation: 15
For everyone's viewign pleasure i present --- the kernel that took me 2 weeks to compile.

http://www.ocssaints.org/mattrk/conf...rking-compile9

Its got little to nothing in it, so.... You will need to go through and change some of the specific options. My setup is the Intel D685GBF Motherboard with a 3.2ghz Pentium 4. I also have my serial ata Western Digital 120gig running on enhanced mode on serial port 0. (not legacy mode) It shows up as /dev/sda.

-Matt

Last edited by MRK; 10-13-2004 at 01:35 PM.
 
Old 10-14-2004, 12:26 AM   #29
0xff
LQ Newbie
 
Registered: Oct 2004
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
MRK

I felt exactly the same way. I've been using Linux since Red Hat's 6.2. Is it only 6 - 7 years now?... Anyway with the standart bare.i 2.4.26 (not the sata.i ot whatever) everything worked perfect that's why these problems with 2.6 made me feel like a complete idiot So I absolutely understand your emotions (and the recompile again hell we got into) when naming the thread.
Thanks for the .config file. I looked at it and I think I've tryed similar setups. Did you happen to understand where exactly your mistake was?
 
Old 10-14-2004, 02:52 PM   #30
MRK
Member
 
Registered: Jan 2002
Posts: 60

Original Poster
Rep: Reputation: 15
No, thats why its so frustrating. When i get some time, i'm going to try to compare the two config files. One from a kernel that didnt work and the other file being this one that did.

-Matt
 
  


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
recompiling kernel for SATA (Again?!) sbhodge Linux - Hardware 6 03-16-2005 03:57 AM
RH9 and SATA - Kernel 2.4.27 - how to get SATA to work? rolf_mueller Linux - Hardware 5 10-30-2004 08:30 PM
Help Recompiling kernel fsck3r Debian 3 09-10-2004 02:06 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Recompiling the Kernel? Rv5 Red Hat 5 09-01-2003 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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