Re: azalia

2009-05-08 Thread 23
I checkout the newest for azalia, now anything is okay,
my dmesg is:
OpenBSD 4.5 (GENERIC.MP) #1: Fri May  8 21:57:45 GMT 2009
r...@obsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz ("GenuineIntel"
686-class) 1.50 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem  = 1064574976 (1015MB)
avail mem = 1021501440 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/25/07, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.4 @ 0xf06a0 (34 entries)
bios0: vendor American Megatrends Inc. version "0042" date 06/25/2007
bios0: ASUSTeK Computer INC. Z62E
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI
acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S4) USB1(S4) USB2(S4)
USB3(S4) EUSB(S4) P0P4(S4) P0P5(S4) P0P7(S4) P0P8(S4) P0P9(S4)
USB4(S4) USB5(S4) USBE(S4) P0P6(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 165MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz ("GenuineIntel"
686-class) 1.50 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P1)
acpiprt2 at acpi0: bus 3 (P0P4)
acpiprt3 at acpi0: bus -1 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P7)
acpiprt5 at acpi0: bus -1 (P0P9)
acpiprt6 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0
acpicpu1 at acpi0
acpitz at acpi0 not configured
acpibat0 at acpi0: BAT0 model "Z62E" serial   type LION oem "ASUS"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xee00!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0613092806360628
cpu0: using only highest, current and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1340 mV): speeds: 1500, 1000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM965 Video" rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 2
int 17 (irq 7)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 2
int 18 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03:
apic 2 int 21 (irq 3)
azalia0: codecs: Realtek ALC883, 0x1543/0x3155, using Realtek ALC883
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 2
int 16 (irq 10)
pci1 at ppb0 bus 3
ppb1 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: apic 2
int 18 (irq 11)
pci2 at ppb1 bus 1
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 2
int 23 (irq 15)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 2
int 19 (irq 5)
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 2
int 18 (irq 11)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 2
int 23 (irq 15)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci3 at ppb2 bus 4
"Ricoh 5C832 Firewire" rev 0x05 at pci3 dev 1 function 0 not configured
sdhc0 at pci3 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2
int 17 (irq 7)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x12 at pci3 dev 1 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x12 at pci3 dev 1 function 3 not configured
"Ricoh 5C852 xD" rev 0x12 at pci3 dev 1 function 4 not configured
re0 at pci3 dev 7 function 0 "Realtek 8169SC" rev 0x10:
RTL8169/8110SCd (0x1800), apic 2 int 18 (irq 11), address
00:1b:fc:b6:71:55
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (dis

how to set gnome-terminal default encoding

2009-07-14 Thread 23
Hi,
my openbsd is 4.5, gnome-terminal default encoding is ascii, I cannot
find how to set to utf-8.
my environment vars is:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8


--
Best Regards

My Chaos: http://n23.appspot.com



Re: how to set gnome-terminal default encoding

2009-07-14 Thread 23
gnome-terminal version: 2.24.3
how to set default encoding?

--
Best Regards

My Chaos: http://n23.appspot.com



On Tue, Jul 14, 2009 at 13:22, Markus Wernig wrote:
>
> 23e7 wrote:
>> Hi,
>> my openbsd is 4.5, gnome-terminal default encoding is ascii, I cannot
>> find how to set to utf-8.
>
> Which version? Normally, it's under Terminal->Set Character Encoding
> (Alt-T C)
> /m

[demime 1.01d removed an attachment of type image/png which had a name of 
Screenshot-Terminal.png]



how to support Intel 965?

2007-11-03 Thread 23
Hi,
my notebook's dmesg:
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz ("GenuineIntel" 686-class)
1.50 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem  = 1064574976 (1015MB)
avail mem = 1021739008 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/25/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.4 @ 0xf06a0 (34 entries)
bios0: vendor American Megatrends Inc. version "0042   " date 06/25/2007
bios0: ASUSTeK Computer INC. Z62E
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7fd0/208 (11 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2815
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xee00!
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0613092806000928
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1500 MHz (1340 mV): speeds: 1500, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82965GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82965GM Video" rev 0x03: aperture at
0xd000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82965GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: irq 10
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: irq 7
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: irq 3
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek ALC883 (rev. 0.2), HDA version 1.0
azalia0: codec: 0x1543/0x3155 (rev. 7.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03
pci1 at ppb0 bus 3
ppb1 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03
pci2 at ppb1 bus 1
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: irq 15
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: irq 5
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: irq 15
ehci1: timed out waiting for BIOS
usb1 at ehci1: USB revision 2.0
uhub1 at usb1: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci3 at ppb2 bus 4
"Ricoh 5C832 Firewire" rev 0x05 at pci3 dev 1 function 0 not configured
sdhc0 at pci3 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: irq 7
sdmmc0 at sdhc0
"Ricoh 5C843" rev 0x12 at pci3 dev 1 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x12 at pci3 dev 1 function 3 not configured
"Ricoh 5C852 xD" rev 0x12 at pci3 dev 1 function 4 not configured
re0 at pci3 dev 7 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd
(0x1800), irq 11, address 00:1b:fc:b6:71:55
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x03: irq 11, AHCI
1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI2 0/direct
fixed
sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec
total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: irq 5
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 por

Re: how to support Intel 965?

2007-11-03 Thread 23
yes, I installed it.
I make build on xenocara.

On 11/3/07, Daniel <[EMAIL PROTECTED]> wrote:
>
> On 2007. November 3. 12:57.07 23e 7 wrote:
> > Hi,
> [...]
> > vga1 at pci0 dev 2 function 0 "Intel 82965GM Video" rev 0x03:
> [...]
>
> Hi!
>
> This could be a long shot, but I think you need the "intel" driver from
> xorg. It's called "xf86-video-intel" and it's in xenocara. Maybe you
> should try to install it?
>
> Daniel
>
>


-- 
Best Regards,
No.23

http://blog.chinaunix.net/u1/42287



Re: how to support Intel 965?

2007-11-03 Thread 23
yes, it don't work.

On 11/3/07, Pau Amaro-Seoane <[EMAIL PROTECTED]> wrote:
>
> su
> mv /etc/X11/xorg.conf /etc/X11/xorg.conf.original
> startx
>
> does it work?
>
> 2007/11/3, 23$B9f(B <[EMAIL PROTECTED]>:
> > Hi,
> > my notebook's dmesg:
> > OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
> > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> > cpu0: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz ("GenuineIntel"
> 686-class)
> > 1.50 GHz
> > cpu0:
> >
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
> > real mem  = 1064574976 (1015MB)
> > avail mem = 1021739008 (974MB)
> > mainbus0 at root
> > bios0 at mainbus0: AT/286+ BIOS, date 06/25/07, BIOS32 rev. 0 @ 0xf0010,
> > SMBIOS rev. 2.4 @ 0xf06a0 (34 entries)
> > bios0: vendor American Megatrends Inc. version "0042   " date 06/25/2007
> > bios0: ASUSTeK Computer INC. Z62E
> > pcibios0 at bios0: rev 3.0 @ 0xf/0x1
> > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7fd0/208 (11 entries)
> > pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2815
> > pcibios0: Warning, unable to fix up PCI interrupt routing
> > pcibios0: PCI bus #4 is the last bus
> > bios0: ROM list: 0xc/0xee00!
> > acpi at mainbus0 not configured
> > cpu0 at mainbus0
> > cpu0: unknown Enhanced SpeedStep CPU, msr 0x0613092806000928
> > cpu0: using only highest and lowest power states
> > cpu0: Enhanced SpeedStep 1500 MHz (1340 mV): speeds: 1500, 1000 MHz
> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > pchb0 at pci0 dev 0 function 0 "Intel 82965GM MCH" rev 0x03
> > vga1 at pci0 dev 2 function 0 "Intel 82965GM Video" rev 0x03: aperture
> at
> > 0xd000, size 0x800
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > "Intel 82965GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
> > uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: irq 10
> > uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: irq 7
> > ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: irq 11
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
> > azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: irq
> 3
> > azalia0: host: High Definition Audio rev. 1.0
> > azalia0: codec: Realtek ALC883 (rev. 0.2), HDA version 1.0
> > azalia0: codec: 0x1543/0x3155 (rev. 7.0), HDA version 1.0
> > azalia0: codec[1]: No support for modem function groups
> > azalia0: codec[1]: No audio function groups
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03
> > pci1 at ppb0 bus 3
> > ppb1 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03
> > pci2 at ppb1 bus 1
> > uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: irq 15
> > uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: irq 5
> > uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: irq 11
> > ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: irq 15
> > ehci1: timed out waiting for BIOS
> > usb1 at ehci1: USB revision 2.0
> > uhub1 at usb1: Intel EHCI root hub, rev 2.00/1.00, addr 1
> > ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
> > pci3 at ppb2 bus 4
> > "Ricoh 5C832 Firewire" rev 0x05 at pci3 dev 1 function 0 not configured
> > sdhc0 at pci3 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: irq 7
> > sdmmc0 at sdhc0
> > "Ricoh 5C843" rev 0x12 at pci3 dev 1 function 2 not configured
> > "Ricoh 5C592 Memory Stick" rev 0x12 at pci3 dev 1 function 3 not
> configured
> > "Ricoh 5C852 xD" rev 0x12 at pci3 dev 1 function 4 not configured
> > re0 at pci3 dev 7 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd
> > (0x1800), irq 11, address 00:1b:fc:b6:71:55
> > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> > ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03: PM
> > disabled
> > pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
> > channel 0 configured to compatibility, channel 1 configured to
> compatibility
> > atapiscsi0 at pciide0 channel 0 drive 0
> > scsibus0 at atapiscsi0: 2 targets
> > cd0 at scsibus0 targ 0 lun 0:  SCSI0
> 5/cdrom
> > removable
> > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> > pciide0: channel 1 ignored (disabled)
> > ahci0 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x03: irq 11,
> AHCI
> > 1.1
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 0 lun 0:  SCSI2
> 0/direct
> > fixed
> > sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec
> > total
> > ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: irq 5
> > iic0 at ichiic0
> > usb2 at uhci0: USB revision 1.0
> > uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > usb3 at uhci1: USB revision 1.0
> > uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > usb4 at uhci

Re: how to support Intel 965?

2007-11-03 Thread 23
now, it works, thanks a lot.

On 11/3/07, 23$B9f(B <[EMAIL PROTECTED]> wrote:
>
> yes, I installed it.
> I make build on xenocara.
>
> On 11/3/07, Daniel <[EMAIL PROTECTED]> wrote:
> >
> > On 2007. November 3. 12:57.07 23e 7 wrote:
> > > Hi,
> > [...]
> > > vga1 at pci0 dev 2 function 0 "Intel 82965GM Video" rev 0x03:
> > [...]
> >
> > Hi!
> >
> > This could be a long shot, but I think you need the "intel" driver from
> > xorg. It's called "xf86-video-intel" and it's in xenocara. Maybe you
> > should try to install it?
> >
> > Daniel
> >
> >
>
>
> --
> Best Regards,
> No.23
> 
> http://blog.chinaunix.net/u1/42287
>



-- 
Best Regards,
No.23

http://blog.chinaunix.net/u1/42287



how to create cdrom42.fs?

2007-11-06 Thread 23
Hi,
  anything script?

-- 
Best Regards,
No.23

http://blog.chinaunix.net/u1/42287



Re: how to create cdrom42.fs?

2007-11-06 Thread 23
thx.

On 11/6/07, Guillermo Bernaldo de Quiros Maraver <[EMAIL PROTECTED]> wrote:
>
> If you have the source tree downloaded, you can make it from:
>
> /usr/src/distrib/`uname -m`/ramdisk_cd/
>
> 2007/11/6, 23$B9f(B <[EMAIL PROTECTED] >:
> >
> > Hi,
> >   anything script?
> >
> > --
> > Best Regards,
> > No.23
> > 
> > http://blog.chinaunix.net/u1/42287
> >
> >
>


-- 
Best Regards,
No.23

http://blog.chinaunix.net/u1/42287



Building a custom kernel error

2007-11-08 Thread 23
Hi, everybody

the error log:
ld -Ttext 0xD0200120 -e start -N --warn-common -S -x -o bsd ${SYSTEM_OBJ}
vers.o
locore.o(.text+0x26b2): In function `Xintrsofttty':
: undefined reference to `comsoft'
*** Error code 1

I dmassage to fiter configure file, my config:
# $OpenBSD: GENERIC,v 1.568 2007/08/05 17:01:25 mglocker Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page. For further information about kernel options
# for this architecture, see the options(4) man page. For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine i386
include "../../../conf/GENERIC"
maxusers 32 # estimated number of users

option I486_CPU # CPU classes; at least one is REQUIRED
option I586_CPU
option I686_CPU

option USER_PCICONF # user-space PCI configuration

#option VM86 # Virtual 8086 emulation
option KVM86 # Kernel Virtual 8086 emulation
option USER_LDT # user-settable LDT; see i386_set_ldt(2)
option APERTURE # in-kernel aperture driver for XFree86

#option KGDB # Remote debugger support; exclusive of DDB
#option "KGDB_DEVNAME=\"pccom\"",KGDBADDR=0x2f8,KGDBRATE=9600

option COMPAT_SVR4 # binary compatibility with SVR4
option COMPAT_IBCS2 # binary compatibility with SCO and ISC
option COMPAT_LINUX # binary compatibility with Linux
option COMPAT_FREEBSD # binary compatibility with FreeBSD
option COMPAT_BSDOS # binary compatibility with BSD/OS
option COMPAT_AOUT # a.out binaries are emulated

option PROCFS # /proc
option NTFS # Experimental NTFS support

# or use root on nfs swap on nfs
config bsd swap generic

mainbus0 at root

cpu0 at mainbus?
bios0 at mainbus0
#T apm0 at bios0 flags 0x # flags 0x0101 to force protocol version 1.1
pcibios0 at bios0 flags 0x # use 0x30 for a total verbose
#T ipmi0 at mainbus? # IPMI
#T esm0 at mainbus? # Dell Embedded Server Management

#T isa0 at mainbus0
#T isa0 at pcib?
isa0 at ichpcib?
#T isa0 at piixpcib?
#T isa0 at gscpcib?
#T eisa0 at mainbus0
pci* at mainbus0

#option ACPIVERBOSE
#option ACPI_ENABLE

#T acpi0 at mainbus? disable
#acpitimer* at acpi?
#acpihpet* at acpi?
#acpiac* at acpi?
#acpibat* at acpi?
#acpibtn* at acpi?
#acpicpu* at acpi?
#acpidock* at acpi?
#T acpiec* at acpi? disable
#T acpiprt* at acpi?
#acpitz* at acpi?

option PCIVERBOSE
option EISAVERBOSE
option USBVERBOSE

pchb* at pci? # PCI-Host bridges
ppb* at pci? # PCI-PCI bridges
pci* at ppb?
#T pci* at pchb?
#T pcib* at pci? # PCI-ISA bridge
ichpcib* at pci? # Intel ICHx/ICHx-M LPC bridges
#T piixpcib* at pci? # Intel PIIX4 PCI-ISA bridge
#T gscpcib* at pci? # NS Geode SC1100 PCI-ISA bridge
#T gpio* at gscpcib?

# power management and other environmental stuff
#T elansc* at pci? # AMD Elan SC520 System Controller
#T gpio* at elansc?
#T geodesc* at pci? # Geode SC1100/SCx200 IAOC
#gscpm* at pci? # NS Geode SC1100 SMI/ACPI module
#ichwdt* at pci? # Intel 6300ESB ICH watchdog timer
#T wdt0 at pci? # Ind Computer Source PCI-WDT50x driver
#T pwdog0 at pci? # Quancom PWDOG1 watchdog timer

# National Semiconductor LM7[89] and compatible hardware monitors
#T lm0 at isa? port 0x290
#lm1 at isa? port 0x280
#lm2 at isa? port 0x310
#T nsclpcsio* at isa? port 0x2e # NS PC87366 LPC Super I/O
#T nsclpcsio* at isa? port 0x4e
#T gpio* at nsclpcsio?
#T gscsio* at isa? port 0x2e # NS Geode SC1100 Super I/O
#T gscsio* at isa? port 0x15c
#T iic* at gscsio? # ACCESS.bus 1 & 2
#T piixpm* at pci? # Intel PIIX power management
#T iic* at piixpm?
#T alipm* at pci? # Acer Labs M7101 power management
#T iic* at alipm?
ichiic* at pci? # Intel ICH SMBus controller
iic* at ichiic?
#T viapm* at pci? # VIA VT8237 power management
#T iic* at viapm?
#T amdiic* at pci? # AMD-8111 SMBus controller
#T iic* at amdiic?
#T nviic* at pci? # NVIDIA nForce2/3/4 SMBus controller
#T iic* at nviic?
#T amdpm* at pci? # AMD-7xx/8111 and NForce SMBus controller
#T iic* at amdpm?

#T it0 at isa? port 0x290 # IT8705F, IT8712F and SiS970 hardware
#T it1 at isa? port 0xc00 # monitors
#T it2 at isa? port 0xd00
#T viaenv* at pci? # VIA VT82C686A hardware monitor
#T viasio* at isa? port 0x2e flags 0x # VIA VT1211 LPC Super I/O
#T viasio* at isa? port 0x4e flags 0x
#T aps0 at isa? port 0x1600 # ThinkPad Active Protection System

#T adc* at iic? # Analog Devices AD7416/AD7417/7418
#T admtemp* at iic? # Analog Devices ADM1021
#T admlc* at iic? # Analog Devices ADM1024
#T admcts* at iic? # Analog Devices ADM1026
#T admtm* at iic? # Analog Devices ADM1025
#T admtmp* at iic? # Analog Devices ADM1030
#T admtt* at iic? # Analog Devices ADM1031
#T adt* at iic? # Analog Devices ADT7460
#T lm* at iic? # LM78/79 and clones
#T lmenv* at iic? # National Semiconductor LM87
#T lmtemp* at iic? # NS LM75/LM77 temperature sensor
#T maxds* at iic? # Maxim DS1631/1624/1721
#T maxtmp* at iic? # Maxim MAX6642/MAX6690
#T asbtm* at iic? # Asus ASB100
#T wbenv* at iic? # Winbond W83L784R/W83L

Re: Building a custom kernel error

2007-11-08 Thread 23
yes, I know.

On 11/8/07, knitti <[EMAIL PROTECTED]> wrote:
>
> On 11/8/07, 23$B9f(B <[EMAIL PROTECTED]> wrote:
> > I missing some option?
>
> did you read the FAQ?
> do you know what you are doing?
> why do you need a custom kernel?
>
> --knitti
>



-- 
Best Regards,
No.23

http://blog.chinaunix.net/u1/42287



Re: Building a custom kernel error

2007-11-08 Thread 23
it is okay,
I added its to configure file:

pccom0 at isa? port 0x3f8 irq 4 # standard PC serial ports
pccom1 at isa? port 0x2f8 irq 3

thx.

On 11/8/07, knitti <[EMAIL PROTECTED]> wrote:
>
> On 11/8/07, 23$B9f(B <[EMAIL PROTECTED]> wrote:
> > yes, I know.
> >
> > On 11/8/07, knitti <[EMAIL PROTECTED]> wrote:
> > >
> > > On 11/8/07, 23 $B9f (B <[EMAIL PROTECTED]> wrote:
> > > > I missing some option?
> > >
> > > did you read the FAQ?
> > > do you know what you are doing?
> > > why do you need a custom kernel?
>
> the error message tells you to find the code which defines 'comsoft' and
> enable it.
>
> --knitti
>



-- 
Best Regards,
No.23

http://blog.chinaunix.net/u1/42287



Re: Experiences running named and rndc on 4.4 vs 4.3

2008-11-13 Thread 23
--
Best Regards

My Chaos: https://n23.appspot.com
vi /etc/rc:
...
if [ X"${named_flags}" != X"NO" ]; then
   if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then
   echo -n "rndc-confgen: generating new shared secret... "
   if /usr/sbin/rndc-confgen -a -t /var/named >/dev/null 2>&1; then
   chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1
   echo done.
   else
   echo failed.
   fi
   fi

   echo 'starting named';  named $named_flags
fi
...


On Thu, Nov 13, 2008 at 14:08, 23号 <[EMAIL PROTECTED]> wrote:
> vi /etc/rc:
> ..
> if [ X"${named_flags}" != X"NO" ]; then
>if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then
>echo -n "rndc-confgen: generating new shared secret... "
>if /usr/sbin/rndc-confgen -a -t /var/named >/dev/null 2>&1; 
> then
>chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1
>echo done.
>else
>echo failed.
>fi
>fi
>
>echo 'starting named';  named $named_flags
> fi
> ...
>
> --
> Best Regards
> 
> My Chaos: https://n23.appspot.com
>
>
>
> On Wed, Nov 12, 2008 at 14:17, Woodchuck <[EMAIL PROTECTED]> wrote:
>> On Tue, 11 Nov 2008, Don Jackson wrote:
>>
>>> Today I began testing named on a freshly installed OpenBSD 4.4 amd64
>>> machine, using my old named.conf file from 4.3 (which was still running
>>> named version 9.4.2)
>>>
>>> When the machine first boots after the install, /etc/rc determines there is
>>> no rndc.key, and generates one:
>>>
>>> rndc-confgen: generating new shared secret... done.
>>> starting named
>>>
>>>
>>> Here are the owner, group, and file modes of the two different copies of
>>> rndc.key that are generated:
>>>
>>> # ls -lAF /etc/rndc.key /var/named/etc/rndc.key
>>> -rw---  1 root  wheel  77 Nov 11 12:24 /etc/rndc.key
>>> -rw-r-  1 root  wheel  77 Nov 11 12:24 /var/named/etc/rndc.key
>>>
>>>
>>> named only cares about the rndc.key in /var/named/etc
>>
>> Right.  But later, rndc will use the /etc version.  So you need
>> both, and the permissions you show are sane ones.
>>
>>> Looking at the logs: /var/log/daemon, one can see:
>>>
>>> Nov 11 12:24:10 svn01 named[142]: none:0: open: /etc/rndc.key: permission
>>> denied
>>> Nov 11 12:24:10 svn01 named[142]: couldn't add command channel 
>>> 127.0.0.1#953:
>>> permission denied
>>>
>>> Here is my workaround:
>>>
>>> # chown root:named /var/named/etc/rndc.key
>>> # ls -lAF /var/named/etc/rndc.key
>>> -rw-r-  1 root  named  77 Nov 11 12:24 /var/named/etc/rndc.key
>>>
>>>
>>> Should /etc/rc set the group ownership of /var/named/etc/rndc.key?
>>>
>>> Comments?
>>
>> I think rndc.key should pick up the named group from the ownerships
>> and permissions on /var/named/etc.
>>
>> /var/named/etc should be owned by root.named and have permissions 750.
>>
>> I bet your /var/named/etc is owned by root.wheel.
>>
>> Dave



Re: jdk 1.6 build needs jdk 1.5 ?

2008-11-14 Thread 23
I use jdk1.7 from ftp:
sudo pkg_add -iv jdk-1.7.0.00b24p2.tgz

--
Best Regards

My Chaos: https://n23.appspot.com



On Wed, Nov 12, 2008 at 22:22, Cedric Brisseau <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I just try to build jdk 1.6 on my fresh -current system, and the
> pkg_tools are telling me that jdk 1.6 depends on jdk 1.5.
>
> In jdk/1.6/pkg/DESCR-main it's specified that jdk 1.6 can use kaffe.
> Is it normal ?
>
> Cheers,
> Cedric



Re: trouble installing ports ("No packages available in the PKG_PATH")

2008-11-14 Thread 23
I use it:
Shell:~ >: cat /etc/mk.conf
SUDO=/usr/bin/sudo

WRKOBJDIR=/usr/obj/ports
DISTDIR=/usr/distfiles
PACKAGE_REPOSITORY=/usr/packages

_MASTER_SITE_OPENBSD?=  \
ftp://ftp.freebsdchina.org/pub/OpenBSD/distfiles/${DIST_SUBDIR}/ \
ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/${DIST_SUBDIR}/ \
ftp://ftp.tw.openbsd.org/pub/OpenBSD/distfiles/${DIST_SUBDIR}/

XENOCARA_RERUN_AUTOCONF=Yes
Shell:~ >:

--
Best Regards

My Chaos: https://n23.appspot.com



On Fri, Nov 14, 2008 at 07:27, Juan Miscaro <[EMAIL PROTECTED]> wrote:
> I'm scripting a reinstall routine for my ports on 4.3.  When I come to
> 'make reinstall' the thing is trying to download from the $PKG_PATH
> that I have set earlier in my script and, of course, does not find the
> files it needs.  Removing that variable and I get "No packages
> available in the PKG_PATH".
>
> Relevant snippet:
>
>export SUBDIR=$(pkg_info -Pq postfix)
>cd /usr/ports
>make reinstall
>
> Any ideas?
>
> ~juan