View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 15, 2007 9:45 pm 
Offline
Joined: Sat Feb 04, 2006 3:14 pm
Posts: 6
My MythTV has been working fine for the last couple of months. Out of the blue today my machine would not boot up. I get the message:

Code:
Mount: device or resource busy (repeated many times)
/linuxrc: out of filedescriptors
/etc/init: out of file descriptors
Kernal panic - not syncing : Attempting to kill init!


Could someone please explain to me what this means and if there's any way to rescue the machine?

The only thing I can remember doing recently that might have caused it was

Code:
apt-get update
apt-get install tightvncserver


Thanks in advance for the help!!


Top
 Profile  
 
PostPosted: Tue May 15, 2007 11:00 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
RichardDavies wrote:

The only thing I can remember doing recently that might have caused it was

Code:
apt-get update
apt-get install tightvncserver


Thanks in advance for the help!!


What version of Knoppmyth are you using?
If it's R5E50, vnc runs by default, and you would most likely be correct in your diagnosis.
You can uninstall it by booting from the KM boot cd, exiting the setup program, mounting the root partition then chrooting to it.
Once you are in, you should be able to get rid of the vnc executable with apt-get remove. If that doesn't work, try
Code:
dpkg -P tightvncserver

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 7:35 am 
Offline
Joined: Sat Feb 04, 2006 3:14 pm
Posts: 6
I'm running R5C7. I'll try the boot CD and see if I can get that to work.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 10:46 am 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
What causes this? I've had this happen to me in the past. I thought is a corrupt kernel or partition so I did a complete reinstall. Are there certain programs that do this? When it happened to me I just recompiled ffmpeg. That shouldn't affect the bootup at all, (and neither should vncserver)?

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 1:25 pm 
Offline
Joined: Thu Aug 18, 2005 5:13 am
Posts: 111
It happened to me to once. I found no help so I put in a Knoppix Live cd and FTPed all the video files to my XP machine. Formatted the drive and dumped all the videos back.
________
MAINE DISPENSARY


Last edited by miker on Tue Feb 22, 2011 9:26 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Sun May 20, 2007 6:51 pm 
Offline
Joined: Wed Jul 14, 2004 9:20 pm
Posts: 7
Location: Franklin, MA
Shutdown my box to move to its summer home; the 3 season room and I got the same error when trying to boot. :cry:

--------------------------------------------------------------------
"Mount: device or resource busy (repeated many times)
/linuxrc: out of filedescriptors
/etc/init: out of file descriptors
Kernal panic - not syncing : Attempting to kill init!"
--------------------------------------------------------------------

I had been trying to get the APC ups daemon working just before the move, so an apt-get install apsupsd was the last thing I did before shudown...

booted via knoppix; mounted hda1 on /mnt/hda1 and did a chroot so I could apt-get remove apcupsd and of course that did not resolve my problem...

After much searching (a lot of "stuff" on this with regard to SATA disks but I only have IDE...?

So here is what I did that has given me a work around for now.

I modifed lilo.conf and commented out the line for initrd under the default=Linux section:

"# initrd=/boot/initrd.gz"

then lilo -v

reboot

This allows the system to boot without those errors now! :D

SO the big question is what am I missing now that I'm bypassing initrd?

Earlier I had gunzipped initrd; mounted and reviewed everything in there and it "looks" OK to me. Restored it back to the way it was and it still didn't work, same error...

Figured a 1/2 hour for the move and ate my whole afternoon; so I'm going to quit while I'm ahead for today.

Hope this helps a few people at least get running and not have to rebuild!

I'm running R5C7 so I should probably upgrade but I have things running SO smooth right now...

_________________
Dell Optiplex GX260 - P4 2.4GHz, 768MB, PVR-250, (1) 120GB, (1) 200GB


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 23, 2007 11:04 pm 
Offline
Joined: Sat Feb 04, 2006 3:14 pm
Posts: 6
I managed to boot to a command prompt using the KnoppMyth install CD and I've mounted the hard drive. I was wondering if it's possible to backup my database and settings and then run the install CD as if I was doing an upgrade to fix the boot up process?

I tried running mythbackup, but it didn't seem to work. I think I'm missing something. Anyone have any ideas on how to get this to work? Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 2:47 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
RichardDavies wrote:
I managed to boot to a command prompt using the KnoppMyth install CD and I've mounted the hard drive. I was wondering if it's possible to backup my database and settings and then run the install CD as if I was doing an upgrade to fix the boot up process?

I tried running mythbackup, but it didn't seem to work. I think I'm missing something. Anyone have any ideas on how to get this to work? Thanks!


Did you chmod into the root of the mount? Once you do this, you should be able to start mysql with
Code:
/etc/init.d/mysql start

Then, you can do a data dump with:
Code:
mysqldump -u root mythconverg > /myth/backup/mythconverg.sql


While you're chrooted, you should also backup the /etc directory with
Code:
tar -jcvf /myth/backup/etc.tar.bz2 /etc


If the mysqldump doesn't work (and I feel that this is your most likely to fail point) tar up the mysql files (/usr/lib/mysql) and try importing them (you may have to look this up, but I think it's possible to import V4 files to V5)

When you're done, ctrl+d out of your chroot environment and copy the files somewhere, like a network drive or partition you won't be touching during the install. Keep them safe!

Good luck

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 6:46 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
manicmike wrote:
Code:
tar -jcvf /myth/backup/etc.tar.bz2 /etc

Use the tar command from the hints instead. That will produce an archive that works with the restore script.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 7:15 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

If you are booted from a cd, you may want to mount the /myth partition also. Other wise when you save the tar files it will be on the wrong partition and be destoryed when you re-install / upgrade...

Mike


Top
 Profile  
 
 Post subject: System Resurrected!
PostPosted: Thu May 31, 2007 12:13 am 
Offline
Joined: Sat Feb 04, 2006 3:14 pm
Posts: 6
Thank you to everyone who's contributed to this thread. I was able to resurrect my system using the following procedure:

Code:
1. Booting using the KnoppMyth install CD. Cancel install to get to command prompt.
2. mount /dev/hda1
3. mount /dev/hda4 /mnt/hda1/myth/
4. mount -t proc none /proc
5. mount -n -o remount /
6. su
7. /etc/init.d/mysql start
8. mythbackup
9. Reboot again using KnoppMyth install CD and perform auto upgrade.


Hopefully this will be of some use to anyone else unfortunate enough to have this same problem.


Top
 Profile  
 
 Post subject: help help help
PostPosted: Fri Jun 08, 2007 6:36 pm 
Offline
Joined: Wed Mar 22, 2006 12:59 pm
Posts: 12
I have this exact same problem...

there has to be a fix... I can try the bootup and bypass the initrd.gz like wal0jes

but what then...

if i do an upgrade using the same cd... what all will change on my install?
________
MOTORCYCLE TIRES


Last edited by tivo1 on Tue Feb 22, 2011 12:34 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: Re: help help help
PostPosted: Fri Jun 08, 2007 6:50 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
tivo1 wrote:
I have this exact same problem...

there has to be a fix... I can try the bootup and bypass the initrd.gz like wal0jes

but what then...

if i do an upgrade using the same cd... what all will change on my install?
I just ran into a similar issue on a test system running R5D1 - I had used apt to install a new version of ffmpeg. Well, I wasn't really paying attention and let it install, trouble is that by doing that I allowed initrd-tools to be removed, which led to the dreaded "Kernel panic - not syncing : Attempting to kill init!". If you can boot from the KM CD and quit the installation as soon as you are given the option to, then you should be able to chroot to your HD and run
Code:
/usr/bin/apt-get install initrd-tools


WARNING: This was performed on my R5D1 system, I don't know what the implications are to running the above on a newer version /WARNING

Hope this helps...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 08, 2007 9:25 pm 
Offline
Joined: Wed Mar 22, 2006 12:59 pm
Posts: 12
This works on knoppmyth R5E50

boot knoppmyth (once you get the menu)
crtl+alt+2
mount /dev/hda1 /mnt/hda1
chroot /mnt/hda1
apt-get update
apt-get install initrd-tools

*If apt-get cant find initrd-tools

vi /etc/apt/sources.list

to the top of sources.list add the following two lines (i had to do this
because apt-get install initrd-tools was not in any of my sources):

deb http://www.ultramonkey.org/download/2.0.1/ woody main
deb-src http://www.ultramonkey.org/download/2.0.1 woody main

(if you dont know vi, press 'i' for insert, then when your done, press esc
:wq <enter>

then:

apt-get update
apt-get install initrd-tools

exit
shutdown -r now

eject cd press enter
reboot and working!

Thanks for the input slowtolean!

Easy enough
________
Free Burger King Gift Cards


Last edited by tivo1 on Tue Mar 08, 2011 6:04 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 09, 2007 7:52 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
tivo1 wrote:
This works on knoppmyth R5E50
That's good to know

tivo1 wrote:
boot knoppmyth (once you get the menu)
crtl+alt+2
mount /dev/hda1 /mnt/hda1
chroot /mnt/hda1
apt-get update
apt-get install initrd-tools

*If apt-get cant find initrd-tools

vi /etc/apt/sources.list

to the top of sources.list add the following two lines (i had to do this
because apt-get install initrd-tools was not in any of my sources):

deb http://www.ultramonkey.org/download/2.0.1/ woody main
deb-src http://www.ultramonkey.org/download/2.0.1 woody main
I haven't looked through the sources.list on R5E50. The following are from my R5D1 boxen:
Code:
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
deb http://www.debian-multimedia.org stable main


tivo1 wrote:
reboot and working!

Thanks for the input slowtolean!

Easy enough
You're very welcome, glad it got you up and running!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu