Rebuilding FC3 base kernel from source
by Philip Prindeville
What do I need to do to install the FC3 kernel sources and
build exactly the same kernel that comes with this distribution?
Somehow my install got hosed, and when my system boots I
get a lot of messages that insmod can load /lib/dm*.ko (at least
that's what I think it was).
Sigh.
Thanks,
-Philip
18 years, 8 months
Share internet connection/make a small server
by Antonio Olivares
Dear folks,
Recently at work, the network administrators
changed from static ip's to dhcp. They made changes
to use static dhcp using the mac address of the
machines connected to the network. Before I could
connect to the network using something like
[root@rio ~]# ifconfig eth0 10.154.20.157 netmask
255.255.248.0
[root@rio ~]# route add default gateway 10.154.16.1
[root@rio ~]# echo nameserver 10.128.0.4 >>
/etc/resolv.conf
Here's the info of that machine's connection after
system administrator connected the machine using mac
address.
[root@rio ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr
00:50:2C:A6:19:28
inet addr:10.154.19.136 Bcast:10.154.19.255
Mask:255.255.255.0
inet6 addr: fe80::250:2cff:fea6:1928/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:2511 errors:0 dropped:0
overruns:0 frame:0
TX packets:1766 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1405141 (1.3 MiB) TX bytes:307686
(300.4 KiB)
Interrupt:11 Base address:0xae00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:51 errors:0 dropped:0 overruns:0
frame:0
TX packets:51 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:3718 (3.6 KiB) TX bytes:3718 (3.6
KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@rio ~]#
Now I cannot get network access. Even with dhcp
enabled. The network identifies the mac address of
the machine and assigns the same ip throughout.
I want to add an extra NIC/LAN card to this machine
call it eth1 and use the machine as a host for a small
network so that I can use/share the internet access
with other machines. I ask for advice/help on this
issue. I have read the following
http://www.tldp.org/HOWTO/DHCP/index.html
and
http://www.linux-mag.com/2000-04/networknirvana_01.html
but I am not sure how to begin. I have not placed the
nic card yet on the machine but I will do so tomorrow.
The machine has Fedora Core 3 with an everything
install. What do I need to setup a mini dhcp server
from this machine?
Thanks in advance,
Antonio
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
18 years, 8 months
Bad magic number during fsck
by Smugzilla
Something really strange happened to my FC3 server running ext3 a few
days ago. It logged a "journal commit I/O error" and things started
getting screwy. The system isn't frozen, but my man pages are gone and I
can't get "ls" to show me anything. I tried running fsck last night and
got the following response:
[root@bender ~]# fsck
fsck 1.36 (05-Feb-2005)
e2fsck 1.36 (05-Feb-2005)
/: recovering journal
fsck.ext3: Bad magic number in super-block while trying to re-open /
e2fsck: io manager magic bad!
Then this morning, while typing up this message I tried fsck again and
got:
[root@bender ~]# fsck
fsck 1.36 (05-Feb-2005)
fsck.ext3: Unable to resolve 'LABEL=/'
I'm in way over my head here. Is there any way for me to fix my file
system, either using fsck or with Knoppix, or should I just backup as
much data as I can and reinstall the OS? And just as important, does
anyone know how this might have happened in the first place?
By the way, "ls" doesn't work for root, but it does work for other
users.
Thanks,
Pete S.
18 years, 8 months
Re: [TLUG]: FC4: Ways to use PalmPilot
by pking123@sympatico.ca
I found I was able to use JPilot, and it appears to do what I want.
But I seem to have run into a "feature" in FC4 which resets the
permissions on /dev/ttyS0 to 660 from 666.
I have looked through the kernel docs, and I do not suspect the
kernel is doing this. Any suggestions as to what is responsible for
resetting these permissions, and how do I make these changes
permanent?
Paul King
> Paul Mora (paulmora(a)gmail.com) wrote:
>
> Hi.
>
> I have used both Evolution, and KPilot (the KDE sync program). Both
> are pretty good, but both also have their issues.
>
> Right now, I'm using the KPilot program from KDE 3.4, and it seems to
> work well. It will sync pretty much everything, but it only syncs it
> into e KDE PIM (Kontact), and it's components (KAddressbook,
> KOrganizer, etc.)
>
> If you're looking for something exactly like the Palm desktop, look no
> further than JPilot.
>
> pm
>
> --
> Paul Mora
> email: paulmora(a)gmail.com
>
18 years, 8 months
howto disable floppy drive
by Roberto Felloni
Hi to all.
The boot of my server FC3 is too slow.
Watching messages log I believe than the mounting of floppy drive
are the cause.
I wanna try to disable mounting floppy during boot.
Someone can tell me how to make this ?
Many thanks and sorry for my english.
--
bye by fellons
18 years, 8 months
Re: Partitioning problem with windows vs. linux
by Michael Wiktowy
... sorry for lack of threading ... I get this list in digest form ...
please email me directly and CC the list if you want threading ...
>Date: Wed, 31 Aug 2005 12:38:53 -0400
>From: Tony Nelson <tonynelson(a)georgeanelson.com>
>At 11:37 AM -0400 8/31/05, Michael Wiktowy wrote:
>
>
>>>Greetings all,
>>>I have an odd problem happening that I have experienced on a Fedora Core
>>>install in the past and in recent history also.
>>>
>>>Background:
>>>When I try to set up a dual-boot w2k+linux system (resizing w2k
>>>partition and filesystem, verifying w2k is happy after resize,
>>>installing FC), w2k is not happy sometimes on some systems. It will
>>>start to boot, switch to its more graphical starting windows boot
>>>screen, get halfway though and then blue screen [1] with a
>>>BOOT_INACCESSABLE error advising me to do a chkdsk /f and giving me no
>>>means of doing so. The recovery console on the install media doesn't
>>>seem to do the trick on this system (Dell GX280 with a SATA drive)
>>>either. [2]
>>>
>>>Specifics:
>>>I have narrowed down the problem to w2k not liking me simply adding
>>>extra partitions to the disk.[3] I boot to Knoppix and use fdisk to add
>>>some partitions (to try avoid the "anaconda changing the CHS values in
>>>the partition table with a buggy bios" issue) but as soon as I do, w2k
>>>becomes unhappy. I can subsequently remove the partitions and w2k is
>>>content again and boots normally.[4]
>>
>>
> ...
>
>You don't say if you have any Extended partitions on the drive. If you do,
>your extended partitions will get their number bumped up when you add new
>Basic partitions, so you will need to renumber them in boot.ini. Umm, by
>using FIXBOOT in the Recovery Console? (You say Recovery Console doesn't
>work, but you don't say what you tried in it. On its own, it just sits
>there and does nothing.)
>
>
To add more detail:
- no extended partitions ... just two primary ones
- the exact error is *** STOP 0x0000007B
(0x81826B10,0xC000014F,0x00000000,0x00000000)
INACCESSIBLE_BOOT_DEVICE ... followed by some chkdsk /f verbage.
- I just reproduced it by simply adding a primary linux type
partition taking up the rest of the space on disk and got rid of it by
deleting that partition
-w2k is on the first (and only) primary partition that is 150GB big and
the drive is 250 GB total and is SATA. I don't know if it is supposed to
but w2k does not report any free disk space after its partition when you
go into the disk management dialog.
I went through all the steps again so that they are fresh in my mind
- after adding the second primary partition, I booted to the recovery
console and tried:
- CHKDSK
- gives the informative and useful "The volume appears to
contain one or more unrecoverable problems." when the second primary
partition is present
(recovery) - removing the second partition causes w2k to boot
normally
- FIXMBR
- complains that the computer has a non-standard or invalid
master boot record and warns of dire consequences
- ... going through with it anyways has no effect other writing
a new MBR to \Device\Harddisk0\Partition0
- which clobbers grub if was there and the blue screen persists
with the first hex number after the bracket changing to 0x81877CB0
(recovery) - but after the second partition is removed, w2k
boots normally.
- FIXBOOT
- warned that the bootsector was corrupt after thinking that
the file system on the startup partition is unknown.
- It then checked the file system type and detected that it was
an NTFS system and wrote a new bootsector.
- This had no effect other than hooping the system such that it
wouldn't even begin to start the ntloader (A disk read error occured ...
Press Ctrl+Alt+Del to restart)
- looking at the output of sfdisk -d /dev/sda ... it appears to
have seriously pooched the partition table also making 4 overlapping
primary partitions
(recovery) - restoring the mbr (containing the 2 partitions)
from the backup image didn't make it work again but I got the blue
screen again (with a different hex number again like after the FIXMBR step)
(recovery) - removing the second primary partition caused w2k
to boot normally
So somehow w2k is getting seriously confused on my system ... turning on
/bootlog and /sos in w2k boot.ini and removing /fastdetect was not
illuminating.
I took dd snapshots at each step with Knoppix. Does anyone know of a
good hexeditor that I could view them in or ideally compare two binary
files?
My next step is to experiment with hidden partition types. If that works
I will file an RFE against anaconda to write more failsafe grub rules by
hiding the linux partitions.
Preliminary experiments would indicate that changing the partition to a
hidden type doesn't help. I am not sure if that is all the "hide"
command does in grub.
/Mike
18 years, 8 months
RE: OT: DNS Failover
by Mike McGrath
> -----Original Message-----
> From: fedora-list-bounces(a)redhat.com
> [mailto:fedora-list-bounces@redhat.com] On Behalf Of Benjamin Franz
> Sent: Wednesday, August 31, 2005 2:42 PM
> To: For users of Fedora Core releases
> Subject: Re: OT: DNS Failover
>
> On Wed, 31 Aug 2005, Mike McGrath wrote:
>
> > I'm curious about how others in the Fedora community are doing DNS
> > failover. Specifically I have two sites, one primary (in a large
> > city) and one secondary (out in the middle of nowhere).
> The idea is
> > that we'd host DNS out of the secondary site to use the web
> servers in
> > the primary site.
> >
> > My question is how are people handling outages at the main
> site. If
> > the primary site burns down or all the servers get stolen or
> > something, is my only option a manual of the configs to
> point from one to the other?
>
> Slightly different than what you are asking, but we
> multi-home our servers and placed a DNS server in each IP net
> that returned _only_ the addresses for that subnet with a 900
> second TTL. If we experience loss of IP on one pipe, that
> renders the appropriate DNS server immediately unreachable
> leaving only the good pipe's addresses being returned on
> fresh queries while the stale unreachable addresses will
> expire within 15 minutes.
>
> This has worked very well for us in practice since the only
> people impacted by a loss of a pipe are those who were
> actually browsing our website servers via the down net in the
> few minutes before the network outage while lettings us get
> the good routing of being in two large tier-1 ISP routing
> blocks (IP blocks of less than roughly a /18 just don't get
> good routing IME because of backbone routers dropping small
> subnet routes).
>
> The problem with browsers caching IPs until the browser is
> killed is not fully soluble via any DNS based system.
>
> You can trade that for a portable block of IP addresses and
> broadcast your routes, but you wil take a hit on normal
> routing of a small subnet and on the reconvergence time of
> routes after any failure.
>
> There are no perfect solutions to this issue, AFAIK. Every
> solution will have some failure mode that will impact you
> more or less depending on your own requirements.
>
> --
> Jerry
>
> Simple things should be simple, complex things should be possible.
> - Alan Kay
>
> --
> fedora-list mailing list
> fedora-list(a)redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
>
Thats an interesting way of doing it. I'll have to test that out too.
Thanks everyone for your comments.
-Mike
18 years, 8 months
PHP/GD/MySql
by James Thorpe
Hi List,
I recently was looking into adding GD support to PHP on my FC3 install,
but couldn't entirely figure it out, and decided to wait until after I
upgraded to FC4. After having done this, I've found that PHP has also
been upgraded to 5.0.4, with mysql support no longer built in. So my
questions are, how do I add in both mysql and GD2?
Thanks,
James.
18 years, 8 months
Re: New D_BUS download
by Bill Case
Hi;
Just updated D-BUS using yum. Now my evolution doesn't work and
evolution's mailing list is down while they move to gnome facilities.
I had evolution set up so that in my user2 I could su user1 and run
evolution from there. The why and the wherefore of that arrangement is
a long story. Nonetheless, it worked successfully for me for 6 weeks
but now I get the following error message:
Failed to connect to the D-BUS daemon: No reply wi thin specified time
4943: arguments to dbus_connection_get_data() were incorrect, assertion
"connection != NULL" failed in file dbus-connection.c line 4478.
This is normally a bug in some application using t he D-BUS library.
4943: arguments to dbus_connection_set_data() were incorrect, assertion
"connection != NULL" failed in file dbus-connection.c line 4442.
This is normally a bug in some application using t he D-BUS library.
** ERROR **: Not enough memory to set up DBusConne ction for use with
GLib
aborting...
I just want to work in user2 and get the email, tasks, contacts and
calendar of user1. I am both.
Now what?
Regards Bill
18 years, 8 months