[K12OSN] XFree fatal error 104 (a solution)

Bert Rolston bert.rolston at clear.net.nz
Tue May 11 02:29:56 UTC 2004


Hi Terrell,

Thanks for your help.

The info you provided was enough to jog my memory.

=====================================
The problem

Some areas of the drive got messed up, causing problems with the inodes.

fsck fixed the inode problem which appears to have effected  tty(4-9)
=====================================
The solution

I e-mailed the K12LTSP list. 

Here's what I ended up doing.

I read the online help from my own machine. I looked at mknod & tty

mknod is the command for creating new nodes.

tty gave me the information to create the correct type of node.

I did another ls -l tty? in the /dev directory and noticed that the
major minor was set at 4 ? (where ?=0-9).

>From there I deleted tty above 3. Then recreated tty 4-9 suing mknod

eg. mknod -m=---rw-rw-rw- tty4 c 4 4

For some reason the -m didn't create the correct mode. To fix this I
used chmod

eg. chmod tty? 0666

The ownership wasn't right either so

chown root:tty tty?

et voila!

It's all back up and running.

Thanks again for the patience and memory jogger.

Bert


On Mon, 2004-05-10 at 09:49, Terrell Prude', Jr. wrote:
> Had another idea after that original post.  Check out your /etc/inittab 
> file, and look for the line with tty6 in it.  It should look like this:
> 
>   6:2345:respawn:/sbin/mingetty tty6
> 
> Comment that line out.  Then, do one of two things:
> 
> A.)  reboot, or
> B.)  change to runlevel 1, then back to runlevel 5
> 
> and let us know how things go.  A device node should indeed be made for 
> /dev/tty7-9, but we can do the above as a troubleshooting step.
> 
> --TP
> 
> Bert Rolston wrote:
> 
> >Hi Terrell,
> >
> >I'm posting inline. It's a bit messy but there are several points
> >raised.
> >
> >Notice that I have a "tty7" entry, and also notice the permissions on 
> >  
> >
> >>it.  My Mandrake 9.2 box also goes up to tty9, BTW.  Since your listing 
> >>stopped at tty6, we have one of two options that I can think of to try out.
> >>    
> >>
> >
> >
> >I tried the following.
> >
> >Move ttyx(9,8,7) to tty(4,5,6) to coincide with the missing ones. No
> >luck.
> >
> >Not sure if this was advisable but it didn't seem to break anything
> >else.
> >
> >
> >
> >  
> >
> >>1.)  Make a new device node for tty7.  That's kinda ugly, and I'll have 
> >>to go remind myself how to do it (it's been a while).
> >>    
> >>
> >
> >I've done this in the past, but only once. I can't remember how, or
> >where I found the info last time.
> >
> >  
> >
> >>2.)  Try changing permissions on one of the other tty's to match what my 
> >>tty7 has on it.  Given that the UID and GID are both root, it shouldn't 
> >>make a difference, but it's worth a shot.  I'd try it with tty's 4 and 6 
> >>first, since that's what your XFree86.0.log file shows that X11 is 
> >>trying before it dies.
> >>    
> >>
> >
> >Tried this, they get changed back to the settings shown by ls.
> >
> >
> >  
> >
> >>If 2.) doesn't do the trick, then let us know, and I'll go dust off how 
> >>to make device nodes.  :-)
> >>    
> >>
> >
> >You've given me a clue here. "device nodes". I couldn't even remember that.
> >
> >Cheers,
> >Bert
> >
> >
> >_______________________________________________
> >K12OSN mailing list
> >K12OSN at redhat.com
> >https://www.redhat.com/mailman/listinfo/k12osn
> >For more info see <http://www.k12os.org>
> >
> >  
> >
> 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
==================================
Bert Rolston Computer Support Ltd.
Mobile - 027 264 0851
================================== 
Specialising in system support
alternative solutions and
Linux operating system
==================================






More information about the K12OSN mailing list