24 Jun 2008

DVD burnining

/opt/schily/bin/cdrecord dev=1,0,0 driveropts=help -checkdrive
Cdrecord-ProDVD-ProBD-Clone 2.01.01a35 (i386-pc-solaris2.10) Copyright (C) 1995-2007 Jörg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identifikation : 'DVD-RAM UJ-822S '
Revision : '1.61'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
/opt/schily/bin/cdrecord: Cannot load media with this drive!
/opt/schily/bin/cdrecord: Try to load media by hand.
Driver options:
burnfree Prepare writer to use BURN-Free technology
noburnfree Disable using BURN-Free technology

# /opt/schily/bin/cdrecord driveropts=burnfree dev=1,0,0 SUSE11x64.iso
/opt/schily/bin/cdrecord: No write mode specified.
/opt/schily/bin/cdrecord: Asuming -sao mode.
/opt/schily/bin/cdrecord: If your drive does not accept -sao, try -tao.
/opt/schily/bin/cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a35 (i386-pc-solaris2.10) Copyright (C) 1995-2007 Jörg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identifikation : 'DVD-RAM UJ-822S '
Revision : '1.61'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
WARNING: Phys disk size 1 differs from rzone size 2298496! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 196608
Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Track 01: Total bytes read/written: 4651712512/4651712512 (2271344 sectors).

19 Jun 2008

Dhcp & unknwon host

To fix the problem with unknown host using dhcp in Solaris 10, you need to edit 2 files:

1.) /etc/nodename. Add hostname to this file.
2.) /etc/default/dhcpagent. Edit this file and set this option: REQUEST_HOSTNAME=no

reboot and viola!

12 Jun 2008

Proccess commands

  • pflags: Prints the tracing flags, pending and held signals and other /proc status information for each LWP.
  • pcred: Prints credentials (ie, EUID/EGID, RUID/EGID, saved UID/GIDs).
  • pmap: Prints process address space map.
  • pldd: Lists dynamic libraries linked to the process.
  • psig: Lists signal actions.
  • pstack: Prints a stack trace for each LWP in the process.
  • pfiles: Reports fstat, fcntl information for all open files.
  • pwdx: Prints each process's working directory.
  • pstop: Stops process.
  • prun: Starts stopped process.
  • pwait: Wait for specified processes to terminate.
  • ptree: Prints process tree for process.
  • ptime: Times the command using microstate accounting; does not time children.

Refering site.