Permalänk

fedora 5 kernelpanic

Hej!
Ja först och främst fedora 5 är gammalt , men det är det som ska köras.

Jag har en gammal server med fedora 5 och hade tills igår en pata disk men den börjar bli kass, körde clonezilla och fick över fedora till en satadisk, men får bara kernelpanic när det bootar.
Har ändrat fstab till korrekt enligt mig , men vill ändå inte.
Funderingen är då och bygga om initr och lägga till så det garanterat finns satadrivers.
Men vilken modul ska läggas till i modeprobe.conf?
Har googlat sönder mig hela dagen igår, tacksam för hjälp!

Permalänk
Medlem

Som du gissar är det troligen fedora 5 som inte har stöd för den sata controller disken är kopplad till. Vilken modul som är rätt beror på vilken kontroller du har. Kan du posta output från lspci -nnv?

Permalänk
Medlem

Fixa en ny pata disk istället? Alternativt flytta installationen till en virtuell miljö

Permalänk
Skrivet av Emaku:

Som du gissar är det troligen fedora 5 som inte har stöd för den sata controller disken är kopplad till. Vilken modul som är rätt beror på vilken kontroller du har. Kan du posta output från lspci -nnv?

satta är ich7 , där står ata_pix eller ngt under. dvs ingen statsstöd?

samt kör jag cat /proc/modules får jag inget alls om ahci eller satta

Permalänk
Skrivet av Meto:

Fixa en ny pata disk istället? Alternativt flytta installationen till en virtuell miljö

Nja, detta ska ju fungerar.

Permalänk
Medlem
Skrivet av Absinthe66:

Nja, detta ska ju fungerar.

men gör det inte

Permalänk
Medlem
Skrivet av Emaku:

Som du gissar är det troligen fedora 5 som inte har stöd för den sata controller disken är kopplad till. Vilken modul som är rätt beror på vilken kontroller du har. Kan du posta output från lspci -nnv?

Det kan även vara som så att Fedora har i sitt register att OS ligger på HDD ID: xsgfwreX1 men givetvis har nya SATA disken ett annat HDD ID.
antingen ändrar du HDD ID på SATA disken till det ID din gamla disk har, eller så ändrar du i fedora att SATA Diskens HDD ID är det som gäller nu.

Detta har jag fått göra på CentOS Server när jag har gjort en Restore av en backup och i Windows 7 när jag clonat en gammal OS HDD till den nya SSDn som blev den nya OS HDDn (SSD)

det heter HDD ID i OS oavsätt om det är en HDD eller SSD Körs på.

det kanske är det som är problemet?

EDIT: Googlade lite snabbt å fick fram denna site. ta en titt där.
http://www.terabyteunlimited.com/kb/article.php?id=294

Visa signatur

|Workstation: AMD Ryzen 9 7900X 4.7GHz | ASRock X670E | AMD Radeon 7900 XT | 32GB DDR5 | NVMe 2.0TB | HDD 4.0TB |
|VMware rig: AMD Threadripper 2920x | ASUS PRIME X399-A | 24GB DDR4 | 10TB Storage |
|HTPC: AMD Ryzen 3 2200G 3.7 GHz | Gigabyte B450M DS3H | Radeon Vega 8 | 8GB RAM | SSD 120GB | *Test rig för div Linux distar, drivers m.m.

Permalänk
Medlem

OBS! Detta är lösningen för Win7, men kan gissa på att det är samma problem, men lösningen är annorlunda för Linux.

Jag kör inte Win7 längre, och har inte samma user, så jag orkade inte maska bort min user på bilden, då den är tagen å lagt i ett word doc som jag skapat med texten som jag Copy & Paste:a in nedan.

läs igenom detta så förstår du vad jag menar med min tidigare post hoppas du löser problemet

Googla på "How to Fix the Disk Signature Collision Problem in Linux" så kanske du hittar en lösning?

How to Fix the Disk Signature Collision Problem in Windows 7
Windows 7 comes with a command line utility called diskpart that can let you view and change the disk signature.

1. Open a command prompt as administrator. To do this in Windows 7, click the Windows start menu (the round Windows icon on the left bottom corner), type "cmd" (without the quotes), right click the "cmd.exe" item that appears at the top of your menu, and click the line "Run as administrator". Do this even if you are already logged in as administrator, since on Windows 7, administrators run with reduced rights by default.

2. A black command prompt window will open. In Windows 7, the title bar of the window will tell you that you are running it as Administrator. If it does not, it means you did not do what I just said above. Return and follow the first step, or you will not be able to successfully carry out the rest of this tutorial.

3. Type "diskpart" (without the quotes) into the window. (Note: for this and the other commands described here, you'll have to hit the ENTER key after you finish typing your commands for them to take effect.)

4. Microsoft DiskPart will start. When it is ready, it will issue a "DISKPART>" prompt, allowing you to enter your commands.

5. Type "list disk" (without the quotes). This will list all the disks that are currently mounted (connected to the system). The disk will not have the usual names and labels that you're accustomed to from the Windows Explorer interface, so you will have to recognize them by their sizes.
Note that "list disk" actually lists the physical disks, and not the partitions that you may have assigned drive letters. This means that if you have 2 physical disks, with 3 partitions on each, so that you have drives C:, D:, E:, F:, G: and H:, "list disk" will only show "Disk 0" and "Disk 1".

6. To view the signature of a disk, you must first select it. To select a disk, type "select disk x" (without the quotes) where x is the number of the disk from your "list disk" display. When you type (say) "select disk 1", DiskPart will respond by telling you "Disk 1 is now the selected disk".
Now type "uniqueid disk" (again, without the quotes). DiskPart will respond with the disk's signature, a series of hexadecimal digits (or at least I think it's hexadecimal).

7. To change the signature to some other number, type "uniqueid disk ID=[NEW SIGNATURE]" (without the quotes) where "[NEW SIGNATURE]" stands for the new identifier you want for the disk (without the square brackets and without the quotes). However, before you do that, you may want to type "help uniqueid disk", which will give you more information on how the command works. You may also want to find out the disk signatures of your other disks on your system before you modify your current one so that you don't cause a new signature collision in trying to solve your current problem. In addition, if you're really not sure how many digits you should give your disk, perhaps try changing only one digit of the current signature (eg, increasing or decreasing it by 1). Remember my disclaimer above: I really don't know what I'm talking about here: do it at your own risk.

8. To quit DiskPart, type "exit". Incidentally, in case you get lost while running DiskPart, when you are at the "DISKPART>" prompt, you can type "help" to get a list of commands. Typing "help" followed by the command typically gives you more info about that command.
Once you've quit DiskPart, type "exit" again to quit the Administrator Command Prompt.

But How Do I Know Which Disks Have Colliding Signatures?
When I encountered this problem on my system, I didn't know which of my existing disks had a signature that collided with the one that Windows refused to mount (although I had my suspicions). To solve it, I simply disconnected all my external disks, mounted one, used DiskPart to list its signature, noted the signature somewhere, disconnected it, then mounted the next one and repeated the procedure. With this method, I eventually found out which 2 disks had the same signature, and could change one of them to a different identifier. (For the curious, I simply used the example signature given by DiskPart in its "help uniqueid disk" as the new signature. With my understanding of the situation as shaky as it was, I didn't want to risk giving my disk an invalid signature.)

Visa signatur

|Workstation: AMD Ryzen 9 7900X 4.7GHz | ASRock X670E | AMD Radeon 7900 XT | 32GB DDR5 | NVMe 2.0TB | HDD 4.0TB |
|VMware rig: AMD Threadripper 2920x | ASUS PRIME X399-A | 24GB DDR4 | 10TB Storage |
|HTPC: AMD Ryzen 3 2200G 3.7 GHz | Gigabyte B450M DS3H | Radeon Vega 8 | 8GB RAM | SSD 120GB | *Test rig för div Linux distar, drivers m.m.