"Dr. Andreas Wehler" wrote: > > Hello. > > There are 5 SCSI disks happily running at sda - sde. The 6th > disk is accepted as /dev/sdf, as the kernel output after lilo > says. But fdisk /dev/sdf fails with "Unable to open /dev/sdf". > strace fdisk /dev/sdf gives > > open("/dev/sdf", O_RDWR) = -1 ENXIO (Device not configured) > open("/dev/sdf", O_RDONLY) = -1 ENXIO (Device not configured)
The problem is solved with the help of this great fellow and expert: Marc SCHAEFER <[EMAIL PROTECTED]>, who worked out the solution: :: SYMPTOM :: - Computer has two SCSI cards. The kernel has one of the SCSI driver :: monolithic, along scsi and sd. :: - After kernel boots, the second card's module is loaded. :: - The second SCSI bus has more than 2 hard drives :: - All SCSI disks from first bus are usable with no problem. However, :: only the first two of the second bus are visible. The third and :: next fail with errors :: :: SOLUTION :: - edit /usr/src/linux/drivers/hosts.h and change :: #define SD_EXTRA_DEVS 2 :: into :: #define SD_EXTRA_DEVS 3 :: if you have 3 disks on the second bus, or to 4 if you have 4, etc. :: :: Similar problems presumably for tapes, generic, etc. :: :: :: And don't forget to recompile and run LILO. And everything work now. Linux and its people are just excellent. Andreas Wehler -- CAD/CAM straessle GmbH Tel.: (+49) 211 - 52740 - 228 Dr.-Ing. Andreas Wehler Fax.: (+49) 211 - 52740 - 280 http://www.cc-straessle.com