Chris Earle (CBL)
2006-Feb-28 07:44 UTC
[Asterisk-Users] Cannot boot machine up after working on zaptel....
Hi all, hard for me to explain this, but it keeps happening on a number of machines I attempt to upgrade zaptel, or do something to zaptel modules..... and then I reboot the machine, and for whatever reason, it hangs on loading the modules Either the install wasn't complete, the zaptel modules settings are wrong, whatever.... but the problem is now I can't get past the boot up and the machine is basically lost Is there any way to bypass the module load attempt or anything? I've tried holding SHIFT down to get the LILO menu, and loading LinuxOLD, but no go I'm on Debian 2.4.18, with Zaptel 1.0.9.2 I understand that there was something wrong in the modules config, but surely I should be able to bypass and get back in to fix it! Any ideas greatly appreciated, as I would rather not have to use an old clone drive and start over -- Chris Earle System Solutions Specialist -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Christoph Eicke
2006-Feb-28 08:31 UTC
[Asterisk-Users] Cannot boot machine up after working on zaptel....
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28.02.2006, at 15:44, Chris Earle ((CBL)) wrote:> Hi all, > > hard for me to explain this, but it keeps happening on a number of > machines > > I attempt to upgrade zaptel, or do something to zaptel modules..... > and then > I reboot the machine, and for whatever reason, it hangs on loading the > modules > > Either the install wasn't complete, the zaptel modules settings are > wrong, > whatever.... > but the problem is now I can't get past the boot up and the machine is > basically lost > > Is there any way to bypass the module load attempt or anything? > > I've tried holding SHIFT down to get the LILO menu, and loading > LinuxOLD, > but no go > > I'm on Debian 2.4.18, with Zaptel 1.0.9.2 > > I understand that there was something wrong in the modules config, but > surely I should be able to bypass and get back in to fix it! > > Any ideas greatly appreciated, as I would rather not have to use an > old > clone drive and start overHi Chris, How about you use a Live CD distribution and disable the loading of the driver in some config? Unfortunately I'm not very familiar with Debian, in Gentoo you would edit /etc/modules.autoload/kernel-2.6 and then uncomment the line that loads the module. You should then be able to boot "normally" and do what you have to do in order to get it to work. Does this also happen when you load the driver using modprobe? Christoph - -- GPG Key ID: 33D6AA8C AIM: zeitgeist2600 ICQ: 271512600 Jabber: zeitgeist@jabber.ccc.de http://www.geisterstunde.org http://www.ceicke.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEBGzw8e/ZGTPWqowRAleSAJ0WIcjiORoRTnd1mTWJNYUj9WuWDACfX7zn 8cadgA0CfHPAgB0Rww5XCHw=AT6i -----END PGP SIGNATURE-----
Tzafrir Cohen
2006-Feb-28 16:01 UTC
[Asterisk-Users] Cannot boot machine up after working on zaptel....
On Tue, Feb 28, 2006 at 09:44:35AM -0500, Chris Earle (CBL) wrote:> Hi all, > > hard for me to explain this, but it keeps happening on a number of machines > > I attempt to upgrade zaptel, or do something to zaptel modules..... and then > I reboot the machine, and for whatever reason, it hangs on loading the > modules > > Either the install wasn't complete, the zaptel modules settings are wrong, > whatever.... > but the problem is now I can't get past the boot up and the machine is > basically lost > > Is there any way to bypass the module load attempt or anything? > > I've tried holding SHIFT down to get the LILO menu, and loading LinuxOLD, > but no go > > I'm on Debian 2.4.18, with Zaptel 1.0.9.2For starters, upgrade kernel? Anyway, In the lilo prompt, write: Linux init=/bin/bash (that is: add the extra parameter init=/bin/bash ) This will boot the system and give you a shell before loading any modules. Now in there, run: mount -o remount,rw / and probably also: mount /proc Do whatever edits are required so the zaptel modules won't load (editing /etc/modules, or even moving the module files from the kernel dir) , and then: umount /proc mount -o remount,ro / exec /sbin/init The boot process should continue normlly (this is /sbin/init running as process 1). -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend