Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kernel panic kernel wyższy niż 3.6.11
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
r1f
n00b
n00b


Joined: 13 Sep 2013
Posts: 6

PostPosted: Fri Sep 13, 2013 8:40 am    Post subject: [SOLVED] Kernel panic kernel wyższy niż 3.6.11 Reply with quote

Witam,

Mam problem z przejściem z kernela 3.6.11 na wyższy z portage.
Serwer HP Proliant ML 310 G3, P4 3.2GHZ RAID 1 hardware'owy, wykrywany jest jako HP CISS.

każdy kernel nowszy niż sys-kernel/gentoo-portage-3.6.11 ma panic zaraz po bootowaniu, ekran tak szybko się przewija, ze nie jestem w stanie zobaczyc co jest na rzeczy. Konfiga daję zawsze z 3.6.11
Próbowałem poniższe jajka i efekt ten sam:

Code:
[-P-] [M ] sys-kernel/gentoo-sources-3.8.13:3.8.13
[-P-] [  ] sys-kernel/gentoo-sources-3.9.11-r1:3.9.11-r1
[-P-] [  ] sys-kernel/gentoo-sources-3.10.7:3.10.7


Jest tez ciekawostka, pobrałem czyste źródła z kernel.org w wersji 3.9.11, skompilowałem i działa.
A tak wykrywany jest kontroler:

Code:

[    0.648215] HP CISS Driver (v 3.6.26)
[    0.648704] cciss 0000:0a:02.0: PCI IRQ 26 -> rerouted to legacy IRQ 18
[    0.649041] cciss 0000:0a:02.0: Controller reports max supported commands of 0, an obvious lie. Using 16.  Ensure that firmware is up to date.
[    0.780199] cciss 0000:0a:02.0: cciss0: <0x46> at PCI 0000:0a:02.0 IRQ 18 using DAC
[    0.796449]  cciss/c0d0: p1 p2 p3 p4
[    0.797394] scsi0 : cciss


Nie wiem co sie zmienilo w kolejnych jądrach, że mam taki problem. Dodaję screena ale niewiele da sie wyczytać z tych hexów

http://imageshack.us/photo/my-images/690/cnzx.png


Last edited by r1f on Tue Sep 17, 2013 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Fri Sep 13, 2013 6:52 pm    Post subject: Reply with quote

Wlacz CONFIG_BOOT_PRINTK_DELAY=y i startuj kernel z parametrem boot_delay=500 czy wyzszym, by bylo jeszcze wolniej printowane.
Back to top
View user's profile Send private message
r1f
n00b
n00b


Joined: 13 Sep 2013
Posts: 6

PostPosted: Mon Sep 16, 2013 2:29 pm    Post subject: Reply with quote

Wygląda na to, że nie może zamontować roota

Tak wygląda menu.lst. Pierwszy kernel nie dziala, drugi bez problemów.
Code:

default 1
timeout 15
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo 3.9.11-r1-1
root (hd0,0)
kernel /boot/kernel-3.9.11-gentoo-r1-1 root=/dev/cciss/c0d0p3 radeon.modeset=1

title Gentoo 3.9.11-rif1
root (hd0,0)
kernel /boot/kernel-3.9.11-rif1 root=/dev/cciss/c0d0p3 radeon.modeset=1


A tutaj screenshot.

http://images.tinypic.pl/i/00446/rb904fjd9e6w.png
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Mon Sep 16, 2013 3:03 pm    Post subject: Reply with quote

Pobierz binarny initramfs z https://bitbucket.org/piotrkarbowski/better-initramfs/downloads i zapnij go sobie. Jak zrzuci Cie do szela to sprawdz, czy /dev/cciss/c0d0p3 istnieje i debuguj, sprawdz wtedy dmesg, /sys/block i tak dalej.

btw to wyglada jak race condition, najpierw sie krzaczy a potem discoveruje ten block device. z tym initramfs moze rootdelay=5 zalatwi sprawe. W pracy tez mam podobny problem, ze storage czasem sie pojawia pozniej, niz kernel by tego chcial.
Back to top
View user's profile Send private message
r1f
n00b
n00b


Joined: 13 Sep 2013
Posts: 6

PostPosted: Tue Sep 17, 2013 9:50 am    Post subject: Reply with quote

Podpialem tego ramdiska ale system sie nie zbootował do konca, bo nie bylo obslugi lvm. Roota zamontował i był dostęp do niego.
Back to top
View user's profile Send private message
gexcite
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2005
Posts: 116

PostPosted: Tue Sep 17, 2013 11:25 am    Post subject: Reply with quote

Daj root w menu grub tak:
root=/dev/cciss!c0d0p3

W fstab nie zmieniaj
Back to top
View user's profile Send private message
r1f
n00b
n00b


Joined: 13 Sep 2013
Posts: 6

PostPosted: Tue Sep 17, 2013 11:38 am    Post subject: Reply with quote

gexcite wrote:
Daj root w menu grub tak:
root=/dev/cciss!c0d0p3

W fstab nie zmieniaj


Działa, to wystarczyło :]
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Tue Sep 17, 2013 3:02 pm    Post subject: Reply with quote

gexcite wrote:
Daj root w menu grub tak:
root=/dev/cciss!c0d0p3

W fstab nie zmieniaj


Co to za zapis i feature z tym wykrzyknikiem?
Back to top
View user's profile Send private message
r1f
n00b
n00b


Joined: 13 Sep 2013
Posts: 6

PostPosted: Tue Sep 17, 2013 3:26 pm    Post subject: Reply with quote

Nie wiem ale teraz tak się listuje w /dev
Back to top
View user's profile Send private message
r1f
n00b
n00b


Joined: 13 Sep 2013
Posts: 6

PostPosted: Tue Sep 17, 2013 4:38 pm    Post subject: Reply with quote

Nie wiem ale teraz tak się listuje w /dev
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