Re: ath(4) DWL-G650 - ath0: no valid channels for regdomain NONE

2005-09-03 Thread Eric Dillenseger
On 9/3/05, Adam Papai <[EMAIL PROTECTED]> wrote:
> Did somebody fix this?
> 
> Or do somebody know a workaround?
> 
> I use 3.8-beta, but It didn't work with 3.7.
> 
> Every time I try to use I get the following message:
> 
> 
>   ath0: no valid channels for regdomain NONE...
> 
> If  I changed /usr/src/sys/dev/ic/ar5xxx.c above:
> 
> RCS file: /cvs/src/sys/dev/ic/ar5xxx.c,v
> retrieving revision 1.28
> diff -r1.28 ar5xxx.c
> 116,117c116,117
> < #if 0
> < #define COUNTRYCODE "00"
> ---
>  > #if 1
>  > #define COUNTRYCODE "hu"
> 
> Then I'll be able to set nwid, ip address and so on, without getting
> error, but the card doesn't work. :/ Only blinking..
> 
> Any suggestion/bugfix/workaround?
> 
> --
> Adam PAPAI
> D i g i t a l Influence
> E-mail: [EMAIL PROTECTED]
> Phone: +36 30 33-55-735
> 
> 

Hello Adam,

I've seen the same issue with my DWL-G520, but changing the country
code solved the issue.

When you say the card doesn't work, what do you mean? Mine is blinking
too and working correctly so I guess it's the normal behaviour. Can
you explain the symptoms?

For me, the only thing that is not correctly working with the driver
is the speed, I can't get it working over 802.11b.

Regards,
Eric Dillenseger



Re: ath(4) DWL-G650 - ath0: no valid channels for regdomain NONE

2005-09-03 Thread Eric Dillenseger
On 9/3/05, Adam Papai <[EMAIL PROTECTED]> wrote:
> 
> On Sep 3, 2005, at 1:09 PM, Eric Dillenseger wrote:
> >
> > Hello Adam,
> >
> > I've seen the same issue with my DWL-G520, but changing the country
> > code solved the issue.
> >
> > When you say the card doesn't work, what do you mean? Mine is blinking
> > too and working correctly so I guess it's the normal behaviour. Can
> > you explain the symptoms?
> >
> > For me, the only thing that is not correctly working with the driver
> > is the speed, I can't get it working over 802.11b.
> >
> > Regards,
> > Eric Dillenseger
> 
> 
> Hm
> 
> I'll make a try again.
> 
> the symptoms was:
> 
> I try
> 
>   ifconfig ath0 newid asuka
>   ifconfig ath0 mode 11g or g11
> 
> dhclient ath0 but I didn't get dhcp offer When I set it to fix ip it
> didn't see the router.
> 
> I want to use it in managed mode. The country code I set is "hu" whan
> COUNTRYCODE do you use and what procedure do U use to set up ath0? I
> mean ifconfig or something :)
> 
> Thanks in advance.
> 
> 
> Adam Papai
> D i g i t a l Influence
> E-mail: [EMAIL PROTECTED]
> Phone: +36 30 33-55-375
> 
> 
> 

Well, here's how I set it up.

I modified the countrycode to "fr", built a new kernel, and rebboted.

after that I saw the mac adress of ath0 in dmesg.

# then ifconfig ath0   media autoselect nwid  nwkey
 mediaopt hostap chan 11 up
It worked so I set it in /etc/hostname.ath0

As I said before, the only working mode for me is 802.11b, if I force
a higher mode the card doesn't work. Have you tried with 'mode
autoselect' ?

Hope this helps.
Regards,



Re: ath(4) DWL-G650 - ath0: no valid channels for regdomain NONE

2005-09-03 Thread Eric Dillenseger
On 9/3/05, Adam Papai <[EMAIL PROTECTED]> wrote:
> Eric Dillenseger wrote:
> > Well, here's how I set it up.
> >
> > I modified the countrycode to "fr", built a new kernel, and rebboted.
> >
> > after that I saw the mac adress of ath0 in dmesg.
> >
> > # then ifconfig ath0   media autoselect nwid  nwkey
> >  mediaopt hostap chan 11 up
> > It worked so I set it in /etc/hostname.ath0
> >
> > As I said before, the only working mode for me is 802.11b, if I force
> > a higher mode the card doesn't work. Have you tried with 'mode
> > autoselect' ?
> >
> > Hope this helps.
> > Regards,
> 
> :(
> 
> I'm afraid something is wrong.
> 
> I set up to hostname.ath0 this:
> dhcp NONE NONE NONE media autoselect nwid asuka chan 1 up
> or
> dhcp NONE NONE NONE media autoselect mode autoselect nwid asuka chan 1 up
> 
> But it didn't get dhcpoffer. I changed the router mode to MIXED, that
> means it serves B and G as wel.
> As I can see you run your Wlan card as an AP? I want to use it as a
> client to associate with AP, so I omit mediaopt.
> With Gentoo/madwifi-drivers it's working so the card is good, but I
> haven't got Linux..and  don't want to use ;]
> 
> If I set up the card like this:
> 
> inet ath0 192.168.1.2 0xff00 192.168.1.0 media autoselect mode
> autoselect nwid asuka chan 1 up
> 
> then it seems the card blinks correctly ( as I remember from NetGear
> WG511T ), but I can't ping the router or the other wlan machines on my
> network.
> 
> What should be the problem. I have no idea..:( I simply want to use it
> with dhcp. Any suggestions?
> 
> --
> Adam PAPAI
> D i g i t a l Influence
> E-mail: [EMAIL PROTECTED]
> Phone: +36 30 33-55-735
> 

Just a remark, in /etc/horname.if you don't write the 'up' keyword.
Otherwise, I don't see what's wrong. Once the card is configured, can
you post a ifconfig -a output? First, remove hostname.ath?, reboot and
try to configure only with ifconfig, if there's an error, ifconfig
should say something.

You can monitor the DHCP requests with tcpdump.

Is the access point filtering mac adresses?



Re: ath(4) DWL-G650 - ath0: no valid channels for regdomain NONE

2005-09-04 Thread Eric Dillenseger
On 9/4/05, Adam Papai <[EMAIL PROTECTED]> wrote:
> Eric Dillenseger wrote:
> 
> > Just a remark, in /etc/horname.if you don't write the 'up' keyword.
> > Otherwise, I don't see what's wrong. Once the card is configured, can
> > you post a ifconfig -a output? First, remove hostname.ath?, reboot and
> > try to configure only with ifconfig, if there's an error, ifconfig
> > should say something.
> >
> > You can monitor the DHCP requests with tcpdump.
> >
> > Is the access point filtering mac adresses?
> >
> 
> Hi Eric.
> 
> The router don't filter mac-addresses.
> 
> When I attach the card I see this in dmesg:
> 
> ath0 at cardbus0 dev 0 function 0 "Atheros Communications, Inc.,
> AR5001--, Wireless LAN Reference Card": irq 5
> ath0: AR5212 7.9 phy 4.5 rf2112 5.6 rf2112 5.6, NONE, address
> 00:11:95:93:eb:53
> 
> After this I have to set up nwid and mode and media for it.
> 
> # ifconfig ath0 nwid asuka media autoselect mode autoselect chan 1
> # ifconfig ath0
> ath0: flags=8822 mtu 1500
>  lladdr 00:11:95:93:eb:53
>  media: IEEE802.11 autoselect
>  status: no network
>  ieee80211: nwid asuka chan 1
> 
> if I try to set up a static ip then I type:
> 
> # ifconfig ath0 192.168.1.2
> ath0: flags=8863 mtu 1500
>  lladdr 00:11:95:93:eb:53
>  media: IEEE802.11 autoselect (DS1 mode 11b)
>  status: no network
>  ieee80211: nwid asuka chan 1
>  inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
>  inet6 fe80::211:95ff:fe93:eb53%ath0 prefixlen 64 scopeid 0x7
> 
> But the card status is "no network" and I can't ping  192.168.1.1 ( wlan
> router ip ). I changed the router mode "B only" so the "G" mode couldn't
> be the problem.
> 
> If I set ath0 the way like this:
> 
> #ifconfig ath0 192.168.1.2 mode autoselect mediaopt hostap chan 1 nwid asuka
> 
> #ifconfig ath0
> ath0: flags=8863 mtu 1500
>  lladdr 00:11:95:93:eb:53
>  media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap)
>  status: active
>  ieee80211: nwid asuka chan 1 bssid 00:11:95:93:eb:53
>  inet6 fe80::211:95ff:fe93:eb53%ath0 prefixlen 64 scopeid 0x7
>  inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255
> 
> Now it's running in host AP mode, but neither kismet nor airsnort sees
> it's broadcasted ssid. This is the only case when ifconfig shows me
> "status: active".
> 
> In that case, when I try to get ip by typing: "dhclient ath0" after
> setting up nwid, chan, mode the result is:
> 
> # ifconfig ath0 mode autoselect chan 1 nwid asuka
> 
> # ifconfig ath0
> 
> ath0: flags=8822 mtu 1500
>  lladdr 00:11:95:93:eb:53
>  media: IEEE802.11 autoselect
>  status: no network
>  ieee80211: nwid asuka chan 1
> # dhclient ath0
> 
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 2
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 14
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
> DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> #ifconfig ath0
> ath0: flags=8863 mtu 1500
>  lladdr 00:11:95:93:eb:53
>  media: IEEE802.11 autoselect (DS1 mode 11b)
>  status: no network
>  ieee80211: nwid asuka chan 1
>  inet6 fe80::211:95ff:fe93:eb53%ath0 prefixlen 64 scopeid 0x8
> 
> Yesterday I tried ad-hoc mode ( peer to peer ) between iBook and my
> laptop. But they didn't see each other. :/
> 
> 
> # uname -a
> OpenBSD larva.portable.wooh.hu 3.8 GENERIC#1 i386
> 
> It seems that I can't get this card to work.
> 
> So I don't have any idea. The AP works well with this card and
> Linux/madwifi.
> 
> --
> Adam PAPAI
> D i g i t a l Influence
> E-mail: [EMAIL PROTECTED]
> Phone: +36 30 33-55-735
> 

Hello Adam,

I must say that I have no other idea.
This morning I tried another DWL-G520 and found it wouldn't work. The
card is correctly identified, configured with the hostname.if of the
other one, but no connection.

The only difference I found between the two is the revision and
firmware version.
I think that D-Link is changing too much things between revisions of
cards and the driver don't handle all revisions correctly. My cards
have the same chipset, but one is rev B2 and fw 3.1.6 and the other
B3/4.2.11. Both are DWL-G520 rebB, not G520+ (wich has a TI chipset).

Maybe your card is a bit to newly reviewed by D-Link to be properly
supported by the ath(4) driver.



Re: adsl ppp tun questions and routing questions

2005-09-09 Thread Eric Dillenseger
On 9/9/05, Roger Neth Jr <[EMAIL PROTECTED]> wrote:
> Hello List,
> 
> 
> 
> I don't know how to have ppp pppoe stay on one tun as it is switching
> between tun0 and tun1 on reboots.
> 
(snip)
> 

Hi Roger,

I'm wondering if you're not starting ppp in 2 places during startup
as, it looks like ppp starts once with tun0 and then it starts again
with tun1.

You may want to check in /etc/ppp/ppp.link{up|down} or /etc/rc.conf(.local).
Do you start ppp in /etc/rc ? as I can see, it starts before /etc/rc
initializes the network and then another time

>Working in ddial mode
>Using interface: tun0
>setting tty flags
>stray isa irq 3
>pf enabled
>net.inet.ip.forwarding: 0 -> 1
>vm.swapencrypt.enable: 1 -> 0
>starting network
>Working in ddial mode
>Using interface: tun1

Regards,
Eric Dillenseger



Atheros chipset

2005-09-12 Thread Eric Dillenseger
Hello,

I've been using a DWL-G520 as an access point with OpenBSD 3.7. Apart
from not allowing higher modes than 11b, it ran fine.

Today I upgraded to 3.8 form a snapshot I downloaded Friday. The
upgrade went smooth as usual. I went to modify
/usr/src/sys/dev/ic/ar5xxx.c so the country code is set:

/*
 * Enable to overwrite the country code (use "00" for debug)
 */
#if 0
#define COUNTRYCODE "fr"
#endif

I compiled the kernel, rebooted but the card was still displaying 'no
regdomain'.
In doubt, I tried to boot on the original kernel, but no luck too.

Is there something new about that?

Below's my dmesg: 

OpenBSD 3.8 (GENERIC) #0: Mon Sep 12 20:23:33 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 700 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 1073258496 (1048104K)
avail mem = 972722176 (949924K)
using 4278 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/04/01, BIOS32 rev. 0 @ 0xfdb30
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7df0/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8366 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000 0xcc000/0x4800 0xd0800/0x3800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce2 GTS" rev 0xa4
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 6 function 0 "Intel 82557" rev 0x05, i82558: irq 12,
address 00:90:27:5c:ce:42
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
ahc1 at pci0 dev 7 function 0 "Adaptec AHA-2940U" rev 0x01: irq 10
scsibus0 at ahc1: 16 targets
sd0 at scsibus0 targ 1 lun 0:  SCSI3 0/direct fixed
sd0: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total
ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5212 5.9 phy 4.3 rf2112 4.6ath0: no valid channels for
regdomain NONE(32976)
pcib0 at pci0 dev 17 function 0 "VIA VT8366 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 58644MB, 120103200 sectors
wd1 at pciide0 channel 0 drive 1: 
wd1: 16-sector PIO, LBA, 39266MB, 80418240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 17 function 2 "VIA VT83C572 USB" rev 0x18: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 17 function 3 "VIA VT83C572 USB" rev 0x18: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 17 function 4 "VIA VT83C572 USB" rev 0x18: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
isa0 at pcib0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
ugen0 at uhub1 port 2
ugen0: Genesys Logic USB Host To Host Bridge, rev 1.00/1.80, addr 2
ahc1: target 1 using 16bit transfers
ahc1: target 1 synchronous at 20.0MHz, offset = 0x8
dkcsum: sd0 matches BIOS drive 0x80
dkcsum: wd0 matches BIOS drive 0x81
dkcsum: wd1 matches BIOS drive 0x82
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



Re: Atheros chipset

2005-09-12 Thread Eric Dillenseger
On 9/12/05, Benedikt Steinbusch <[EMAIL PROTECTED]> wrote:
> 
> 
> On Mon, 12 Sep 2005, Eric Dillenseger wrote:
> 
> > /*
> > * Enable to overwrite the country code (use "00" for debug)
> > */
> > #if 0
> > #define COUNTRYCODE "fr"
> > #endif
> >
> 
> Change
> 
> #if 0
> 
> to
> 
> #if 1
> 
> //Benedikt Steinbusch
> 

Jeez, I forgot to enable the change I made, my apologies for the noise.
Thanks anyway.



Re: Atheros chipset

2005-09-13 Thread Eric Dillenseger
On 9/13/05, Reyk Floeter <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 12, 2005 at 09:12:35PM +0100, Eric Dillenseger wrote:
> > Hello,
> >
> > I've been using a DWL-G520 as an access point with OpenBSD 3.7. Apart
> > from not allowing higher modes than 11b, it ran fine.
> >
> > Today I upgraded to 3.8 form a snapshot I downloaded Friday. The
> > upgrade went smooth as usual. I went to modify
> > /usr/src/sys/dev/ic/ar5xxx.c so the country code is set:
> >
> > /*
> >  * Enable to overwrite the country code (use "00" for debug)
> >  */
> > #if 0
> > #define COUNTRYCODE "fr"
> > #endif
> >
> 
> #if 1
> #define COUNTRYCODE "fr"
> #endif
> 
> reyk
> 

BTW, I've found out the default channel settings do not work with my card.
If I do not specify a channel, the card logs device timeouts and the
card is unreachable over de wlan, but if I specify chan 11, then it's
ok, but only in 11b mode. If I try to force the 11g mode, the whole
system freeze and, again, the card is unreachable.
Is there some limitations in the driver? or the card?
I'm configuring the card through hostname.ath0:
inet 10.0.0.254 255.0.0.0 NONE nwid  nwkey  media
autoselect mediaopt hostap chan 11

Thanks.



Re: Trouble with ath

2005-09-14 Thread Eric Dillenseger
On 9/14/05, Jason McIntyre <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 13, 2005 at 11:47:21PM -0400, Ray Lai wrote:
> > ath0 at pci1 dev 2 function 0 "Atheros AR5212" rev 0x01: irq 11
> > ath0: AR5212 5.9 phy 4.3 rf2112 4.6, WOR4W, address 00:0e:9b:b3:27:d1
> 
> ray, i may be wrong (jsg or reyk can correct me) but i believe ath(4)
> devices with rf2112 radio chips are currently unsupported.
> 
> jmc
> 
> 

ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5212 5.9 phy 4.3 rf2112 4.6, ETSI3W,, address 00:0f:3d:af:55:16

Works almost correctly 'round there, apart from mode settings.



Sendmail TLS

2005-10-06 Thread Eric Dillenseger
7077]: STARTTLS=client,
relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL,
cipher=DHE-DSS-AES256-SHA, bits=256/256
Oct  6 22:55:14 castor sm-mta[721]: STARTTLS=server,
[EMAIL PROTECTED] [127.0.0.1], version=TLSv1/SSLv3, verify=NO,
cipher=DHE-DSS-AES256-SHA, bits=256/256
Oct  6 22:55:14 castor sm-mta[721]: j96KtEx1000721:
from=<[EMAIL PROTECTED]>, size=719, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP,
daemon=MTA, [EMAIL PROTECTED] [127.0.0.1]
Oct  6 22:55:14 castor sendmail[17077]: j96KtEQB017077:
[EMAIL PROTECTED], ctladdr=ericd (1000/1000), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30561, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (j96KtEx1000721 Message accepted for
delivery)
Oct  6 22:55:16 castor sm-mta[19538]: STARTTLS=client,
relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=FAIL,
cipher=DES-CBC3-SHA, bits=168/168
Oct  6 22:55:16 castor sm-mta[19538]: j96KtEx1000721:
to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (1000/1000),
delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=30719,
relay=smtp.gmail.com [72.14.205.109], dsn=5.0.0, stat=Service
unavailable

After a wile, I got this mail:
From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Returned mail: see transcript for details
Date: Thu, 6 Oct 2005 23:05:18 +0200 (CEST)

[-- Attachment #1 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.5K --]

The original message was received at Thu, 6 Oct 2005 22:55:14 +0200
(CEST)
from [EMAIL PROTECTED] [127.0.0.1]

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 530 5.7.0 Authentication Required e13sm1175575qbe)

   - Transcript of session follows -
... while talking to smtp.gmail.com:
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=719
<<< 530 5.7.0 Authentication Required e13sm1175575qbe
554 5.0.0 Service unavailable

[-- Attachment #2 --]
[-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --]

Reporting-MTA: dns; castor.workgroup
Received-From-MTA: DNS; localhost
Arrival-Date: Thu, 6 Oct 2005 22:55:14 +0200 (CEST)

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.7.0
Diagnostic-Code: SMTP; 530 5.7.0 Authentication Required
e13sm1175575qbe
Last-Attempt-Date: Thu, 6 Oct 2005 22:55:16 +0200 (CEST)

[-- Attachment #3 --]
[-- Type: text/rfc822-headers, Encoding: 8bit, Size: 0.8K --]
Return-Path: <[EMAIL PROTECTED]>
Received: from castor.workgroup ([EMAIL PROTECTED] [127.0.0.1])
by castor.workgroup (8.13.4/8.13.4) with ESMTP id
j96KtEx1000721
(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256
verify=NO)
for <[EMAIL PROTECTED]>; Thu, 6 Oct 2005 22:55:14 +0200
(CEST)
Received: (from [EMAIL PROTECTED])
by castor.workgroup (8.13.4/8.13.4/Submit) id j96KtEQB017077
for [EMAIL PROTECTED]; Thu, 6 Oct 2005 22:55:14 +0200 (CEST)
Date: Thu, 6 Oct 2005 22:55:14 +0200
From: Eric Dillenseger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Test TLS
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15:utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.8i

Now I see it successfully connected to gmail smtp, but didn't authenticate.
My question is, how can I make it authenticate?

--
"Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot".
The resulting entity body MAY be short and stout."
-- HTCPCP Spec, RFC 2324



Re: Sendmail TLS

2005-10-07 Thread Eric Dillenseger
On Thu, Oct 06, 2005 at 08:40:35PM -0700, Claus Assmann wrote:
> On Thu, Oct 06, 2005, Eric Dillenseger wrote:
> 
> > I'm trying to setup a sendmail config using tls to use gmail as a 
> > smart-host.
> 
> Why?  Why don't you send mail directly?
> 
Because that way I can receive my mail and organize them in mutt with
procmail and reply to message transparently.
Some mailing lists do strict checking before accepting mail.
If gmail is sending the mail the gmail mx resolves correctly and so the
mail is accepted.
> > Now I see it successfully connected to gmail smtp, but didn't authenticate.
> > My question is, how can I make it authenticate?
> 
> See the fine documentation... but first you need to figure out what
> kind of authentication gmail requires: SMTP AUTH or STARTTLS?  For
> the former see
> 
> Providing SMTP AUTH Data when sendmail acts as Client
> 
> in cf/README.

As I could see, this requires to compile sendmail with -DSASL and
install cyrus-sasl, so I've found a workaround with msmtp, thanks
anyway.

-- 
"Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot".
The resulting entity body MAY be short and stout."
-- HTCPCP Spec, RFC 2324



USB to RS232

2005-10-07 Thread Eric Dillenseger
Hi,

I'll soon buy a soekris, but just realized i have no serial port on my
laptop (duh!), has someone already tried to use a usb serial adapter?
Most of the time this works as a traditional com port on windows, but
what about openbsd, will it be ok for a serial console?

-- 
"Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot".
The resulting entity body MAY be short and stout."
-- HTCPCP Spec, RFC 2324



Re: HP Proliant ML350 G4

2005-10-13 Thread Eric Dillenseger
On Thu, Oct 13, 2005 at 01:56:29PM +0200, kami petersen wrote:
> Uwe Dippel skrev:
> >For some this might be boring, but for others encouraging:
> >
> >Box off-shelf as above boots properly with cd37.iso
> >Broadcom NC7761 Gigabit Server Adapter is recognized
> >LSI 53c1030 Duplex U320 is recognized
> >The 146 GB 15k drive is recognized
> >

Talking about HP hardware, are the new HP SmartArray (64x/640x)
supported?

-- 
"Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot".
The resulting entity body MAY be short and stout."
-- HTCPCP Spec, RFC 2324



Re: Long WEP key

2007-03-29 Thread Eric Dillenseger
On Fri, Mar 30, 2007 at 10:51:23AM +0800, Lars Hansson wrote:
> Jeremy Huiskamp wrote:
> >I'd like to hear an actual developer position on that statement.
> 
> Check the archives for Reyk's comments on WPA. It will be in OpenBSD one 
> day because, secure or not, it is gaining traction and is/will be 
> required by  many AP's (especially "enterprise" AP's).
> 
> ---
> Lars Hansson
> 

Why bother adding WPA when you can turn many wlan cards into AP-mode and
have an OpenBSD box serve wireless computers with IPsec capabilities.
You then have an AP with many more capabilities than any
linksys/netgear/whatever AP.

And btw, as I can't control radio waves, I consider it inherently
insecure. Therefore I don't leave sensitive data traveling in the air.

-- 
"Linux is for Windows(c) haters while BSD is for UNIX lovers".
http://teardrop.free.fr/



Widescreen flat panel

2007-03-31 Thread Eric Dillenseger
Hi,

I just bought a 22 inches 16/10 flat panel.
Saddly, I can't get in the native resolution (1680x1050).

I was wondering if a recent (4.1 snapshot of March 23rd) nv driver of X
is already able to handle such mode, as I found out it may be the
bottleneck.

I tried different ModeLine generators from the net, and tried to do it
myself using Xorg' logfile. Not helping me out.

-- 
"Linux is for Windows(c) haters while BSD is for UNIX lovers".
http://teardrop.free.fr/



Re: Widescreen flat panel

2007-03-31 Thread Eric Dillenseger
On Sat, Mar 31, 2007 at 12:53:56PM -0500, Brian A. Seklecki wrote:
> xinit -- -logverbose 9 -verbose 9 && send the EDID info?  Try a liveCD
> that that has the 'nvidia' binary driver and see if they have support
> yet, it may be a simple hack.
> 
> ~BAS
> 
> On Sat, 2007-03-31 at 18:46 +0200, Eric Dillenseger wrote:
> > Hi,
> > 
> > I just bought a 22 inches 16/10 flat panel.
> > Saddly, I can't get in the native resolution (1680x1050).
> > 
> > I was wondering if a recent (4.1 snapshot of March 23rd) nv driver of X
> > is already able to handle such mode, as I found out it may be the
> > bottleneck.
> > 
> > I tried different ModeLine generators from the net, and tried to do it
> > myself using Xorg' logfile. Not helping me out.
> > 
> 

Well, I tried differents settings and got one that is quite working,
screen width is 1680 but height is more than 1050, and I can scroll the
display up and down. Maybe 1600x1200.

I'm using the following setup:
Section "Monitor"
# DisplaySize  470 300
  Identifier   "Monitor0"
  VendorName   "BNQ"
  ModelName"BenQ FP222W"
 ### Comment all HorizSync and VertSync values to use DDC:
  HorizSync30.0 - 82.0
  VertRefresh  56.0 - 76.0
  Option  "DPMS"
  ModeLine"1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089
+hsync +
EndSection

Section "Device"
  Identifier  "Card0"
  Driver  "nv"
  VendorName  "nVidia Corporation"
  BoardName   "NV34 [GeForce FX 5200]"
  BusID   "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor"Monitor0"
  SubSection "Display"
Viewport   0 0
Depth 24
Modes "1680x1050"
  EndSubSection
EndSection

And this is the relevant part of the Xorg.0.log:
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
(II) Primary Device is: PCI 01:00:0
(--) Chipset GeForce FX 5200 found
(II) NV(0): Initializing int10
(--) NV(0): Chipset: "GeForce FX 5200"
(II) NV(0): Creating default Display subsection in Screen section
  "Screen0" for depth/fbbpp 16/16
(==) NV(0): Depth 16, (==) framebuffer bpp 16
(==) NV(0): RGB weight 565
(==) NV(0): Default visual is TrueColor
(==) NV(0): Using HW cursor
(--) NV(0): Linear framebuffer at 0xD800
(--) NV(0): MMIO registers at 0xE000
(==) NV(0): Write-combining range (0xe000,0x100) was already
clear
(II) NV(0): I2C bus "DDC" initialized.
(II) NV(0): Probing for analog device on output A...
(--) NV(0):   ...found one
(II) NV(0): Probing for analog device on output B...
(--) NV(0):   ...can't find one
(II) NV(0): Probing for EDID on I2C bus A...
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "DDC:ddc2" removed.
(--) NV(0): DDC detected a CRT:
(II) NV(0): Manufacturer: BNQ  Model: 7707  Serial#: 16800
(II) NV(0): Year: 2007  Week: 3
(II) NV(0): EDID Version: 1.3
(II) NV(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
(II) NV(0): Sync:  Separate  Composite
(II) NV(0): Max H-Image Size [cm]: horiz.: 47  vert.: 30
(II) NV(0): Gamma: 2.20
(II) NV(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) NV(0): Default color space is primary color space
(II) NV(0): First detailed timing is preferred mode
(II) NV(0): redX: 0.644 redY: 0.332   greenX: 0.288 greenY: 0.601
(II) NV(0): blueX: 0.153 blueY: 0.077   whiteX: 0.313 whiteY: 0.329
(II) NV(0): Supported VESA Video Modes:
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): Manufacturer's mask: 0
(II) NV(0): Supported Future Video Modes:
(II) NV(0): #0: hsize: 800  vsize 600  refresh: 75  vid: 20293
(II) NV(0): #1: hsize: 1024  vsize 768  refresh: 75  vid: 20321
(II) NV(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) NV(0): #4: hsize: 1280  vsize 1024  refresh: 75  vid: 36737
(II) NV(0): #5: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) NV(0): Supported additional Video Mode:
(II) NV(0): clock: 146.2 MHz   Image Size:  433 x 271 mm
(II) NV(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end
2240 h_bor
(II) NV(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking:
1089 v_bor
(II) NV(0): Supported additional Video Mode:
(II) NV(0): clock: 25.2 MHz   Image Size:  376 x 301 mm
(II) NV(0): h_active: 640  h_sync: 656  h_sync_end 752 h_blank_end 800

Re: Widescreen flat panel

2007-04-01 Thread Eric Dillenseger
Hi,

I made several tests, again, with no success.
I've noticed that using 'Option "FlatPanel"' in xorg.conf makes X fail
to find a suitable mode. Whenever I have a display working, xrandr
indicates a 1600x??? or 1680x1200.

Below is the xrandr output:
 SZ:Pixels  Physical   Refresh
 0   1600 x 1200   ( 474mm x 302mm )   65   60  
 1   1680 x 1050   ( 474mm x 302mm )   60  
 2   1400 x 1050   ( 474mm x 302mm )   75   60  
 3   1280 x 1024   ( 474mm x 302mm )   75   60  
 4   1280 x 960( 474mm x 302mm )   60  
 5   1152 x 864( 474mm x 302mm )   75  
 6   1024 x 768( 474mm x 302mm )   75   70   60  
 7832 x 624( 474mm x 302mm )   75  
 8800 x 600( 474mm x 302mm )   75   72   65   60   56  
 9700 x 525( 474mm x 302mm )   75   60  
 10   640 x 512( 474mm x 302mm )   75   60  
 11   640 x 480( 474mm x 302mm )   75   73   60  
 12   576 x 432( 474mm x 302mm )   75  
 13   512 x 384( 474mm x 302mm )   75   70   60  
 14   416 x 312( 474mm x 302mm )   75  
 15   400 x 300( 474mm x 302mm )   75   72   60   56  
 16   320 x 240( 474mm x 302mm )   75   73   60  
*17  1680 x 1200   ( 474mm x 302mm )  *65  
Current rotation - normal
Current reflection - none
Rotations possible - normal 
Reflections possible - none

Every modeline tried has failed except the one I'm using actually, made
with EDID info, wich is operating at 1680x1200.

I tried on linux, it worked out of the box. I still need to check the
content of Xorg.0.log on linux to see if it differs.

-- 
"Linux is for Windows(c) haters while BSD is for UNIX lovers".
http://teardrop.free.fr/



Re: Widescreen flat panel

2007-04-02 Thread Eric Dillenseger
On Sun, Apr 01, 2007 at 10:44:46AM -0700, J.C. Roberts wrote:
> On Sunday 01 April 2007 09:22, Srebrenko Sehic wrote:
> > On 3/31/07, Eric Dillenseger <[EMAIL PROTECTED]> wrote:
> > > I tried different ModeLine generators from the net, and tried to do
> > > it myself using Xorg' logfile. Not helping me out.
> >
> > I have a Dell 20 inch monitor and it works fine with it's native
> > 1680x1050. I had to tweak the Modeline manually but eventually got it
> > to work. On a oldish S3 card though. But it just might work for you
> > too.
> >
> > Section "Monitor"
> >
> > Identifier   "Monitor0"
> > VendorName   "DEL"
> > ModelName"DELL 2007WFP"
> > #HorizSync30.0 - 83.0
> > #VertRefresh  56.0 - 76.0
> > Option  "DPMS"
> >
> > ModeLine"[EMAIL PROTECTED]" 119.0 1680 1728 1760 1840 1050
> > 1053 1059 1080 -HSync +VSync
> > EndSection
> 
> Monitor timing/sync is hardware specific and in some cases, if you get 
> it wrong, you can do permanent damage to your monitor.
> 
> Use gtf(1) to probe your hardware to figure out timings/sync for your 
> desired resolution/refresh, and then do a sanity check of the reported 
> values against the hardware documentation.
> 

Hi,

Now I have it working with the right resolution, but I can't go over
16bit colors. My photos don't look very good but at least it works for
most common tasks. Or perhaps it isn't even 16, anyway.
I'm wondering why X doesn't handle 24 bit, even with videoram defined.

-- 
"Linux is for Windows(c) haters while BSD is for UNIX lovers".
http://teardrop.free.fr/



Asus Eeepc 900

2008-07-01 Thread Eric Dillenseger
Hi,

I bought one of these and tried to install openbsd on it.
My first try was with 4.3 bsd booting over PXE.
As the ethernet wasn't recognized by the kernel I installed using a
usb thumb drive because I hadn't found how to boot from a usb device
at this moment.
Although the kernel claimed to recognize the atheros wireless card, I
couldn't use it (ath%d: ath_chan_set: unable to reset channel %u (%u
Mhz)).
Now I'm trying to boot bsd from a snapshot (as of yesterday 21:00
GMT+2) but the kernel hang on the sata driver apparently

pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility).

Surprisingly, I tried and successfully booted bsd.mp a few times, but
it sometimes hang a little further on

npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16.

And sometimes it inverts the SDCard slot and the usb disk so it's
kinda difficult to get a properly running box yet to test.

I tried with bsd.rd and was able to install a working system and
again, booting bsd ain't working and bsd.mp often hangs on npx0 and
sometimes(rarely) boots successfully.

Here's a dmesg:
OpenBSD 4.3-current (GENERIC.MP) #776: Sun Jun 29 11:34:39 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 901 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 1064398848 (1015MB)
avail mem = 1020956672 (973MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/12/08, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xf06f0 (37 entries)
bios0: vendor American Megatrends Inc. version "0501" date 05/12/2008
bios0: ASUSTeK Computer INC. 900
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7410/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xf800!
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 100MHz
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type PCI
mainbus0: bus 6 is type ISA
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd000, size 0x1000
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
apic 1 int 16 (irq 5)
azalia0: codec[s]: Realtek/0x0662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 1
int 16 (irq 5)
pci_intr_map: bus 0 dev 28 func 0 pin 4; line 3
pci_intr_map: no MP mapping found
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04: apic 1
int 17 (irq 11)
pci_intr_map: bus 0 dev 28 func 1 pin 4; line 3
pci_intr_map: no MP mapping found
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 "Attansic Technology L2" rev 0xa0: apic
1 int 17 (irq 11), address 00:1f:c6:8f:0d:ee
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI
0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04: apic 1
int 18 (irq 10)
pci_intr_map: bus 0 dev 28 func 2 pin 4; line 3
pci_intr_map: no MP mapping found
pci3 at ppb2 bus 1
ath0 at pci3 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 1 int 18 (irq 10)
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:a7:3d:55
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1
int 23 (irq 7)
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1
int 19 (irq 3)
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1
int 18 (irq 10)
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1
int 16 (irq 5)
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
pci_intr_map: bus 0 dev 30 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 30 func 0 pin 2; line 3
pci_intr_map: no MP mapping found
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: 
wd0: 1-sector PIO, LBA, 3847MB, 7880544 sectors
wd1 at pciide0 channel 1 drive 1: 
wd1: 1-sector PIO, LBA, 7695MB, 15761088 sectors
wd0(pciide

iBook

2008-07-07 Thread Eric DILLENSEGER

Hello,

I'm trying to install OpenBSD on a clamshell-like iBook but I can't get 
it to boot bsd.rd.
I have ofwboot and bsd.rd at the root of the disk, inside Open Firmware 
I type boot hd:,ofwboot and it loads the boot loader but when I try to 
'boot bsd.rd' I get a 'Inappropriate file type or format.
The cdrom drive seems to be broken and doesn't recognize any cd so I'm 
kinda stuck.

What could I be missing?



i945 on Intel Mac mini

2008-07-08 Thread Eric DILLENSEGER

Hi,

I'm trying to find the best possible setup for X but there's a thing
that bothers me.

I first ran X -configure after install and got X working with the intel
device driver.
After some setup, I noticed some odds under X. When playing a movie with
either vlc or mplayer (with or without -cache), when I open firefox the
playback freeze and some sound glithces occur. When I move, say a xterm,
the video playback freeze until I stop.

I tried with i810 device driver, but had a shitty resolution so I tried
915resolution and got X running.

Looking at Xorg.log I noticed some warnings I can't interpret.

Here's my Xorg.conf:
Section "ServerLayout"
  Identifier "X.org Configured"
  Screen  0  "Screen0" 0 0
  InputDevice"Mouse0" "CorePointer"
  InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  RgbPath  "/usr/X11R6/share/X11/rgb"
  ModulePath   "/usr/X11R6/lib/modules"
  FontPath "/usr/X11R6/lib/X11/fonts/misc/"
  FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
  FontPath "/usr/X11R6/lib/X11/fonts/OTF"
  FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
  FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
  FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
  FontPath "/usr/local/lib/X11/fonts/ghostscript/"
  FontPath "/usr/local/openoffice/share/fonts/truetype/"
  FontPath "/usr/local/lib/X11/fonts/Liberation/"
  FontPath "/usr/local/lib/X11/fonts/mscorefonts/"
  FontPath "/usr/local/lib/X11/fonts/artwiz-aleczapka/"
EndSection

Section "Module"
  Load  "GLcore"
  Load  "dbe"
  Load  "extmod"
  Load  "glx"
  Load  "record"
  Load  "xtrap"
  Load  "freetype"
  Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "macintosh"
Option  "XkbOptions""lv3:lwin_switch"
Option  "XkbLayout" "fr_new"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver  "mouse"
  Option  "Protocol" "wsmouse"
  Option  "Device" "/dev/wsmouse"
  Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
  #DisplaySize470   300 # mm
  Identifier   "Monitor0"
  VendorName   "BNQ"
  ModelName"BenQ FP222W"
 ### Comment all HorizSync and VertRefresh values to use DDC:
# HorizSync30.0 - 84.0
# VertRefresh  56.0 - 76.0
  Option  "DPMS"
EndSection

Section "Device"
  Identifier  "Card0"
  Driver  "intel"
  VendorName  "Intel Corporation"
  BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics
Controller"
  BusID   "PCI:0:2:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor"Monitor0"
  SubSection "Display"
Viewport   0 0
Depth 24
Modes   "1680x1050"
  EndSubSection
EndSection

My dmesg:
OpenBSD 4.4-beta (GENERIC.MP) #787: Thu Jul  3 19:37:51 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU 1300 @ 1.66GHz ("GenuineIntel" 686-class)
1.67 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2114371584 (2016MB)
avail mem = 2036203520 (1941MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe73f0 (39 entries)
bios0: vendor Apple Computer, Inc. version
"MM11.88Z.0055.B08.0610121326" date 10/12/06
bios0: Apple Computer, Inc. Macmini1,1
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices PXS1(S4) PXS2(S4) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) USB7(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU 1300 @ 1.66GHz ("GenuineIntel" 686-class)
1.67 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpiec0 at acpi0: Failed to register address space
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpibtn0 at acpi0: PWRB
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xe600!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2c06000a2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1667 MHz (1404 mV): speeds: 1667, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay

Re: i945 on Intel Mac mini

2008-07-09 Thread Eric DILLENSEGER

Eric DILLENSEGER wrote:

drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is -1, (Device not configured)
drmOpenDevice: Open failed
drmAvailable: no
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is -1, (Device not configured)
drmOpenDevice: Open failed
drmAvailable: no
[drm] failed to load kernel module "i915"
(EE) [drm] drmOpen failed.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.


I noticed drm was disabled in the generic kernel, so I gave it a try and 
built a new one with inteldrm, but still no change, the same error 
remains. Is this normal?


I've been wondering if this could be related to disk I/O as it usually 
happens when reading from disk. How can I spot the bottleneck?




Ports dependencies

2008-07-10 Thread Eric Dillenseger
Hi misc@,

When installing a package from the ports, there are build dependencies
and runtime dependencies.
In many cases, B-deps aren't used once the package is installed.

Is there any other way than looking at the ports makefile to spot the
B-deps installed on a system ?



Re: i945 on Intel Mac mini

2008-07-13 Thread Eric Dillenseger
On Sun, Jul 13, 2008 at 12:20:54PM +0400, Vadim Zhukov wrote:
> 10 July 2008 ?. 09:40:51 Eric DILLENSEGER wrote:
> > Eric DILLENSEGER wrote:
> > > drmOpenDevice: node name is /dev/drm0
> > > drmOpenDevice: open result is -1, (Device not configured)
> > > drmOpenDevice: Open failed
> > > drmAvailable: no
> > > drmOpenDevice: node name is /dev/drm0
> > > drmOpenDevice: open result is -1, (Device not configured)
> > > drmOpenDevice: Open failed
> > > drmAvailable: no
> > > [drm] failed to load kernel module "i915"
> > > (EE) [drm] drmOpen failed.
> > > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
> >
> > I noticed drm was disabled in the generic kernel, so I gave it a try
> > and built a new one with inteldrm, but still no change, the same error
> > remains. Is this normal?
> >
> > I've been wondering if this could be related to disk I/O as it usually
> > happens when reading from disk. How can I spot the bottleneck?
> 
> AFAIK, inteldrm(4) doesn't attach at i945, or at least not at all 
> revisions. Particulary you have the save chip as mine laptop, as I see. 
> But you can safely ignore this (EE), X starts good without it.

Well, I don't know if I made a mistake when compiling the new kernel,
but the MP conf did not point to the correct conf so I corrected it and
know inteldrm is detected by the kernel and X initializes it.

Know, glxgears' framerate rose but there is still those glitches.

dmesg:
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0x8000, size 0x1000
inteldrm0 at vga1
info: [drm] Intel i945GM (unit 0)
info: [drm] AGP at 0x8000 256MB
info: [drm] Initialized i915 1.6.0 20080312

Xorg.log:
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 12, (OK)
drmAvailable: 1
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 12, (OK)
drmAvailable: 1
drmOpenByBusid: Searching for BusID pci::00:02.0
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 12, (OK)
drmOpenByBusid: drmOpenMinor returns 12
drmOpenByBusid: drmGetBusid reports pci::00:02.0
(II) [drm] DRM interface version 1.2
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(*snip*)
(II) intel(0): [drm] Registers = 0x4000
(II) intel(0): [drm] ring buffer = 0x4480e000
(II) intel(0): [drm] mapped front buffer at 0x8100, handle =
0x4482e000
(II) intel(0): [drm] mapped back buffer at 0x8500, handle =
0x4554e000
(II) intel(0): [drm] mapped depth buffer at 0x8600, handle =
0x4626e000
(II) intel(0): [drm] mapped classic textures at 0x8700, handle =
0x46f8e000
(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
(II) intel(0): [dri] visual configs initialized

> Don't know about your glitches problem, though. :(
> 
> -- 
>   Best wishes,
> Vadim Zhukov

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED],QoJFTRxreQWbPQJzwGanQ1vQqvMXzaktMCoFT6N-DXw,AQACAAE/nAxaLiTe/0
"Life is easy when you fake it right until you realize
Your happiness is unrelated to anything you have inside"