Kernel Panic mit S-ATA

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Kernel Panic mit S-ATA

Beitrag von rantanplan » 09.04.2006 15:28:28

Habe mein System mit S-ATA nachgerüstet und einen neuen Kernel gebaut ohne initrd. Leider bekomme ich eine Kernel Panic Meldung, ich denke aber, dass ich alle Sachen die nötig sind fest im Kernel habe. Dem scheint leider nicht so zu sein, ich weiss nicht welche Option noch fehlen könnte.

Hier meine config http://nopaste.debianforum.de/2873

Ausgabe von lspci:

Code: Alles auswählen

debian:/usr/src/linux# lspci
0000:00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
0000:00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
0000:00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
0000:00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
0000:00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
0000:00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
0000:02:09.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
0000:02:0a.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
0000:02:0b.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
Weiss jemand was noch in der config fehlt? Danke schonmal!

Spasswolf
Beiträge: 3472
Registriert: 30.11.2005 10:32:22
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Wald

Beitrag von Spasswolf » 09.04.2006 15:39:26

In der .config konnte ich keinen Fehler finden, wie ist denn die genaue Fehlermeldung der Kernel Panic ?

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 09.04.2006 15:46:13

Mit welchem Kernel ? Und mal ein Original Kernel probiert ?
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 15:47:32

Habe noch etwas sehr seltsames an meinem System entdeckt, denke aber nicht, dass es was mit der Kernel Panic zu tun hat. Habe 2 Einträge in meiner menu.lst:

Code: Alles auswählen

title           Debian GNU/Linux, kernel 2.6.16.2
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.16.2 root=/dev/sda1 ro
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.16.2
root            (hd1,0)
kernel          /boot/vmlinuz root=/dev/sda1 ro
savedefault
boot
Ausgabe von "ls -la /boot/" ergibt:

Code: Alles auswählen

lrwxrwxrwx   1 root root      16 2006-04-09 15:17 vmlinuz -> vmlinuz-2.6.16.2
Beim booten des ersten Eintrages sagt Gub "file does not exist", Eintrag 2 geht, zumindest bis zur Kernel Panic... Ich glaube ich bin heute blind ;-). Ich sehe einfach keien Unterschied...

Starte mein System jetzt mal neu und poste die genaue Fehlermeldung der Kernel Panic...
Bin ich

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 15:54:36

Hier die Error Meldung:

Code: Alles auswählen

VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please appent a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 09.04.2006 16:42:34

Die Frage http://www.debianforum.de/forum/viewtop ... 443#400443 gelesen ?

Und dann poste mal deine Fstab und auch den Inhalt des Vezeichnnisses /boot und die komplette menu.lst . Auch die Kommentare sind nicht ganz unwichtig.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 16:52:55

Was meinst Du genau mit Originalkernel? Mit dem Kernel, der nach der Installation verwendet wird? Wenn Du das meinst, mit diesem bin ich gerade unterwegs, der hat aber auch eine initrd.


Code: Alles auswählen

debian:/boot# ls -la
total 11528
drwxr-xr-x   3 root root    4096 2006-04-09 15:17 .
drwxr-xr-x  21 root root    4096 2006-04-09 14:29 ..
lrwxrwxrwx   1 root root      15 2006-04-09 15:17 config -> config-2.6.16.2
-rw-r--r--   1 root root   66007 2006-03-06 13:29 config-2.6.15-1-486
-rw-r--r--   1 root root   45658 2006-04-09 15:17 config-2.6.16.2
-rw-r--r--   1 root root   45255 2006-04-09 14:55 config-2.6.16.2.old
lrwxrwxrwx   1 root root      19 2006-04-09 15:17 config.old -> config-2.6.16.2.old
drwxr-xr-x   2 root root    4096 2006-04-08 12:17 grub
-rw-r--r--   1 root root 4616568 2006-04-08 12:25 initrd.img-2.6.15-1-486
lrwxrwxrwx   1 root root      19 2006-04-09 15:17 System.map -> System.map-2.6.16.2
-rw-r--r--   1 root root  700998 2006-03-06 16:23 System.map-2.6.15-1-486
-rw-r--r--   1 root root  888891 2006-04-09 15:17 System.map-2.6.16.2
-rw-r--r--   1 root root  737421 2006-04-09 14:55 System.map-2.6.16.2.old
lrwxrwxrwx   1 root root      23 2006-04-09 15:17 System.map.old -> System.map-2.6.16.2.old
lrwxrwxrwx   1 root root      16 2006-04-09 15:17 vmlinuz -> vmlinuz-2.6.16.2
-rw-r--r--   1 root root 1192133 2006-03-06 16:22 vmlinuz-2.6.15-1-486
-rw-r--r--   1 root root 2051622 2006-04-09 15:17 vmlinuz-2.6.16.2
-rw-r--r--   1 root root 1375054 2006-04-09 14:55 vmlinuz-2.6.16.2.old
lrwxrwxrwx   1 root root      20 2006-04-09 15:17 vmlinuz.old -> vmlinuz-2.6.16.2.old
debian:/boot#

Code: Alles auswählen

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
password badtvsex

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.16.2
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.16.2 root=/dev/sda1 ro
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.16.2
root            (hd1,0)
kernel          /boot/vmlinuz root=/dev/sda1 ro
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.15-1-486
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.15-1-486 root=/dev/sda1 ro 
initrd		/boot/initrd.img-2.6.15-1-486
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.15-1-486 (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.15-1-486 root=/dev/sda1 ro single
initrd		/boot/initrd.img-2.6.15-1-486
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

glar00k
Beiträge: 790
Registriert: 09.07.2002 23:01:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dresden

Beitrag von glar00k » 09.04.2006 17:10:42

Hi,

hast Du es mal mit dem AHCI Treiber versucht?

Grüße

Spasswolf
Beiträge: 3472
Registriert: 30.11.2005 10:32:22
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Wald

Beitrag von Spasswolf » 09.04.2006 17:12:25

Schmeiss mal das aus dem Kernel:

Code: Alles auswählen

CONFIG_BLK_DEV_IDE_SATA=y
Das verträgt sich nicht mit

Code: Alles auswählen

CONFIG_SCSI_SATA=y

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 17:40:59

Danke schonmal für die Antworten.

@glar00k
Leider kein Erfolg :-(

@Spasswolf
Bin gerade am Kernel backen :-), Anwort sobald Testergebnis vorhanden...

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 17:45:32

Ging schneller als ich dachte, aber leider hat auch

Code: Alles auswählen

# CONFIG_BLK_DEV_IDE_SATA is not set
nichts gebracht :-(.

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 09.04.2006 17:48:36

Poste doch mal die Module des laufenden Kernels.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 17:54:41

Code: Alles auswählen

debian:/home/jositz# lsmod
Module                  Size  Used by
ipv6                  222336  8
lp                     10820  0
button                  6672  0
ac                      4868  0
battery                 9732  0
sk98lin               141280  0
ide_generic             1408  0 [permanent]
snd_ice1724            61476  1
snd_ice17xx_ak4xxx      4224  1 snd_ice1724
snd_ac97_codec         82336  1 snd_ice1724
snd_ac97_bus            2304  1 snd_ac97_codec
snd_ak4114              8576  1 snd_ice1724
snd_pcm_oss            45856  0
snd_mixer_oss          16768  1 snd_pcm_oss
snd_pcm                77576  4 snd_ice1724,snd_ac97_codec,snd_ak4114,snd_pcm_oss
snd_timer              21636  1 snd_pcm
snd_page_alloc         10120  1 snd_pcm
snd_ak4xxx_adda         6016  2 snd_ice1724,snd_ice17xx_ak4xxx
snd_mpu401_uart         6784  1 snd_ice1724
snd_rawmidi            22560  1 snd_mpu401_uart
snd_seq_device          8204  1 snd_rawmidi
snd                    48612  13 snd_ice1724,snd_ac97_codec,snd_ak4114,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_ak4xxx_adda,snd_mpu401_uart,snd_rawmidi,snd_seq_device
budget_ci              13568  0
tda1004x               12676  1 budget_ci
firmware_class          9984  2 budget_ci,tda1004x
budget_core             8964  1 budget_ci
saa7146                16648  2 budget_ci,budget_core
ttpci_eeprom            2688  1 budget_core
stv0299                 9736  1 budget_ci
dvb_core               71848  3 budget_ci,budget_core,stv0299
stv0297                 7168  1 budget_ci
soundcore               9184  1 snd
joydev                  9024  0
psmouse                32516  0
evdev                   8960  1
serio_raw               6660  0
pcspkr                  1924  0
mousedev               10784  1
shpchp                 40000  0
pci_hotplug            25012  1 shpchp
parport_pc             32324  1
parport                31944  2 lp,parport_pc
rtc                    11700  0
i2c_nforce2             6528  0
i2c_core               19600  7 budget_ci,tda1004x,budget_core,ttpci_eeprom,stv0299,stv0297,i2c_nforce2
amd64_agp              11460  1
agpgart                31560  1 amd64_agp
ext3                  117768  2
jbd                    48404  1 ext3
ide_cd                 36612  0
cdrom                  33568  1 ide_cd
ide_disk               16128  0
sd_mod                 17424  4
sata_nv                 8964  3
libata                 50956  1 sata_nv
scsi_mod              125928  2 sd_mod,libata
generic                 4484  0 [permanent]
amd74xx                13084  0 [permanent]
ide_core              112544  5 ide_generic,ide_cd,ide_disk,generic,amd74xx
skge                   33936  0
ehci_hcd               29192  0
ohci_hcd               18052  0
usbcore               113540  3 ehci_hcd,ohci_hcd
thermal                13576  0
processor              23104  1 thermal
fan                     4868  0

Spasswolf
Beiträge: 3472
Registriert: 30.11.2005 10:32:22
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Wald

Beitrag von Spasswolf » 09.04.2006 18:01:29

Hast du vor dem neukompilieren

Code: Alles auswählen

make-kpkg clean 
gemacht ? (ich weiss nicht, ob das was bringt)

Beim laufenden Kernel wär auch ein

Code: Alles auswählen

dmesg | grep sata
interessant.

rantanplan
Beiträge: 119
Registriert: 03.05.2004 13:16:27

Beitrag von rantanplan » 09.04.2006 18:07:54

Code: Alles auswählen

debian:/home/jositz# dmesg | grep -i sata
sata_nv 0000:00:0a.0: version 0.8
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xC400 irq 177
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xC408 irq 177
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device removed
scsi0 : sata_nv
scsi1 : sata_nv
Ein "make-kpkg clean" habe ich nicht gemacht. Mache ich nächstes Mal ;-).

Antworten