On Thu, 2002-05-30 at 02:53, Ricardo J. Méndez Castro wrote:
> Hi Linus,
> 
> 
> > First, make sure you have sg (SCSI generic) support in your system. It
> > is almost always built as a module.
> 
> sg is supported and loaded.
> 
> 
> > Also, make sure the scanner is being
> > detected by your SCSI adapter before Linux starts booting.
> 
> If you mean being detected by the adapter even before LILO (on the boot-up
> initialization sequence), it is being detected.
> 
> 
> 
> > Then check to
> > see if Linux is detecting it.
> 

Also look in your boot logs to see what the SCSI driver is doing. Here
is an example from my dmesg log file showing that I have a couple of LSI
Logic 53c1010 dual channel controllers. Note the section towards the end
where it shows the devices being detected on the SCSI bus's. The Vendor:
HP, Type: Processor is my scanner.

SCSI subsystem driver Revision: 1.00
sym53c8xx: at PCI bus 0, device 4, function 1
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c1010-33 detected with Symbios NVRAM
sym53c8xx: at PCI bus 0, device 4, function 0
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c1010-33 detected with Symbios NVRAM
sym53c8xx: at PCI bus 0, device 1, function 1
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c1010-66 detected with Symbios NVRAM
sym53c8xx: at PCI bus 0, device 1, function 0
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c1010-66 detected with Symbios NVRAM
sym53c1010-66-0: rev 0x1 on pci bus 0 device 1 function 0 irq 29
sym53c1010-66-0: Symbios format NVRAM, ID 7, Fast-80, Parity Checking
sym53c1010-66-0: on-chip RAM at 0xfeaf6000
sym53c1010-66-0: restart (scsi reset).
sym53c1010-66-0: handling phase mismatch from SCRIPTS.
sym53c1010-66-0: Downloading SCSI SCRIPTS.
sym53c1010-33-1: rev 0x1 on pci bus 0 device 4 function 0 irq 18
sym53c1010-33-1: Symbios format NVRAM, ID 7, Fast-80, Parity Checking
sym53c1010-33-1: on-chip RAM at 0xfeaee000
sym53c1010-33-1: restart (scsi reset).
sym53c1010-33-1: handling phase mismatch from SCRIPTS.
sym53c1010-33-1: Downloading SCSI SCRIPTS.
sym53c1010-66-2: rev 0x1 on pci bus 0 device 1 function 1 irq 28
sym53c1010-66-2: Symbios format NVRAM, ID 7, Fast-80, Parity Checking
sym53c1010-66-2: on-chip RAM at 0xfeafc000
sym53c1010-66-2: restart (scsi reset).
sym53c1010-66-2: handling phase mismatch from SCRIPTS.
sym53c1010-66-2: Downloading SCSI SCRIPTS.
sym53c1010-33-3: rev 0x1 on pci bus 0 device 4 function 1 irq 19
sym53c1010-33-3: Symbios format NVRAM, ID 7, Fast-80, Parity Checking
sym53c1010-33-3: on-chip RAM at 0xfeaf4000
sym53c1010-33-3: restart (scsi reset).
sym53c1010-33-3: handling phase mismatch from SCRIPTS.
sym53c1010-33-3: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx-1.7.3c-20010512
scsi1 : sym53c8xx-1.7.3c-20010512
scsi2 : sym53c8xx-1.7.3c-20010512
scsi3 : sym53c8xx-1.7.3c-20010512
  Vendor: IBM       Model: DDYS-T36950N      Rev: S96H
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: IBM       Model: DDYS-T36950N      Rev: S96H
  Type:   Direct-Access                      ANSI SCSI revision: 03
sym53c1010-66-0-<0,0>: tagged command queue depth set to 8
sym53c1010-66-0-<1,0>: tagged command queue depth set to 8
  Vendor: HP        Model: C5110A            Rev: 3638
  Type:   Processor                          ANSI SCSI revision: 02
  Vendor: HP        Model: C5683A            Rev: C104
  Type:   Sequential-Access                  ANSI SCSI revision: 02
  Vendor: TOSHIBA   Model: DVD-ROM SD-M1401  Rev: 1007
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: YAMAHA    Model: CRW2100S          Rev: 1.0N
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
sym53c1010-66-0-<0,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62)
SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
Partition check:


> According to cat /proc/scsi/scsi, the scanner isn't being detected by Linux.
> This is exactly the part I'm having trouble with.  cat /proc/scsi/scsi
> returns
> 
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: Promise  Model: 2+0 Stripe/RAID0 Rev: 1.10
>   Type:   Direct-Access                    ANSI SCSI revision: 02
> 
> (This is the integrated FastTrack 100 Lite that the Promise driver reports
> to the Kernel as a SCSI device)
> 




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to