NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cdrecord, no scsi, netbsd 9



On Thu, 2 Apr 2020 at 08:54, Pierre Dupond <76nemo76%gmx.ch@localhost> wrote:
>
> Hi All,
>      I have installed cdrecord from the precompiled packages.
> The machine is running Netbsd 9, minimal installation.
>
> When I try to detect an external USB 2.0 dvd burner it is not recognised
> with a message indicating that the SCSI driver can not be used.
>
> Should I do something specific (to load a specific module or
> to recompile a kernel) to use SCSI layer?

What I have seen, basically it tries to open /dev/cd* devices; if it
can't find any, it outputs that message.
...
..[$] <()> cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.01 (amd64-unknown-netbsd9.99.52)
Copyright (C) 1995-2015 Joerg Schilling
Using libscg version 'schily-0.9'.
scsibus31:
        31,0,0  3100) 'hp      ' 'DVD RW AD-7586H ' 'KH04' Removable CD-ROM
        31,1,0  3101) *
...


(this is a USB2 DVD-writer I just attached to one of my systems,
running -current).

You can try

..[$] <()> ktruss cdrecord -scanbus 2>&1 | grep /dev
  1638      1 cdrecord open("/dev/rcd0d", 0x2, 0x7f7fff8337aa) = 3
  1638      1 cdrecord open("/dev/rcd1d", 0x2, 0x7f7fff8337aa) Err#6 ENXIO
  1638      1 cdrecord open("/dev/rcd2d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd3d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd4d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd5d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd6d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd7d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd8d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT
  1638      1 cdrecord open("/dev/rcd9d", 0x2, 0x7f7fff8337aa) Err#2 ENOENT



>
> best regards,
>
>
> -----------------------------Output of the cdrecord command---------------------------------------
>
> oche# cdrecord -scanbus
> Cdrecord-ProDVD-ProBD-Clone 3.01 (amd64-unknown-netbsd9.0) Copyright (C) 1995-2015 Joerg Schilling
> cdrecord: No such file or directory. Cannot open or use SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> oche# cdrecord dev=help
> Cdrecord-ProDVD-ProBD-Clone 3.01 (amd64-unknown-netbsd9.0) Copyright (C) 1995-2015 Joerg Schilling
> Supported SCSI transports for this platform:
>
> Transport name:         SCIOCCOMMAND
> Transport descr.:       SCSI for devices known by *BSD
> Transp. layer ind.:
> Target specifier:       device or bus,target,lun
> Target example:         /dev/rcd0a:@ or 1,2,0
> SCSI Bus scanning:      not supported
> Open via UNIX device:   supported
>
> Transport name:         RSCSI
> Transport descr.:       Remote SCSI
> Transp. layer ind.:     REMOTE:
> Target specifier:       rscsi@host:bus,target,lun
> Target example:         REMOTE:rscsi@host:1,2,0
> SCSI Bus scanning:      supported
> Open via UNIX device:   not supported
>
> --
>


-- 
----


Home | Main Index | Thread Index | Old Index