Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[KERNEL] panic
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Thu Feb 02, 2006 5:01 pm    Post subject: [KERNEL] panic Reply with quote

Hi!
Po uruchomieniu komputera wyskoczył mi komunikat:

Code:
Ramdisk: Couldn't find valid Ram disk image starting at 0
XFS: bad magic number
XFS: SB validate failed
kernel panic - not syncing: VES : Unable to mount root fs on unkown - block (1,0)


Mój fstab:
Code:
# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.
# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1      /      ext3      noatime      1 2
/dev/hdb6      none      swap      sw      0 0
/dev/hdb5      /home      ext3      noatime      0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro   0 0
/dev/fd0      /mnt/floppy   auto      noauto      0 0
/dev/hdd      /mnt/dvd   auto      noauto,user   0 0
# NOTE: The next line is critical for boot!
proc         /proc      proc      defaults   0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


i lilo.conf:

Code:

# $Header: /var/cvsroot/gentoo-x86/sys-boot/lilo/files/lilo.conf,v 1.2 2004/07/18 04:42:04 dragonheart Exp $
# Author: Ultanium
#
# Start LILO global section
#
# Faster, but won't work on all systems:
#compact
# Should work for most systems, and do not have the sector limit:
#lba32
# If lba32 do not work, use linear:
#linear
# MBR to install LILO to:
boot="/dev/hdb"
#map = /boot/.map
# If you are having problems booting from a hardware raid-array
# or have a unusual setup, try this:
#disk=/dev/ataraid/disc0/disc bios=0x80  # see this as the first BIOS disk
#disk=/dev/sda bios=0x81                 # see this as the second BIOS disk
#disk=/dev/hda bios=0x82                 # see this as the third BIOS disk
# Here you can select the secondary loader to install.  A few
# examples is:
#
#    boot-text.b
#    boot-menu.b
#    boot-bmp.b
#
#install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
                              # do not need boot-{text,menu,bmp}.b in
                              # /boot, as they are linked into the lilo
                              # binary.
#menu-scheme=Wb
#prompt
# If you always want to see the prompt with a 15 second timeout:
#timeout="0"
#delay = 50
# Normal VGA console
#vga="773"
# VESA console with size 1024x768x16:
#vga = 791
#
# End LILO global section
#
# Linux bootable partition config begins
#
default=Gentoo

image="/boot/kernel-genkernel-x86-2.6.14-gentoo-r5"
   root="/dev/ram0"
   #root = /devices/discs/disc0/part3
   label="Gentoo"
   read-only # read-only for checking
   append="init=/linuxrc real_root=/dev/hdb1"
   initrd="/boot/initramfs-genkernel-x86-2.6.14-gentoo-r5"
#
# Linux bootable partition config ends


kierując się tematem https://forums.gentoo.org/viewtopic-t-341228-highlight-kernel+panic+syncing+vfs+unable+mount+root+fs+unkownbloc.html
zmieniłem w lilo.conf
Code:
real_root=/dev/hdb1

na
Code:
real_root=/dev/hdb


Jednak teraz wyskakuje:

Code:

Mount: Mounting /dev/hdb on /newroot failed: invalid argument
!! Could not mount specified ROOT, try again
!! The root block device is unspecified on not detected.
Please specify a device to boot, or "shell" for a shell...
boot ()::


Po boot ():: muszę coś wpisać, ale nie wiem co.

PS.Mam nadzieję że dobrze opisałem problem i modzi nie będą się czepiać...
Back to top
View user's profile Send private message
Riklaunim
Apprentice
Apprentice


Joined: 16 Dec 2004
Posts: 286
Location: Poland

PostPosted: Thu Feb 02, 2006 5:15 pm    Post subject: Reply with quote

ja używam gruba i real_root u mnie jest /dev/hda* gdzie * to numer partycji z gentoo :)
_________________
Biblioteka CMS i PHP | Biblioteka Linuksa | Biblioteka cRPG | Biblioteka Pythona
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Thu Feb 02, 2006 5:29 pm    Post subject: Reply with quote

Riklaunim wrote:
ja używam gruba i real_root u mnie jest /dev/hda* gdzie * to numer partycji z gentoo :)

ja też tak miałem, dopóki nie wyskoczyło:
Code:
Ramdisk: Couldn't find valid Ram disk image starting at 0
XFS: bad magic number
XFS: SB validate failed
kernel panic - not syncing: VES : Unable to mount root fs on unkown - block (1,0)

potem zmieniłem na samo hdb
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Thu Feb 02, 2006 5:35 pm    Post subject: Reply with quote

Sypnął Ci się system plików albo go nie wkompilowałeś w kernel - statycznie! a nie jako moduł.
_________________
powered by power plant
Back to top
View user's profile Send private message
arsen
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 1803
Location: Tychy, Poland

PostPosted: Thu Feb 02, 2006 5:40 pm    Post subject: Reply with quote

problem niby w xfs.......ale ty w fstab masz wszędzie oznaczenie ext3 a nie xfs, jaki wreszcie masz system plików ?

ps. apel punkt 8
Back to top
View user's profile Send private message
qermit
Veteran
Veteran


Joined: 02 Feb 2005
Posts: 1032

PostPosted: Thu Feb 02, 2006 6:10 pm    Post subject: Reply with quote

odpal system z jakiegoś livecd i odpal xfs_rcovery (albo coś w tym stylu), powinno pomóc)
_________________
"A co ty masz w swoim LinuXie?" - Dr Qermit
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Thu Feb 02, 2006 6:53 pm    Post subject: Reply with quote

qermit, tzn. na live cd gentoo i po zachrotowaniu się?, czy tam jest ten program?

arsen, przepraszam ale nie mam jak, jestem na windowsie :(
a system oczywiście ext3

BeteNoire wrote:
Sypnął Ci się system plików albo go nie wkompilowałeś w kernel - statycznie! a nie jako moduł.

System mi działał...
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Fri Feb 03, 2006 11:13 am    Post subject: Reply with quote

fotografik12 wrote:
arsen, przepraszam ale nie mam jak, jestem na windowsie :(

Owszem, masz jak: http://unxutils.sourceforge.net/
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Fri Feb 03, 2006 3:09 pm    Post subject: Reply with quote

qermit wrote:
odpal system z jakiegoś livecd i odpal xfs_rcovery (albo coś w tym stylu), powinno pomóc)

czyli zostało mi sprawdzenie poleceniem xfs_rcovery? partycji ext3?
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Fri Feb 03, 2006 3:11 pm    Post subject: Reply with quote

Rany, człowieku, myśl! xfs to xfs a ext3 to ext3!
_________________
powered by power plant
Back to top
View user's profile Send private message
rzabcio
Guru
Guru


Joined: 07 Nov 2005
Posts: 419
Location: Poznań

PostPosted: Fri Feb 03, 2006 3:20 pm    Post subject: Reply with quote

To nie jest takie proste. Kolejna osoba ma ten problem, a odpowiedzi to najczęściej - "wkompiluj obsługę XFSa do jądra".
Też wyskoczył mi taki "kernal panic", też dostałem taką odpowiedź a nigdy nie miałem xfsa. Problem leży gdzie indziej - sprawa jest bardzo dziwna.

Dlatego kolega fotografik myli pojęcia - ma taką samą sytuację. Mi pomogło przywrócenie starego jądra (akurat zrobiłem zapas).
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Fri Feb 03, 2006 4:07 pm    Post subject: Reply with quote

rzabcio wrote:
To nie jest takie proste. Kolejna osoba ma ten problem, a odpowiedzi to najczęściej - "wkompiluj obsługę XFSa do jądra".
Też wyskoczył mi taki "kernal panic", też dostałem taką odpowiedź a nigdy nie miałem xfsa. Problem leży gdzie indziej - sprawa jest bardzo dziwna.

Dlatego kolega fotografik myli pojęcia - ma taką samą sytuację. Mi pomogło przywrócenie starego jądra (akurat zrobiłem zapas).


eh, a ja go nie mam.. a wróciłem do poprzednich ustawień jądra, zmieniłem tylko stery drukarki z * na M, ale po zmienieniu z powrotem na *, problem został, więc może to nie wina kernela?
jeżeli nikt nie zna rozwiązania, to jak wygenerować zupełnie nowy kernel?
używam genkernela, i genkernel --menuconfig all pozwala edytować poprzednie ustawienia...
Back to top
View user's profile Send private message
Radioaktywny
Apprentice
Apprentice


Joined: 01 Sep 2005
Posts: 248
Location: Jestem przed komputerem ;)

PostPosted: Fri Feb 03, 2006 4:22 pm    Post subject: Reply with quote

fotografik12 wrote:
... to jak wygenerować zupełnie nowy kernel?
używam genkernela, i genkernel --menuconfig all pozwala edytować poprzednie ustawienia...


Emergujesz najnowszy kernel, teraz to chyba 2.6.15-r1.
A reszta wygląda na przykład tak:
Code:
cd /usr/src/
rm linux
ln -s linux-2.6.15-1  linux
cd linux
genkernel --menuconfig all

Konfigurujesz kernel i edytujesz i przeładowujesz lilo/grub.
_________________
pozdrawiam
Radioaktywny
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Sat Feb 04, 2006 10:39 am    Post subject: Reply with quote

zrobiłem
Code:
emerge -du gentoo-sources
, po dwóch godzinach w kernelu wyłączyłem tylko drm dla xfree, skompilowałem kernel, dodałem do lilo, przeładowałem, i nadal to samo, ale komunikat się zmienił ;) :

Code:
*Remounting root filesystem read-only (if necessary) ...
*Checking root filesystem ...
fsck.ext3 : no such file or directory while trying to open /dev/hdb1 /dev/hdb1:
The superblock could not be read or does not describe a correct ext2filesystem. If the device is valid and it really contains an ext2filesystem ( and not swap or afs or something else ) , then the superblock is corrapt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 < device>

*filesystem couldn't be fixed :( [!!]
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Sat Feb 04, 2006 10:51 am    Post subject: Reply with quote

Jeżeli dobrze rozumiem, to:
Quote:

fsck.ext3 : no such file or directory while trying to open /dev/hdb1

sugerowałoby, że urządzenie hdb1 nie istnieje w /dev. Sprawdź czy tak jest w istocie? Na bardzo upartego, możesz też wyłączyć sprawdzanie systemu plików w /etc/fstab.
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Sat Feb 04, 2006 11:03 am    Post subject: Reply with quote

partycja jest, system działał, live cd też pokazuje że jest :/
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Sat Feb 04, 2006 1:53 pm    Post subject: Reply with quote

Co pokazuje fdisk -l /dev/hdb ?
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Sat Feb 04, 2006 4:25 pm    Post subject: Reply with quote

argasek wrote:
Co pokazuje fdisk -l /dev/hdb ?

system wstał, jeżeli to konieczne, to zamieszczę,

podczas startu wyskoczyło:
Code:
dev/hdb1 has been mounted 22 times without bein, chcked, check forced...

system wstał, ale te montowanie ostatnio często mi się zdarzało....
w każdym bądź razie, pisząc że system wstał, nie mam na myśli że wszystko jest ok..
np przy logowaniu ( także roota ) wyskakuje:
Code:

configuration error -unkown item "FAILLOY_ENAB" ( notify administrator )
configuration error -unkown item "LASTLOG_ENAB" ( notify administrator )
configuration error -unkown item "MOTD_FILE" ( notify administrator )
configuration error -unkown item "FTMP_FILE" ( notify administrator )
configuration error -unkown item "ENV_ROOTPATH" ( notify administrator )
configuration error -unkown item "PASS_MIN_LEN" ( notify administrator )
configuration error -unkown item "CHFN_AUTH" ( notify administrator )


po zalogowaniu, po poleceniu startx X'y nie ładują się, wyskakuje sławny błąd "no screens found", na to pomagało wygenerowanie nowego xorg.conf, ale teraz nie pomaga :(

eh... co robić?
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Sat Feb 04, 2006 4:40 pm    Post subject: Reply with quote

fotografik12 wrote:

configuration error -unkown item "FAILLOY_ENAB" ( notify administrator )
configuration error -unkown item "LASTLOG_ENAB" ( notify administrator )
configuration error -unkown item "MOTD_FILE" ( notify administrator )
configuration error -unkown item "FTMP_FILE" ( notify administrator )
configuration error -unkown item "ENV_ROOTPATH" ( notify administrator )
configuration error -unkown item "PASS_MIN_LEN" ( notify administrator )
configuration error -unkown item "CHFN_AUTH" ( notify administrator )


etc-update
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
fotografik12
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2005
Posts: 111

PostPosted: Sat Feb 04, 2006 9:39 pm    Post subject: Reply with quote

no dobra, ale czasem nadal wyskakuje ten komunikat, i muszę kilka razy restartować komputer żeby uruchomić system...
czy to ma coś wspólnego z kernelem ?!
czy to może być wina uszkodzonej partycji? Bad sectora? Czy w linuxie jest coś takiego jak scandisk?
Back to top
View user's profile Send private message
Piecia
Guru
Guru


Joined: 12 Nov 2004
Posts: 447
Location: znienacka

PostPosted: Sun Feb 05, 2006 2:55 pm    Post subject: Reply with quote

badblocks z sys-fs/e2fsprogs

U siebie na moim "serwerku" ostatnimi czasami miałem ciągle kernel panic, zrzut na ekran zawartośc rejestrów, stosu itp, a potem tylko twardy reset bo komp nie reagował na nic. Myślałem, że to wina oprogramowania ale na livecd też mi występowało. Więc to wina raczej sprzętu tylko nie wiem jak to sprawdzić.

Co byście polecili do dogłębnego sprawdzenia sprzętu?
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Sun Feb 05, 2006 3:12 pm    Post subject: Reply with quote

Piecia wrote:
badblocks z sys-fs/e2fsprogs

U siebie na moim "serwerku" ostatnimi czasami miałem ciągle kernel panic, zrzut na ekran zawartośc rejestrów, stosu itp, a potem tylko twardy reset bo komp nie reagował na nic. Myślałem, że to wina oprogramowania ale na livecd też mi występowało. Więc to wina raczej sprzętu tylko nie wiem jak to sprawdzić.

Co byście polecili do dogłębnego sprawdzenia sprzętu?


Niewątpliwie memtest86. Tobie, fotografik12, też.
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
Piecia
Guru
Guru


Joined: 12 Nov 2004
Posts: 447
Location: znienacka

PostPosted: Tue Feb 07, 2006 9:12 am    Post subject: Reply with quote

Memtest niczego nie wykazał. Ale doszukałem się w czym może tkwić problem. Mój serwer posiada 20GB dysk i nie wiem dlaczego bios czasem wyświetla go jako 528MB. Muszę jeszcze raz w bios'ie wykryć dyski lub wybrać auto. I pewnie stąd u mnie kernel panic jeśli przy działającym systemie 20GB dysk zamienia się na 528MB. Albo dysk albo taśma nawala. Stawiam na taśmę, jak wrócę to wymienię.

ps.memtest w sumie tylko pamięci sprawdza, a coś coby sprawdziło cały sprzęt z możliwością zapętlenia? Jest w ogóle taka możliwość?

edit:
Jednak to nie taśma :(. Już przygotowałem dysk pod LVM ale przy każdym wyłączeniu na livecd komp się zawiesz, a przy starcie w bios'ie figuruje dysk 528MB. Jakieś pomysły?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum