Keith Morse wrote:
> On Tue, 2 Jul 2002, Net Llama! wrote:
> 
> 
>>On Mon, 1 Jul 2002, Keith Morse wrote:
>>
>>
>>>What I'd like to know is why cdrecord gets hung when doing a -scanbus on
>>>/dev/sg0?
>>
>>Isn't sg0 like a scanner or something similarly unrelated to CD burners?
> 
> 
> 
> And things like tape library changers use /dev/sg* also.  The sg module 
> gets loaded as a requirement for the ide cdrom burner.  On this RH 7.2 
> system, cdrom burning failed about 2 months ago for reasons unknown.
> 
> cat /proc/scsi/scsi reveals,
> 
> Host: scsi0 Channel: 00 Id: 02 Lun: 00
>   Vendor: HP       Model: C1537A           Rev: L706
>   Type:   Sequential-Access                ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 03 Lun: 00
>   Vendor: SONY     Model: TSL-A300C        Rev: L107
>   Type:   Sequential-Access                ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 03 Lun: 01
>   Vendor: SONY     Model: TSL-A300C        Rev: L107
>   Type:   Medium Changer                   ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 04 Lun: 00
>   Vendor: HP       Model: C1557A           Rev: U709
>   Type:   Sequential-Access                ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 05 Lun: 00
>   Vendor: SEAGATE  Model: AIT-LDR          Rev: L1j8
>   Type:   Sequential-Access                ANSI SCSI revision: 02
> Host: scsi3 Channel: 00 Id: 00 Lun: 00
>   Vendor: LG       Model: CD-RW CED-8080B  Rev: 1.06
>   Type:   CD-ROM                           ANSI SCSI revision: 02
> Host: scsi3 Channel: 00 Id: 01 Lun: 00
>   Vendor: LG       Model: CD-ROM CRD-8521B Rev: 2.00
>   Type:   CD-ROM                           ANSI SCSI revision: 02
> 
> 
> And if I try,
> 
> [root@ocelot root]# cdrecord -dd -scanbus dev=3,0,0
> dev: 3,0,0 speed: 8 fs: 2097152
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
> TOC Type: 1 = CD-ROM
> scsidev: '3,0,0'
> scsibus: 3 target: 0 lun: 0
> scg__open() 3,0,0
> 
> 
> 
> 
> it will stay at that point.  The process isn't hung as I can Ctrl-C to 
> interrupt it.

Something isn't kosher with your setup.  You've got devices and IDs all 
over the map.  Why aren't they starting sequentially, starting from 0?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    [EMAIL PROTECTED]
Linux Step-by-step & TyGeMo:                http://netllama.ipfox.com

  11:50am  up 76 days, 18:38,  2 users,  load average: 0.28, 0.15, 0.19

_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to