Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Segmentation fault ?!  (gelezen 1676 keer)

Falling Leaves

  • Gast
Segmentation fault ?!
« Gepost op: 2009/03/07, 16:17:33 »
Hoi allemaal,

ben vanochtend na lang uitstellen toch maar eens begonnen met de installatie van een Ubuntu-(8.10)-blokkendoos (http://wiki.ubuntu-nl.org/UbuntuBlokkendoos) op een oude computer (PIII 700 (denk ik), 192 MB, 80 GB).

De installatie is redelijk soepel verlopen (tenminste dat nam ik aan), na de installatie nog wat software e.d. geïnstalleerd (o.a. de Xubuntu (XFCE4) grafische omgeving) en keurig afgesloten.

Maar nu ik het ding opnieuw op wil starten krijg ik de volgende mededeling op het scherm te zien:

Citaat
Starting up...
[0     000000] ACPI: DMI BIOS year ==0, assuming ACPI-compatible machine
Loading, please wait...
Segmentation fault.
Gave up waiting for root device. Common problems:
- Boot args (cat/proc/cmdline)
   - Check rootdelay = (did the system wait long enough?)
   - Check root = (did the system wait for the right device?)
- Missing modules (cat/proc/modules; ls/dev)
ALERT! /dev/disk/by-uuid/0f2ebdca-941b-416d-b312-a1139d1ea0ea does not exist. Dropping to a shell!

Busybox v1.10.2 (ubuntu 1:1.10.2-1ubuntu7) built-in shell (ash)
Enter 'help' for a list of built-in commands

(initramfs)

Nu heb al wel geprobeerd 'help' in te typen maar ik word geen wijs uit de commando's die daar komen te staan.

Ervaring met linux heb ik absoluut niet (enkel win98 en xp).

Iemand enig idee wat er aan de hand is en hoe dit op te lossen is?

Bij voorbaat dank.

Offline track

  • Lid
Re: Segmentation fault ?!
« Reactie #1 Gepost op: 2009/03/07, 16:34:05 »
Hoi "Falling Leaves",

welkom op het forum !

De aanpak lijkt mij door
Citaat
ALERT! /dev/disk/by-uuid/0f2ebdca-941b-416d-b312-a1139d1ea0ea does not exist. Dropping to a shell!
aangeduid te zijn.

Blijkbaar vindt hij de schijf niet omdat hij probeert hem via de UUID te benaderen. En die blijkt fout te zijn.
Misschien kom je al een stap verder als je vanaf de (alternate denk ik) CD opstart en naar "repair a broken system" gaat.

Dan heb je de commandolijn toch ?
Als je nu het hoofdstuk 2. van  http://sites.google.com/site/computertip/grub  volgt
(de "terminal" is trouwens hetzelfde als de "commandolijn")  zal je in ieder geval de grub weer recht hebben zitten.

Na een reboot zal je zien war je uitkomt.

track

Falling Leaves

  • Gast
Re: Segmentation fault ?! / Error 18
« Reactie #2 Gepost op: 2009/03/09, 21:48:38 »
Thnx, heb een poging ondernomen de boot-loader (grub) te herstellen via de cd, maar deze gaf een 'fatale uitzondering' o.i.d. - en kon dus niet worden geïnstalleerd.
De melding segmentation fault bleef bestaan.

Daarom maar de windows-logica gevolgd en geprobeerd alles opnieuw te installeren - met als gevolg dat Grub een
Citaat
Error 18
geeft.

Nu heb ik al wat gezocht op google en een mogelijke oplossing gevonden: (http://wiki.linuxquestions.org/wiki/GRUB)

Citaat
Error 18: Selected cylinder exceeds maximum supported by BIOS

This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB on others.). In more practical terms this means the BIOS is unable to start executing the kernel because the kernel is not located within the block it can access at boot up time.

This can be circumvented by creating a boot partition at the beginning of the disk that is completely within the first 1023 cylinders of the harddrive. This partition will contain the kernel.

The kernel itself does not suffer from the same limitations as the BIOS so after the BIOS has loaded the kernel the kernel will have no problem accessing the whole harddrive. Newer BIOSes will automatically translate the harddrives size in a way that it can be completely contained within the first 1023 cylinders and hence modern computers do not suffer from this problem.
The same error can happen when the BIOS detects a disk in a different way as Linux does. This can happen when changing motherboards or when moving a GRUB-bootable disk from one computer to another. If this happens, just boot with a GRUB floppy, read the C/H/S numbers from the existing partition table and manually edit the BIOS numbers to match.
[...]

Als ik het goed begrepen heb is het probleem dus dat het bios problemen heeft met de grootte van de harddisk - wat bij de installatie onder win98 (dat voorheen op deze pc draaide) ook al een issue was. Tijdens de installatieprocedure van ubuntuwordt de harde schijf overigens wel juist (= als 80 GB) weergegeven, iets wat onder win98 alleen met een aantal hulpprogramma's min of meer gelukt is na veel moeite. Maar goed,

De oplossing zou dus moeten zijn: creating a boot partition at the beginning of the disk that is completely within the first 1023 cylinders of the harddrive. This partition will contain the kernel.

Maar kan iemand mij vertellen hoe ik de kernel op de eerste 1023 cylinders kan krijgen???

Wederom bij voorbaat dank namens een 'echte' beginneling

Offline Mario

  • Lid
Re: Segmentation fault ?!
« Reactie #3 Gepost op: 2009/03/09, 21:59:45 »
schijf verdelen in 2 partities (kan met de live-cd) 1 van +- 15GB voor /Root, de rest toewijzen als /home
PC:Intel dual core 6600 2.4Ghz-Abit AB9-nvidia GeForce 9600 GT-
dual-boot : Debian Lenny - Windows 7
Alle beschrijvingen van de werkelijkheid zijn tijdelijke veronderstellingen

Falling Leaves

  • Gast
Re: Segmentation fault ?!
« Reactie #4 Gepost op: 2009/03/10, 15:18:18 »
Thnx Mario, heb je advies opgevolgd en na de nodige trial and error is het gelukt om de schijf zo te formateren (15 GB voor bestandssysteem, de rest voor /home en nog een kleine swap-partitie).

Daarna de installatieprocedure opnieuw uitgevoerd en een reboot gedaan.

Grub werkt zo te zien prima alleen nu liep de computer eerst vast na het updaten --> de numlock en capslock-lampjes begonnen te knipperen en

en daarna voor/tijdens het  het upgraden van de bestanden sudo apt-get upgrade
met de mededeling (laatste 3 regels):
Citaat
[66.568121] Code: Bad EIP Value
[66.568121] EIP: [<801dc430>] 0x801dc430 SS:ESP 0068:c04a7d64
[66.568121] Kernel panic - not syncing: fatal exception in interrupt

ook hier weer knipperende lampjes op het toetsenbord.

Nu heb ik wat rondgekeken via google maar ik kom er niet uit wat er precies aan de hand is...
misschien dat iemand hier meer kan vertellen?

wederom bij voorbaat dank...


Nu heb ik al wat

Re: Segmentation fault ?!
« Reactie #5 Gepost op: 2009/03/10, 16:01:25 »
Ik heb wat gegoogled, en het lijkt erop dat het een hardwareprobleem is.

Offline Mario

  • Lid
Re: Segmentation fault ?!
« Reactie #6 Gepost op: 2009/03/10, 18:01:55 »
Inderdaad als je googelt op "Bad EIP Value" is dit blijkbaar een hardwareprobleem.
Mogelijke daders: RAM-geheugen (kan je testen met memtest op CD).
                        PCI- probleem:-PNP-bios uitschakelen in bios
                                            - netwerkkaart of andere kaarten in de pci-slots verplaatsen van slot of kijken of het probleem zich nog
                                              voordoet als je een bepaalde kaart verwijdert.
PC:Intel dual core 6600 2.4Ghz-Abit AB9-nvidia GeForce 9600 GT-
dual-boot : Debian Lenny - Windows 7
Alle beschrijvingen van de werkelijkheid zijn tijdelijke veronderstellingen

Falling Leaves

  • Gast
Re: Segmentation fault ?!
« Reactie #7 Gepost op: 2009/03/11, 21:32:59 »
Wederom bedankt mensen,

het ligt idd aan het ram-geheugen... het testprogramma geeft vrijwel alles rood weer.

Tot zover de poging om een ubuntu-systeem te installeren op een oude pc :(

Maar goed, heb nu in elk geval wel een idee waarom destijds het installleren van win98 telkens mis ging - weer wat geleerd :D

In elk geval bedankt voor jullie hulp en wie weet tot een volgende keer (maar dan op mijn eigen xp-pc).


Offline heir4c

  • Lid
Re: Segmentation fault ?!
« Reactie #8 Gepost op: 2009/03/13, 18:50:34 »
Tip: https://makkelijkelinuxtips.blogspot.com/p/1.html en http://wiki.ubuntu-nl.org/   Upload-site:http://imgur.com/
be Open be Free be Ubuntu