Re: SCSI module loses count of buses in 2.0.33?

Leonard N. Zubkoff (lnz@dandelion.com)
Sun, 28 Dec 1997 13:09:07 -0800


From: sweh@spuddy.mew.co.uk (Stephen Harris)
Date: Sat, 27 Dec 1997 14:00:37 GMT

This isn't a killer, more a cosmetic problem, but it might have long term
problems.

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

[snip]

This is considered normal and proper behavior for loading/unloading SCSI
modules, or so I was told back when the module support was first introduced.
The SCSI host numbers are never reused.

Leonard