Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-04-28 Thread Palle Girgensohn
The fix is to use options - rescan devices in the installer. After that, 
when selecting CDROM as media type, the installer lets you chose between 
cd0 and acd0. Select the cd0 device instead of acd0 to use the virtual cd 
drive.


I recon the problem occurs because of confusion between the physical cd 
drive and the virtual ditto.


Cheers,
Palle

--On 22 april 2010 21.19.43 +0200 Ewald Jenisch a...@jenisch.at wrote:


Hi,

I'm having a hard time trying to install FreeBSD 8.0 on an HP Proliant
server. To be specific I try to instal the amd64 variant of FreeBSD
8.0 on a ProLiant DL385 G1.

Since the server is remote installation is to be done via the virtual
CD/DVD of the iLO management.

The install process runs smooth up to the point where the install
process finishes formatting then I get the following error:

Error mounting /dev/acd0 on /dist: Input/output error (5)

and installation can't proceed.

Interestingly that the installation runs from CD up to this point
without any problem whatsoever. This can't be a problem with the
CD/DVD since I've mounted the ISO-image via a virtual drive.

I've already tried downloading the ISO again - same result.

Likewise I tried with the CD-image instead of the DVD-image - same result
:-(

So here are my questions:

o) has anybody seen symptoms like this on a HP proliant server when
installation is done via the virtual CD/DVD-drive?

o) Any cure against this?

Thanks much in advance for any clue,
-ewald
___
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: if_nfe on nVidia chipset

2007-03-01 Thread Palle Girgensohn


1 mar 2007 kl. 01.42 skrev Shigeaki Tagashira:


Hello,

Could you try the latest nfe code for only 7-CURRENT in the  
following URL? It was overhauled by Pyun YongHyeon (yongari@).


http://people.freebsd.org/~yongari/nfe/if_nfe.c
http://people.freebsd.org/~yongari/nfe/if_nfereg.h
http://people.freebsd.org/~yongari/nfe/if_nfevar.h


I run 6.2-stable. Is it worth testing in this environment?

Regards,
Palle



---
Shigeaki Tagashira

Brian Smith wrote:

Palle Girgensohn wrote:


Hi,

Great news: I can confirm that it works fine when the e1000phy  
patch was removed on this system. I have not tried this on the  
system that *did* work fine with the patch, though.


I reverted to e1000phy.c 1.17 and e1000phyreg.h 1.3 on FreeBSD 7,  
and it now uses the generic driver and correctly detects the  
media.   However for me it still doesn't work.  Keep getting:

nfe1: watchdog timeout
then the link goes down and back up again.
Wish I had more time to dig around in it.
Brian




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


Re: if_nfe on nVidia chipset

2007-02-15 Thread Palle Girgensohn


Hi,

Great news: I can confirm that it works fine when the e1000phy patch was 
removed on this system. I have not tried this on the system that *did* work 
fine with the patch, though.


Thanks!

Regards,
Palle



--On onsdag, februari 14, 2007 09.25.22 +0900 Shigeaki Tagashira 
[EMAIL PROTECTED] wrote:



Hello,

Please try to use generic PHY driver (ukphy) instead of e1000phy; i.e.,
use nfe without the patch for e1000phy.

Regards,
---
Shigeaki Tagashira

Palle Girgensohn wrote:

Here's a problematic machine:

[EMAIL PROTECTED]:8:0:  class=0x068000 card=0xcb8410de chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0xcb8410de chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge



Just the other day, on a machine running amd64, I got it working  with
no problems:

[EMAIL PROTECTED]:8:0:  class=0x068000 card=0x82391043 chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0x82391043 chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge

Both run FreeBSD-6.2 release with the patches added. Same motherboards,
m2n sli-deluxe. So, might it have something to do with i386 vs. amd64?
For me, it works with amd64, and not with i386 (on at least two
machines). It is detected properly on  all machines, but the network
does not work.


Regards,
Palle


9 feb 2007 kl. 02.17 skrev Brian Smith:


Hi Palle,

   I am having the same issue.  I just installed FreeBSD 7.0 snapshot
from January to see if that helps because the latest patch requires
FreeBSD 6.2 and I had been running 6.1.  But still getting (none) for
the media type, but everything else *looks* like it is working.
However nothing responds.  Can you run pciconf -l -v and compare it to
my IDs?

[EMAIL PROTECTED]:16:0: class=0x068000 card=0xcb8410de chip=0x037310de
rev=0xa2 hdr=0x00
   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge
[EMAIL PROTECTED]:17:0: class=0x068000 card=0xcb8410de chip=0x037310de
rev=0xa2 hdr=0x00
   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge

Thanks,
   Brian Smith


Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle








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


Re: if_nfe on nVidia chipset

2007-02-09 Thread Palle Girgensohn

Here's a problematic machine:

[EMAIL PROTECTED]:8:0:  class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge



Just the other day, on a machine running amd64, I got it working   
with no problems:


[EMAIL PROTECTED]:8:0:  class=0x068000 card=0x82391043 chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0x82391043 chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge

Both run FreeBSD-6.2 release with the patches added. Same  
motherboards, m2n sli-deluxe. So, might it have something to do with  
i386 vs. amd64? For me, it works with amd64, and not with i386 (on at  
least two machines). It is detected properly on  all machines, but  
the network does not work.



Regards,
Palle


9 feb 2007 kl. 02.17 skrev Brian Smith:


Hi Palle,

   I am having the same issue.  I just installed FreeBSD 7.0  
snapshot from January to see if that helps because the latest patch  
requires FreeBSD 6.2 and I had been running 6.1.  But still getting  
(none) for the media type, but everything else *looks* like it is  
working.  However nothing responds.  Can you run pciconf -l -v and  
compare it to my IDs?


[EMAIL PROTECTED]:16:0: class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge
[EMAIL PROTECTED]:17:0: class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge

Thanks,
   Brian Smith


Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle



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


apache+tomcat and helix server

2007-02-07 Thread Palle Girgensohn

Hi!

I am experiencing something very strange, that I don't even know how  
to debug.


We run apache+mod_ssl-1.3.34+2.8.25_2, jakarta-tomcat-5.0.30 and  
mod_jk-1.2.15,1 on FreeBSD 6.1-amd64, and it is really rock stable.


Now, into this picture comes a helix server (aka Real server, real  
media server). Support for FreeBSD is rather poor, so we run an old  
binary, version 10.1.1.66 built for FreeBSD 5.x-x86  
(SERVER_10_1_STABLE branch,

https://helix-server.helixcommunity.org/2005/devdocs/builds)

With it comes the problems. When the helix server is running, the  
apache-mod_jk-tomcat connection (tcp/ip on localhost using the  
AJP13 protocol, btw) gets into trouble, resulting in error 500 to the  
user fetching the web page.


At first I thought the system was somehow exhausted of resources, but  
no other logs complain about that. The mod_jk log reports:


[Mon Jan 08 15:12:43 2007] [error] ajp_service::jk_ajp_common.c  
(1758): Error connecting to tomcat. Tomcat is probably not started or  
is listening on the wrong port. worker=tomcat failed
[Mon Jan 08 15:12:43 2007] [error]  
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive  
the response message from tomcat, network problems or tomcat is down  
(127.0.0.1:8008), err=-54
[Mon Jan 08 15:12:43 2007] [error] ajp_get_reply::jk_ajp_common.c  
(1503): Tomcat is down or refused connection. No response has been  
sent to the client (yet)


Has anyone seen anything like this before. Is anyone running the  
helix server on FreeBSD?


Regards,
Palle Girgensohn [EMAIL PROTECTED]


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


Re: if_nfe on nVidia chipset

2007-01-16 Thread Palle Girgensohn

Hello,

Is there any way I can help to try and fix this?

Regards,
Palle

--On torsdag, december 21, 2006 19.04.17 +0100 Palle Girgensohn 
[EMAIL PROTECTED] wrote:





--On torsdag, december 21, 2006 00.29.10 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


Palle Girgensohn wrote:

--On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


I have the same one. And if_nfe works well on it, in both FreeBSD
6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
ifconfig command;
# ifconfig nfe1 down; ifconfig nfe1 up

---
S. Tagashira


Hi Tagashira-san,

Tried a lot of stuff, up and down and also debug flag, but nothing
helps.

ifconfig says media: Ethernet autoselect (none)

I can ping the interface itself, but nothing else.

Any ideas?


Hi,
I updated my web site for FreeBSD nfe driver.
Please try the lastest nfe driver and e1000phy patch provided on the web
site. These codes were modified to detect link media more correctly.



Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle




---
S. Tagashira





Regards,
Palle






Palle Girgensohn wrote:

Hi! Sorry for the cross post, I'd love to know if I can get this
working or not.

Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- End Forwarded Message --




--
--

Subject:
if_nfe on Asus M2N-SLI deluxe?
From:
Palle Girgensohn [EMAIL PROTECTED]
Date:
Tue, 12 Dec 2006 18:52:35 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]
CC:
[EMAIL PROTECTED]


Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
0x4   inet 192.168.1.191 netmask 0xff00 broadcast
192.168.1.255 ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128   inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5   inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



--
--

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994 The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTA
TI ON Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
  PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2

Re: if_nfe on nVidia chipset

2006-12-21 Thread Palle Girgensohn



--On torsdag, december 21, 2006 00.29.10 +0900 Shigeaki Tagashira 
[EMAIL PROTECTED] wrote:



Palle Girgensohn wrote:

--On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


I have the same one. And if_nfe works well on it, in both FreeBSD
6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
ifconfig command;
# ifconfig nfe1 down; ifconfig nfe1 up

---
S. Tagashira


Hi Tagashira-san,

Tried a lot of stuff, up and down and also debug flag, but nothing
helps.

ifconfig says media: Ethernet autoselect (none)

I can ping the interface itself, but nothing else.

Any ideas?


Hi,
I updated my web site for FreeBSD nfe driver.
Please try the lastest nfe driver and e1000phy patch provided on the web
site. These codes were modified to detect link media more correctly.



Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle




---
S. Tagashira





Regards,
Palle






Palle Girgensohn wrote:

Hi! Sorry for the cross post, I'd love to know if I can get this
working or not.

Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- End Forwarded Message --




--
--

Subject:
if_nfe on Asus M2N-SLI deluxe?
From:
Palle Girgensohn [EMAIL PROTECTED]
Date:
Tue, 12 Dec 2006 18:52:35 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]
CC:
[EMAIL PROTECTED]


Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
0x4   inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128   inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5   inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



--
--

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994 The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTA
TI ON Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
  PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow
  AMD Features2=0x1dLAHF,b2,b3,CR8
real memory  = 2146369536

Re: if_nfe on nVidia chipset

2006-12-19 Thread Palle Girgensohn
--On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira 
[EMAIL PROTECTED] wrote:



I have the same one. And if_nfe works well on it, in both FreeBSD
6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
ifconfig command;
# ifconfig nfe1 down; ifconfig nfe1 up

---
S. Tagashira


Hi Tagashira-san,

Tried a lot of stuff, up and down and also debug flag, but nothing helps.

ifconfig says media: Ethernet autoselect (none)

I can ping the interface itself, but nothing else.

Any ideas?

Regards,
Palle






Palle Girgensohn wrote:

Hi! Sorry for the cross post, I'd love to know if I can get this working
or not.

Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- End Forwarded Message --






Subject:
if_nfe on Asus M2N-SLI deluxe?
From:
Palle Girgensohn [EMAIL PROTECTED]
Date:
Tue, 12 Dec 2006 18:52:35 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]
CC:
[EMAIL PROTECTED]


Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
0x4   inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128   inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5   inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle





Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTATI
ON Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
  E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow
  AMD Features2=0x1dLAHF,b2,b3,CR8
real memory  = 2146369536 (2046 MB)
avail memory = 2091245568 (1994 MB)
ACPI APIC Table: Nvidia AWRDACPI
ioapic0 Version 1.1 irqs 0-23 on motherboard
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI

if_nfe on nVidia chipset

2006-12-15 Thread Palle Girgensohn
Hi! Sorry for the cross post, I'd love to know if I can get this working or 
not.


Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I snached
the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed?

/Palle



-- End Forwarded Message --



---BeginMessage---

Hi!

Does anybody know if if_nfe should work on the above motherboard? I snached
the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4 
   inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255

   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128 
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
   inet 127.0.0.1 netmask 0xff00 


The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed?

/Palle


Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTATION
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow
  AMD Features2=0x1dLAHF,b2,b3,CR8
real memory  = 2146369536 (2046 MB)
avail memory = 2091245568 (1994 MB)
ACPI APIC Table: Nvidia AWRDACPI
ioapic0 Version 1.1 irqs 0-23 on motherboard
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
pci0: memory, RAM at device 1.2 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21 at 
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff irq 22 at 
device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version

real media server (hlxserver) for freebsd amd64?

2006-08-30 Thread Palle Girgensohn

Hi!

I need to get a Helix server (hlx server, real media server) running on 
FreeBSD @ amd64. Anyone tried this before? Seems there are no good options, 
really, and I have had trouble running the linux version as well. Just want 
to know if I'm alone in needing this?


/Palle

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


Re: real media server (hlxserver) for freebsd amd64?

2006-08-30 Thread Palle Girgensohn



--On onsdag, augusti 30, 2006 12.40.42 +0400 [EMAIL PROTECTED] wrote:


Hi!



I need to get a Helix server (hlx server, real media server) running on
FreeBSD @ amd64. Anyone tried this before? Seems there are no good
options, really, and I have had trouble running the linux version as
well. Just want to know if I'm alone in needing this?



/Palle



You not alone!..


Good to hear. How do we pursue this?

I need the commercial package that links with the open source stuff, or 
else I cannot serve real media content, which leaves me with a useless 
server (I'd rather run apple quicktime server in that case...).


So I guess we are out of luck unless we can get Real to build it for 
FreeBSD, which I doubt they would care to do.


Is there any other software out there that can serve real audio files?

/Palle

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


using an amd64 machine to cross compile apps for ia32?

2006-02-15 Thread Palle Girgensohn

Hi!

I need a simple step-by-step guide to use an amd64-machine (FreeBSD-6.0) to 
compile an app for both amd64 and ia32 (aka i386) versions of FreeBSD-6.0.


Do I need to build a cross compiling gcc binary? The app uses some shared 
libraries, do I need to maintain them in ia32-versions somewhere on the 
amd64 machine?


Any tips appreciated, thanks,

Palle

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


rpc.lockd snatches all priviledged udp ports

2005-12-30 Thread Palle Girgensohn

Hi,

An NFS server running FreeBSD 4.10 sometimes have the problem that all UDP 
ports below 1024 are used by rpc.lockd. This is not a high load server, 
really, it serves and handful workstations and should really cope. Is it so 
that rpc.lockd needs a port for each file, or else what is happening?


I found a discussion on -current from Jan 2004 about this, but I couldn't 
find that the problem was acutually solved? 
http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018773.html 
Seems to be a problem with rebooting clients?


BTW, can I easily flush the lock daemon to get some ports back? It seems 
hard to restart the lock daemon - I once tried but gave up and ended up 
rebooting the system. There must be a better way?


Anyone knows if this is fixed in 6.0?

thx
Palle

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


ypmatch suddenly uses unprivileged port for master.passwd

2005-11-16 Thread Palle Girgensohn

Hi!

All of a sudden, our ypwhich uses an unprivileged port when accessing 
master.passwd, and of course, it does not get any results:


# ypmatch girgen master.passwd
ypmatch: can't match key girgen in map master.passwd.byname. reason: YP 
server error


messages:
Nov 16 14:51:13 banan ypserv[164]: access to master.passwd.byname denied -- 
client 192.168.1.184:2165 not privileged



tcpdump:

14:12:56.909459 banan.pingpong.net.2425  banan.pingpong.net.972: udp 88
0x   4500 0074 ee7f  4011 0739 c0a8 01b8[EMAIL PROTECTED]
0x0010   c0a8 01b8 0979 03cc 0060 51f1 4c72 f0c8.y...`Q.Lr..
0x0020      0002 0001 86a4  0002
0x0030    0003      
0x0040      0005 4d75 7369 6b00 Musik...
0x0050    0014 6d61 7374 6572 2e70 6173 7377master.passw
0x0060   642e 6279 6e61 6d65  0006 6769 7267d.bynamegirg
0x0070   656e   en..
14:12:56.909917 banan.pingpong.net.972  banan.pingpong.net.2425: udp 32
0x   4500 003c ee80  4011 0770 c0a8 01b8E..[EMAIL PROTECTED]
0x0010   c0a8 01b8 03cc 0979 0028 3061 4c72 f0c8...y.(0aLr..
0x0020    0001      
0x0030      fffa    


No maps where changed, I honestly don't have a clue as to to why this 
happened. Any ideas?


/Palle

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


4 GB RAM but can only see 3 GB (HP 380)

2005-10-30 Thread Palle Girgensohn

Hi!

Two different customers have bought a HP 380 server each, both with 4 GB 
RAM, but FreeBSD can only see three of them. BIOS counts to 4 GB. I've 
tried PAE, but it doesn't help. Any tips how I can make use of the last 1GB?


Both are SMP, dual Xeon CPU's.


Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p6 #2: Thu Aug 25 03:49:30 CEST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HJKERNEL
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3400.14-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf43  Stepping = 3
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Hyperthreading: 2 logical CPUs
real memory  = 3221172224 (3071 MB)
avail memory = 3150819328 (3004 MB)
ACPI APIC Table: HP 0083
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  6
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
ioapic3 Version 2.0 irqs 72-95 on motherboard
ioapic4 Version 2.0 irqs 96-119 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: HP P51 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x908-0x90b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci2: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci2
pci3: ACPI PCI bus on pcib2
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem 
0xfdef-0xfdef irq 25 at device 1.0 on pci3

miibus0: MII bus on bge0
brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto

bge0: Ethernet address: 00:13:21:6b:77:51
bge1: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem 
0xfdee-0xfdee irq 26 at device 1.1 on pci3

miibus1: MII bus on bge1
brgphy1: BCM5704 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto

bge1: Ethernet address: 00:13:21:6b:77:50
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci2
pci4: ACPI PCI bus on pcib3
ciss0: HP Smart Array 6i port 0x4000-0x40ff mem 
0xfdf8-0xfdfb,0xfdff-0xfdff1fff irq 51 at device 3.0 on pci4

pcib4: ACPI PCI-PCI bridge at device 6.0 on pci0
pci5: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 0.2 on pci5
pci10: ACPI PCI bus on pcib6
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0x2000-0x201f irq 
16 at device 29.0 on pci0

usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0x2020-0x203f irq 
19 at device 29.1 on pci0

usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0x2040-0x205f irq 
18 at device 29.2 on pci0

usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0x2060-0x207f irq 
16 at device 29.3 on pci0

usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib7: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib7
pci1: display, VGA at device 3.0 (no driver attached)
pci1: base peripheral at device 4.0 (no driver attached)
pci1: base peripheral at device 4.2 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 
0x500-0x50f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
acpi_tz0: Thermal Zone on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0: Standard PC COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
fdc0: floppy drive controller (FDE) port 0x3f2-0x3f5 irq 

Re: strcoll(3) case sensitivity?

2005-03-29 Thread Palle Girgensohn

--On måndag, mars 28, 2005 21.56.00 -0600 Dan Nelson 
[EMAIL PROTECTED] wrote:

In the last episode (Mar 29), Palle Girgensohn said:
On many unix systems, strcoll(3) is case insensitive for locales
other than C/POSIX. Not so for FreeBSD. Just curious, is this a
design decision or simply the lack of time and efforts to write the
code for it?
The only thing I can find is ache's commit back in 1996 in
/usr/src/share/colldef:
1996-06-09 12:24  ache
* la_LN.ISO8859-1.src, la_LN.ISO_8859-1.src, lt_LN.ISO_8859-1.src:
Make collation table compatible with POSIX WG15 view, i.e.
capital letters first
I wish I could find the POSIX docs for this, but sadly they don't seem to 
exists openly on the net?

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


strcoll(3) case sensitivity?

2005-03-28 Thread Palle Girgensohn
Hi!
On many unix systems, strcoll(3) is case insensitive for locales other than 
C/POSIX. Not so for FreeBSD. Just curious, is this a design decision or 
simply the lack of time and efforts to write the code for it?

Regards,
Palle

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


Re: FreeBSD 5.3: Sharedlibs using sharedlibs (and Tcl)

2005-03-24 Thread Palle Girgensohn
--On onsdag, mars 16, 2005 20.13.03 +0100 Peter Much 
[EMAIL PROTECTED] wrote:

On Wed, Mar 16, 2005 at 03:35:16PM +0100, Palle Girgensohn wrote:
!
! --On onsdag, mars 16, 2005 11.43.31 +0100 Peter Much
! [EMAIL PROTECTED] wrote:
!
! ! So, you're saying that pctclsh *can* access, but pgaccess *cannot*?
! Odd...  ! I would expect they'd both use the same lib to connect, no?
! I'll have to
! 
! They use the same libraries, yes. But Tcl interpreter seem to need more
! advice on where to find sub-functions in other libraries. It looks
! like this:
! 
! pgtclsh  -finds- libpgtcl.so -finds- libpq.so -finds- libkrb5.so
! pgaccess -loads- libpgtcl.so -finds- libpq.so -fails- libkrb5.so
!
! Uh, OK. I'm not qualified enough with linkers to answer this, I'm
afraid.  ! Did you try the pgsql-interfaces mailing list?
Oh well, same with me. I sent a copy of one of my reports to that
list, yes. But only got feedback that it will be evaluated by
moderator, as I am not signed on that list.
I'm actually no professional psql user - the database is just a small
part of my installation, mainly logging the lowlevel error counts
from my exabyte drives and providing reports about tape wearout.
And the kerberos is just there for fun, as a reference installation.
Nevertheless, I would think this is not a matter for the postgres
community. Because this would happen the same way with any other
application that provides Tcl support and kerberos support (or maybe
also with other components of the system, if they are used from Tcl).
So it seems either a Tcl problem or a linker/loader problem. Which,
I cannot say - maybe both.
! And then I found that it is enough to place into libpq.so the explicit
! references to libkrb5 and the other kerberos libs. That is what the
! readelf -a output in my other mail shows.
!
! sounds like a better solution, yes... Shouldn't they always be there?
! Sounds like a bug to me?
Thats the question.
I just did a little more investigation (like reading manpages)
and found out _WHY_ it does work for pgtclsh but not for pgaccess.
There is a command ldd that shows nested library dependencies
for any program.
For pgtclsh it shows all the kerberos libs:
bash-3.00# ldd /usr/local/bin/pgtclsh
/usr/local/bin/pgtclsh:
libpgtcl.so.2 = /usr/local/lib/libpgtcl.so.2 (0x28075000)
libpq.so.3 = /usr/local/lib/libpq.so.3 (0x2807d000)
libtcl84.so.1 = /usr/local/lib/libtcl84.so.1 (0x28097000)
libm.so.3 = /lib/libm.so.3 (0x28135000)
libkrb5.so.7 = /usr/lib/libkrb5.so.7 (0x2814f000)
libasn1.so.7 = /usr/lib/libasn1.so.7 (0x28186000)
libcrypto.so.3 = /lib/libcrypto.so.3 (0x281a6000)
libroken.so.7 = /usr/lib/libroken.so.7 (0x2829b000)
libcrypt.so.2 = /lib/libcrypt.so.2 (0x282a9000)
libcom_err.so.2 = /usr/lib/libcom_err.so.2 (0x282c1000)
libz.so.2 = /lib/libz.so.2 (0x282c3000)
libreadline.so.5 = /lib/libreadline.so.5 (0x282d3000)
libutil.so.4 = /lib/libutil.so.4 (0x282ff000)
libc.so.5 = /lib/libc.so.5 (0x2830b000)
libintl.so.6 = /usr/local/lib/libintl.so.6 (0x283e4000)
libssl.so.3 = /usr/lib/libssl.so.3 (0x283ed000)
libncurses.so.5 = /lib/libncurses.so.5 (0x2841b000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x2845a000)
But for libpgtcl.so (this is the first elf binary that pgaccess gets
to see) it does not show these kerberos libraries (I use the old
libpq.so here, not the one that I have modified):
bash-3.00# ldd /usr/local/lib/libpgtcl.so
/usr/local/lib/libpgtcl.so:
libpq.so.3 = /usr/local/lib/libpq.so.3 (0x2815a000)
libtcl84.so.1 = /usr/local/lib/libtcl84.so.1 (0x28174000)
libm.so.3 = /lib/libm.so.3 (0x28212000)
libintl.so.6 = /usr/local/lib/libintl.so.6 (0x2822c000)
libssl.so.3 = /usr/lib/libssl.so.3 (0x28235000)
libcrypto.so.3 = /lib/libcrypto.so.3 (0x28263000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28358000)
Then the explanation became simple: these kerberos libraries get
just LITERALLY LISTED WITHIN THE pgtclsh BINARY! And this is an
impossible method for a Tcl script.
bash-3.00# readelf -d /usr/local/bin/pgtclsh | grep krb5
 0x0001 (NEEDED) Shared library: [libkrb5.so.7]
So now we have a full explanation for the behaviour, but not really
a solution.
Instead, this looks like a fundamental question about how to load
nested elf sharedlibs from interpreter languages.
From my technical viewpoint, the only solution that makes sense
would be: every shared library must reference all other shared
libraries from which it uses functions. The shared library cannot
rely on the executable to do this job, because the executable
may be an interpreter script, which neither is able to do this
nor would it want to know them all.
From this viewpoint, the linker command that creates libpq.so
is defective. So You were right and its a problem for the
postgresql developers.
But as I am not competent with shared libraries

Re: FreeBSD 5.3: Sharedlibs using sharedlibs (and Tcl)

2005-03-15 Thread Palle Girgensohn
Hi Peter,
There is (and was in 5.3 release) a knob to build postgresql with Kerberos. 
WITH_HEIMDAL_KRB5=YES. Did you try that when building PostgreSQL? It would 
probably do the same thing as you managed by trying around with the linker 
command. Setting this knob to yes will add --with-krb5=/usr to the 
configure arguments, and this will trigger stuff in postgresql makefiles 
and possibly also additional code.

I think this is what went wrong; the postgresql source has a configure 
option for building and linking with Kerberos, this option is reflected in 
the port, but it was not used in this case.

Best regards,
Palle

--On tisdag, mars 15, 2005 18.06.56 +0100 Peter Much 
[EMAIL PROTECTED] wrote:

Hi all,
my question is,
  which references to other sharedlibs need to be in a shared
library?
When installing postgresql database system and the Tcl interface tool
pgaccess, I noticed that the kerberos support did not work.
I installed postgresql 7.4.5 from the ports colletion as of RELEASE
5.3. This is not the newest, so I did not create a bugreport, but
instead figured out the problem (and a solution) by myself (with
some support from the pgaccess user community).
But now I would like to *understand* what was going wrong and why
I could fix it the way I did.
I describe the fabric:
1. postgresql brings a library libpq.so.3 into /usr/local/lib. This
   library contains all the code to access the database server.
   If we use kerberos, then this library will call functions from
   the bunch of kerberos libraries (libkrb5, libasn1, etc etc)
   in /usr/lib.
2. postgresql also brings another, optional library libpgtcl.so.2
   into /usr/local/lib. This library contains special function for
   accessing the database server from Tcl.
   This library calls the functions in libpq.so.3.
3. pgaccess is a Tcl script. It wants to load libpgtcl.so. It finds
   and loads libpgtcl.so, it finds and loads the necessary functions
   from libpq.so, and then, if we have kerberos compiled in, it
   recognizes one of the needed kerberos functions, and complains
   that it cannot find this function referenced from libpq.so. So the
   load of libpgtcl.so fails.
As far as I see, this problem does not arise with binaries. All
binary progams using libpq.so do support kerberos, and it works.
Then I noticed that sharedlibs contain a section where other needed
sharedlibs can be explicitely mentioned. And I noticed that
libpgtcl.so contains such a mentioning of libpq.so - so this is
found by Tcl.
But libqp.so does not contain an explicit mentioning of the kerberos
libraries.
So I tried around with the linker command until I practiced such
an explicit mentioning into libpq.so.
And then step 3 from above did succeed!
I conclude:
Since this is now a matter of how sharedlibs are built on the system,
this does not only concern kerberos and postgresql, but concerns any
component which shall be called from Tcl.
I have now two versions of my libpq.so - both contain the same code,
but one will support kerberos from Tcl, and the other (the one that
was built in the standard way) will not.
The only difference between both shows up in the output of readelf
-a as follows:
The standard build that does not work:
---
[...]
Dynamic segment at offset 0x19774 contains 21 entries:
  TagType Name/Value
 0x0001 (NEEDED) Shared library: [libintl.so.6]
 0x0001 (NEEDED) Shared library: [libssl.so.3]
 0x0001 (NEEDED) Shared library: [libcrypto.so.3]
 0x000e (SONAME) Library soname: [libpq.so.3]
 0x000f (RPATH) Library rpath: [/usr/local/lib]
[...]
My modified build that does work:
---
[...]
Dynamic segment at offset 0x19774 contains 26 entries:
  TagType Name/Value
 0x0001 (NEEDED) Shared library: [libintl.so.6]
 0x0001 (NEEDED) Shared library: [libssl.so.3]
 0x0001 (NEEDED) Shared library: [libcrypto.so.3]
 0x0001 (NEEDED) Shared library: [libkrb5.so.7]
 0x0001 (NEEDED) Shared library: [libasn1.so.7]
 0x0001 (NEEDED) Shared library: [libroken.so.7]
 0x0001 (NEEDED) Shared library: [libcrypt.so.2]
 0x0001 (NEEDED) Shared library: [libcom_err.so.2]
 0x000e (SONAME) Library soname: [libpq.so.3]
 0x000f (RPATH) Library rpath: [/usr/local/lib]
[...]
So, my question now is: where is the conceptional error which led
to the software not working at first?
In Tcl? In the linker? In the system loader? In the build environment
(port)? In the postgresql makefiles? In the FreeBSD sharedlib
management? In kerberos? Or somewhere else?
And this seems complex enough to me so I do not even know how
to search if it might be a known bug that has already been fixed
in the meantime...
PMc


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

unlocking stale nfs? adding -t to running nfsd?

2004-06-13 Thread Palle Girgensohn
Hi,
Two questions:
I have an nfs mount mounted without -i or -s (stoopid me!), just plain 
mount server:/fs /lfs. This was over a WAN connection, and of course the 
connection server-client broke somehow, and now the mount is stale. This 
naturally means that I cannot do ls -l / , since it hangs forever. Now the 
question: is there any way to unstale this, so the machine can go back to 
normal again, without a reboot?

I should really do this mount with tcp, of course, but found no way to get 
a running nfsd to also start accepting tcp (nfsd runs with -n 6 -u, no 
-t). Is there a way to tell a running nfsd to start accepting tcp 
connections?

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


Re: unlocking stale nfs? adding -t to running nfsd?

2004-06-13 Thread Palle Girgensohn
Thanks for the reply!
--On Sunday, June 13, 2004 15:00:47 -0500 Dan Nelson 
[EMAIL PROTECTED] wrote:

In the last episode (Jun 13), Palle Girgensohn said:
I have an nfs mount mounted without -i or -s (stoopid me!), just
plain mount server:/fs /lfs. This was over a WAN connection, and of
course the connection server-client broke somehow, and now the
mount is stale. This naturally means that I cannot do ls -l / , since
it hangs forever. Now the question: is there any way to unstale this,
so the machine can go back to normal again, without a reboot?
umount -f /mountpoint, and remount it.  The only thing I know of that
can cause an entire mountpoint to go stale is if the server gets
rebooted with a new kernel and it can't determine which filesystem an
incoming request is for.  Connectivity issues shouldn't cause this.
hmm nfs over WAN genererally sucks... I actually had to reboot the client. 
:(

I should really do this mount with tcp, of course, but found no way
to get a running nfsd to also start accepting tcp (nfsd runs with -n
6 -u, no -t). Is there a way to tell a running nfsd to start
accepting tcp connections?
Just bounce nfsd after changing nfs_server_flags in rc.conf.
bounce, you mean like kill -USR1 ? Surely, nfsd does not read rc.conf, so 
kill -USR1 #pid  nfsd -t ...? Is that safe when the server has active 
clients?


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


FreeBSD Sony Ericsson P900?

2004-04-06 Thread Palle Girgensohn
Hi,

Any suggestions on how to connect a Sony Ericsson P900 to FreeBSD? Dream 
scenario is to be able to sync address and calendar data, as well as 
installing programs etc. Really, all that's possible with the Windows 
client, I guess. I don't have Windows, just FreeBSD, and really want 
something working.

It shows up fine in as an usb device:

$ usbdevs
addr 1: OHCI root hub, (0x10de)
addr 2: USB-PS/2 Optical Mouse, Logitech
addr 3: SEMC DSS-20 SyncStation, Sony Ericsson
but dmesg says something like SMM does not respond, resetting.

I've no idea if this is related?

Anyhow, tips are welcome. Thx!

/Palle

pci0: unknown card (vendor=0x10de, dev=0x0064) at 1.1 irq 11
ohci0: OHCI (generic) USB controller mem 0xe9087000-0xe9087fff irq 9 at 
device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 2, iclass 3/1
ums0: 6 buttons and Z dir.
ohci1: OHCI (generic) USB controller mem 0xe9082000-0xe9082fff irq 4 at 
device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: USB controller at 2.2 irq 3
pci0: unknown card (vendor=0x10de, dev=0x0066) at 4.0 irq 3
pci0: unknown card (vendor=0x10de, dev=0x006b) at 5.0 irq 11

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


Re: Mozilla + realplay plugin: how to get this work?

2004-03-18 Thread Palle Girgensohn
The realplayer plugin only works with a linux mozilla binary.

I suggest you use www/plugger, works with native fbsd mozilla. It starts 
realplayer as an application by default, not as a plugin, and honestly, 
this is what you want. Plugins suck for video or audio, it is a bad idea 
IMHO. If you want plugin, you can configure it for that, I believe.

Plugger works by using external programs and open them either in an X 
window inside mozilla,  or just starting them through a forked /bin/sh.

It supports over 50 different mime types, starting different progs. Hence, 
the dependcy list in the port is fairly long, perhaps you can some off if 
you don't want it all...

/palle

--On fredag 19 mars 2004 09.37 +0900 Rob [EMAIL PROTECTED] 
wrote:

Hi,

I have installed on STABLE PC:

mozilla-1.6_3,2
linux-flashplugin-6.0r79_1
linuxpluginwrapper-20040310_1
mplayerplug-in-2.45
linux-realplayer-8.cs2_4
I have following in /usr/X11R6/lib/browser_plugins :

raclass.zip - /usr/local/lib/RealPlayer8/raclass.zip
rpnp.so - /usr/local/lib/RealPlayer8/rpnp.so
To no avail; realplay plugin does not work with
mozilla. Any more hints?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: JRE sources

2004-03-16 Thread Palle Girgensohn
Did you check the port? /usr/ports/java/jdk14.

/Palle

--On tisdag, mars 16, 2004 14.34.26 + Tadimeti Keshav 
[EMAIL PROTECTED] wrote:

Hi
I use a dial-up modem to connect to the net, hence I
am looking for sources to compile JRE/JDK to
eventually install oracle.
Can someone pls give me the URL?
Thanks
Tk



___
Yahoo! Messenger - Communicate instantly...Ping
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]




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


Re: XEmacs woes...

2004-03-09 Thread Palle Girgensohn
Hi,

Is this with the cc-mode distributed with xemacs? Which version of xemacs?

i tend to use xemacs' package manager for all elisp modules - you could try 
updating all of the related modules, it might help:

Menu:
Tools - Packages - Add download site,
Tools - Packages - List and install
Also, you don't an old .emacs file or .xemacs/xxx lying around that could 
break it. Did you try running without any own dot-files?

Hope this helps,
Palle
--On tisdag, mars 09, 2004 23.17.26 +0100 Henrik W Lund 
[EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greetings!!

Having installed XEmacs from ports, it's running fine, except for one
thing: whenever I try to open an existing C/C++ file (I have syntax
highlighting on), it refuses to open it, and gives me the error message:
/Invalid regexp: Invalid syntax designator/

right after it has loaded view-less.el. I tried looking through
view-less.el, but to no avail.
Furthermore, if I create a C/C++ file, I can write as usual, and the
# include lines get highlighted, but nothing else. For every keypress I
make, the following error message is displayed:
/Fontifying region... (invalid-regexp Invalid syntax designator)

/If I turn off syntax highlighting for C/C++ altogether, it lets me
work without errors (and without syntax highlighting, of course).
Syntax highlighting for other modes (Lisp-mode, Makefile-mode, etc)
works just fine.
I've really exhausted all sources on this one, as the existing
documentation does not provide information specific enough. I even
tried downloading the cc-mode off of cc-mode.sourceforge.net, but to
no avail. A glance through the .el files leaves me no wiser either.
Does anyone know what the problem could be? XEmacs is kick-ass, but
this thing is annoying me half to death (the one feature I will be
using a lot of is the one feature that doesn't work). Thanks for any help!
Henrik W Lund

Public key for 0x9F30B995CC3D3F72
- -BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.4 (FreeBSD)
mQGiBEA1DzERBADEO+BpxeWo2PcAN8vFRWkUATB7aLZYy60NZPVYl4iQdi/PzV5O
2sRrXa9vFWHhPBkxPBmRkQ2q+6JwHkm0OUKVvbqE7N+/DW+i9nmJWAMFlCBraeV+
zZG47ygPGfEFkQmcBJjPyOloQL+AeiSF/UXc9zpTk/87O4UANQ2H7SDWwwCgujiA
26Z0xIEnKoOIPlHw5k0GzWUD/0+TSqlMRUfXpt6j6pY4ApZN+WC3uAvJobAMlhCC
8rnCw/SYze8A04bawiObSIa3KAWTn38XxPG0CoHxo2savC4seJZjeqlZx6zwCpe8
iM4ZNUaBlzQyGvyvImVRVW+cIE1TF1prHIXbMfbiGVgTnHL4dvcFu8oTshyLgX2U
T/xPBACRoP03MpUaXax55dc7+jtApGXEI73S55nn0hUYPfE7Zs7FKYWWKpclEzMk
/D1Ga7MGcIIjRJuQx0dZeTxmprZOxHTkZGJeglIsQMXRv2dtzIOxuGh9w2pABdXZ
R6C05jaW851/SQklUIN18XJV6uw8wOs6zvCNYefxrx+2b20ScLRKSGVucmlrIFcg
THVuZCAoUEdQIC0gYmVjYXVzZSBwcml2YWN5IG1hdHRlcnMpIDxoZW5yaWsudy5s
dW5kQGJyb2FkcGFyay5ubz6IWwQTEQIAGwUCQDUPMQYLCQgHAwIDFQIDAxYCAQIe
AQIXgAAKCRCfMLmVzD0/cpFzAJ4iFO5PYHPUyiKoIIoi7J+mwBSrzgCffasMqe2P
9rb9lGyyHKht6zj8cBaISQQTEQIACQUCQDaeaQIHAAAKCRDguFH/PPq0hJAIAJ9N
1tG7ELHSoZ7oLbfUC7LP0Z8nYQCeIlJSEavVZfQVxjdGN+O7xOIErEa5AQ0EQDUP
ORAEALgbOmUUMiPVmIm6dy9In9qMOzIs9cD1U0CWs8ySSKDDkNKsam08AwDcPnTr
DLfbwcaEEvgVHcedbcAM9lUssIYo1CJqYIn4blvZGjC/jDRSj2UTzgMUA68/bZzO
XVziwxvDOC43pLjm013Khem9rtAIEp2GmI4CsX5TpTLj7I7XAAQNA/92qSaTjlbm
oUBGZPLN3WaFiGtem/41xTgzpBh31Tn6yxaFghzfMHDiyDqMxsWbPkiKyNfu4N1S
jPmKTStCSx0lMlxs2bOgy/1LtqcNq+3i3znXsGbpB1jgFuriO882zf4zATSNmJiy
RWEJgNwsgHllSDNk6nOoDddR6hpULGKShIhGBBgRAgAGBQJANQ85AAoJEJ8wuZXM
PT9y6jgAnjTGTTnutfhVvPrJ9u+sYBD/nTFvAJ44/StfAKJoWCjl7Jr4uQYbpEGz
Sg==
=+NK+
- -END PGP PUBLIC KEY BLOCK-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFATkJ1nzC5lcw9P3IRAsOLAJ98vv/4KZY4YBnPi4D2ha/duhrKXwCfbw2i
zfw3HVntl7a+FryIr677TIo=
=7HM9
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]




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


Ericsson P900 FreeBSD?

2004-03-08 Thread Palle Girgensohn
Hi,

Anyone who knows if I can an Ericsson P900 cell phone to sync data with any 
app running @ FreeBSD, native or in Linux mode?

I'd like to sync calendar and address data, and also be able to upload 
programs.

/Palle

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


how find out CPU clockrate?

2004-01-09 Thread Palle Girgensohn
Hi!

How can I programatically find out the CPU frequency?

I'm trying to port a program from Linux, and it uses /proc/cpuinfo.

$ cat /compat/linux/proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 14
stepping: 2
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr
cpu MHz : 349.20
bogomips: 349.20

Pretty neat, but it does not exist in FreeBSD, and sysctl does not give out 
this information. Grepping the dmesg.boot seems somewhat odd for a C 
program:

$ dmesg | grep -i hz
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (349.20-MHz 686-class CPU)
Better ideas?

/Palle

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


Re: how find out CPU clockrate?

2004-01-09 Thread Palle Girgensohn
It a sound library, JACK. I dunno, I'll try commenting the code, see what 
happens...

Thank,

/Palle

--On fredag, januari 09, 2004 17.42.15 -0600 Dan Nelson 
[EMAIL PROTECTED] wrote:

In the last episode (Jan 10), Palle Girgensohn said:
How can I programatically find out the CPU frequency?

I'm trying to port a program from Linux, and it uses /proc/cpuinfo.

$ cat /compat/linux/proc/cpuinfo
cpu MHz : 349.20
Pretty neat, but it does not exist in FreeBSD, and sysctl does not
give out this information. Grepping the dmesg.boot seems somewhat odd
for a C program:
$ dmesg | grep -i hz
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (349.20-MHz 686-class CPU)
Better ideas?
I think someone suggested that more CPU information be exported via
sysctl nodes at some point, but no-one has found it important enough to
code.  Note that on laptops and many ACPI motherboards, you can tweak
the CPU speed on the fly, so you can't just store the bootup value.
Other architectures may also allow multiple CPUs at different speeds.
As for your issue, I'd say just comment the code out.  Do you really
need to know the CPU speed?  Another option is to shell out and run
cpuid or x86info, but those are x86-only, of course.
--
Dan Nelson
[EMAIL PROTECTED]




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


ipsec, ESP IKE, freebsd as vpn `client' - openbsd, how?

2002-10-22 Thread Palle Girgensohn
Hi!

We just moved our company to a new `office hotel', and they have an openbsd 
firewall with an VPN setup that I should be able to use from home. A 
consultant set the openbsd machine up, and the guys in the new office knows 
absolutely nothing about unix whatsoever. When asking how to use the VPN, I 
got instructions for setting up the windows utility `PGP Desktop Security'.

Fine, I thought, I have the info I need:

- a shared secret
- IKE is used
- ESP is used
- no AH
- the preferred order for ciphers and hashes

Here's what I want to do:

Home, 1.2.3.4 (dhcp address)
|
| ipsec tunnel
|
OpenBSD, 5.6.7.8
w/ NAT 192.168.1.1
|
- ...
| |   | |
192.168.1.2  192.168.1.3   192.168.1.4192.168.1.5


I want to access the machines behind the FW. Pretty straight forward, huh? 
;-)

Anyway, I know the OpenBSD machine uses isakmpd, so I started looking at 
that port, but the docs are very confusing. Also checked racoon, and I 
guess both should work, but all examples are for setting up both ends at 
once - in this case the `server' peer is already setup, and I don't exactly 
how, just roughly.

Problem is, I just don't have time to learn everything about ipsec at this 
time, I need the connection working yesterday... :-(

Is there a crash course / FAQ that will actually help me? Or can someone 
just give some hints on how to set things up on the FreeBSD end, from 
scratch?

Thanks in advance
Palle




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message