Click to See Complete Forum and Search --> : 2.6.6 Kernel upgrade and SCSI problems


Floppyman
05-27-2004, 06:18 PM
Hi all,

I'm running Slackware 9.1 with the 2.4.22 kernel (default that comes with Slack) on a system that has 2 36gig 10k SCSI drives hooked up to a LSI Logic U160 Controller. Last night I decided I would go ahead and upgrade to the 2.6.6 kernel. Unfortunately, things didn't go as smooth as I thought they would. I configured everything, compiled the kernel etc., edited my lilo.conf for the new kernel image and rebooted. I tried to boot the 2.6.6 kernel and it would not even find my SCSI controller let alone the drives. I did a "make oldconfig" and used the previous kernel's configuration file when I was configuring the 2.6.6 kernel. After checking around a bit I noticed that I had loaded the driver for the chip that is on the SCSI controller as a module. I next tried to load the driver directly into the kernel. Recompiled, etc...and tried to boot the kernel again. This time the card was detected, but the SCSI drives still weren't. I ended up with an error that "sda1" could not be found and the system stopped as it could not boot further. /dev/sda1 is the proper drive that contains the kernel image. I can boot my linux install (2.4.22) by using the Slackware SCSI boot disk and passing the parameter mount root=/dev/sda1. This will boot the 2.4.22 kernel fine and I can use my system as I did before the kernel upgrade.

Any idea why my SCSI is still not working? Did I miss something? I followed the NHF's on this site when I upgraded the kernel and thought I did everything correctly. The SCSI card has the 53C1010 chip I believe. The driver is for the 53C8xxx but in the documentation it say it should work with the 10xxx as well. Thanks in advance for the help.

JohnT
05-27-2004, 06:52 PM
I did a "make oldconfig" and used the previous kernel's configuration file when I was configuring the 2.6.6 kernel. Which kernel version? If you mean the previous 2.4.22 kernel, if so, you can't use the 2.4 configs. You need to start your configs from scratch.

Floppyman
05-27-2004, 10:22 PM
Hi John,

I forgot to mention that I did this first and it did not work as the modules would not install. I then did a make xconfig and went from scratch. This is where I put the SCSI drivers into the kernel. I compiled this kernel then after having gone through all the steps, it detects the SCSI card, but still no drives and the error about not finding /dev/sda1. Any other ideas? Thanks again for your help.

JohnT
05-27-2004, 10:34 PM
Check to see that you controller-card is being configured when you do your configuration...try menuconfig, sometimes you can miss things in one and not the other.

Floppyman
05-27-2004, 10:54 PM
Hi John,

I figured it out. I needed the MPT Fusion driver installed. Once I put that into the kernel, recompiled and rebooted it all workef ine. Thanks again for your help.

JohnT
05-27-2004, 11:05 PM
Your welcome.....sometimes a brainfart does wonders.:D