You are not logged in.

#1 2006-12-31 17:59:35

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Fresh install produces kernel panic

Oh boyz,

I really don't know where to continue....

Several days I goofed around, I really hope somebody can help me
further. OK, here's my story...

I run a fine ARCH on a laptop, I joined half a year ago. I started with
a 2.4 kernel, and then got updated until the recent 2.6.19 now. At that
point, let me say BIG THX to you arch guys. You are really doing a fine
work. I hope I can give something back to the community some day.

Some days ago I purchased a second laptop, a Siemens 1,8 Celeron with
a 40GB disc. So, it's not a very exotic thing, it's simply a (kinda
old) working horse.

I took my 0.7 floppies and started a floppy-ftp install. So far so good.
Everything went well, internet connection and so on until....... I
rebooted the "new" :-) system.

BTW: The configuration is not very exciting.... no extra partioning, no
special hardware. So I stepped through the installation guide and tried
to figure out via the search function of the forum what went wrong.
Believe it or not, I am trying for several days to get the machine
running. I CAN'T GET RID OF THAT:

hda: cache flushes supported
  hda: hda1 hda2 hda3
hdc: ATAPI 24X CD-ROM drive...
Uniform CD-ROM driver Revision: 3.20
done.
:: Running Hook [filesystems]
:: Loading root filesystems module... ext3
:: Initramfs Completed - control passing to kinit
ATTENTION:
If you get a kernel panic below and are using an Intel chipset, append
'earlymodules=piix' to the kernel commandline
IP-Config: no devices to configure
kinit: Cannot open root device hda3(3,3)
kinit: init not found
Kernel panic - not syncing: Attempted to kill init

OK, what did I try ? At first (of course) to append the
earlymodules=pixx in the menu.lst of GRUB. No effect.
Then renaming the devices in fstab and menu.lst from hdax to sdx. No
effect. Hm. Installing a 2.4 kernel failed, it could not be found by
the installer. BTW, the "i8042.panicblink=0" is a fine thing to get rid
of the "Spurious Ack" message, which covers the original error messages
very quickly.

So... can somebody help me of give me a hint ?
What I suppose....I think that the installation procedure using the
available floppy images is not enough for installing the recent
kernel, it needs some manual tuning. But which ?

Maybe its a good idea to append some configuration infos:

(menu.lst)

title ARCH
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda3 i8042.panicblink=0 ro 
initrd /kernel26.img

(fstab)

none  /dev/pts  devpts default        0      0
none  /dev/shm  tmpfs  defaults       0      0

/dev/cdrom      /mnt/cd   iso9660   ro,user,noauto,unhide 0 0
/dev/dvd        /mnt/dvd  udf       ro,user,noauto,unhide   0
0 /dev/fd0      /mnt/fl   vfat      user,noauto 0 0

/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap defaults 0 0

(rc.conf)

LOCALE stuff...

MOD_AUTOLOAD="yes"
MOD_BLACKLIST=()

MODULES=(floppy)

USELVM="no"

...network stuff...

DAEMONS=(syslog-ng network netfs crond)

Ideas ?

Greez from Nuremberg, Germany. And have a good 2007 !!!!

Offline

#2 2006-12-31 18:11:32

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Fresh install produces kernel panic

I see that your /boot partition is ext2

Have you set  "ext2" in /etc/mkinitcpio.conf in the Modules=".."

since 2.6.18 ext2 isn't compile automatically in the kernel

Greez from Nuremberg, Germany. And have a good 2007 !!!!

Greez from Kassel, Germany , you have a good 07 to


Have you tried to turn it off and on again?

Offline

#3 2006-12-31 18:29:31

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

Ah, fine, greez back to Kassel !

THX for your reply, no, I didn't change the mkinicpio.conf yet. It still shows the old default values:

(mkinitcpio.conf)

MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect ide scsi sata filesystems"

Will I have to generate a new new kernel26.img when I change the Modules="" ? And BTW, I have no SCSI or SATA drives, so maybe I could drop the values in the HOOKS section ?

Offline

#4 2006-12-31 18:35:29

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Fresh install produces kernel panic

try

Modules="ext2"

and regenerate the kernel26.img

http://wiki.archlinux.org/index.php/Mkinitcpio


? And BTW, I have no SCSI or SATA drives, so maybe I could drop the values in the HOOKS section ?

yes you can


Have you tried to turn it off and on again?

Offline

#5 2006-12-31 19:07:16

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

The thing is, during installation via ftp I can't find /etc/mkinitcpio.conf. It seems to be generated when installing the kernel, but... then it's too late :-(

Any idea ?

Maybe I do a manual partitioning and chose the boot partition with ext3 ?

Offline

#6 2007-01-01 01:55:57

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Fresh install produces kernel panic

scg wrote:

The thing is, during installation via ftp I can't find /etc/mkinitcpio.conf. It seems to be generated when installing the kernel, but... then it's too late :-(

Any idea ?

Maybe I do a manual partitioning and chose the boot partition with ext3 ?

Hm, I have also installed from FTP, and there was mkinitcpio.conf...

wait, you have used floppy, have you an CDROM, can you install from the newest alpha 0.8 Voodo ISO?


If you use the boot partition with ext3, I think yo get the same problem


Have you tried to turn it off and on again?

Offline

#7 2007-01-01 09:09:07

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

Ah, thats bad  :shock:

Unfortunatedly I tried (this is the reason why I'm finally stuck with the floppies) to install from CD, but ..... my selfburned CD is refused  :cry:  As I said, it's not the youngest machine, maybe the CD drive is defect  roll

OK, no reason to give up.  8)

You said with ext3 as /boot I maybe get the same effect ? But why, the / (root) itself is ext3. I think I have to catch that moment when the hard disk is prepared during installation process. And there I have to do it manually, with a ext3 as boot, before installing the packages.

the Vodoo would be a fine thing, but there seem to be no floppy images yet  :cry:

Hm, in a way I'm a little bit stuck, caught in a vitious circle  :shock:

Offline

#8 2007-01-01 09:23:04

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Fresh install produces kernel panic

scg wrote:

Oh boyz,

hda: cache flushes supported
  hda: hda1 hda2 hda3
hdc: ATAPI 24X CD-ROM drive...
Uniform CD-ROM driver Revision: 3.20
done.
:: Running Hook [filesystems]
:: Loading root filesystems module... ext3
:: Initramfs Completed - control passing to kinit
ATTENTION:
If you get a kernel panic below and are using an Intel chipset, append
'earlymodules=piix' to the kernel commandline
IP-Config: no devices to configure
[code]kinit: Cannot open root device hda3(3,3)
kinit: init not found[/code]
Kernel panic - not syncing: Attempted to kill init

(menu.lst)

title ARCH
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda3 i8042.panicblink=0 ro 
initrd /kernel26.img

(fstab)

none  /dev/pts  devpts default        0      0
none  /dev/shm  tmpfs  defaults       0      0

/dev/cdrom      /mnt/cd   iso9660   ro,user,noauto,unhide 0 0
/dev/dvd        /mnt/dvd  udf       ro,user,noauto,unhide   0
0 /dev/fd0      /mnt/fl   vfat      user,noauto 0 0

/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap defaults 0 0

(rc.conf)

LOCALE stuff...

MOD_AUTOLOAD="yes"
MOD_BLACKLIST=()

MODULES=(floppy)

USELVM="no"

...network stuff...

DAEMONS=(syslog-ng network netfs crond)

Ideas ?

try with the fallback img, see what you get...
but i suspect your grub/menu.lst.... or your /etc/fstab

kinit: Cannot open root device hda3(3,3)
kinit: init not found

Offline

#9 2007-01-01 09:28:39

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

[code]try with the fallback img, see what you get...
but i suspect your grub/menu.lst.... or your /etc/fstab
[/quote]

the fallback has the same effect :cry:

:?:  :?:  :?:

Offline

#10 2007-01-01 11:28:03

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Fresh install produces kernel panic

scg wrote:

Ah, thats bad  :shock:

Unfortunatedly I tried (this is the reason why I'm finally stuck with the floppies) to install from CD, but ..... my selfburned CD is refused  :cry:  As I said, it's not the youngest machine, maybe the CD drive is defect  roll

OK, no reason to give up.  8)

You said with ext3 as /boot I maybe get the same effect ? But why, the / (root) itself is ext3. I think I have to catch that moment when the hard disk is prepared during installation process. And there I have to do it manually, with a ext3 as boot, before installing the packages.

the Vodoo would be a fine thing, but there seem to be no floppy images yet  :cry:

Hm, in a way I'm a little bit stuck, caught in a vitious circle  :shock:

If you can't create the kernel26.img , you always get these problem, you must specify the filesystem in mkinitcpio.conf, but if you want, you can try it


Have you tried to turn it off and on again?

Offline

#11 2007-01-01 11:42:23

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Fresh install produces kernel panic

Have you got a Arch install CD or live CD use can use to maybe try to start or edit system ?

Grub must be working as you would not load kernel etc ... so system is booting kernel panics there seem to be loads on forums lately ...

menu.lst looks ok .. I cannot comment on ext2 as I use ext3 on my /boot

Go in try to see what kernel you have loaded ? may be a problem during install


Mr Green

Offline

#12 2007-01-01 12:34:47

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

Mr Green wrote:

Have you got a Arch install CD or live CD use can use to maybe try to start or edit system ?
..
Go in try to see what kernel you have loaded ? may be a problem during install

I can boot from the floppy version of the 0.7 installer, then
I can mount the hd and edit the config files.

How can I see which kernel is loaded ?

Mr Green wrote:

I cannot comment on ext2 as I use ext3 on my /boot

I tried both ways, partitioning manually with an ext3 as boot AND ext2 as boot, but with the MODULES="ext2" in the mkinitcpio.conf, as mentioned by fk (THX at that point!) .
BUT both ways refuse to work.

Hm, maybe the creation of the kernel image is running badly ?

In a way, there must be something wrong when installing from scratch, using teh "old" floppy version of the installer.  roll

Offline

#13 2007-01-01 13:03:11

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Fresh install produces kernel panic

Have you regenerate the kernel26.img after adding ext2?

mkinitcpio -g /boot/kernel26.img -k 2.6.19-ARCH

How can I see which kernel is loaded ?

uname -r


Have you Jabber or ICQ?


Have you tried to turn it off and on again?

Offline

#14 2007-01-01 13:20:14

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

OK, I can mount the hard drive via my floppy rescue "system" :-)

The entire disc is then located below /mnt

When I uname -r I get 2.6.15, thats the kernel that is booted from the rescue disc.

When I try to generate a new kernel image: (cd-ing to /mnt/etc before)

/mnt/sbin/mkinitcpio -g /mnt/boot/kernel26_new.img -k 2.6.19-ARCH

then I get this output:

/mnt/sbin/mkinitcpio: 18: mktemp: not found
/mnt/sbin/mkinitcpio: 19: mktemp: not found
/mnt/sbin/mkinitcpio: 57: Syntax error: Bad subsitution

This is maybe because the /mnt/sbin/mkinitcpio has nothing to do with the actually running system 2.6.15 (booted from the rescue floppies).
Sorry, no Jabber or ICQ.

Offline

#15 2007-01-01 13:22:58

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Fresh install produces kernel panic

scg wrote:

OK, I can mount the hard drive via my floppy rescue "system" :-)

The entire disc is then located below /mnt

When I uname -r I get 2.6.15, thats the kernel that is booted from the rescue disc.

When I try to generate a new kernel image: (cd-ing to /mnt/etc before)

/mnt/sbin/mkinitcpio -g /mnt/boot/kernel26_new.img -k 2.6.19-ARCH

then I get this output:

/mnt/sbin/mkinitcpio: 18: mktemp: not found
/mnt/sbin/mkinitcpio: 19: mktemp: not found
/mnt/sbin/mkinitcpio: 57: Syntax error: Bad subsitution

This is maybe because the /mnt/sbin/mkinitcpio has nothing to do with the actually running system 2.6.15 (booted from the rescue floppies).
Sorry, no Jabber or ICQ.

with the

-k

switch you tell mkinitcpio to build for the specific kernel.

At this time, I have no Idea what you can do, i can only tell you to install with the newest ISO, if you could


Have you tried to turn it off and on again?

Offline

#16 2007-01-01 13:39:52

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

argl.... I just found out, that the CD drive is working quite well... It' just my selfburned CD that is refused. the system is about to boot a SuSE from CD (but thats really not what I what  8) )  Damned ! :evil: 

But thanks so far for your assistance and your patience. I carry on trying.  big_smile

Offline

#17 2007-01-01 13:57:44

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Fresh install produces kernel panic

there are many ways to install arch you may even be able to install using suse cd and a working internet connection..


Mr Green

Offline

#18 2007-01-01 16:11:01

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

OK, thats maybe the best way. I get a Suse or a Slack (or what the heck :-) ) running, internet runs really good and I remember an article in the WIKI about installing an ARCH out of an other linux. Thanks for that idea, I'll try that way.

Thank you all for your assistance and your patience !

Offline

#19 2007-01-01 17:43:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Fresh install produces kernel panic

As far I can tell your kernel may just be the problem / bootloader

you could try chrooting in .... & fixing updating etc ....

If all else fails then of course bootstrap maybe a good option

Or Fast Arch Install from existing Linux System

HTH[/code]


Mr Green

Offline

#20 2007-01-04 19:32:54

scg
Member
From: Nuremberg, Germany
Registered: 2006-12-31
Posts: 29

Re: Fresh install produces kernel panic

OK, I have it up and running !!!

Thanks a lot, gentlemen for your kind advice. I learned a lot these days.

What did I do ? Well, the problem was, that the floppy routines combined with the actual FTP install causes trouble.

So.... OK, I changed to CD drive to a working one, took a complete 0.72 ISO and .... ZERO PROBS !!!!!

Now.... the next steps. X. But thats another story and would be OFF TOPIC here.

Offline

Board footer

Powered by FluxBB