Motty Cruz | 25 Nov 21:52 2014
Picon

Packet Filter router i368 vs 64bit

Hello all,
I am searching for hardware to build a router with OpenBSD. I have found 
mixed signals as to fastest system with i386 or 64bit. I know in the 
past i386 OpenBSD used to perform a lot better than 64bit system.

Any suggestions!
Thanks,
Motty

Raimo Niskanen | 25 Nov 15:39 2014
Picon
Picon

Patch 009_httpd.patch did not apply cleanly

Hi.

I applied patch 009_httpd.patch extracted from a downloaded 5.6.tar.gz
according to inline instructions on a source tree from the 5.6 release CD,
and approximately 6 hunks in 3 files were rejected.

This was late last evening and I will try again any day to produce proper
logs and double check what source tree I tried to patch, but if this is a 
simple mistake from the patch writer's side I think the information above
might be sufficient...

Best Regards
--

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

patrick keshishian | 25 Nov 08:48 2014
Picon

USB hub stopped working

Hi,

I have this USB hub, which is connected to my desktop
PC; it makes the USB ports accessible w/o need to crawl
under the desk. I'll seldom need to transfer files (to/fro)
with a USB stick, which I plug into one of the hub ports.

I don't quite recall when it was last used. But with 2014-NOV-21
snapshot it doesn't seem to work.

OpenBSD 5.6-current (GENERIC) #563: Fri Nov 21 10:09:03 MST 2014
    deraadt <at> amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Plug it in, and it is detected:
uhub5 at uhub0 port 1 "Genesys Logic USB2.0 Hub" rev 2.00/7.02 addr 3

Plug in a USB mem-stick and nothing.
Unplug the USB stick from hub: nothing.
Unplug hub from computer's USB port:

uhub5 detached

Plug the USB stick directly into the same USB port on the
computer:

umass0 at uhub0 port 1 configuration 1 interface 0 "Kingston DT 101
G2" rev 2.00/1.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
sd1 at scsibus4 targ 1 lun 0: <Kingston, DT 101 G2, PMAP> SCSI0
(Continue reading)

Bernte | 24 Nov 23:04 2014
Picon

CUPS printer problems

Hi -

Since upgrading to 5.6, I am having problems to detect my Brother USB 
printer in CUPS.

The problem is that the printer is not found by the 'usb' backend:

# /usr/local/libexec/cups/backend/usb
DEBUG: Loading USB quirks from "/usr/local/share/cups/usb".
DEBUG: Loaded 68 quirks.
DEBUG: list_devices
DEBUG: libusb_get_device_list=8
DEBUG: Failed to check whether 04f9:001a has the "usblp" kernel module 
attached

The error looks suspicious, though I did not find anything useful about 
it googling the web (it seems to be an error caused by libusb).

The printer does show up in usbdevs -vd:

# usbdevs -vd
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
RDC(0x17f3), rev 1.00
   uhub0
  port 1 powered
  port 2 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
RDC(0x17f3), rev 1.00
(Continue reading)

Jason Tubnor | 25 Nov 00:04 2014
Picon

vnconfig crypto alternative

With crypto being deprecated (and possibly removed in future versions
- depending on dev direction) from vnconfig, would the following be
assumed one way of providing an encrypted container?

To create 200MB encrypted container:

sudo dd if=/dev/zero of=/var/encrypt/container.encrypt bs=1m count=200
sudo chmod 600 /var/encrypt/container.encrypt
sudo vnconfig vnd0 /var/encrypt/container.encrypt
printf "a\n\n\n\nRAID\nw\nq\n\n" | sudo disklabel -E vnd0
sudo bioctl -c C -l vnd0a softraid0
## Enter your secret passphrase here....
sudo dd if=/dev/zero of=/dev/rsd1c bs=1m count=1
printf "a\n\n\n\n4.2BSD\nw\nq\n\n" | sudo disklabel -E sd1
sudo newfs /dev/rsd1a
sudo mount /dev/sd1a /encrypt
##
sudo umount /encrypt
sudo bioctl -d sd1
sudo vnconfig -u vnd0

Then to re-use:

sudo vnconfig vnd0 /var/encrypt/container.encrypt
sudo bioctl -c C -l vnd0a softraid0
## Enter your secret passphrase here....
sudo mount /dev/sd1a /encrypt
##
sudo umount /encrypt
sudo bioctl -d sd1
(Continue reading)

Duncan Patton a Campbell | 24 Nov 23:21 2014
Picon

"Waiting for printer to become available."

Howdy all?

I'm currently trying to get a USB printer (either Samsung or Brother) to
work with amd64 OBSD 5.6 (patched to 009).  I've had the Brother (DCP7020)
working with cups since 4.1.  Nothing in the cups error log, nothing /var/log/*,
and localhost:631 just tells me "Waiting for printer to become available."

I've disabled ulpt (ukc> disable ulpt ...284 ulpt* already disabled) and 
am seeing mostly linux references to this that say "reinstall the package",
which I've done to no apparent effect.  

If you know something of this or can give me a pointer to something salient, 
I'd appreciate it.

Thanks,

Dhu

--

-- 
Ne obliviscaris, vix ea nostra voco.

Adam Thompson | 24 Nov 19:55 2014
Picon

Re: 5.5-to-5.6 upgrade with mtier binpatch pkgs?

On 14-11-24 12:28 PM, David Higgs wrote:
> On Mon, Nov 24, 2014 at 1:12 PM, Adam Thompson <athompso <at> athompso.net> wrote:
>> I just upgraded one of a matched pair of 5.5 systems to 5.6, and after the
>> upgrade finished, it occured to me to wonder "what about the
>> binpatch55-amd64-* packages from m:tier"?
>>
>> They're all still installed (unsurprisingly), and I'm uncertain what to do
>> about it now.  I'm thinking that if I uninstall the packages normally,
>> they'll revert certain system files to 5.5-RELEASE, which would be
>> undesirable.
>>
>> So I now have two cases:
>> 1) for a post-5.6-upgraded system, should I just manually remove
>> /var/db/pkg/binpatch55*  and /var/db/binpatch/*, or is there a better way to
>> handle this?
>> 2) for the not-yet-upgraded system, should I remove the patches normally,
>> reverting to 5.5-RELEASE, or ... ?
> Did you run openup after your upgrade?  I think it cleaned up after
> itself.  If you're installing them manually, you can consult the
> openup source to see exactly how it does this.
No, I hadn't run openup yet - I was afraid to, as the openup page 
doesn't mention this case and I hadn't read the source yet.

For the record, this appears to be the situation:
  - You can follow the normal upgrade procedure on a system that has 
m:tier binpatches on it.
  - If you were using their openup tool, simply run it again after 
you've completed all the other upgrade steps and it'll clean up the old 
binpkgs.
  - If you weren't using their openup tool, manually remove all the 
(Continue reading)

Adam Thompson | 24 Nov 19:12 2014
Picon

5.5-to-5.6 upgrade with mtier binpatch pkgs?

I just upgraded one of a matched pair of 5.5 systems to 5.6, and after 
the upgrade finished, it occured to me to wonder "what about the 
binpatch55-amd64-* packages from m:tier"?

They're all still installed (unsurprisingly), and I'm uncertain what to 
do about it now.  I'm thinking that if I uninstall the packages 
normally, they'll revert certain system files to 5.5-RELEASE, which 
would be undesirable.

So I now have two cases:
1) for a post-5.6-upgraded system, should I just manually remove 
/var/db/pkg/binpatch55*  and /var/db/binpatch/*, or is there a better 
way to handle this?
2) for the not-yet-upgraded system, should I remove the patches 
normally, reverting to 5.5-RELEASE, or ... ?

Thanks,
-Adam

--

-- 
-Adam Thompson
  athompso <at> athompso.net
  Cell: +1 204 291-7950
  Fax: +1 204 489-6515

Steven Surdock | 24 Nov 17:15 2014

upd0 detached - can I reset USB

It appears that my UPS has detached.  Is there a programmatic way to reset a USB port?  I'm confident if I unplug
the UPS and plug it back in it will reattach, but I don't have physical access to the server.  I'd prefer not to
reboot either.  Thanks.

  FROM DMESG
uhidev0 at uhub1 port 1 configuration 1 interface 0 "American Power Conversion Smart-UPS 1500 FW:601.3.D
USB FW:1.3" rev 1.10/0.06 addr 2
uhidev0: iclass 3/0, 54 report ids
upd0 at uhidev0
  FROM /var/log/messages
Nov 23 15:54:29 builder02 /bsd: upd0 detached
Nov 23 15:54:29 builder02 /bsd: uhidev0 detached

-Steve S.

Lars Nooden | 24 Nov 15:56 2014
Picon

lii0 no link on 5.6-current i386

I've been trying to move from 5.4 to 5.6 on an old machine.  Neither 
5.6-release from the CD nor 5.6-current from the recent snapshots seem to 
be able to use the Ethernet device.  During power up, the link status 
light is on, but then as the kernel loads it goes out and stays out.

What have I missed that I need to set for Ethernet?  I don't see anything 
that stands out in the man page lii(4) or on the web page plus56.html

Regards,
/Lars

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
pms0: Synaptics touchpad, firmware 6.5
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub0 port 5 configuration 1 interface 0 "ENE UB6225" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <USB2.0, CardReader SD0, 0100> SCSI0 0/direct removable serial.09511606146030377350
uplcom0 at uhub2 port 2 "Prolific Technology Inc. USB-Serial Controller" rev 1.10/3.00 addr 2
ucom0 at uplcom0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
(Continue reading)

Philip Guenther | 24 Nov 14:22 2014
Picon

Re: kernel page fault trap

On Monday, November 24, 2014, Nikos Skalkotos <skalkoto <at> grnet.gr> wrote:
>
> On 23/11/14 06:27, Philip Guenther wrote:
> ...
> > Note the cssize (cylinder summary size) has grown but csaddr hasn't
> > changed.  That means it probably had to relocate allocated blocks.  This
> > being your root disk, it may have relocated blocks in /boot, which would
> > require re-running installboot.
>
> ...

> I tried zeroing the space first, and then copying the openbsd image
> into the zeroed space like this:
>
 ...

> But I get the very same error after resizing. I don't think this is it.
>

 Was that with rerunning installboot after the fsck?

Philip Guenther


Gmane