Where can I find port configuration options?

2010-02-26 Thread Xihong Yin

I know you can set your options when you build a port. But where can I
find these options for a port? For example, how can I build Firefox with
the option to disable anti-aliasing font?

Xihong
___
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"


NDIS failed under 8.0, please help

2010-03-16 Thread Xihong Yin

The NDIS driver failed after I upgraded from 7.1 to 8.0 Stable, the NDIS
driver was built successfully under 8.0 though.

The wireless card is a Dell TrueMobile 1300 WLAN Mini-PCI Card. It works
perfectly under 7.2.

I run

#ifconfig ndis0 up scan

and got and error:

ifconfig: unable to get scan results

ifconfig ndis0 is

ndis0: flags=8843 metric 0 mtu
2290
ether 00:90:4b:c7:f1:01
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier

uname -a is

FreeBSD dell 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue
Mar 16 06:41:00 EDT 2010
r...@dell:/usr/obj/usr/src/sys/MY8KERNEL  i386

dmesg is

Copyright (c) 1992-2010 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 8.0-STABLE #0: Tue Mar 16 06:41:00 EDT 2010
r...@dell:/usr/obj/usr/src/sys/MY8KERNEL i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) M processor 1.40GHz (1396.55-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
  
Features=0xafe9fbff
  AMD Features=0x10
real memory  = 268435456 (256 MB)
avail memory = 244703232 (233 MB)
ACPI APIC Table: 
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: reservation of 0, 9fc00 (3) failed
acpi0: reservation of 10, f6d3800 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
acpi_acad0:  on acpi0
battery0:  on acpi0
acpi_lid0:  on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
vgapci0:  port 0xeff8-0xefff mem 
0xdff0-0xdff7,0xc000-0xcfff,0xdfec-0xdfef irq 16 at device 
2.0 on pci0
agp0:  on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1:  mem 0xdff8-0xdfff at device 2.1 on 
pci0
hdac0:  mem 
0xdfebc000-0xdfeb irq 16 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib1:  at device 28.0 on pci0
pci11:  on pcib1
pcib2:  at device 28.3 on pci0
pci12:  on pcib2
uhci0:  port 0xbf80-0xbf9f 
irq 16 at device 29.0 on pci0
uhci0: [ITHREAD]
usbus0:  on uhci0
uhci1:  port 0xbf60-0xbf7f 
irq 17 at device 29.1 on pci0
uhci1: [ITHREAD]
usbus1:  on uhci1
uhci2:  port 0xbf40-0xbf5f 
irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
usbus2:  on uhci2
uhci3:  port 0xbf20-0xbf3f 
irq 19 at device 29.3 on pci0
uhci3: [ITHREAD]
usbus3:  on uhci3
ehci0:  mem 0xb000-0xb3ff irq 
16 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4:  on ehci0
pcib3:  at device 30.0 on pci0
pci2:  on pcib3
bfe0:  mem 0xdfbfc000-0xdfbfdfff irq 18 at 
device 0.0 on pci2
miibus0:  on bfe0
bmtphy0:  PHY 1 on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:14:22:90:52:ed
bfe0: [ITHREAD]
ndis0:  mem 0xdfbfe000-0xdfbf irq 
17 at device 3.0 on pci2
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 16 at device 31.1 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64,0x62,0x66 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
atrtc0:  port 0x70-0x71,0x72-0x77 irq 8 on acpi0
pmtimer0 on isa0
orm0:  at iomem 0xc-0xcf7ff,0xcf800-0xc pnpid ORM 
on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ppc0: parallel port not found.
p4tcc0:  on cpu0
Timecounter "TSC" frequency 1396547279 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding 
disabled, default to accept, logging disabled
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1:  at usbus0
uhub0:  on usbus0
ugen1.1:  at usbus1
uhub1:  on usbus1
ugen2.1:  at usbus2
uhub2:  on usbus2
ugen3.1:  at usbus3
uhub3:  on usbus3
ugen4.1:  at usbus4
uhub4:  on usbus4
ad0: 38154MB  at ata0-master UDMA100 
acd0: CDRW  at ata0-slave UDMA33 
hdac0: HDA Codec #0: Sigmatel STAC9220

hdac0: HDA Codec #1: Conexant (Unknown)
pcm0:  at cad 0 nid 1 on hdac0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
GEOM: ad0s4: geometry does not match label (255h,63s != 16h,63s).

Re: NDIS failed under 8.0, please help

2010-03-17 Thread Xihong Yin

It is resolved by creating wlan0.

Xihong


On Tue, 16 Mar 2010, Xihong Yin wrote:


The NDIS driver failed after I upgraded from 7.1 to 8.0 Stable, the NDIS
driver was built successfully under 8.0 though.

The wireless card is a Dell TrueMobile 1300 WLAN Mini-PCI Card. It works
perfectly under 7.2.

I run

#ifconfig ndis0 up scan

and got and error:

ifconfig: unable to get scan results

ifconfig ndis0 is

ndis0: flags=8843 metric 0 mtu
2290
ether 00:90:4b:c7:f1:01
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier

uname -a is

FreeBSD dell 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue
Mar 16 06:41:00 EDT 2010
r...@dell:/usr/obj/usr/src/sys/MY8KERNEL  i386

dmesg is

Copyright (c) 1992-2010 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 8.0-STABLE #0: Tue Mar 16 06:41:00 EDT 2010
   r...@dell:/usr/obj/usr/src/sys/MY8KERNEL i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) M processor 1.40GHz (1396.55-MHz 686-class 
CPU)

 Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
 
Features=0xafe9fbff
 AMD Features=0x10
real memory  = 268435456 (256 MB)
avail memory = 244703232 (233 MB)
ACPI APIC Table: 
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: reservation of 0, 9fc00 (3) failed
acpi0: reservation of 10, f6d3800 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
acpi_acad0:  on acpi0
battery0:  on acpi0
acpi_lid0:  on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
vgapci0:  port 0xeff8-0xefff mem 
0xdff0-0xdff7,0xc000-0xcfff,0xdfec-0xdfef irq 16 at 
device 2.0 on pci0

agp0:  on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1:  mem 0xdff8-0xdfff at device 2.1 on 
pci0
hdac0:  mem 
0xdfebc000-0xdfeb irq 16 at device 27.0 on pci0

hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib1:  at device 28.0 on pci0
pci11:  on pcib1
pcib2:  at device 28.3 on pci0
pci12:  on pcib2
uhci0:  port 
0xbf80-0xbf9f irq 16 at device 29.0 on pci0

uhci0: [ITHREAD]
usbus0:  on uhci0
uhci1:  port 
0xbf60-0xbf7f irq 17 at device 29.1 on pci0

uhci1: [ITHREAD]
usbus1:  on uhci1
uhci2:  port 
0xbf40-0xbf5f irq 18 at device 29.2 on pci0

uhci2: [ITHREAD]
usbus2:  on uhci2
uhci3:  port 
0xbf20-0xbf3f irq 19 at device 29.3 on pci0

uhci3: [ITHREAD]
usbus3:  on uhci3
ehci0:  mem 0xb000-0xb3ff 
irq 16 at device 29.7 on pci0

ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4:  on ehci0
pcib3:  at device 30.0 on pci0
pci2:  on pcib3
bfe0:  mem 0xdfbfc000-0xdfbfdfff irq 18 at 
device 0.0 on pci2

miibus0:  on bfe0
bmtphy0:  PHY 1 on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:14:22:90:52:ed
bfe0: [ITHREAD]
ndis0:  mem 0xdfbfe000-0xdfbf 
irq 17 at device 3.0 on pci2

ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 16 at device 31.1 on 
pci0

ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64,0x62,0x66 irq 1 on 
acpi0

atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
atrtc0:  port 0x70-0x71,0x72-0x77 irq 8 on acpi0
pmtimer0 on isa0
orm0:  at iomem 0xc-0xcf7ff,0xcf800-0xc pnpid 
ORM on isa0

sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ppc0: parallel port not found.
p4tcc0:  on cpu0
Timecounter "TSC" frequency 1396547279 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based 
forwarding disabled, default to accept, logging disabled

usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1:  at usbus0
uhub0:  on usbus0
ugen1.1:  at usbus1
uhub1:  on usbus1
ugen2.1:  at usbus2
uhub2:  on usbus2
ugen3.1:  at usbus3
uhub3:  on usbus3
ugen4.1:  at usbus4
uhub4:  on usbus4
ad0: 38154MB  at ata0-master UDMA100 acd0: CDRW 
 at ata0-slave UDMA33 hdac0: HDA Codec #0: 
Sigmatel STAC9220

hdac0: HDA Codec #1: Conexant (Unknown)
pcm0:  at cad 0 nid 1 on hdac0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uh

network problem on 8.2 stable

2011-11-17 Thread Xihong Yin

Hi,

I upgraded from 8.0 stable to 8.2 stable today. Now I can't connect to the 
network through the network adapter. I've set DCHP and SYNCDHCP in /etc/rc.conf 
and it worked in 8.0. It seems the dhclient problem. The ip address can't be 
obtained.

When I run 'dhclient em0' manually, it shows that an ip address is leased. But 
actually it is not. The 'ifconfig em0' always shows an address of 0.0.0.0 with 
active status.

$dhclient em0
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.39 -- renewal in 43200 seconds

But

$ifconfig em0
em0: flags=8802 metric 0 mtu 1500

options=389b
ether 6c:62:6d:03:16:31
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
nd6 options=29
media: Ethernet autoselect (10baseT/UTP )
status: active

Any help would be appreciated.

Xihong
___
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: network problem on 8.2 stable

2011-11-17 Thread Xihong Yin


I did reboot. It is the same thing.

On Thu, 17 Nov 2011, Edward Martinez wrote:


On 11/17/11 17:56, Xihong Yin wrote:

The ip address can't be obtained.



  Have you tried rebooting  FreeBSD and letting it obtain the IP itself?
  On some OSes that has actually worked.



___
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: network problem on 8.2 stable

2011-11-17 Thread Xihong Yin

I think the driver that comes with 8.2 stable just works fine.

When I manually  run dhclient em0, it says ip address obtained. but ifconfig 
em0 shows ip address of 0.0.0.0. And there is no default route in the 'netstat 
-r' output.


On Thu, 17 Nov 2011, Edward Martinez wrote:


On 11/17/11 18:41, Xihong Yin wrote:


I did reboot. It is the same thing.

On Thu, 17 Nov 2011, Edward Martinez wrote:


On 11/17/11 17:56, Xihong Yin wrote:

The ip address can't be obtained.



  Have you tried rebooting  FreeBSD and letting it obtain the IP itself?
  On some OSes that has actually worked.




  Did you try configure the nic with sysinstall? I think FreeBSD 8.2 has a 
updated em driver. You may need to download the newest FreeBSD em driver from 
intel.


   
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=17509&keyword=%22em%22&DownloadType=Drivers&OSFullname=FreeBSD*&lang=eng



___
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: network problem on 8.2 stable

2011-11-18 Thread Xihong Yin

I set the adapter up.

Here is the output of 'dhclient em0'

DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.41 -- renewal in 1800 seconds.

'ifconfig em0' output is

em0: flags=8843 metric 0 mtu 1500

options=219b
ether 00:26:b9:9d:30:dc
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
media: Ethernet autoselect (100baseTX )
status: active

'netstat -r' show there is no default route

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
0.0.0.0link#1 U   00em0
localhost  link#14UH  0   28lo0

But I can set the adapter manually by

$ifconfig em0 inet 192.168.3.41/24

and it works.

The question is why dhclient can't get the ip address even a lease is obtained.

Thanks,


On Thu, 17 Nov 2011, Warren Block wrote:


On Thu, 17 Nov 2011, Xihong Yin wrote:


Hi,

I upgraded from 8.0 stable to 8.2 stable today. Now I can't connect to the 
network through the network adapter. I've set DCHP and SYNCDHCP in 
/etc/rc.conf and it worked in 8.0. It seems the dhclient problem. The ip 
address can't be obtained.


When I run 'dhclient em0' manually, it shows that an ip address is leased. 
But actually it is not. The 'ifconfig em0' always shows an address of 
0.0.0.0 with active status.


$dhclient em0
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.39 -- renewal in 43200 seconds

But

$ifconfig em0
em0: flags=8802 metric 0 mtu 1500
   
options=389b
   ether 6c:62:6d:03:16:31
   inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
   nd6 options=29
   media: Ethernet autoselect (10baseT/UTP )
   status: active

Any help would be appreciated.


The interface is down: no "UP" in the flags.  What happens if you just do it 
manually:


 ifconfig em0 up
___
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: network problem on 8.2 stable

2011-11-18 Thread Xihong Yin
New to me.  Does the machine have any unusual settings, like a non-default 
securelevel?


No. There are no unusual security settings.

On Fri, 18 Nov 2011, Warren Block wrote:


On Fri, 18 Nov 2011, Xihong Yin wrote:


I set the adapter up.

Here is the output of 'dhclient em0'

DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.41 -- renewal in 1800 seconds.

'ifconfig em0' output is

em0: flags=8843 metric 0 mtu 1500
   
options=219b
   ether 00:26:b9:9d:30:dc
   inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
   media: Ethernet autoselect (100baseTX )
   status: active

'netstat -r' show there is no default route

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
0.0.0.0link#1 U   00em0
localhost  link#14UH  0   28lo0

But I can set the adapter manually by

$ifconfig em0 inet 192.168.3.41/24

and it works.

The question is why dhclient can't get the ip address even a lease is 
obtained.


New to me.  Does the machine have any unusual settings, like a non-default 
securelevel?




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


filename problem

2010-10-24 Thread Xihong Yin

I have files on a USB flash drive that are created on a Mac OS. When I want
to use the files on my FreeBSD, I have problems. I've searched the
FreeBSd Forums. I found a similar post,
http://forums.freebsd.org/showthread.php?t=14612. The problem is not
resolved in that post. May be somebody here can help me.

The filenames contain Chinese characters. The USB drive filesystem is
FAT32. My system is FreeBSD 8.0 stable. My shell is tcsh. The 'ls'
command shows the files as these.

.dvd.cd1.rmvb   DVD?.rmvb

with the '-b' option, it shows the same result.

however, with the '-l' option or other options, I get error

ls: .dvd.cd1.rmvb: Invalid argument
ls: DVD?.rmvb: Invalid argument
total 0

with the '-i' option, I get the same error without inode displayed.

with 'ls *DVD*' or 'ls *', it shows,

ls: No match.

I also tried the 'find' command, the results are similar.

Because the Chinese characters in the filenames are not displayed, I
want to rename the filenames. It seems there is no way to do it. All the
methods failed, such as using inode. Thus I can not use these files created on
Mac OS.

Xihong
___
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"


Virtualbox installation failed at Cmake on 8.0 Stable

2010-05-22 Thread Xihong Yin

I am trying to install Virutalbox on my Freebsd 8.0 Stable #2. However,
the installation failed at cmake-2.8.1. Here is the error message I got.
Could you help?

c++  -O2 -fno-strict-aliasing -pipe -march=prescott
-I/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk
-I/usr/ports/devel/cmake/work/cmake-2.8.1/Source
-I/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk  cmake.o
cmakemain.o cmakewizard.o cmCommandArgumentLexer.o
cmCommandArgumentParser.o cmCommandArgumentParserHelper.o
cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o
cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o
cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o
cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o
cmInstallDirectoryGenerator.o cmGeneratedFileStream.o
cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o
cmInstallGenerator.o cmInstallExportGenerator.o
cmInstallFilesGenerator.o cmInstallScriptGenerator.o
cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o
cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o
cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o
cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o
cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o
cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o
cmTarget.o cmTest.o cmCustomCommand.o cmDocumentVariables.o
cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o
cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o
cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o
cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o
RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o
cmake
loading initial cache file
/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at Modules/FindJava.cmake:85 (MESSAGE):
  Error executing java -version
Call Stack (most recent call first):
  Tests/CMakeLists.txt:1523 (INCLUDE)


-- Configuring incomplete, errors occurred!
-
Error when bootstrapping CMake:
Problem while running initial CMake
-
===>  Script "configure" failed unexpectedly.
Please report the problem to k...@freebsd.org [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.1/config.log" including the
output of
the failure of your make command. Also, it might be a good idea to
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/cmake.
*** Error code 1

Stop in /usr/ports/devel/automoc4.
*** Error code 1

Stop in /usr/ports/multimedia/phonon.
*** Error code 1

Stop in /usr/ports/www/qt4-webkit.
*** Error code 1

Stop in /usr/ports/devel/qt4-designer.
*** Error code 1

Stop in /usr/ports/devel/qt4-linguist.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.

___
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: Virtualbox installation failed at Cmake on 8.0 Stable

2010-05-23 Thread Xihong Yin

There's the culprit right there. Have you tried executing java -version to
see if you have a problem with your java runtime?


You are right. The 'java -version' returns an error. I installed the
diablo-jdk1.6 for Freebsd 7x. So which java shall I install for 8
Stable?




On Sun, 23 May 2010, Reid Linnemann wrote:


On Sat, May 22, 2010 at 11:47 PM, Xihong Yin  wrote:


I am trying to install Virutalbox on my Freebsd 8.0 Stable #2. However,
the installation failed at cmake-2.8.1. Here is the error message I got.
Could you help?

c++  -O2 -fno-strict-aliasing -pipe -march=prescott
-I/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk
-I/usr/ports/devel/cmake/work/cmake-2.8.1/Source
-I/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk  cmake.o
cmakemain.o cmakewizard.o cmCommandArgumentLexer.o
cmCommandArgumentParser.o cmCommandArgumentParserHelper.o
cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o
cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o
cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o
cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o
cmInstallDirectoryGenerator.o cmGeneratedFileStream.o
cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o
cmInstallGenerator.o cmInstallExportGenerator.o
cmInstallFilesGenerator.o cmInstallScriptGenerator.o
cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o
cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o
cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o
cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o
cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o
cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o
cmTarget.o cmTest.o cmCustomCommand.o cmDocumentVariables.o
cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o
cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o
cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o
cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o
RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o
cmake
loading initial cache file

/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at Modules/FindJava.cmake:85 (MESSAGE):
 Error executing java -version



^

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


detached a mounted ufs filesystem

2010-06-12 Thread Xihong Yin
I accidentally detached my usb external hard drive without umount it. The hard 
driver filesysystem is ufs. Now I can't mount it because I can't see the 
slices. What I get is only da0 and da0a in the /dev directory. Is there a way 
to fix the filesystem?

Thanks,
Xihong
___
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: detached a mounted ufs filesystem

2010-06-12 Thread Xihong Yin
'fdisk /dev/da0' output is

*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 234436482 (114470 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


I tried 'fsck_ufs /dev/da0', it says

** /dev/da0
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/da0: can't read disk label

I forget what layout the disk has. Normally I used /dev/da0s1d to mount the 
disk.

What the next step should I do?

Thanks,



- Original Message -
From: Polytropon
Sent: 06/12/10 08:16 PM
To: Xihong Yin
Subject: Re: detached a mounted ufs filesystem

On Sat, 12 Jun 2010 19:46:26 -0400, "Xihong Yin"  wrote: > I 
accidentally detached my usb external hard drive without > umount it. The hard 
driver filesysystem is ufs. Now I can't > mount it because I can't see the 
slices. What I get is only > da0 and da0a in the /dev directory. Is there a way 
to fix > the filesystem? First of all, what does # fdisk da0 say? Has there 
already been a try to run fsck for this disk? Which layout (slices, partitions) 
should the disk contain? In case you lost "just" a partition table, install the 
program "testdisk" from ports or packages. If you don't have a backup of the 
data on the disk, keep in mind that everything you do is basically able to do 
more damage. If you have enough hard disk space, make a dd copy of the whole 
disk first and continue working with this 1:1 copy. Before you start using 
forensic tools, you should try to get the disk back into action. If this fails, 
we'll talk about how to recover files. :-) -- Polytropon M
 agdeburg, 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"
___
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: detached a mounted ufs filesystem

2010-06-14 Thread Xihong Yin

'fsck_ufs /dev/da0a' gives me the same result as /dev/da0.

The 'newfs -N /dev/da0a' prints a very long list of numbers such as

160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976,
 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608,
 9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072,
12043424, ..

And I tried 'fsck_ffs -b 160 /dev/da0a', it says

Alternate super block location: 160
** /dev/da0a
160 is not a file system superblock

Using /dev/da0 or other numbers in the list gives me the same results.

Thanks,



On Sun, 13 Jun 2010, Polytropon wrote:


On Sat, 12 Jun 2010 22:38:15 -0400, "Xihong Yin"  wrote:

'fdisk /dev/da0' output is

*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 234436482 (114470 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



This indicates that at least the FreeBSD slice seems to be intact.
Maybe it's "just" the label that's missing (and therefore, the
partitions can't be accessed).




I tried 'fsck_ufs /dev/da0', it says

** /dev/da0
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/da0: can't read disk label


You said there was also /dev/da0a, maybe you can check this partition?
Make sure, for the first try, to use the -d flag (debug), so there are
no changes to the file system.




I forget what layout the disk has. Normally I used /dev/da0s1d
to mount the disk.


There should be more than one copy of the partition table on the disk.
I'm not sure if I'm mixing up things here, but fsck_ffs also allows
you to refer to a different superblock. Use

# newfs -N /dev/da0a

to print out superblock locations; this command will NOT create a
file system!

Use fsck_ffs -b to refer to a possible alternate superblock
for checking.




--
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"


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


Xorg fails to start after upgrading to 8 stable

2010-06-17 Thread Xihong Yin

I upgraded from 7.2 to 8.0. Xorg can't start. I got the following
message when I type 'startx'.  I already upgraded Xorg, hal
and libusb to the latest. Anybody can help?

Script started on Fri Jun 18 00:20:21 2010
c...@router1:~> startx 
xauth:  creating new authority file /home/c512/.serverauth.69871



X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.0-RELEASE-p2 i386 
Current Operating System: FreeBSD rt.hm.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Sat Jun  5 22:46:16 EDT 2010 c...@rt.hm.com:/usr/obj/usr/src/sys/MY8XKERNEL i386

Build Date: 31 May 2010  11:11:42PM

Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 18 00:20:24 2010
(==) Using config file: "/etc/X11/xorg.conf"
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500

waiting for X server to shut down

___
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 : Xorg fails to start after upgrading to 8 stable

2010-06-18 Thread Xihong Yin

Now I upgraded all the ports using both 'portupgrade -af' and
'portmanager -u'. Some ports failed upgrading though. How do I reinstall
Xorg? Can I delete it and re-install?

Thanks,

On Fri, 18 Jun 2010, Alexandre L. wrote:


When you upgrade your system to a major release (7.x > 8.x), you MUST re-install all your 
ports. See the handbook http://www.freebsd.org/doc/en/books/handbook/ports-using.html and 
the section "4.5.4 Upgrading Ports".

--- En date de : Ven 18.6.10, Xihong Yin  a écrit :


De: Xihong Yin 
Objet: Xorg fails to start after upgrading to 8 stable
À: freebsd-questions@freebsd.org
Date: Vendredi 18 juin 2010, 4h30
I upgraded from 7.2 to 8.0. Xorg
can't start. I got the following
message when I type 'startx'.  I already upgraded
Xorg, hal
and libusb to the latest. Anybody can help?

Script started on Fri Jun 18 00:20:21 2010
c...@router1:~> startx xauth:  creating new
authority file /home/c512/.serverauth.69871


X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.0-RELEASE-p2 i386 Current
Operating System: FreeBSD rt.hm.com 8.1-PRERELEASE FreeBSD
8.1-PRERELEASE #0: Sat Jun  5 22:46:16 EDT 2010
   c...@rt.hm.com:/usr/obj/usr/src/sys/MY8XKERNEL
i386
Build Date: 31 May 2010  11:11:42PM

Current version of pixman: 0.16.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest
version.
Markers: (--) probed, (**) from config file, (==) default
setting,
    (++) from command line, (!!) notice,
(II) informational,
    (WW) warning, (EE) error, (NI) not
implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 18
00:20:24 2010
(==) Using config file: "/etc/X11/xorg.conf"
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling
extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500

waiting for X server to shut down

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

error - ad2: FAILURE

2010-09-01 Thread Xihong Yin

Hi,

I received the following error when I try to access files in some of the 
directories in /usr and when the computer boots. ad2s1f is mounted on /usr.

ad2: FAILURE - READ_DMA status=51 error=40 
LBA=37370159
g_vfs_done():ad2s1f[READ(offset=15415558144, length=16384)]error = 5

Is this a sign of hard drive failure? Can I fix the error or do I have to 
replace the hard drive?

Regards,
Xihong
___
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: error - ad2: FAILURE

2010-09-03 Thread Xihong Yin


Thanks for the info. Now I am getting more such error messages and the
disk fails at boot when trying to mount on /usr.

Xihong


On Thu, 2 Sep 2010, Lowell Gilbert wrote:


Mike Jeays  writes:


On September 1, 2010 10:29:42 pm Xihong Yin wrote:

Hi,

I received the following error when I try to access files in some of the
directories in /usr and when the computer boots. ad2s1f is mounted on
/usr.

ad2: FAILURE - READ_DMA status=51 error=40
LBA=37370159 g_vfs_done():ad2s1f[READ(offset=15415558144,
length=16384)]error = 5

Is this a sign of hard drive failure? Can I fix the error or do I have to
replace the hard drive?



I would think it is a hardware error, and the disk has run out of replacement
sectors. If possible, it should be replaced, and any valuable data copied to
somewhere safe, as soon as possible.


Not necessarily.  This is a read error, so replacement sectors wouldn't
help anyway.  The problematic files might get fixed by the disk if they
were rewritten.  A SMART report (e.g., from sysutils/smartmontools)
might give more information about the condition of the drive.

None of which is to say that it isn't worrying, or that backing up
valuable data isn't called for (even more so than usual).  Make sure you
have good backups before you do anything else.
___
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"


wpa_supplicant question

2007-08-31 Thread Xihong Yin

I use wpa_supplicant and have set the 'ifconfig_ndis0="WPA DHCP"' in my
/etc/rc.conf. However I am using the NDIS driver, so how do I pass the "-Dndis"
argument to the wpa_supplicant?

Thanks

--
Free pop3 email with a spam filter.
http://www.bluebottle.com/tag/5

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


Re: wpa_supplicant question

2007-09-01 Thread Xihong Yin

Thanks, I thought it was the problem of the argument. But I still can not 
connect to my
Access Point using wap_supplicant while I can connect by 'ifconfig'. It always
connects to a different network which is in the previous DHCP leases. But this
network is not what I specified in my /etc/wap_supplicant.conf file.

My /etc/wap_supplicant.conf looks like this:

network={
  ssid="home"
  key_mgmt=NONE
  wep_key1=1234567890
  wep_tx_keyidx=1
}


Any suggestions about the problem?




On Fri, 31 Aug 2007, Kevin Downey wrote:


On 8/31/07, Xihong Yin <[EMAIL PROTECTED]> wrote:

I use wpa_supplicant and have set the 'ifconfig_ndis0="WPA DHCP"' in my
/etc/rc.conf. However I am using the NDIS driver, so how do I pass the "-Dndis"
argument to the wpa_supplicant?

Thanks


It looks like /etc/rc.d/wpa_supplicant contains logic to take care of that:

case ${ifn} in
ndis*)
   driver="ndis"
   ;;
*)
   driver="bsd"
   ;;
esac

and then:

command_args="-B -q -i $ifn -c $conf_file -D $driver -P $pid_file"

--
I am the kwisatz haderach



--
Free pop3 email with a spam filter.
http://www.bluebottle.com/tag/5

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


Re: wpa_supplicant question

2007-09-01 Thread Xihong Yin

It is working now. I have to use wep_key0 and wep_tx_keyidx=0.

Many thanks!

Xihong

On Sat, 1 Sep 2007, Mel wrote:


On Saturday 01 September 2007 16:47:49 Xihong Yin wrote:

Thanks, I thought it was the problem of the argument. But I still can not
connect to my Access Point using wap_supplicant while I can connect by
'ifconfig'. It always connects to a different network which is in the
previous DHCP leases. But this network is not what I specified in my
/etc/wap_supplicant.conf file.

My /etc/wap_supplicant.conf looks like this:

network={
   ssid="home"
   key_mgmt=NONE
   wep_key1=1234567890
   wep_tx_keyidx=1
}


Unless that's a typo, it would be /etc/wpa_supplicant not wap.
Also make sure you don't specify the 0x in wep_key1. Also try wep_key0 and
wep_tx_keyidx=0. It automagically worked for me on one install.

That said, I don't have much luck with wpa_supplicant either, some cards it
works some cards it doesn't and the output isn't very informative. Recently
`ifconfig ath0 up scan' seems to make all network traffic stop, even if
you're connected through a wire.

--
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



--
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

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


vpnc error! help please!

2006-11-03 Thread Xihong Yin
Hi,

I got a 'no response from target' error after run 'vpnc'. What was the
problem?

My uname -a output is:
FreeBSD dell.myhome.westell.com 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #0:
Sun Jun  4 12:41:34 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NATSMBKERNEL  i386

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


Xorg failed to start after upgrading to 7.2

2007-06-09 Thread Xihong Yin
After upgrading Xorg from 6.8 to 7.2, I got the following error when I start X.

(EE) Failed to load module "xtt" (module does not exist, 0 )
(EE) Failed to load module "vesa" (module does not exist, 0 )
(EE) Failed to load module "module" (module does not exist, 0 )
(EE) Failed to load module "kbd" (module does not exist, 0 )

Before upgrading Xorg, I just upgraded FreeBSD from 6.0 to 6.2.

Please help me!

Xihong

--
Get a free email account with anti spam protection.
http://www.bluebottle.com

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


Re: Xorg failed to start after upgrading to 7.2

2007-06-09 Thread Xihong Yin
Thank you for answering my question.

I did change my ModulePath to /usr/local/lib/xorg/modules in my xorg.conf file.
Under my /usr/local/lib/xorg/modules, there are no such libs as xtt, vesa,
mouse, and kbd.

Xihong



On Sat, 9 Jun 2007, Manolis Kiagias wrote:

> Xihong Yin wrote:
> > After upgrading Xorg from 6.8 to 7.2, I got the following error when I 
> > start X.
> >
> > (EE) Failed to load module "xtt" (module does not exist, 0 )
> > (EE) Failed to load module "vesa" (module does not exist, 0 )
> > (EE) Failed to load module "module" (module does not exist, 0 )
> > (EE) Failed to load module "kbd" (module does not exist, 0 )
> >
> > Before upgrading Xorg, I just upgraded FreeBSD from 6.0 to 6.2.
> >
> > Please help me!
> >
> > Xihong
> >
> > --
> > Get a free email account with anti spam protection.
> > http://www.bluebottle.com
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
> >
> >
> Quick guess: you are still using the same xorg.conf from your 6.8
> install. You need to change the
> ModulePath to /usr/local/lib/xorg/modules
>
>

--
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com

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


Re: Xorg failed to start after upgrading to 7.2

2007-06-10 Thread Xihong Yin
It is resolved by using 'portmanager x11/xorg -f'. However, now I have another
problem regarding starting X. It is an 'unable to connect to X server' error.

I can only start X when I login as root. If I login as normal user, I got error
message  saying:
---
waiting for X server to begin accepting connections .
AUDIT: Sun Jun 10 11:29:26 2007: 1085 X: client 1 rejected from local host (uid
1001)
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

..
AUDIT: Sun Jun 10 11:29:26 2007: 1085 X: client 1 rejected from local host (uid
1001)
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

..FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 2, should be
1; fixing.

giving up
xinit: Connection refused(errno 61): unable to connect to X server
xinit: No such process (errno 3): Server error
---

Could you help again?

Thanks,
Xihong


On Sun, 10 Jun 2007, Manolis Kiagias wrote:

> [EMAIL PROTECTED] wrote:
> > On 09/06/07, Xihong Yin <[EMAIL PROTECTED]> top-posted:
> >> Thank you for answering my question.
> >>
> >> On Sat, 9 Jun 2007, Manolis Kiagias wrote:
> >>
> >> > Xihong Yin wrote:
> >> > > After upgrading Xorg from 6.8 to 7.2, I got the following error
> >> when I start X.
> >> > >
> >> > > (EE) Failed to load module "xtt" (module does not exist, 0 )
> >> > > (EE) Failed to load module "vesa" (module does not exist, 0 )
> >> > > (EE) Failed to load module "module" (module does not exist, 0 )
> >> > > (EE) Failed to load module "kbd" (module does not exist, 0 )
> >> > >
> >> > > Before upgrading Xorg, I just upgraded FreeBSD from 6.0 to 6.2.
> >> > >
> >
> >> > Quick guess: you are still using the same xorg.conf from your 6.8
> >> > install. You need to change the
> >> > ModulePath to /usr/local/lib/xorg/modules
> >
> >> I did change my ModulePath to /usr/local/lib/xorg/modules in my
> >> xorg.conf file.
> >> Under my /usr/local/lib/xorg/modules, there are no such libs as xtt,
> >> vesa,
> >> mouse, and kbd.
> >
> > There should be an entry "xorg-7.2"
> > in /var/db/pkg (I am going on a hunch
> > here), if not you need to install ports/x11/xorg
> >
> > It would probably not be a bad idea to rerun
> > X -configure and ten-finger-merge the results
> > with your old config file.
> >
> You may also do a pkg_info | grep xorg and see what xorg packages where
> actually installed.
> My guess is you are missing the xorg-drivers metaport for some reason
> (since you are missing such basic things as kbd and vesa) but doing a
> complete install of ports/x11/xorg as suggested wouldn't harm. If you
> want to go with the drivers only thing, the metaport would be
> ports/x11-drivers/xorg-drivers
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Free pop3 email with a spam filter.
http://www.bluebottle.com

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


vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
Hi,

I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a Cisco
3000 VPN concentrator without any luck.  Has anybody been successful on this?
Is there any guide on this?

Thanks,
Xihong

--
Get a free email account with anti spam protection.
http://www.bluebottle.com/tag/2

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
I did create the configuration file from the profile file of the Windows vpn 
client. And I know my group ID and password. But I got 'No response from 
target' error when I start vpnc. The Windows client works fine on the same 
machine.




On Mon, 9 Jul 2007, Jonathan Horne wrote:

> On Monday 09 July 2007 10:28:00 Xihong Yin wrote:
> > Hi,
> >
> > I am trying to make vpnc working on my FreeBSD 6.2 laptop to connect to a
> > Cisco 3000 VPN concentrator without any luck.  Has anybody been successful
> > on this? Is there any guide on this?
> >
> > Thanks,
> > Xihong
> >
> > --
> > Get a free email account with anti spam protection.
> > http://www.bluebottle.com/tag/2
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ill confirm that it does work properly.  you should be able to set up a config
> file (default is to put it in /usr/local/etc/vpnc/) for your site.  it might
> look like this:
>
> IPSec gateway xxx.xxx.xxx.xxx
> IPSec ID VPN3000UserGroup
> IPSec secret VPN3000UsrGrpPasswd
> Xauth username domain\username
>
> ours, auths against a windows 2000 server's radius (which in turn auths
> against the active directory account).  if you set up usernames and password
> directly in the vpn3000, i would assume you would put that in the username.
>
> i just give the command (as root): 'vpnc sitename' and it chooses
> sitename.conf from /usr/local/etc/vpnc.
>
> can you give some info about whats not working?
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
Yes. I can ping the ip of my vpn3000, and it is alive. I use ip address not DNS 
name for the vpn3000. I'm not sure if I can traceroute. I'll give a try today.



On Mon, 9 Jul 2007, Jonathan Horne wrote:

> On Monday 09 July 2007 11:16:33 Xihong Yin wrote:
> > I did create the configuration file from the profile file of the Windows
> > vpn client. And I know my group ID and password. But I got 'No response
> > from target' error when I start vpnc. The Windows client works fine on the
> > same machine.
>
> well, on your configuration file, do you have an ip address, or are you using
> a DNS name of your vpn3000?  if DNS name, can you ping the address (ie, is
> your /etc/resolv.conf straight?).
>
> can you ping and/or traceroute to the ip of your vpn3000?
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

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


Re: vpnc on FreeBSD 6.2

2007-07-09 Thread Xihong Yin
Yes, I can also traceroute the vpn3000.

On Mon, 9 Jul 2007, Xihong Yin wrote:

> Yes. I can ping the ip of my vpn3000, and it is alive. I use ip address not 
> DNS name for the vpn3000. I'm not sure if I can traceroute. I'll give a try 
> today.
>
>
>
> On Mon, 9 Jul 2007, Jonathan Horne wrote:
>
> > On Monday 09 July 2007 11:16:33 Xihong Yin wrote:
> > > I did create the configuration file from the profile file of the Windows
> > > vpn client. And I know my group ID and password. But I got 'No response
> > > from target' error when I start vpnc. The Windows client works fine on the
> > > same machine.
> >
> > well, on your configuration file, do you have an ip address, or are you 
> > using
> > a DNS name of your vpn3000?  if DNS name, can you ping the address (ie, is
> > your /etc/resolv.conf straight?).
> >
> > can you ping and/or traceroute to the ip of your vpn3000?
> > --
> > Jonathan Horne
> > http://dfwlpiki.dfwlp.org
> > [EMAIL PROTECTED]
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> --
> Find out how you can get spam free email.
> http://www.bluebottle.com/tag/3
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

--
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1

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


restart network without shutdown

2007-08-07 Thread Xihong Yin
How can I restart my network card without shutdown/reboot? I use DHCP.

Thanks,

--
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1

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


doesn't change to Daylight Saving Time

2008-03-09 Thread Xihong Yin

Hi,

My FreeBSD 6.2 doesn't change to Daylight Saving Time. How should I fix
it?

'zdump -v /etc/localtime | grep 2008' output:

/etc/localtime  Sun Mar  9 06:59:59 2008 UTC = Sun Mar  9 01:59:59 2008
EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar  9 07:00:00 2008 UTC = Sun Mar  9 03:00:00 2008
EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  2 05:59:59 2008 UTC = Sun Nov  2 01:59:59 2008
EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  2 06:00:00 2008 UTC = Sun Nov  2 01:00:00 2008
EST isdst=0 gmtoff=-18000

Xihong

--
Get a free email account with anti spam protection.
http://www.bluebottle.com/tag/2

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