usb serial controller to donate

2008-06-08 Thread Marc Peters
hi misc.

some time ago i bought a usb to serial controller. after searching the
archives and googling a lot, i found, that i want a profilic driven
controller and nearly every cheap one should run profilic. although i
thought i will be lucky, i got one, which doesn't run as expected
(Logilink USB 2.0 Serial Adapter). the cd has, as usual, only mac and
windows driver on it. the problems i see are:
when i connect to my Soekris 4801 (running -STABLE) from my -CURRENT
laptop (dmesg at the end), it drops directly in to ddb and i can't type
any input. if i reboot it (power off and on again), it starts as usual
and i can see the output but can't do any input on it (e.g. at the boot
prompt or login). the faulty device registers as:

uplcom0 at uhub1 port 1 Prolific Technology Inc. USB-Serial Controller
D rev 1.10/4.00 addr 2
ucom0 at uplcom0

last week i gave another adapter a try, this time from Belkin. i went to
there website and they dropped me to one their local retailer with this one:

http://www.computeruniverse.net/products/90211762.asp?agent=682 (german
computer shop)

this controller works fine and gets recognized at this one:

uplcom0 at uhub3 port 1 Prolific Technology Inc. USB-Serial Controller
rev 1.10/3.00 addr 2
ucom0 at uplcom0

now i can connect and my Soekris doesn't drop into ddb anymore and input
is also fine.

i tested the LogiLink on a windows box and used the vendor's drivers and
hyperterminal and everything works, so this isn't a hardware thing. i am
willing to donate this one (with or without the cd). don't know, if it's
of interest, but this thing also doesn't work on FreeBSD or fedora (with
minicom).

Is anyone interested in this piece of hardware?

cheers,
marc

~ $ dmesg
OpenBSD 4.3-current (GENERIC.MP) #0: Tue Jun  3 11:08:37 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2145841152 (2046MB)
avail mem = 2072039424 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETE0WW (2.20 ) date 12/07/2007
bios0: LENOVO 2007QPG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3)
HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.29 MHz
cpu0:
FPU,VME,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,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.00 MHz
cpu1:
FPU,VME,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,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2506000613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 2000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int
16 (irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 1 int 17 (irq 11)
azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog
Devices/0x1981
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int
20 (irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic
1 int 16 (irq 11), address 00:16:41:e3:4a:ff
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int
21 (irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 

network.conf

2008-06-08 Thread Alexander Polakov
Hi there.

Here is ports(7)

...
NETWORK CONFIGURATION
The variables pertaining to network access have been marshalled
into
${PORTSDIR}/infrastructure/templates/network.conf.template.

To customize that setup, copy that file into
${PORTSDIR}/infrastructure/db/network.conf and edit
it.
...

I did that, but the file (${PORTSDIR}/infrastructure/db/network.conf)
is deleted with every cvsup. Is there any way to keep it?
Thanks in advance.

$ cat /var/sup/OpenBSD-ports/refuse
infrastructure/db/network.conf

$ cat /root/ports.cvsup 

 
*default host=rt.fm
*default base=/var
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix compress

OpenBSD-ports tag=.
-- 
Alexander Polakov | http://rootshell.be/~polachok/



Re: Encrypted filesystems

2008-06-08 Thread Jonathan Thornburg
In message http://marc.info/?l=openbsd-miscm=121259415410042w=1,
Alphons Fonz van Werven asked
 Are there any means of encrypting filesystems other than using cryptfs
 plus vnode? As far as I could find out, the latter imposes a size limit
 of roughly 8GB which is acceptable for most partitions but not all of
 them.

It may not be what you want, but cfs (ports/packages) is a cryptographic
filesystem which runs outside the kernel.  It works at the _file_ level
(on top of a standard filesystem), with encryption keys specified on
a per-directory-tree basis, so doesn't care about the filesystem size.
I've been using cfs for about 15 years (first 7 on SunOS, last 8 on
OpenBSD), and am generally happy with it.

-- 
-- Jonathan Thornburg [remove -animal to reply] [EMAIL PROTECTED]
   School of Mathematics, U of Southampton, England
   Space travel is utter bilge -- common misquote of UK Astronomer Royal
Richard Woolley's remarks of 1956
   All this writing about space travel is utter bilge.  To go to the
moon would cost as much as a major war. -- what he actually said



Re: mislabeled softraid device in bioctl?

2008-06-08 Thread Marco Peereboom
I need a dmesg and the disklabel of sd0 and sd1 to see what is going on.

On Sun, Jun 08, 2008 at 12:28:16AM +0200, Markus Bergkvist wrote:
 Hi,

 It seems that my RAID1 softraid device gets listed as RAID0 and vice versa 
 with bioctl, or am I misinterpreting the output?

 $ sudo bioctl -ih softraid0
 Volume  Status   Size Device
 softraid0 0 Online  10.0G sd3 RAID1
   0 Online  10.0G 0:0.0   noencl sd0b
   1 Online  10.0G 0:1.0   noencl sd1b
 softraid0 1 Online  20.0G sd2 RAID0
   0 Online  10.0G 1:0.0   noencl sd0a
   1 Online  10.0G 1:1.0   noencl sd1a


 $ sudo disklabel -p g sd2
 # Inside MBR partition 3: type A6 start 63 size 20964762
 # /dev/rsd2c:
 type: SCSI
 disk: SCSI disk
 label: SR RAID 1
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 1305
 total bytes: 10.0G
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0

 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:10.0G 0.0G  4.2BSD   2048 163841
   c:10.0G 0.0G  unused  0 0


 $ sudo disklabel -p g sd3
 # Inside MBR partition 3: type A6 start 63 size 41929587
 # /dev/rsd3c:
 type: SCSI
 disk: SCSI disk
 label: SR RAID 0
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 2610
 total bytes: 20.0G
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0

 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:20.0G 0.0G  4.2BSD   2048 163841
   c:20.0G 0.0G  unused  0 0



Re: network.conf

2008-06-08 Thread Stuart Henderson
On 2008-06-08, Alexander Polakov [EMAIL PROTECTED] wrote:
 Hi there.

 Here is ports(7)

 ...
 NETWORK CONFIGURATION
 The variables pertaining to network access have been marshalled
 into
 ${PORTSDIR}/infrastructure/templates/network.conf.template.

 To customize that setup, copy that file into
 ${PORTSDIR}/infrastructure/db/network.conf and edit
 it.
 ...

 I did that, but the file (${PORTSDIR}/infrastructure/db/network.conf)
 is deleted with every cvsup. Is there any way to keep it?

Either cvsup (or cvsync) the *repository* rather than the checkout,
then use local cvs operations against that to update your working tree.
Or just work directly against an anoncvs server.



Re: Encrypted filesystems

2008-06-08 Thread Michael

Hey,

Jonathan Thornburg schrieb:

In message http://marc.info/?l=openbsd-miscm=121259415410042w=1,
Alphons Fonz van Werven asked

Are there any means of encrypting filesystems other than using cryptfs
plus vnode? As far as I could find out, the latter imposes a size limit
of roughly 8GB which is acceptable for most partitions but not all of
them.


It may not be what you want, but cfs (ports/packages) is a cryptographic
filesystem which runs outside the kernel.  It works at the _file_ level
(on top of a standard filesystem), with encryption keys specified on
a per-directory-tree basis, so doesn't care about the filesystem size.
I've been using cfs for about 15 years (first 7 on SunOS, last 8 on
OpenBSD), and am generally happy with it.


I never ran into a partition size limit with vnconfig on OpenBSD... 
largest currently encrypted HDD is a 160 GB secondary notebook drive, 
all one partition, containing a traveling backup of some stuff. ;-)


cfs on the other hand... never really got it to work reliable.


Michael



Re: testing request: pf internals rearrangement

2008-06-08 Thread Josh
I have had both firewalls in a carp/pfsync pair which are running the same 
snapshot crash;


uvm_fault(0xd07f81e0, 0x0, 0, 1) - e
kernel: page fault trap, code=0
Stopped at  pf_test_rule+0x8a0: movl0x58(%eax),%ecx
ddb pf_test_rule(d51efd64,d51efd5c,1,d0ba8500,db53ad00) at pf_test_rule+0x8a0
pf_test(1,d0c54800,d51efe64,0) at pf_test+0x8c1
ipv4_input(db53ad00,d0b9a180,6840,7c10c) at ipv4_input+0x124
ipintr(58,10,d51e0010,d0480010,7c10c) at ipintr+0x64
Bad frame pointer: 0xd51efe7c
ddbPID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND 
 29392  24940  24940  0  2 0x40100sendmail
   897  22729897  0  2  0x4002top 
 22729  16691  22729  0  3  0x4082  pause ksh 
 16691   9570  16691  0  2  0x4180sshd
 17835   3928  17835  0  3  0x4082  ttyin ksh 
  3928   9570   3928  0  2  0x4180sshd
  6950  1   6950  0  3  0x4082  ttyin getty   
 27487  1  27487  0  3  0x4082  ttyin getty   
  1375  1   1375  0  3  0x4082  ttyin getty   
 11547  1  11547  0  3  0x4082  ttyin getty   
  3455  1   3455  0  3  0x4082  ttyin getty   
  4587  1   4587  0  2   0cron
  9570  1   9570  0  30x80  selectsshd
 24940  1  24940  0  2 0x40100sendmail
   138  1138  0  3   0x180  selectinetd   
 30566  14663  14663 83  2   0x100ntpd
 14663  1  14663  0  2   0ntpd
 10627  31688  31688 70  3   0x100  uvn_getpage   named   
 31688  1  31688  0  3   0x180  netio named   
  5097   8724   8724 74  2   0x100pflogd  
  8724  1   8724  0  30x80  netio pflogd  
 16751   7245   7245 73  2   0x100syslogd 
  7245  1   7245  0  30x88  netio syslogd 
12  0  0  0  30x100200  bored crypto  
11  0  0  0  30x100200  aiodoned  aiodoned
10  0  0  0  20x100200update  
 9  0  0  0  30x100200  cleaner   cleaner 
 8  0  0  0  30x100200  reaperreaper  
*7  0  0  0  70x100200pagedaemon  
 6  0  0  0  20x100600pfpurge 
 5  0  0  0  30x100200  acpi_idle acpi0   
 4  0  0  0  30x100200  bored syswq   
 3  0  0  0  30x100200idle0   
 2  0  0  0  30x100200  km_alloc1wkmthread
 1  0  1  0  3  0x4080  wait  init
 0 -1  0  0  3 0x80200  scheduler swapper  



Here is the last pf related info I have off of one of the machines
before it crashed (less than 30 minutes later):


Sun Jun  8 01:30:03 NZST 2008

Status: Enabled for 5 days 05:53:11 Debug: Misc

State Table  Total Rate
  current entries  513   
  searches   112428343  248.1/s
  inserts   9196082.0/s
  removals  9190952.0/s
Counters
  match 9735382.1/s
  bad-offset 00.0/s
  fragment   00.0/s
  short  00.0/s
  normalize  00.0/s
  memory 00.0/s
  bad-timestamp  00.0/s
  congestion 00.0/s
  ip-option  00.0/s
  proto-cksum00.0/s
  state-mismatch   1080.0/s
  state-insert   00.0/s
  state-limit00.0/s
  src-limit  00.0/s
  synproxy   00.0/s

NameSize Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg
Maxpg Idle
pfiaddrpl100400 1 0 1 1 0
80
pfrulepl 848   300   10 8 0 8 8 0
82
pfstatepl192  51225660  512206849 04949 0

Re: Upgrade problem openbsd 4.1 - 4.2 on HP Proliant DL140 G3

2008-06-08 Thread Steve Shockley

Harald Oest wrote:

i have a strange problem upgrading OpenBSD 4.1 to 4.2 on two IDENTICAL
HP Proliant DL 140 G3 servers. While machine 1 runs the upgrade 
procedure without any problem, machine 2 encounters an error when 
checking the root filesystem.


Try running the HP offline diags, even though it runs it could still be 
a hardware issue.


ftp://ftp.hp.com/pub/softlib2/software1/pubsw-windows/p308176172/v44309



Re: testing request: pf internals rearrangement

2008-06-08 Thread Henning Brauer
ok it seems to be pf.c line 3397 (mybe littleoffset for you,i have 
chnges in my tree),which is
pool_put(pf_src_tree_pl, nsn);
in the second if block after the cleanup label. this is in source node 
tracking, as in, not new or changed code. crash there means we either 
tried to pool_put something invalid (double free style?) or we have 
pool corrpution.


* Josh [EMAIL PROTECTED] [2008-06-08 17:11]:
 I have had both firewalls in a carp/pfsync pair which are running the same 
 snapshot crash;
 
 
 uvm_fault(0xd07f81e0, 0x0, 0, 1) - e
 kernel: page fault trap, code=0
 Stopped at  pf_test_rule+0x8a0: movl0x58(%eax),%ecx
 ddb pf_test_rule(d51efd64,d51efd5c,1,d0ba8500,db53ad00) at pf_test_rule+0x8a0
 pf_test(1,d0c54800,d51efe64,0) at pf_test+0x8c1
 ipv4_input(db53ad00,d0b9a180,6840,7c10c) at ipv4_input+0x124
 ipintr(58,10,d51e0010,d0480010,7c10c) at ipintr+0x64
 Bad frame pointer: 0xd51efe7c
 ddbPID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
  
  29392  24940  24940  0  2 0x40100sendmail
897  22729897  0  2  0x4002top 
  22729  16691  22729  0  3  0x4082  pause ksh 
  16691   9570  16691  0  2  0x4180sshd
  17835   3928  17835  0  3  0x4082  ttyin ksh 
   3928   9570   3928  0  2  0x4180sshd
   6950  1   6950  0  3  0x4082  ttyin getty   
  27487  1  27487  0  3  0x4082  ttyin getty   
   1375  1   1375  0  3  0x4082  ttyin getty   
  11547  1  11547  0  3  0x4082  ttyin getty   
   3455  1   3455  0  3  0x4082  ttyin getty   
   4587  1   4587  0  2   0cron
   9570  1   9570  0  30x80  selectsshd
  24940  1  24940  0  2 0x40100sendmail
138  1138  0  3   0x180  selectinetd   
  30566  14663  14663 83  2   0x100ntpd
  14663  1  14663  0  2   0ntpd
  10627  31688  31688 70  3   0x100  uvn_getpage   named   
  31688  1  31688  0  3   0x180  netio named   
   5097   8724   8724 74  2   0x100pflogd  
   8724  1   8724  0  30x80  netio pflogd  
  16751   7245   7245 73  2   0x100syslogd 
   7245  1   7245  0  30x88  netio syslogd 
 12  0  0  0  30x100200  bored crypto  
 11  0  0  0  30x100200  aiodoned  aiodoned
 10  0  0  0  20x100200update  
  9  0  0  0  30x100200  cleaner   cleaner 
  8  0  0  0  30x100200  reaperreaper  
 *7  0  0  0  70x100200pagedaemon  
  6  0  0  0  20x100600pfpurge 
  5  0  0  0  30x100200  acpi_idle acpi0   
  4  0  0  0  30x100200  bored syswq   
  3  0  0  0  30x100200idle0   
  2  0  0  0  30x100200  km_alloc1wkmthread
  1  0  1  0  3  0x4080  wait  init
  0 -1  0  0  3 0x80200  scheduler swapper  
 
 
 
 Here is the last pf related info I have off of one of the machines
 before it crashed (less than 30 minutes later):
 
 
 Sun Jun  8 01:30:03 NZST 2008
 
 Status: Enabled for 5 days 05:53:11 Debug: Misc
 
 State Table  Total Rate
   current entries  513   
   searches   112428343  248.1/s
   inserts   9196082.0/s
   removals  9190952.0/s
 Counters
   match 9735382.1/s
   bad-offset 00.0/s
   fragment   00.0/s
   short  00.0/s
   normalize  00.0/s
   memory 00.0/s
   bad-timestamp  00.0/s
   congestion 00.0/s
   ip-option  00.0/s
   proto-cksum00.0/s
   state-mismatch   1080.0/s
   state-insert  

alix 2c3 bios version

2008-06-08 Thread Mark Zimmerman
Greetings:

I just got a new alix 2c3 board and it came with bios version 0.99
(12/10/07).  There is a new version, 0.99b (1/27/08) available. Has
anyone experienced problems with 0.99 using OpenBSD?  I prefer not to
reflash bioses without a reason.

Related question: If I need to reflash, I am using a serial connection
from a laptop running -current.  The upload needs to use xmodem
protocol. I found the ~C command in tip to use an external program for
upload but I have not found anything in base or ports that will do the
xmodem upload. Is there something?  My fallback is to use a linux
machine with minicom but I wondered if OpenBSD can do this.

-- Mark



Re: testing request: pf internals rearrangement

2008-06-08 Thread Henning Brauer
this was not meant to go to the list, and the analysis was off due to a 
difference in kernel sources. meanwhile mbalmer went into that bug to 
and I found it. It is obvious why nobody ran in to it yet; it is ipv6 
only.

Index: pf.c
===
RCS file: /cvs/src/sys/net/pf.c,v
retrieving revision 1.579
diff -u -p -r1.579 pf.c
--- pf.c2 Jun 2008 11:38:22 -   1.579
+++ pf.c8 Jun 2008 17:13:11 -
@@ -3058,7 +3058,8 @@ pf_test_rule(struct pf_rule **rm, struct
goto cleanup;
}
 
-   bip_sum = *pd-ip_sum;
+   if (pd-ip_sum)
+   bip_sum = *pd-ip_sum;
 
switch (pd-proto) {
case IPPROTO_TCP:


-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: alix 2c3 bios version

2008-06-08 Thread Matthew Dempsky
On Sun, Jun 8, 2008 at 10:04 AM, Mark Zimmerman [EMAIL PROTECTED] wrote:
 My fallback is to use a linux
 machine with minicom but I wondered if OpenBSD can do this.

Is minicom's xmodem support tied to Linux?  OpenBSD's ports tree has
comm/minicom.



dhcpd.interfaces removed

2008-06-08 Thread Jason Dixon
Support for /etc/dhcpd.interfaces has been removed in current.  The few
users out there still using it should add their interfaces to
dhcpd_flags in /etc/rc.conf.local.

Example:
dhcpd_flags=fxp0 bge0



Re: alix 2c3 bios version

2008-06-08 Thread Stuart Henderson
On 2008-06-08, Mark Zimmerman [EMAIL PROTECTED] wrote:
 I just got a new alix 2c3 board and it came with bios version 0.99
 (12/10/07).  There is a new version, 0.99b (1/27/08) available. Has
 anyone experienced problems with 0.99 using OpenBSD?  I prefer not to
 reflash bioses without a reason.

You should read the release notes in the .txt file...

 Related question: If I need to reflash, I am using a serial connection
 from a laptop running -current.  The upload needs to use xmodem
 protocol. I found the ~C command in tip to use an external program for
 upload but I have not found anything in base or ports that will do the
 xmodem upload. Is there something?  My fallback is to use a linux
 machine with minicom but I wondered if OpenBSD can do this.

lrzsz



Re: alix 2c3 bios version

2008-06-08 Thread Paul de Weerd
On Sun, Jun 08, 2008 at 11:04:25AM -0600, Mark Zimmerman wrote:
| Greetings:
| 
| I just got a new alix 2c3 board and it came with bios version 0.99
| (12/10/07).  There is a new version, 0.99b (1/27/08) available. Has
| anyone experienced problems with 0.99 using OpenBSD?  I prefer not to
| reflash bioses without a reason.

I have several 2c3's, all running 0.99, all running very -current
snapshots, all perfectly fine. I have not flashed 0.99b since the
release notes did not lead me to believe I'd gain anything from it :

v0.99b  pd 080111   Add PCI table entry for Commell MP-541
dual LAN miniPCI card.

Of course, I don't have a Commell MP-541 dual LAN miniPCI card, so
YMMV. My best guess is that 0.99 will be perfectly fine for your
needs.

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: remove any unwanted devices from the kernel.

2008-06-08 Thread Duncan Patton a Campbell
On Fri, 6 Jun 2008 16:50:37 -0700
Scott Learmonth [EMAIL PROTECTED] wrote:

  As someone else who writes code for this fine os would say: removing
  drivers is pure masturbation.
 
 Hah, perfect.
 
 As a first foray into BSD I stumbled upon FreeBSD. To make it do what  
 I wanted, step one was to compile a custom kernel. BOOYAH, I got a  
 geek-on.
 
 A few months later I had chosen OpenBSD, and have never looked back.  
 Sure, tinkering is what we do in may ways (n00b or dev, computer guts  
 are what we like), and what better tinker-tool than 5 minutes picking  
 drivers and a 3 hour compile? But you know what? GENERIC just works.  
 And the REALLY beautiful thing, is that config just works too for  
 kernel configuration. You can even write your changes to the kernel  
 permanently, saving all that compile time. I'm not versed enough to  
 know if a config modified kernel provides the same, um, savings as a  
 custom kernel if you used it to remove drivers however.
 
 Cheers
 

I had an incident with a 4.1+ snapshot where in order to get some
customer config to work I needed to build a GENERIC OBSD system 
from scratch with some patch code.  This was only somewhat more 
complicated than building a custom FreeBSD kernel.  The monolithic
OBSD build methodology is only good most of the time, and when it
isn't, it's a bit of a bear.

Dhu



Re: alix 2c3 bios version - SUMMARY

2008-06-08 Thread Mark Zimmerman
Thanks for all the helpful responses. Here is a summary, for the
archives.

On Sun, Jun 08, 2008 at 11:04:25AM -0600, Mark Zimmerman wrote:
 Greetings:
 
 I just got a new alix 2c3 board and it came with bios version 0.99
 (12/10/07).  There is a new version, 0.99b (1/27/08) available. Has
 anyone experienced problems with 0.99 using OpenBSD?  I prefer not to
 reflash bioses without a reason.

0.99 works fine with -current as of 08-Jun-2008. I am running it now,
as are others. One off-list response reported undesirable results with
reflashing through the serial port and recommended reflashing with
bootable CF, if necessary. I am sticking with 0.99.

 
 Related question: If I need to reflash, I am using a serial connection
 from a laptop running -current.  The upload needs to use xmodem
 protocol. I found the ~C command in tip to use an external program for
 upload but I have not found anything in base or ports that will do the
 xmodem upload. Is there something?  My fallback is to use a linux
 machine with minicom but I wondered if OpenBSD can do this.
 

minicom is in ports (I forgot to look). Also, lrzsz is a smaller
program in ports that should work with tip.



4.2 xenocara make build problem

2008-06-08 Thread Jesus Sanchez

Hi, using 4.2.

Today I downloaded the xenocara.tar.gz from ftp.openbsd.org and it seems
to have a problem.

I untared the source into /usr/src/xenocara, cleaned the /usr/xobj/* dir
and set a DESTDIR. As root, I runed

make bootstrap (no problem)
make obj (no problem)
make build (-- problem --)

It have problems when compiling /usr/src/xenocara/lib/freetype

I can't give you more info because I'm writting this in other working
computer. I will paste the output as soon as I can. there is any
known problem with this??

Note that I downloaded the source from other servers and get the same
file (checked with md5) so its not a corrup xenocara.tar.gz


Thanks for all
-Jesus



Re: alix 2c3 bios version

2008-06-08 Thread Mark Zimmerman
On Sun, Jun 08, 2008 at 10:29:01AM -0700, Matthew Dempsky wrote:
 On Sun, Jun 8, 2008 at 10:04 AM, Mark Zimmerman [EMAIL PROTECTED] wrote:
  My fallback is to use a linux
  machine with minicom but I wondered if OpenBSD can do this.
 
 Is minicom's xmodem support tied to Linux?  OpenBSD's ports tree has
 comm/minicom.

You're right, of course. I was looking for a standalone xmodem program
and forgot to do the obvious and look for minicom.

-- Mark



New ix(4) driver for Intel 82598 10Gb Ethernet

2008-06-08 Thread Reyk Floeter
Hello,

I just imported ix(4), a driver for the Intel 82598EB 10 Gigabit
Ethernet adapters. It is based on Intel's ixgbe FreeBSD driver, with
many local changes for OpenBSD.

The driver is fully-operational and survived some long-time tests, I
had to work on borrowed hardware from another company since Intel
didn't provide us any cards. It is currently not sure how to maintain
the driver in the future without having cards in the project.

John Ronciak from Intel told me told me that they don't have more
cards to give away. It is purely a business case issue; a lot of
customer have asked for FreeBSD, they got two cards, but nobody asked
for an OpenBSD driver. He told me that they're doing the right for
their customers. But of course I could still buy them on the open
market.

Anyway, have fun with ix(4), it may become more common on the market.

Reyk



lii0 and dhclient stopped working in -current

2008-06-08 Thread frantisek holop
hi there,

i just upgraded to 7th jun -current and dhclient on lii0
doesnt work anymore.  a couple of weeks ago it was fine.

now it is and endless link change festival:

amaaq route -n monitor
got message of size 144 on Mon Jun  9 15:42:09 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: no carrier, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
got message of size 144 on Mon Jun  9 15:42:12 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: active, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
got message of size 144 on Mon Jun  9 15:42:12 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: no carrier, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
got message of size 144 on Mon Jun  9 15:42:16 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: active, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
got message of size 144 on Mon Jun  9 15:42:17 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: no carrier, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
got message of size 144 on Mon Jun  9 15:42:24 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: active, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
got message of size 144 on Mon Jun  9 15:42:24 2008
RTM_IFINFO: iface status change: len 144, if# 1, link: no carrier, 
flags:UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST

-f
-- 
free cheese is found only in a mousetrap.