> > > Anybody here knows about the behaviour of SMP kernels with SCSI drivers?
> > > I am trying to set up a right out of the box RPM package with a SMP
> > > kernel (the same version non SMP is already running)...when I boot, I
> > > get "kernel panic" cause the root fs (on sda1) could not be mounted due
> > > a problem loading the aic7xxx.o module....no, its not a version issue or
> > > something like that....
> > > ...some dudes told me that I can't use some SCSI drivers with SMP
> > > kernels...is that a fact?
> > you can't have scsi support as a module if you want to boot from a scsi
> > disc
> > it must be compiled into your kernel
> this is not quite true. you can put the scsi module on an initial
> ramdisk (initrd). this is what most distributions do because
> compiling every possible scsi driver into their kernel would be a bit
> much.
> however, i agree that it is a damned good recommendation. if you can
> compile yourself a kernel, by all means build the scsi driver into it.
"kernel panic" too : "unable to mount on /dev/sda2".
I did compile the scsi drive into the kernel.
And moreover, i have :
Root device /dev/sda2
which is the current root device :
/dev/sda2 /
Running lilo show :
LILO version 21, Copyright 1992-1998 Werner Almesberger
Reading boot sector from /dev/sda
Merging with /boot/boot.b
Boot image: /boot/vmlinuz-2.2.12-20smp
Mapping RAM disk /boot/initrd-2.2.12-20smp.img
Added linux *
Boot image: /boot/vmlinuz-2.2.12-20
Mapping RAM disk /boot/initrd-2.2.12-20.img
Added linux-up
Boot image: /boot/vmlinuz-2.2.14smp
Added new
/boot/boot.0800 exists - no backup copy made.
Writing boot sector.
But booting my new kernel is always a kernel panic !
i don't understand why !
I suppose the redhat ramdisk as set a strange /boot/map:
total 10781
drwxr-xr-x 2 root root 1024 May 10 09:33 .
drwxr-xr-x 24 root root 1024 Mar 2 15:19 ..
lrwxrwxrwx 1 root root 20 Feb 11 18:19 System.map ->
System.map 2.2.12-20
-rw-r--r-- 1 root root 191102 Sep 27 1999
System.map-2.2.12-20
-rw-r--r-- 1 root root 182834 Sep 27 1999
System.map-2.2.12-20BOOT
-rw-r--r-- 1 root root 202226 Sep 27 1999
System.map-2.2.12-20smp
-rw-r--r-- 1 root root 512 Jul 9 1999 boot.0800
-rw-r--r-- 1 root root 4568 May 5 11:47 boot.b
-rw-r--r-- 1 root root 612 Sep 22 1999 chain.b
-rw-r--r-- 1 root root 313673 Feb 11 18:26
initrd-2.2.12-20.img
-rw-r--r-- 1 root root 314036 Feb 11 18:26
initrd-2.2.12-20smp.img
-rw-r--r-- 1 root root 308009 Jul 9 1999
initrd-2.2.5-15.img
-rw-r--r-- 1 root root 308488 Jul 9 1999
initrd-2.2.5-15smp.img
lrwxrwxrwx 1 root root 22 Jul 31 1999
initrd-2.2.5-22smp.img - initrd-2.2.5-15smp.img
-rw-r--r-- 1 root root 695162 Jul 31 1999
kernel-2.2.5-22smp.my
-rw-r--r-- 1 root root 237 May 5 12:18 kernel.h
-rw------- 1 root root 30720 May 10 09:33 map
lrwxrwxrwx 1 root root 21 Feb 11 18:19 module-info ->
module-in o-2.2.12-20
-rw-r--r-- 1 root root 11773 Sep 27 1999
module-info-2.2.12-20
-rw-r--r-- 1 root root 11773 Sep 27 1999
module-info-2.2.12-20smp
-rw-r--r-- 1 root root 620 Sep 22 1999 os2_d.b
-rwxr-xr-x 1 root root 1544394 Sep 27 1999 vmlinux-2.2.12-20
-rwxr-xr-x 1 root root 1469971 Sep 27 1999
vmlinux-2.2.12-20BOOT
-rwxr-xr-x 1 root root 1647660 Sep 27 1999
vmlinux-2.2.12-20smp
lrwxrwxrwx 1 root root 17 Feb 11 18:19 vmlinuz ->
vmlinuz-2.2.1 -20
-rw-r--r-- 1 root root 622784 Sep 27 1999 vmlinuz-2.2.12-20
-rw-r--r-- 1 root root 592397 Sep 27 1999
vmlinuz-2.2.12-20BOOT
-rw-r--r-- 1 root root 647807 Sep 27 1999
vmlinuz-2.2.12-20smp
-rw-r--r-- 1 root root 453234 May 5 09:29 vmlinuz-2.2.14smp
-rw-r--r-- 1 root root 709302 Jul 23 1999
vmlinuz-2.2.5-15smp.new
-rw-r--r-- 1 root root 695161 Aug 6 1999
vmlinuz-2.2.5-22smp.new
Can i remove some of this files (System.map*) ?? What are their use (i
know ps use it, for its WCHAN field, but is there another use ??) ? What
are module-info* files ? Can i remove some of this files ?
Here my /etc/lilo.conf :
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
image=/boot/vmlinuz-2.2.12-20smp
label=linux
initrd=/boot/initrd-2.2.12-20smp.img
read-only
root=/dev/sda2
image=/boot/vmlinuz-2.2.12-20
label=linux-up
initrd=/boot/initrd-2.2.12-20.img
read-only
root=/dev/sda2
image=/boot/vmlinuz-2.2.14smp
label=new
read-only
root=/dev/sda2
vga=ask
My new kernel is /boot/vmlinuz-2.2.14smp (which i can't boot like
describe above).
--
Pierre Vignras
http://dept-info.labri.u-bordeaux.fr/~vigneras/
Equipe systmes et objets distribus
http://jccf.labri.u-bordeaux.fr/jodo/
LaBRI
http://dept-info.labri.u-bordeaux.fr/
vigneras.vcf < 1K Download |