Unstable PPPoE

2007-07-27 Thread Timothy Wilson
Hello ladies and gentlemen!

I'm having a frustrating problem. My internet is highly unstable when
using bit torrent. I don't think there's anything special about my
configuration: my gateway is a craptop with inbuilt Intel ethernet and
a url0 USB ethernet for the modem. The connection is bridged, using pf
(obviously) for routing / firewall and kernel PPPoE for dialing via my
bridged netcomm nb5+.

Basically, when I try to use bit torrent the connection dies after
about 20mins. The kernel PPPoE daemon doesn't bring it back up. In
fact, even doing
#sh /etc/netstart
doesn't bring it back up. The only way to bring it back up is via a
reboot :( Very frustrating. It also takes about 10-15mins to
reconnect; surely that's a bit too long, even for PPPoE? I know this
isn't a problem with my ISP as I've always been able to download bt
stably when I was using the modem in router mode. I thought it might
have been an MTU problem, but I'm using the mss fix in /etc/pf.conf,
so I don't think it's that. I played around with a few values just to
be sure, but I'm open to suggestions.
I'll post my dmesg, /etc/pf.conf and /etc/hostname.pppoe. If there's
anything else I should send, please let me know!

/etc/pf.conf:

# Timothy's PF.conf, running on failtop

# My fun as ports!
#
# Bit torrent
shitbox_bt  = 6881
craptop_bt  = 6882
failtop_bt  = { 6883, 6884, 6885, 6886 }
# SSH
shitbox_ssh = 22
craptop_ssh = 24
failtop_ssh = 25
# VoIP
johnbox_voip= { 3478, 5060, 8000, 8001 }

# Macro fun!!!
#tcp_services   = { www, ssh, domain, auth }
udp_services= { domain, ntp, 3478, 5060, 8000, 8001 } #look at
adding NTP for clients
allow_out   = { 1863, 6969, www, ftp-data, ftp, ssh, domain, pop3,
smtp, auth, http, https, 446, 8080 }
icmp_types  = { echoreq, unreach }
bt_pass = { 6881,6880,6882,6883, 6884, 6885, 6886 }

# Fun fun interfaces
ext_if  = pppoe0
int_if  = fxp0
local   = $int_if:network
outside = $ext_if:network
#ftpProxy   = 127.0.0.1

# IP Map (lots of fun)
shitbox_ip  = 192.168.1.10
craptop_ip  = 192.168.1.3
failtop_ip  = 192.168.1.55
johnbox_ip  = 192.168.1.8
martians= { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, \
  10.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24, \
  0.0.0.0/8, 240.0.0.0/4 }

# Normalisation fun!
scrub in #all
scrub out on pppoe0 max-mss 1440

# Fun fun rules!
#
# NAT section
nat on $ext_if from $local to any - ($ext_if)
nat-anchor ftp-proxy/*
rdr-anchor ftp-proxy/*
rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021

# Services
#
#Squid
rdr on $ext_if proto tcp from $ext_if:network to any port www -
$failtop_ip port 3128
# Outside users!
# Redirect Bit Torrent
rdr on $ext_if proto {udp,tcp} from any to $ext_if port $shitbox_bt -
$shitbox_ip
rdr on $ext_if proto tcp from any to $ext_if port $craptop_bt - $craptop_ip
rdr on $ext_if proto {udp,tcp} from any to $ext_if port $failtop_bt -
$failtop_ip
# Redirect SSH
rdr on $ext_if proto tcp from any to $ext_if port $shitbox_ssh - $shitbox_ip
rdr on $ext_if proto tcp from any to $ext_if port $craptop_ssh - $craptop_ip
rdr on $ext_if proto tcp from any to $ext_if port $failtop_ssh - $failtop_ip
# Redirect VoIP
rdr on $ext_if proto {tcp, udp} from any to $ext_if port $johnbox_voip
- $johnbox_ip
# Local users!
# Redirect SSH
rdr on $int_if proto tcp from $local to $ext_if port $shitbox_ssh -
$shitbox_ip
rdr on $int_if proto tcp from $local to $ext_if port $craptop_ssh -
$craptop_ip
rdr on $int_if proto tcp from $local to $ext_if port $failtop_ssh -
$failtop_ip


# Fun fun filtering section
antispoof for $ext_if
antispoof for $int_if
block drop in quick on $ext_if from $martians to any
block drop out quick on $ext_if from any to $martians

block return
pass from { lo0, $local } to any keep state
# Fun FTP allow fun
anchor ftp-proxy/*
pass out proto tcp from 127.0.0.1 to any port 21

# Fun services for everyone to be passed out
# Allow outgoing dns, needed by pfctl to resolve names.
pass out proto tcp to any port $allow_out
pass proto udp to any port domain
# Allow BitTorrent
pass inet proto { tcp, udp } to $shitbox_ip port $bt_pass flags S/SA
keep state (max-src-conn 500)
pass inet proto { tcp, udp } to $failtop_ip port $bt_pass flags S/SA
keep state (max-src-conn 500)

#pass proto tcp from $local to any port $allow_out
pass quick inet proto { tcp, udp } to any port $udp_services keep state

# Let ICMP traffic from local as well as outside
pass inet proto icmp all icmp-type $icmp_types keep state
# Traceroute
pass out on $ext_if inet proto udp from any to any port 33433  33626
keep state

# Pass our BT and SSH fun fun packets
pass proto tcp from any to $shitbox_ip port $shitbox_bt
pass proto tcp from any to $shitbox_ip port $shitbox_ssh
pass proto tcp from any to $craptop_ip port $craptop_bt
pass proto tcp from any to $craptop_ip port $craptop_ssh
pass proto tcp from any to $failtop_ip port $failtop_bt
pass proto tcp from 

OpenBSD tent at CCC Summercamp, Finowfurt (Berlin), 8-12 August

2007-07-27 Thread Wim Vandeputte
Hey,

this was posted to Undeadly, not sure if it was posted to misc@

Wednesday 8 August till Sunday 12 August 2007

All info on http://events.ccc.de/camp/2007/BSD_Village

You might remember us from such mishaps and hangovers like HAL 2001, 
(see http://eurobsd.org/hal2001/), FOSDEM, CCC SummerCamp 2003 
(see http://eurobsd.org/SummerCamp2003/) and What The Hack 2005 
(see http://eurobsd.org/2005-WhatTheHack)... Wel, we are at it again.

BSD users are invading the CCC Summercamp 2007 event and have claimed an entire 
village as their little embassy of sanity, lounge and cool beer.

This year we'll have 2 tents, a 180 m^2 one for hacking (tables and couches) 
and a 100 m^2 one for sleeping only.

We had to go through the CCC to hire equipment so all the prices are fixed, 
we'll split the costs amongst the participants. The more people join our tents, 
the cheaper it will become. But in order to keep it manageable, I intend to 
limit the residents to 70, it should be a pleasant holiday for all of us, not 
a crowded workplace!

So far we have:

http://events.ccc.de/camp/2007/Rent_a_Tent

* A big hacking tent (180 m^2) at EUR 3420 + tables  chairs (EUR 350)
* A smaller sleeping tent (72 m^2) at EUR 1368 (max 35 sleepers) 

as I've limited the amount of residents and sleepers, that gives an estimated 
cost of EUR 55 for the hacking tent and EUR 40 for the sleeping tent. I'll 
have camping beds like last years at EUR 20/each for rent too.

So far we have not had any info about the availability of fridges... but this 
is something I want to fix this week. Warm beer is a sacrilege!

We'll be providing a roof over the head for any OpenBSD user or developer 
interested spending 4 days in a field near Berlin. You don't need to bring 
your own tent or camping bed, those are things we can provide for. Just bring 
your laptop and sunscreen!

To register your presence in the BSD Village, using the web form at 

http://eurobsd.org/2007-SummerCamp/register.html

For any questions, please contact [EMAIL PROTECTED]

See you on the campground!

Wim. 
-- 
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=   
https://kd85.com/notforsale.html
 --



Re: Unstable PPPoE

2007-07-27 Thread Daniel Melameth
On 7/27/07, Timothy Wilson [EMAIL PROTECTED] wrote:
 I'm having a frustrating problem. My internet is highly unstable when
 using bit torrent. I don't think there's anything special about my
 configuration: my gateway is a craptop with inbuilt Intel ethernet and
 a url0 USB ethernet for the modem. The connection is bridged, using pf
 (obviously) for routing / firewall and kernel PPPoE for dialing via my
 bridged netcomm nb5+.

 Basically, when I try to use bit torrent the connection dies after
 about 20mins. The kernel PPPoE daemon doesn't bring it back up. In
 fact, even doing
 #sh /etc/netstart
 doesn't bring it back up. The only way to bring it back up is via a
 reboot :( Very frustrating. It also takes about 10-15mins to
 reconnect; surely that's a bit too long, even for PPPoE? I know this
 isn't a problem with my ISP as I've always been able to download bt
 stably when I was using the modem in router mode. I thought it might
 have been an MTU problem, but I'm using the mss fix in /etc/pf.conf,
 so I don't think it's that. I played around with a few values just to
 be sure, but I'm open to suggestions.

 dmesg:

 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 pppoe0: received unexpected PADO
 url0: usb error on tx: TIMEOUT
 pppoe0: LCP keepalive timeout

Based on your dmesg, it appears this might be related to url0whether
it's the hardware, driver or something associated, I don't know.  You
might want to try another Ethernet connection.  FWIW, I've never been
a fan of USB Ethernet.



Re: Unstable PPPoE

2007-07-27 Thread Can E. Acar
 Hello ladies and gentlemen!
 
 I'm having a frustrating problem. My internet is highly unstable when
 using bit torrent. I don't think there's anything special about my
 configuration: my gateway is a craptop with inbuilt Intel ethernet and
 a url0 USB ethernet for the modem. The connection is bridged, using pf
 (obviously) for routing / firewall and kernel PPPoE for dialing via my
 bridged netcomm nb5+.

I suspect it is a problem with your modem. Have you tried replacing it?
I have seen modems lock up on bittorrent/mule traffic. Usually bridge mode
prevents this, but I have no experience with your particular modem.

 Basically, when I try to use bit torrent the connection dies after
 about 20mins. The kernel PPPoE daemon doesn't bring it back up. In
 fact, even doing
 #sh /etc/netstart
 doesn't bring it back up. The only way to bring it back up is via a
 reboot :( 

In your case, reboot == disconnect + connect USB ethernet, it may even
reset the modem if it is powered by USB. Perhaps you can just unplug/replug
your USB ethernet cable and see if this removes the need to reboot?
It may also be a problem with the url0 ethernet driver.

 Very frustrating. It also takes about 10-15mins to
 reconnect; surely that's a bit too long, even for PPPoE?

This is expected since your ISP does not know you terminated the old
session.
Thus you are waiting for it to timeout before your ISP would let you
establish a new one. You can compile a kernel with
PPPOE_TERM_UNKNOWN_SESSIONS
(see pppoe(4)) to have pppoe terminate the old session.

 I know this
 isn't a problem with my ISP as I've always been able to download bt
 stably when I was using the modem in router mode. I thought it might
 have been an MTU problem, but I'm using the mss fix in /etc/pf.conf,
 so I don't think it's that. I played around with a few values just to
 be sure, but I'm open to suggestions.

What you describe is not related to MSS/MTU

 I'll post my dmesg, /etc/pf.conf and /etc/hostname.pppoe. If there's
 anything else I should send, please let me know!

After you have tried the above suggestions, and if the problem is NOT in
url(4) driver and/or the modem you can enable debugging on the pppoe0
interface 'ifconfig pppoe0 debug' and/or use tcpdump on the ethernet
interface to examine pppoe packets. Check the archives for details.


-- 
In theory, there is no difference between theory and practice.
But, in practice, there is.



Re: 3ware 9650SE support

2007-07-27 Thread L. V. Lammert
On Fri, 27 Jul 2007 [EMAIL PROTECTED] wrote:

 Are there plans to support 3ware's 9650SE SATA RAID controller? If so, will
 it be far off?

 Thanks in advance

Check the archives. There was early work done with 3ware hardware many
years ago, and many current controllers WILL work with twe driver.
Unfortunately, it is not bioctl compatible, nor will it be.

3ware is intractible as far a releasing documentation, so no further work
is in the picture until they change their attitude or management.

Lee

BTW - We DO still have a number of 3Ware controllers still in use from
8-10 years ago, but we have not purchased any since.


  Leland V. Lammert[EMAIL PROTECTED]
Chief Scientist Omnitec Corporation
 Network/Internet Consultants   www.omnitec.net




3ware 9650SE support

2007-07-27 Thread diabolical . now
Are there plans to support 3ware's 9650SE SATA RAID controller? If so, will
it be far off?

Thanks in advance



Laptop death...

2007-07-27 Thread Tobias Weingartner
Hi all,

I hate doing this, but I'm in a tiny bit of a bind.  I'm in need of a
new laptop.  My old IBM T40p is slowly giving up the ghost after 5+
years of faithful service.  As this is my main terminal to hack on and
do everything I do on a computer, it's impending doom will significantly
affect me.

I've looked at the options available, and there really are not that many.
I know that there are *lots* of laptops out there that would work, but I
am somewhat particular in what I get next.  At the current time I'm looking
at buying:

  26238YU - T60P CD/2.0 1GB 100GB 14.1 SXGA+ DVDR WLS BT DOS
  Rough Price: $1,645.99 - $1,878.99

Along with this comes taxes and shipping, etc.  Unfortunately my current
financial situation is that I can only afford to spend $400-$500 dollars
on this.  Is there anyone out there that could help me out with the rest?


Thanks a lot,

--Toby.



OBSD4.1 i386 IDE driver fails to find disk..?

2007-07-27 Thread John H. Nyhuis

Greetings,

	My apologies if this is a repost.  I am having trouble getting this 
through to the list.


	I am trying to install OpenBSD (i386) 4.1 and am failing to get it to 
identify my standard parallel ide disk.  The disk is identified at 
bootstrapping as hd0*+, but once the installer gets to the point of Proceed 
with Install? [yes] I receive the message No Disks Found.
	The hardware checks out via CheckIT, and the FreeBSD installer does not 
have a problem partitioning and formatting the disk, so I do not believe this 
is hardware failure.  I know that OpenBSD probes hardware differently then 
FreeBSD, so I think the root of my issue has to do with OpenBSD drive probing.
	All standard pATA IDE controllers should be supported, according to the 
hardware pages.


	Would someone mind looking over the attached dmesg and giving me some 
ideas of how to resolve this?  I don't see anything that immediately stands out 
as an error (except for the USB stuff, which I don't need on this box).




OpenBSD 4.1 (RAMDISK) #260: Sat Mar 10 19:38:22 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: Intel(R) Celeron(R) CPU 2.80GHz (GenuineIntel 686-class) 2.81 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,TM2,CNXT-ID,CX16,xTPR

real mem  = 1064595456 (1039644K)
avail mem = 967368704 (944696K)
using 4278 buffers containing 53354496 bytes (52104K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 03/21/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.3 @ 0xf04c0 (53 entries)

bios0: ASUSTeK Computer Inc. P5PE-VM
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf86a0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa000! 0xca000/0x1000 0xcb000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 0 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 1 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 2 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 3 not configured
Intel 82801EB/ER USB2 rev 0x02 at pci0 dev 29 function 7 not configured
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci1 at ppb0 bus 1
em0 at pci1 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 14, 
address 00:0e:0c:c3:05:1e
em1 at pci1 dev 11 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 3, 
address 00:0e:0c:b9:60:53
skc0 at pci1 dev 13 function 0 Marvell Yukon 88E8001/8003/8010 rev 0x13, 
Yukon Lite (0x9): irq 5

sk0 at skc0 port A, address 00:1a:92:21:2e:8d
ukphy0 at sk0 phy 0: Generic IEEE 802.3u media interface, rev. 5: OUI 0x005043, 
model 0x0002

ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, channel 
0 configured to native-PCI, channel 1 configured to native-PCI

pciide0: no compatibility interrupt for use by channel 0
pciide0: channel 1 disabled (no drives)
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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 bfc5 netmask ffed ttymask ffef
rd0: fixed, 3800 blocks
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02

Thanks in advance for any advice.

Thanks,

John H. Nyhuis
IT Manager
Dept. of Pediatrics
HS RR541C, Box 356320
University of Washington
Desk: (206)-685-3884
[EMAIL PROTECTED]



Re: : disklabel != /dev content

2007-07-27 Thread Raimo Niskanen
On Thu, Jul 26, 2007 at 12:50:33PM -0600, Mark Zimmerman wrote:
 On Thu, Jul 26, 2007 at 07:13:05PM +0200, hyjial wrote:
  Hi list !
  I recently jumped into the OpenBSD's world from
  GNU/Linux's one. I am still not familiar with some of
  OpenBSD's practices and encounter some problems.
  Well, here is the point :
  I have just installed OpenBSD-4.1-release on a IBM
  Thinkpad T22 laptop. Some mistakes (which I'd better
  not talk about ;) lead me to change my partitions
  layout : 
  I had a 10M wd0h and a 9G wd0i.
  I deleted wd0i and expanded wd0h.
  All this has been done by accessing the disk through a
  shell on the install CD.
  Now, disklabel(8) run from the on-disk system show the
  right size for wd0h.
  But the mounted wd0h partition still seems to have its
  ancient size (10M). I tried to delete the /dev/wd0h
  node and re-create it : no improvement. (df still
  shows 10M available).
 
 Did you rebuild the filesystem? (man newfs) You did not mention this.
 
 -- Mark

Disklabel only creates space for a filesystem. The filesystem
itself stays as it was created. This is the same in the Linux
world.

With some filesystems in the Linux world you can resize them
(at least expand) to e.g the new size of the available
disk partition space. Reiserfs can expand while mounted.
Ext3 while unmounted. OpenBSD ffs can also be expanded
but only while unmounted. See growfs(8).

I do not know if growfs is available on the installation CD.
If not, and if it is not possible to boot the system
without the wd0i disk slice,  you will have to create a
new empty disklabel slice, create a new filesystem on it,
and (if you need to) tar over the contents from the old filesystem.
This should be possible to do from the install CD. The command
manuals are available online at http://www.openbsd.org.

Copy something like:
# (cd /src  tar -cXf -) | (cd /dst  tar -xpf -)

If wd0h does not contain anything interesting, just
scratch it by creating a new filesystem on the
disk slice using newfs(8).

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: OBSD4.1 i386 IDE driver fails to find disk..?

2007-07-27 Thread Raimo Niskanen
On Fri, Jul 27, 2007 at 01:28:39PM -0700, John H. Nyhuis wrote:
   Greetings,
 
   My apologies if this is a repost.  I am having trouble getting this 
 through to the list.
 
   I am trying to install OpenBSD (i386) 4.1 and am failing to get it 
   to identify my standard parallel ide disk.  The disk is identified at 
 bootstrapping as hd0*+, but once the installer gets to the point of 
 Proceed with Install? [yes] I receive the message No Disks Found.
   The hardware checks out via CheckIT, and the FreeBSD installer does 
   not have a problem partitioning and formatting the disk, so I do not 
 believe this is hardware failure.  I know that OpenBSD probes hardware 
 differently then FreeBSD, so I think the root of my issue has to do with 
 OpenBSD drive probing.
   All standard pATA IDE controllers should be supported, according to 
   the hardware pages.
 
   Would someone mind looking over the attached dmesg and giving me 
   some ideas of how to resolve this?  I don't see anything that 
 immediately 
 stands out as an error (except for the USB stuff, which I don't need on 
 this box).
 

I am a beginner at this, but I marked two suspicious lines below.
It seems the drive is in native PCI mode whatever that means.
is there some kind of IDE compatibility settings in BIOS?
Try messing with them. Set the drive in legacy IDE compatibility
mode or something.

 
 
 OpenBSD 4.1 (RAMDISK) #260: Sat Mar 10 19:38:22 MST 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
 cpu0: Intel(R) Celeron(R) CPU 2.80GHz (GenuineIntel 686-class) 2.81 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,TM2,CNXT-ID,CX16,xTPR
 real mem  = 1064595456 (1039644K)
 avail mem = 967368704 (944696K)
 using 4278 buffers containing 53354496 bytes (52104K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 03/21/07, BIOS32 rev. 0 @ 0xf0010, 
 SMBIOS rev. 2.3 @ 0xf04c0 (53 entries)
 bios0: ASUSTeK Computer Inc. P5PE-VM
 apm0 at bios0: Power Management spec V1.2
 apm0: flags 30102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xf/0x1
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf86a0/176 (9 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0xa000! 0xca000/0x1000 0xcb000/0x1000
 acpi at mainbus0 not configured
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
 vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 0 not configured
 Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 1 not configured
 Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 2 not configured
 Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 3 not configured
 Intel 82801EB/ER USB2 rev 0x02 at pci0 dev 29 function 7 not configured
 ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
 pci1 at ppb0 bus 1
 em0 at pci1 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 14, 
 address 00:0e:0c:c3:05:1e
 em1 at pci1 dev 11 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 3, 
 address 00:0e:0c:b9:60:53
 skc0 at pci1 dev 13 function 0 Marvell Yukon 88E8001/8003/8010 rev 0x13, 
 Yukon Lite (0x9): irq 5
 sk0 at skc0 port A, address 00:1a:92:21:2e:8d
 ukphy0 at sk0 phy 0: Generic IEEE 802.3u media interface, rev. 5: OUI 
 0x005043, model 0x0002
 ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02

Here comes IDE:
 pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, 
 channel 0 configured to native-PCI, channel 1 configured to native-PCI
These look suspicious:
 pciide0: no compatibility interrupt for use by channel 0
 pciide0: channel 1 disabled (no drives)

 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
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: 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 bfc5 netmask ffed ttymask ffef
 rd0: fixed, 3800 blocks
 root on rd0a
 rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
 
   Thanks in advance for any advice.
 
   Thanks,
 
 John H. Nyhuis
 IT Manager
 Dept. of Pediatrics
 HS RR541C, Box 356320
 University of Washington
 Desk: (206)-685-3884
 [EMAIL PROTECTED]

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



OBSD4.1 i386 IDE driver fails to find disk..?

2007-07-27 Thread John H. Nyhuis

Greetings,

	I am trying to install OpenBSD (i386) 4.1 and am failing to get it to 
identify my standard parallel ide disk.  The disk is identified at bootstrapping 
as hd0*+, but once the installer gets to the point of Proceed with Install? 
[yes] I receive the message No Disks Found.
	The hardware checks out via CheckIT, and the FreeBSD installer does not 
have a problem partitioning and formatting the disk, so I do not believe this 
is hardware failure.  I know that OpenBSD probes hardware differently then 
FreeBSD, so I think the root of my issue has to do with OpenBSD drive probing.
	All standard pATA IDE controllers should be supported, according to the 
hardware pages.


	Would someone mind looking over the attached dmesg and giving me some 
ideas of how to resolve this?  I don't see anything that immediately stands out 
as an error (except for the USB stuff, which I don't need on this box).




OpenBSD 4.1 (RAMDISK) #260: Sat Mar 10 19:38:22 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: Intel(R) Celeron(R) CPU 2.80GHz (GenuineIntel 686-class) 2.81 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,TM2,CNXT-ID,CX16,xTPR

real mem  = 1064595456 (1039644K)
avail mem = 967368704 (944696K)
using 4278 buffers containing 53354496 bytes (52104K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 03/21/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.3 @ 0xf04c0 (53 entries)

bios0: ASUSTeK Computer Inc. P5PE-VM
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf86a0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa000! 0xca000/0x1000 0xcb000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 0 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 1 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 2 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 3 not configured
Intel 82801EB/ER USB2 rev 0x02 at pci0 dev 29 function 7 not configured
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci1 at ppb0 bus 1
em0 at pci1 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 14, 
address 00:0e:0c:c3:05:1e
em1 at pci1 dev 11 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 3, 
address 00:0e:0c:b9:60:53
skc0 at pci1 dev 13 function 0 Marvell Yukon 88E8001/8003/8010 rev 0x13, Yukon 
Lite (0x9): irq 5

sk0 at skc0 port A, address 00:1a:92:21:2e:8d
ukphy0 at sk0 phy 0: Generic IEEE 802.3u media interface, rev. 5: OUI 0x005043, 
model 0x0002

ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, channel 
0 configured to native-PCI, channel 1 configured to native-PCI

pciide0: no compatibility interrupt for use by channel 0
pciide0: channel 1 disabled (no drives)
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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 bfc5 netmask ffed ttymask ffef
rd0: fixed, 3800 blocks
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02

Thanks in advance for any advice.

Thanks,

John H. Nyhuis
IT Manager
Dept. of Pediatrics
HS RR541C, Box 356320
University of Washington
Desk: (206)-685-3884
[EMAIL PROTECTED]



Re: OBSD4.1 i386 IDE driver fails to find disk..?

2007-07-27 Thread Nick Holland

John H. Nyhuis wrote:

Greetings,

My apologies if this is a repost.  I am having trouble getting this 
through to the list.


I am trying to install OpenBSD (i386) 4.1 and am failing to get it 
to identify my standard parallel ide disk.  The disk is identified at 
bootstrapping as hd0*+, but once the installer gets to the point of 
Proceed with Install? [yes] I receive the message No Disks Found.


The bootstrap detects the hard disk because it is talking to the BIOS, 
whereas OpenBSD has to talk to the HW directly.


The hardware checks out via CheckIT, and the FreeBSD installer does 
not have a problem partitioning and formatting the disk, so I do not 
believe this is hardware failure.  I know that OpenBSD probes hardware 
differently then FreeBSD, so I think the root of my issue has to do with 
OpenBSD drive probing.


well...actually, looking at your provided dmesg (thanks!), it looks 
like IRQ...


All standard pATA IDE controllers should be supported, according to 
the hardware pages.


well..most.  And yours is, but you have other problems.

Would someone mind looking over the attached dmesg and giving me 
some ideas of how to resolve this?  I don't see anything that 
immediately stands out as an error (except for the USB stuff, which I 
don't need on this box).


That's may just be because you are running a kernel with limited 
driver support.  But yes, not an issue at the moment.




OpenBSD 4.1 (RAMDISK) #260: Sat Mar 10 19:38:22 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: Intel(R) Celeron(R) CPU 2.80GHz (GenuineIntel 686-class) 2.81 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,TM2,CNXT-ID,CX16,xTPR 


real mem  = 1064595456 (1039644K)
avail mem = 967368704 (944696K)
using 4278 buffers containing 53354496 bytes (52104K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 03/21/07, BIOS32 rev. 0 @ 0xf0010, 
SMBIOS rev. 2.3 @ 0xf04c0 (53 entries)

bios0: ASUSTeK Computer Inc. P5PE-VM
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf86a0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 
0x00)

pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa000! 0xca000/0x1000 0xcb000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 0 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 1 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 2 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 3 not configured
Intel 82801EB/ER USB2 rev 0x02 at pci0 dev 29 function 7 not configured
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci1 at ppb0 bus 1
em0 at pci1 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 
14, address 00:0e:0c:c3:05:1e


irq 14 looks a little scary to me...

em1 at pci1 dev 11 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 
3, address 00:0e:0c:b9:60:53
skc0 at pci1 dev 13 function 0 Marvell Yukon 88E8001/8003/8010 rev 
0x13, Yukon Lite (0x9): irq 5

sk0 at skc0 port A, address 00:1a:92:21:2e:8d
ukphy0 at sk0 phy 0: Generic IEEE 802.3u media interface, rev. 5: OUI 
0x005043, model 0x0002

ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide0: no compatibility interrupt for use by channel 0


oops.


pciide0: channel 1 disabled (no drives)

...

Looks to me like you are having interrupt routing issues.

STEP 1: Go into your BIOS, and try resetting everything back to 
defaults.  Sometimes, people get in and improve things so much that 
things break.


STEP 2: Try adjusting things in the BIOS.  Sometimes the defaults 
DON'T work. :)  I'd aim at maybe making that IRQ14 an ISA IRQ.  Don't 
quote me on this, I'm not as up on PCI interrupt handling as I should 
be, but seeing something sitting on IRQ14 was really bad back in the 
ISA days. :)


STEP 3: Try poking pcibios(4) with ukc (see FAQ 5).  Try disabling it 
first, then giving it various flags (I'd tell you which to try, 'cept 
it usually isn't the one I'd have guessed, so I'm just gonna say, try 
'em all, 0x1, 0x2, 0x4, 0x8 ..)


Nick.



OBSD4.1 i386 IDE driver fails to find disk..?

2007-07-27 Thread John H. Nyhuis (personal)

Greetings,

	I am trying to install OpenBSD (i386) 4.1 and am failing to get it to 
identify my standard parallel ide disk.  The disk is identified at 
bootstrapping as hd0*+, but once the installer gets to the point of 
Proceed with Install? [yes] I receive the message No Disks Found.
	The hardware checks out via CheckIT, and the FreeBSD installer does not 
have a problem partitioning and formatting the disk, so I do not believe 
this is hardware failure.  I know that OpenBSD probes hardware 
differently then FreeBSD, so I think the root of my issue has to do with 
OpenBSD drive probing.
	All standard pATA IDE controllers should be supported, according to the 
hardware pages.


	Would someone mind looking over the attached dmesg and giving me some 
ideas of how to resolve this?  I don't see anything that immediately 
stands out as an error (except for the USB stuff, which I don't need on 
this box).




OpenBSD 4.1 (RAMDISK) #260: Sat Mar 10 19:38:22 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: Intel(R) Celeron(R) CPU 2.80GHz (GenuineIntel 686-class) 2.81 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,TM2,CNXT-ID,CX16,xTPR
real mem  = 1064595456 (1039644K)
avail mem = 967368704 (944696K)
using 4278 buffers containing 53354496 bytes (52104K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 03/21/07, BIOS32 rev. 0 @ 0xf0010, 
SMBIOS

rev. 2.3 @ 0xf04c0 (53 entries)
bios0: ASUSTeK Computer Inc. P5PE-VM
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf86a0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa000! 0xca000/0x1000 0xcb000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 0 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 1 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 2 not configured
Intel 82801EB/ER USB rev 0x02 at pci0 dev 29 function 3 not configured
Intel 82801EB/ER USB2 rev 0x02 at pci0 dev 29 function 7 not configured
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci1 at ppb0 bus 1
em0 at pci1 dev 9 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 14,
address 00:0e:0c:c3:05:1e
em1 at pci1 dev 11 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 3,
address 00:0e:0c:b9:60:53
skc0 at pci1 dev 13 function 0 Marvell Yukon 88E8001/8003/8010 rev 
0x13, Yukon

Lite (0x9): irq 5
sk0 at skc0 port A, address 00:1a:92:21:2e:8d
ukphy0 at sk0 phy 0: Generic IEEE 802.3u media interface, rev. 5: OUI 
0x005043,

model 0x0002
ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, 
channel

0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: no compatibility interrupt for use by channel 0
pciide0: channel 1 disabled (no drives)
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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 bfc5 netmask ffed ttymask ffef
rd0: fixed, 3800 blocks
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02

Thanks in advance for any advice.

Thanks,

John H. Nyhuis
Home: (206)-361-5997
[EMAIL PROTECTED]



Re: ppp logging - solved?

2007-07-27 Thread Jeff Quast
On 7/27/07, J.D. Bronson [EMAIL PROTECTED] wrote:
 At 11:34 AM 07/27/2007, you wrote:
 I'm sorry -- could you clarify, where were you starting ppp before,
 when it syslogd was not logging? I can't find this in your last email
 either?
 
 You are saying it works fine under rc.local, and fine under
 hostname.tun0, where else would you start it?

 the issue is that syslogd comes up AFTER /etc/rc.network is ran
 so since I am using PPP (via hostname.tun0 to start) ppp does not
 log.

i wanted to ask again because i start ppp from hostname.tun0 without
any syslog issues.

you don't connect() to syslog or open a channel like a tcp/ip socket.
it just kinda throws it. syslogd can catch, it if it wants. probobly
the reason for udp over the network

my setup is for evdo modem, not pppoe, and im a release behind. thats
the only thing i can think of.

maybe you missed something.

$ cat /etc/hostname.tun0
inet 99.0.0.1 255.255.255.0 99.0.0.2
up
!ppp -ddial -nat
$ grep -A 2 ppp /etc/syslog.conf
!ppp
*.* /var/log/ppp
$ cat /etc/ppp/ppp.conf
default:
set log Phase Chat Warning
set device /dev/cuaU0
set speed 230400
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\\ AT OK-AT-OK ATE1Q0s7=60 OK \\dATDT\\T TIMEOUT 40 CONNECT
set phone #777
set login
set authname [EMAIL PROTECTED]
set authkey lies
set timeout 0
add! default HISADDR
add! 192.168.0/24 HISADDR
set resolv readonly
disable vjcomp deflate
add! default HISADDR6
$ uname -a
OpenBSD gateway.1984.ws 4.0 GENERIC#1107 i386
$ sudo reboot

(time passes, we login after its done rebooting...)

$ tail -n 10 /var/log/ppp
Jul 15 08:58:54 gateway ppp[14386]: Phase: deflink: login - lcp
Jul 15 08:58:54 gateway ppp[14386]: Phase: deflink: lcp - open
Jul 15 08:59:01 gateway ppp[14386]: Phase: bundle: Network
Jul 15 08:59:01 gateway ppp[14386]: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !
Jul 15 08:59:01 gateway ppp[14386]: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !
Jul 15 08:59:01 gateway ppp[14386]: Error: rt_Set: Cannot add a route
with gateway 0.0.0.0
Jul 15 08:59:01 gateway ppp[14386]: Warning: 0.0.0.0/0: Change route
failed: errno: No such process
Jul 15 08:59:01 gateway ppp[14386]: Warning: ff02:9::/32: Change route
failed: errno: Network is unreachable
Jul 15 08:59:04 gateway ppp[14386]: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !
Jul 15 08:59:13 gateway last message repeated 3 times

$ date
Sat Jul 15 09:00:00 EDT 2034

so nobody tells me or asks -- I know the date is wrong, i need a new
battery, and sprint routes to reachable machines in the 192.168.0/24
range, i thought it was neat so i checked it out.

i show you mine, now you show me yours?



Re: Unstable PPPoE

2007-07-27 Thread Stuart Henderson
 it's the hardware, driver or something associated, I don't know.  You
 might want to try another Ethernet connection.  FWIW, I've never been
 a fan of USB Ethernet.

url works surprisingly well, but I didn't like aue much. All luck of
the draw with cheap ebay vendors though :)



Xorg issues with PowerBook G4 and OpenBSD 4.1

2007-07-27 Thread Amit
Hey all,

First post in this mailing list and I would like to take the
opportunity to thank all the OpenBSD developers for a wonderful OS.

I have recently switched over to running OpenBSD full time on my
PowerBook G4 500MHz. OpenBSD has been running great! It seems like all
the hardware has ben detected automatically. However, I had some
issues with xorg.conf. After some tweaking, I was finally able to get
hardware acceleration as well as native resolution. But now, whenever
I exit FVWM, X doesn't seem to properly quit. I get flashing white
lines and I can't see anything. I am however still able to type 'sudo
reboot' so I can get back to my system without hard powering it off.

Any one has any ideas or familiarity with this issue? Another
Powerbook user out there that has a working xorg.conf? Thanks.

**xorg.conf*
Section ServerLayout
Identifier  Sample Config
Screen  0   Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
EndSection

Section Module
Loadfreetype
Loadglx
Loadextmod
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  Protocolstandard
Option  XkbRulesxorg
Option  XkbModelmacintosh
Option  XkbLayout   us
EndSection

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

Section Monitor
Identifier   Monitor
VendorName   Generic
ModelNameTwentyOneInches
# Adjust those to your monitor before using another device than wsfb
# or you can destroy it !!
#HorizSync30.0-160.0
#   VertRefresh  50.0-160.0
HorizSync31.5-60
VertRefresh  50-70
Modeline 1152x768 78.741 1152 1173 1269 1440  768 769 772 800 +HSync 
+VSync
#   Modeline 1152x768 64.995 1152 1213 1349 1472 768 771 777 806 +HSync 
+VSync
EndSection

Section Device
Identifier  Card0
Driver  r128
VendorName  ATI
BusID   PCI:0:16:0
Option  PanelWidth 1152
Option  PanelHeight 768 
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor
DefaultDepth 24
SubSection Display
Depth 8
Modes   1152x768
EndSubSection
SubSection Display
Depth 16
Modes   1152x768
EndSubSection
SubSection Display
Depth 24
Modes   1152x768
EndSubSection
EndSection
***end xorg.conf



Re: Macbook on Openbsd

2007-07-27 Thread Aaron Hsu
On 2007-07-25 01:13:41 -0500, Karl Sjvdahl - dunceor 
[EMAIL PROTECTED] said:



I'm being hold a bit back when it says I can't even use the keyboard
on it on OpenBSD, that really sucks.


Have you seen my report on my experiences on using the Macbook Pro with 
OpenBSD?


http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html
--
Aaron Hsu [EMAIL PROTECTED]

No one could make a greater mistake than he who did nothing because he 
could do only a little. - Edmund Burke