Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[sysinit] blocage au boot puis perte de datas
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SPUT-NICK
n00b
n00b


Joined: 24 Mar 2006
Posts: 44
Location: Paris

PostPosted: Tue Jan 30, 2007 8:21 pm    Post subject: [sysinit] blocage au boot puis perte de datas Reply with quote

Salut.

Voici décrit ici mes quelques déboires à garder ma gentoo stable:


04.01.2007:
Achat d'un laptop: Acer aspire 5611
Une ubuntu temporaire est installé sans soucis particulier.

20.01.2007:
Installation de gentoo comme distro principale.
Tres rapidement (ça a fonctionné quelques jours) je rencontre des problèmes lors du boot qui bloque soit sur "DHCPCD eth0" puis plus tard sur "runlevel 3" (j'ai chrooté et retiré des paquets/modules)

27.01.2007:
Réinstallation d'une gentoo en "stable" suite aux problèmes invoqués plus haut.

30.01.2007:
tout fonctionnait bien encore ce matin, j'ai éteint ma gentoo, embarqué le laptop et son alim direction les cours.
Une fois arrivé, je lance le bousin. Il bloque sur "DHCPCD eth0" (comme lors de la première installation) meme s'il n'y avais pas de connection active, DHCPCD aurait du (pu) passer outre !
N'ayant pas encore d'acces en TTY, je décide de rebooter la machine.
Une deuxième fois j'ai eu ce meme résultat.
Je décide donc de booter sur live-cd, je fais des fsck.reiserfs sur tout ce qui bouge, rien à signaler.
Je décide de me chrooter sur ma / et là, oh surprise, le chroot me jette.
je me place dans ma / avec:

Code:

mount -t reiserfs /dev/sda2 /mnt/gentoo
cd /mnt/gentoo

puis un
Code:
ls -a

et... RIEN !

De là, je fait un
Code:

df -h
/dev/sda1              79M   33M 47M  41% /mnt/sda1               (boot)
/dev/sda2             9.6G   33M  9.6G   1% /mnt/gentoo               (root)
/dev/sda5             487M  33M  455M   7% /mnt/sda5              (swap)
/dev/sda6             9.6G   33M 9.6G   1% /mnt/sda6                 (home)
/dev/sda7              93G   33M   93G   1% /mnt/sda7                (autre)

alors que sda2 fait environ 4,5GO ! pareil pour les autres.
J'ai essayé plusieurs live-cd au cas où (gentoo, backtrack...) et qtparted, sans succes.

Si quelqu'un (un guru) sait ce qui peux faire ça, comment y remédier ou m'expliquer pourquoi il ne reste que 33mo dans toutes les partitions de sda...
Si je ne trouve pas de solution je vais peut etre envisager de passer à debian ou archlinux que j'espere plus stable sur mon laptop.
Je n'ai fait aucune opération particulière qui justifie l'effacement d'un disque complet !
Edit: Si j'essaye de booter maintenant il me fait un "kernel panic", logique puisqu'il n'y a rien dans la /.

Infos diverses:
gentoo x86
proco core duo
1024MO de RAM
noyau 2.6.18-r6 gentoo sources compilé à la main


Code:

fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          10       80293+  83  Linux
/dev/sda2              11        1255    10000462+  83  Linux
/dev/sda3            1256       14593   107137485    5  Extended
/dev/sda5            1256        1317      497983+  83  Linux
/dev/sda6            1318        2562    10000431   83  Linux
/dev/sda7            2563       14593    96638976   83  Linux




Code:

lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Expr ess Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Expre ss PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Aud io Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (r ev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (r ev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (r ev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (r ev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Control ler (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (re v 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA S torage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 01d7 (rev a 1)
05:00.0 Network controller: Intel Corporation Unknown device 4222 (rev 02)
06:01.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Contro ller (rev 01)
06:04.2 Class 0805: ENE Technology Inc ENE PCI Secure Digital Card Reader Contro ller (rev 01)
06:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
06:04.4 FLASH memory: ENE Technology Inc Unknown device 0551 (rev 01)


Code:
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           T2050  @ 1.60GHz
stepping        : 8
cpu MHz         : 1596.103
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pni monitor est tm2 xtpr
bogomips        : 3198.27

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           T2050  @ 1.60GHz
stepping        : 8
cpu MHz         : 1596.103
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pni monitor est tm2 xtpr
bogomips        : 3192.21



Code:

                                                        cfdisk 2.12r

                                                    Disk Drive: /dev/sda
                                             Size: 120034123776 bytes, 120.0 GB
                                   Heads: 255   Sectors per Track: 63   Cylinders: 14593

Name              Flags         Part Type      FS Type                   [Label]                Size (MB)
 -----------------------------------------------------------------------------------------------------------------
sda1              Boot            Primary        Linux ReiserFS                                       82.26
sda2                                 Primary        Linux ReiserFS                                    10240.48
sda5                                 Logical        Linux ReiserFS                                      509.97
sda6                                 Logical        Linux ReiserFS                                    10240.48
sda7                                 Logical        Linux ReiserFS                                    98958.35


Code:
extrait de make.conf
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
Back to top
View user's profile Send private message
sebtx
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2005
Posts: 131
Location: France, Eure-et-loir

PostPosted: Thu Feb 01, 2007 8:39 pm    Post subject: Reply with quote

Salut,

regardes si tu as encore accès au fstab. Si oui donnes-nous son contenu. ça se trouve tu t'es planté quelquepart.

Sinon n'as-tu pas fait mumuse avec un programme utilisant directement les périphériques dans /dev (genre si tu as fait qemu -hda /dev/sda)

est-ce que tu n'as pas exécuté une mauvaise commande en root ? genre un rm -rf /;root/dossier

bref ça peut venir de beaucoup de choses...
_________________
Linux gigalaptop 2.6.21-suspend2-r5 #5 SMP PREEMPT Thu May 31 23:32:15 UTC 2007 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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