FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 06-28-2010, 05:20 PM
John Black
 
Default Kernel panic after installing avr tools

Maybe someone could help me out. I would like to report a bug but I am
not quite sure what happened.


I made a parallel port micro controller programmer on Sunday.
Since my desktop system does not have a parallel port anymore [noticed
this after I was done ] I connected the programmer to my server which
is/was running a couple month old version of ARCH i686.


I proceeded to install these packages: avr-libc avrdude binutils-avr gcc-avr
I *think* that (this was late at night) one of the dependencies was new
linux-headers but no kernel.

I answered all with yes and the installation started.
As soon as it was done I could no longer execute commands and my system
would only return "Illegal instruction".
I restarted using the reset switch and was greeted by a kernel panic.
All options on the grub boot menu will result in a kernel panic.


I tried to follow this guide
http://wiki.archlinux.org/index.php/Kernel_Panics
but when I want to chroot I get "Illegal instruction". The file system
is mountable and everything appears to be fine.
I searched around a bit and it appears that this sort of thing happens
when you use an i686 kernel with a i386 computer but this system used to
run fine.


I was about to reload this machine but maybe someone could help me
figure out what happened exactly so that this can be prevented in the
future?


Here are the machine specs:
OS: Arch i686 (2-3 months old)
Mainboard: VIA EPIA-M (I think this has a 1GHz CPU)
RAM: 1GB
Storage: LVM 2x 250GB
special configuration: grub2, /boot on LVM
installed: apache2, php5, mysql, samba, sshd

Any takers ?
--
John
Wo Unrecht zu Recht wird, wird Widerstand zur Pflicht.
[Bertolt Brecht]
 
Old 06-28-2010, 05:20 PM
Ionuț Bîru
 
Default Kernel panic after installing avr tools

On 06/28/2010 08:20 PM, John Black wrote:


Here are the machine specs:
OS: Arch i686 (2-3 months old)
Mainboard: VIA EPIA-M (I think this has a 1GHz CPU)
RAM: 1GB
Storage: LVM 2x 250GB
special configuration: grub2, /boot on LVM
installed: apache2, php5, mysql, samba, sshd

Any takers ?


from this list you missed the cpu.

maybe you hit into http://bugs.archlinux.org/task/19733 ?

--
Ionuț
 
Old 06-28-2010, 05:53 PM
John Black
 
Default Kernel panic after installing avr tools

On 06/28/2010 07:20 PM, Ionuț Bîru wrote:

On 06/28/2010 08:20 PM, John Black wrote:

Here are the machine specs:
OS: Arch i686 (2-3 months old)
Mainboard: VIA EPIA-M (I think this has a 1GHz CPU)


from this list you missed the cpu.


It is embedded so there is no choice, the CPU should be a VIA C3
E-Series processor.



maybe you hit into http://bugs.archlinux.org/task/19733 ?


Looks like that is it, thank you for pointing me to it.

--
John
Wo Unrecht zu Recht wird, wird Widerstand zur Pflicht.
[Bertolt Brecht]
 
Old 06-28-2010, 05:58 PM
John Black
 
Default Kernel panic after installing avr tools

On 06/28/2010 07:20 PM, Ionuț Bîru wrote:

On 06/28/2010 08:20 PM, John Black wrote:
maybe you hit into http://bugs.archlinux.org/task/19733 ?



mhh is there a way to install package onto a non-bootable system using
pacman?


I remember that binutils and glibc was updated, so if I could reverse
that I would not have to reload the OS.


--
John
Wo Unrecht zu Recht wird, wird Widerstand zur Pflicht.
[Bertolt Brecht]
 
Old 06-28-2010, 06:01 PM
Lukas Fleischer
 
Default Kernel panic after installing avr tools

On Mon, Jun 28, 2010 at 07:58:36PM +0200, John Black wrote:
> mhh is there a way to install package onto a non-bootable system
> using pacman?

Yes, just boot from a live CD, mount your root partition and either
chroot into it or use the live CD's pacman(8) binary (and the "--root"
argument) if the non-bootable system's pacman doesn't work.

> I remember that binutils and glibc was updated, so if I could
> reverse that I would not have to reload the OS.

I'm not sure if downgrading binutils and glibc only will result in a
running system but give it a try :>
 
Old 06-28-2010, 07:01 PM
John Black
 
Default Kernel panic after installing avr tools

On 06/28/2010 08:01 PM, Lukas Fleischer wrote:

On Mon, Jun 28, 2010 at 07:58:36PM +0200, John Black wrote:
Yes, just boot from a live CD, mount your root partition and either
chroot into it or use the live CD's pacman(8) binary (and the "--root"
argument) if the non-bootable system's pacman doesn't work.


thank you very much, BOTH of YOU!

Using --root let me avoid using chroot. I checked the pacman log and
reverted these two:


linux-api-headers (2.6.33.1-1 -> 2.6.34-1)
glibc (2.11.1-2 -> 2.12-4)

My server is booting once again

--
John
Wo Unrecht zu Recht wird, wird Widerstand zur Pflicht.
[Bertolt Brecht]
 

Thread Tools




All times are GMT. The time now is 04:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org