You are not logged in.

#1 2006-09-27 19:29:59

archkick
Member
Registered: 2006-09-18
Posts: 34

Not booting

My problem is:I can't boot my machine

Yesteday i tried to compile from source myself the Kernel 2.6.18...I downloaded it and i compiled (wiki way) reboot...but i did nothing...

My 2.6.17-arch booted succesfully and till today my system used 2.6.17-arch...

Before an hour packman -Syu had a kernel upgrade but while applying changer some errors occured like "module exist in filesystem"

Anyway i rebooted my machine and now isn't booting...

Is there any way to save my system?(ex reintalling another kernel without loosing my configurations,doenloads..etc)

Thanks a lot and...please hEeelp me ! ! ! :!:

Offline

#2 2006-09-27 19:43:55

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

Re: Not booting

you will need arch install cd get back in .. & run pacman -Sf kernel26...

then check grub/lilo ....

(run lilo if using!)

kernel panic does not mean you have lost system....


Mr Green

Offline

#3 2006-09-27 20:18:37

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

I ment that i don't want to format my partition....

Thanks a lot mr.green rebootin' and i 'll be back with results,.,,

Offline

#4 2006-09-27 20:41:21

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

Results: Kernel panic Unable to mount root fs

Any suggestion?

Offline

#5 2006-09-28 00:29:12

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Not booting

Did you modified your lilo.conf or grub.lst to switch to  mkinitcpio ?

Offline

#6 2006-09-28 00:52:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Not booting

Snowman wrote:

Did you modified your lilo.conf or grub.lst to switch to  mkinitcpio ?

Of course not! Who reads all that goofy output from pacman anyway?

Offline

#7 2006-09-28 02:34:04

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

No i didn't because i use grub...
Anyway i booted my older kernel...
I think that in kernels config ext3 fs is as module and not as built in...

Now i have IgnorePkg = kernel26 in my pacmans conf...

Could you please quide me how to safely upgrade yo 2.6.18 ?

Thanks

Offline

#8 2006-09-28 04:20:36

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Not booting

There's  information and examples in the wiki:
http://wiki.archlinux.org/index.php/Mkinitcpio#GRUB

Offline

#9 2006-09-28 04:32:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Not booting

archkick wrote:

No i didn't because i use grub...
Anyway i booted my older kernel...
I think that in kernels config ext3 fs is as module and not as built in...

For the record, using grub is not an excuse for ignoring output.  pacman outputs all sorts of information.  In this case it gave you the exact information that would have prevented this problem.

Secondly, yes, the kernel now has all filesystems as modules.. and all controllers as modules.  This is what mkinitcpio does, it manages module loading for early-userspace.

Please read the wiki page snowman linked

Offline

#10 2006-09-28 12:36:42

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

Thanks guys

Offline

#11 2006-09-28 13:08:57

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

Aaaaha!...The reason i didn't configure grub i think was


warning: /etc/devfsd.conf saved as /etc/devfsd.conf.pacsave
done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  kernel26: /lib/modules/2.6.18-ARCH/modules.alias: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.ccwmap: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.dep: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.ieee1394map: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.inputmap: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.isapnpmap: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.ofmap: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.pcimap: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.seriomap: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.symbols: exists in filesystem
  kernel26: /lib/modules/2.6.18-ARCH/modules.usbmap: exists in filesystem


errors occurred, no packages were upgraded.

[root@myhost thaikick]#


This time i didn't reboot...I'm waiting for your help !


[EDIT] pacman -Rd kernel26 solved the problem proceeding to pacman -Sf kernel 26

Offline

#12 2006-09-28 13:20:51

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

Re: Not booting

not always a good idea but use -f option to load kernel...


Mr Green

Offline

#13 2006-09-28 13:37:42

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

I used

pacman -Rd kernel26

then

pacman -Sf kernel26


my $ ls /boot

System.map26  kernel26.img
initrd26.img  mkinitcpio-kernel26.conf
diag1.img   kconfig26  vmlinuz26
grub initrd26-full.img  kconfig26.pacsave kernel26-fallback.img

and my menu.lst has


# (0) Arch Linux 2.6.18-4
title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26-fallback.img

Am i ready to reboot safely?[/quote]

Offline

#14 2006-09-28 13:39:21

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

Re: Not booting

only one way to find out ;-)

you can edit grub with e... if paths are wrong ...

or test your boot with qemu ;-)


Mr Green

Offline

#15 2006-09-28 13:53:00

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Not booting

Up and runnig 2.6.18-ARCH.Thanks a lot guys...

Now a second question...

During boot this kernel is loading thusands of modules

I'd like to recompile my kernel..
after backing up my config and saving the new configs what steps i have to do?

I mean i have to run $make -s clean bzImage modules modules_install  ?

or something else?Is there something to take care this time before errors occur?

Offline

#16 2006-09-28 13:56:12

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

Re: Not booting

thats what fallback does loads every module ...

make another entry in grub with kernel26.img .. & try that ...


Mr Green

Offline

#17 2006-09-28 14:46:18

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Not booting

Actually no.  Both fallback and the normal image load as little modules as possible.  The fallback image is just much larger because it _contains_ every possible module.

As for recompiling due to "thousands of modules" - I doubt you have thousands.  I have 52.  This is normal.  The only thing compiling this stuff into the kernel is going to gain you is less output in "lsmod" - there is no technical reason to do this.

Offline

#18 2006-09-28 14:49:10

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

Re: Not booting

emmm I stand corrected ... 8)


Mr Green

Offline

#19 2006-09-28 15:42:30

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Not booting

phrakture wrote:

Actually no.  Both fallback and the normal image load as little modules as possible.  The fallback image is just much larger because it _contains_ every possible module.

I have to interrupt here.
I don't get why it loads that much modules on my pc here, here's the output of "lsmod" with kernel26.img set in lilo

[detto@myBox ~]$ lsmod
Module                  Size  Used by
capability              3592  0
commoncap               5632  1 capability
ipv6                  237472  10
nvidia               4527956  12
uhci_hcd               21004  0
amd64_agp               9732  0
agpgart                25944  2 nvidia,amd64_agp
tsdev                   6336  0
usbhid                 47776  0
ppdev                   7556  0
snd_seq_oss            29440  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                47184  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6924  2 snd_seq_oss,snd_seq
lp                      9604  0
snd_pcm_oss            39072  0
snd_mixer_oss          14592  1 snd_pcm_oss
eth1394                16772  0
evdev                   7936  1
irtty_sir               5376  0
sir_dev                11652  1 irtty_sir
irda                  113976  1 sir_dev
crc_ccitt               2304  1 irda
ohci_hcd               18564  0
snd_intel8x0           28316  5
snd_ac97_codec         87456  1 snd_intel8x0
snd_ac97_bus            2432  1 snd_ac97_codec
snd_pcm                67972  5 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              19204  4 snd_seq,snd_pcm
snd                    42724  15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
rtc                    10292  0
i2c_nforce2             6528  0
i2c_core               17280  2 nvidia,i2c_nforce2
soundcore               7776  1 snd
snd_page_alloc          7816  2 snd_intel8x0,snd_pcm
ehci_hcd               29576  0
parport_pc             35684  1
parport                31432  3 ppdev,lp,parport_pc
forcedeth              37508  0
ppp_generic            24084  0
slhc                    6656  1 ppp_generic
pcspkr                  2816  0
ohci1394               31408  0
ieee1394               83672  2 eth1394,ohci1394
serio_raw               5636  0
natsemi                24928  0
usbcore               110852  5 uhci_hcd,usbhid,ohci_hcd,ehci_hcd
ext3                  122504  3
jbd                    55080  1 ext3
mbcache                 7044  1 ext3
ide_cd                 35616  0
cdrom                  34464  1 ide_cd
sd_mod                 16640  5
amd74xx                13596  0 [permanent]
generic                 4996  0 [permanent]
ide_core              109256  3 ide_cd,amd74xx,generic
sata_nv                 8068  4
libata                 85908  1 sata_nv
[detto@myBox ~]$

crc_ccitt, rtc, mbcache and others are some that i've not seen before loaded on my machine with other distros (well, mainly slack that i remember my modules tbh). well, if all those are needed, fine. am just curious here roll

Offline

#20 2006-09-28 15:49:14

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

Re: Not booting

I never make mistakes only errors in judgement


Mr Green

Offline

#21 2006-09-28 15:52:48

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,167

Re: Not booting

crc_ccitt has have to do with infrared connections, rtc is the timer device in the cpu, mbcache has to with the ext3 filesystem.
I don't see any weird modules, although there are some that you might not need.

ex :
If you don't use infrared connections , disable it in the bios and you will have approx 5 modules less.
However, should you want to use a device like a pda/gsm over an infrared connection you will need to enable it first.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#22 2006-09-28 15:53:31

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Not booting

I'm not 100% sure what those modules are (though rtc is a "real time clock") - you can check "modinfo <module>" to see if it has a description.

On a side note, due to mkinitcpio usage, the arch kernel can be more modular than without it.  As such, much more can be built as modules, and not into the kernel (this is a good thing).

A modular architecture is a good thing.  Lets assume these 3 modules you listed do nothing, they're stupid and you never need them.  Ok, now what? What are you losing? Maybe 5K of ram? It's probably cached/swapped out at that point anyway.

Also:

crc_ccitt               2304  1 irda

crc_ccitt looks like it has to do with your IR port.

Offline

#23 2006-09-28 15:59:44

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

Re: Not booting

I like use kernel26.img & I have 55 mods loading   :?  kinda need to edit mkinitcpio.conf I guess


Mr Green

Offline

#24 2006-09-28 16:54:38

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Not booting

phrakture wrote:

I'm not 100% sure what those modules are (though rtc is a "real time clock") - you can check "modinfo <module>" to see if it has a description.

Thanx! Never knew of modinfo :oops:

phrakture wrote:

A modular architecture is a good thing.  Lets assume these 3 modules you listed do nothing, they're stupid and you never need them.  Ok, now what? What are you losing? Maybe 5K of ram? It's probably cached/swapped out at that point anyway.

Well, you're right. The theoretical benefit in speed i would not notice and are getting narly 0%.
After going throught the list again and guessing what's what things seem more clear, too. Will check some with modinfo now but am happy with things they are at the moment big_smile
Thanx for the quick helpful reply! Have a nice day 8)

cheers,
deTTo

Offline

Board footer

Powered by FluxBB