Re: [RFT] #2 Support for ~2144 SCSI discs, scsi_debug

Douglas Gilbert
2001-08-10T12:59:44Z

Richard Gooch wrote:
>
> Douglas Gilbert writes:

> > $ ls -l /devfs/scsi/host46/bus0/target0/lun0/*
> > brw------- 1 root root 114, 16 Dec 31 1969
> > /devfs/scsi/host46/bus0/target0/lun0/disc
> > brw------- 1 root root 114, 17 Dec 31 1969
> > /devfs/scsi/host46/bus0/target0/lun0/part1
> > brw------- 1 root root 114, 18 Dec 31 1969
> > /devfs/scsi/host46/bus0/target0/lun0/part2
> > brw------- 1 root root 114, 19 Dec 31 1969
> > /devfs/scsi/host46/bus0/target0/lun0/part3
> >
> > Note the large major device number that devfs is pulling
> > from the unused pool. Devfs makes some noise when
> > 'rmmod scsi_debug' is executed but otherwise things looked
> > ok.
>
> What was the message?

After several seconds of silence, lots of these appeared:
devfs_dealloc_unique_number(): number 128 was already free
devfs_dealloc_unique_number(): number 128 was already free

By the way, that scsi_debug_many_disks.tgz tarball contains:
drivers/scsi/scsi_debug.h
drivers/scsi/scsi_debug.c
This driver is valid for any kernel in the lk 2.4 series.
If the tarball is unzipped in /usr/src/linux it would
replace the originals (which is no great loss but you
may like to keep copies of them).
Also my .config contains: CONFIG_SCSI_DEBUG=m
(for GUI users it is the last SCSI adapter listed).

Doug Gilbert