Groups problems

2009-05-04 Thread Shaun Friedle

Hi,
I seem to have a weird problem with groups, it seems like the system
doesn't notice that I am in certain groups when it comes to file
permissions, and if I run groups or id with no arguments it also has
some groups missing from the list, but with my username as an argument
it is complete. I've never encountered this before, does anyone know
what the problem might be?

[sh...@strange] ~ $ ls -lh /tmp/group_test
-rw-rw-r--  1 www  mercurial 0B  4 May 14:08 /tmp/group_test
[sh...@strange] ~ $ echo test  /tmp/group_test
bash: /tmp/group_test: Permission denied
[sh...@strange] ~ $ whoami
shaun
[sh...@strange] ~ $ grep shaun /etc/group
wheel:*:0:root,shaun
www:*:80:shaun
shaun:*:1002:
svn:*:1004:svn,shaun
mercurial:*:1006:shaun,www
[sh...@strange] ~ $ groups
shaun wheel svn
[sh...@strange] ~ $ groups shaun
shaun wheel www svn mercurial
[sh...@strange] ~ $ id
uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),1004(svn)
[sh...@strange] ~ $ id shaun
uid=1002(shaun) gid=1002(shaun)
groups=1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial)

--
Thanks,
Shaun Friedle
___
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: Hauppauge WinTV bt878 card

2004-11-20 Thread Shaun Friedle
Aaron Peterson wrote:
I tried:
mplayer tv://4 -tv driver=bsdbt848:channel=4 

but just got a big blue screen
Try mplayer tv://4 -tv driver=bsdbt848:input=1:channel=4
That works for my card anyway.
--
Shaun Friedle
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ati driver with Radeon 9800XT

2004-10-18 Thread Shaun Friedle
Hi,
My friend is trying out FreeBSD as a desktop OS, and I am aiding him
since I have be using FreeBSD for about 10 months now and have
successfully been using FreeBSD without many problems (that weren't my
fault).

Unfortunately he seems to be encountering more problems than I suspected
he would, and now he has encountered one I am unable to solve - if he
uses the ati driver then when he types startx he gets a hard lock, the
monitor goes into standby and the machine will respond to no key
combinations. If he uses vesa everything is fine. This is on 5.3 Beta 7.
His motherboard is an MSI KT6 Delta-FIS2R.

I encountered a similar thing with my nvidia card, which was solved by
disabling ACPI and compiling my kernel without SMP, but this seems to
have to effect on his problem. I can't seem to find any information on
this problem with Google, so I hope someone can help or I think he will
return to Windows.
-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Asus P4S800D-E Deluxe

2004-06-26 Thread Shaun Friedle
Hello,

Does anyone know how well this motherboard works under FreeBSD 5.2.1? I
currently have an Asus P4C800 Deluxe which is okay - until I turn off
ACPI and then I get a Fatal trap 9: general protection fault while is
kernel mode while booting. I need to be able to turn off ACPI as the
nvidia driver doesn't work with it on.

The P4S800D-E Deluxe is very similar is features to the P4C800 Deluxe
and I want to make sure that it doesn't suffer from the same problem
before I buy it. I don't think it should as from what I've read the
problem is with the Intel 845/865/875 chipsets, whereas the P4S800D-E
Deluxe uses the SiS 655TX chipset.

Thanks
-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Re: Asus P4S800D-E Deluxe

2004-06-26 Thread Shaun Friedle
On Sat, 2004-06-26 at 18:42, Doug Poland wrote:
  I currently have an Asus P4C800 Deluxe which is okay - until I turn off
  ACPI and then I get a Fatal trap 9: general protection fault while is
  kernel mode while booting. I need to be able to turn off ACPI as the
  nvidia driver doesn't work with it on.
  
  The P4S800D-E Deluxe is very similar is features to the P4C800 Deluxe
  and I want to make sure that it doesn't suffer from the same problem
  before I buy it. 
 
 Sorry, it does suffer the same problem.  I've got an nVidia 5700
 that's running the XFree86 nv driver because of this issue.

Hi,
It's a good job I checked first then. Do you know of any boards that
offer similar features, but don't have this problem?

Thanks
-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Re: installed mysql/php/apache but there's no mysql.sock file

2004-04-17 Thread Shaun Friedle
On Sat, 2004-04-17 at 18:42, chip wrote: 
 I then created a file in /tmp called mysql.sock but 
 mysql still gives the same error -[error 2002] cannot connect to local 
 mysql server through /tmp/mysql.sock (2).
 I read the section in the mysql manual about the socket but don't see 
 anything about creating this file.
 How do I fix this?

I'm not an expert on mysql, but I believe you get that message if mysqld
isn't running (and because it isn't running, it hasn't created the
file). Have you checked if it is running (ps waux | grep mysqld)?

If it isn't, run it (should be in the bin directory of mysql).


-- 
Shaun Friedle

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


Re: perl script help

2004-04-16 Thread Shaun Friedle
On Fri, 2004-04-16 at 17:05, JJB wrote:
 I know nothing about writing perl scripts.
 
 Can somebody show me how to  add the : in the output 
 of the date command in the simple following script?

Try this:

#!/usr/bin/perl
$timezone=`date +\%z`;  #Gets the offset in $timezone
$timezone =~ s/(\+[0-9][0-9])/$1:/; #Replaces ±NN with ±NN:
print $timezone;#Prints $timezone


-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Re: timezone command

2004-04-16 Thread Shaun Friedle
On Fri, 2004-04-16 at 17:17, Matthew Seaman wrote:
 You can do it very easily with perl:
 
 #!/usr/bin/perl -w
 
 use POSIX (strftime);
 
 ($d = strftime(%z, localtime)) =~ s/(\d\d)(\d\d)/$1:$2/;
 
 print $d\n;
 
 but it's probably a bit too heavyweight to use perl to format the
 string if you aren't already writing a whole script in perl.  Instead,
 try:
 
 date +%z | sed -e 's,\([0-9][0-9]\)\([0-9][0-9]\),\1:\2,'
 
   Cheers,
 
   Matthew


Oops, didn't notice this because it was in a different thread. Well now
you  have two Perl solutions :)
-- 
Shaun Friedle

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


GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Shaun Friedle
 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
[0] 0   0   0xd000 - 0xdfff (0x1000) MX[B]
[1] 0   0   0xfd00 - 0xfdff (0x100) MX[B]
[2] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[3] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[4] -1  0   0x000f - 0x000f (0x1) MX[B]
[5] -1  0   0x000c - 0x000e (0x3) MX[B]
[6] -1  0   0x - 0x0009 (0xa) MX[B]
[7] -1  0   0xfeaf4000 - 0xfeaf7fff (0x4000) MX[B]E
[8] -1  0   0xfeafd800 - 0xfeafdfff (0x800) MX[B]E
[9] -1  0   0xfeaff400 - 0xfeaff7ff (0x400) MX[B]E
[10] -1 0   0xfeaf8000 - 0xfeafbfff (0x4000) MX[B]E
[11] -1 0   0xfeac - 0xfead (0x2) MX[B]E
[12] -1 0   0xfeafe000 - 0xfeafefff (0x1000) MX[B]E
[13] -1 0   0xfeaff800 - 0xfeaf (0x800) MX[B]E
[14] -1 0   0xfebff400 - 0xfebff7ff (0x400) MX[B]E
[15] -1 0   0xfebff800 - 0xfebffbff (0x400) MX[B]E
[16] -1 0   0xfebffc00 - 0xfebf (0x400) MX[B]E
[17] -1 0   0xf400 - 0xf3ff (0x0) MX[B]EO
[18] -1 0   0xfe9e - 0xfe9f (0x2) MX[B](B)
[19] -1 0   0xd000 - 0xdfff (0x1000) MX[B](B)
[20] -1 0   0xfd00 - 0xfdff (0x100) MX[B](B)
[21] 0  0   0x000a - 0x000a (0x1) MS[B](OprD)
[22] 0  0   0x000b - 0x000b7fff (0x8000) MS[B](OprD)
[23] 0  0   0x000b8000 - 0x000b (0x8000) MS[B](OprD)
[24] -1 0   0x - 0x (0x1) IX[B]
[25] -1 0   0x - 0x00ff (0x100) IX[B]
[26] -1 0   0xdfe0 - 0xdfff (0x20) IX[B]E
[27] -1 0   0xde80 - 0xdeff (0x80) IX[B]E
[28] -1 0   0xd000 - 0xd0ff (0x100) IX[B]E
[29] -1 0   0xdf98 - 0xdf9f (0x8) IX[B]E
[30] -1 0   0xd400 - 0xd4ff (0x100) IX[B]E
[31] -1 0   0xd880 - 0xd8ff (0x80) IX[B]E
[32] -1 0   0xdfa0 - 0xdfbf (0x20) IX[B]E
[33] -1 0   0xdf00 - 0xdf7f (0x80) IX[B]E
[34] -1 0   0xdc00 - 0xdcff (0x100) IX[B]E
[35] -1 0   0xee80 - 0xeeff (0x80) IX[B]E
[36] -1 0   0xe800 - 0xe8ff (0x100) IX[B]E
[37] -1 0   0x0400 - 0x04ff (0x100) IX[B]E
[38] -1 0   0xef60 - 0xef7f (0x20) IX[B]E
[39] -1 0   0xefa8 - 0xefab (0x4) IX[B]E
[40] -1 0   0xefa0 - 0xefa7 (0x8) IX[B]E
[41] -1 0   0xefac - 0xefaf (0x4) IX[B]E
[42] -1 0   0xefe0 - 0xefff (0x20) IX[B]E
[43] -1 0   0xfc00 - 0xfcff (0x100) IX[B]E
[44] -1 0   0xef80 - 0xef9f (0x20) IX[B]E
[45] -1 0   0xef40 - 0xef5f (0x20) IX[B]E
[46] -1 0   0xef20 - 0xef3f (0x20) IX[B]E
[47] -1 0   0xef00 - 0xef1f (0x20) IX[B]E
[48] 0  0   0x03b0 - 0x03bb (0xc) IS[B](OprU)
[49] 0  0   0x03c0 - 0x03df (0x20) IS[B](OprU)
(==) NVIDIA(0): Write-combining range (0xa,0x1) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd68,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd601000,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd681000,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd0c,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd001000,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd682000,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd603000,0x1000) was already
clear
(==) NVIDIA(0): Write-combining range (0xfd683000,0x1000) was already
clear
(II) NVIDIA(0): AGP 8X successfully initialized
(II) NVIDIA(0): Setting mode 1280x1024

-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Re: GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Shaun Friedle
On Tue, 2004-04-13 at 17:14, Doug Poland wrote:
I built a custom kernel but can't tell you if that was required as I did that
 before disabling ACPI.

Well, if I disable SMP, I seem to be going in the right direction as
the machine no longer locks up.

 Unfortunately, I cannot disable ACPI on this ASUS P4C800-E Deluxe board
 as the kernel dumps on errors 9 every time.  

Well, I'm obviously very unlucky since I have an Asus P4C800 Deluxe and get the
same thing! The message is:

Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0x58: 0x2d5c
stack pointer   = 0x10: 0xf80
frame pointer   = 0x10: 0x0
code segment= base 0xc00f000, limit 0x, type 0x1b
= DPL 0, pres 1, def32 0, gran 0
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 0
panic: general protection fault


 So for me, ACPI was the key.  If I could just get this bloody ASUS board
 to boot without ACPI I think I'd be in business.

I think you're right. After searching on Google for a while (as I am sure you have 
done)
I have found no solution. 

 Good luck to you and I'd appreciate any info you have if successful.

I don't think I'm going to be able to solve this. Hopefully it will be fixed soon, 
apparently
the problem is 5.x has grown a regression in its handling of BIOS32 calls somehow. I 
found
that in this thread: 
http://lists.freebsd.org/pipermail/freebsd-current/2004-March/023392.html



-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Re: My USB mouse not working in FreeBSD 5.1

2004-01-26 Thread Shaun Friedle
Hi,
My mouse is still not working :(

Andrew Boothman wrote:

 Do a 'ps ax|grep moused' and see if moused is already running

Yes, moused is running.

 Then in your X config you should be able to use /dev/sysmouse

I already had /dev/sysmouse in my X config, however moused is not working
with my mouse, so
it doesn't work.

I also tried killing moused and changing my X config to use /dev/ums0, but I
still couldn't move my cursor.




Adam Bozanich wrote:

 Have you tried adding
 usbd_enable=YES
 to the file /etc/rc.conf?   I had the same issue the other day and this
 fixed it.

usbd_enable=YES already existed in my /etc/rc.conf, so I don't think that
was the problem.



fbsd_user wrote:

 First an word of advice. All the 5.x versions are from the
 development source code branch and has a lot of new code bugs. You
 should really be using the 4.9 stable production release to be
 learning on.


That's probably the best advice, I am downloading the ISO now.


 During the sysinstall you were prompted with question about mouse,
 you must have selected the serial mouse option, and that populated
 your rc.conf file with the wrong enable options. Delete all the
 serial mouse stuff from rc.conf.

 You need this usbd_enable=YES in /etc/rc.conf to make your usb
 mouse come alive.

No, I did not select serial mouse and there is no serial mouse stuff in
/etc/rc.conf. As I said
above to Adam, usbd_enable=YES already exists.


I have also now tried another USB mouse which I have and that doesn't work.
I don't have a PS/2 mouse to test,
but if I get my hands on one I will try that as well.


Thanks,
Shaun Friedle

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


My USB mouse not working in FreeBSD 5.1

2004-01-25 Thread Shaun Friedle
Hi,
I am very new to FreeBSD, but I'm trying to learn how to use it. This is made very 
difficult by not having a mouse.

I have tried searching on Google for a few hours, but haven't fixed the problem yet. 
Anyway, here it is:

My mouse is a Logitech Cordless Desktop iTouch optical USB mouse.

/dev/ums0 does exist.

If I try to set up the mouse deamon in /stand/sysinstall the cursor will not move when 
set to Auto (or any other protocol).

If I do moused -p /dev/ums0 I get moused: unable to open /dev/ums0: Device busy.

dmesg finds everything alright:
ums0: Logitech USB Receiver, rev 1.10/13.10, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.

When I try to use X everything is OK, but I just can't mouse the cursor.


That is all the information that I think might be useful, sorry if I left something 
obvious out, but I have only been unsing FreeBSD for 3 days; if I have, just tell me 
what (and
how to get the information).


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