[ataraid]kernel panic na make oldconfig bij kernel upgrade

Pagina: 1
Acties:

  • Zym0tiC
  • Registratie: Februari 2001
  • Laatst online: 06:20
Info:
Slackware 10.0
Kernel 2.4.26 --> 2.4.29
hpt37x controller ataraid (raid 1)

Ik heb al enige tijd in mijn server een ataraid controller van highpoint. Draait al dik een jaar zonder problemen. Totdat ik een kernel upgrade wou doen.
Ik heb netjes de source uitgepakt van 2.4.29. Vervolgens de .config file vanuit de .26 dir naar de .29 dir gekopieerd.
Hierna een make oldconfig gedaan, vervolgens make dep, toen make bzImage && modules && modules_install

Kernel werd perfect gemaakt. Deze naar /boot gekopieerd en de aanpassingen in lilo gemaakt:
code:
1
2
3
4
5
6
7
8
9
10
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/ataraid/d0p1
  label = linux-2.4.26
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/bzImage-2.4.29
  root = /dev/ataraid/d0p1
  label = linux-2.4.29
  read-only
# Linux bootable partition config ends


Maar wanneer ik nu opstart met de nieuwe kernel krijg ik een kernel panic:
code:
1
2
3
4
kmod: failed to exec /sbin/modprobe -s -k block-major-114, errno = 2
VFS: Cannot open root device "7201" or 72:01
Please append a correct "root=" boot option
Kernel panic: VFS unable to mount root fs on 72:01


Je zou toch denken dat als ik de config van .26 die bij slack10 is meegeleverd en ook werkt zonder problemen ook bij .29 werkt. Ik heb bij make oldconfig bij alle nieuwe apparaten gekozen voor No dus in principe is de config identiek.
De atacontroller is in de kernel meegebakken, filesystem is ext3 wat er ook bij zit.

* Zym0tiC weet ff niet meer waar te zoeken :/

There is no such thing as innocence, only degrees of guilt | Flickr!


  • Buffy
  • Registratie: April 2002
  • Laatst online: 26-12-2024

Buffy

Fire bad, Tree pretty

/usr/src/linux/Documentation/devices.txt:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
114 block       IDE BIOS powered software RAID interfaces such as the
                Promise Fastrak

                  0 = /dev/ataraid/d0
                  1 = /dev/ataraid/d0p1
                  2 = /dev/ataraid/d0p2
                  ...
                 16 = /dev/ataraid/d1
                 17 = /dev/ataraid/d1p1
                 18 = /dev/ataraid/d1p2
                  ...
                255 = /dev/ataraid/d15p15

                Partitions are handled in the same way as for IDE
                disks (see major number 3) except that the limit on
                partitions is 15.


Heb je de software raid module (CONFIG_BLK_DEV_MD) wel in de kernel zitten?

That which doesn't kill us, makes us stranger - Trevor (AEon FLux)
When a finger points at the moon, the imbecile looks at the finger (Chinese Proverb)


  • Zym0tiC
  • Registratie: Februari 2001
  • Laatst online: 06:20
die zit er gewoon in

There is no such thing as innocence, only degrees of guilt | Flickr!


  • Buffy
  • Registratie: April 2002
  • Laatst online: 26-12-2024

Buffy

Fire bad, Tree pretty

Gecompileerd als losse module (M) of gewoon in de kernel (Y).
Errno 2 = "No such file or directory" wat betekent dat de module niet kan worden gevonden.

Het enige wat ik kan bedenken is dat je vorige kernel een initrd image gebruikte om de modules die bij het boot'en nodig waren te preloaden (je quote uit de lilo.conf suggereert vanniet maar misschien staat er een globale initrd optie in lilo.conf?).

Als er een M achter CONFIG_BLK_DEV_MD staat in /boot/config-.... dan moet je een initrd image maken van je modules of anders de kernel opnieuwe bakken maar nu met Y (ook voor de CONFIG_MD_... modules).

That which doesn't kill us, makes us stranger - Trevor (AEon FLux)
When a finger points at the moon, the imbecile looks at the finger (Chinese Proverb)


  • Zym0tiC
  • Registratie: Februari 2001
  • Laatst online: 06:20
code:
1
2
3
4
5
6
7
8
cat /usr/src/linux-2.4.29/.config | grep CONFIG_MD
CONFIG_MD=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID5=y
CONFIG_MD_MULTIPATH=m
# CONFIG_MDA_CONSOLE is not set


code:
1
2
cat /usr/src/linux-2.4.29/.config | grep CONFIG_BLK_DEV_MD
CONFIG_BLK_DEV_MD=y


in lilo zit verder niets van een globale initrd instelling:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
boot = /dev/ataraid/d0
prompt
timeout = 300
vga = normal
image = /boot/vmlinuz
  root = /dev/ataraid/d0p1
  label = linux-2.4.26
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/bzImage-2.4.29
  root = /dev/ataraid/d0p1
  label = linux-2.4.29
  read-only
# Linux bootable partition config ends

There is no such thing as innocence, only degrees of guilt | Flickr!


  • Zym0tiC
  • Registratie: Februari 2001
  • Laatst online: 06:20
Iemand nog een oplossing? kan dit te maken hebben met een bug in ataraid op .29?

Nu zit ik te denken om eventueel gebruik te maken van software raid maar dat is laatste alternatief mocht ik het niet meer werkende krijg.
Blijft alleen de vraag wat voor aanslag het heeft op de performance van een p2 450 met 640MB intern, apache, proftpd,samba mrtg, mail. En is dit makkelijk om te zetten?

edit:
En opgelost! ff wat info voor in de search:
Zorg ervoor dat de <*> Support for IDE Raid controllers (EXPERIMENTAL) in de kernel word mee gebakken en niet zoals ik had als module, verwijder alle overige raid controllers en bak alleen die gene mee die je graag wilt hebben. Ook nu weer in de kernel.
Reboot en alles werkte!

[ Voor 30% gewijzigd door Zym0tiC op 03-02-2005 23:02 ]

There is no such thing as innocence, only degrees of guilt | Flickr!

Pagina: 1