Setup: 2.0.33 with SCSI compiled as a module. Internal 2Gb disk, external
Yamaha CDR100 writer. AHA2940 card. kerneld. RedHat 4.0 system otherwise.
Under normal circumstances, the CDR is turned off, so at boot time, so scsi0
is detected with sda quite happily and the partition mounted. Occaisionally
I turn on the external box, so
umount /partition
rmmod sd_mod
rmmod aic7xxx
mount /partition
The SCSI driver now performs re-autodetection, finds the hard disk and the
Yamaha. Great! Saves a reboot :-)
BUT: it is not listed as scsi1 rather than scsi0
eg (from /var/log/messages)
at bootup:
Dec 26 11:10:35 mutley kernel: aic7xxx: <Adaptec AHA-294X SCSI host adapter> atPCI 15
Dec 26 11:10:35 mutley kernel: aic7xxx: BIOS enabled, IO Port 0xfc00, IO Mem 0xffbeb000, IRQ 10, Revision B
Dec 26 11:10:35 mutley kernel: aic7xxx: Single Channel, SCSI ID 7, 16/255 SCBs,QFull 16, QMask 0x1f
Dec 26 11:10:35 mutley kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1.1/3.2.1
Dec 26 11:10:35 mutley kernel: scsi : 1 host.
I then umount and rmmod the modules...
Dec 26 20:36:59 mutley kernel: scsi : 0 hosts.
I then perform the mount again:
Dec 26 20:37:31 mutley kernel: aic7xxx: <Adaptec AHA-294X SCSI host adapter> atPCI 15
Dec 26 20:37:31 mutley kernel: aic7xxx: BIOS enabled, IO Port 0xfc00, IO Mem 0xffbeb000, IRQ 10, Revision B
Dec 26 20:37:31 mutley kernel: aic7xxx: Single Channel, SCSI ID 7, 16/255 SCBs,QFull 16, QMask 0x1f
Dec 26 20:37:31 mutley kernel: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1.1/3.2.1
Dec 26 20:37:31 mutley kernel: scsi : 1 host.
Note it is now scsi1 and not scsi0
This causes cosmetic problems with (for example) X-CD-Roast thinking the scsi
config has changed.
Config settings have the SCSI base configured into the kernel (not as a module)
but with the AIC7xxx driver and SD/ST/SR/SG drivers configured as modules.
-- Stephen Harris sweh@spuddy.mew.co.uk http://www.spuddy.org/The truth is the truth, and opinion just opinion. But what is what? * Meeeeow ! Call Spud the Cat on > 01268 515441 < for free Usenet access *