Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 07:22:00 -0800
From:      Robert <traveling08@cox.net>
To:        Raphael Kubo da Costa <rakuco@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [kde-freebsd] k3b-kde4 fails to build on Beta3
Message-ID:  <20111108072200.379314fc@9vaio>
In-Reply-To: <14856684.AxEAtq7AOp@gibbon>
References:  <20111009082202.76001338@9vaio> <14856684.AxEAtq7AOp@gibbon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Oct 2011 00:59:07 -0200
Raphael Kubo da Costa <rakuco@freebsd.org> wrote:

> On Sunday 09 October 2011 08:22:02 Robert wrote:
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand=
.cpp
> > :186:
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand=
_bsd
> > .cpp: In member function 'int
> > K3b::Device::ScsiCommand::transport(K3b::Device::TransportDirection,
> > void*,
> > size_t)':
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand=
_bsd
> > .cpp:108: error: 'struct scsi_sense_data' has no member named
> > 'flags'
>=20
> [snip]
>=20
> I've fixed this upstream and in our area51 repository. If you're
> wiling to give it a try, copy [1] into your k3b-kde4/files directory
> in your ports tree.
>=20
> If things work fine, I'll commit it to ports in a few days.
>=20
> [1]
> http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/files/patch-=
libk3bdevice-k3bscsicommandbsd.cpp
> _______________________________________________

Raphael,

This past weekend I did a source upgrade to:
[robert@9vaio] ~> uname -a
FreeBSD 9vaio.shasta204.local 9.0-RC1 FreeBSD 9.0-RC1 #6: Sat Nov  5
11:48:47 PDT 2011
root@9vaio.shasta204.local:/usr/obj/usr/src/sys/GENERIC  i386

I was the able to build cdparanoia successfully and was able to build
k3b-kde4 successfully. K3b starts and loads fine but cannot find any
optical drives. I have followed the instructions in pkg-message to no
avail.

cdrecord -scanbus shows my optical drives as does camcontrol devlist. I
am able to burn a CD using cdrecord but k3b still does not find any
optical drives (see attached).

These are ATA drives that are showing up as /dev/cdX. I am using a
generic kernel and am loading atapicam via loader.conf.

I am willing and able to try any suggestions.

Robert

[robert@9vaio] ~> cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.00 (i386-unknown-freebsd9.0) Copyright
(C) 1995-2010 J=C3=B6rg Schilling Using libscg version =E2=80=98schily-0.9=
=E2=80=98.
scsibus0:
        0,0,0     0) =E2=80=98=E2=80=99 =E2=80=98=E2=80=99 =E2=80=98=E2=80=
=99 NON CCS Disk
        0,1,0     1) =E2=80=98=E2=80=99 =E2=80=98=E2=80=99 =E2=80=98=E2=80=
=99 NON CCS Disk
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) =E2=80=98Optiarc ' =E2=80=98DVD RW AD-7190A ' =E2=80=
=981.01' Removable
CD-ROM 1,1,0   101) =E2=80=98TOSHIBA ' =E2=80=98DVD-ROM SD-R5002' =E2=80=98=
1S32' Removable
CD-ROM 1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

[robert@9vaio] ~> camcontrol devlist
<WDC WD800JB-32FSA0 77.07W77>      at scbus0 target 0 lun 0 (pass0,ada0)
<WDC WD2000JB-00GVA0 08.02D08>     at scbus0 target 1 lun 0 (pass1,ada1)
<Optiarc DVD RW AD-7190A 1.01>     at scbus1 target 0 lun 0 (pass2,cd0)
<TOSHIBA DVD-ROM SD-R5002 1S32>    at scbus1 target 1 lun 0 (pass3,cd1)

[robert@9vaio] ~> cdrecord dev=3D1,0,0
downloads/FreeBSD-9.0-BETA3-amd64-bootonly.iso cdrecord: No write mode
specified. cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults. Cdrecord-ProDVD-ProBD-Clone 3.00
(i386-unknown-freebsd9.0) Copyright (C) 1995-2010 J=C3=B6rg Schilling
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority(). cdrecord: WARNING: This causes a high risk for buffer
underruns. scsidev: =E2=80=981,0,0=E2=80=98 scsibus: 1 target: 0 lun: 0
Using libscg version =E2=80=98schily-0.9=E2=80=98.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :=20
Vendor_info    : =E2=80=98Optiarc =E2=80=98
Identifikation : =E2=80=98DVD RW AD-7190A =E2=80=98
Revision       : =E2=80=981.01=E2=80=98
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED=20
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority(). cdrecord: WARNING: This causes a high risk for buffer
underruns. Starting to write CD/DVD/BD at speed 48 in real SAO mode for
single session. Last chance to quit, starting real write    0 seconds.
Operation starts. Turning BURN-Free off
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Track 01: Total bytes read/written: 147042304/147042304 (71798 sectors).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111108072200.379314fc>