LinuxQuestions.org
Review your favorite Linux distribution.
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 02-04-2007, 09:19 PM   #16
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301

Thanks, I've been to that site before, but forgot about it. It must have been on my other computer.
 
Old 02-05-2007, 09:38 AM   #17
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
[quote]Not sure about compact, but I feel the 'idebus=xxx" might be a tad unsafe. Especially without detailed info on my system.{/quote]

Compact can conflict with 'LBA=32' depending on your drive. Not sure if I'd call it unsafe or not. It's a commonly used option.
But as far as the IDE setting, (I've tried this) setting it to a value that is too high just returns a message in dmesg saying "Bad IDE value - too high" and it resorts to 33Mhz, the default. I have mine at 66, but when I tried upping it to 100 (and I have a UDMA 133Mhz capable bus) it just told me it was a bad setting and booted at 33 Mhz.
I think it's safe to assume (yeah I know the adage) that virtually any modern computer is capable of 66Mhz on the IDE.
Again, if it doesn't work or is invalid, it will just tell you so and default to normal.

I'm not too familiar with laptops in general, but surely by starting with the manufacturer you could narrow down the model number and motherboard possibilities/options.
 
Old 02-05-2007, 06:26 PM   #18
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, I found this:
http://www.ale.org/archive/ale/ale-2.../msg00188.html

Which says:
Quote:
> > I have an AMD 1.1ghz Athalon running a 133 bus. I just booted my box and
> > it said the bus was at 33, use idebus= to override. Before I go and
> > risk nuking my box by screwing up a setting, is it just a lilo append
> > line that says something like append="idebus=133"?

Your FSB, not your PCI, is running at 133 MHz

> This should do. I don't know about your board but I have my P5AB
> set up like:
>
> image = /vmlinuz
> label = new
> root = /dev/hda1
> vga = normal
> read-only
> append = "debug=2 noapic nosmp hdc=ide-scsi hdb=ide-scsi hdd=ide-scsi idebus=66"

You almost certainly *don't* want to do that. idebus is the speed of your
PCI bus, which is probably 33 MHz.
That's kinda a confusingly named option
-- lots of people seem to think it has something to do with ATA/33 vs ATA/66
vs ATA/100, but it doesn't. See drivers/ide/ide.c....
and ...

http://www.ale.org/archive/ale/ale-2.../msg00198.html
Quote:
From /usr/src/linux-2.4.0/drivers/ide/ide.c:


/*
* ide_system_bus_speed() returns what we think is the system VESA/PCI
* bus speed (in MHz). This is used for calculating interface PIO timings.
* The default is 40 for known PCI systems, 50 otherwise.
* The "idebus=xx" parameter can be used to override this value.
* The actual value to be used is computed/displayed the first time through.
*/

* "idebus=xx" : inform IDE driver of VESA/PCI bus speed in MHz,
* where "xx" is between 20 and 66 inclusive,

* used when tuning chipset PIO modes.
* For PCI bus, 25 is correct for a P75 system,
* 30 is correct for P90,P120,P180 systems,
* and 33 is used for P100,P133,P166 systems.
* If in doubt, use idebus=33 for PCI.
* As for VLB, it is safest to not specify it.
66 MHz is max, but 33MHz is the usual. Until I know what frequency my pci bus is capable of, I'm not changing it.

EDIT:

Quote:
> Isn't my PCI bus speed faster than 33MHz?

Nope. Very loosely speaking, PCI bus speed is 33 MHz for 32-bit PCI and 66
MHz for 64-bit PCI; you can no doubt find all four combinations in use if
you look (this new sun blade I'm on right now has both 66 and 33 MHz PCI
busses, for example), but on almost all PC-class hardware the PCI bus runs
around 33 MHz.


The option is there because that speed will change if you're overclocking or
otherwise running at a "weird" bus speed, and so that way you can adjust
between ~ 25 and 40 MHz for you PCI bus if you need to....
http://www.ale.org/archive/ale/ale-2.../msg00325.html

Last edited by H_TeXMeX_H; 02-05-2007 at 08:17 PM.
 
Old 02-06-2007, 08:51 AM   #19
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Indeed interesting and confusing.
I arrived at the idebus=66 setting because dmesg informed me that the kernel was 'assuming' a 33Mhz bus speed, and to use the setting 66 to change it. Which I did.
On a related note, while my IDE bus is capable of UDMA (Ultra DMA 133Mhz) I cannot infact apply this setting during boot, it just wont work. I get the impression that the machine must be fully booted before UDMA can be activated.
It also told me that valid settings (LILO said this) were between 20 and 66 Mhz for the idebus= function..
For the record, it seems they are referring to older and slower computers too, with the references to P100 and P133 etc.. My PCI/AGP bus is set at AUTO (usually a 66/33 ratio) and an FSB speed of 122 MHz (I am overclocking but not drastically so--- My puter is a 1.8Ghz Intel P4 currently running at 2.2Ghz.
In the end, I'm just offering suggestions but not suggesting you risk your hardware; do what is safest for your machine until you learn what it can handle! But I do love the wicked boot speed allowed by the increased bus speed
Sasha
 
Old 02-06-2007, 09:10 AM   #20
petcherd
Member
 
Registered: Dec 2006
Location: Portland, OR - USA
Distribution: Formerly Slackware; now RH, SuSE, Debian/Ubuntu, & Asianux
Posts: 55

Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H
Kernel on both my current machine and the older one is huge26.s.

I was thinking of recompiling, but I usually don't like to unless I really have to.
Recompiling always sounded intimidating to me until I did it a few dozen times. That huge26.s kernel is well-named. It has all sorts of crap in it that you might not need: support for SCSI cards nobody you know has heard of, support for nearly every filesystem around, hotplug support, PCMCIA support, sound-card support, support for obsolete stuff, support for the very latest stuff... you get the idea.

Take careful notes of what you're removing.
Keep backups of previous successfully-bootable kernels.
Shave off just a few bits of cruft at a time.

On a P-III, it could cost you a few hours of compile time, but it will save you memory and it will save you precious minutes of boot time!
 
Old 02-06-2007, 11:39 AM   #21
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Compiling your own kernel is a Fine Thing To Do.

I just want to point out that huge26 is not the only 2.6 possibility in Slackware for those who are wary of compiling your own kernel. The extra/ directory has a reasonably sized 2.6.17 kernel with modules and testing/ provides a 2.6.18 kernel.

Brian
 
Old 02-06-2007, 01:37 PM   #22
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by BCarey
I just want to point out that huge26 is not the only 2.6 possibility in Slackware for those who are wary of compiling your own kernel. The extra/ directory has a reasonably sized 2.6.17 kernel with modules and testing/ provides a 2.6.18 kernel.
Yeah, basically what I did (as a quick fix ... it reduced kernel size by 1/3 over huge26.s !) was take the 2.6.17 kernel source from the extra directory, change the .config to support JFS built-in (which I have), recompile it (took 10 min), and install it. (of course, I have an option to boot huge26.s again in lilo, just in case something goes wrong and the kernel panics)

Next I plan on doing "make allmodconfig" and then adding JFS built-in (static) support. Then see which modules I really need, make (recompile) those static, get rid of the rest, and it hopefully will result in a very small kernel capable of everything I need it for. (really I could just leave the modules there in case I install or change out hardware)

Last edited by H_TeXMeX_H; 02-06-2007 at 01:41 PM.
 
Old 02-06-2007, 06:18 PM   #23
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H
Next I plan on doing "make allmodconfig" and then adding JFS built-in (static) support. Then see which modules I really need, make (recompile) those static, get rid of the rest, and it hopefully will result in a very small kernel capable of everything I need it for. (really I could just leave the modules there in case I install or change out hardware)
I also compile the fs support statically, but more generally why do you not want to use modules?

Brian
 
Old 02-06-2007, 06:30 PM   #24
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by BCarey
I also compile the fs support statically, but more generally why do you not want to use modules?
I don't really mind using modules, but there is a greater chance of kernel panic (without initrd) if you use them extensively and exclusively.
 
Old 02-06-2007, 07:56 PM   #25
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Hmmm. Frankly, I can't remember the last time my kernel panicked and I compile everything as a module that I can, except the fs support.

Brian
 
Old 02-06-2007, 07:58 PM   #26
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by BCarey
Hmmm. Frankly, I can't remember the last time my kernel panicked and I compile everything as a module that I can, except the fs support.

Brian
Ok, I try it
 
Old 02-06-2007, 08:01 PM   #27
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
Quote:
Originally Posted by BCarey
Hmmm. Frankly, I can't remember the last time my kernel panicked and I compile everything as a module that I can, except the fs support.

Brian
looking at some of his posts i dont think he knows what hes talking about
 
Old 02-06-2007, 08:05 PM   #28
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
There are also some really nice aspects of modules vs. static. For example, my wifi card doesn't always like to change from one encrypted network to another. So I simply rmmod the module and then modprobe it again and I'm set to go. If it was compiled statically I couldn't do that. Also, modules can help you troubleshoot hardware issues because you can use lsmod to see what modules loaded when you plug something in. Also, when seeking help on, eg. this board, someone might ask "Do you have module Z loaded?", and if you have everything statically compiled you will not be able to respond. Also...

Brian
 
Old 02-06-2007, 09:07 PM   #29
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by bird603568
looking at some of his posts i dont think he knows what hes talking about
Huh ? Who you talking to ?

@ BCarey

Sounds great ... I'll try it now.

EDIT: Update: Compiling using mostly modules only saves ~100 KB from kernel size. I'll have to look up my exact hardware ... that will take too long and will have to wait until I have time and am bored enough to do it.

Last edited by H_TeXMeX_H; 02-06-2007 at 09:34 PM.
 
Old 02-07-2007, 01:32 AM   #30
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
huge26.s is huge everything compiled in, did you made initrd for non ext2/3 filesystems?
i hope for your configuration bare.i will work,
just copy the kernel bzimage, edit lilo run lilo, very easy and feel the difference
 
  


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
what is the scripts in /etc/init.d for? blackzone Linux - General 7 09-06-2006 11:10 PM
starting named on boot without init scripts evilchild SUSE / openSUSE 1 03-05-2005 07:46 AM
Optimize boot process? on RedHat9.0 Forced2Morph Linux - General 1 10-12-2004 06:48 AM
X not starting on boot (init scripts) cootetom Mandriva 11 05-05-2004 08:37 AM
slack init scripts gui10 Slackware 11 05-15-2002 11:12 AM

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

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