Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(gelöst) Dell Inspiron 6000 - Problem mit SATA-Festplatte
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 6:34 pm    Post subject: (gelöst) Dell Inspiron 6000 - Problem mit SATA-Festplatte Reply with quote

Hallo!!!

Ich habe hier ein GROSSES Problem!!!
Ich versuche schon seit mehreren Tagen Gentoo 2005.1-r1 an meinen Dell I6000 zum laufen zu bekommen. Die Installation hat soweit alles schön geklappt, doch ich kann Gentoo nicht booten. Da ich DualBoot gemacht habe, komme ich problemlos in WindowsXP rein, doch bei Gentoo kriege ich ständig Kernel panic.
Ich habe hier paar Sachen aufgelistet, die vielleicht für Linuxkenner von Bedeutung sein könnten um mein Problem zu beheben:

Also hier ist mein fdisk -l:

Code:

Device       Boot   Start   End   Blocks      Id   System
/dev/sda1      1   8093   65006991   7   HPFS/NTFS
/dev/sda2   *   8094   8099   48195      83   Linux
/dev/sda3      8100   9729   13092975   5   Extended
/dev/sda5      8100   8224   1004031      83   Linux
/dev/sda6      8225   8972   6008278+   83   Linux
/dev/sda7      8973   9729   6080571      83   Linux


und hier meine grub.conf

Code:

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

title=WindowsXP
rootnoverify (hd0,0)
makeactive
chainloader +1

title=Gentoo
root (hd0,1)
kernel (hd0,1)/kernel-2.6.12-gentoo-r10 root=/dev/sda5



also wie schon bereits erwähnt, kann ich Windows problemlos starten. Ich habe das Filesystem fest in den Kernel eingebunden und habe den Kernel selber kompiliert.


Edit:
Habe jetzt noch low-level SCSI-Support in den Kernel eingebunden und als Resultat darauf hat sich die Fehlermeldung verändert, sieht jetzt also folgendermassen aus:
Code:

NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
   LID PBTN PCI0 USB0 USB1 USB2 USB4 USB3 MODM PCIE
ACPI: (supports S0 S3 S4 S4bios S5)
VFS: Cannot open root device "sda5" or unknown-block(8,5)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,5)


Habe eben den Kernel neu kompiliert und da ist mir die folgende Meldung am Ende des Kompiliervorganges aufgefallen:

Code:

Root device is (8,6)
Boot sector 512 bytes
Setup is 4602 bytes
System is 3836 kB
Kernel:  arch/i386/boot/bzImage is ready


Was soll dieses "Root device is (8,6)" eigentlich heissen? Wo kann man diese Einstellung im Kernel verändern?


Last edited by Djon on Wed Dec 28, 2005 12:13 am; edited 1 time in total
Back to top
View user's profile Send private message
Tycon
n00b
n00b


Joined: 13 Nov 2005
Posts: 42
Location: Bern, Switzerland

PostPosted: Tue Dec 27, 2005 6:45 pm    Post subject: Reply with quote

wie sieht deine /etc/fstab aus?
_________________
The Information Revolution will be fought on the command line
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 7:01 pm    Post subject: Reply with quote

Hallo!!!

Hier ist meine fstab:

Code:

/dev/sda2      /boot      ext2      auto       1 2
/dev/sda6      /      reiserfs   auto      0 1
/dev/sda7      /home      reiserfs   auto      0 0
/dev/sda5      none      swap      sw      0 0
/dev/cdroms/cdrom0   /mnt/cdrom   auto      noauto,user   0 0

# NOTE: The next line is critical for boot!
#proc         /proc      proc      defaults   0 0
none          /proc      proc      defaults   0 0
none          /dev/shm   tmpfs      nodev,nosuid, noexec    0 0


Hoffentlich wird mir bald geholfen :-)


Mfg Djon
Back to top
View user's profile Send private message
Tycon
n00b
n00b


Joined: 13 Nov 2005
Posts: 42
Location: Bern, Switzerland

PostPosted: Tue Dec 27, 2005 7:19 pm    Post subject: Reply with quote

ok in deiner fstab ist die root partition /dev/sda6 und in deiner grub.conf ist sie auf /dev/sda5 :roll: , das kann so natürlich nicht funktionieren
_________________
The Information Revolution will be fought on the command line
Back to top
View user's profile Send private message
_ping
n00b
n00b


Joined: 15 Dec 2005
Posts: 43

PostPosted: Tue Dec 27, 2005 7:46 pm    Post subject: Reply with quote

außerdem hast du gar keine Partition als swap formatiert und aktiviert

müsstest das mit sda5 machen, und wie Tycon sagte in der grub.conf root=/devhda5 in root=/dev/hda6 ändern
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 9:33 pm    Post subject: Reply with quote

Hallo!!!

Laut meiner fstab ist doch /dev/sda5 als swap formatiert, oder sieht man es nicht so???

Werde gleich die Korrektur in fstab machen und mein Ergebnis gleich hier posten.


Mfg Djon
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Tue Dec 27, 2005 9:40 pm    Post subject: Reply with quote

Also wie hier schon angedeutet wurde hast du zwei Fehler..

1.) Laut der fstab ist /dev/sda5 dein Swap. Du hast jedoch dieses Device als deine root Partition in GRUB angegeben:

Quote:
kernel (hd0,1)/kernel-2.6.12-gentoo-r10 root=/dev/sda5
[...und die daraus resultierende Kernel Meldung...]
VFS: Cannot open root device "sda5" or unknown-block(8,5)


2.) Wie _ping bereits gesagt hat, ist laut fdisk nirgends eine swap Partition vorhanden. Das ist zwar nicht so schlimm (dein System bootet auch ohne und ist nicht der Grund für die Kernel Panic) sollte aber spätestens danach korrigiert werden.


Lösung:
Wenn ich mir deinen fdisk Output ansehe, gehe ich davon aus, dass du sda5 mit 1GB für SWAP vorgesehen hast und sda6 deine root Partition werden soll (Das sagt übrigens auch dein fstab). Von daher musst du folgendes machen:

1.) In grub.conf korrigierst du das root=/dev/sda5 zu root=/dev/sda6.

2.) Sobald du grub korrigiert hast, machst du ein fdisk /dev/sda gibst t gefolgt von Enter ein, wählst die swap Partition aus (5) und änderst dann den Typ auf 82. Dann wählst du w um die gemachten Änderungen zu speichern.

3.) Neu booten und über ein funktionierendes Gentoo freuen ;-)

Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
_ping
n00b
n00b


Joined: 15 Dec 2005
Posts: 43

PostPosted: Tue Dec 27, 2005 9:43 pm    Post subject: Reply with quote

In der fstab wird sowas nicht angezeigt.

Das siehst du an der Ausgabe von fdisk -l

Das Swap Dateisystem hat die nummer 82. Das ganze muss man auch mit Fdisk machen.

Du solltest dir das Kapitel "Vorbereiten der Festplatten" im Handbuch nochmal zur gemüte führen


Edit: STiGMaTa_ch war schneller
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 9:49 pm    Post subject: Reply with quote

So habe jetzt sda5 in sda6 verändert, doch das Problem bleibt wieterhin bestehen :-(
Es kommt immernoch zu der gleichen Fehlermeldung.
sda5 ist als swap formartiert.
Back to top
View user's profile Send private message
_ping
n00b
n00b


Joined: 15 Dec 2005
Posts: 43

PostPosted: Tue Dec 27, 2005 9:51 pm    Post subject: Reply with quote

Dann poste bitte den JETZIGEN stand deiner grub.conf, deiner fstab und eine ausgabe von fdisk -l

Last edited by _ping on Tue Dec 27, 2005 9:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 9:55 pm    Post subject: Reply with quote

gleich :-)
muss nur neubooten
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Tue Dec 27, 2005 10:01 pm    Post subject: Reply with quote

Also wenn du wirklich alles wie beschrieben gemacht hast (und davon geh ich jetzt mal aus ;-) ) und du noch immer die selbe Fehlermeldung erhältst, dann könnte das an folgendem liegen:

- Du hast im Kernel reiserfs als Modul ausgewählt (solltest du fest einkompilieren).
- Du hast die nötigen Treiber für die SATA Unterstützung als Modul oder gar nicht in den Kernel kompiliert.

Check das mal und korrigiere es gegebenenfalls. Dann sollte es funktionieren ;-)

Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 10:32 pm    Post subject: Reply with quote

Ich habe alle Filesysteme, die bei der Konfiguration vorkamen, fest in den Kernel reinkompiliert und die SATA-Module sind eigentlich auch alle da. Ich kann es nochmal durchführen, mal sehen ob es Veränderungen mit sich bringt.

Hier die besagten Dateien:

grub.conf
Code:

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

title=WindowsXP
rootnoverify (hd0,0)
makeactive
chainloader +1

title=Gentoo
root (hd0,1)
kernel (hd0,1)/kernel-2.6.12-gentoo-r10 root=/dev/sda6


fstab
Code:

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2      /boot      ext2      auto       1 2
/dev/sda6      /      reiserfs   auto      0 1
/dev/sda7      /home      reiserfs   auto      0 0
/dev/sda5      none      swap      sw      0 0
/dev/cdroms/cdrom0   /mnt/cdrom   auto      noauto,user   0 0

# NOTE: The next line is critical for boot!
#proc         /proc      proc      defaults   0 0
none          /proc      proc      defaults   0 0
none          /dev/shm   tmpfs      nodev,nosuid, noexec    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


und die fdisk -l
Code:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              1        8093    65006991    7  HPFS/NTFS
/dev/sda2   *       8094        8099       48195   83  Linux
/dev/sda3            8100        9729    13092975    5  Extended
/dev/sda5            8100        8224     1004031   82  Linux swap / Solaris
/dev/sda6            8225        8972     6008278+  83  Linux
/dev/sda7            8973        9729     6080571   83  Linux



Mfg Djon
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Tue Dec 27, 2005 11:04 pm    Post subject: Reply with quote

Eben bei der Kernelkompilierung ist mir folgende Bildschirmausgabe aufgefallen:

Code:



OBJCOPY arch/i386/boot/vmlinux.bin
BUILD      arch/i386/boot/bzImage
Root device is (8,6)
Boot sector 512 bytes
System is 2721
....


es kam ja fast am Ende des Kompilierungsvorganges.
Was hat dieses (8,6) zu bedeuten? Woher nimmt kerne diese Information???


EDIT:
Das Problem hat sich nach der Neukompilierung des Kernel in Luft aufgelöst, kann mich jetzt erfolgreich auf meiner Gentoomaschine anmelden!!!
Vielen Dank für eure grosse Hilfe!!!! Echt super Community hier!

Mfg Djon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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