View previous topic :: View next topic |
Author |
Message |
plice Tux's lil' helper


Joined: 09 Nov 2009 Posts: 84 Location: Poland
|
Posted: Mon Nov 09, 2009 12:14 pm Post subject: Kernel Panic eth0 onboard |
|
|
Hello,
I installed gentoo-hardened as per notes etc. All was going ok, but I got Kernel panic at the boot:
(sorry i can't provide more logs ...)
Kernel panic: not syncing: Fatal exception in interrupt
I'm pretty sure its eth0 drivers though? When I went through interactive mode on startup. I'm pretty sure i'm not loading correct drivers
Stats from the Live CD (where loading CONFIG_FORCEDETH drivers for eth0 work fine...)
I have tried adding into network devices the forcedeth drivers but no use
Pls advise
thank you
lspci
00:00.0 Host bridge: nVidia Corporation MCP73 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation nForce 630i memory controller (rev a2)
00:01.0 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.1 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.2 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.3 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.4 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.5 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.6 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:02.0 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:03.0 ISA bridge: nVidia Corporation MCP73 LPC Bridge (rev a2)
00:03.1 SMBus: nVidia Corporation MCP73 SMBus (rev a1)
00:03.2 RAM memory: nVidia Corporation MCP73 Memory Controller (rev a1)
00:03.4 RAM memory: nVidia Corporation MCP73 Memory Controller (rev a1)
00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i (rev a1)
00:04.1 USB Controller: nVidia Corporation GeForce 7100/nForce 630i (rev a1)
00:08.0 IDE interface: nVidia Corporation MCP73 IDE (rev a1)
00:09.0 Audio device: nVidia Corporation MCP73 High Definition Audio (rev a1)
00:0a.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0b.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0c.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0d.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0e.0 SATA controller: nVidia Corporation GeForce 7100/nForce 630i (rev a2)
00:0f.0 Ethernet controller: nVidia Corporation MCP73 Ethernet (rev a2)
02:00.0 VGA compatible controller: nVidia Corporation Device 06e6 (rev a1)
03:00.0 Communication controller: Agere Systems Device 0630 (rev 01)
04:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. Device 3403
lsmod
Code: | Module Size Used by
ipv6 246368 16
snd_pcm_oss 34464 0
snd_mixer_oss 14712 1 snd_pcm_oss
snd_seq_oss 26848 0
snd_seq_midi_event 7496 1 snd_seq_oss
snd_seq 50272 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 7420 2 snd_seq_oss,snd_seq
video 21892 0
backlight 4960 1 video
output 3272 1 video
ac 3752 0
battery 7736 0
button 6424 0
fan 3880 0
thermal 15864 0
processor 37288 0
thermal_sys 14880 4 video,fan,thermal,processor
snd_hda_codec_realtek 249804 1
snd_hda_intel 26296 0
snd_hda_codec 66840 2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm 71184 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 21192 2 snd_seq,snd_pcm
snd 61880 10 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,\
snd_seq,snd_seq_device,snd_hda_codec_realtek,\
snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore 7792 1 snd
snd_page_alloc 9528 2 snd_hda_intel,snd_pcm
forcedeth 53140 0
rtc 7928 0
tg3 102972 0
libphy 23256 1 tg3
e1000 114556 0
fuse 53568 0
jfs 152224 0
raid10 20136 0
raid456 47512 0
async_memcpy 2312 1 raid456
async_xor 3720 1 raid456
xor 5400 2 raid456,async_xor
async_tx 3752 3 raid456,async_memcpy,async_xor
raid6_pq 80936 1 raid456
raid1 20504 0
raid0 6876 0
dm_bbr 10352 0
dm_snapshot 22188 0
dm_mirror 14320 0
dm_region_hash 12168 1 dm_mirror
dm_log 9612 2 dm_mirror,dm_region_hash
dm_mod 56792 4 dm_bbr,dm_snapshot,dm_mirror,dm_log
scsi_wait_scan 1400 0
sbp2 22532 0
ohci1394 29396 0
ieee1394 86240 2 sbp2,ohci1394
sl811_hcd 10872 0
usbhid 26720 0
ohci_hcd 22148 0
uhci_hcd 21568 0
usb_storage 74720 0
ehci_hcd 33620 0
usbcore 143904 7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
lpfc 262676 0
qla2xxx 206212 0
megaraid_sas 36124 0
megaraid_mbox 29368 0
megaraid_mm 9624 1 megaraid_mbox
megaraid 40408 0
aacraid 69792 0
sx8 15272 0
DAC960 66752 0
cciss 38040 0
3w_9xxx 32776 0
3w_xxxx 23728 0
mptsas 33144 0
scsi_transport_sas 30504 1 mptsas
mptfc 16560 0
scsi_transport_fc 43564 3 lpfc,qla2xxx,mptfc
scsi_tgt 13200 1 scsi_transport_fc
mptspi 17544 0
mptscsih 32888 3 mptsas,mptfc,mptspi
mptbase 78900 4 mptsas,mptfc,mptspi,mptscsih
atp870u 26944 0
dc395x 31508 0
qla1280 22608 0
dmx3191d 11224 0
sym53c8xx 71152 0
gdth 79128 0
advansys 55392 0
initio 17608 0
BusLogic 22976 0
arcmsr 22400 0
aic7xxx 116812 0
aic79xx 134668 0
scsi_transport_spi 23752 5 mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx
sg 29408 0
pdc_adma 7900 0
sata_inic162x 10220 0
sata_mv 29436 0
ata_piix 26428 0
ahci 36232 4
sata_qstor 7964 0
sata_vsc 6380 0
sata_uli 5116 0
sata_sis 6284 0
sata_sx4 10588 0
sata_nv 24768 0
sata_via 11276 0
sata_svw 6316 0
sata_sil24 14396 0
sata_sil 10672 0
sata_promise 12796 0
pata_sl82c105 5576 0
pata_cs5530 6536 0
pata_cs5520 6504 0
pata_via 10784 0
pata_jmicron 3944 0
pata_marvell 4536 0
pata_sis 13148 1 sata_sis
pata_netcell 3980 0
pata_sc1200 4776 0
pata_pdc202xx_old 6440 0
pata_triflex 5004 0
pata_atiixp 5624 0
pata_opti 4732 0
pata_amd 13548 0
pata_ali 12040 0
pata_it8213 5500 0
pata_pcmcia 14392 0
pcmcia 35376 1 pata_pcmcia
firmware_class 8504 5 tg3,qla2xxx,qla1280,advansys,pcmcia
pcmcia_core 36468 1 pcmcia
pata_ns87415 5164 0
pata_ns87410 4808 0
pata_serverworks 7928 0
pata_artop 6892 0
pata_it821x 11900 0
pata_optidma 6880 0
pata_hpt3x2n 6776 0
pata_hpt3x3 5372 0
pata_hpt37x 13832 0
pata_hpt366 7176 0
pata_cmd64x 7768 0
pata_efar 5372 0
pata_rz1000 4476 0
pata_sil680 7036 0
pata_radisys 4876 0
pata_pdc2027x 8908 0
pata_mpiix 5052 0
libata 175132 50 pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,\
sata_qstor,sata_vsc,sata_uli,sata_sis,\
sata_sx4,sata_nv,sata_via,sata_svw,\
sata_sil24,sata_sil,sata_promise,pata_sl82c105,\
pata_cs5530,pata_cs5520,pata_via,pata_jmicron,\
pata_marvell,pata_sis,pata_netcell,pata_sc1200,\
pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,\
pata_amd,pata_ali,pata_it8213,pata_pcmcia,\
pata_ns87415,pata_ns87410,pata_serverworks,pata_artop,\
pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,\
pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,\
pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix |
Split long lines above to avoid excessively wide page, then wrapped it in [ code ] tags for added clarity -- Akkara |
|
Back to top |
|
 |
Trotskey n00b


Joined: 16 Jul 2009 Posts: 38
|
Posted: Mon Nov 09, 2009 2:05 pm Post subject: |
|
|
Here is a good place to start trying to fix your kernel:
follow the guide here:
http://62.3.120.141/~pappy/
paste lspci -n here:
http://kmuto.jp/debian/hcl/
good luck!  _________________ If it works the first time, there must be something terribly wrong with it. |
|
Back to top |
|
 |
whiteghost Guru


Joined: 26 Jul 2009 Posts: 374 Location: north dakota
|
Posted: Mon Nov 09, 2009 2:22 pm Post subject: |
|
|
drivers to recognize filesystems and hard drives need to be built into kernel, not as modules.
such as sata_nv
and yes pappys kernel seeds will help you. |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Nov 09, 2009 2:27 pm Post subject: |
|
|
assuming your guessing right with your ethernet driver.
1/ lspci -v : this will gives you the module used for your network card
2/ add that module name to /etc/module.d/blacklist
Now your gentoo will boot, try to trigger net.eth0 but without module card won't be seen and fail.
If you get the prompt, chances your ethernet driver was doing the crash are high now.
modprobe ethernetdriver
/etc/init.d/net.eth0 restart
if it crash, you were right. (saddly if it doesn't crash, that won't gives you proof it's not the driver, just a clue) |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Nov 09, 2009 2:37 pm Post subject: |
|
|
whiteghost wrote: | drivers to recognize filesystems and hard drives need to be built into kernel, not as modules.
such as sata_nv
|
No. Only the driver that need the disk used to let gentoo boot. It's perfect legit for example a SATA driver inside kernel + a PATA as module. It's also legit to use SCSI inside kernel and SATA+PATA as module... So PATA inside + SATA module is right as long as your root isn't in a sata drive.
Same for filesystem: using EXT3 inside kernel and EXT4 as module.
And i think he is showing the modules loaded from livecd as his kernel fail to boot. That should explain tons of modules loaded |
|
Back to top |
|
 |
plice Tux's lil' helper


Joined: 09 Nov 2009 Posts: 84 Location: Poland
|
Posted: Mon Nov 09, 2009 11:38 pm Post subject: |
|
|
Hi,
sorry, yes, I have shown all the modules from liveCD. It must , somehow work, as from liveCD the eth0 is fine . . .
i've build the kernel without any modules (i think it's safer for a server system that way)
see if i can manage today, going away for a while :/
thanks  |
|
Back to top |
|
 |
Crimjob Tux's lil' helper


Joined: 04 Dec 2006 Posts: 111
|
|
Back to top |
|
 |
cach0rr0 Bodhisattva


Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Mon Nov 16, 2009 1:14 am Post subject: |
|
|
you just linked us back to this same thread
at any rate, which kernel sources did you choose? hardened-sources or which?
I've seen SELinux cause this symptom, if you chose a kernel sources set that has SELinux rubbish in it, try adding selinux=0 in grub.conf and see if that doesn't sort it. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
 |
plice Tux's lil' helper


Joined: 09 Nov 2009 Posts: 84 Location: Poland
|
Posted: Thu Dec 17, 2009 1:53 am Post subject: |
|
|
Hi,
sorted. Used newer forcedeth drivers than in the gentoo-hardened.Had a chat with 'pappy'
thanks. |
|
Back to top |
|
 |
|
|
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
|
|