Click to See Complete Forum and Search --> : Slackware - changing kernels to enable scsi card


psych-major
11-30-2006, 03:20 PM
I installed Slack with the bare.i kernel (2.4.33.3), but I have since added a scsi tape drive.
I have followed the instructions on the slackware site to change my kernel to scsi.s, and the system still boots OK, but all I get in dmesg about scsi is this:
Kernel command line: auto BOOT_IMAGE=Slack-scsi ro root=301
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi singledevice 0 0 0 0
scsi singledevice 0 0 1 0
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0

1. How can I make sure that I am actually booting the scsi.s kernel, and not the old bare.i?
2. Do I have to do a modbrobe for scsi card, or anything like that?

dkeav
11-30-2006, 05:36 PM
did you check uname -a

psych-major
11-30-2006, 05:38 PM
Yes, but both old an new are 2.4.33.

psych-major
11-30-2006, 06:54 PM
I got a little further: dropped in the 2.6.17.13 kernel, and it booted and found the tape drive, but no sound, mouse, network, etc.

So I did it the right way, i.e. installed the packages for kernel-generic, kernel headers and kernel-modules. (and ran lilo) Now everything works except scsi, and I get the following output when the aic module tries to load:
aic7xxx: Unknown symbol spi_populate_sync_msg
aic7xxx: Unknown symbol spi_display_xfer_agreement
aic7xxx: Unknown symbol spi_release_transport
aic7xxx: Unknown symbol spi_populate_width_msg
aic7xxx: Unknown symbol spi_populate_ppr_msg
aic7xxx: Unknown symbol spi_attach_transport
aic7xxx: Unknown symbol spi_dv_device

dkeav
11-30-2006, 07:07 PM
still think you should compile your own kernel for this

psych-major
11-30-2006, 07:11 PM
I got it...it was commented out in /etc/rc.d/rc.modules<kernel_version>

dkeav
11-30-2006, 07:36 PM
heh, congrats!