View Single Post

   
  #1 (permalink)  
Old 01-18-2008, 07:25 AM
Michael Hennebry
 
Posts: n/a
Default Where did dhcp go?

Recently I installed Fedora Core 3.
My machine has a CD-ROM drive and a CD-R drive.
The file systems on my single 40G disk are
Windows, ext2 and swap.
My hostname was a combination of cableone and
my IP address.
I put a data disk in my CD-ROM drive and
a blank CD-R in my CD-R drive.
As root I gave the command
readcd dev=ATA:1,0,0 -clone f=somefile

It hung.
somefile was created at 0 bytes.
somefile.toc became 50 bytes.

After a few minutes I was feeling murderous.
As root, I tried to kill the process with kill -9.
It didn't die.
kill didn't complain, it just didn't get the job done.
Repeated effort didn't help.

I tried umount /media/cdrom .
I expected to get a device busy error.
I did the third time.
The first umount hung.
The second had to be done in another window.
It finished.

readcd was still running,
as was the first umount.
Control-C didn't help either.

Eventually I resorted to reboot.

In the shutdown phase, I think I saw some things
like umount failed, device busy go by.
In the boot phase, I was told to run fsck,
so I did.
Absent any reason to do otherwise, I answered y
to all of its questions.

Rebooting eventually seemed to be successful.
Now my hostname is stmike.
Huh?
I'd seen that name before when Fedora thought
that I didn't have an internet connection
and wouldn't even offer DHCP.
Presumably Fedora knows better now, since I'm
using it and the internet to type this.

What's going on?
Why doesn't readcd like me?
Why couldn't I kill it?
What about umount?
Why did DHCP go away?
Where did stmike come from?
I never tell a computer my name is mike.
Even if I did, where would the st come from?

/etc/fstab looks like this:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext2 defaults
1 1
LABEL=/boot1 /boot ext2 defaults
1 2
none /dev/pts devpts gid=5,mode=620
0 0
none /dev/shm tmpfs defaults
0 0
LABEL=/home1 /home ext2 defaults
1 2
none /proc proc defaults
0 0
none /sys sysfs defaults
0 0
LABEL=/usr/local1 /usr/local ext2 defaults
1 2
LABEL=SWAP-hda5 swap swap defaults
0 0
/dev/hdd /media/cdrecorder auto
pamconsole,fscontext=system_ubject_r:removable_t ,ro,exec,noauto,managed
0 0
/dev/hdc /media/cdrom auto
pamconsole,fscontext=system_ubject_r:removable_t ,ro,exec,noauto,managed
0 0
/dev/fd0 /media/floppy auto
pamconsole,fscontext=system_ubject_r:removable_t ,exec,noauto,managed
0 0

Help.

Reply With Quote