Re: fetchmail and plain text password

2009-12-30 Thread Victor Sudakov
Anton Shterenlikht wrote:
 Are you saying I can make mutt read mail directly from the imap
 server? Without fetchmail?

Certainly. mutt is a very good IMAP client, you can do some tricky
things with it like 

mutt -f imaps://y...@yourserver.edu/~otheruser/somefolder/somemailbox
or even 
mutt -f 
imaps://y...@yourserver.edu/~otheru...@somevirtualdomain.com/foo/bar/mbox

Of course if IMAP ACLs permit you. I have never seen another IMAP
client who could use such IMAP URIs.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: Midnight Commander - Where is the subshell?

2009-12-30 Thread herbert langhans
On Wed, Dec 30, 2009 at 02:22:29AM +, Dave M. wrote:
 On Tue, Dec 29, 2009 at 11:37 PM, herbert langhans
 herbert.raim...@gmx.net wrote:
  Hi Daemons,
  I have just installed the brandnew mc 4.7 - now there is still an old 
  little annoyance:
 
  Being root I can switch away the mc-commander and use the shell, CTRL+o 
  does the trick.
 
  But as a normal user CTRL+o blanks the screen, no shell prompt appears and 
  hitting a key just shows mc again.
 
  The subshell support must be working, all is fine if I am root.
  What is wrong there, anyone knows the trick using the subshell as a normal 
  user??
 
  Thanks!
  herb langhans
 
  --
  sprachtraining langhans
  herbert langhans, warschau
  http://www.langhans.com.pl
  herbert dot raimund at gmx dot net
  +0048 603 341 441
 
  ___
  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
 
 
 Hello,
 Check your directory permissions on ~home/.mc

I tried 777 on ~/.mc - still the same problem.

How about other listers Midnight Commander? Is it the same on your computers? 
Maybe I will write to the port maintainerabout it, for the case it is a common 
bug.

Cheers
herb langhans

___
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


I need help on installation

2009-12-30 Thread Roger Agraviador
I found an old pc that I just reformatted the HDD using G parted, now that I
try to boot from a Free BSD CD (7.2 release) the Intel chip gives me an
error message that the system boot failed and asks me to insert a system
disk which I do not have, how do I go about that because I virtually cannot
install any operating system.

Do I have to install a boot loader like GRUB2? If so How do I go about that?
Since I have found no iso image of GRUB2 to burn into a live cd.
___
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: how does the C pre-processor interface with make?

2009-12-30 Thread Matthew Seaman

Oliver Mahmoudi wrote:

Hey folks,

I was wondering how the C pre-processor interfaces with make. Let's suppose
that I have a little C program, something along the lines of:

#include stdio.h

int
main()
{
#ifdef FOO
 fprintf(stdout, Hi, my name is foo.\n);
#endif

#ifdef BAR
 fprintf(stdout, Hi, my name is bar.\n);
#endif

 fprintf(stdout, I am always here.\n);

 return(1-1);
}

It is easy to control the pre-processor in the above code by defining the
respective terms or leaving them out, however,
I am trying to control the conditionals from out of a makefile.

This is essentially the way in which the kernel sources are compiled.

Any suggestions?


Yes.  You have to define your FOO and BAR variables on the cc(1) command
line using the -D flag, based on the equivalent settings in make.  Supposing
your little program is held in a file wibble.c, then in your Makefile you'ld
need something like this to compile and link it into a program called wibble:

.if defined(FOO)
CFLAGS+=   -DFOO
.endif

.if defined(BAR)
CFLAGS+=   -DBAR
.endif

wibble: wibble.c
${CC} ${CFLAGS} ${LDFLAGS} ${.ALLSRC} -o ${.TARGET}


Then you'ld invoke make(1) as:

   % make -DFOO -DBAR wibble

or define FOO and BAR in the shell environment, which make(1) should pick
up.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Midnight Commander - Where is the subshell?

2009-12-30 Thread Bernt Hansson

herbert langhans said the following on 2009-12-30 09:21:

On Wed, Dec 30, 2009 at 02:22:29AM +, Dave M. wrote:

On Tue, Dec 29, 2009 at 11:37 PM, herbert langhans
herbert.raim...@gmx.net wrote:

Hi Daemons,
I have just installed the brandnew mc 4.7 - now there is still an old little 
annoyance:

Being root I can switch away the mc-commander and use the shell, CTRL+o does 
the trick.

But as a normal user CTRL+o blanks the screen, no shell prompt appears and 
hitting a key just shows mc again.

The subshell support must be working, all is fine if I am root.
What is wrong there, anyone knows the trick using the subshell as a normal 
user??




Hello,
Check your directory permissions on ~home/.mc


I tried 777 on ~/.mc - still the same problem.

How about other listers Midnight Commander? Is it the same on your computers?

 Maybe I will write to the port maintainerabout it,
 for the case it is a common bug.


I have no problems with mc subshell. You can move ~/.mc to some other 
name and start over.

___
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: fetchmail and plain text password

2009-12-30 Thread Anton Shterenlikht
On Wed, Dec 30, 2009 at 02:16:51PM +0600, Victor Sudakov wrote:
 Anton Shterenlikht wrote:
  Are you saying I can make mutt read mail directly from the imap
  server? Without fetchmail?
 
 Certainly. mutt is a very good IMAP client, you can do some tricky
 things with it like 
 
 mutt -f imaps://y...@yourserver.edu/~otheruser/somefolder/somemailbox

wow! that's so easy, why didn't I find this before..

thanks a lot for this hint!

Is it possible to run it as a daemon, so that I don't have to
enter password each time?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: HP NC373i unsupported..?

2009-12-30 Thread Bert-Jan
Replying to my own question.. I found the B0 version of this adapter is 
intentionally disabled in the driver.
I've commented out the case that catches the 5708_B0 and I'm recompiling 
the kernel.
As this server has run for years without problems I'm hoping the nic 
will work just fine. Maybe it's disabled because someone else had 
problems with it that I'm about to run into..


Will keep you posted...


Bert-Jan wrote:

Hi folks,

I just got a HP Proliant DL380 G5 and I've installed FreeBSD 8.0 on it.
The nic won't come up however.

dmesg shows:

bce0: HP NC373i Multifunction Gigabit Server Adapter (B0) mem 
0xf800-0xf9ff irq 16 at device 0.0 on pci3
bce0: /usr/src/sys/dev/bce/if_bce.c(836): Unsupported controller 
revision (B0)!

device_attach: bce0 attach returned 19

bce1: HP NC373i Multifunction Gigabit Server Adapter (B0) mem 
0xfa00-0xfbff irq 17 at device 0.0 on pci5
bce1: /usr/src/sys/dev/bce/if_bce.c(836): Unsupported controller 
revision (B0)!

device_attach: bce0 attach returned 19

pciconf -lv:

b...@pci0:3:0:0:class=0x02 card=0x7038103c chip=0x164c14e4 
rev=0x10 hdr=0x00

   vendor = 'Broadcom Corporation'
   device = 'Broadcom NetXtreme II Gigabit Ethernet Adapter 
(BCM5708)'

   class  = network
   subclass   = ethernet

b...@pci0:5:0:0:class=0x02 card=0x7038103c chip=0x164c14e4 
rev=0x10 hdr=0x00

   vendor = 'Broadcom Corporation'
   device = 'Broadcom NetXtreme II Gigabit Ethernet Adapter 
(BCM5708)'

   class  = network
   subclass   = ethernet


Is there a way to fix this ?

Thanks.

___
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

___
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 need help on installation

2009-12-30 Thread Oliver Mahmoudi
now that I try to boot from a Free BSD CD (7.2 release) the Intel chip gives
me an
error message that the system boot failed and asks me to insert a system
disk which I do not have

- are you sure that you have burned the 1st CD as a bootable ISO image?
- have you checked the boot sequence in your BIOS and labeled to try your CD
drive before your HD?
- what type of an Intel chip is it?

Do I have to install a boot loader like GRUB2?

- actually this shouldn't be necessary since the 1st FBSD CD is bootable


Oliver
___
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: fetchmail and plain text password

2009-12-30 Thread Victor Sudakov
Anton Shterenlikht wrote:
   Are you saying I can make mutt read mail directly from the imap
   server? Without fetchmail?
  
  Certainly. mutt is a very good IMAP client, you can do some tricky
  things with it like 
  
  mutt -f imaps://y...@yourserver.edu/~otheruser/somefolder/somemailbox
 
 wow! that's so easy, why didn't I find this before..
 
 thanks a lot for this hint!
 
 Is it possible to run it as a daemon, so that I don't have to
 enter password each time?

I don't think so. You either have to use Kerberos like I do (mutt
supports GSSAPI), or you have to store you password in ~/.mutt/muttrc
(see the imap_pass directive etc). Yes, in cleartext.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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 need help on installation

2009-12-30 Thread Fbsd1

Roger Agraviador wrote:

I found an old pc that I just reformatted the HDD using G parted, now that I
try to boot from a Free BSD CD (7.2 release) the Intel chip gives me an
error message that the system boot failed and asks me to insert a system
disk which I do not have, how do I go about that because I virtually cannot
install any operating system.

Do I have to install a boot loader like GRUB2? If so How do I go about that?
Since I have found no iso image of GRUB2 to burn into a live cd.
___
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




you have to change your bios boot options to boot from cd instead of the 
hard drive. after the freebsd install is complete then change it back


or if your bios allow a boot order change it to first look at cd drive 
and then hard drive to boot from

___
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: fpc on FreeBSD?

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 01:35:05 +1100 (EST) Ian Smith wrote:

 Is fpc's IDE usable, like good ol' TP6 and 7, never mind Delphi?

Usable.

  Docs 
 seem vast, I'm wondering if there's a simple guide to basic compilation, 
 but basically I'd just like to hear that it's working ok for someone and 
 is worth the learning curve?

Working OK. For FreeBSD:
. it's i386-only (seems that upcomming 2.4.0 may have amd64 bits);
. static binaries.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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 need help on installation

2009-12-30 Thread Peter Ulrich Kruppa
Am Mittwoch, den 30.12.2009, 01:27 -0800 schrieb Roger Agraviador:
 I found an old pc that I just reformatted the HDD using G parted, now
 that I
 try to boot from a Free BSD CD (7.2 release) the Intel chip gives me
 an
 error message that the system boot failed and asks me to insert a
 system
 disk which I do not have, how do I go about that because I virtually
 cannot
 install any operating system.
Did you enable booting from CD in your BIOS?

 
 Do I have to install a boot loader like GRUB2? 
No.

 If so How do I go about
 that?
 Since I have found no iso image of GRUB2 to burn into a live cd.
Greetings

Uli.

 ___
 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

___
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


does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Anton Shterenlikht
I was checking for passwordless accounts with 'logins -p'.
None was found. However, I understand toor doesn't have
passwd by default, and I never touched it, so I expected
logins -p to show toor, but it didn't.

Just to check I also tried to su toor with root passwd - no access. 

Please can somebody clarify if toor does indeed have
passwd.

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Ruben de Groot
On Wed, Dec 30, 2009 at 12:33:41PM +, Anton Shterenlikht typed:
 I was checking for passwordless accounts with 'logins -p'.
 None was found. However, I understand toor doesn't have
 passwd by default, and I never touched it, so I expected
 logins -p to show toor, but it didn't.
 
 Just to check I also tried to su toor with root passwd - no access. 
 
 Please can somebody clarify if toor does indeed have
 passwd.

toor:*:0:0::0:0:Bourne-again Superuser:/root:

(from master.passwd)
As you can see, the password is not empty; it's a '*'.
Nothing hashes to *.

Ruben

___
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: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Erik Trulsson
On Wed, Dec 30, 2009 at 12:33:41PM +, Anton Shterenlikht wrote:
 I was checking for passwordless accounts with 'logins -p'.
 None was found. However, I understand toor doesn't have
 passwd by default, and I never touched it, so I expected
 logins -p to show toor, but it didn't.
 
 Just to check I also tried to su toor with root passwd - no access. 
 
 Please can somebody clarify if toor does indeed have
 passwd.

toor, like many other system accounts, by default has its password entry set
to '*' which indicates that password authenictation is disabled for that
account.  (See the passwd(5) manpage for details.)
This means that unless you set a password for toor you cannot login as toor,
so the mere presence of that account is not a security problem.




-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Matthew Seaman

Anton Shterenlikht wrote:

I was checking for passwordless accounts with 'logins -p'.
None was found. However, I understand toor doesn't have
passwd by default, and I never touched it, so I expected
logins -p to show toor, but it didn't.

Just to check I also tried to su toor with root passwd - no access. 


Please can somebody clarify if toor does indeed have
passwd.


By default, the account is locked.  Look at /etc/master.passwd -- the toor
entry probably looks like this:

toor:*:0:0::0:0:Bourne-again Superuser:/root:

That '*' in the second field means there's simply no possibility of login
using a password. In this case, everything is fine.

If it's a string of dollar signs and alphanumerics like this:

$1$salt$qJH7.N4xYta3aEG/dfqo/0

then the account does have a real password.  This is probably OK, if you want
to be able to log in as toor directly. [Before anyone gets excited and
tries to break into any of my machines, no that isn't a real crypted password
from my master.passwd file.  It's created like this:

  % perl -le 'print crypt(password, \$1\$salt\$)'

]

If there's nothing in the second field, then you have a problem, as that means
the account has a NULL password (ie. just hit return when prompted for a 
password
-- this is what 'logins -p' detects). That may or may not actually work to get
into the toor account depending on how you're trying to authenticate and on 
various other security settings eg. in /etc/pam.d, but even so it is something 
that should
be fixed pronto.  Use vipw(8) to edit master.passwd and insert a * -- vipw will 
regenerate /etc/passwd and pwd.db automatically for you.


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Lars Eighner

On Wed, 30 Dec 2009, Matthew Seaman wrote:


Anton Shterenlikht wrote:

I was checking for passwordless accounts with 'logins -p'.
None was found. However, I understand toor doesn't have
passwd by default, and I never touched it, so I expected
logins -p to show toor, but it didn't.

Just to check I also tried to su toor with root passwd - no access. 
Please can somebody clarify if toor does indeed have

passwd.


If there's nothing in the second field, then you have a problem, as that
means the account has a NULL password (ie.  just hit return when prompted
for a password --


I've been wrong before, but I think you do not get a password prompt at all,
at least not on login.  You enter the login: name and you are off to motd
and a command prompt.


this is what 'logins -p' detects).  That may or may not
actually work to get into the toor account depending on how you're trying
to authenticate and on various other security settings eg.  in /etc/pam.d,
but even so it is something that should be fixed pronto.  Use vipw(8) to
edit master.passwd and insert a * -- vipw will regenerate /etc/passwd and
pwd.db automatically for you.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


snd_hda peculiarities

2009-12-30 Thread Richard L. Mace
I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most 
things are working. However, a minor annoyance is that I only get sound if I 
manually load snd_hda via:

# kldload snd_hda

i.e., after booting. If I place the following in /boot/loader.conf

snd_hda_load=YES

I get no sound, even though the driver seems to load and cat /dev/sndstat 
gives
--
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)


Googling, I found this page: 

http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html

Which reports precisely the behaviour I am experiencing. No fix or workaround 
is suggested.

Has anyone with similar hardware managed to get this driver working? Any 
workarounds to my problem? My audio hardware is...

$pciconf -lv 
stuff omitted
hd...@pci0:0:27:0:  class=0x040300 card=0x30c5103c chip=0x284b8086 
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'

device = 'Intel audio controller embedded with the 82801H chipset ( 
ICH8 chipset ) (82801H)'

class  = multimedia 

subclass   = HDA 

And I am using
$ uname -a
FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 
2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Many thanks
-Richard


___
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


touch madness

2009-12-30 Thread Dimitar Vassilev
Hi,
I'm trying to find the match for touch -d now-5minutes+30seconds under
freebsd.
Got a munin plugin that i'd like to change without installing the emulator
port.
I have touch -A, however when i pass touch -A -00d04m30s i don't get
anything as a file.
Can someone give the exact syntax if possible.
Thanks and all the best.
Dimitar
___
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: touch madness

2009-12-30 Thread Matthias Apitz
El día Wednesday, December 30, 2009 a las 04:21:38PM +0200, Dimitar Vassilev 
escribió:

 Hi,
 I'm trying to find the match for touch -d now-5minutes+30seconds under
 freebsd.
 Got a munin plugin that i'd like to change without installing the emulator
 port.
 I have touch -A, however when i pass touch -A -00d04m30s i don't get
 anything as a file.
 Can someone give the exact syntax if possible.
 Thanks and all the best.
 Dimitar

g...@current:~ touch bla
g...@current:~ ls -l bla
-rw-r--r--  1 guru  wheel  0 30 dic 16:04 bla
g...@current:~ touch -A -000530 bla
g...@current:~ ls -l bla
-rw-r--r--  1 guru  wheel  0 30 dic 15:59 bla

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: touch madness

2009-12-30 Thread Brad Mettee

Based on the man page for touch, it doesn't use the d/m/s flags.

Your line should be

touch -A -000430 filename.here

Which would be subtract 0 hours, 4 minutes and 30 seconds from current 
time of the file. I created test file, checked time of it, subtracted N 
minutes to make it even to the hour and it worked as described.


Dimitar Vassilev wrote:

Hi,
I'm trying to find the match for touch -d now-5minutes+30seconds under
freebsd.
Got a munin plugin that i'd like to change without installing the emulator
port.
I have touch -A, however when i pass touch -A -00d04m30s i don't get
anything as a file.
Can someone give the exact syntax if possible.
Thanks and all the best.
Dimitar
___
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

  


--
Brad Mettee
PC HotShots, Inc.
Baltimore, MD
(410) 426-7617
- Let us bring out the **Power** of your PCs. -
- Custom Business Software Solutions since 1991 -
Visit us http://www.pchotshots.com for information about our company.
___
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: touch madness

2009-12-30 Thread Dimitar Vassilev
2009/12/30 Brad Mettee bmet...@pchotshots.com

 Based on the man page for touch, it doesn't use the d/m/s flags.

 Your line should be

 touch -A -000430 filename.here

 Which would be subtract 0 hours, 4 minutes and 30 seconds from current time
 of the file. I created test file, checked time of it, subtracted N minutes
 to make it even to the hour and it worked as described.

 Dimitar Vassilev wrote:

 Hi,
 I'm trying to find the match for touch -d now-5minutes+30seconds under
 freebsd.
 Got a munin plugin that i'd like to change without installing the emulator
 port.
 I have touch -A, however when i pass touch -A -00d04m30s i don't get
 anything as a file.
 Can someone give the exact syntax if possible.
 Thanks and all the best.
 Dimitar
 ___
 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




 --
 Brad Mettee
 PC HotShots, Inc.
 Baltimore, MD
 (410) 426-7617
 - Let us bring out the **Power** of your PCs. -
 - Custom Business Software Solutions since 1991 -
 Visit us http://www.pchotshots.com for information about our company.


thanks to all - tried with inserting measure units hours minutes and so on
1st time.
Without them it works
___
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: snd_hda peculiarities

2009-12-30 Thread Mark


--- On Wed, 12/30/09, Richard L. Mace mac...@telkomsa.net wrote:

 From: Richard L. Mace mac...@telkomsa.net
 Subject: snd_hda peculiarities
 To: freebsd-questions@freebsd.org
 Date: Wednesday, December 30, 2009, 8:45 AM
 I recently installed FreeBSD 8.0
 (amd64) on my laptop (HP 8510w) and most 
 things are working. However, a minor annoyance is that I
 only get sound if I 
 manually load snd_hda via:
 
 # kldload snd_hda
 
 i.e., after booting. If I place the following in
 /boot/loader.conf
 
 snd_hda_load=YES
 
 I get no sound, even though the driver seems to load and
 cat /dev/sndstat 
 gives
 --
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at
 cad 0 nid 1 on hdac0 kld 
 snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
 pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at
 cad 0 nid 1 on hdac0 kld 
 snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
 
 
 Googling, I found this page: 
 
 http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html
 
 Which reports precisely the behaviour I am experiencing. No
 fix or workaround 
 is suggested.
 
 Has anyone with similar hardware managed to get this driver
 working? Any 
 workarounds to my problem? My audio hardware is...
 
 $pciconf -lv 
 stuff omitted
 hd...@pci0:0:27:0:      class=0x040300
 card=0x30c5103c chip=0x284b8086 
 rev=0x03 hdr=0x00        
     vendor     = 'Intel
 Corporation'             
                
                
               
     device     = 'Intel audio
 controller embedded with the 82801H chipset ( 
 ICH8 chipset ) (82801H)'         
                
                
                
                
                
   
     class      = multimedia 
                
                
                
                
    
     subclass   = HDA 
 
 And I am using
 $ uname -a
 FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov
 21 15:02:08 UTC 
 2009     r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
 amd64
 
 Many thanks
 -Richard
 

Try adding sound_load=YES to the loader.conf 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: snd_hda peculiarities

2009-12-30 Thread Richard L. Mace
On Wednesday 30 December 2009 17:12:35 Mark wrote:
 --- On Wed, 12/30/09, Richard L. Mace mac...@telkomsa.net wrote:
  From: Richard L. Mace mac...@telkomsa.net
  Subject: snd_hda peculiarities
  To: freebsd-questions@freebsd.org
  Date: Wednesday, December 30, 2009, 8:45 AM
  I recently installed FreeBSD 8.0
  (amd64) on my laptop (HP 8510w) and most
  things are working. However, a minor annoyance is that I
  only get sound if I
  manually load snd_hda via:
 
  # kldload snd_hda
 
  i.e., after booting. If I place the following in
  /boot/loader.conf
 
  snd_hda_load=YES
 
  I get no sound, even though the driver seems to load and
  cat /dev/sndstat
  gives
  -
 - FreeBSD Audio Driver
  (newpcm: 64bit 2009061500/amd64)
  Installed devices:
  pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at
  cad 0 nid 1 on hdac0 kld
  snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
  pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at
  cad 0 nid 1 on hdac0 kld
  snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
  -
 ---
 
  Googling, I found this page:
 
  http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html
 
  Which reports precisely the behaviour I am experiencing. No
  fix or workaround
  is suggested.
 
  Has anyone with similar hardware managed to get this driver
  working? Any
  workarounds to my problem? My audio hardware is...
 
  $pciconf -lv
  stuff omitted
  hd...@pci0:0:27:0:  class=0x040300
  card=0x30c5103c chip=0x284b8086
  rev=0x03 hdr=0x00   
  vendor = 'Intel
  Corporation' 
 
 
   
  device = 'Intel audio
  controller embedded with the 82801H chipset (
  ICH8 chipset ) (82801H)' 
 
 
 
 
 
   
  class  = multimedia 
 
 
 
 
 
  subclass   = HDA
 
  And I am using
  $ uname -a
  FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov
  21 15:02:08 UTC
  2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
  amd64
 
  Many thanks
  -Richard
 
 Try adding sound_load=YES to the loader.conf HTH
 

Thanks, but unfortunately result still the same -- no sound.
-Richard
___
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: snd_hda peculiarities

2009-12-30 Thread Mark Moellering

Richard L. Mace wrote:
I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most 
things are working. However, a minor annoyance is that I only get sound if I 
manually load snd_hda via:


# kldload snd_hda

i.e., after booting. If I place the following in /boot/loader.conf

snd_hda_load=YES

I get no sound, even though the driver seems to load and cat /dev/sndstat 
gives

--
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)



Googling, I found this page: 


http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html

Which reports precisely the behaviour I am experiencing. No fix or workaround 
is suggested.


Has anyone with similar hardware managed to get this driver working? Any 
workarounds to my problem? My audio hardware is...


$pciconf -lv 
stuff omitted
hd...@pci0:0:27:0:  class=0x040300 card=0x30c5103c chip=0x284b8086 
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel audio controller embedded with the 82801H chipset ( 
ICH8 chipset ) (82801H)'
class  = multimedia 
subclass   = HDA 


And I am using
$ uname -a
FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 
2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


Many thanks
-Richard

  
I had the same problem.  Unfortunately, I am not at home to look at the 
exact solution but I know it involves setting the sound channel in 
sysctl.conf  I think if you look in some of the relevant man apges, it 
might give you a hint.  something like snd.channel = 1 or something 
similar.  When I get home I will try and post the solution.


Mark
___
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: Adding an alias to .cshrc

2009-12-30 Thread Jerry McAllister
On Tue, Dec 29, 2009 at 07:50:21PM -0500, Steve Bertrand wrote:

 Hi all, happy holidays!
 
 I want to add an alias to my .cshrc file:
 
 alias srm   find . -name *~ | xargs rm
 
Your problem is quoting the command.   It has multiple parts
with white space, so it all needs to be quoted.  Something like:

  alias srm find . -name \*~\ | xargs rm

jerry


 ...so that I have an easy way to remove the temp files left by svn.
 
 After adding the alias, logging out and then back in, I get an error
 stating:
 
 acct-dev: ISP-RADIUS % srm
 srm: Command not found.
 
 I thought that perhaps the file wasn't being read upon login, so I
 appended a new alias underneath:
 
 alias srm   find . -name *~ | xargs rm
 alias sll   ls -lA
 
 ...which works fine when called after re-login.
 
 I even went as far as to prefix the find/xargs command with full paths,
 to no avail.
 
 Is this a problem with the pipe in the alias directive? The command
 works on the CLI, as I literally copy/pasted it into the .cshrc file.
 
 Steve
 
 ___
 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
___
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: Adding an alias to .cshrc

2009-12-30 Thread Jerry McAllister
On Tue, Dec 29, 2009 at 08:07:35PM -0500, Steve Bertrand wrote:

 Glen Barber wrote:
  Hi Steve
  
  On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand st...@ibctech.ca wrote:
  Hi all, happy holidays!
 
  I want to add an alias to my .cshrc file:
 
  alias srm   find . -name *~ | xargs rm
 
  
  Try enclosing it in quotes, such as:
  
 alias srm find . -name \*~\ | xargs rm
 
 This works. Instead of escaping, I just encapsulated within single-quotes:
 
 acct-dev: ISP-RADIUS % grep srm /home/steve/.cshrc
 alias srm   '/usr/bin/find . -name *~ | /usr/bin/xargs rm'

That is OK as long as you are not depending on shell expansion effects.

jerry


 
 Olivier:
 
 I didn't test your theory, but thanks for the tip. I've just become
 accustomed over the years to use xargs when making bulk rm's ;)
 
 Steve
 ___
 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
___
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: Linux-realplayer

2009-12-30 Thread Rem Roberti
On 2009.12.29 19:51:34 +, Rem Roberti wrote:
 While attempting to install Linux-realplayer on an 8.0 box I get this
 error message:
 
 pango-1.22.3-1.fc10.i386.rpm  100% of  374 kB  133 kBps
 ===  Extracting for linux-f10-pango-1.22.3
 = MD5 Checksum OK for rpm/i386/fedora/10/pango-1.22.3-1.fc10.i386.rpm.
 = SHA256 Checksum OK for
 rpm/i386/fedora/10/pango-1.22.3-1.fc10.i386.rpm.
 ===   linux-f10-pango-1.22.3 depends on file: /usr/local/bin/rpm2cpio -
 found
 ===  Patching for linux-f10-pango-1.22.3
 ===  Configuring for linux-f10-pango-1.22.3
 ===  Installing for linux-f10-pango-1.22.3
 ===   linux-f10-pango-1.22.3 depends on file:
 /compat/linux/etc/fedora-release
 ===   linux-f10-pango-1.22.3 depends on file:
 /compat/linux/usr/lib/libcairo.s
 ===   linux-f10-pango-1.22.3 depends on file:
 /compat/linux/lib/libexpat.so.1 
 ===   linux-f10-pango-1.22.3 depends on file:
 /compat/linux/usr/lib/libfontcon
 ===   linux-f10-pango-1.22.3 depends on file:
 /compat/linux/usr/lib/libpng.so.
 ===   linux-f10-pango-1.22.3 depends on file:
 /compat/linux/usr/lib/libXrandr.
 ===   Generating temporary packing list
 ===  Checking if x11-toolkits/linux-f10-pango already installed
 cd /usr/tmp/usr/ports/x11-toolkits/linux-f10-pango/work  /usr/bin/find
 * -typ
 cd /usr/tmp/usr/ports/x11-toolkits/linux-f10-pango/work  /usr/bin/find
 * ! -t
 1748 blocks
 *** Signal 8
 
 Stop in /usr/ports/x11-toolkits/linux-f10-pango.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/linux-f10-gtk2.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/linux-realplayer.
 root@ /usr/ports/multimedia/linux-realplayer: 
 
 Can someone give me a heads up on this one, please.

Yes, it pays to read the release notes. I needed to add the linprocs
line to fstab. Now Linux-realplayer installs.  However, when I try and
run it I now get this:

/usr/local/lib/RealPlayer/realplay.bin: error while loading shared
libraries: libgio-2.0.so.0: cannot open shared object file: No such file
or directory

Anyone?

Rem
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 08:03:23 -0800 Rem Roberti wrote:

 While attempting to install Linux-realplayer on an 8.0 box I get this
 error message:
[resolved]
 However, when I try and
 run it I now get this:

 /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
 libraries: libgio-2.0.so.0: cannot open shared object file: No such file
 or directory

Please show results for those commands:
-
% ls -l /compat/linux/lib/libgio*
% pkg_info -Ix linux
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: snd_hda peculiarities

2009-12-30 Thread Richard L. Mace
On Wednesday 30 December 2009 17:43:04 you wrote:
 Richard L. Mace:
  On Wednesday 30 December 2009 17:12:35 Mark wrote:
  manually load snd_hda via:
 
  # kldload snd_hda
 
  Googling, I found this page:
 
  http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html
 
  Which reports precisely the behaviour I am experiencing. No
  fix or workaround
  is suggested.
 
  Has anyone with similar hardware managed to get this driver
  working? Any
  workarounds to my problem?
  And I am using
  $ uname -a
  FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov
  21 15:02:08 UTC
  2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  amd64
 
  Many thanks
  -Richard
 
  Try adding sound_load=YES to the loader.conf HTH
 
  Thanks, but unfortunately result still the same -- no sound.
  -Richard
 
 This works for ME. Put this in rc.local;
 
 kldload snd_hda
 

Thanks, Bernt. That seemed like a good workaround, but strangely still did not 
work. Driver loaded, but still no sound. 

However, if I start KDE 4.3, open a konsole and do the kldload snd_hda, I get 
sound.

--Richard
___
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: Linux-realplayer

2009-12-30 Thread Rem Roberti
On 2009.12.30 19:08:37 +, Boris Samorodov wrote:
 On Wed, 30 Dec 2009 08:03:23 -0800 Rem Roberti wrote:
 
  While attempting to install Linux-realplayer on an 8.0 box I get this
  error message:
 [resolved]
  However, when I try and
  run it I now get this:
 
  /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
  libraries: libgio-2.0.so.0: cannot open shared object file: No such file
  or directory
 
 Please show results for those commands:
 -
 % ls -l /compat/linux/lib/libgio*

root@ ~: ls -l /compat/linux/lib/libgio*
ls: /compat/linux/lib/libgio*: No such file or directory

 % pkg_info -Ix linux

root@ ~: pkg_info -Ix linux
linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux
Fedora 10)
linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10)
linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing
library (Linux 
linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X
Windows (Linux Fe
linux-f10-jpeg-6b   RPM of the JPEG lib (Linux Fedora 10)
linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10)
linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora
10)
linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10)
linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from
RealNetworks
linux_base-fc-4_15  Base set of packages needed in Linux mode (for
i386/amd64)
linuxdoc-1.1_1  The Linuxdoc SGML DTD



___
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: re-write is this booting info correct?

2009-12-30 Thread Polytropon
On Tue, 29 Dec 2009 09:24:40 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 I have the win98 fdisk english version. I tested this and the fdisk 
 program displays just the drive letter with out the :. Now on the DOS 
 command line you do have to use the : to change to different drive, like 
 in to change to A: drive.

Yes, the fdisk program acts that way. Adding : after the
drive letter (as a capital letter) is a thing you usually
see in any documentation, like this erases you C: drive
or check floppy in A: and B: to make sure they are present.



 The correct word as displayed in the fdisk program is 'logical dos 
 drives' just the way i have it.

Okay, then Laufwerk and drive are corresponding correctly.
Then it's a logical drive inside an extended DOS partition.
I will remember this, thanks for checking!



 back in win3.1 days a 20MG hard drive was the largest made at the time.

I'm _sure_ it was a 20MB hard disk, maybe just a typo? :-)



And for the rewrite:

 The Microsoft/Windows fdisk program is used to allocate partitions on 
 the hard drive. This program allocated two types of partitions “primary 
 dos partition” and “extended dos partition”. DOS means “disk operating 
 system” which was the precursor to the Microsoft/Windows desktop GUI 
 “graphical user interface” first appearing in Win 3.1.

You should have DOS in caps always, as in primary DOS partition.



 An alternate method is to allocate an “extended 
 dos partition” and then sub-divide it into logical dos drives lettered 
 C, D, E, F.

And it is possible to have a bootable system without a primary
DOS partition? I hardly can imagine that - but don't bet on
my opinion, I've NEVER used any Windows, so I'm honestly
just guessing.

A typical multi-drive setting would contain a primary DOS
partition C:, and an extended DOS partition containing the
logical drives D:, E: and F: (for your 4-drive example).



 The FreeBSD ‘disk label’ program is used to sub-divide the slice into 
 smaller chunks called partitions.

The program's name is disklabel or bsdlabel respectively.



 This hard drive 512-byte MBR is where all the limitations are. Due to 
 its size the MBR partition table is limited to 4 entries. This means no 
 matter how large your hard drive is (20MG or 200GB) you can only 
 sub-divide it into a maximum 4 slices/partitions.

I'm sure you wanted to say 20MB - megaBytes. :-)



 The FreeBSD fdisk program has option to 
 write a simple boot menu program to the MBR. Its called the FreeBSD 
 boot manager.

The program boot0cfg does this.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 08:14:22 -0800 Rem Roberti wrote:
 On 2009.12.30 19:08:37 +, Boris Samorodov wrote:
  On Wed, 30 Dec 2009 08:03:23 -0800 Rem Roberti wrote:
  
   While attempting to install Linux-realplayer on an 8.0 box I get this
   error message:
  [resolved]
   However, when I try and
   run it I now get this:
  
   /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
   libraries: libgio-2.0.so.0: cannot open shared object file: No such file
   or directory
  
  Please show results for those commands:
  -
  % ls -l /compat/linux/lib/libgio*

 root@ ~: ls -l /compat/linux/lib/libgio*
 ls: /compat/linux/lib/libgio*: No such file or directory

  % pkg_info -Ix linux

 root@ ~: pkg_info -Ix linux
 linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux
 Fedora 10)
 linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10)
 linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing
 library (Linux 
 linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X
 Windows (Linux Fe
 linux-f10-jpeg-6b   RPM of the JPEG lib (Linux Fedora 10)
 linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10)
 linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora
 10)
 linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10)
 linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from
 RealNetworks
 linux_base-fc-4_15  Base set of packages needed in Linux mode (for
 i386/amd64)

Please upgrade your linux_base port to linux_base-f10 (it's a default
for 8.0 BTW). A small howto you may read at /usr/ports/UPDATING.

 linuxdoc-1.1_1  The Linuxdoc SGML DTD


-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: snd_hda peculiarities

2009-12-30 Thread Pieter de Goeje
On Wednesday 30 December 2009 15:45:50 Richard L. Mace wrote:
 I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most
 things are working. However, a minor annoyance is that I only get sound if
  I manually load snd_hda via:
 
 # kldload snd_hda
 
 i.e., after booting. If I place the following in /boot/loader.conf
 
 snd_hda_load=YES
 
 I get no sound, even though the driver seems to load and cat /dev/sndstat
 gives

Try setting hw.snd.default_unit=1 in sysctl.conf. Most likely the order of the 
devices has changed.

 ---
 --- FreeBSD Audio Driver (newpcm:
  64bit 2009061500/amd64)
 Installed devices:
 pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on hdac0
  kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
 pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on hdac0
  kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
 ---
 -

This looks like the output from the working configuration. Note that the first 
device is the analog output, the second is a digital output. When you load 
snd_hda using loader.conf, the order is likely different on your machine and 
the digital output is listed first. hw.snd.default_unit=1 would then direct the 
sound to the proper (analog) output.

- Pieter
___
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: fpc on FreeBSD?

2009-12-30 Thread Polytropon
On Wed, 30 Dec 2009 01:35:05 +1100 (EST), Ian Smith smi...@nimnet.asn.au 
wrote:
 Is fpc's IDE usable, like good ol' TP6 and 7, never mind Delphi?

Maybe you're interested in xwpe (X window programming environment)
which delivers quite a good look  feel of TP7 (DOS). There's
xwpe for X, and wpe for text mode. But I haven't used it for
many many years, so I can't say something about its current
state and development.

If I raise my head, I can see the Borland TurboPascal 7 box
and manuals on the shelf above my CRT. The day I got it as a
present was the day I didn't code TP anymore, and switched
to C as my primary language. I hope nobody will give me a C
box as a present. :-) But it's okay, I deserved it, because
my TP coding was completely awful - obfuscation in its finest
form, completely unintended. :-)

init;bk(0);setpicardcolor(x0+x1+xk+ax(rs(r,10,12),qq[x])+q,f[q[ni],kk[i+1]);


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: After installing a ZFS only build, machine won't complete POST

2009-12-30 Thread krad
2009/12/30 Dan Nelson dnel...@allantgroup.com

 In the last episode (Dec 29), John Terrell said:
  Has anyone seen this?  I've just installed a ZFS only build following the
  instructions at (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot).  After
  rebooting after the install, the POST won't complete (it appears to be
  looking at the disks for something).  If I unplug the drives and reboot,
  POST completes.  If I then destroy the GPT partitions and install MBR, I
  can now get past POST (but with a corrupted installation that won't
 boot).
 
  Some info:
  Motherboard: MSI Neo2
  Disks:  2x 500GB Seagates (I created a mirrored pool during
 installation).
 
  Could this just be a crappy BIOS issue?

 Possibly.  Unless your BIOS is very new it's unlikely to support GPT.

  I'd hate to have to scrap GPT/ZFS and go back to MBR/UFS.

 ZFS works just fine inside an MBR partition, as long as your disks fit the
 2TB limit (yours do).

 --
Dan Nelson
dnel...@allantgroup.com
 ___
 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


I agree sometime its just easier to take the path of less resistance and go
for MBR. It wont affect and data drives/pools you have as you would probably
add them as raw devices without partitioning
___
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: snd_hda peculiarities

2009-12-30 Thread Mark Moellering

Pieter de Goeje wrote:

On Wednesday 30 December 2009 15:45:50 Richard L. Mace wrote:
  

I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most
things are working. However, a minor annoyance is that I only get sound if
 I manually load snd_hda via:

# kldload snd_hda

i.e., after booting. If I place the following in /boot/loader.conf

snd_hda_load=YES

I get no sound, even though the driver seems to load and cat /dev/sndstat
gives



Try setting hw.snd.default_unit=1 in sysctl.conf. Most likely the order of the 
devices has changed.


  

---
--- FreeBSD Audio Driver (newpcm:
 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on hdac0
 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on hdac0
 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
---
-



This looks like the output from the working configuration. Note that the first 
device is the analog output, the second is a digital output. When you load 
snd_hda using loader.conf, the order is likely different on your machine and 
the digital output is listed first. hw.snd.default_unit=1 would then direct the 
sound to the proper (analog) output.


- Pieter
___
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


  

Richard,
  I am sure that this is what I did to my machine to get snd_hda to 
work.


Mark
___
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


geometry does not match label

2009-12-30 Thread Robin Becker
I'm just setting up a software raid mirror using geom; everything seems to be 
working fine and the mirror is slowly synchronizing.


Because of cabling constraints this is a mirror rather than a duplex (I haven't 
used mirror before) so the gm0 components are ad0/ad1 rather than ad0/ad2. In 
dmesg I see

..
GEOM_MIRROR: Device mirror/gm0 launched (1/2).
GEOM_MIRROR: Device gm0: rebuilding provider ad1.
GEOM: mirror/gm0s1: geometry does not match label (16h,63s != 255h,63s).
..
Trying to mount root from ufs:/dev/mirror/gm0s1a
..

anyone know if I should worry about the geometry does not match label message?
--
Robin Becker
___
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: Missing library building Amarok

2009-12-30 Thread Lowell Gilbert
Frank Wißmann frank.wissman...@web.de writes:

 Hi all!
 When building Amarok I get the following message:

 Error: shared library sgutils.1 does not exist

 How can I obtain more information about it and where can I get it?


You need to give more details.  In particular, more context around where
that error shows up.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Missing library building Amarok

2009-12-30 Thread Frank Wißmann

Lowell Gilbert schrieb:

Frank Wißmann frank.wissman...@web.de writes:


Hi all!
When building Amarok I get the following message:

Error: shared library sgutils.1 does not exist

How can I obtain more information about it and where can I get it?



You need to give more details.  In particular, more context around where
that error shows up.


Hi!
So you mean executing frank -v helps? :-)
To be serious I solved the problem in the meantime by removing the 
dependency libgpod which I truly don't need. Afterwards Amarok built 
well through and is working fine.

Thanks for your thoughts and have a happy new year all!

Greetings Frank

--
GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y?


When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)
___
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: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Matthew Seaman

Lars Eighner wrote:

On Wed, 30 Dec 2009, Matthew Seaman wrote:



If there's nothing in the second field, then you have a problem, as that
means the account has a NULL password (ie.  just hit return when prompted
for a password --


I've been wrong before, but I think you do not get a password prompt at 
all,

at least not on login.  You enter the login: name and you are off to motd
and a command prompt.


It depends on what application you're using to authenticate yourself.
Login on the console doesn't ask for a password.  sshd(8) does (IIRC).
I can't remember what su(1) does.  ftpd(8) always asks for a password.
xdm(1) and that ilk have fields for username and password in one panel,
and generally you just ignore the password field.  That's for access to
a non-root account: as I said, root or other super-user accounts such as
toor may not permit root login at all, or may not permit login without a
password.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: geometry does not match label

2009-12-30 Thread Michael Powell
Robin Becker wrote:

 I'm just setting up a software raid mirror using geom; everything seems to
 be working fine and the mirror is slowly synchronizing.
 
 Because of cabling constraints this is a mirror rather than a duplex (I
 haven't used mirror before) so the gm0 components are ad0/ad1 rather than
 ad0/ad2. In dmesg I see
 ..
 GEOM_MIRROR: Device mirror/gm0 launched (1/2).
 GEOM_MIRROR: Device gm0: rebuilding provider ad1.
 GEOM: mirror/gm0s1: geometry does not match label (16h,63s != 255h,63s).
 ..
 Trying to mount root from ufs:/dev/mirror/gm0s1a
 ..
 
 anyone know if I should worry about the geometry does not match label
 message?

From what I understand, no. I've seen this on all my machines at boot up 
since the recent round of updating. Since the consensus seems to be that it 
is harmless I've ignored it and have experienced no problem of any kind to 
date. This is still a YMMV thing, but I'd bet you can ignore it too.

You should know that the ad0/ad1 will result in a fairly drastic performance 
hit. This is a master/slave arrangement on the same channel. You really 
really should get another cable and do the ad0/ad2 arrangement.

-Mike



___
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: Linux-realplayer

2009-12-30 Thread Rem Roberti
 
 Please upgrade your linux_base port to linux_base-f10 (it's a default
 for 8.0 BTW). A small howto you may read at /usr/ports/UPDATING.
 
I may be making things worse. I wasn't sure how the osrelease should
read for sysctl.conf (couldn't find that in UPDATING), so I upgraded to
linux_base-fc6 ala the instructions in UPDATING. But I still get the
same error message about libgio-2.0.so.0.  Is there any reason why
Linux-realplayer should not work on FBSD 8.0 with linux_base-fc6
installed?

Rem
___
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: geometry does not match label

2009-12-30 Thread Michael Powell
Michael Powell wrote:

[snip]
 
 You should know that the ad0/ad1 will result in a fairly drastic
 performance hit. This is a master/slave arrangement on the same channel.
 You really really should get another cable and do the ad0/ad2 arrangement.
 

And, of course, as soon as I hit the Send button it occurred to me this 
really only applies to a PATA drive set and is meaningless if both drives 
are SATA. Disregard if using SATA!  :-)

-Mike



___
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: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Jason

The handbook has documentation on this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/security.html#TOOR-ACCOUNT

-jgh

On Wed, Dec 30, 2009 at 05:05:35PM +, Matthew Seaman thus spake:

Lars Eighner wrote:

On Wed, 30 Dec 2009, Matthew Seaman wrote:



If there's nothing in the second field, then you have a problem, as that
means the account has a NULL password (ie.  just hit return when prompted
for a password --



I've been wrong before, but I think you do not get a password prompt at
all,
at least not on login.  You enter the login: name and you are off to motd
and a command prompt.


It depends on what application you're using to authenticate yourself.
Login on the console doesn't ask for a password.  sshd(8) does (IIRC).
I can't remember what su(1) does.  ftpd(8) always asks for a password.
xdm(1) and that ilk have fields for username and password in one panel,
and generally you just ignore the password field.  That's for access to
a non-root account: as I said, root or other super-user accounts such as
toor may not permit root login at all, or may not permit login without a
password.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 09:08:41 -0800 Rem Roberti wrote:

  Please upgrade your linux_base port to linux_base-f10 (it's a default
  for 8.0 BTW). A small howto you may read at /usr/ports/UPDATING.
  
 I may be making things worse. I wasn't sure how the osrelease should
 read for sysctl.conf (couldn't find that in UPDATING), so I upgraded to
 linux_base-fc6 ala the instructions in UPDATING. But I still get the
 same error message about libgio-2.0.so.0.

Why did you decide to install linux_base-fc6 but not linux_base-f10?

  Is there any reason why
 Linux-realplayer should not work on FBSD 8.0 with linux_base-fc6
 installed?

8.0 is well tested with linux_base-f10. It's a default. If you
want to play with fc6 then you are at your own...


-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux-realplayer

2009-12-30 Thread Rem Roberti
On 2009.12.30 20:31:23 +, Boris Samorodov wrote:
 On Wed, 30 Dec 2009 09:08:41 -0800 Rem Roberti wrote:
 
   Please upgrade your linux_base port to linux_base-f10 (it's a default
   for 8.0 BTW). A small howto you may read at /usr/ports/UPDATING.
   
  I may be making things worse. I wasn't sure how the osrelease should
  read for sysctl.conf (couldn't find that in UPDATING), so I upgraded to
  linux_base-fc6 ala the instructions in UPDATING. But I still get the
  same error message about libgio-2.0.so.0.
 
 Why did you decide to install linux_base-fc6 but not linux_base-f10?
 
   Is there any reason why
  Linux-realplayer should not work on FBSD 8.0 with linux_base-fc6
  installed?
 
 8.0 is well tested with linux_base-f10. It's a default. If you
 want to play with fc6 then you are at your own...
 
The reason that I did that is because there were explicit instructions
in UPDATING for going to fc6, but I could not find instructions for
going to f10.  As I indicated earlier I have no idea what to include in
/etc/sysctl.conf.  I know that just deleting fc6 and installing f10
isn't going to be enough.  Is there an entry that must be made in
/etc/make.conf as there must be in earlier versions of linux_base?
These are the things I haven't been able to gleen from UPDATING.

Rem 
___
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


Where do I find instructions on how to configure sane-epkowa

2009-12-30 Thread Leslie Jensen
I'm at the point where sane-find-scanner detects my scanner but 
scanimage cannot find it.


I know I must use the sane-epkowa backend.

I've edited the /usr/local/etc/sane.d/epkowa.conf but I think I need to 
make sane aware of the epkowa backend.


The man page for sane-epkowa is not very helpful and there's nothing in 
the handbook to help me out.


Any suggestions?

Thanks

/Leslie
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 09:39:21 -0800 Rem Roberti wrote:

 The reason that I did that is because there were explicit instructions
 in UPDATING for going to fc6, but I could not find instructions for
 going to f10.  As I indicated earlier I have no idea what to include in
 /etc/sysctl.conf.

Nothing should be written to both /etc/make.conf and /etc/sysctl.conf.
All should be OK for 8.0 with just defaults.

  I know that just deleting fc6 and installing f10
 isn't going to be enough.  Is there an entry that must be made in
 /etc/make.conf as there must be in earlier versions of linux_base?
 These are the things I haven't been able to gleen from UPDATING.

OK, I see. Then remove all linux applications (i.e. skype,
acroread, linux-realplayer, etc.) by pkg_delete app_mane.
Then remove all linux infrastructure ports by pkg_delete 'linux-*'.
Unmount all linux filesystems (linsysfs, linprocfs) and delete
linux base port by pkg_delete -f linux_baseyou_have. To be on
a safe side clean /compat/linux. Remove any linux remnants from
/etc/sysctl.conf and /etc/make.conf.

Then just install linux-realpalyer (or any other linux application
from ports). Mount linux filesystems if needed. Your linux apps
should just work. HTH

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: re-write is this booting info correct?

2009-12-30 Thread Polytropon
On Tue, 29 Dec 2009 16:29:56 +1100 (EST), Ian Smith smi...@nimnet.asn.au 
wrote:
 In freebsd-questions Digest, Vol 291, Issue 3, Message: 1
 On Mon, 28 Dec 2009 21:04:57 +0800 Fbsd1 fb...@a1poweruser.com wrote:
 
   Content-Type: text/plain; charset=windows-1252; format=flowed
 
 First up, you'd be better off using a non-Windows charset here, as they 
 use weird characters just for ordinary things like quotes, as below.

Good and helpful advice. Even apostrophes get messed up.



 All of these, at least from DOS 3 (c. '86?) use the same MBR setup, a 
 maximum of 4 Primary Partitions, one (and only one) of which may be an 
 Extended DOS Partition, containing as many Logical Drives as you like; 
 they're formed as a linked list, though I never used past Drive J: with 
 OS/2 (HPFS).  (I'm using caps here to refer to the DOS nomenclature)

The number is de-facto limited to 26 maximum for ALL drive
letters - keyword is LETTER: A up to Z. A: and B: are
reserved for floppy disk drives, C: is the booting partition
(usually a primary DOS partition), D: up to Z: can be:
- other primary partitions
- optical drives
- fake drives refering to directories (SUBST command)
- external drives (INTERLNK / INTERSVR commands)
The order of the drives is somewhat arbitrary, so you
can't always predict drive letter behaviour.



 In all of these, you can't access more than one Primary Partition from 
 any DOS-based OS; if you wish to have drives D:, E:, F: (etc) then these 
 _must_ be in the single Extended Partition - so your statement above is 
 not correct in that respect.

I'm not sure about this. It's long time ago, so my brain isn't
up to date anymore. :-) When I try to remember, I have the
idea in mind that it WAS possible to partition a drive with
primary partitions (max. 4).

I'll check this - and I actually CAN, because I still have
a DOS machine (6.22) running well; it's mostly used for
programming mobile radios and for disk operations in a
museal content (robotron resurrection). :-)



   An alternate method is to allocate an “extended dos partition” and then 
   sub-divide it into logical dos drives lettered C, D, E, F. One of these 
 
 Not limited to F: as above (adding the DOS colon as Polytropon suggests)

My suggestion comes from documentation where C: is preferred
to C (in context of drive letters), like The C: drive is
the booting drive, or On floppy A: you'll find no files.



 I'm not sure about NT, but certainly DOS 3 to 7 
 cannot boot from other than drive C: - though DOS Drive C: need not be 
 the first physical disk partition, indeed there can be several, though 
 only the first one marked Active is called C: by DOS on any one boot.

DOS doesn't provide a native means for boot selection, so
this statement appears to be correct in relation to my
memories.



   Microsoft/Windows partition and the FreeBSD slice is where the operating 
   system software is installed. Microsoft/Windows operating system creates 
   default folders that share the space in the partition.  The FreeBSD 
 
 It's not clear what you mean here by 'folders that share the space'?

It seems to refer to the fact that the functional separation
in Windows is done through directories (folders), instead
of partitions.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


mrtg broken dependency

2009-12-30 Thread Sergio de Almeida Lenzi
Hello...

mrtg (net-mgmt/mrtg) misses a dependency on perl module===
p5-SNMP_Session

in the Makefile:

RUN_DEPENDS+=   ${SITE_PERL}/SNMP_util.pm:
${PORTSDIR}/net-mgmt/p5-SNMP_Session

fix the problem

what next??? how to contact the mrtg port manager???

Thanks for your attention,

Sergio 
___
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: Linux-realplayer

2009-12-30 Thread Rem Roberti
On 2009.12.30 20:50:32 +, Boris Samorodov wrote:
 On Wed, 30 Dec 2009 09:39:21 -0800 Rem Roberti wrote:
 
  The reason that I did that is because there were explicit instructions
  in UPDATING for going to fc6, but I could not find instructions for
  going to f10.  As I indicated earlier I have no idea what to include in
  /etc/sysctl.conf.
 
 Nothing should be written to both /etc/make.conf and /etc/sysctl.conf.
 All should be OK for 8.0 with just defaults.
 
   I know that just deleting fc6 and installing f10
  isn't going to be enough.  Is there an entry that must be made in
  /etc/make.conf as there must be in earlier versions of linux_base?
  These are the things I haven't been able to gleen from UPDATING.
 
 OK, I see. Then remove all linux applications (i.e. skype,
 acroread, linux-realplayer, etc.) by pkg_delete app_mane.
 Then remove all linux infrastructure ports by pkg_delete 'linux-*'.
 Unmount all linux filesystems (linsysfs, linprocfs) and delete
 linux base port by pkg_delete -f linux_baseyou_have. To be on
 a safe side clean /compat/linux. Remove any linux remnants from
 /etc/sysctl.conf and /etc/make.conf.
 
 Then just install linux-realpalyer (or any other linux application
 from ports). Mount linux filesystems if needed. Your linux apps
 should just work. HTH
 
Ah, Boris...your patience is commendable, especially to this newbie.
But before I follow the instructions of your last post I assume that
installing f10 is implied, and should precede the installation of any
linux apps.  Correct?
___
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: Where do I find instructions on how to configure sane-epkowa

2009-12-30 Thread Roland Smith
On Wed, Dec 30, 2009 at 06:48:56PM +0100, Leslie Jensen wrote:
 I'm at the point where sane-find-scanner detects my scanner but 
 scanimage cannot find it.
 
 I know I must use the sane-epkowa backend.
 
 I've edited the /usr/local/etc/sane.d/epkowa.conf but I think I need to 
 make sane aware of the epkowa backend.

Put a line

epkowa

in /usr/local/etc/sane.d/dll.conf

Put the vendor and device-id you get from sane-find-scanner in epkowa.conf

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpMxH7gGRdff.pgp
Description: PGP signature


xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread doug

On Tue, 29 Dec 2009, Warren Block wrote:


On Tue, 29 Dec 2009, d...@safeport.com wrote:

[xdm slow startup]

The answer appears to be to add an empty LISTEN statement to 
/usr/local/lib/X11/xdm/Xaccess. The xdm package issues a IPV6 DHCP request. 
While the xdm man page suggests this is not needed:


  To disable listening for XDMCP connections altogther, a line of
  LISTEN with no addresses may be specified, or the previously
  supported method of setting DisplayManager.requestPort to 0 may
  be used.

This seems not to be the case as adding this line gets rid of the long 
delay and suppresses the IPV6 DHCP request. The DisplayManager.requestPort 
is set to 0 in the default configuration. This solves the long start (I am 
pretty sure). Thank you for your suggestions that pushed me to find this.


I was wrong about this. With this change xdm started fine from the command line 
and took perhaps even longer when started from /etc/ttys. This describes 7.4_1 
behavior.


Hmm.  That sounds like a bug (maybe IPV6 support being added but the feature 
to disable it being forgotten).  Does having an IPV6 localhost defined in 
/etc/hosts (::1 localhost) have the same effect?



I am also pretty sure my hardware just does not work with hal and dbus.


What keyboard and mouse do you have?  Also, which version of FreeBSD are you 
using?


All these issues are with xorg 7.4_1. I have installed xorg-7.4_2 via pkg_add on 
a clean system and xdm-1.1.8_2. Nothing else is installed.


Starting xdm gives the following in /var/log/xdm-log:

 :
  finished PLL1
  set RMX
  set LVDS
  enable LVDS
  disable primary dac
  disable FP1
  disable TV
  /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol shmctl
  xdm error (pid 1416): server unexpectedly died
  xdm error (pid 1416): Server for display :0 can't be started, session
  disabled

I added one line to the xorg.conf file generated by Xorg -configure:

  Option  AutoAddDevices false

A diff shows this file to be exactly what I was using with xorg-7.4_1 (which 
works albeit with a very slow startup). I have excerpted various 
[relevant] outputs to show my hardware. I needed I can either attach or 
include the entire files.


startx works but locks the keyboard. After running fsck scores of times, it 
finally occurred to me to ssh into the system so I can force a shutdown. With 
both startx (which appears to work) and xdm a reboot is required to recover 
the system. Starting xdm get an error logged to STDERR that an IPV6 LISTEN can 
not be done.


My laptop is built without IPV6. hal and dbus are not started.

Thanks for any help. This appears to be either an error in the way the package 
was build or something I can [hopefully] configure around.



Hardware: IBM thinkpad T42p

  dmesg
  --
  pci1: ACPI PCI bus on pcib1
  vgapci0: VGA-compatible display port 0x3000-0x30ff mem
  0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0
  on pci1
 :
  atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
  atkbd0: AT Keyboard irq 1 on atkbdc0

  pciconf
  
  hos...@pci0:0:0:0:  class=0x06 card=0x05291014 chip=0x33408086
  rev=0x03
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82855PM Processor to I/O Controller'
  class  = bridge
  subclass   = HOST-PCI
  pc...@pci0:0:1:0:   class=0x060400 card=0x chip=0x33418086
  rev=0x03  hdr=0x01
  vendor = 'Intel Corporation'
  device = '82855PM Processor to AGP Controller'
  class  = bridge
  subclass   = PCI-PCI
  :
  vgap...@pci0:1:0:0: class=0x03 card=0x054f1014 chip=0x4e541002
  rev=0x80
  hdr=0x00
  vendor = 'ATI Technologies Inc'
  device = 'Radeon Mobility M10 NT (RV350-WS)'
  class  = display
  subclass   = VGA


_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
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: Linux-realplayer

2009-12-30 Thread Rem Roberti
 Ah, Boris...your patience is commendable, especially to this newbie.
 But before I follow the instructions of your last post I assume that
 installing f10 is implied, and should precede the installation of any
 linux apps.  Correct?

OK...it finally dawned on me that f10 would get taken care of
by the installation of the linux app.  And...Linux-realplayer is now up
and running.  Whew!

Thanks you.

Rem
___
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: snd_hda peculiarities [SOLVED]

2009-12-30 Thread Richard L. Mace
On Wednesday 30 December 2009 18:36:30 Mark Moellering wrote:
 Pieter de Goeje wrote:
  On Wednesday 30 December 2009 15:45:50 Richard L. Mace wrote:
  I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and
  most things are working. However, a minor annoyance is that I only get
  sound if I manually load snd_hda via:
 
  # kldload snd_hda
 
  i.e., after booting. If I place the following in /boot/loader.conf
 
  snd_hda_load=YES
 
  I get no sound, even though the driver seems to load and cat
  /dev/sndstat gives
 
  Try setting hw.snd.default_unit=1 in sysctl.conf. Most likely the order
  of the devices has changed.
 
  
 --- --- FreeBSD Audio Driver
  (newpcm: 64bit 2009061500/amd64)
  Installed devices:
  pcm0: HDA Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1 on
  hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
  pcm1: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1 on
  hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
  
 --- -
 
  This looks like the output from the working configuration. Note that the
  first device is the analog output, the second is a digital output. When
  you load snd_hda using loader.conf, the order is likely different on your
  machine and the digital output is listed first. hw.snd.default_unit=1
  would then direct the sound to the proper (analog) output.
 
  - Pieter
  ___
  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
 
 Richard,
I am sure that this is what I did to my machine to get snd_hda to
 work.
 .
 Mark
 

Thanks to all for your valuable suggestions. It turns out that the problem was 
much simpler than I thought.

When I kldload snd_hda I get two panes in Kmix, each called OSS Audio Mixer. 
One contains a whole bunch of channels, the other only two: Front and PCM.
It turns out that the simpler pane (front and pcm) controls the volume when 
you issue a:

# kldload snd_hda

 and this was naturally the pane that I was paying attention to, even when 
loading via /boot/loader.conf. When all suggestions failed, I turned my 
attention to the other pane and noticed that OGain was muted. I unmuted the 
OGain channel and now I have sound even when I load snd_hda via 
/boot/loader.conf (with hw.snd.default_unit=0, i.e. its default setting). 
However, in contrast to what happens when I do a kldload, when loading via 
/boot/loader.conf the other more detailed pane (containing the OGain control) 
now controls the volume.

Thanks again to all and my apologies for not looking for the simplest solution 
first.

-Richard 

___
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


Hardware virtualization

2009-12-30 Thread Mike Jeays
I am about to buy a new desktop, and I want to make sure that hardware 
virtualization is included. In one or two local computer stores, I get a blank 
look when I ask about this. Intel seems provide it on only certain chip models 
and they don't seem be very forthcoming, Perhaps it is better to buy an AMD 
product?

Any hints, please?
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 11:59:56 -0800 Rem Roberti wrote:

  Ah, Boris...your patience is commendable, especially to this newbie.
  But before I follow the instructions of your last post I assume that
  installing f10 is implied, and should precede the installation of any
  linux apps.  Correct?

 OK...it finally dawned on me that f10 would get taken care of
 by the installation of the linux app.  And...Linux-realplayer is now up
 and running.  Whew!

You were faster than me and didn't give me a chance to answer your
previous letter. ;-) I'm glad you solved a problem. Welcome to our
party!

-- 
WBR, bsam
___
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: Hardware virtualization

2009-12-30 Thread Diego F. Arias R.
On Wed, Dec 30, 2009 at 4:06 PM, Mike Jeays mike.je...@rogers.com wrote:

 I am about to buy a new desktop, and I want to make sure that hardware
 virtualization is included. In one or two local computer stores, I get a
 blank
 look when I ask about this. Intel seems provide it on only certain chip
 models
 and they don't seem be very forthcoming, Perhaps it is better to buy an AMD
 product?

 Any hints, please?
 ___
 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



Hello:

I like AMD because ALL their Athlon X2 and Phenom have it. Intel some models
have it some ones dont. then you have to check first at intel page to be
shure about.
___
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: Hardware virtualization

2009-12-30 Thread Len Conrad
-- Original Message --
From: Diego F. Arias R. dak@gmail.com
Date:  Wed, 30 Dec 2009 16:24:24 -0500

On Wed, Dec 30, 2009 at 4:06 PM, Mike Jeays mike.je...@rogers.com wrote:

 I am about to buy a new desktop, and I want to make sure that hardware
 virtualization is included. In one or two local computer stores, I get a
 blank
 look when I ask about this. Intel seems provide it on only certain chip
 models
 and they don't seem be very forthcoming, Perhaps it is better to buy an AMD
 product?

 Any hints, please?
 ___
 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



Hello:

I like AMD because ALL their Athlon X2 and Phenom have it. Intel some models
have it some ones dont. then you have to check first at intel page to be
shure about.

http://en.wikipedia.org/wiki/Amd64#AMD64

Len

___
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: xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread doug

On Wed, 30 Dec 2009, d...@safeport.com wrote:

[non applicable stuff cut]


Starting xdm gives the following in /var/log/xdm-log:

:
 finished PLL1
 set RMX
 set LVDS
 enable LVDS
 disable primary dac
 disable FP1
 disable TV
 /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol shmctl
 xdm error (pid 1416): server unexpectedly died
 xdm error (pid 1416): Server for display :0 can't be started, session
 disabled


This is mostly likely because my 7.2 libc is earlier than the one used to build 
the package. I am told that, there's a strong argument that 7-stable packages 
should actually be built against 7.0, which defines the binary interface, but 
the portmgr folks are not convinced to do so.


As an end-user I would at least plead for a doc-change. This bit explains a lot 
of 'random' behavior that gets reported. Getting an error is the best that can 
be hoped for. A change in a syscall that produces a silent error is much more 
time consuming. Xorg being Xorg this is just, I am sure, the next layer. This is 
also most likely the answer to threads on 10/09/09 and 12/17/09.


So in general if you have an issue with one of these mega-packages first make 
sure your build is later than the package build date. With ports that get 
unexplained compile error[s], the answer is also [first] update your system.



___
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: Where do I find instructions on how to configure sane-epkowa

2009-12-30 Thread Leslie Jensen


On 2009-12-30 19:58, Roland Smith wrote:

On Wed, Dec 30, 2009 at 06:48:56PM +0100, Leslie Jensen wrote:

I'm at the point where sane-find-scanner detects my scanner but
scanimage cannot find it.

I know I must use the sane-epkowa backend.

I've edited the /usr/local/etc/sane.d/epkowa.conf but I think I need to
make sane aware of the epkowa backend.


Put a line

epkowa

in /usr/local/etc/sane.d/dll.conf


It's already there



Put the vendor and device-id you get from sane-find-scanner in epkowa.conf


I did it before I posted this question.



Roland


When I was running 7.2 I had found a way to make it work.

First I added the product in /sys/dev/usb/usbdevs then the same 
information had to be added in /sys/dev/usb/uscanner.c then I had to 
recompile the kernel, build and install it. The scanner would then be found.


Now on 8.0 I can't find uscanner.c so there must be another way to 
handle it.


/Leslie
___
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


Burning an audio CD

2009-12-30 Thread Christian Weisgerber
Today I tried to burn an audio CD.  This may actually be the first
time I ever did this.

I'm sure there are all kinds of GUIey tools, but I took the simple
route: expanded a few high-quality MP3s to raw PCM with mpg123,
then put a CD-R in the drive and burned it with

  burncd -f /dev/acd0 -d audio *

That seemed to work.  Afterwards, I tried to play the CD with XMMS.
That also worked fine.

Then I put the CD into my car CD player, which was the reason for
the whole exercise.
11 tracks (ok)... playing track 1... (nothing)... ERROR CD.

The player does not like the CD.

Is there anything obvious I missed?

-- 
Christian naddy Weisgerber  na...@mips.inka.de

___
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: Hardware virtualization

2009-12-30 Thread Nenad Mihajlovic
 
 Hello,

For the Intel processors VT support, you can check up on 

http://ark.intel.com/VTList.aspx
go for no less than dual-core 8400.

and for the AMD desktop processors, here:

http://products.amd.com/en-us/DesktopCPUResult.aspx
and some of new X4 phenoms.

Either AMD or Intel, both are good choice, we have run numerous environments
here without any problem. 
For the serious application you might want to go for the Xeon or Opteron
family, though.

Regards,
Nenad


original message-
from: Mike Jeays mike.je...@rogers.com
to: freebsd-questi...@freebsd. ORG freebsd-questions@freebsd.org
date: Wed, 30 Dec 2009 16:06:38 -0500
-
 
 
 I am about to buy a new desktop, and I want to make sure that hardware 
 virtualization is included. In one or two local computer stores, I get a
blank 
 look when I ask about this. Intel seems provide it on only certain chip
models 
 and they don't seem be very forthcoming, Perhaps it is better to buy an
AMD 
 product?
 
 Any hints, please?
 ___
 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
 
 


___
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: Burning an audio CD

2009-12-30 Thread Polytropon
On Wed, 30 Dec 2009 22:08:12 + (UTC), na...@mips.inka.de (Christian 
Weisgerber) wrote:
 Today I tried to burn an audio CD.  This may actually be the first
 time I ever did this.
 
 I'm sure there are all kinds of GUIey tools, but I took the simple
 route: expanded a few high-quality MP3s to raw PCM with mpg123,
 then put a CD-R in the drive and burned it with
 
   burncd -f /dev/acd0 -d audio *

How about fixate at the end of the command, or do I
remember incorrectly that this is needed? At least it
was used for data tracks (ISO-9660)...



 Then I put the CD into my car CD player, which was the reason for
 the whole exercise.
 11 tracks (ok)... playing track 1... (nothing)... ERROR CD.
 
 The player does not like the CD.

Do you have another hardware CD player to check? Maybe
the car's CD player doesn't like your CD media - this is
quite possible. (I have such a hardware CD player that
doesn't play burned CDs, but pressed ones.) Some CD drives
are picky about the media they accept.



 Is there anything obvious I missed?

Except fixate maybe... but keep in mind that I'm not
sure about this; I'm not using burncd anymore since I
discovered cdrecord and cdrdao (that use the ATAPICAM
facility).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Burning an audio CD

2009-12-30 Thread Rolf Nielsen

On 2009-12-30 23:08, Christian Weisgerber wrote:

Today I tried to burn an audio CD.  This may actually be the first
time I ever did this.

I'm sure there are all kinds of GUIey tools, but I took the simple
route: expanded a few high-quality MP3s to raw PCM with mpg123,
then put a CD-R in the drive and burned it with

   burncd -f /dev/acd0 -d audio *

That seemed to work.  Afterwards, I tried to play the CD with XMMS.
That also worked fine.

Then I put the CD into my car CD player, which was the reason for
the whole exercise.
11 tracks (ok)... playing track 1... (nothing)... ERROR CD.

The player does not like the CD.

Is there anything obvious I missed?



I was about to suggest adding fixate to the command line, like so

burncd -f /dev/acd0 -d audio * fixate

but then I read in the man page that it's ignored if -d is given 
(obviously now that I think about it, since DAO normally implies 
fixating). However, it may be worth trying anyway.


You may also want to try sysutils/cdrtools-devel, which is a lot more 
competent than burncd. However, as you have an ATAPI CD burner, you will 
need atapicam in your kernel. Either add


device atapicam

to your kernel config, recompile, install and reboot or

kldload atapicam

as root in the console or an xterm.

To automate it, add

atapicam_load=YES

to your /boot/loader.conf.

Good luck,

Rolf Nielsen
___
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: Where do I find instructions on how to configure sane-epkowa

2009-12-30 Thread Roland Smith
On Wed, Dec 30, 2009 at 11:03:54PM +0100, Leslie Jensen wrote:
 When I was running 7.2 I had found a way to make it work.
 
 First I added the product in /sys/dev/usb/usbdevs then the same 
 information had to be added in /sys/dev/usb/uscanner.c then I had to 
 recompile the kernel, build and install it. The scanner would then be found.
 
 Now on 8.0 I can't find uscanner.c so there must be another way to 
 handle it.

The uscanner device has been deprecated in favor of the libusb API that is in
the base system in 8.x. (Even the /dev/ugen devices are now just links to
nodes in /dev/usb/.)

If you have the configuration right (both dll.conf and epkowa.conf), check the
device permissions. I've got the following in /etc/devfs.rules (not 
devfs.conf!);

add path 'usb/*' mode 0660 group usb

(Note that USB devices are now in a separate subdirectory!) All users of UDB
devices must be in the usb group, in this case. If you don't have untrusted
users you could use 'mode 0666' without the group statement.

If the device permissions are OK, please post your epkowa.conf and dll.conf,
and the output of 'usbconfig list' when the scanner is attached

As an aside, have you tried the plain epson driver? 

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpqdrfSiFYTd.pgp
Description: PGP signature


Re: Burning an audio CD

2009-12-30 Thread Roland Smith
On Wed, Dec 30, 2009 at 11:23:40PM +0100, Rolf Nielsen wrote:
 On 2009-12-30 23:08, Christian Weisgerber wrote:
  Today I tried to burn an audio CD.  This may actually be the first
  time I ever did this.
 
  I'm sure there are all kinds of GUIey tools, but I took the simple
  route: expanded a few high-quality MP3s to raw PCM with mpg123,
  then put a CD-R in the drive and burned it with
 
 burncd -f /dev/acd0 -d audio *
 
  That seemed to work.  Afterwards, I tried to play the CD with XMMS.
  That also worked fine.
 
  Then I put the CD into my car CD player, which was the reason for
  the whole exercise.
  11 tracks (ok)... playing track 1... (nothing)... ERROR CD.
 
  The player does not like the CD.
 
  Is there anything obvious I missed?
 
 
 I was about to suggest adding fixate to the command line, like so
 
 burncd -f /dev/acd0 -d audio * fixate
 
 but then I read in the man page that it's ignored if -d is given 
 (obviously now that I think about it, since DAO normally implies 
 fixating). However, it may be worth trying anyway.
 
 You may also want to try sysutils/cdrtools-devel, which is a lot more 
 competent than burncd. However, as you have an ATAPI CD burner, you will 
 need atapicam in your kernel. Either add
 
 device atapicam
 
 to your kernel config, recompile, install and reboot or
 
 kldload atapicam
 
 as root in the console or an xterm.
 
 To automate it, add
 
 atapicam_load=YES
 
 to your /boot/loader.conf.

The user that runs cdrecord also requires write access to the /dev/xpt0 device
and the /dev/passN device! See devfs.conf(5) and devfs.rules(5) for making
device permissions permanent. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpm8kRaD4z2v.pgp
Description: PGP signature


Re: xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread Warren Block

On Wed, 30 Dec 2009, d...@safeport.com wrote:


I am also pretty sure my hardware just does not work with hal and dbus.


What keyboard and mouse do you have?  Also, which version of FreeBSD are 
you using?


All these issues are with xorg 7.4_1. I have installed xorg-7.4_2 via pkg_add 
on a clean system and xdm-1.1.8_2. Nothing else is installed.


Well, yes, but I was asking about the FreeBSD version: 7.2, 8.0, etc. 
Mainly the difference is for USB devices.


[...xdm info saved for another message...]


I added one line to the xorg.conf file generated by Xorg -configure:

 Option  AutoAddDevices false


That prevents dbus/hal from being used by xorg, so it's not surprising 
they don't work.


A diff shows this file to be exactly what I was using with xorg-7.4_1 (which 
works albeit with a very slow startup). I have excerpted various [relevant] 
outputs to show my hardware. I needed I can either attach or include the 
entire files.


startx works but locks the keyboard.


I may have asked before, but does ctrl-alt-f1 still work?  Even if the 
rest of the keyboard is not responding, that can tell you if X is alive.


-Warren Block * Rapid City, South Dakota USA
___
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: Burning an audio CD

2009-12-30 Thread Rolf Nielsen

On 2009-12-30 23:50, Roland Smith wrote:

On Wed, Dec 30, 2009 at 11:23:40PM +0100, Rolf Nielsen wrote:

On 2009-12-30 23:08, Christian Weisgerber wrote:

Today I tried to burn an audio CD.  This may actually be the first
time I ever did this.

I'm sure there are all kinds of GUIey tools, but I took the simple
route: expanded a few high-quality MP3s to raw PCM with mpg123,
then put a CD-R in the drive and burned it with

burncd -f /dev/acd0 -d audio *

That seemed to work.  Afterwards, I tried to play the CD with XMMS.
That also worked fine.

Then I put the CD into my car CD player, which was the reason for
the whole exercise.
11 tracks (ok)... playing track 1... (nothing)... ERROR CD.

The player does not like the CD.

Is there anything obvious I missed?



I was about to suggest adding fixate to the command line, like so

burncd -f /dev/acd0 -d audio * fixate

but then I read in the man page that it's ignored if -d is given
(obviously now that I think about it, since DAO normally implies
fixating). However, it may be worth trying anyway.

You may also want to try sysutils/cdrtools-devel, which is a lot more
competent than burncd. However, as you have an ATAPI CD burner, you will
need atapicam in your kernel. Either add

device atapicam

to your kernel config, recompile, install and reboot or

kldload atapicam

as root in the console or an xterm.

To automate it, add

atapicam_load=YES

to your /boot/loader.conf.


The user that runs cdrecord also requires write access to the /dev/xpt0 device
and the /dev/passN device! See devfs.conf(5) and devfs.rules(5) for making
device permissions permanent.

Roland


Roland:
Oh yes, I forgot about that. Thanks for adding it. :)

Christian:
Another thought occured to me. Though unlikely, it is possible that your 
car CD player doesn't play CD-R's or that it has problems with the 
particular brand CD-R's you used.

___
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: Where do I find instructions on how to configure sane-epkowa

2009-12-30 Thread Leslie Jensen




The uscanner device has been deprecated in favor of the libusb API that is in
the base system in 8.x. (Even the /dev/ugen devices are now just links to
nodes in /dev/usb/.)

If you have the configuration right (both dll.conf and epkowa.conf), check the
device permissions. I've got the following in /etc/devfs.rules (not 
devfs.conf!);

 add path 'usb/*' mode 0660 group usb

(Note that USB devices are now in a separate subdirectory!) All users of UDB
devices must be in the usb group, in this case. If you don't have untrusted
users you could use 'mode 0666' without the group statement.

If the device permissions are OK, please post your epkowa.conf and dll.conf,
and the output of 'usbconfig list' when the scanner is attached

As an aside, have you tried the plain epson driver?

Roland



my dll.conf:

# enable the next line if you want to allow access through the network:
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc25
#dc210
#dc240
dell1600n_net
dmc
epjitsu
#epson
epson2
fujitsu
#gphoto2
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
leo
lexmark
ma1509
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
pie
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
#umax_pp
umax1220u
v4l
xerox_mfp
epkowa



epkowa.conf

usb 0x04b8 0x0130



I've created /etc/devfs.rules it was not present!

With the line:

add path 'usb/*' mode 0660




usbconfig list


ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen2.1: UHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen3.1: EHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON
ugen4.1: UHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen5.1: UHCI root HUB Intel at usbus5, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen6.1: UHCI root HUB Intel at usbus6, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen7.1: EHCI root HUB Intel at usbus7, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON
ugen4.2: USB Receiver Logitech at usbus4, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen2.2: 5880 Broadcom Corp at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen7.2: EPSON Scanner EPSON at usbus7, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON



I've not tried the plain epson driver. Acording to the SANE home page my 
scanner (Epson Perfection V500 Photo) is only supported by the epkowa 
driver.


/Leslie
___
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: xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread Warren Block

On Wed, 30 Dec 2009, d...@safeport.com wrote:


On Wed, 30 Dec 2009, d...@safeport.com wrote:

[non applicable stuff cut]


Starting xdm gives the following in /var/log/xdm-log:

:
 finished PLL1
 set RMX
 set LVDS
 enable LVDS
 disable primary dac
 disable FP1
 disable TV
 /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol shmctl
 xdm error (pid 1416): server unexpectedly died
 xdm error (pid 1416): Server for display :0 can't be started, session
 disabled


This is mostly likely because my 7.2 libc is earlier than the one used to 
build the package. I am told that, there's a strong argument that 7-stable 
packages should actually be built against 7.0, which defines the binary 
interface, but the portmgr folks are not convinced to do so.


After updating ports, 'portsdb -Fu' and 'portversion -vL=' will show 
what's outdated.  (That's with portupgrade installed.  Some would have 
you believe it's second in evil only to HAL.  Maybe true, but it works.)


And then 'portupgrade -r portname' (or 'portupgrade -ar', if you like) 
should upgrade the outdated stuff and everything that depends on it. 
And -P or -PP might help by retrieving packages, although I haven't 
tried that in years.


As an end-user I would at least plead for a doc-change. This bit explains a 
lot of 'random' behavior that gets reported. Getting an error is the best 
that can be hoped for. A change in a syscall that produces a silent error is 
much more time consuming. Xorg being Xorg this is just, I am sure, the next 
layer. This is also most likely the answer to threads on 10/09/09 and 
12/17/09.


Is the slow startup with xdm fixed by upgrading libc?  By replacing the 
package or via ports?


-Warren Block * Rapid City, South Dakota USA
___
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: Where do I find instructions on how to configure sane-epkowa

2009-12-30 Thread Warren Block

On Thu, 31 Dec 2009, Leslie Jensen wrote:

I've created /etc/devfs.rules it was not present!

With the line:

add path 'usb/*' mode 0660


A line in /etc/rc.conf is needed to activate those rules, too:

devfs_system_ruleset=localrules

...assuming you had [localrules=10] at the start of devfs.rules.

These are just permissions applied to dynamic devices.  It's easier to 
first test the scanner as root.


-Warren Block * Rapid City, South Dakota USA
___
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: xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread doug

j

On Wed, 30 Dec 2009, Warren Block wrote:


On Wed, 30 Dec 2009, d...@safeport.com wrote:


On Wed, 30 Dec 2009, d...@safeport.com wrote:

[non applicable stuff cut]


Starting xdm gives the following in /var/log/xdm-log:

:
 finished PLL1
 set RMX
 set LVDS
 enable LVDS
 disable primary dac
 disable FP1
 disable TV
 /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol shmctl
 xdm error (pid 1416): server unexpectedly died
 xdm error (pid 1416): Server for display :0 can't be started, session
 disabled


This is mostly likely because my 7.2 libc is earlier than the one used to 
build the package. I am told that, there's a strong argument that 7-stable 
packages should actually be built against 7.0, which defines the binary 
interface, but the portmgr folks are not convinced to do so.


After updating ports, 'portsdb -Fu' and 'portversion -vL=' will show what's 
outdated.  (That's with portupgrade installed.  Some would have you believe 
it's second in evil only to HAL.  Maybe true, but it works.)


And then 'portupgrade -r portname' (or 'portupgrade -ar', if you like) should 
upgrade the outdated stuff and everything that depends on it. And -P or -PP 
might help by retrieving packages, although I haven't tried that in years.


This includes libc? man 2 libc

As an end-user I would at least plead for a doc-change. This bit explains a 
lot of 'random' behavior that gets reported. Getting an error is the best 
that can be hoped for. A change in a syscall that produces a silent error 
is much more time consuming. Xorg being Xorg this is just, I am sure, the 
next layer. This is also most likely the answer to threads on 10/09/09 and 
12/17/09.


Is the slow startup with xdm fixed by upgrading libc?  By replacing the 
package or via ports?



Still building Warren, will let you know.
___
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: xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread Warren Block

On Wed, 30 Dec 2009, d...@safeport.com wrote:

After updating ports, 'portsdb -Fu' and 'portversion -vL=' will show what's 
outdated.  (That's with portupgrade installed.  Some would have you believe 
it's second in evil only to HAL.  Maybe true, but it works.)


And then 'portupgrade -r portname' (or 'portupgrade -ar', if you like) 
should upgrade the outdated stuff and everything that depends on it. And -P 
or -PP might help by retrieving packages, although I haven't tried that in 
years.


This includes libc? man 2 libc


Doh, I was thinking of ports, not system.  Some ports have code to check 
for system version requirements, and I'd expect packages to do the same 
thing.  But they're moving targets, and developers and porters can't 
check all the combinations.


-Warren Block * Rapid City, South Dakota USA
___
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


Ion-cube FreeBSD 8

2009-12-30 Thread Grant Peel

Hi all,

I am in the middle of setting up a new FreeBSD 8.0 server, and need to load 
the ioncube loader.


I have been to the ioncube site and they do not have a release for FBSD8 
yet.


I was wondering if anyone on this list has setup FreeBSD 8.0 (Php 5.2, 
Apache 2.2) using a previous version of the loader. If so, which one did you 
use?


-Grnat 


___
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: xorg-7.4_2 error (was xorg 7.4 questions)

2009-12-30 Thread doug



On Wed, 30 Dec 2009, Warren Block wrote:


On Wed, 30 Dec 2009, d...@safeport.com wrote:

After updating ports, 'portsdb -Fu' and 'portversion -vL=' will show 
what's outdated.  (That's with portupgrade installed.  Some would have you 
believe it's second in evil only to HAL.  Maybe true, but it works.)


And then 'portupgrade -r portname' (or 'portupgrade -ar', if you like) 
should upgrade the outdated stuff and everything that depends on it. And 
-P or -PP might help by retrieving packages, although I haven't tried that 
in years.


This includes libc? man 2 libc


Doh, I was thinking of ports, not system.  Some ports have code to check for 
system version requirements, and I'd expect packages to do the same thing. 
But they're moving targets, and developers and porters can't check all the 
combinations.


First building the system does indeed solve all xorg package problems. Second I 
am not sure I agree with your statement. I think the answer is relatively easy:
(1) build packages against the base release, or, (2) document the problem, or 
lastly (3) have the port management tools check for this.


While I am not sure if (3) is possible, I am pretty sure (2) is.

Anyway X and its successor Xorg is at once the great leveler and I have learned 
more about FreeBSD getting my Desktops going than any other single activity. I 
appreciate all the time you spent leading me to the solution. Bouncing thoughts 
and ideas with you was most helpful.


I wanted to post my original comment and this to make explicit that a version 7
package will not necessarily work on a 7.2 system. I certainly do not have the 
knowledge to know what system libraries a port is built on. This was actually 
quite easy to find because of the error. If there is no error you are left doing 
a ktrace or something. By the way have gotten the error and figuring out that 
libc was involved, I did not understand the implication, I had help 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