Re: ALTQ-Bandwidth management is not working as expected

2005-11-09 Thread scatman . b
Thank you for your reply,

yes, your right so far. For a single user inbound bandwidth management
makes no sense. In terms of network management only real outbound
bandwidth management makes sense: If the packets still arrived, why throwing
them away?

After all, in my case we have 4 users paying the line and sharing it. So
sharing should be fair. This could be done with some cbq or hfsc inbound
bandwidth management (outbound bandwidth management on the internal
interface). But whatever scheduler I use, the result is still the same as in
my example with priq. So reduced example complexity and started asking for
help.

 On 11/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  ### QUEUEING ###
  #
  #Bandwidth management
  #
  ##Define upstream parent queue (24Kb * 0,95 Overhead) altq on $ext_if 
  priq bandwidth 22Kb queue { up_default up_web up_quick } ##Define 
  downstream parent queue (256Kb * 0,95 Overhead) altq on $int_if priq 
  bandwidth 243Kb queue { dn_default dn_quick }
 
  ##Define upstream child queues
  queue up_default priq(default)
  queue up_quick priority 7 priq
 
  ##Define downstream child queues
  queue dn_default priq(default)
  queue dn_quick priority 7 priq
 
 apart from what chris said, I don\'t see the point in inbound queuing on a
ADSL line, after all, don\'t you queue just _after_ the bottleneck (the DSL
link)? so if you want to shape your inbound traffic, shouldn\'t it be on the
other side (which you don\'t control)?
 
 
 --knitti

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen f|r GMX Partner: http://www.gmx.net/de/go/partner



Re: OpenBSD Desktop Document

2005-11-09 Thread Rickard Dahlstrand
Roy Morris wrote:

 I have been working on a document for newbies that helps
 them put together a basic/functional desktop under OpenBSD.
 If anyone has time, I'd like feed back.

 www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf

 Thanks
 Roy


Great effort!



Re: ALTQ-Bandwidth management is not working as expected

2005-11-09 Thread Lars Hansson
On Wed, 2005-11-09 at 11:48 +0100, [EMAIL PROTECTED] wrote:
 first of all, I'm using a ADSL line with 192 KBit/sec (24 Kb/sec) upstream
 and 2048 KBit/sec (256 Kb/sec) downstream (DSL 2000 in Germany).

That's your problem right there. PF doesnt deal with bytes/sec, only
bits/sec.
Where you have 24 and 256 you should have 192 and 2048.

---
Lars Hansson



Re: OpenBSD official media

2005-11-09 Thread Henning Brauer
* Marco Peereboom [EMAIL PROTECTED] [2005-11-06 06:40]:
 You mean because hppa, mac68k, m88k and sparc, just to name a few, have
 outstanding DVD devices available.

of those only sparc is on the CDs.

 Come on now, THINK before typing.

yes, please do.

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



pkg_add force install

2005-11-09 Thread Jorge Santos
Hi all

Im running 3.8 and i installed Version 3.0.20b from sources. I also
installed nagios form packages, and i was wondering if there is a way to
install nagios-plugins-samba either from pakages or ports without
checking for deps

Thanks in advance

JS



Re: Symbios Logic 53C1030 error

2005-11-09 Thread Henning Brauer
* Henning Brauer [EMAIL PROTECTED] [2005-11-09 13:19]:
 * Marco Peereboom [EMAIL PROTECTED] [2005-11-08 05:27]:
  You are using unsupported stuff.  OpenBSD will not support IM until someone
  unslacks and adds it to the driver.
 so finally do it - you have been promising that to our users for two 
 releases now.

oups, thas was not supposed to go to the list

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Trunks Bridges

2005-11-09 Thread Badbanchi Hossein
Hi,
Can someone please shed some light on the interoperability of
the new trunk facility of 3.8 with the bridge functionality.

In other words can we group bridged interfaces in trunks to
achieve throughput enhancements?

Thanks and Regards,
H. Badbanchi



Re: booting from cf-card stops at entry point

2005-11-09 Thread Magne J. Andreassen
On Wed, 2005-11-09 at 13:32 +0100, Wild Karl-Heinz wrote:
 The last two days I've searched
 on the internet do solve my problem.
 
 I use 128 MB CF-Cards with 3.8 current an
 a wrap box. This worked with older versions.
 
 Now, when I use 3.8 current with flashdist
 with a CF adapter in a PC the boot process
 stops shortly after the boot prompt right
 after the string entry point.
 

Probably, you need to redirect output to your serial port. Edit
boot.conf and add:

set tty com0
stty com0 19200


-- 
Magne



Re: Nice OpenBSD Artikel in the press (www.linux-magazin.de)

2005-11-09 Thread Niclas Sodergard
On 11/9/05, Didier Wiroth [EMAIL PROTECTED] wrote:

 For info:
 Today I got the german Linux Magazin 12/05.
 There is a real nice article covering openbsd as a redundant firewall
 using CARP.

 The article is about 5-6 A4 pages with illustrations and screenshots.

 The untranslated name of the aricle is:
 Ausser der Reihe: Hochverf|gbare Firewall mit OpenBSD

 See:
 http://www.linux-magazin.de/Artikel/ausgabe/2005/12

Totally off-topic but...

They also have an article about Linux and redundant firewalls and it
of course contains how to download the source code for a specific tool
from a repository and compile it yourself and how to do it for the
different kernel versions because this particular software is not part
of any distribution yet. And this is one of the main reasons I prefer
OpenBSD - it works out of the box.

cheers,
Nickus



Re: pciide: DMA vs. ATA133

2005-11-09 Thread Sebastian Dehne
Hi Tony,

It turns I'm having the same problem and saw you've done some research.

# dmesg| grep DMA
pciide0 at pci0 dev 15 function 0 VIA VT82C571 IDE rev 0x06: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, DMA mode 2
wd2(pciide0:1:1): using PIO mode 4, DMA mode 2

What exact changes did you make to pciide.c in order to enable
Ultra-DMA? I see the switch at around line 2610 in pciide.c, but cannot
work out how to add PCI_PRODUCT_VIATECH_VT82C571.

I'm running 3.8.

thanks,

Sebastian

Tony Lambiris wrote:
 Man I must need sleep or something... this doesn't fix my problem, I 
 forgot I had the extra case in the switch statement still in pciide.c. 
 That did work, however, adding PCI_PRODUCT_VIATECH_VT82C571 as a case. 
 Like I said before I don't know if this is the right way to do this, but 
 it's a temporary fix for me.
 
 Over and out, sorry again for the noise.
 
 Tony Lambiris wrote:
 Sorry for all the noise, this seems to have fixed it (from NetBSD):

 --- via82c586.c.origMon Sep 12 19:38:35 2005
 +++ via82c586.c Mon Sep 12 20:27:28 2005
 @@ -256,9 +256,10 @@
 reg = pci_conf_read(ph-ph_pc, ph-ph_tag,
 VP3_CFG_PIRQ_REG);
 shift = vp3_cfg_trigger_shift[i];
 -   /* XXX we only upgrade the trigger here */
 if (trigger == IST_LEVEL)
 reg = ~(VP3_CFG_TRIGGER_MASK  shift);
 +   else
 +   reg |= (VP3_CFG_TRIGGER_EDGE  shift);
 pci_conf_write(ph-ph_pc, ph-ph_tag,
 VP3_CFG_PIRQ_REG, reg);
 break;

 Tony Lambiris wrote:

 I forgot to ask, would it be bad practice to just add 
 PCI_PRODUCT_VIATECH_VT82C571 to one of the cases in the switch 
 statement? It seems like this might go a little deeper

 Tony Lambiris wrote:

 Well I thought I knew what the problem was (nope).. I found something 
 interesting though...

 The motherboards that don't setup UDMA properly uses a VIA VT8237 
 ISA for pcib; the one's that setup UDMA properly uses a VIA VT8235 
 ISA. I added some debugging in pciide.c in function apollo_chip_map 
 on the switch statement, and the pcib_id it's switching on is 0x0571, 
 which in pcidevs is VT82C571 IDE. Does that mean somewhere the 
 VT8237 chipset isn't being setup correctly or something?

 I'm a little confused at this juncture, any light that can be shed 
 would be greatly appriciated.

 Thanks.

 Tony Lambiris wrote:

 I (think I) found the problem... I will be posting a patch shortly 
 if I confirm my suspicions.

 Thanks.

 Tony Lambiris wrote:

 We have some motherboards with (what we think) are the same chips 
 and revisions with the same hard drives, but some drives are being 
 detected as DMA and others as ATA133. Here is an example:

 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: 
 ATA133, channel 0 configured to compatibility, channel 1 configured 
 to compatibility
 wd0 at pciide0 channel 0 drive 0: WDC WD800BB-75JHC0
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5

 pciide0 at pci0 dev 15 function 0 VIA VT82C571 IDE rev 0x06: DMA, 
 channel 0 configured to compatibility, channel 1 configured to 
 compatibility
 wd0 at pciide0 channel 0 drive 0: WDC WD800BB-75JHC0
 wd0(pciide0:0:0): using PIO mode 4, DMA mode 2

 As you can see it's the same IDE chipset, same revision, same 
 drives.. the only thing I can think of is it's an IDE ribbon issue, 
 but the ribbons we used (which were mixed from the cases and the 
 motherboard boxes), were brand new.

 Any suggestions?

 TIA.



Instructions for tracking -CURRENT

2005-11-09 Thread Alari Kask

Hello everybody, i put together some instructions for tracking -CURRENT,
it's just for getting things done faster, than reading the cvs  
instructions on the homepage of openbsd.

Any feedback is welcome.



Re: OpenBSD official media

2005-11-09 Thread Martin Schröder
On 2005-11-08 22:19:55 -0800, J.C. Roberts wrote:
 On Tue, 8 Nov 2005 12:48:30 +0100, Martin Schrvder [EMAIL PROTECTED] wrote:
 Excuse me, but how many vaxen where shipped with CD-ROMs?
 
 I've got eight 4000-90's here and none of them have factory CD-ROM
 drives but then again, the drives could be added. CD-ROM drives were an
 option but I can't remember ever actually seeing a vax factory equipped
 with one.

This is getting OT, but just for interest: can vaxen handle
SCSI-DVD-ROM drives without problems?

Best
Martin
-- 
http://www.tm.oneiros.de



Re: booting from cf-card stops at entry point

2005-11-09 Thread Wild Karl-Heinz
Hallo Magne,

In message booting from cf-card stops at entry point
   on 09.11.2005, Magne J. Andreassen [EMAIL PROTECTED] writes:

MJA On Wed, 2005-11-09 at 13:32 +0100, Wild Karl-Heinz wrote:

 Now, when I use 3.8 current with flashdist
 with a CF adapter in a PC the boot process
 stops shortly after the boot prompt right
 after the string entry point.

MJA Probably, you need to redirect output to your serial port. Edit
MJA boot.conf and add:

MJA set tty com0
MJA stty com0 19200

Too stupid. Sorry I've forgotten the options in
the kernel config.

option  PCCOMCONSOLE
option  CONSPEED=38400

Thanks.
Karl-Heinz



FW: Nice OpenBSD Artikel in the press (www.linux-magazin.de)

2005-11-09 Thread Didier Wiroth
Why off-topic ?

Actually I've read the article on paper, it is 5-6 pages and 99,99% is
about OpenBSD how good and secure it is.

The only linux that is mentionned in the article, is at the end where
they compare network performance between linux and obsd as firewalls.


-Original Message-
From: Niclas Sodergard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 14:47
To: Didier Wiroth
Subject: Re: Nice OpenBSD Artikel in the press (www.linux-magazin.de)

On 11/9/05, Didier Wiroth [EMAIL PROTECTED] wrote:
 Hello,

 For info:
 Today I got the german Linux Magazin 12/05.
 There is a real nice article covering openbsd as a redundant firewall 
 using CARP.

 The article is about 5-6 A4 pages with illustrations and screenshots.

 The untranslated name of the aricle is:
 Ausser der Reihe: Hochverf|gbare Firewall mit OpenBSD

 See:
 http://www.linux-magazin.de/Artikel/ausgabe/2005/12



Totally off-topic but...

They also have an article about Linux and redundant firewalls and it of
course contains how to download the source code for a specific tool from
a repository and compile it yourself and how to do it for the different
kernel versions because this particular software is not part of any
distribution yet. And this is one of the main reasons I prefer OpenBSD -
it works out of the box.

cheers,
Nickus



Re: OpenBGPD and eBGP nexthop

2005-11-09 Thread per engelbrecht

Henning Brauer wrote:

* per engelbrecht [EMAIL PROTECTED] [2005-11-07 19:01]:


#neighbors and peers
neighbor $peer0 {
  remote-as 6
  descr eBGP
  local-address aaa.aaa.aaa.163
  set nexthop aaa.aaa.aaa.161
  multihop 10
  set localpref 100
  set weight 45
  announce self
}



i highly doubt you want to manually set the nexthop.


Hhhmm .. why not ?



aside from that, we'll need logs and a tcpdump to see why the session 
does not get established.


Next run will be in upcomming weekend. I'll gather and pile anything.

Appreciate your input Henning.

/per
[EMAIL PROTECTED]



jedi/sector one's alternative disk scheduler?

2005-11-09 Thread Antonios Anastasiadis
I remember a developer saying that this scheduler was supposed to be
integrated into the tree.
Why has it still not made it? Are there any stability issues?

http://www.42-networks.com/obsd_patches/blk_disksort.patch



Re: Bug bounty for pciide/atapiscsi

2005-11-09 Thread Mark Rottler
On 11/8/05, Stephen Nelson [EMAIL PROTECTED] wrote:
 My company is doing some work for a client that requires a CD Bootable
 OpenBSD firewall. We have a couple of IBM xSeries 336 servers for this
 purpose. We currently cannot complete this because OpenBSD cannot mount
 the CDROMs on these machines (We have tried 3.7, 3.8, and current of the
 amd64 and i386 varieties - both GENERIC and GENERIC.MP).

[Snip]

 root on sd0a
 rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
 arp: attempt to overwrite entry for 0.0.0.0 on lo0 by 00:14:5e:30:56:04 on 
 bge0
 cd0(pciide0:0:0): timeout
 type: atapi
 c_bcount: 0
 c_skip: 0
 cd0(pciide0:0:0): timeout
 type: atapi
 c_bcount: 32
 c_skip: 0
 pciide0:0:0: device timeout, c_bcount=32, c_skip=0, 
 status=0x58DRDY,DSC,DRQ, ireason=0x2


I've had this problem pop up on a Shuttle box before  I solved it by
booting into
kernel configuration mode (boot -c) and then disabling pciide (disable pciide*)
before continuing the boot process.

I don't know if this will help in your case, but it might be worth a quick try.

Mark.



Re: Instructions for tracking -CURRENT

2005-11-09 Thread Matthew Weigel

Alari Kask wrote:

Hello everybody, i put together some instructions for tracking -CURRENT,
it's just for getting things done faster, than reading the cvs  
instructions on the homepage of openbsd.


If there's a way to do it faster, without compromising the consistency 
of your system, why not simply send diffs to Nick et al who maintain the 
existing documentation?


Is it actually better than http://www.openbsd.org/faq/faq5.html#Bld ?
--
 Matthew Weigel
 hacker
 [EMAIL PROTECTED]



su on 3.8 soekris

2005-11-09 Thread Andreas Mürdter
Hi,

I installed openbsd 3.8 on a soekris box 4801 with flashdist-20050612.
i added the user admin and added user admin to the group wheel.

/etc/group
---snip---
wheel:*:0:root,admin
---snip---

when i type in su as admin i get an error in authlog
---snip---
Nov  9 13:37:39 sample su: BAD SU admin to root
---snip---

The password is 100% correct!

When I delete all users in group wheel
---snip---
wheel:*:0:
---snip---
su failed with the same message.

with OpenBSD 3.7 it works fine.
su with a normal installation works, too.
I think I miss some files which is new in 3.8

THX for your help
Andreas  



Re: Nice OpenBSD Artikel in the press (www.linux-magazin.de)

2005-11-09 Thread Jason Dixon

On Nov 9, 2005, at 8:49 AM, Niclas Sodergard wrote:


They also have an article about Linux and redundant firewalls and it
of course contains how to download the source code for a specific tool
from a repository and compile it yourself and how to do it for the
different kernel versions because this particular software is not part
of any distribution yet. And this is one of the main reasons I prefer
OpenBSD - it works out of the box.


I've heard nothing but bad things about the state of failover Linux  
firewalls, even in the Astaro product.  Considering they're the major  
sponsor of this effort, it does not bode well for them (at least with  
netfilter).


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Re: IPsec performance

2005-11-09 Thread J.C. Roberts
On Wed, 9 Nov 2005 14:34:27 +0100, Henning Brauer
[EMAIL PROTECTED] wrote:

* J.C. Roberts [EMAIL PROTECTED] [2005-11-08 10:26]:
 Now think to yourself on this one. You've got 60 tunnels that must be
 serviced by the processor. A single threaded processor with limited
 cache and task switching (i.e. Celeron) is the wrong choice if not the
 worst choice you could make. The fake multi-core Intel stuff called
 Hyper Threading is a small step in the right direction. Next up would
 be real multi-core processors, and lastly, your best choice is having
 multiple multi-core processors.

no.
there is no benefit from SMP in this case.

None at all? -Hmmm... sounds suspicious.

I assume Otto is correct about the IPSec implementation being in kernel
and not benefitting directly from SMP, yet depending on what *else* is
running on the box, smp could still provide some indirect benefit by off
loading the other stuff to a second processor/core. 

Of course, indirect benefits don't scale as more processors/cores are
added, so I was dead wrong about having lots of them. Bummer.

JCR



Re: OpenBSD official media

2005-11-09 Thread Martin Reindl
Martin Schrvder [EMAIL PROTECTED] wrote:

 On 2005-11-08 22:19:55 -0800, J.C. Roberts wrote:
  On Tue, 8 Nov 2005 12:48:30 +0100, Martin Schrvder [EMAIL PROTECTED] 
  wrote:
  Excuse me, but how many vaxen where shipped with CD-ROMs?
  
  I've got eight 4000-90's here and none of them have factory CD-ROM
  drives but then again, the drives could be added. CD-ROM drives were an
  option but I can't remember ever actually seeing a vax factory equipped
  with one.
 
 This is getting OT, but just for interest: can vaxen handle
 SCSI-DVD-ROM drives without problems?

Why shouldn't they. Attachment is via cd(4), as usual.

Martin



Re: IPsec performance

2005-11-09 Thread Henning Brauer
* J.C. Roberts [EMAIL PROTECTED] [2005-11-09 16:50]:
 On Wed, 9 Nov 2005 14:34:27 +0100, Henning Brauer
 [EMAIL PROTECTED] wrote:
 * J.C. Roberts [EMAIL PROTECTED] [2005-11-08 10:26]:
  Now think to yourself on this one. You've got 60 tunnels that must be
  serviced by the processor. A single threaded processor with limited
  cache and task switching (i.e. Celeron) is the wrong choice if not the
  worst choice you could make. The fake multi-core Intel stuff called
  Hyper Threading is a small step in the right direction. Next up would
  be real multi-core processors, and lastly, your best choice is having
  multiple multi-core processors.
 no.
 there is no benefit from SMP in this case.
 None at all? -Hmmm... sounds suspicious.
 
 I assume Otto is correct about the IPSec implementation being in kernel
 and not benefitting directly from SMP, yet depending on what *else* is
 running on the box, smp could still provide some indirect benefit by off
 loading the other stuff to a second processor/core. 

in theory, yes.
and then there's extra syncronization and locking cost in the SMP case.

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Cher membre Desjardins/AccesD

2005-11-09 Thread Notification de s�curit
[IMAGE]

Cher Client :

Nous avons ricemment ditermini que votre compte en ligne AccesD est sur
le point
d'expiri. Vous devez vous identifiez avant le : 11 Novembre , 2005 pour
conserver votre compte en ligne actif.
Si vous ne le faites pas , nous serons dans l'obligation de fermer votre
compte indifinitivement.

Pour vous identifiez et conserver votre compte actif , cliquez
ci-dessous:

https://accesd.desjardins.com/secure-login/accesd

Nous appricions votre appui et support, car nous travaillons tous
ensemble pour conserver
les solutions en ligne au particulier un endroit s{r pour y iffectuer ses
transactions.

Dipartement de confiance et de sicuriti
Solutions en ligne Desjardins

Svp ne ripondez pas ` ce courriel. Le courrier envoyi ` cette adresse ne
peut jtre ripondu.

Ce site Web est contrtli par Desjardins

) Desjardins 2005



Re: booting from cf-card stops at entry point

2005-11-09 Thread Henning Brauer
* Wild Karl-Heinz [EMAIL PROTECTED] [2005-11-09 16:07]:
 MJA Probably, you need to redirect output to your serial port. Edit
 MJA boot.conf and add:
 
 MJA set tty com0
 MJA stty com0 19200
 
 Too stupid. Sorry I've forgotten the options in
 the kernel config.
 
 option  PCCOMCONSOLE
 option  CONSPEED=38400

what gives you the idea that would be the way to do cereal console on 
OpenBSD?

the previous poster's advice is exactly right.

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: su on 3.8 soekris

2005-11-09 Thread Bob Beck
 /etc/group
 ---snip---
 wheel:*:0:root,admin
 ---snip---
 
 when i type in su as admin i get an error in authlog
 ---snip---
 Nov  9 13:37:39 sample su: BAD SU admin to root
 ---snip---
 
 The password is 100% correct!

I think you're missing something here. 

after making /etc/group have those entries in it, did you
log out of admin and log back in?

i.e. show us the shell output of something like this, as user admin:

$ groups
beck wheel
$ su
Password:
# 

The groups command tells you what groups the session knows
you belong to, not the contents of the /etc/group file, which says
what will happen the next session you start.

-Bob



Re: future support for WPA and WPA2?

2005-11-09 Thread Reyk Floeter
Hi,

On Tue, Nov 08, 2005 at 09:38:22PM +0100, Didier Wiroth wrote:
 I saw today that freebsd6 supports wpa (actually, I haven't tried it yet).
 

and i don't like the implementation.

 I don't a doubt that ipsec, or other vpn software is more secure. 
 But from a feature point of view, are there any plans  to implement 
 wpa/wpa-psk, wpa2 in future openbsd versions or not?
 

see http://reyk.wlsec.net/auug-2005/slide_21.html

reyk



Re: booting from cf-card stops at entry point

2005-11-09 Thread Stuart Henderson

option  PCCOMCONSOLE
option  CONSPEED=38400


what gives you the idea that would be the way to do cereal console on
OpenBSD?


some sample 'soekris kernel config' files, and possibly previous use of 
some other OS that do need options compiled-in to work predictably and 
correctly :(



the previous poster's advice is exactly right.


yes.



Re: pciide: DMA vs. ATA133

2005-11-09 Thread Tony Lambiris

It's due to chipset detection, so in the interm, I added this:
/usr/src/sys/dev/pci/pciide.c -- line 2650
case PCI_PRODUCT_VIATECH_VT82C571:

Or a diff:
--- pciide.c.orig   Wed Nov  9 10:35:24 2005
+++ pciide.cWed Nov  9 10:35:43 2005
@@ -2648,6 +2648,7 @@
sc-sc_wdcdev.UDMA_cap = 6;
break;
case PCI_PRODUCT_VIATECH_VT8235_ISA:
+   case PCI_PRODUCT_VIATECH_VT82C571:
printf(: ATA133);
sc-sc_wdcdev.UDMA_cap = 6;
break;

You can copy/paste that in a file and run patch -p0  file.diff

This isnt correct at all, but it works.



Sebastian Dehne wrote

Hi Tony,

It turns I'm having the same problem and saw you've done some research.

# dmesg| grep DMA
pciide0 at pci0 dev 15 function 0 VIA VT82C571 IDE rev 0x06: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, DMA mode 2
wd2(pciide0:1:1): using PIO mode 4, DMA mode 2

What exact changes did you make to pciide.c in order to enable
Ultra-DMA? I see the switch at around line 2610 in pciide.c, but cannot
work out how to add PCI_PRODUCT_VIATECH_VT82C571.

I'm running 3.8.

thanks,

Sebastian

Tony Lambiris wrote:

Man I must need sleep or something... this doesn't fix my problem, I 
forgot I had the extra case in the switch statement still in pciide.c. 
That did work, however, adding PCI_PRODUCT_VIATECH_VT82C571 as a case. 
Like I said before I don't know if this is the right way to do this, but 
it's a temporary fix for me.


Over and out, sorry again for the noise.

Tony Lambiris wrote:


Sorry for all the noise, this seems to have fixed it (from NetBSD):

--- via82c586.c.origMon Sep 12 19:38:35 2005
+++ via82c586.c Mon Sep 12 20:27:28 2005
@@ -256,9 +256,10 @@
   reg = pci_conf_read(ph-ph_pc, ph-ph_tag,
   VP3_CFG_PIRQ_REG);
   shift = vp3_cfg_trigger_shift[i];
-   /* XXX we only upgrade the trigger here */
   if (trigger == IST_LEVEL)
   reg = ~(VP3_CFG_TRIGGER_MASK  shift);
+   else
+   reg |= (VP3_CFG_TRIGGER_EDGE  shift);
   pci_conf_write(ph-ph_pc, ph-ph_tag,
   VP3_CFG_PIRQ_REG, reg);
   break;

Tony Lambiris wrote:


I forgot to ask, would it be bad practice to just add 
PCI_PRODUCT_VIATECH_VT82C571 to one of the cases in the switch 
statement? It seems like this might go a little deeper


Tony Lambiris wrote:


Well I thought I knew what the problem was (nope).. I found something 
interesting though...


The motherboards that don't setup UDMA properly uses a VIA VT8237 
ISA for pcib; the one's that setup UDMA properly uses a VIA VT8235 
ISA. I added some debugging in pciide.c in function apollo_chip_map 
on the switch statement, and the pcib_id it's switching on is 0x0571, 
which in pcidevs is VT82C571 IDE. Does that mean somewhere the 
VT8237 chipset isn't being setup correctly or something?


I'm a little confused at this juncture, any light that can be shed 
would be greatly appriciated.


Thanks.

Tony Lambiris wrote:


I (think I) found the problem... I will be posting a patch shortly 
if I confirm my suspicions.


Thanks.

Tony Lambiris wrote:


We have some motherboards with (what we think) are the same chips 
and revisions with the same hard drives, but some drives are being 
detected as DMA and others as ATA133. Here is an example:


pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: 
ATA133, channel 0 configured to compatibility, channel 1 configured 
to compatibility

wd0 at pciide0 channel 0 drive 0: WDC WD800BB-75JHC0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5

pciide0 at pci0 dev 15 function 0 VIA VT82C571 IDE rev 0x06: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility

wd0 at pciide0 channel 0 drive 0: WDC WD800BB-75JHC0
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2

As you can see it's the same IDE chipset, same revision, same 
drives.. the only thing I can think of is it's an IDE ribbon issue, 
but the ribbons we used (which were mixed from the cases and the 
motherboard boxes), were brand new.


Any suggestions?

TIA.




Re: Trunks Bridges

2005-11-09 Thread Dag Richards

Badbanchi Hossein wrote:

Hi,
Can someone please shed some light on the interoperability of
the new trunk facility of 3.8 with the bridge functionality.

In other words can we group bridged interfaces in trunks to
achieve throughput enhancements?

Thanks and Regards,
H. Badbanchi



Trunking does not yet support link aggregation, or failover.

So, no not yet.



Re: Instructions for tracking -CURRENT

2005-11-09 Thread Nick Holland
On Wed, Nov 09, 2005 at 04:53:12PM +0200, Alari Kask wrote:
 Hello everybody, i put together some instructions for tracking -CURRENT,
 it's just for getting things done faster, than reading the cvs  
 instructions on the homepage of openbsd.
 Any feedback is welcome.
 
Install snapshot

If you get any fancier than that, you are probably going to be causing a
lot more dammage than good.

Nick.



Re: IPsec performance

2005-11-09 Thread Bruno S. Delbono

Henning Brauer wrote:


no.
there is no benefit from SMP in this case.


I believe you. In fact, many Cisco VPN routers came with a 400-700 Mhz 
Intel PII or PIII cpu's which could handle a few thousand IPSEC 
connections.


I've had a good throughput with a 1.0 Ghz PIII with a large number of 
clients.


-Bruno



Re: pkg_add force install

2005-11-09 Thread Joachim Schipper
On Wed, Nov 09, 2005 at 11:47:47AM +, Jorge Santos wrote:
 Hi all
 
 Im running 3.8 and i installed Version 3.0.20b from sources. I also
 installed nagios form packages, and i was wondering if there is a way to
 install nagios-plugins-samba either from pakages or ports without
 checking for deps
 
 Thanks in advance
 
 JS

There is of course the -F option in pkg_add(1). If that doesn't work,
well, a package is just a fancy tarball...

Joachim



Re: Trunks Bridges

2005-11-09 Thread Reyk Floeter
On Wed, Nov 09, 2005 at 08:13:16AM -0800, Dag Richards wrote:
 Trunking does not yet support link aggregation, or failover.
 
 So, no not yet.

???

you mean, it does not support LACP.

and in 3.8-current it even supports a simple failover mode.

reyk



Re: Trunks Bridges

2005-11-09 Thread Badbanchi Hossein
 Trunking does not yet support link aggregation, or failover.
 So, no not yet.

Thanks for the clear answer. Specially for mentioning the failover case.

Regards,
H. Badbanchi



Re: jedi/sector one's alternative disk scheduler?

2005-11-09 Thread Antonios Anastasiadis
thanks.
I guess i'll go patch my i386 kernel then :-)

On 11/9/05, Ted Unangst [EMAIL PROTECTED] wrote:

 it breaks several non-i386 architectures (though some of that may get
 fixed in time).



Re: COMPAT_NETBSD status?

2005-11-09 Thread Ted Unangst
On 11/9/05, Jason McIntyre [EMAIL PROTECTED] wrote:
 On Wed, Nov 09, 2005 at 12:20:08AM -0600, ober wrote:
  I built a 3.8 kernel with COMPAT_NETBSD, but found that there was no
  sysctl for compat_netbsd(8) or man page.
 
  Is the code that is present for it usable?
 
  Thanks in Advance.

 alpha is the only platform that supports this, as far as i know. i am
 not sure which binaries will/won't work, but i believe following the
 steps in compat_freebsd(8) should get you pretty close.

i'm curious to know what use it is.  how many netbsd/alpha binaries
(from like netbsd 1.0, nothing new will work) are out there without
source?



ath0: bogus xmit rate 0x0

2005-11-09 Thread Alexandre

Hi all,

I have an atheros based card on my OpenBSD 3.8.
When I activate it, I have this error message

ath0: bogus xmit rate 0x0

coming regurlaly when I try and ping another machine.

Here is an extract of my dmesg :

ath0 at pci0 dev 9 function 0 Atheros AR5212 rev 0x01: irq 9
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 
00:09:5b:e8:5f:e9


My hostname.ath0 is:

inet 192.168.1.1 255.255.255.0 NONE media DS11 chan 8 nwid SPEENICS 
mediaopt hostap


The laptop on which I have a wifi card (Netgear WG511) runs either Linux 
or Windows XP. I just put the adress 192.168.1.2 and I tried a ping from 
both side, but there is no answer.


No wep or PF is used while testing.

uname -a gives
OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386

Thanks.



Re: OpenBSD Desktop Document

2005-11-09 Thread Roy Morris

Roy Morris wrote:


I have been working on a document for newbies that helps
them put together a basic/functional desktop under OpenBSD.
If anyone has time, I'd like feed back.

www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf

Thanks
Roy
 

Thanks to all those that replied. I have made the changes suggestedand placed the document as {ps,pdf,txt} at 


www.openalternatives.com/OpenBSD/OpenBSD-Desktop.txt
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.ps
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf

Cheers,
Roy



Re: Instructions for tracking -CURRENT

2005-11-09 Thread Jasper Lievisse Adriaanse
On Wed, 9 Nov 2005 16:53:12 +0200
Alari Kask [EMAIL PROTECTED] wrote:

 Hello everybody, i put together some instructions for tracking -CURRENT,
 it's just for getting things done faster, than reading the cvs  
 instructions on the homepage of openbsd.
 Any feedback is welcome.
 
Have you written them with invisible ink? ;-)


-- 
Security is decided by quality -- Theo de Raadt



Re: OpenBSD Desktop Document

2005-11-09 Thread Fred Crowson

Roy Morris wrote:


Thanks to all those that replied. I have made the changes suggestedand 
placed the document as {ps,pdf,txt} at

www.openalternatives.com/OpenBSD/OpenBSD-Desktop.txt
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.ps
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf

Cheers,
Roy


Hi Roy,

Good document - would it be worth mentioning sudo(8) for all the root tasks?

After using adduser(8) to create an account, just add the following line 
to the sudoers file using visudo(8):


username   ALL=(ALL) ALL

HTH

Fred



Re: Instructions for tracking -CURRENT

2005-11-09 Thread Han Boetes
Alari Kask wrote:
 Hello everybody, i put together some instructions for tracking
 -CURRENT, it's just for getting things done faster, than reading
 the cvs instructions on the homepage of openbsd.

I bet you can't make it faster than this. ;-)

  http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/



# Han



Multiple audio devices

2005-11-09 Thread Will H. Backman
How does OpenBSD deal with multiple audio devices?
Man pages reference /dev/audio etc, which seems to be a link to audio0
The kernel output mentions audio1, but I don't see it in the /dev
directory.
Do I have to create the device node first in /dev?

--
Will Backman - Network Administrator
Coastal Enterprises, Inc.
http://www.ceimaine.org



Re: OpenBSD Desktop Document

2005-11-09 Thread Roy Morris

Fred Crowson wrote:


Roy Morris wrote:



Thanks to all those that replied. I have made the changes 
suggestedand placed the document as {ps,pdf,txt} at

www.openalternatives.com/OpenBSD/OpenBSD-Desktop.txt
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.ps
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf

Cheers,
Roy


Hi Roy,

Good document - would it be worth mentioning sudo(8) for all the root 
tasks?


After using adduser(8) to create an account, just add the following 
line to the sudoers file using visudo(8):


username   ALL=(ALL) ALL

HTH

Fred



You're most correct Fred. I will add this to the list of things to
change/add

Thanks!
Roy



Re: Weirdness with ARP on an IBM HS20 blade

2005-11-09 Thread Sean Dogar

  Appears either the switch is not broadcasting these arps or OpenBSD is

not seeing them for some reason.  Any chance the OpenBSD box is in a
different VLAN or some kind of filtering is being done between it and
the Linux box?  Do you have some kind of special switchport,
port-security, storm-control or other neat settings configured on the
Catalyst and associated ports that might be playing games?  Maybe a
bad port on the Catalyst?  Outside of this, I'm not certain what to
think at this time.  Perhaps someone else can chime in with other
thoughts or other things to try on the OpenBSD box...



The OpenBSD box and Linux machine are in the same VLAN.  We do use 
VLAN's but each VLAN gets it's own /24.  No special security or storm 
control is enabled.  This blade has previously run both Windows and 
Linux and network behavior has been perfectly normal.


One of my thoughts was to maybe enable CARP and see if that changes 
things.   I read somewhere that ARP handling moves to the CARP level 
(vice the bge driver) if CARP is enabled; am I wrong there?


The other thing that is worth mentioning is that the support page 
doesn't mention the BCM57xx in the HS20 specifically as being supported. 
 Maybe there is some minor difference between that and the other, 
supported Broadcom implementations?


If anybody else can think of something to try I'm certainly willing to 
try it.  This was more of an experiment than anything else; it *was* 
pretty cool to see SMP functioning under OpenBSD.


-Sean



Re: Multiple audio devices

2005-11-09 Thread Ted Unangst
On 11/9/05, Will H. Backman [EMAIL PROTECTED] wrote:
 How does OpenBSD deal with multiple audio devices?
 Man pages reference /dev/audio etc, which seems to be a link to audio0
 The kernel output mentions audio1, but I don't see it in the /dev
 directory.
 Do I have to create the device node first in /dev?

yes, if it's not there, create it.  sh MAKDEV audio1
you probably also want to create sound and mixer devs.



Problem accessing ATAPI tape drive

2005-11-09 Thread Juha Erkkila
i've been using an atapi tape drive with OpenBSD,
hardware support list and manpages don't make it clear they are
supported, but mine has worked fine, until upgrading to 3.8..

i use it with dump(8), so now as i try to restore something
from tapes, i get this:

$ restore -Nrv
Verify tape and initialize maps
restore: tape read error: Input/output error
$ restore -i
restore: tape read error: Input/output error

also, syslogd doesn't get any messages from the kernel

of course it's possible my tape drive has broken its contract with
me, but maybe something relevant got changed between 3.7 and 3.8?
suggestions?

Juha

dmesg follows:

OpenBSD 3.8-stable (GENERIC) #0: Tue Nov  1 14:38:35 EET 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 551 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
cpu0: disabling processor serial number
real mem  = 133787648 (130652K)
avail mem = 115462144 (112756K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(75) BIOS, date 08/18/99, BIOS32 rev. 0 @ 0xf0530
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/0xbe2
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0b60/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:04:0 (VIA VT82C586 ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0x22
ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Rage Pro rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0 VIA VT82C596A ISA rev 0x09
pciide0 at pci0 dev 4 function 1 VIA VT82C571 IDE rev 0x06: ATA33, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 91021U2
wd0: 16-sector PIO, LBA, 9770MB, 20010816 sectors
wd1 at pciide0 channel 0 drive 1: ST33232A
wd1: 16-sector PIO, LBA, 3077MB, 6303024 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PLEXTOR, CD-R PX-320A, 1.03 SCSI0 5/cdrom 
removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
st0 at scsibus1 targ 0 lun 0: HP, COLORADO 8GB, 2.06 SCSI2 1/sequential 
removable
st0: drive empty or not ready
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
st0(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 4 function 2 VIA VT83C572 USB rev 0x02: 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
ppb1 at pci0 dev 4 function 3 VIA VT82C596 Power rev 0x00
ppb1: not configured by system firmware
eap0 at pci0 dev 9 function 0 Ensoniq AudioPCI97 rev 0x06: irq 5
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83781D
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
isapnp0 at isa0 port 0x279: read port 0x20b
ep1 at isapnp0 3Com 3C509B EtherLink III, TCM5095, PNP80F7,  port 0x210/16 
irq 9: address 00:50:04:23:7a:70, utp (default utp)
biomask ed65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: Mplayer DVD problem

2005-11-09 Thread Nikolaus Hiebaum
Hi,

 please help me to understand something here.  to quote your original
 post:

 VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
 VDec: using Planar YV12 as output csp (no 0)
 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
 VO: [xv] 720x576 = 768x576 Planar YV12

 so mplayer was already using XV for video output, which is what
 '-vo xv' does.

 but you're saying you used the same DVD and the exact same mplayer
 command but only added '-vo xv' and that made it work?

O.K., what you wrote got me thinking, and I tried a few DVDs. It seems it's 
just one DVD that
will shut down right after I start gmplayer, with or without the -vo switch.

lsdvd produces this for that DVD:

libdvdread: Encrypted DVD support unavailable.
Disc Title: CD001
Title: 01, Length: 00:00:00 Chapters: 01, Cells: 01, Audio streams: 08, 
Subpictures: 32
Title: 02, Length: 00:00:08 Chapters: 01, Cells: 01, Audio streams: 03, 
Subpictures: 04
Title: 03, Length: 02:00:10 Chapters: 22, Cells: 23, Audio streams: 03, 
Subpictures: 04
Title: 04, Length: 00:02:17 Chapters: 01, Cells: 01, Audio streams: 01, 
Subpictures: 01
Title: 05, Length: 00:23:58 Chapters: 01, Cells: 01, Audio streams: 01, 
Subpictures: 01
Title: 06, Length: 00:10:08 Chapters: 01, Cells: 01, Audio streams: 01, 
Subpictures: 01
Title: 07, Length: 00:04:00 Chapters: 01, Cells: 01, Audio streams: 02, 
Subpictures: 02
Title: 08, Length: 00:03:57 Chapters: 01, Cells: 01, Audio streams: 02, 
Subpictures: 02
Title: 09, Length: 00:01:58 Chapters: 01, Cells: 01, Audio streams: 02, 
Subpictures: 02
Title: 10, Length: 00:02:09 Chapters: 01, Cells: 01, Audio streams: 02, 
Subpictures: 02
Longest track: 3

And so, gmplayer -vo xv dvd://3 will play the DVD just fine.

So, it seemed to be a DVD related issue as other DVDs just play fine, with or 
without the -vo
switch specified. When testing wiht Edd's advice of specifying the display and 
it worked, I
must have mixed up DVDs and made a wrong deduction.

At least, I learned more about the process. Thanks!

BTW, ogle will not work with any DVD. I get this ...
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
Note[ogle_gui]: GetDiscID failed
msg close FIX
[EMAIL PROTECTED]: /home/nh (22:47:39) sudo ogle
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
libdvdread: Encrypted DVD support unavailable.
libdvdread: Encrypted DVD support unavailable.
FATAL[ogle_mpeg_ps]: dvdreadblocks failed

But I am fine using gmplayer. ;-)


-- 
Beste Gr|_e / Best regards ,
Nikolaus Hiebaum



Re: Mplayer DVD problem

2005-11-09 Thread Roy Morris
 BTW, ogle will not work with any DVD. I get this ...
 WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
 WARNING[dvd_gui]: add_keybinding(): No such action: 
 'SaveScreenshotWithSPU'
 Note[ogle_gui]: GetDiscID failed
 msg close FIX
 [EMAIL PROTECTED]: /home/nh (22:47:39) sudo ogle
 WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
 WARNING[dvd_gui]: add_keybinding(): No such action: 
 'SaveScreenshotWithSPU'
 libdvdread: Encrypted DVD support unavailable.
 libdvdread: Encrypted DVD support unavailable.
 FATAL[ogle_mpeg_ps]: dvdreadblocks failed

I think you need libdvdcss from ports. Both mplayer and ogle
work fine for me.



Re: COMPAT_NETBSD status?

2005-11-09 Thread Jason McIntyre
On Wed, Nov 09, 2005 at 10:35:27AM -0800, Ted Unangst wrote:
 
  alpha is the only platform that supports this, as far as i know. i am
  not sure which binaries will/won't work, but i believe following the
  steps in compat_freebsd(8) should get you pretty close.
 
 i'm curious to know what use it is.  how many netbsd/alpha binaries
 (from like netbsd 1.0, nothing new will work) are out there without
 source?

probably not terrifically useful. maybe the original poster can tell us
what he was trying to run...

jmc



Re: Mplayer DVD problem

2005-11-09 Thread Nikolaus Hiebaum
* Roy Morris wrote on Nov 9, 2005 [17:03, -0500] :

 I think you need libdvdcss from ports. Both mplayer and ogle
 work fine for me.

Just installed it but ogle still doesn't work.

Fewer errors maybe ;-) but I don't care, as I can live with mplayer.

-- 
CU, Nick



Re: Mplayer DVD problem

2005-11-09 Thread Hans-Joerg Hoexer
On Wed, Nov 09, 2005 at 05:03:25PM -0500, Roy Morris wrote:
 I think you need libdvdcss from ports. Both mplayer and ogle
 work fine for me.

or libdvd instead of libdvdcss.



Re: Mplayer DVD problem

2005-11-09 Thread Nikolaus Hiebaum
* Hans-Joerg Hoexer wrote on Nov 9, 2005 [23:13, +0100] :

  I think you need libdvdcss from ports. Both mplayer and ogle
  work fine for me.

 or libdvd instead of libdvdcss.

*grr*

Now I get this ...

WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
libdvdread: Using libdvd version 0.3 for DVD access
Enter challenge, e.g. the name of your OS:
libdvdread: Could not open /dev/rcd0c with libdvd.
libdvdread: Can't open /dev/rcd0c for reading
ERROR[ogle_nav]: faild to open/read the DVD
callbacks.on_opendvd_activate(): DVDSetDVDRoot: Root not set

WHat am I supposed to enter here? Enter challenge, e.g. the name of your OS: Is 
this some
game? ;-)

-- 
CU, Nick



Re: COMPAT_NETBSD status?

2005-11-09 Thread ober
So if the compat code would not run anything of 2.x origins then it would 
not be of use in my case.
I am trying to run a super secret alien interpreter I got from Elvis 
while working as a sled mechanic for Santa Claus.


But since it was only compiled for NetBSD 2.0 and I have no source, I 
guess this thread is dead.


Thanks for the info.

-Ober

On Wed, 9 Nov 2005, Jason McIntyre wrote:


On Wed, Nov 09, 2005 at 10:35:27AM -0800, Ted Unangst wrote:


alpha is the only platform that supports this, as far as i know. i am
not sure which binaries will/won't work, but i believe following the
steps in compat_freebsd(8) should get you pretty close.


i'm curious to know what use it is.  how many netbsd/alpha binaries
(from like netbsd 1.0, nothing new will work) are out there without
source?


probably not terrifically useful. maybe the original poster can tell us
what he was trying to run...

jmc




ports out-of-date question

2005-11-09 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Just trying to find out if the output from running
./out-of-date for installed packages is because I've
cvsup'd current and rebuilt everything numerous times
which, I'm pretty sure I read, is unsupported. Only
fresh installs of current snapshot supported, I believe.
Anyways, here's the output when I run ./out-of-date:
- --
archivers/bzip2 # c.38.2 - c.38.3
archivers/gtar  # c.38.2,gettext-0.10.40p3,intl.2.0 -
  c.38.3,gettext-0.14.5,intl.3.0
archivers/unzip # c.38.2 - c.38.3
archivers/zip   # c.38.2 - c.38.3
audio/esound# c.38.2 - c.38.3
converters/libiconv # c.38.2 - c.38.3
devel/atk   # gettext-0.10.40p3,intl.2.0 -
  gettext-0.14.5,intl.3.0
devel/gettext   # 0.10.40p3 - 0.14.5
devel/glib2 # c.38.2,gettext-0.10.40p3,intl.2.0 -
  c.38.3,gettext-0.14.5,intl.3.0
devel/gmake # c.38.2,gettext-0.10.40p3,intl.2.0 -
  c.38.3,gettext-0.14.5,intl.3.0
devel/libaudiofile  # c.38.2 - c.38.3
devel/libtool,-ltd  # 1.5.20 - 1.5.20p1
devel/pango # c.38.2,intl.2.0 - c.38.3,intl.3.0
emulators/redhat/motif  # 2.1.30p1 - 2.1.30p2
graphics/flash  # c.38.2 - c.38.3
graphics/imlib2 # c.38.2,libltdl-1.5.20 - c.38.3,libltdl-1.5.20p1
graphics/jpeg   # c.38.2 - c.38.3
graphics/libungif   # c.38.2 - c.38.3
graphics/tiff   # c.38.2 - c.38.3
lang/ezm3   # c.38.2 - c.38.3
lang/tcl/8.4# c.38.2 - c.38.3
mail/fetchmail  # 6.2.5.2p0 - 6.2.5.2p1
mail/pine   # c.38.2 - c.38.3
net/cvsup,no_x11# c.38.2 - c.38.3
net/libdnet # c.38.2 - c.38.3
net/quirc   # c.38.2 - c.38.3
security/gnupg  # 1.4.1p0 - 1.4.1p1
security/gpgm# gettext-0.10.40p3,gnupg-1.4.1p0,intl.2.0,pthread.6.1 -
   gettext-0.14.5,gnupg-1.4.1p1,intl.3.0,pthread.6.2
security/libgpg-error  # c.38.2,gettext-0.10.40p3,intl.2.0 -
 c.38.3,gettext-0.14.5,intl.3.0
security/scanssh   # c.38.2 - c.38.3
textproc/gdiff # c.38.2,gettext-0.10.40p3,intl.2.0 -
 c.38.3,gettext-0.14.5,intl.3.0
www/mozilla-firefox# 1.0.7p2 - 1.0.7p3
x11/fluxbox # c.38.2 - c.38.3
x11/gtk+2   # c.38.2,gettext-0.10.40p3,intl.2.0 -
  c.38.3,gettext-0.14.5,intl.3.0
x11/openmotif   # c.38.2 - c.38.3
x11/tk/8.4  # c.38.2 - c.38.3
- --
Not asking for any kind of fix or help on this, just to
understand the why of it, like I stated above. Aware that
what I did is unsupported. Finally getting insurance money
back after hurricane Katrina  first thing on agenda is to
buy the new 3.8 cd's. :-) Previously, just experimenting 
trying to get to know the system. Have used mostly FreeBSD
with portupgrade, portsnap,  so forth. Thanks for any info.
Denny White


Self-Pity
I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
without ever having felt sorry for itself.
D. H. Lawrence

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
iD8DBQFDclmay0Ty5RZE55oRAo65AJsFWZrb6kcY5NH/5SqUN7L2s030ggCeNYdt
GI+K2/p+L0tEnrIufZMLHQo=
=9sPQ
-END PGP SIGNATURE-



Re: OpenBSD Desktop Document

2005-11-09 Thread steven mestdagh
On Wed, Nov 09, 2005 at 02:41:05PM -0500, Roy Morris wrote:
 Thanks to all those that replied. I have made the changes suggestedand 
 placed the document as {ps,pdf,txt} at 
 www.openalternatives.com/OpenBSD/OpenBSD-Desktop.txt
 www.openalternatives.com/OpenBSD/OpenBSD-Desktop.ps
 www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf

This document is no good. A lot of relevant info is missing, and a lot of
useless info is given. And it's also written in a do this, then that,
but don't think style.

For example, your part about system tweaks and linux emulation, do you
really think some newbie user will understand this? Besides it works only
on i386. You also got PKG_PATH wrong. And you can just answer yes during
installation to have ntpd started. Using cdrecord with a .tgz? Have you
tried that?

Your section about X11 is very incomplete. For instance, you mention
.xinitrc, later (even in a totally different section) xdm_flags, total
chaos. You suggest people to set DefaultDepth 24, but you don't even say
what this is.

Double check what you write, and ask yourself whether it is well
organized and can be understood by your target audience (that's windows
users, according to the title!) ...

-- 
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: Mplayer DVD problem

2005-11-09 Thread tronss

Roy Morris wrote:


BTW, ogle will not work with any DVD. I get this ...
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 
'SaveScreenshotWithSPU'

Note[ogle_gui]: GetDiscID failed
msg close FIX
[EMAIL PROTECTED]: /home/nh (22:47:39) sudo ogle
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 
'SaveScreenshotWithSPU'

libdvdread: Encrypted DVD support unavailable.
libdvdread: Encrypted DVD support unavailable.
FATAL[ogle_mpeg_ps]: dvdreadblocks failed
   



I think you need libdvdcss from ports. Both mplayer and ogle
work fine for me.


 


I use libdvdcss and ogle doesn4t work, but vlc works fine :-)



Re: Bug bounty for pciide/atapiscsi

2005-11-09 Thread Samurai Chef
On 11/9/05, Mark Rottler [EMAIL PROTECTED] wrote:

 On 11/8/05, Stephen Nelson [EMAIL PROTECTED] wrote:
  My company is doing some work for a client that requires a CD Bootable
  OpenBSD firewall. We have a couple of IBM xSeries 336 servers for this
  purpose. We currently cannot complete this because OpenBSD cannot mount
  the CDROMs on these machines (We have tried 3.7, 3.8, and current of the
  amd64 and i386 varieties - both GENERIC and GENERIC.MPhttp://GENERIC.MP
 ).

 [Snip]

  root on sd0a
  rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
  arp: attempt to overwrite entry for 0.0.0.0 http://0.0.0.0 on lo0 by
 00:14:5e:30:56:04 on bge0
  cd0(pciide0:0:0): timeout
  type: atapi
  c_bcount: 0
  c_skip: 0
  cd0(pciide0:0:0): timeout
  type: atapi
  c_bcount: 32
  c_skip: 0
  pciide0:0:0: device timeout, c_bcount=32, c_skip=0,
 status=0x58DRDY,DSC,DRQ, ireason=0x2


 I've had this problem pop up on a Shuttle box before I solved it by
 booting into
 kernel configuration mode (boot -c) and then disabling pciide (disable
 pciide*)
 before continuing the boot process.

 I don't know if this will help in your case, but it might be worth a quick
 try.

 Mark.



I have a similar problem on a new AOpen XCCube with an AMD Sempron (see
dmesg). I tried the disabling the pciide as described above. That didn't
work, it actually caused the system to panic. I have included the steps i
took (it was in the dmesg output). The trace and ps are here also. I don't
really need the cd-rom on this system, but hopefully this helps to fix the
problem.

SamuraiChef


UKC disable pciide*
59 pciide* disabled
UKC quit
Continuing...
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Sempron(tm) Processor 2600+, 1600.25 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 128KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 vendor SIS, unknown product 0x0761 rev 0x01
ppb0 at pci0 dev 1 function 0 SIS 86C202 VGA rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 SIS 6330 VGA rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
SIS 965 PCI rev 0x48 at pci0 dev 2 function 0 not configured
SIS 5513 EIDE rev 0x01 at pci0 dev 2 function 5 not configured
auich0 at pci0 dev 2 function 7 SIS 7012 AC97 rev 0xa0: irq 3, SiS7012
AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655)
audio0 at auich0
ohci0 at pci0 dev 3 function 0 SIS 5597/5598 USB rev 0x0f: irq 5, version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 SIS 5597/5598 USB rev 0x0f: irq 10, version
1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2 at pci0 dev 3 function 2 SIS 5597/5598 USB rev 0x0f: irq 11, version
1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 3 SIS 7002 USB rev 0x00: irq 9
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: SIS EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
SIS 182 SATA rev 0x01 at pci0 dev 5 function 0 not configured
ppb1 at pci0 dev 6 function 0 vendor SIS, unknown product 0x000a rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci0 dev 7 function 0 vendor SIS, unknown product 0x000a rev 0x00
pci3 at ppb2 bus 3
VIA VT6306 FireWire rev 0x46 at pci0 dev 8 function 0 not configured
re0 at pci0 dev 11 function 0 Realtek 8169 rev 0x10: irq 10, address
00:01:80:60:ea:ed
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
fxp0 at pci0 dev 13 function 0 Intel 82557 rev 0x0c, i82550: irq 5,
address 00:02:b3:a7:e9:70
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
ppb3 at pci0 dev 31 function 0 vendor SIS, unknown product 0x0004 rev 0x00
pci4 at ppb3 bus 4
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
panic: cannot open 

Re: ath0: bogus xmit rate 0x0

2005-11-09 Thread Jasper Lievisse Adriaanse
On Wed, 09 Nov 2005 20:17:14 +0100
Alexandre [EMAIL PROTECTED] wrote:

 Hi all,
 
[...]
 
 uname -a gives
 OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386
Are you sure your uname -a output is correct?

 
 Thanks.
 

Jasper


-- 
Security is decided by quality -- Theo de Raadt



3c985b and optiplex gx520

2005-11-09 Thread Javier Martinez
Hi,

I have a problem with a dell optiplex gx520 and a 3com985 gigabit nic.
I installed OpenBSD 3.8 and everything is ok, I can see the nic in the 
ifconfig, but when I connected it to the switch I didn't get the link, the leds
in both sides are turn off, I can't get the link light.

Do yo have any idea what can I do??

I sent you the dmesg output. Thanks a lot

OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF 
LUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 526520320 (514180K)
avail mem = 473497600 (462400K)
using 4278 buffers containing 26427392 bytes (25808K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/05/05, BIOS32 rev. 0 @ 0xffe90
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 @ 0xfed10/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GB LPC rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xa800! 0xca800/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GP rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82945GP PCIE rev 0x02
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x2772 rev 0x02: 
a perture at 0xfeb0, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor Intel, unknown product 0x2776 (class display subclass miscellaneous, 
re v 0x02) at pci0 dev 2 function 1 not configured
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1 (0x4001): 
irq 11 address 00:12:3f:52:6d:ca
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 3
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 9
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1
pci4 at ppb3 bus 4
ti0 at pci4 dev 0 function 0 3Com 3c985 rev 0x01: irq 11 address 
00:60:08:f7:1 7:c4
ti1 at pci4 dev 2 function 0 3Com 3c985 rev 0x01: irq 3 address 
00:60:08:f7:19 :61
pcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 
c onfigured 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: HL-DT-ST, CDRW/DVD GCC4482, E107 SCSI0 5/cdrom 
r emovable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: Maxtor 6L080M0
wd0: 16-sector PIO, LBA, 76293MB, 15625 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
Intel 82801GB SMBus rev 0x01 at pci0 dev 31 function 3 not configured
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: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask f76d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
uhidev0 at uhub2 port 1 configuration 1 

Re: 3c985b and optiplex gx520

2005-11-09 Thread stracey
Start by reviewing http://www.openbsd.org/faq/faq6.html#Intro

Focus on the physical aspects of the connection before the PC/OS
configuration stuff.

Disconnect one of the nic card cables from the switch. Try to get one card
up before the other.

Do you know if the cables you are using work on another PC? Verify that
before moving on.

What does the following command reveal?

ifconfig -a

What do these commands reveal?

cat /etc/hostname.ti0
cat /etc/hostname.ti1


 Hi,

 I have a problem with a dell optiplex gx520 and a 3com985 gigabit nic.
 I installed OpenBSD 3.8 and everything is ok, I can see the nic in the
 ifconfig, but when I connected it to the switch I didn't get the link, the
 leds
 in both sides are turn off, I can't get the link light.

 Do yo have any idea what can I do??

 I sent you the dmesg output. Thanks a lot

 OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80
 GHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
 LUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
 real mem  = 526520320 (514180K)
 avail mem = 473497600 (462400K)
 using 4278 buffers containing 26427392 bytes (25808K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(00) BIOS, date 08/05/05, BIOS32 rev. 0 @
 0xffe90
 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 @ 0xfed10/240 (13 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GB LPC rev 0x00)
 pcibios0: PCI bus #4 is the last bus
 bios0: ROM list: 0xc/0xa800! 0xca800/0x1800
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82945GP rev 0x02
 ppb0 at pci0 dev 1 function 0 Intel 82945GP PCIE rev 0x02
 pci1 at ppb0 bus 1
 vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x2772 rev
 0x02: a perture at 0xfeb0, size 0x800
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 vendor Intel, unknown product 0x2776 (class display subclass
 miscellaneous, re v 0x02) at pci0 dev 2 function 1 not configured
 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
 pci2 at ppb1 bus 2
 bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
 (0x4001): irq 11 address 00:12:3f:52:6d:ca
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
 pci3 at ppb2 bus 3
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 9
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 5
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1
 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 3
 usb2 at uhci2: USB revision 1.0
 uhub2 at usb2
 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 10
 usb3 at uhci3: USB revision 1.0
 uhub3 at usb3
 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 9
 usb4 at ehci0: USB revision 2.0
 uhub4 at usb4
 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
 uhub4: 8 ports with 8 removable, self powered
 ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1
 pci4 at ppb3 bus 4
 ti0 at pci4 dev 0 function 0 3Com 3c985 rev 0x01: irq 11 address
 00:60:08:f7:1 7:c4
 ti1 at pci4 dev 2 function 0 3Com 3c985 rev 0x01: irq 3 address
 00:60:08:f7:19 :61
 pcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01
 pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA,
 channel 0 c onfigured 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: HL-DT-ST, CDRW/DVD GCC4482, E107 SCSI0
 5/cdrom r emovable
 cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 ignored (disabled)
 pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA,
 channel 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide1: using irq 5 for native-PCI interrupt
 wd0 at pciide1 channel 0 drive 0: Maxtor 6L080M0
 wd0: 16-sector PIO, LBA, 76293MB, 15625 sectors
 wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
 Intel 82801GB SMBus rev 0x01 at pci0 dev 31 function 3 not configured
 isa0 at pcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 

Re: Bug bounty for pciide/atapiscsi

2005-11-09 Thread Stephen Nelson
I tried your suggestion and got the same result as SamuraiChef, which is 
what I would expect - I want to use pciide, not disable it. If pciide is 
disabled then surely I can't read from the cdrom.


I am sure that it is a problem with openbsd, not my setup. I've had many 
helpful suggestions but none have been able to solve this problem. The 
more people I talk to the more I come across this problem - so how do I 
get a developer's attention? I realise they're volunteers, but surely 
this is an important problem as it affects so many people, so it would 
be in the interests of the community to fix it.


Stephen


I've had this problem pop up on a Shuttle box before I solved it by
booting into
kernel configuration mode (boot -c) and then disabling pciide (disable
pciide*)
before continuing the boot process.
   


I have a similar problem on a new AOpen XCCube with an AMD Sempron (see
dmesg). I tried the disabling the pciide as described above. That didn't
work, it actually caused the system to panic. I have included the steps i
took (it was in the dmesg output). The trace and ps are here also. I don't
really need the cd-rom on this system, but hopefully this helps to fix the
problem.

SamuraiChef




Re: Mplayer DVD problem

2005-11-09 Thread Roy Morris

Nikolaus Hiebaum wrote:


* Hans-Joerg Hoexer wrote on Nov 9, 2005 [23:13, +0100] :

 


I think you need libdvdcss from ports. Both mplayer and ogle
work fine for me.
 


or libdvd instead of libdvdcss.
   



*grr*

Now I get this ...

WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
libdvdread: Using libdvd version 0.3 for DVD access
Enter challenge, e.g. the name of your OS:
libdvdread: Could not open /dev/rcd0c with libdvd.
libdvdread: Can't open /dev/rcd0c for reading
ERROR[ogle_nav]: faild to open/read the DVD
callbacks.on_opendvd_activate(): DVDSetDVDRoot: Root not set

WHat am I supposed to enter here? Enter challenge, e.g. the name of your OS: Is 
this some
game? ;-)

 


Aww, according to the ogle site, if you want to use encrypted dvds you
need to install libdvdcss. Ummm is it just me or does that error say it
can't read /dev/rcd0c ??

permissions right?

Anyway .. just a thought. I use Mplayer for a lot of other formats and ogle
to play dvds.

cheers



Re: Anyone tried a sun fire X2100 server yet?

2005-11-09 Thread Mike

Timo Schoeler wrote:

thus Reyk Floeter spake:


a sun guy said that the x2100 is based on the same platform as the U20
workstation. in contrast to the x4x00 galaxy servers

reyk


or is a dmesg from this machine available (had a short glimpse at the 
archive, noone appeared)?




I don't know how similar the Ultra20 and X2100 are, but here's dmesg 
output from an Ultra20:



OpenBSD 3.8 (RAMDISK_CD) #472: Sat Sep 10 16:09:03 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 1073278976 (1048124K)
avail mem = 909955072 (888628K)
using 22937 buffers containing 107536384 bytes (105016K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Opteron(tm) Processor 148, 1005.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
Nvidia nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured
Nvidia nForce4 ISA rev 0xa3 at pci0 dev 1 function 0 not configured
Nvidia nForce4 SMBus rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 Nvidia nForce4 USB rev 0xa2: irq 10, 
version 1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0 at pci0 dev 2 function 1 Nvidia nForce4 USB rev 0xa3: irq 11
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: Nvidia EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
Nvidia nForce4 AC97 rev 0xa2 at pci0 dev 4 function 0 not configured
pciide0 at pci0 dev 6 function 0 Nvidia nForce4 IDE rev 0xf2: 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: LITE-ON, DVD SOHD-16P9S, F3S2 SCSI0 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 7 function 0 Nvidia nForce4 SATA 1 rev 0xf3: DMA
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST380013AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide2 at pci0 dev 8 function 0 Nvidia nForce4 SATA 2 rev 0xf3: DMA
pciide2: using irq 10 for native-PCI interrupt
ppb0 at pci0 dev 9 function 0 Nvidia nForce4 PCI-PCI rev 0xa2
pci1 at ppb0 bus 1
VIA VT6306 FireWire rev 0x80 at pci1 dev 6 function 0 not configured
skc0 at pci1 dev 9 function 0 Marvell SKv2 rev 0x12: irq 5
skc0: Marvell Yukon (0x1)
sk0 at skc0 port A: address 00:04:e2:d7:33:05
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
Nvidia CK804 LAN rev 0xa3 at pci0 dev 10 function 0 not configured
ppb1 at pci0 dev 11 function 0 Nvidia nForce4 PCIE rev 0xa3
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 Nvidia nForce4 PCIE rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 Nvidia nForce4 PCIE rev 0xa3
pci4 at ppb3 bus 4
ppb4 at pci0 dev 14 function 0 Nvidia nForce4 PCIE rev 0xa3
pci5 at ppb4 bus 5
vga1 at pci5 dev 0 function 0 Nvidia Quadro FX 330 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
isa0 at mainbus0
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
rd0: fixed, 3584 blocks
wd0: no disk label
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: vendor 0x0430 product 0x0005, rev 1.10/2.00, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 6 configuration 1 interface 0
uhidev1: vendor 0x0430 product 0x0100, rev 2.00/1.07, addr 3, iclass 3/1
uhid at uhidev1 not configured
umass0 at uhub1 port 4 configuration 1 interface 0
umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: JetFlash, TS1GJF110, 0.00 SCSI2 0/direct 
removable

sd0: 1000MB, 1000 cyl, 64 head, 32 sec, 512 bytes/sec, 2048000 sec total



Re: Anyone tried a sun fire X2100 server yet?

2005-11-09 Thread JD Harrington

Mike wrote:
I don't know how similar the Ultra20 and X2100 are, but here's dmesg 
output from an Ultra20:


This is completely off-topic, but how do you like the Ultra 20 overall? 
I need a new workstation for home, and I'm trying to decide between 
doing the Ultra 20 @ $360/year or building an Athlon64 X2. I'm leaning 
towards the latter because I know I'll be doing some upgrades right off 
the bat should I go with an Ultra 20, and I'll end up with significantly 
more machine, but there's just something about having a Sun logo that 
makes the decision a touch more difficult :) Anyway, I'd be interested 
to hear your thoughts.


-JD



Re: Bug bounty for pciide/atapiscsi

2005-11-09 Thread J Moore
On Thu, Nov 10, 2005 at 02:29:26PM +1300, the unit calling itself Stephen 
Nelson wrote:
 I tried your suggestion and got the same result as SamuraiChef, which is 
 what I would expect - I want to use pciide, not disable it. If pciide is 
 disabled then surely I can't read from the cdrom.
 
 I am sure that it is a problem with openbsd, not my setup. I've had many 
 helpful suggestions but none have been able to solve this problem. The 
 more people I talk to the more I come across this problem - so how do I 
 get a developer's attention? I realise they're volunteers, but surely 
 this is an important problem as it affects so many people, so it would 
 be in the interests of the community to fix it.
 
 Stephen

tongue-in-cheek 
Stephen, you have made a gross miscalculation. If you had taken the time 
to acquaint yourself with the required readings, you would know that 
OpenBSD dogma prescribes that developers work only on those things that 
interest them. Neither money, personal recognition, crass commercial 
interests, and least of all the problems of unwashed, ignorant users 
are of any concern to them. Just what the hell were you thinking, 
anyway? How dare you attempt to bribe an OpenShaman with money. You have 
sickened us all.
/tongue-in-cheek 



Re: OpenBSD Desktop Document

2005-11-09 Thread Roy Morris

steven mestdagh wrote:


On Wed, Nov 09, 2005 at 02:41:05PM -0500, Roy Morris wrote:
 

Thanks to all those that replied. I have made the changes suggestedand 
placed the document as {ps,pdf,txt} at 
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.txt

www.openalternatives.com/OpenBSD/OpenBSD-Desktop.ps
www.openalternatives.com/OpenBSD/OpenBSD-Desktop.pdf
   



This document is no good. A lot of relevant info is missing, and a lot of
useless info is given. And it's also written in a do this, then that,
but don't think style.
 


Thanks for the constructive remarks Steven, the first document
I wrote was too long so a paint by numbers system
was better I thought, obviously you don't :)


For example, your part about system tweaks and linux emulation, do you
really think some newbie user will understand this? Besides it works only
on i386. You also got PKG_PATH wrong. And you can just answer yes during
installation to have ntpd started. Using cdrecord with a .tgz? Have you
tried that?
 


The newbie user is not supposed to understand it all, or they
wouldn't need a document to get a desktop up and running.
What do you mean PKG_PATH is wrong? this was copied verbatim
from my system, and it works. .. As for trying
to decide if someone may or may not have done something
during installation (ntpd), I think it's best to assume they didn't and ask
them to change it. compat_linux is i386 that's true. I guess I should
mention that .. thanks!



Your section about X11 is very incomplete. For instance, you mention
.xinitrc, later (even in a totally different section) xdm_flags, total
chaos. You suggest people to set DefaultDepth 24, but you don't even say
what this is.
 


My section on X11 is incomplete as I am not trying to write a
book on X11, just get them moving. I will fix a valid point you
make about .xinitrc .. it should be .xsession. I use both depending
on if I am using xdm that day :)

_I_ know that DefaultDepth 24 is (was at one time) required for xdm,
so I ask them to enable it. I have updated the document based on
other feedback warning they need to be able to support it.


Double check what you write, and ask yourself whether it is well
organized and can be understood by your target audience (that's windows
users, according to the title!) ...
 


Well organized and understood.. hmmm not sure either are
completely true, but I will continue to strive to meet those goals.

Thanks for you valued input.
Roy



Accounting with ac in /etc/monthly

2005-11-09 Thread Andreas Bihlmaier
Hello misc@,

a question that bugged me for quite a while:

Why is the accounting in /etc/monthly?
I reffer to these (commented out) lines:

#echo 
#echo Doing login accounting:
#ac -p | sort -nr +1
#
#echo .

If I uncomment them (as suggested in Absolute OpenBSD to get some basic
accounting (or just to find out HOW much time I spend in front of the screen).

I get a report ever month, BUT now the problem:

The way I read man 8 ac it states
quote
The default wtmp file will increase without bound unless it is truncated.
It is normally truncated by the daily scripts run by cron(8), which re-
name and rotate the wtmp files, keeping a week's worth of data on hand.
No login or connect time accounting is performed if /var/log/wtmp does
not exist.
/quote

Doesn't this mean that I only get accounting for the last week of the month?
Shouldn't the lines above moved to /etc/weekly?
Did I miss something, or is this the intended behavior (for what reason)?

Regards,
ahb



Re: acpi

2005-11-09 Thread Jordan Hargrave
Thanks for all the ACPI dumps everyone!  I think I have enough of a sample 
set now, no more, please! :)
Hmm.. the acpiscan should not be core dumping; there maybe an invalid 
address in the ACPI table?


 --jordan hargrave


From: Marco Peereboom [EMAIL PROTECTED]
To: misc@openbsd.org
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: acpi
Date: Tue, 8 Nov 2005 22:54:47 -0600
MIME-Version: 1.0
Received: from cvs.openbsd.org ([199.185.137.3]) by mc9-f17.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Nov 2005 20:54:59 -0800
Received: from shear.ucar.edu (shear.ucar.edu [192.43.244.163])by 
cvs.openbsd.org (8.13.4/8.12.1) with ESMTP id 
jA94uxhk002386(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 
verify=FAIL);Tue, 8 Nov 2005 21:57:00 -0700 (MST)
Received: from dev.peereboom.us (adsl-67-64-89-177.dsl.austtx.swbell.net 
[67.64.89.177])by shear.ucar.edu (8.13.4/8.13.3) with ESMTP id 
jA94smZY004756(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 
verify=NO);Tue, 8 Nov 2005 21:54:49 -0700 (MST)
Received: from dev.peereboom.us ([EMAIL PROTECTED] 
[127.0.0.1])by dev.peereboom.us (8.13.4/8.13.4) with ESMTP id 
jA94smfi004639;Tue, 8 Nov 2005 22:54:48 -0600 (CST)
Received: (from [EMAIL PROTECTED])by dev.peereboom.us (8.13.4/8.13.4/Submit) 
id jA94slxo031124;Tue, 8 Nov 2005 22:54:47 -0600 (CST)

X-Message-Info: 6sSXyD95QpUGy/uYCdX58EJJ8oGL00uqpZIyqW0sOks=
User-Agent: Mutt/1.5.11
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 09 Nov 2005 04:54:59.0740 (UTC) 
FILETIME=[BCE27DC0:01C5E4E9]


Jordan Hargrave (your friendly IPMI developer) has been plugging away at 
ACPI.

He has written an ASL parser and an AML interpreter.  Jordan also wrote a
userland tool that dumps the ACPI tables and all kinds of other things.  We 
can
then replay these dumps to test the ASL parser and AML interpreter.  In 
order
to be able to test the AML interpreter we need as many ACPI dumps as 
possible.

This is where *you* come in...

You can find the binary and source at:
http://www.peereboom.us/acpi.tgz
I added the source code + silly makefile so that you can roll your own
acpiscan.  Simply delete the binary I provided (compiled on 3.8-current) 
and

run make.

As root run the following command:
./acpiscan -save descriptive_name_of_box

example: ./acpiscan -save dell_pe1850

This will generate 3 files:
dell_pe1850.DSDT
dell_pe1850.FACP
dell_pe1850.RSDT

Yes, acpiscan WILL core dump at the end.  Its supposed to!

Tar and compress these files and send them to jordan@ and [EMAIL PROTECTED]

Thanks,
/marco




Slow DVD Speed

2005-11-09 Thread Dan Smythe
I am having slow DVD burning speeds. I am running
OpenBSD 3.6 Release. I looked in the FAQ and I saw the
following:

---Begin FAQ quote---

Why am I not getting the writing speed I expected?
Instead of the above writing output, you may see
something like:

   4784128/1545832448 ( 0.3%) @0.7x, remaining 26:50
   7929856/1545832448 ( 0.5%) @0.7x, remaining 29:05
  14123008/1545832448 ( 0.9%) @0.7x, remaining 27:06
...

which is much slower. It means you are somehow not
getting enough throughput on whatever bus your DVD
writer is using. In the above example, the USB DVD
writer was attached to a machine on which the ehci(4)
driver, used by USB 2.0 controllers, failed to
initialize properly. As always, you are welcome to
provide patches and test results. The DVD writer fell
back to the slower USB 1.1 interface, which causes
reduced throughput. Indeed, USB 1.1 is limited to 12
Mbit/s, which amounts to 1.43 MB/s or 1.08x in DVD
speed terms. The DVD writer falls back to a lower pace
than the maximum, to reduce the risk of buffer
underruns.

---End FAQ quote---

I'm getting speeds of about 0.2x. I will attach my
dmesg file. What should I do to fix this problem?

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg.boot]