Re: Q about swap size
by Patrick Bartek
--- On Sun, 7/11/10, Robert G. (Doc) Savage <dsavage(a)peaknet.net> wrote:
> I've been running Fedora on my old Thinkpad A22p (P-III/M w/512MB)
> since FC4 or before, upgrading from one version to the next using the
> same partition sizes. For F13 I increased the size of /boot, but kept
> swap at 1GB:
>
> # fdisk -l /dev/sda
> [snip]
>
>
> The last couple of releases have run agonizingly slowly with very high
> load averages (between 2.x and 10.x).
>
> I just read http://docs.fedoraproject.org/en-US/Fedora/13/html
> /Installation_Guide/s2-diskpartrecommend-x86.html
>
> which recommends a minimum of 2GB swap size for memory sizes up to 4GB.
> I've been using 2x RAM for swap size ever since the 2.6 kernel was
> introduced. At the moment (running 'yumex') 'top' indicates:
>
> [snip]
You need more RAM, not more swap. 512MB is not enough. That's why the last few releases have been running progressively slower: They're running out of RAM and hitting the swap. If you can upgrade to 1 or, better, 2 or more GB RAM, your system will run much faster and won't need the swap as much.
My system (Athlon64 X2 2.7GB, 512MB swap--that's right MB!, F12-64-bit) has 4GB RAM and rarely uses the swap.
B
13 years, 10 months
Fedora 13 boot.iso not working with "askmethod"
by H.S.
When I boot from a USB Fedora 13 boot disk (using boot.iso from Fedora
13), I press TAB on the boot screen and append "askmethod" (without
quotes) to the kernel options line and boot. But the screen ends up
black and nothing happens.
If I do not give any options, the boot proceeds and goes through the
questions and wants me to select a physical device with the installation
image. Basically, no problems there.
If I use "asknetwork" option, the boot works and asks for network
configuration.
So, what is the deal with "askmethod"? How do I tell the installer to do
installation from the internet?
Thanks.
13 years, 10 months
current recipe for building new fedora kernel? and self-promotion.
by Robert P. J. Day
(WARNING: slightly self-serving post, but i figure i've built up at
least a touch of goodwill over the years.)
first, for the sake of a course i'm writing, i'd like to refer to
what is the current, canonical recipe for configuring and building an
up-to-date kernel for fedora (ideally from the current git tree). i
have a fairly stock recipe from about a year ago but if there's a
single page out there that is *the* fedora-approved way to do it, that
would be terrific, i'd just link to it.
now, about the "course" (and here's the self-serving part), i think
i've already mentioned previously that i'm in the midst of writing and
publishing an online course in introductory linux kernel programming:
http://crashcourse.ca/introduction-linux-kernel-programming/introduction-...
the self-serving part is that it's not free. while the first few
lessons are publicly available (and, admittedly, slanted towards
ubuntu but i already have plans to go back on the next pass and add in
RH/fedora alternatives for everything), if you decide you want to take
the entire online course, the cost is all of $39 (CAD). that's not
$39 per lesson, that's for the ***entire course***. and given that
several of those lessons are freely available to everyone, you can
certainly peruse them as much as you want at no risk before deciding.
about half the lessons are now up, and here's what is probably the
final course outline:
http://crashcourse.ca/introduction-linux-kernel-programming/course-overvi...
at this point, you can pretty much read the rest and decide whether
you're interested. registered students get access to a course mailing
list where they can chat with other students and get help from each
other and, in a pinch, they can email me as well.
ok, i think i've yammered on long enough.
rday
p.s. i'm well aware that there are people who are already pretty
darned good at kernel programming and don't represent a potential
(paying) student, but would still be interested in checking out the
course. if you fall into that category, here's what i've done for a
few people already.
you can register for a user account at crashcourse.ca, then drop me a
note and i can just quietly reconfigure your account so that you can
read everything. just make the case that it's in my best interests to
give you a free subscription, and i'll take it from there. :-)
p.p.s. i'm at ottawa linux symposium this week but probably not right
to the very end so if you want to hook and chat over a beer or
something, drop me a note.
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
13 years, 10 months
cannot boot from USB stick using boot.iso
by H.S.
I want to install Fedora 13 on a computer which is currently running
Debian (going to make it multiboot). I have downloaded boot.iso from
Fedora 13 tree
(http://linux.nssl.noaa.gov/fedora/linux/releases/13/Fedora/x86_64/os/imag...)
and also Fedora-13-x86_64-netinst.iso
(http://linux.nssl.noaa.gov/fedora/linux/releases/13/Fedora/x86_64/iso/Fed...)
I burned boot.iso to my 256 MB USB stick using dd command:
sudo dd if=Downloads/boot.iso of=/dev/sdd
and got the image contents in /dev/sdd1. However, the computer does not
detect that USB stick as bootable (my motherboard can and does boot from
a USB stick) and booted from hard disk.
I then tried copying the contents of the iso image to a newly formatted
ext3 filesystem on the USB stick:
- using fdisk, created a new ext3 partition in the USB.
- sudo mkfs.ext3 /dev/sdd1
- sudo mount -t ext3 /dev/sdd1 /tmp/fedora
- sudo mount -o loop boot.iso /tmp/img/
- sudo cp -a /tmp/img/* /tmp/fedora/
No luck, the computer still did not detect the USB as a bootable device
and booted from the hard disk.
In both the above cases, the boot flag for sdd1 or ON.
I also copied the Fedora netinst.iso image to the USB stick and tried
with that, no luck there either.
What I am I doing wrong here?
Thanks.
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
13 years, 10 months
Re: /sbin/init Initrd
by Jackson Byers
> Ty for reply,
> but i dont need the system /sbin/init
> i need the source code of /sbin/init from initrd.img
> if you unpack the initrd.img from Fedora 8 CD-ROM
> you will find a binary called init, what is a sym link from /sbin/init
> from initrd.img.
> but i already find what i need
> on fedora 8 anaconda installer create this init from your compilation,
> and when you install anaconda on the CD he copy you initrd to /cdrom/isolinux/initrd.img
> so now i can do what i want.
It sounds like you might have solved your problem.
If not, the following might help.
Your English is causing me some trouble in understanding what you want to do.
I _think_ you might be trying to modify the init file which is
embedded inside the initrd.gz.
This file is not a "binary" but is an "executable script".
You need to do a 3 step process
1) unpack the initrd.gz
2) edit the init file
3) repack with the modified init file
Following is from some old notes from a long time ago:
I have used (not recently) this prescription and it works.
8. Modifying an Existing Initial Ram Disk
8.1 Introduction
This section
briefly describes how an initrd_usb.gz file may be unscrambled, modified and
put back together again.
8.2 Detailed Instructions
8.2.1 Unpacking
cd go to root's home dir
mkdir clean; cd clean make and go somewhere clean
cp /boot/initrd_usb.gz . cp initrd_usb.gz to clean dir
gunzip -c initrd_usb.gz | cpio -i gunzip and expand
This unpacks a complete directory structure
- the vital file is init, edit as required.
8.2.2 Repacking
Remember to move the original file first or it will be incorporated
in the new initrd image!!
mv initrd_usb.gz ~
find . | cpio -c -o | gzip -9 > ~/initrd_usb_modified.gz
The file can then be relocated to /boot and grub.conf modified to match.
I hope this helps
Jack
13 years, 11 months
Fedora 12 and Privoxy
by Jason Turning
I just upgraded my laptop to Fedora 12, and now Privoxy is failing on bootup
and has to be manually started. Anyone encountered this problem, and if so what
was the fix?
Thanks.
Jason
13 years, 11 months
Error messages from BIND.
by Reg Clemens
I have recently started getting the following pair of error messages from bind:
bg DNSKEY: please check the 'trusted-keys' for 'bg' in named.conf.: 6
Time(s)
bg DNSKEY: unable to find a DNSKEY which verifies the DNSKEY RRset and
also matches one of specified trusted-keys for 'bg': 6 Time(s)
Anyone know what these mean, and what I am suposed to do?
--
Reg.Clemens
reg(a)dwf.com
13 years, 11 months
Need help installing ASUS audio drivers
by Alan Nicoll
uname -a
Linux NN.FRONT 2.6.33.5-124.fc13.x86_64 #1 SMP Fri Jun 11 09:38:12 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
My M4A78L-M came with linux audio drivers on the CD but I get many errors
trying to compile them and I don't know which of these are killers and which
are spurious. The disk comes with an install.sh that I'm trying to run but
it always ends in this:
cp snd-page-alloc.o snd-pcm.o snd-timer.o snd.o /lib/modules/0.0.0/misc
cp: cannot stat `snd-page-alloc.o': No such file or directory
cp: cannot stat `snd-pcm.o': No such file or directory
cp: cannot stat `snd-timer.o': No such file or directory
cp: cannot stat `snd.o': No such file or directory
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory
`/home/nck/audiodrvrs/alsa-driver-1.0.18rc3/acore'
make: *** [install-modules] Error 1
Alsa driver compiling failed!
Nick
13 years, 11 months
slow down dd - how?
by Arthur Bela
How can I slow down dd?
I don't want to slow down the pc, when generating a big file [~40
GByte].
Does ionice work properly?
Thank you for any help! :\
13 years, 11 months