bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to load kernel


From: Jacob Schmidt Madsen
Subject: Unable to load kernel
Date: Mon, 19 Nov 2007 16:44:09 +0100

Hey all,

 

My home server got 2 disk controllers; 1 onboard and 1 Promise SATA 300 TX4 with 4 disks attached to each.

 

Here comes my problem: I’m using Archlinux and the kernel wont load when there is disks attached to the Promise controller.

 

So I made sure the first disk on the onboard controller (with the OS) is the first disk in the BIOS boot priority list.

 

Then I made a custom kernel following http://wiki.archlinux.org/index.php/Kernel_Compilation_From_Source (see vmlinuz26-JSM below), where the driver for the onboard controller is embedded in the kernel, since the Promise module was loaded fist and its disks got recognized by the kernel first and got named sda, sdb, sdc and sdd, instead of the disks on the onboard controller being named first with sda, sdb, sdc and sdd (they got named sde, sdf, sdg and sdh).

 

So now the disks on the onboard controller is recognized first, but it still doesn’t load the kernel when disks on the Promise controller is attached.

 

 

I will appreciate any help J

 

 

This is what it print as the last sign of life, when I select a kernel in the grub menu:

root    (hd0,0)

  Filesystem type is ext2fs, partition type is 0x83

kernel /vmlinuz26-JSM root=/dev/sda2 ro

  [Linux-bzImage, setup=0x2a00, size=0x2d7458]

 

 

 

ls -l /boot:

-rw-r--r-- 1 root root  809207 2007-10-27 11:05 System.map26

-rw-r--r-- 1 root root 1049286 2007-11-18 14:08 System.map26-JSM

drwxr-xr-x 2 root root    1024 2007-11-18 13:31 grub

-rw-r--r-- 1 root root   75577 2007-11-03 13:19 kconfig26

-rw-r--r-- 1 root root   67225 2007-11-18 14:08 kconfig26-JSM

-rw-r--r-- 1 root root 4639514 2007-11-03 13:19 kernel26-fallback.img

-rw-r--r-- 1 root root 2442499 2007-11-03 13:19 kernel26.img

-rw-r--r-- 1 root root 1820568 2007-10-27 11:05 vmlinuz26

-rw-r--r-- 1 root root 2990168 2007-11-18 14:08 vmlinuz26-JSM

 

 

 

cat /etc/fstab:

none                   /dev/pts      devpts    defaults            0      0

none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0

/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0

/dev/sda1 /boot ext2 defaults 0 1

/dev/sda2 / ext3 defaults 0 1

/dev/sda3 swap swap defaults 0 0

 

 

 

ls -l /lib/modules:

drwxr-xr-x 4 root root 4096 2007-11-04 12:45 2.6.23-ARCH

drwxr-xr-x 3 root root 4096 2007-11-18 14:12 2.6.23.8-JSM

 

 

 

Here is my menu.lst:

timeout   5

default   0

color light-blue/black light-cyan/blue

 

# (0) Arch Linux

title  Arch Linux

root   (hd0,0)

kernel /vmlinuz26 root=/dev/sda2 ro

initrd /kernel26.img

 

# (1) Arch Linux

title  Arch Linux Fallback

root   (hd0,0)

kernel /vmlinuz26 root=/dev/sda2 ro

initrd /kernel26-fallback.img

 

# (2) Arch Linux

title  Arch Linux JSM

root   (hd0,0)

kernel /vmlinuz26-JSM root=/dev/sda2 ro

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]