Re: porting libburnia to kfreebsd

2009-12-29 Thread Petr Salinger

The reason why you get involved is the question
whether i shall flatly enable our FreeBSD SCSI
adapter for a Debian system on FreeBSD kernel.


Yes, please. The kernel is the same and the libcam
library is built from FreeBSD source.

Update of acinclude.m4, libburn/os.h, libburn/sg.c
will be needed at least.

For debian package, also add into build-depends
libcam-dev [kfreebsd-i386 kfreebsd-amd64]
It comes from freebsd-libs source package.


In that case i would enable the FreeBSD adapter
for Debian on FreeBSD kernel and ask politely for
testing.


Please tell me the detailed recipe for testing.

Thanks
Petr


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: porting libburnia to kfreebsd

2009-12-29 Thread Thomas Schmitt
Hi,

Petr Salinger:
 Update of acinclude.m4, libburn/os.h, libburn/sg.c
 will be needed at least.

George initially proposed me to use macro
  __FreeBSD_kernel__
for system detection.
This text snippet brought me to
  http://glibc-bsd.alioth.debian.org/porting/PORTING
where i read this
  Example of triplet check: freebsd* | kfreebsd*-gnu)
  Example of C macro check: defined(__FreeBSD__) || defined(__FreeBSD_kernel__)

So i implemented now:


In acinclude.m4:

kfreebsd*-gnu)
  ARCH=freebsd
  LIBBURN_ARCH_LIBS=-lcam
  ;;


In libburn/os.h:

  #ifdef __FreeBSD_kernel__
  #include os-freebsd.h


In libburn/sg.c:

  #ifdef __FreeBSD_kernel__
  #include sg-freebsd.c




Above changes are committed to SVN

  http://svn.libburnia-project.org/libburn/trunk

and there is also a fresh cdrskin development
tarball containing the same sources

  http://scdbackup.sourceforge.net/cdrskin-0.7.5.tar.gz




 Please tell me the detailed recipe for testing.

Test proposal:

If the source was obtained from SVN, then do
  ./bootstrap

For both SVN and tarball do
  ./configure
  make

Then try whether the cdrecord emulator starts up:

  cdrskin/cdrskin -version

It should reply
  cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
  Cdrecord 2.01-Emulation Copyright (C) 2006-2009, see libburnia-project.org
  System adapter:  internal FreeBSD CAM adapter sg-freebsd
  libburn interface :  0.7.5
  libburn in use:  0.7.5
  cdrskin version   :  0.7.5
  Version timestamp :  2009.12.29.132537
  Build timestamp   :  -none-given-

The SVN version timestamp may show a newer date
and time. The tarball has: 2009.12.29.134637.

The following would indicate that the FreeBSD
adapter did _not_ come into effect:
  System adapter:  internal X/Open adapter sg-dummy
The Debian build demon compiles it on kfreebsd
and hurd currently. No CD drives would be
reachable, then.

One may do
  make install
or run
  cdrskin/cdrskin
in the build location. I assume the latter.


I have never run libburn on FreeBSD myself.
The following command should list all drives to
which you have rw-permission. Maybe it lists
others too:

  cdrskin/cdrskin --devices

On Linux i get something like
  ...
  cdrskin: Overview of accessible drives (5 found) :
  ---
  0  dev='/dev/sr0'  rwrw-- :  'TSSTcorp'  'CDDVDW SH-S203B'
  1  dev='/dev/sr1'  rwrw-- :  'HL-DT-ST'  'BD-RE GGW-H20L'
  2  dev='/dev/sr2'  rwrwrw :  'HL-DT-ST'  'BDDVDRW GGC-H20L'
  3  dev='/dev/hda'  rwrw-- :  'HL-DT-ST'  'DVD-ROM GDR8162B'
  4  dev='/dev/hdc'  rwrw-- :  'LITE-ON '  'LTR-48125S'
  ---

If you get to see devices and if you have
rw-permission, you should be able to eject and
load the drive tray:

  cdrskin/cdrskin dev=/dev/sr2 -eject
  sleep 5
  cdrskin/cdrskin dev=/dev/sr2 -load


If this works then it should be possible to use
cdrskin for burning CD, DVD and BD media. See

  man cdrskin/cdrskin.1

especially section EXAMPLES.
They should all work with the appropriate media
types.

To get a list of cdrecord compatible options:
  cdrskin/cdrskin -help
For a list of cdrskin specialties use --help
with double dash
  cdrskin/cdrskin --help


If you have GUI frontends or scripts which use
cdrecord then it would be interesting whether
they can be tricked into using cdrskin and
whether cdrskin suffices for them.
It offers growisofs-like DVD capabilities in
the skin of cdrecord. That might give old scripts
new potential.

Linux linkers of libburn are:
  xfburn, Brasero (libburn optional), xorriso.

The latter belongs to the libburnia project.
It depends further on our libisofs and libisoburn
which should both be quite portable.
It is a command line tool to produce and burn
ISO 9660 images.
(x stands for X/Open, not for X Window System.)





Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fail to install from mini.iso

2009-12-29 Thread naths
On Mon, 2009-12-28 at 19:55 +0100, Aurelien Jarno wrote: 
 On Mon, Dec 28, 2009 at 10:43:54PM +0530, naths wrote:
  Hi,
  I have burned mini.iso dated 17.12.09 from d-i.debian.org/.../monolithic
  and tried to install.
  But after creating partitions manually the installer failed to connect
  for mirror.It also failed to install base package,error as code name
  not found.
  
 
 Does the installer found your network card, and has it configured it 
 correctly? Do you use DHCP or static IP?
 

No error/massage found regarding network card and it's configeration.
I used static IP. Mirror used  ftp.fr.debian.org or ftp.debian-port.org
could not be connected.Then used directory /debian (instead of/debian/).
Installer never asked for unstable/unreleased and main (may be default).





-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: porting libburnia to kfreebsd

2009-12-29 Thread Petr Salinger


In acinclude.m4:

   kfreebsd*-gnu)
 ARCH=freebsd
 LIBBURN_ARCH_LIBS=-lcam
 ;;


Please do also this:

--- acinclude.m4
+++ acinclude.m4
@@ -6,12 +6,12 @@
   AC_MSG_CHECKING([target operating system])


-  case $target in
-*-*-linux*)
+  case $target_os in
+linux*)
   ARCH=linux
   LIBBURN_ARCH_LIBS=
   ;;
-*-*-freebsd*)
+freebsd*)
   ARCH=freebsd
   LIBBURN_ARCH_LIBS=-lcam
   LIBBURNIA_PKGCONFDIR=$(echo $libdir | sed 
's/\/lib$/\/libdata/')/pkgconfig


Otherwise, the results are quite satisfactory ;-)


 http://scdbackup.sourceforge.net/cdrskin-0.7.5.tar.gz


I used this with above change and autoreconf -vfi.


Then try whether the cdrecord emulator starts up:

 cdrskin/cdrskin -version

It should reply
 cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
 Cdrecord 2.01-Emulation Copyright (C) 2006-2009, see libburnia-project.org
 System adapter:  internal FreeBSD CAM adapter sg-freebsd
 libburn interface :  0.7.5
 libburn in use:  0.7.5
 cdrskin version   :  0.7.5
 Version timestamp :  2009.12.29.132537
 Build timestamp   :  -none-given-



$ cdrskin/cdrskin -version
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
Cdrecord 2.01-Emulation Copyright (C) 2006-2009, see libburnia-project.org
System adapter:  internal FreeBSD CAM adapter sg-freebsd
libburn interface :  0.7.5
libburn in use:  0.7.5
cdrskin version   :  0.7.5
Version timestamp :  2009.12.29.134637
Build timestamp   :  -none-given-


 cdrskin/cdrskin --devices

On Linux i get something like
 ...
 cdrskin: Overview of accessible drives (5 found) :
 ---
 0  dev='/dev/sr0'  rwrw-- :  'TSSTcorp'  'CDDVDW SH-S203B'
 1  dev='/dev/sr1'  rwrw-- :  'HL-DT-ST'  'BD-RE GGW-H20L'
 2  dev='/dev/sr2'  rwrwrw :  'HL-DT-ST'  'BDDVDRW GGC-H20L'
 3  dev='/dev/hda'  rwrw-- :  'HL-DT-ST'  'DVD-ROM GDR8162B'
 4  dev='/dev/hdc'  rwrw-- :  'LITE-ON '  'LTR-48125S'
 ---


# cdrskin/cdrskin --devices
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
Note: If this hangs for a while then there is a drive with
  unexpected problems (e.g. ill DMA).
  One may exclude such a device file by removing r- and w-
  permissions for all cdrskin users.
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: Overview of accessible drives (1 found) :
-
0  dev='/dev/cd0'  rwr--- :  'Optiarc '  'DVD RW AD-7200A'
-


 cdrskin/cdrskin dev=/dev/sr2 -eject


fine:

# cdrskin/cdrskin dev=/dev/cd0 -eject
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: NOTE : greying out all drives besides given dev='/dev/cd0'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done


 cdrskin/cdrskin dev=/dev/sr2 -load


# cdrskin/cdrskin dev=/dev/cd0 -load
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: NOTE : greying out all drives besides given dev='/dev/cd0'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: SORRY : No media found in drive

and with media:

# cdrskin/cdrskin dev=/dev/cd0 -load
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: NOTE : greying out all drives besides given dev='/dev/cd0'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: NOTE : option -load orders program to exit after loading tray.



If this works then it should be possible to use
cdrskin for burning CD, DVD and BD media. See


# cdrskin/cdrskin dev=/dev/cd0 -toc
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: NOTE : greying out all drives besides given dev='/dev/cd0'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: pseudo-atip on drive 0
cdrskin: status 4 burn_disc_full There is a disc with data on it in the drive
scsidev: '1,0,0'
Device type: Removable CD-ROM
Vendor_info: 'Optiarc'
Identifikation : 'DVD RW AD-7200A'
Revision   : '1.05'
Driver flags   : BURNFREE
Supported modes: TAO SAO
cdrskin: burn_drive_get_write_speed = 706  (4.0x)
ATIP info from disk:
  Is erasable
  ATIP start of lead in:  -11078 (97:34/22)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  4 1T speed high: 4
Product Id:97m34s22f/79m59s74f
Producer:  Mitsubishi Chemical Corporation
first: 1 last 1
track:   1 lba: 0 (0) 00:02:00 adr: 1 control: 4 mode: 1
track:lout lba:313525 (  1254100) 69:42:25 adr: 1 control: 4 mode: -1
Media summary: 1 sessions, 1 tracks, closed CD-RW


# cdrskin/cdrskin dev=/dev/cd0 blank=fast
cdrskin 0.7.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: NOTE : greying out all drives besides given 

freebsd-sendpr_3.113+8.0-1_amd64.changes ACCEPTED

2009-12-29 Thread Archive Administrator


Accepted:
freebsd-sendpr_3.113+8.0-1.debian.tar.gz
  to main/f/freebsd-sendpr/freebsd-sendpr_3.113+8.0-1.debian.tar.gz
freebsd-sendpr_3.113+8.0-1.dsc
  to main/f/freebsd-sendpr/freebsd-sendpr_3.113+8.0-1.dsc
freebsd-sendpr_3.113+8.0-1_all.deb
  to main/f/freebsd-sendpr/freebsd-sendpr_3.113+8.0-1_all.deb
freebsd-sendpr_3.113+8.0.orig.tar.gz
  to main/f/freebsd-sendpr/freebsd-sendpr_3.113+8.0.orig.tar.gz


Override entries for your package:
freebsd-sendpr_3.113+8.0-1.dsc - source utils
freebsd-sendpr_3.113+8.0-1_all.deb - extra utils

Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 538558 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



freebsd-manpages_8.0~rc3-1_amd64.changes ACCEPTED

2009-12-29 Thread Archive Administrator


Accepted:
freebsd-manpages_8.0~rc3-1.diff.gz
  to main/f/freebsd-manpages/freebsd-manpages_8.0~rc3-1.diff.gz
freebsd-manpages_8.0~rc3-1.dsc
  to main/f/freebsd-manpages/freebsd-manpages_8.0~rc3-1.dsc
freebsd-manpages_8.0~rc3-1_all.deb
  to main/f/freebsd-manpages/freebsd-manpages_8.0~rc3-1_all.deb
freebsd-manpages_8.0~rc3.orig.tar.gz
  to main/f/freebsd-manpages/freebsd-manpages_8.0~rc3.orig.tar.gz


Override entries for your package:
freebsd-manpages_8.0~rc3-1.dsc - source doc
freebsd-manpages_8.0~rc3-1_all.deb - optional doc

Announcing to debian-devel-chan...@lists.debian.org


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



freebsd-manpages_8.0-1_amd64.changes ACCEPTED

2009-12-29 Thread Archive Administrator


Accepted:
freebsd-manpages_8.0-1.diff.gz
  to main/f/freebsd-manpages/freebsd-manpages_8.0-1.diff.gz
freebsd-manpages_8.0-1.dsc
  to main/f/freebsd-manpages/freebsd-manpages_8.0-1.dsc
freebsd-manpages_8.0-1_all.deb
  to main/f/freebsd-manpages/freebsd-manpages_8.0-1_all.deb
freebsd-manpages_8.0.orig.tar.gz
  to main/f/freebsd-manpages/freebsd-manpages_8.0.orig.tar.gz


Override entries for your package:
freebsd-manpages_8.0-1.dsc - source doc
freebsd-manpages_8.0-1_all.deb - optional doc

Announcing to debian-devel-chan...@lists.debian.org


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: porting libburnia to kfreebsd

2009-12-29 Thread Thomas Schmitt
Hi,

 # genisoimage -o - /tmp/cdrskin-0.7.5 | cdrskin/cdrskin dev=/dev/cd0 -
 ...
 Track 01: Total bytes read/written: 13455360/13455360 (6570 sectors).

Great. Thanks a lot.

It is quite a while that i had a success report
from FreeBSD. One never knows whether a
regression sneaked in.


The next release 0.7.6 of libburn will be out in
a few weeks. In case of urgency i could make
a patch release 0.7.4.pl02.
If the Debian project decides to make its own
patched libburn for now:
derive it from
   libburn-0.7.4.pl01.tar.gz
as submitted to the build demon, and not from the
half cooked cdrskin-0.7.5 tarball.
(It is ok for testing cdrskin but not for a
 system wide installed libburn.so.) 




More volunteer testers wanted:

The next step would be to replace genisoimage
by
  xorriso -as mkisofs -o - /tmp/cdrskin-0.7.5 | ...

and next to omit the pipe and cdrskin

  xorriso -dev /dev/cd0 \
  -blank as_needed \
  -map /tmp/cdrskin-0.7.5 /

and next to try the stuff which outperforms
mkisofs as described on
  http://scdbackup.sourceforge.net/xorriso_eng.html
  
I assume that the Debian xorriso is linked with
libburn dynamically. So the binary package should
now have the ability to work with CD drives on
kfreebsd.
One would just have to install libburn.so from
the build tree:
  make install
and to try the examples on the xorriso web page
under
  Command Examples:
resp. from the end of
  man xorriso

In case of problems: send me bug reports.
(Check by ldd whether really libburn.so is linked
 and by ls -l whether it is really new.)




 So, please just solve the $target/$target_os mix in acinclude.m4,
 i.e. with above suggested patch.

Now it looks like this:

  case $target_os in
linux*)
  ARCH=linux
  LIBBURN_ARCH_LIBS=
  ;;
freebsd*)
  ARCH=freebsd
  LIBBURN_ARCH_LIBS=-lcam
  LIBBURNIA_PKGCONFDIR=$(echo $libdir | sed 
's/\/lib$/\/libdata/')/pkgconfig
  ;;
kfreebsd*-gnu)
  ARCH=freebsd
  LIBBURN_ARCH_LIBS=-lcam
  ;;

(Thanks for your tolerance towards my purely
 heuristic approach to autotools.)


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org