Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SATA@boot time
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
obstfliege
n00b
n00b


Joined: 10 Oct 2005
Posts: 2

PostPosted: Mon Oct 10, 2005 11:03 pm    Post subject: SATA@boot time Reply with quote

Moin!

Mein Problem ist folgendes:
Ich habe 2 SATA Platten mit je einer Partition.

bis jetzt habe ich sie immer per Hand oder in der local.start mit dem mount Befehl gemountet.

Dies soll nun automatisch wie die IDE Platten beim booten geschehen.
Da ich den SATA Treiber nur als Modul in meinem Kernel hatte habe ich nun nen * davor gesetzt neu kompiliert und installiert.

In der fstab steht nun folgendes:
Code:

/dev/hda1               /boot           ext2            defaults        1 2
/dev/hda3               /               ext3            noatime         0 1
/dev/hda2               none            swap            sw              0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0
/dev/hdb1               /mnt/data       ext3            auto,noatime    0 2
/dev/sda1               /mnt/data2      ext3            auto,noatime    0 2
/dev/sdb1               /mnt/backup     ext3            auto,noatime    0 2



Das Problem ist, dass beim booten ein Fehler ausgegeben wird von fsck: file or directory /dev/sda1 bzw sdb1 not found.

wenn ich lsmod aufrufe:

Code:

Module                  Size  Used by
via_rhine              18884  0
sata_via                5828  0
evdev                   7296  0
fuse                   32524  0

wird es also immernoch als Modul aufgelistet.

Wie bekpmme ich das nun in den Kernel?

lspci:
Code:
 
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:06.0 Network controller: RaLink Wireless PCI Adpator RT2400 / RT2460
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1)



HIer sind Bilder meiner Kernel Konfiguration:
http://www.gentooforum.de/attachment.php?attachmentid=245
http://www.gentooforum.de/attachment.php?attachmentid=246



Ich hoffe ihr könnt mir weiter helfen.
Back to top
View user's profile Send private message
pawlak
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2005
Posts: 139

PostPosted: Tue Oct 11, 2005 12:28 am    Post subject: Reply with quote

Würde einfach mal

Code:
rm -r /lib/modules/2.x/*
cd /usr/src/linux
cp .config /root/
make mrproper
cp /root/.config .config
make && make modules install
cp arch/i386/boot/bzImage /boot/


vorschlagen. Natürlich bei Punkt 1 die jeweilige Kernelversion angeben und beim letzten Schritt noch ggf. das i386 und die Version beachten. Evtl. noch /boot mounten. Irgendeinen Schritt wirst du wohl vergessen haben.
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Tue Oct 11, 2005 12:52 am    Post subject: Reply with quote

  1. Hattest Du /boot gemountet, als Du den Kernel kopiert hast?
  2. Wenn Du CONFIG_IKCONFIG_PROC in den Kernel einkompiliert hast, dann sollest Du Dir die aktuelle Konfiguration mit zless /proc/config.gz anzeigen lassen können.
    Damit läßt sich leicht überprüfen, ob der kompilierte Kernel dem Gebooteten mit den entsprechenden Optionen entspricht.
PS.: Links im gentooforum.de sind "etwas" suboptimal. Ohne Login kann die keiner lesen. Benutz lieber http://rafb.net/paste/ da kann jeder die Konfiguration sofort ohne Login lesen.

MfG Tobias "Inte" Kral
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
obstfliege
n00b
n00b


Joined: 10 Oct 2005
Posts: 2

PostPosted: Tue Oct 11, 2005 9:16 am    Post subject: Reply with quote

Problem gelöst!

Danke!

Hatte hier vergessen es in den Kernel zu packen:

Code:
 
Symbol: SCSI_SATA_VIA [=y]                                              │
  │ Prompt: VIA SATA support                                                │
  │   Defined at drivers/scsi/Kconfig:500                                   │
  │   Depends on: SCSI!=n && SCSI_SATA && PCI                               │
  │   Location:                                                             │
  │     -> Device Drivers                                                   │
  │       -> SCSI device support                                            │
  │         -> SCSI device support (SCSI [=y])                              │
  │           -> SCSI low-level drivers                                     │
  │             -> Serial ATA (SATA) support (SCSI_SATA [=y])   
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