Re: audio CD/CD-TEXT

2012-11-29 Thread Steve Randall
On Wed, 28 Nov 2012 22:30:36 -0800
Waitman Gobble gobble...@gmail.com wrote:

 Hi,
 
 A girl sent me her CD and it appears that she created a mixed mode
 disc with CD-TEXT info of her lyrics. I can't recall playing/noticing
 such a disc in the past 10 years so I'm at a loss.
 
 I can dump the audio tracks (cdda2wav) and/or play the audio disc
 with mplayer.
 
 Anyone with a pointer on how to get at the CD-TEXT info? ie, read the
 lyrics. THANKS!
 
 
 # cd-info /dev/cd0
 cd-info version 0.83 amd64-portbld-freebsd9.0
 CD location   : /dev/cd0
 CD driver name: FreeBSD
access mode: CAM
 
 Vendor  : hp
 Model   : CDDVDW SN-208BB
 Revision: HH01
 Hardware  : CD-ROM or DVD
 __
 
 Disc mode is listed as: CD-ROM Mixed
 CD-ROM Track List (1 - 12)
   #: MSF   LSNType   Green? Copy? Channels Premphasis?
   1: 00:02:00  00 audio  false  no2no
   2: 03:51:30  017205 audio  false  no2no
   3: 08:25:73  037798 audio  false  no2no
   4: 13:10:19  059119 audio  false  no2no
   5: 17:19:00  05 audio  false  no2no
   6: 22:24:01  100651 audio  false  no2no
   7: 27:24:54  123204 audio  false  no2no
   8: 32:41:17  146942 audio  false  no2no
   9: 37:41:26  169451 audio  false  no2no
  10: 40:48:05  183455 audio  false  no2no
  11: 44:18:38  199238 audio  false  no2no
  12: 51:36:41  232091 data   false  no
 170: 51:42:43  232543 leadout (521 MB raw, 518 MB formatted)
 Media Catalog Number (MCN): 0
 TRACK  1 ISRC: 
 TRACK  2 ISRC: 
 TRACK  3 ISRC: 
 TRACK  4 ISRC: 
 TRACK  5 ISRC: 
 TRACK  6 ISRC: 
 TRACK  7 ISRC: 
 TRACK  8 ISRC: 
 TRACK  9 ISRC: 
 TRACK 10 ISRC: 
 TRACK 11 ISRC: 
 TRACK 12 ISRC: 
 Last CD Session LSN: failed

The above could indicate a problem.


 audio status: no status
 volume level port 0: 216 (0..255)  84 (0..100)
 volume level port 1: 216 (0..255)  84 (0..100)
 volume level port 2:   0 (0..255)   0 (0..100)
 volume level port 3:   0 (0..255)   0 (0..100)
 __
 CD Analysis Report
 Audio CD, CDDB disc ID is 9f0c1c0c
 ++ WARN: command data missing
 cd-info: Found 0 matches in CDDB
 
 CD-TEXT for Disc:
   PERFORMER: Anomie Belle
   TITLE: sleeping patterns
 CD-TEXT for Track  1:
   PERFORMER:  
   TITLE: down
 CD-TEXT for Track  2:
   PERFORMER:  
   TITLE: how can i be sure
 CD-TEXT for Track  3:
   PERFORMER:  
   TITLE: american view
 CD-TEXT for Track  4:
   PERFORMER:  
   TITLE: john q public
 CD-TEXT for Track  5:
   PERFORMER:  
   TITLE: cascade
 CD-TEXT for Track  6:
   PERFORMER:  
   TITLE: greenhouse
 CD-TEXT for Track  7:
   PERFORMER:  
   TITLE: bedtime stories
 CD-TEXT for Track  8:
   PERFORMER:  
   TITLE: before you leave me
 CD-TEXT for Track  9:
   PERFORMER:  
   TITLE: february sun
 CD-TEXT for Track 10:
   PERFORMER:  
   TITLE: dox amsterdam
 CD-TEXT for Track 11:
   PERFORMER:  
   TITLE: amy song
 CD-TEXT for Track 12:
 CD-Plus/Extra
 session #2 starts at track 12, LSN: 232091, ISO 9660 blocks: 232190
 ISO 9660: 232190 blocks, label `SLEEPING_PATTERNS_LYRICS'

So the disk should be mountable using mount_cd9660. But if it can't
find the last session by itself, you would have to pass -s 232091 to
it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gfc-afc-volume-mon

2012-11-12 Thread Steve Randall
On Mon, 12 Nov 2012 11:35:59 +1030
Shane Ambler free...@shaneware.biz wrote:

 On 12/11/2012 09:40, ajtiM wrote:
  Hi!
 
  I use FreeBSD 9.1-RC3 #0 r242324 mnow. After updtae from 9.1-RC2 to
  RC3 I have a problem with GIMP which start more slow than before and
  top shows me:
 
 
  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND 3 102
  0 44176K  9256K CPU10   1:11 100.00% gvfs-afc-volume-mon
 
  Firefox and Inkscape wok same as before and gvfs-* doesn't show.
 
 
 I have been running 9.0 all year and have seen this issue but haven't
 gone as far as tracking down the cause of it hanging like that. I
 wondered if it may have an issue with zfs - I run a pure zfs system.
 
 While it will use 100% cpu and keep the disk busy I have tried letting
 it run for a few hours and it doesn't stop.
 
 It is gtk related - a lot of gtk/gnome apps trigger it when starting
 even xfce starts it on login, others will trigger/re-trigger when the
 open file dialog is used.

A web search turns up a number of reports of exactly this same
problem... on Linux. So, not a FreeBSD bug.


 
 My biggest concern is not knowing where it comes from - it is not
 listed in any packing list for installed ports. All the build logs
 from my tinderbox setup have no mention of it.

This looks like another auto-configure bug. gvfs-afc-volume-monitor is
built by devel/gvfs when the necessary library is present. It should
either be exposed as a port option or else be explicitly disabled.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't mount root during freebsd-update 7.0 - 8.1 on amd64

2010-12-07 Thread Steve Randall
On Tue, 7 Dec 2010 19:09:53 +0100
jo...@jodocus.org wrote:

  2010/12/5  jo...@jodocus.org:
  Hi
 
  I'm trying to upgrade a amd64 box from 7.0-RELEASE to 8.1-RELEASE with
  freebsd-update. After the first reboot the 8.1R GENERIC kernel loads
  (I'm
  using a custom kernel, so at this point the generic kernel is loaded
  manually)
  It then claims it can't mount /
 
 
  GEOM_PART becomes the default slicer
 
  Status: Committed to -CURRENT
  Will appear in 8.0: sure
  Author: Marcel Moolenaar  others
  Web: commit message
 
  GEOM_PART (gpart) is a new GEOM partition class (slicer) and utility
  that rolls up support for many partitioning formats (MBR, BSD, GPT
  etc.) into a single code base.
 
  NOTE: Caveat when upgrading! GEOM_PART might interpret existing
  partition tables (especially if many operating systems are present -
  multi boot) differently than the previous classes. Your devices might
  get renamed.

I guess that's the key paragraph.


 
  NOTE: Some old utilities like bsdlabel may not work if the kernel
  doesn't include GEOM_BSD and other old slicer classes. In other words,
  bsdlabel et al don't work with GEOM_PART.
 
  Maybe you're encountering this trouble right now. what I would advise
  you is using labels. Please do the following :
 
  tunefs -L root /dev/ad4a
  tunefs -L var /dev/ad4e (assuming it's e on your system ?)
  and for usr, tmp, etc ...
 
 From a fixit environment. then edit your /etc/fstab and place
  /dev/ufs/root /dev/ufs/var instead of hardcoding the device node.
 
 
 Adding labels to the partitions doesn't help. I've tried both UFS and GEOM
 labels. You did point me in the right direction though.
 
 If I load geom_mbr my partitions show up and all is well. I think it was
 actually the slice that wasn't recognized.
 
 geom_part should have recognized the mbr, right? I've scanned
 g_part_mbr_probe() and all the checks it does should succeed. DOSMAGIC is
 there. The first byte of each row in the partition table is either 0x80 of
 0x00. geom_part seems to do first match when probing. is there a way for
 me to find out which geom_part_* module is staking a claim on my mbr?

You mean on ad4.

$ gpart show ad4

Your disk was at one time dangerously dedicated and later converted
to MBR. But there is still an obsolete BSD label in block 1 of the disk.

# dd if=/dev/zero of=/dev/ad4 seek=1 count=1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Steve Randall
On Thu, 14 Oct 2010 10:36:59 +0200
Matthias Apitz g...@unixarea.de wrote:

 
 Hello,
 
 I was facing a problem in some Makefile/shell-scripting and finally I
 could nail it down:
 
 when you set the environment variable GZIP to something, for example to
 let it point to gzip itself, it tries 1st to unpack this file:
 
 $ GZIP=/usr/bin/gzip export GZIP
 $ $GZIP -dc source.tar.gz | wc -l
 gzip: /usr/bin/gzip: not in gzip format
   645770
 
 o
 
 $ GZIP=bla export GZIP
 $ gzip -dc source.tar.gz | wc -l
 gzip: can't stat: bla: No such file or directory
   645770
 
 Why is this? It's not mentioned in the man page.

It is, actually.

ENVIRONMENT
 If the environment variable GZIP is set, it is parsed as a white-space
 separated list of options handled before any options on the command line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I have mail, but where?

2009-12-22 Thread Steve Randall
On Tue, 22 Dec 2009 23:50:54 +0100
Andrea Venturoli m...@netfence.it wrote:

 APseudoUtopia ha scritto:
  Type mail
 
 You have 10 mail messages in /var/mail/.
 %mail
 No mail for  andrea

Are there really two spaces in a row there? That's a vital clue. For
some reason your 'USER' environment variable is set to ' andrea' (with a
leading space). Then .cshrc sets the 'mail' shell variable to
'(/var/mail/ andrea)'. That's now a list with two elements. Since the
first is a directory, csh counts the files in it, assuming they are
messages.

Since you don't have this problem with console logins, look for a
configuration error in your GUI login manager.

HTH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Add options to a port.

2009-04-17 Thread Steve Randall
On Fri, 17 Apr 2009 16:01:00 +1000
Dave Hardman d...@hardman.name wrote:

   Following a recent ports updating gnucash crashes with a
 segmentation fault. I've been advised to enable debugging to track down

Don't bother.

http://svn.gnucash.org/trac/changeset/17747

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Steve Randall
On Sat, 07 Feb 2009 13:15:08 -0500
Akenner slackwarew...@comcast.net wrote:

 Glen Barber wrote:
  On Sat, Feb 7, 2009 at 12:43 PM, Akenner slackwarew...@comcast.net wrote:

  Glen Barber wrote:
  
  Akenner said:

  basic Xterm, it says it can't be found. If I try running it from a run
  dialog it won't run from there either.
 
 
  
  Have you `rehash'ed ?
 
 

  Yes I have. I read that whenever installing something new I should do that
  so it can find new things.
 
  
 
  Did that not work? Is the problem still present?  What happens if you
  log out and log in again?
 
 

 Basically it does the same thing. I used the pkg_add as I said, and once 
 I finished, I did the rehash thing, and then logging in and out doesn't 
 seem to change it. Is there a chance the package itself is messy?
 
 I was told to try whereis and did so, and it said /usr/ports/net-im/aim 
 and when I typed the direct path, it said permission denied, so I tried 
 su to root, and ran it again, and it said the same thing...Which is a 
 little strange being root.

Even root is not allowed to execute a directory. :)

Out of curiosity, I downloaded the package, though I didn't install it.
Possibly you already know that this is a linux program. Therefore you
need to have linux_enable=YES in your /etc/rc.conf.

Your first problem, though, is that the package installs a wrapper
script as /compat/linux/bin/aim that I believe is supposed to be
/usr/local/bin/aim instead. So of course it is not in your search
path. Verify that the script is there, and, if it is, try copying it to
the correct location.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7 load hangs on boot

2008-12-18 Thread Steve Randall
On Wed, 17 Dec 2008 16:54:45 -0800 (PST)
ThinkDifferently jer...@futurecis.com wrote:

 
 
 Polytropon wrote:
  
  
  ThinkDifferently wrote:
  hptrr: no controller detected.
  
  It looks like there's a proble with the hptrr driver? Have you
  tried loading the HighPoint RocketRAID device drive by putting
  
  hptrr_load=YES
  
  into /boot/loader.conf?
  
  Further information can be obtained by:
  
  % man hptrr
  
  Check if your particular controller is supported.
  
 
 I went back to this, using my USB boot device and edited /boot/loader.conf
 to have hptrr_load=YES.  Still, no joy.
 
 Also, I've been able to determine that I don't have a RocketRAID device. 
 That's a separate RAID card, and I simply don't have one.  What I have is an
 onboard NVIDIA NForce Storage Controller.  I'm befuddled as to why FreeBSD
 thinks I have RocketRAID.

It doesn't. FreeBSD DOES include the hptrr driver (among many others)
in the generic kernel. Most drivers remain quiet when they find nothing
to drive, but not hptrr. The message confirms that you DON'T have
RocketRAID, and gives no insight into your problem.

I can't really help you with that. I can tell you that FreeBSD 7.0
works fine on my nForce 630a chipset, though I do not have it
configured for RAID, only AHCI. Your 720a chipset is newer, perhaps
too new to be supported by FreeBSD 7.0. You might want to give 7.1 a
try. You might also check if your BIOS is up to date, in case the
problem is there.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to talk to tap(4)

2008-05-16 Thread Steve Randall
On Thu, 15 May 2008 14:49:26 -0400
Bob McConnell [EMAIL PROTECTED] wrote:

  My code so far:
 
  - tear along dotted line -
   tapFD = open (/dev/tap0, O_RDWR);
   if (tapFD  0) {
 fprintf (stderr, Failed to open /dev/tap0: %d.\n, tapFD);
 exit (2);
   }
 
   fprintf (stderr, Successfully opened /dev/tap0.\n);
 
   unsigned char * buffer = (unsigned char*)malloc(1514);
   if (buffer = NULL) {

   if (buffer == NULL) {


 fprintf (stderr, No memory available.\n);
 close (tapFD);
 exit(3);
   }
 
 When I replace the malloc with an automatic array, the
 error goes away and I get the data I am looking for. i.e.:
 
unsigned char buffer[1514];
 
 So why can't I use malloc to create that buffer?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]