Re: ERR M after updating to newer snapshot

2014-02-09 Thread Fred

On 02/08/14 15:50, Timo Myyrä wrote:


Yeap, got OpenBSD to boot by overwriting the old openbsd.pbr on it with newer
one. Didn't need to do the rest of steps.

Seems that install ramdisk doesn't have any write support for NTFS
partitions so I can't directly update it from ramdisk. Gotta check if ramdisk
has FAT support so I wouldn't have to boot into Windows to update PBR.

Timo



I'm pretty sure there is no NTFS support on the RAMDISK, but I used to 
dd the pbr to usbpen drive at the end of the installation before rebooting.


hth

Fred



Re: ERR M after updating to newer snapshot

2014-02-08 Thread Fred

On 02/08/14 11:30, Timo Myyrä wrote:

Hi,

I'm dual-booting my desktop with BCD between Win7 and OpenBSD.
My disk has two primary partitions, one for Windows and second one for
OpenBSD.
I just updated to latest snapshot via normal process but after rebooting
I get stuck on ERR M.
Same thing happened on last update as well.
Last time I got things going by booting via CD and re-doing steps
detailed in http://www.openbsd.org/faq/faq4.html#Multibooting

The FAQ tells that the causes for ERR M might be incorrectly run
installboot or alteration of /boot file.
Is this common occurance? Does the boot file change on each upgrade or
is there something more happening here?
I'd hate to do the PBR update steps after each update.

Timo


Hi Timo,

I used to get this when I forgot to update the openbsd.pbr as part of 
the upgrade process. I think you have to upgrade the pbr on windows as 
part of the upgrade process - on WinXP overwriting the existing pbr file 
with the new one was enough - not sure if this is the case with Win7.


hth

Fred



Re: realtek 8168 problem

2014-01-29 Thread Fred

On 01/29/14 23:51, Gabriel Marchi wrote:

Hi all,
Has anybody tested Realtek RTL8168/8111 PCI-E Gigabit Ethernet Adapter with
OpenBSD 5.4 amd64 and OpenBSD -current? Network doesn't work at Dell vostro
5470.

Thanks everybody!



I have that chipset on a motherboard with dual gigabit ethernet and it's 
working for me on:


OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

atom:fred ~ dmesg|grep ^re[01]
re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), apic 4 int 18, address 00:30:18:a6:cb:02
re1 at pci3 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), apic 4 int 19, address 00:30:18:a6:cb:03
re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), apic 4 int 18, address 00:30:18:a6:cb:02
re1 at pci3 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), apic 4 int 19, address 00:30:18:a6:cb:03
re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), apic 4 int 18, address 00:30:18:a6:cb:02
re1 at pci3 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), apic 4 int 19, address 00:30:18:a6:cb:03

atom:fred ~ ifconfig re
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:30:18:a6:cb:02
description: WAN Interface
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
inet6 fe80::230:18ff:fea6:cb02%re0 prefixlen 64 scopeid 0x1
inet 82.19.XXX.XXX netmask 0xfc00 broadcast 82.19.255.255
re1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:30:18:a6:cb:03
description: LAN Interface
priority: 0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 192.168.5.XXX netmask 0xff00 broadcast 192.168.5.255
inet6 fe80::230:18ff:fea6:cb03%re1 prefixlen 64 scopeid 0x2

hth

Fred



Re: Novena open computing platform + openbsd?

2014-01-26 Thread Fred

On 01/26/14 18:38, Why 42? The lists account. wrote:

Hi All,

Saw this and found it very interesting:

 http://www.kosagi.com/w/index.php?title=Novena_Main_Page

In summary the intention is to create an open laptop computer e.g.

 - All the components should have a reasonably complete set of
   NDA-free documentation.

 - No binary blobs should be required to boot and operate the system
   for the scenarios I care about (This one is a bit tricky).

 - The machine must be able to build its own firmware from source.

 - The physical design should be accessible.

 - The machine must be useful as a hardware and security hacking
   platform.

See also: http://www.bunniestudios.com/ (Bunny is Andrew Huang - one of
the primary project members.)

The hardware spec. lists a Freescale iMX6 CPU, the system is currently
booting a Linux kernel.

How feasible would it be to get OpenBSD on this platform?

What would be involved it getting a (complete) OpenBSD system implemented?

(Searching didn't show me any previous discussion of novena + openbsd.)

Cheers,
Robb.



Hi Robb,

I've been following the Novena project and it could be really interesting.

For OpenBSD to run on it we would need to get a couple of the Laptops to 
the Developers - but the imx already supports some iMX6 CPU's, but the 
armv7 port still needs work but is usable on the supported SoC's.


hth

Fred



Re: Is my 5.4 CD ok?

2014-01-16 Thread Fred

On 01/17/14 01:28, Mario wrote:

Hi list.

I know you are all busy discussing electricity issues but maybe one of you can 
take a moment to answer this.

Browsing my new CDs for first time ever, I am a little confused and I am 
seeking clarification.  Is the following normal?  Because when I think about 
it, can really over 14,000  packages (amd64 + hppa) fit on a CD.  I am puzzled.

marst:349$ pwd
/mnt/5.4/packages/amd64
marst:350$ ls -l
total 25238
-r--r--r--  1 root  wheel  539 Aug  5 17:25 TRANS.TBL
-r--r--r--  1 root  wheel   125468 Jul 29 13:26 bzip2-1.0.6p0.tgz
-r--r--r--  1 root  wheel   674979 Jul 29 13:26 curl-7.26.0p3.tgz
-r--r--r--  1 root  wheel  7556487 Jul 29 13:26 gettext-0.18.2p3.tgz
-r--r--r--  1 root  wheel  2012934 Jul 29 13:26 gnupg-1.4.13p0.tgz
-r--r--r--  1 root  wheel  159 Aug  5 17:22 index.txt
-r--r--r--  1 root  wheel  1521545 Jul 29 13:26 libiconv-1.14p0.tgz
-r--r--r--  1 root  wheel   264257 Jul 29 13:26 libidn-1.27.tgz
-r--r--r--  1 root  wheel   280021 Jul 29 13:26 rsync-3.0.9p3.tgz
-r--r--r--  1 root  wheel   165840 Jul 29 13:26 unzip-6.0p2.tgz
-r--r--r--  1 root  wheel   322276 Jul 29 13:26 xz-5.0.5.tgz
marst:351$

I guess the question is are all the binaries supposed to be on CD because if I 
follow instructions as per booklet:

% su
Password : root password
# mount /dev/cd0a /mnt
# /mnt/5.4/packages/amd64
# pkg_add emacs-21.4p23.tgz

That's not working.  Well it worked when my $PKG_PATH was still set on ftp but 
I suppose PKG_PATH is supposed to be set to the CD path.

Also nowhere on CD2 I can find the soundtrack.  I suppose that should be easy.  
I would really need a song at the moment.


Hi Mario,

The song is on the i386 + loongson + vax cd:

port:fred ~ sudo mount -t cd9660 /dev/cd0a /mnt/cd
Password:
port:fred ~ ls /mnt/cd/
5.4PACKAGES   README etc
HARDWARE   PORTS  TRANS.TBL  song54.mp3

And yes there are only 9 packages on the CD - the rest can be download 
from one of the mirrors.


There is only so much that can be put on 3 CDROMs.

Cheers

Fred



Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Fred

On 12/05/13 07:20, obsd, cgi wrote:

So I know the rule.. only remember a few very very long passwords (ex.:
based on several words and a few special chars), and keep the rest of the
passwords in a password manager (those aren't remembered and extreme long).

But this gets me to 2 questions:

- Are there any default password managers in OpenBSD (console/GUI based?)?
Or there are only from ports that are not very audited? What is the advise
to where to store the pwd's?

- Are there any best-practises to generate a password? - that are kept in
password manager, so ex.: 128 char long with special/random chars, etc.

Thanks for your time



There is password-gorilla in packages.

hth

Fred



Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Fred

On 12/05/13 07:20, obsd, cgi wrote:

So I know the rule.. only remember a few very very long passwords (ex.:
based on several words and a few special chars), and keep the rest of the
passwords in a password manager (those aren't remembered and extreme long).

But this gets me to 2 questions:

- Are there any default password managers in OpenBSD (console/GUI based?)?
Or there are only from ports that are not very audited? What is the advise
to where to store the pwd's?

- Are there any best-practises to generate a password? - that are kept in
password manager, so ex.: 128 char long with special/random chars, etc.

Thanks for your time



Sorry - should have ready your mail more closely - I don't know of any 
default password managers but I do use password gorilla for remembering 
my web passwords...


Fred



Re: Are there OpenBSD users who are not IT professionals?

2013-11-19 Thread Fred

On 11/19/13 22:38, Carsten Larsen wrote:

Hi Zaf,

I am an IT professional myself even though my daily work is far away
from the OpenBSD world, which is also the major reason I find OpenBSD
attractive.

I would say your reasons make good sense and so do your choice. It takes
time to learn but if you value the security-by-default philosophy then
you are the right place.

The way I see it there is no replacement for OpenBSD. If you should
consider an alternative, I would suggest to compare to other BSD
distributions and not Linux.

The contribution part of the community is another story though. My
impression so far is that a highly specialized technical knowledge is
required to be able to contribute at all. But as a user I guess only
basic UNIX skills are required.

Best wishes



Contributing is easy just buy the great stuff at:

http://www.openbsd.org/orders.html

or give a donation...

Fred
:~)



Re: GM45 gpu hung error

2013-11-13 Thread Fred

On 11/13/13 14:54, Tomas Bodzar wrote:

my Dell E6320 (tried like 3 weeks ago or so), Chromium was simply just
crashing all the time.



A fix for chromium went in to ports around the 4 November:

http://marc.info/?l=openbsd-portsm=138353073228230

port:fred ~ chrome --version
Chromium 30.0.1599.101

solved the crashing issues I was having with chrome.

hth

Fred



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Fred

On 11/12/13 18:56, Laurence Rochfort wrote:

Thanks Tomas,

I have set kern.usermount=1 now and added myself to the operator
group, but still get operation denied when trying to mount a cdrom.

Does the below look right?

Thank you

$ sysctl kern.usermount
kern.usermount=1

$ groups
laurence wheel operator

$ ls -l / | grep cdrom
drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom

$ ls -l /dev/cd*
brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c



Surely /cdrom should be a symbolic link to /dev/cd0a?

ie:

ln -fs /dev/cd0a /cdrom

hth

Fred

PS what command are you running that gives an operation denied?



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Fred

On 11/12/13 20:48, Laurence Rochfort wrote:

Thanks Fred,

/cdrom is the mount point, so no I don't think it should be a symlink.

The command is:

$ mount /dev/cd0a /cdrom
mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted


Hi Laurence,

You are right it should just be a node so not a symlink.

The issue is with root owning /cdrom - but if you add /cdrom entry to fbtab:

port:fred ~ tail -2 /etc/fbtab
#/dev/ttyC0 0600/dev/fd0
/dev/ttyC0  0600/cdrom

Then the user who logs in can then mount /cdrom

port:fred ~ mount -tcd9660 /dev/cd0a /cdrom
port:fred ~ mount
/dev/sd0a on / type ffs (local)
/dev/sd0k on /home type ffs (local, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, nodev)
/dev/sd0g on /usr/X11R6 type ffs (local, nodev)
/dev/sd0h on /usr/local type ffs (local, nodev)
/dev/sd0j on /usr/obj type ffs (local, nodev, nosuid)
/dev/sd0i on /usr/src type ffs (local, nodev, nosuid)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
/dev/sd2i on /mnt/usbpen type msdos (local)
/dev/cd0a on /cdrom type cd9660 (local, nodev, nosuid, read-only)

I had to read mount(8) and fbtab(5) to work it out...

hth

Fred



Re: composite sync not supported

2013-11-05 Thread Fred

On 11/05/13 19:24, Daniel Aurelio Galeazzo wrote:

Hi misc,

 From 5.4 I've this dmesg every time I use xbacklight: composite sync not
supported and I've some crash with web browsers when I try to get html5
video (like youtube).

/snipped

which browsers? and which versions?

There are some known issues in Chrome prior to Chromium 30.0.1599.101 
(available in -current) and in Firefox 23 and 24.


hth

Fred



Re: using ifstated(8) to monitor wireless connections?

2013-10-29 Thread Fred Snurd
 On Monday, October 28, 2013 6:10 AM, Stefan Sperling s...@openbsd.org wrote:
 On Sun, Oct 27, 2013 at 10:43:05PM -0700, Fred Snurd wrote:
 
 $ sudo ifconfig ath0 nwid my-id wpakey my-password
 $ ifconfig ath0ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 
 1500
     lladdr a8:54:b2:23:da:80
     priority: 4
     groups: wlan
     media: IEEE802.11 autoselect
     status: no network
     ieee80211: nwid my-id 
 wpakey not displayed wpaprotos wpa1,wpa2 wpaakms psk wpaciphers 
 tkip,ccmp wpagroupcipher tkip
 $
 
 ...which still shows that the link has not changed as expected.

 The interface isn't marked UP in the flags= line.
 So try 'ifconfig ath0 up' here.

 dhclient does this automatically before requesting a lease.


Thanks Stefan  Reyk for replying.

Further testing tonight showed that the original /etc/ifstated.conf file did 
indeed work.  I had thought that the link would be re-established quickly, but 
this was not the case.  In fact, re-establishing the link took ~3-4 minutes to 
complete (but this factors in the time the AP needed to get reinitialized 
too...).  I added logger(1) messages to my ifstated.conf(5) observing that the 
link state bounces about before stabilizing.  I don't know if this peculiarity 
is associated with the ath(4) driver, WIstron CM9 card, Alix hardware, or the 
cheap ActionTec AP used.  If there is any interest, I can submit a report with 
more details.  I simply would like to take more time determining if there is 
anything else I can observe.

Thanks again for your timely replies.



using ifstated(8) to monitor wireless connections?

2013-10-27 Thread Fred Snurd
On Monday, October 28, 2013 12:38 AM, Fred Snurd fredsn...@yahoo.com wrote:

I found the following article on undeadly which uses ifstated(8) to 
automatically acquire a DHCP lease upon link state 
changes on an Ethernet interface:

http://undeadly.org/cgi?action=articlesid=20071012140725mode=expanded

... thought that it would be simple to modify this for wireless links.  To 
prove this to myself, I looked at the output of 
ifconfig(8) on an Alix system as it was connecting to an access point.  Before 
doing any interface configuration:

$ ifconfig ath0
ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
    lladdr a8:54:b2:23:da:80
    priority: 4
    groups: wlan
    media: IEEE802.11 autoselect
    status: no network
    ieee80211: nwid 
$

...where status indicates the link state.  Upon connecting to the AP,

$ sudo ifconfig ath0 nwid my-id wpakey my-password
$ ifconfig ath0ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
    lladdr a8:54:b2:23:da:80
    priority: 4
    groups: wlan
    media: IEEE802.11 autoselect
    status: no network
    ieee80211: nwid my-id 
wpakey not displayed wpaprotos wpa1,wpa2 wpaakms psk wpaciphers 
tkip,ccmp wpagroupcipher tkip
$

...which still shows that the link has not changed as expected.  Upon getting a 
DHCP lease,

$ sudo dhclient ath0
DHCPREQUEST on ath0 to 255.255.255.255 on port 67
DHCPACK from 192.168.0.1 (..:..:..:..:..:..)
bound to 192.168.0.4 -- renewal in 43200 seconds.
$ ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
    lladdr a8:54:b2:23:da:80
    priority: 4
    groups: wlan egress
    media: IEEE802.11 autoselect (DS11 mode 11b)
    status: active
    ieee80211: nwid homestead chan 1 bssid 00:26:b8:d4:1c:49 wpakey not 
displayed wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher 
tkip
    inet6 fe80::aa54:b2ff:fe23:da80%ath0 prefixlen 64 scopeid 0x4
    inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
$

...which now shows that the link is active.  After turning off the AP, the link 
is seen to go down:

$ ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
    lladdr a8:54:b2:23:da:80
    priority: 4
    groups: wlan egress
    media: IEEE802.11 autoselect (DS11 mode 11b)
    status: no network
    ieee80211: nwid homestead wpakey not displayed wpaprotos wpa1,wpa2 
wpaakms psk wpaciphers 
tkip,ccmp wpagroupcipher tkip
    inet6 fe80::aa54:b2ff:fe23:da80%ath0 prefixlen 64 scopeid 0x4
$

Upon turning the AP back on, the link is seen again to become active:

$ ifconfig ath0
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
    lladdr a8:54:b2:23:da:80
    priority: 4
    groups: wlan egress
    media: IEEE802.11 autoselect (DS11 mode 11b)
    status: active
ieee80211: nwid homestead wpakey not displayed wpaprotos 
wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
    inet6 fe80::aa54:b2ff:fe23:da80%ath0 prefixlen 64 scopeid 0x4
$

...so I assumed that ifstated.conf file shown in the article doesn't require 
much modification.  Below is the minimal changes made:

$ cat /etc/ifstated.conf
wireless_up = 'ath0.link.up'
wireless_down = '!ath0.link.up'

state auto {
    if $wireless_up
    set-state main
}

state main {
    init {
    run 'ifconfig ath0 nwid my-id wpakey my-password'
    run 'dhclient ath0'
    }
    if $wireless_down {
#   run 'ifconfig ath0 delete'
    set-state auto
    }
}

init-state auto
$

ifstated has been enabled in /etc/rc.conf.local,  the system has been rebooted:

$ grep ifstated /etc/rc.conf.local
ifstated_flags=''
$

No /etc/hostname.ath0 file has been created.  ath0 comes up as expected at 
system boot, but cycling the AP 
doesn't result in the network connection to be re-established.

Can someone point out what I am missing for I'm not seeing it.  Thanks for any 
clarification shared.    



OpenBSD 5.4 Disks arrived

2013-10-23 Thread Fred

Hi misc@

Thanks to all the devs for another great release!

My pre-ordered disks arrived today!

Fred

Picture on twitter:
https://twitter.com/fcbsd/statuses/392992419613925377



Re: Chromium package missing from amd64 snapshots

2013-10-20 Thread Fred

On 10/20/13 00:33, Christian Weisgerber wrote:

Fred open...@crowsons.com wrote:


chromium seems to have disappeared from amd64 snapshots packages directory.
Is this a known issue?


Speaking as the amd64 package builder:

It appears to not have been built during the latest snapshot build.
There is no obvious reason in the logs.

It should reappear with the next snapshot.



Okay - thanks for the update, I'll wait for the next snapshot.

Cheers

Fred



Chromium package missing from amd64 snapshots

2013-10-19 Thread Fred

Hi misc@

chromium seems to have disappeared from amd64 snapshots packages directory.

Is this a known issue?

Cheers

Fred



Thunderbird 24.0 and Firefox 24.0 spell checking broken?

2013-10-14 Thread Fred

Hi misc@

I recently upgraded thunderbird and firefox to 24 and since then spell 
checking has stopped working - in both applications - all words get 
underlined in with a red squiggle - I've added the en-GB language packs:


port:fred ~ pkg_info|grep fire
firefox-24.0p0  Mozilla web browser
firefox-i18n-en-GB-24.0 en-GB language pack for Firefox
port:fred ~ pkg_info|grep thun
thunderbird-24.0p0  Mozilla e-mail, rss and usenet client
thunderbird-i18n-en-GB-24.0 en-GB language pack for Thunderbird

general.useragent.locale is set to en-GB

I have the same problem if I set the language to en-US.

Am I missing something obvious?

I am about to delete both firefox and thunderbird profiles to see if 
that resolves the issue...


Cheers

Fred

[1] dmesg:
OpenBSD 5.4-current (GENERIC.MP) #68: Sat Oct 12 12:22:58 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8447131648 (8055MB)
avail mem = 8214147072 (7833MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
bios0: TOSHIBA TOSHIBA
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4) 
PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.31 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.92 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.92 MHz
cpu2: 
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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.92 MHz
cpu3: 
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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 5 (RP05)
acpiprt7 at acpi0: bus 6 (RP06)
acpiprt8 at acpi0: bus 7 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PCIB)
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpipwrres0 at acpi0: PDOC
acpitz0 at acpi0: critical temperature is 102 degC
acpitoshiba0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type 
Li-ION   oem 0

acpidock0 at acpi0: DOCK not docked (0)
cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600, 
1400, 1200, 1000, 800 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xb000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes

Re: Thunderbird 24.0 and Firefox 24.0 spell checking broken?

2013-10-14 Thread Fred

On 10/14/13 19:29, Richard Toohey wrote:

On 10/14/13 23:41, Fred wrote:

Hi misc@

I recently upgraded thunderbird and firefox to 24 and since then spell
checking has stopped working - in both applications - all words get
underlined in with a red squiggle - I've added the en-GB language packs:

port:fred ~ pkg_info|grep fire
firefox-24.0p0  Mozilla web browser
firefox-i18n-en-GB-24.0 en-GB language pack for Firefox
port:fred ~ pkg_info|grep thun
thunderbird-24.0p0  Mozilla e-mail, rss and usenet client
thunderbird-i18n-en-GB-24.0 en-GB language pack for Thunderbird

general.useragent.locale is set to en-GB

I have the same problem if I set the language to en-US.

Am I missing something obvious?

I am about to delete both firefox and thunderbird profiles to see if
that resolves the issue...


Hi, Fred,

It's been there a while - I haven't found a solution yet (also using
amd64):

http://marc.info/?l=openbsd-portsm=137950359628970w=2

I tried the spellchecker.dictionary_path but no difference.

You get to the stage where it looks like everything should work - but it
just doesn't.



Cheers

Fred


[cut]



Hi,

Thanks for the pointer - I'll continue digging through ktrace to see if 
that give any clues - and I'll see if there's a bug in Mozilla's bug 
tracker.


Cheers

Fred



Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
I had the same issue - I've just built a kernel from cvs and suspend /
resume is now working again, but I seem to have lost a few cores :~p

dmesg below.

Cheers

Fred

[1] dmesg:
OpenBSD 5.4-current (GENERIC) #0: Thu Oct  3 13:40:24 BST 2013
f...@port.crowsons.com:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8447131648 (8055MB)
avail mem = 8214212608 (7833MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
bios0: TOSHIBA TOSHIBA
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT
SSDT
acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4)
USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.31 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 5 (RP05)
acpiprt7 at acpi0: bus 6 (RP06)
acpiprt8 at acpi0: bus 7 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PCIB)
acpicpu0 at acpi0: C1, PSS
acpipwrres0 at acpi0: PDOC
acpitz0 at acpi0: critical temperature is 102 degC
acpitoshiba0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type Li-ION
  oem 0
acpidock0 at acpi0: DOCK not docked (0)
cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600,
1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xb000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
e8:e0:b7:02:05:5d
ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
pci1 at ppb0 bus 1
sdhc0 at pci1 dev 0 function 0 Ricoh 5U823 SD/MMC rev 0x04: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 Intel 6 Series PCIE rev 0xb4: msi
pci3 at ppb2 bus 4
iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6030 rev 0x34:
msi, MIMO 2T2R, MoW, address 00:db:df:1f:24:6c
ppb3 at pci0 dev 28 function 4 Intel 6 Series PCIE rev 0xb4: msi
pci4 at ppb3 bus 5
NEC xHCI rev 0x04 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb4: msi
pci5 at ppb4 bus 6
ppb5 at pci0 dev 28 function 6 Intel 82801BAM Hub-to-PCI rev 0xb4: msi
pci6 at ppb5 bus 7
ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel QM67 LPC rev 0x04
ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x04: msi, AHCI
1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, Hitachi HTS72323, EC2O SCSI3 0/direct
fixed naa.5000cca6d540
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus0 targ 2 lun 0: MATSHITA, DVD-RAM UJ8B2E, 1.20 ATAPI
5/cdrom removable
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

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
should have built an mp kernel :~)


On 3 October 2013 14:04, Fred Crowson fred.crow...@gmail.com wrote:

 I had the same issue - I've just built a kernel from cvs and suspend /
 resume is now working again, but I seem to have lost a few cores :~p

 dmesg below.

 Cheers

 Fred

 [1] dmesg:
 OpenBSD 5.4-current (GENERIC) #0: Thu Oct  3 13:40:24 BST 2013
 f...@port.crowsons.com:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 8447131648 (8055MB)
 avail mem = 8214212608 (7833MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
 bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
 bios0: TOSHIBA TOSHIBA
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT
 SSDT
 acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4)
 PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.31 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 99MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEGP)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus 2 (RP02)
 acpiprt4 at acpi0: bus 4 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus 5 (RP05)
 acpiprt7 at acpi0: bus 6 (RP06)
 acpiprt8 at acpi0: bus 7 (RP07)
 acpiprt9 at acpi0: bus -1 (RP08)
 acpiprt10 at acpi0: bus -1 (PCIB)
 acpicpu0 at acpi0: C1, PSS
 acpipwrres0 at acpi0: PDOC
 acpitz0 at acpi0: critical temperature is 102 degC
 acpitoshiba0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID_
 acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type Li-ION
   oem 0
 acpidock0 at acpi0: DOCK not docked (0)
 cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600,
 1400, 1200, 1000, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xb000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: 1366x768
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
 puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
 com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
 com4: probed fifo depth: 0 bytes
 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
 e8:e0:b7:02:05:5d
 ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int
 16
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x04: msi
 azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
 pci1 at ppb0 bus 1
 sdhc0 at pci1 dev 0 function 0 Ricoh 5U823 SD/MMC rev 0x04: apic 2 int 16
 sdmmc0 at sdhc0
 ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 2 Intel 6 Series PCIE rev 0xb4: msi
 pci3 at ppb2 bus 4
 iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6030 rev 0x34:
 msi, MIMO 2T2R, MoW, address 00:db:df:1f:24:6c
 ppb3 at pci0 dev 28 function 4 Intel 6 Series PCIE rev 0xb4: msi
 pci4 at ppb3 bus 5
 NEC xHCI rev 0x04 at pci4 dev 0 function 0 not configured
 ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb4: msi
 pci5 at ppb4 bus 6
 ppb5 at pci0 dev 28 function 6 Intel 82801BAM Hub-to-PCI rev 0xb4: msi
 pci6 at ppb5 bus 7
 ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x04: apic 2 int
 23
 usb1 at ehci1: USB revision 2.0
 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
 pcib0 at pci0 dev 31 function 0 Intel QM67 LPC rev 0x04
 ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x04: msi, AHCI
 1.3
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: ATA, Hitachi HTS72323, EC2O SCSI3 0/direct
 fixed naa.5000cca6d540
 sd0: 305245MB, 512 bytes/sector, 625142448 sectors
 cd0 at scsibus0 targ 2 lun 0: MATSHITA, DVD-RAM UJ8B2E, 1.20 ATAPI
 5/cdrom removable
 isa0 at pcib0
 isadma0 at isa0
 pckbc0

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
On 3 October 2013 14:08, Fred Crowson fred.crow...@gmail.com wrote:
 should have built an mp kernel :~)


 On 3 October 2013 14:04, Fred Crowson fred.crow...@gmail.com wrote:

 I had the same issue - I've just built a kernel from cvs and suspend /
 resume is now working again, but I seem to have lost a few cores :~p

 dmesg below.

 Cheers

 Fred

 [1] dmesg:
 OpenBSD 5.4-current (GENERIC) #0: Thu Oct  3 13:40:24 BST 2013
 f...@port.crowsons.com:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 8447131648 (8055MB)
 avail mem = 8214212608 (7833MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
 bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
 bios0: TOSHIBA TOSHIBA
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT
 SSDT
 acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4)
 PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.31 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 99MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEGP)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus 2 (RP02)
 acpiprt4 at acpi0: bus 4 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus 5 (RP05)
 acpiprt7 at acpi0: bus 6 (RP06)
 acpiprt8 at acpi0: bus 7 (RP07)
 acpiprt9 at acpi0: bus -1 (RP08)
 acpiprt10 at acpi0: bus -1 (PCIB)
 acpicpu0 at acpi0: C1, PSS
 acpipwrres0 at acpi0: PDOC
 acpitz0 at acpi0: critical temperature is 102 degC
 acpitoshiba0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID_
 acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type Li-ION
 oem 0
 acpidock0 at acpi0: DOCK not docked (0)
 cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600,
 1400, 1200, 1000, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xb000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: 1366x768
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
 puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
 com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
 com4: probed fifo depth: 0 bytes
 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
 e8:e0:b7:02:05:5d
 ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int
 16
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x04: msi
 azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
 pci1 at ppb0 bus 1
 sdhc0 at pci1 dev 0 function 0 Ricoh 5U823 SD/MMC rev 0x04: apic 2 int
 16
 sdmmc0 at sdhc0
 ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 2 Intel 6 Series PCIE rev 0xb4: msi
 pci3 at ppb2 bus 4
 iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6030 rev 0x34:
 msi, MIMO 2T2R, MoW, address 00:db:df:1f:24:6c
 ppb3 at pci0 dev 28 function 4 Intel 6 Series PCIE rev 0xb4: msi
 pci4 at ppb3 bus 5
 NEC xHCI rev 0x04 at pci4 dev 0 function 0 not configured
 ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb4: msi
 pci5 at ppb4 bus 6
 ppb5 at pci0 dev 28 function 6 Intel 82801BAM Hub-to-PCI rev 0xb4: msi
 pci6 at ppb5 bus 7
 ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x04: apic 2 int
 23
 usb1 at ehci1: USB revision 2.0
 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
 pcib0 at pci0 dev 31 function 0 Intel QM67 LPC rev 0x04
 ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x04: msi, AHCI
 1.3
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: ATA, Hitachi HTS72323, EC2O SCSI3 0/direct
 fixed naa.5000cca6d540
 sd0: 305245MB, 512 bytes/sector, 625142448 sectors
 cd0 at scsibus0 targ 2 lun 0: MATSHITA, DVD-RAM UJ8B2E

Re: install5x.iso

2013-09-13 Thread Fred Crowson
How much memory and disk does your SPARC have?

You might want to consider a lighter weight browser like midori or netsurf
- I've not bother powering up my old SPARC boxes for about five years - and
I always ran them headless, so my advice is a bit out of date ;~)

hth

Fred
On 13 Sep 2013 16:40, Richard Thornton thornton.rich...@gmail.com wrote:

 In general I really like and appreciate all that is done by developers with
 OpenBSD.  The OS is stable and it works well, and shipping it with X
 already functional is a big help, especially on older boxes.  Because to
 compile xorg with this old sparc box under FreeBSD was taking  24 hours
 and it still was not done.


 On Fri, Sep 13, 2013 at 11:19 AM, Gregor Best g...@ring0.de wrote:

  On Fri, Sep 13, 2013 at 10:06:10AM -0400, Richard Thornton wrote:
   I am curious - given that OpenBSD ships each RELEASE with X , but
   applications like Firefox will not work without installing another DE,
   [...]
 
  That is not true. I ran Firefox and Chrome on a clean OpenBSD 4.9
  installation when it was released and I have been able to since then,
  and I find it hard to believe it was different before.
 
   [...]
   XFCE; why not ship OpenBSD with the basic X, but with the necessary
   libraries to allow FireFox to run and other applications like R to
 output
   graphics?  Also why not go ahead and ship with Firefox?  The disk would
   still be within the size of a standard CD.
   [...]
 
  Installing Firefox with pkg_add adds the required libraries
  automatically. If it does not, that's a bug in the port that should be
  reported.
 
  Adding Firefox to the base system would be a very bad idea. It is a huge
  load of code that needs to be maintained and not everyone uses Firefox.
  What if I want Chrome instead? Add that to base? What about dillo?
  netsurf? Why not add OpenOffice while we are at it?
 
  --
  Gregor Best



Re: suspend/resume not working on thinkpad X41

2013-07-16 Thread Fred Crowson
On 15 July 2013 00:03, haris ha...@2f30.org wrote:

 Hi.

 Just updated today with new snapshot and suspend
 seems broken. After closing lid or typing `zzz`, the laptop tries to go
 to sleep, and then resumes with blank screen.

 All sets show the same date (July 14th), so I think it's not due to an
 older X build date.

 Last upgrade was about 1 and 1/2 month, so it's dofficult to trace where
 the suspend stopped working.

 Blindly typing reboot/halt -p does the trick for now.


Hi,

I've just update my X41 to OpenBSD 5.4-beta (GENERIC) #26: Sat Jul 13
15:15:49 MDT 2013 snapshot (dmesg below [1] when docked [2] when not
docked) - and I'm not seeing this issue if it on it's docking station -
suspend and resume seem to work fine, but when it's not docked closing the
lid or doing zzz causes it to suspend, and then resume immediately - but
with the screen blanked.

The diff between the two dmesg is shown in [a] below.

Not sure if this information is useful for further debugging.

Cheers

Fred

[a] dm54.x41 is docked dmesg, and dm54nd.x41 is when not docked

--- dm54.x41 Tue Jul 16 17:10:12 2013
+++ dm54nd.x41 Tue Jul 16 19:06:11 2013
@@ -1,6 +1,6 @@
 OpenBSD 5.4-beta (GENERIC) #26: Sat Jul 13 15:15:49 MDT 2013
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
-cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
1.60 GHz
+cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
599 MHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,EST,TM2,PERF
 real mem  = 1600516096 (1526MB)
 avail mem = 1562923008 (1490MB)
@@ -27,7 +27,7 @@
 acpiprt4 at acpi0: bus -1 (EXP3)
 acpiprt5 at acpi0: bus 4 (PCI1)
 acpiprt6 at acpi0: bus -1 (DOCK)
-acpicpu0 at acpi0: C3, C2, C1, PSS
+acpicpu0 at acpi0: C3, C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS
 acpitz0 at acpi0: critical temperature is 97 degC
 acpibtn0 at acpi0: LID_
@@ -35,12 +35,12 @@
 acpibat0 at acpi0: BAT0 model IBM-92P1147 serial   502 type LION oem
Panasonic
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
-acpiac0 at acpi0: AC unit online
+acpiac0 at acpi0: AC unit offline
 acpithinkpad0 at acpi0
-acpidock0 at acpi0: GDCK docked (15)
+acpidock0 at acpi0: GDCK not docked (0)
 acpidock1 at acpi0: MDCK not docked (0)
 bios0: ROM list: 0xc/0xe800! 0xce800/0x1600 0xd/0x1000
0xdc000/0x4000! 0xe/0x1
-cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1500, 1400, 1300, 1200,
1100, 1000, 900, 800, 600 MHz
+cpu0: Enhanced SpeedStep 599 MHz: speeds: 1600, 1500, 1400, 1300, 1200,
1100, 1000, 900, 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
@@ -82,10 +82,6 @@
 wd0 at pciide0 channel 0 drive 0: HTC426060G9AT00
 wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
-atapiscsi0 at pciide0 channel 1 drive 0
-scsibus0 at atapiscsi0: 2 targets
-cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD/CDRW UJDA775, CB03 ATAPI
5/cdrom removable
-cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x03: apic 1
int 23
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-4200CL3 SO-DIMM
@@ -99,7 +95,6 @@
 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at ichpcib0
 isadma0 at isa0
-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
@@ -109,18 +104,12 @@
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
-lpt2 at isa0 port 0x3bc/4: polled
 aps0 at isa0 port 0x1600/31
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 mtrr: Pentium Pro MTRR support
-uhub5 at uhub0 port 1 IBM Hub rev 2.00/0.01 addr 2
 ugen0 at uhub3 port 2 STMicroelectronics Biometric Coprocessor rev
1.00/0.01 addr 2
 vscsi0 at root
-scsibus1 at vscsi0: 256 targets
+scsibus0 at vscsi0: 256 targets
 softraid0 at root
-scsibus2 at softraid0: 256 targets
+scsibus1 at softraid0: 256 targets
 root on wd0a (f6f5f64836073053.a) swap on wd0b dump on wd0b
-ugen0 detached
-uhub5 detached
-uhub5 at uhub0 port 1 IBM Hub rev 2.00/0.01 addr 2
-ugen0 at uhub3 port 2 STMicroelectronics Biometric Coprocessor rev
1.00/0.01 addr 2

[1] dmesg when docked:
OpenBSD 5.4-beta (GENERIC) #26: Sat Jul 13 15:15:49 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,EST,TM2,PERF
real mem  = 1600516096 (1526MB)
avail mem = 1562923008 (1490MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/14/06, BIOS32 rev. 0 @ 0xfd750,
SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor

Re: Any other ThinkPad W500 users out there?

2013-07-03 Thread Fred Crowson
On 2 July 2013 14:39, Mikhail Krutov n...@takino.org wrote:

 On Sun, Jun 30, 2013 at 02:43:28AM -0400, STeve Andre' wrote:
  If so, I'd like to know if you are running a recent 5.3-current. Mail me
  off list so we don't pollute misc@.
 Steve,
 My opinion (if it costs anything) is that this info won't polute.
 No central directory is found on OpenBSD laptop compatibility and
 misc@ is only source. If you would buy one, please keep list (or me)
 informed.
 :)


NYC Bug has a publicly searchable dmesg database at:

http://www.nycbug.org/?action=dmesgd

Which can sometimes be useful for checking compatibility...

hth

Fred



Re: Serial and parallel port detection

2013-03-06 Thread Fred Crowson
On 4 March 2013 10:12, Jacques Pelletier jpellet...@ieee.org wrote:
 Is it possible to do this in C?

 Also, what are the name of the serial devices?

 Is serial port via bluetooth or IrDA supported?

I have used birda for IrDA to talk to Nokia 8210 mobile phone this was
back in 2003 on OpenBSD, and was the 3.1/3.2 era. So this would be
possible, but I've not tried it in the last 10 years :~)

Cheers

Fred



Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide

2013-02-16 Thread Fred Crowson
On 14 February 2013 22:12, Fred Crowson fred.crow...@gmail.com wrote:
 On 14 February 2013 08:42, Hugo Villeneuve h...@eintr.net wrote:

 I self reply to this very old email for prosperity and because I
 was asked off list how I boot GENERIC on my Compaq Presario 433
 (486).

 I figured which drivers to disable via trial and error and it has
 worked every release since. I can boot GENERIC by disabling:

 it
 schsio

 Disabling one or the other doesn't work. Both need to be disabled.

 See boot(8/i386) and boot_config(8) for details on how to do that.

 dmesg with trace/ps:
 http://eintr.net/temporaire/486-issues.txt

 I don't know if that would work with the original Toshiba Libretto
 70, but it works for my Compaq Presario 433 and I've been told for
 an IBM ValuePoint 486DX2/66.


 [Note: GENERIC compiled without it,schsio works fine. GENERIC with
 every drivers, that attach to isa, not in RAMDISK disabled and it
 and/or schsio re-enabled fails. Beside this, my Compaq Presario 433
 works fine.  It's my only OpenBSD computer running 24/7 and
 occasionally does NFS/Diskless server duty.]


 Well, I've booted up my Libretto 70ct and and busy installing -current
 (hopefully it will be finished by the weekend ;~)

 But my recollection of the issue having built a lot of kernels since
 4.4 when I first encountered the issue is that it has more to do with
 the fact the Libretto only has 16 Mb of RAM, and if the kernel is
 bigger than 6.5 Mb it appears to run out of memory.

 I've not invested much effort in solving this recently - partly as I
 knew that I'm not ever going to upgrade it to 32Mb of RAM - and as
 Nick hinted this will be come a limiting factor.

 But you've motivated me to have another go at fixing my little old
 Libretto 70CT :~)

 Fred

Wow - that seems to have worked! It still running through it's first
boot process, so I've not managed to log in yet. dmesg below.

But the root device softraid not configured and the kernel: integer
divide fault trap, code=0 have usually happened by this stage in the
boot process.

What is really odd is the libretto does not have either an it or
schsio devices in it...

I'll confirm in the morning if I can log in.

Cheers

Fred

dmesg:

OpenBSD 5.3-beta (GENERIC) #29: Tue Feb 12 17:00:52 MST 2013
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16445440 (15MB)
avail mem = 5246976 (5MB)
User Kernel Config
UKC disable it
322 it* disabled
323 it* disabled
UKC disable schsio
310 schsio* disabled
311 schsio* disabled
312 schsio* disabled
313 schsio* disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: 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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl at sb0 not configured
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10
port 0x340/16  , irq 9:
address 00:80:c7:42:37:d9
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (2e31d83074fc8391.a) swap on wd0b dump on wd0b
Automatic boot in progress: starting file system checks.
/dev/wd0a (2e31d83074fc8391.a): file system is clean; not checking
setting tty flags
kbd: keyboard mapping set to uk
pf enabled
machdep.allowaperture: 0 - 2
starting network
DHCPDISCOVER on xe0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 192.168.5.9 (00:03:47:e3:9f:db)
DHCPREQUEST on xe0 to 255.255.255.255 port 67
DHCPACK from 192.168.5.9 (00:03:47:e3:9f:db)
bound to 192.168.5.27 -- renewal in 21598

Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide

2013-02-14 Thread Fred Crowson
On 14 February 2013 08:42, Hugo Villeneuve h...@eintr.net wrote:

 I self reply to this very old email for prosperity and because I
 was asked off list how I boot GENERIC on my Compaq Presario 433
 (486).

 I figured which drivers to disable via trial and error and it has
 worked every release since. I can boot GENERIC by disabling:

 it
 schsio

 Disabling one or the other doesn't work. Both need to be disabled.

 See boot(8/i386) and boot_config(8) for details on how to do that.

 dmesg with trace/ps:
 http://eintr.net/temporaire/486-issues.txt

 I don't know if that would work with the original Toshiba Libretto
 70, but it works for my Compaq Presario 433 and I've been told for
 an IBM ValuePoint 486DX2/66.


 [Note: GENERIC compiled without it,schsio works fine. GENERIC with
 every drivers, that attach to isa, not in RAMDISK disabled and it
 and/or schsio re-enabled fails. Beside this, my Compaq Presario 433
 works fine.  It's my only OpenBSD computer running 24/7 and
 occasionally does NFS/Diskless server duty.]


Well, I've booted up my Libretto 70ct and and busy installing -current
(hopefully it will be finished by the weekend ;~)

But my recollection of the issue having built a lot of kernels since
4.4 when I first encountered the issue is that it has more to do with
the fact the Libretto only has 16 Mb of RAM, and if the kernel is
bigger than 6.5 Mb it appears to run out of memory.

I've not invested much effort in solving this recently - partly as I
knew that I'm not ever going to upgrade it to 32Mb of RAM - and as
Nick hinted this will be come a limiting factor.

But you've motivated me to have another go at fixing my little old
Libretto 70CT :~)

Fred



Re: gimp 2.8 on OpeBSD -current

2012-07-05 Thread Fred Crowson
On 4 July 2012 00:54, Stuart Henderson s...@spacehopper.org wrote:
 On 2012-07-03, Fred Crowson fred.crow...@gmail.com wrote:
 Hi misc@

 I'm getting the following errors when running gimp-2.8.0p0 on OpenBSD
 -current (Jun 28 i386 snapshot):

 x41:fred ~ gimp reading.jpg
 /usr/local/lib/gimp/2.0/plug-ins/file-jpeg: fatal error: Segmentation fault

 (gimp:18542): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

 This issue is only with opening jpeg files - I can create new files
 and export them to jpeg or png or save the as .xcf files fine.

 Any clues to debugging this issue further?

 Make sure everything is up to date: userland, kernel, all packages


Thanks misc@ - yes my system was out of date.

Fred



gimp 2.8 on OpeBSD -current

2012-07-03 Thread Fred Crowson
Hi misc@

I'm getting the following errors when running gimp-2.8.0p0 on OpenBSD
-current (Jun 28 i386 snapshot):

x41:fred ~ gimp reading.jpg
/usr/local/lib/gimp/2.0/plug-ins/file-jpeg: fatal error: Segmentation fault

(gimp:18542): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

This issue is only with opening jpeg files - I can create new files
and export them to jpeg or png or save the as .xcf files fine.

Any clues to debugging this issue further?

thanks

Fred

dmesg:

OpenBSD 5.2-beta (GENERIC) #251: Thu Jun 28 01:30:25 MDT 2012
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel
686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,NXE,EST,TM2
real mem  = 1600516096 (1526MB)
avail mem = 1563533312 (1491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/14/06, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version 74ET61WW (2.06 ) date 03/14/2006
bios0: IBM 2525FAG
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xe800! 0xce800/0x1600 0xd/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1500, 1400, 1300,
1200, 1100, 1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0x5f70/0x8
io address conflict 0x5800/0x8
io address conflict 0x5808/0x4
io address conflict 0x5810/0x8
io address conflict 0x580c/0x4
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1: no ifp : irq 11
drm0 at inteldrm0
Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 Broadcom BCM5751M rev 0x11, BCM5750 B1
(0x4101): irq 11, address 00:16:d3:2f:63:7c
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
pci2 at ppb1 bus 4
cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11
sdhc0 at pci2 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11
sdmmc0 at sdhc0
iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05:
irq 11, address 00:16:6f:c1:16:40
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq
11, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: HTC426060G9AT00
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD/CDRW UJDA775, CB03 ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x03: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-4200CL3 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
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

Re: after upgrade to current(25-06-2012), can not login ssh

2012-06-25 Thread Fred Crowson
On 25 June 2012 12:41, johnw johnw.m...@gmail.com wrote:
 I change UsePrivilegeSeparation sandbox to UsePrivilegeSeparation yes,
 then i can login now.
 maybe the sandbox feature has something broken.
 thank you.

The following article gives some more information on the sandbox function:

http://www.undeadly.org/cgi?action=articlesid=20110721123003

hth

Fred



Re: 5.1 and snapshots freeze changing between X and console

2012-06-19 Thread Fred Crowson
On 18 June 2012 16:17, Steve fivering...@yahoo.com.au wrote:
 Hi This is still occurring using latest snapshot.

 On multiple HP compaq pcs.
 Message received say inteldrm0 gpu hung.
 I am unable to run X -configure.
 fails with a seg fault.
 Any thoughts ?

 Thanks

This might be linked to:

http://marc.info/?l=openbsd-miscm=133991784109572w=2

Can you try a snapshot after the 12 June?

hth

Fred



Re: realtek 8188ce not configured

2012-05-30 Thread Fred Crowson
On 30 May 2012 21:45, patrick keshishian pkesh...@gmail.com wrote:
 Hi misc@,

 Lenovo won't let me replace the Realtek 8188CE mini-pci card that came
 with it with another. The hardware refuses to boot with an
 unauthorized network card detected or somesuch error (brilliant!).

 What are the chances of getting this card working with obsd? :)

 --patrick

Would  the tpwireless package help?

Fred



Re: Huawei EM770W modem in GPS mode

2012-05-08 Thread Fred Crowson
On 7 May 2012 08:10, Baurzhan Muftakhidinov baurthefi...@gmail.com wrote:
 Will try latest snapshot to see how it works.

 For those who interested in Huawei EM770W GPS function:
 I finally managed to make GPS work in Linux.
 Direct echo 'AT^WPDGP'  /dev/ttyUSB0 did not work, so I used wvdial to pass
 this command to device.
 so, /dev/ttyUSB3 is your GPS device.

 Cheers,


Have you tried getting it to work with pppd?

hth

Fred



Re: MySQL connection error after upgrade 4.9-5.0

2012-03-14 Thread Fred Crowson
On 14 March 2012 09:53, Uwe Dippel udip...@gmail.com wrote:
 I have this unfortunate occurrence on one of my production machines:
 Database Error: Unable to connect to the database:Could not connect to
MySQL
 I studied the Upgrade Guide 4.9 to 5.0 intensely before and after, but
 can't find what went wrong. I just did the upgrade, and made the links
 as proposed (so I hope)

 # pwd
 /etc/php-5.2
 # ls -l
 total 0
 lrwxr-xr-x  1 root  wheel  26 Mar 14 17:26 gd.ini -
/etc/php-5.2.sample/gd.ini
 lrwxr-xr-x  1 root  wheel  29 Mar 14 17:25 mysql.ini -
 /etc/php-5.2.sample/mysql.ini

 # ls -l /var/www/conf/modules
 total 0
 lrwxr-xr-x  1 root  daemon  41 Mar 14 16:26 php.conf -
 /var/www/conf/modules.sample/php-5.2.conf

 I also tried to copy the modified php.ini from /var/www/conf to
/etc/php-5.2.ini
 Then the result is:
 Database Error: Unable to connect to the database:The MySQL adapter
 mysql is not available.

 pkg_info looks okay:
 mini_sendmail-chroot-1.3.6p1 static mini_sendmail for chrooted apache
 mysql-client-5.1.54p0 multithreaded SQL database (client)
 mysql-server-5.1.54p9 multithreaded SQL database (server)
 nano-2.2.6  Pico editor clone with enhancements
 [...]
 pfstat-2.3p1packet filter statistics visualization
 php-5.2.17p5server-side HTML-embedded scripting language
 php-gd-5.2.17p4 image manipulation extensions for php5
 php-mysql-5.2.17p3  mysql database access extensions for php5
 png-1.5.4   library for manipulating PNG images

 I am very grateful for any help or advice how to further debug this.

 Uwe


How did you start your mysql server?

What does your logs say in /var/mysql/ ?

hth

Fred



Re: Lenovo E320: strange things happen with X

2012-02-14 Thread Fred Crowson
On 14 February 2012 11:41, Rod Whitworth glis...@witworx.com wrote:
 There goes $552.59 ... ;((

 I guess I'd bettr watch the commit messages closely for good news. We
 live in hope.

 Thanx for the message, even if it's bad news. I don't have to try lots
 of desperate tricks to investigate further.

The public dmesg database is at: http://www.nycbug.org/index.php?NAV=dmesgd

hth

Fred



Re: Lenovo E320: strange things happen with X

2012-02-14 Thread Fred Crowson
On 14 February 2012 12:48, Rod Whitworth glis...@witworx.com wrote:
/snipped

 Boags if you like!

The true nectar - the OpenBSD of beers ;~)



Re: sparc64 5.0

2012-01-24 Thread Fred Crowson
On 24 January 2012 22:51, Richard Thornton thornton.rich...@gmail.com wrote:
 Now that I have it setup with the correct package path, etc, I am finding
 out 5.0 is much better than 4.9 was;

That's the beauty of OpenBSD - it keeps getting better, thanks to all
the developers efforts.

 Someone recently told me that Solaris uses SMI labels on its disks, is this
 the same with OpenBSD?

No. See disklabel (8) and newfs(8) for more information.

hth

Fred



Re: Add Route at Boot Time

2012-01-20 Thread Fred Crowson
On 20 January 2012 14:29, Hendrickson, Kenneth khend...@harris.com wrote:
 +--+
 |   Firewall   |
 |  | .33.34.35.97
 | vr0dhcpd |  |  |  |  |  Wired Network
 | 172.24.10.21 |--+--+--+--+- 172.24.10/24
 |  |
 |  |   +-+
 | vr1  |   | Wireless Router |
 | 172.24.20.1  |---| 172.24.20.2 |Wireless Network
 |  |   | 192.168.2.1 |--- 192.168.2/24
 |  |   |   dhcpd |
 |  |   +-+
 | vr2  |
 | 172.24.30.1  |- Future Use
 |  |
 |  |   +-+
 | vr3 dhclient |---|   Cable Modem   |--- Internet Cloud
 +--+   +-+

 Problem.  I need to manually do:
route add -inet 192.168.2.0/24 172.24.20.2

 How do I get this done automagically at boot time?
 What man pages do I need to (re-)read?

 Thanks,
 Ken


Add:

!route add -inet 192.168.2.0/24 172.24.20.2

to the appropriate hostname.if

See man hostname.if

hth

Fred



Re: Difference between openbsd.org and www.openbsd.org

2011-12-02 Thread Fred Crowson
On 2 December 2011 22:11, Nils Reu_e nilsreu...@googlemail.com wrote:
 Hi misc@,

 I just noticed that http://openbsd.org/errata50.html (without www) does
 not list the RELIABILITY FIX 001. http://www.openbsd.org/errata50.html
 does have it though. Keep up the good work :)

 Regards,
 Nils


Some hints:

http://marc.info/?l=openbsd-miscw=2r=1s=openbsd.org+www.openbsd.orgq=b

openbsd.org != www.openbsd.org

try nslookup on both

Please use www.openbsd.org.

hth

Fred



Re: How to enable IP/TCP checksumming in software?

2011-10-15 Thread Fred Crowson
On 15 October 2011 11:08, Samuel Kidman samkid...@iinet.net.au wrote:
 Hello

 I have just installed OpenBSD on a hobby server. All is going well except I
 have hit a pretty major stumbling block in that I
 can't get my network configuration working. I have assigned a static IPv4
 address to the server, and I tried pinging my
 desktop computer. I opened up a packet sniffer on my desktop and I can see
 the packets coming in from the server,
 however the IP checksums are all set to 0. I read in the release notes that
 OpenBSD will set the checksum to zero before
 passing the packet to hardware to perform the checksum operation. This
 obviously isn't working on my system, so I was
 wondering how to get it working, or how to just get it done in software?

 I am using the re (realtek ethernet) driver.

 Regards, Sam


There is a lack of information: what is configuration?

What is the output of:

ifconfig re

grep forwarding /etc/sysctl.conf

is pf enabled?

I don't think 0 checksums are your issue.

hth

Fred



Re: Scanning detection, Single Packet Authorization

2011-10-11 Thread Fred Crowson
On 11 October 2011 13:36, Cezary Cieplinski forsakenli...@gmx.com wrote:
 Dear All,
 I am new member here, also noob in OpenBSD.
 And have some simple question.
 Can you please tell me if there any technique to detect port scanning.
 Is there any PF feature which I can use? Or any independent package similar to
 linux psad?
 I am also interested in port knocking is there any support for it in OpenBSD.
 I am looking for similar functionality like fwknop - Single Packet 
 Authorization.
 Best regards.



PF has excellent logging capabilities - which should help in detecting
port scanning, and if you read the src tracking part of the man page
it should prove useful.

Port knocking has been discussed many times on the mailing list:
http://marc.info/?l=openbsd-miscw=2r=1s=port+knockingq=b

hth

Fred



Re: external monitor DisplayPort

2011-09-20 Thread Fred Crowson
On 20 September 2011 23:35, Pau vim.u...@googlemail.com wrote:
 Hello,

 I just installed a 5.0 snapshot on a thinkpad x201s.

 I am trying to use an external monitor which is connected via the
 docking station with the DisplayPort to the thinkpad.

 When I reboot, I get into the bios menu and then press fn+f7 to make
 sure that the external monitor is selected. Then the blue
 messages appear on the external monitor.

 After the boot, when I startx, the external monitor goes black and only the
 laptop is on. Pressing again fn+f7 does not help.

 Has anybody successfully used an external monitor on a docking station
 with a DisplayPort connector?

 I have used this laptop on a number of projectors and external
 monitors successfully with obsd without having to play with
 xorg.conf.

 Any hint?

 thanks



Hi,

I don't have a displayport with my X41 docking station but I use,
xrandr(1) in my .xinitrc file to use my external monitor:

xrandr --auto --output VGA --mode 1600x1200 --output LVDS --off

hth

Fred



Re: avr

2011-09-20 Thread Fred Crowson
On 18 September 2011 15:37, igor denisov saufe...@gmail.com wrote:
 Hello there,

 May someone tell me how to program Atmega through usb using FDTI?


No, but avr tools are in ports [1] and work well on OpenBSD.

hth

Fred

[1] grep  avr index.txt
-rw-r--r--  1 276  1254625119 Aug 16 01:30:08 2011 avr-binutils-2.20.tgz
-rw-r--r--  1 276  1259747634 Aug 16 02:40:30 2011 avr-gcc-4.3.4p0.tgz
-rw-r--r--  1 276  1252395408 Aug 16 10:43:03 2011 avr-gdb-6.8p5.tgz
-rw-r--r--  1 276  1253127710 Aug 16 08:37:55 2011 avr-libc-1.7.1.tgz
-rw-r--r--  1 276  125 331274 Aug 16 17:32:18 2011 avrdude-5.10p2.tgz



Re: where's the dmesg archive?

2011-09-09 Thread Fred Crowson
On 9 September 2011 12:21, Douglas Ray doug...@cpan.org wrote:
 Those dmesg(8)s everyone posts to dm...@openbsd.org - where are they
 archived?

 thanks,
 Douglas


Some people have put dmesgs online at:

http://www.nycbug.org/index.php?NAV=dmesgd;SQLIMIT=20

hth

Fred



Re: Recompile OpenBSD without built-in Apache 1.3

2011-06-29 Thread Fred Crowson
On 29 June 2011 09:12, Benny Lofgren bl-li...@lofgren.biz wrote:
 Not to encourage or discourage the OP either way, I don't think you
 should assume that he's only got one system to play with. After all,
 it is perfectly feasible to make install builds on one system and
 installing them on another (or a thousand others).

 Who knows, he might have invented a new extremely secure and robust
 toaster he needs firmware for? :-)

A toaster without a web server is so last century.



Re: website down from here

2011-06-21 Thread Fred Crowson
On 21 June 2011 05:37, Samuel Baldwin recursive.for...@gmail.com wrote:
 http://www.downforeveryoneorjustme.com/www.openbsd.org

 Simply openbsd.org works, however.
 --
 Samuel Baldwin - logik.li


openbsd.org and www.openbsd.org are two different systems see:

http://marc.info/?l=openbsd-miscm=127430012300582w=2

hth

Fred



Re: problems configuring wireless adapter on ThinkPad T-23

2011-05-02 Thread Fred Crowson
On 1 May 2011 22:48, Dale Scott dalesc...@shaw.ca wrote:
 Hi Fred, thanks for helping.

 What happens when you do an ifconfig rtw0 scan?
 Do you see your access point?

 It looks like I see my access point, as well as one neighbor's (see below).
 Fyi, I went through config for both wired and wireless interfaces when I
 installed OpenBSD 4.8, but didn't know how to specify the WEP key for rtw0.
 Is it possible to config both fxp0 and rtw0 simultaneously? I typically use
 a wired connection in my study (convenience and because Wireless signal
 level is low), but use wireless everywhere else.

 # ifconfig rtw0 scan
 rtw0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu
1500
 lladdr 00:09:5b:e2:15:2b
 priority: 4
 groups: wlan
 media: IEEE802.11 autoselect (DS1 mode 11b)
 status: no network
 ieee80211: nwid sundancer chan6 bssid 00:13:46:fa:9b:56 127dB nwkey
 0xXX
 nwid sundancer chan 6 bssid 00:13:46:fa:9b:56 127dB 54M
 privacy,short_preamble,short_slottime
 lladdr 00:23:7d:05:94:69 127dB 11M ibss cache
 nwid TELUS3645 chan 1 bssid 00:26:88:e7:e9:30 126dB 54M
 privacy,short_slottime
 #

 Dale


Hi Dale,

It looks like you have successfully configured your interface, but
then you need to get an IP address, so you need an:

/sbin/dhclient rtw0

You can do this automatically in a hostname.if file (see man
hostname.if), but it should look something like:

dhcp \
nwid sundancer nwkey 0xYourHexPassword

hth

Fred



Re: CLO did not complete?

2011-04-24 Thread Fred Crowson
On 24 April 2011 17:40,  timo.my...@gmail.com wrote:
 Hi,

 I noticed following lines during boot:
 ahci0: CLO did not complete
 ahci0: device on port 0 didn't come ready, TFD: 0x150

 They don't seem to cause anything noticable except few seconds of delay on 
 boot
 process.
 Any idea whats causing this and how to get rid of those?

It might be linked to this:

http://marc.info/?l=openbsd-techm=130367085223118w=2

hth

Fred



Re: l2tpd

2011-04-13 Thread Fred Crowson
On 13 April 2011 14:11, pavel pocheptsov lilit-aibo...@mail.ru wrote:
 does openbsd have l2tpd-daemon in packages or ports?



http://lmgtfy.com/?q=l2tpd+openbsd



Libretto 70CT Debugging

2011-02-14 Thread Fred
Hi Misc,

I'm stumped (again) my Toshiba Libretto 70CT has not been
able to boot a kernel since 4.3, this is know issue [1],

I have just compiled a kernel with option DEBUG and option
WDCDEBUG to see if I can track down the issue.

I disabled softraid at the UKC prompt (due to a hint from [2])

The kernel integer divide fault trap occurred again, but there was some 
additional debug info which I have not seen before:

root device softraid not configured
dkcsum: bootdev=0xa000
dkcsum: BIOS drive 0x80 bsd_dev=0xa200 checksum=0xc31f9477
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x76:  popl%ebx

Not sure if this sheds any further light on the problem?

Is there any other debugging information I can get?

The dmesg, trace and ps are at the end of this email.

Any clues appreciated, and as a side note the bsd.rd  kernels boot
fine (with the exception of the 4.8 bsd.rd that had the memory 
clobber to lidt inline asm issue [3]).

Thanks

Fred

[1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052

[2] http://marc.info/?t=12786677461r=1w=2

[3] http://marc.info/?l=openbsd-cvsm=128224641425290

dmesg, trace, ps and second trace and ps following: 

Script started on Mon Feb 14 23:19:43 2011
x41:fred ~ cu -l /dev/cuaU0 -s9600
Connected
 OpenBSD/i386 BOOT 3.01
boot bsd.lib -c
booting hd0a:bsd.lib: 
/-\|/8299772-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+1100136/
 [61+373232-\|/-\|/-\|/-\|/-\|/-\|+358603/-\|/-\|/-\|/-\|/-\|/-]=0x9a9afc
entry point at 0x200120

memmap: 0-9fc00 10-102: 101c000
physload:  100-200 (16M) 8-9f (16M) bb1-1000 (16M) 1000-101c
[ using 732312 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-beta (libretto) #2: Sun Feb 13 22:05:13 GMT 2011
f...@x41.crowsons.com:/usr/src/sys/arch/i386/compile/libretto
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 6156288 (5MB)
User Kernel Config
UKC disable softraid
  8 softraid0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apminfo: 20102, code f[]/f[], data f[], ept 6270
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, charging
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
pci_mode_detect: mode 1 enable failed ()
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table set of 3 failed
pckbd: trying table 2
pckbd: settling on table 2
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: protocol type 0
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl at sb0 not configured
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lpt_isa_probe: mask ff data 55 failed
lpt_isa_probe: mask ff data 55 failed
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10 port 
0x340/16, irq 9: address 00:80:c7:42:37:d9
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
biomask e145 netmask e345 ttymask fbdf
Timecounters tick every 10.000 msec
vscsi0 at root
scsibus0 at vscsi0: 256 targets
root device softraid not configured
dkcsum: bootdev=0xa000
dkcsum: BIOS drive 0x80 bsd_dev=0xa200 checksum=0xc31f9477
kernel: integer

Re: vmware 4.9 strange message in shutdown

2011-02-07 Thread Fred Crowson
On 7 February 2011 21:51, Orestes Leal R. l...@cubacatering.avianet.cu wrote:
 Sorry, I did not finish my first mail:

 I'm running 4.9-BETA inside VMWARE Workstation 7.0 (running windows 7)

 I'm getting the following error when I shutdown the machine (inside vmware
 WS 7.0)

 I issue: shutdown -hp now

 then I get:

 vmware: sending length failed , eax=m, ecx=
 vmt0: failed to send shutdown ping

 finally it shutdown but no so fast.


 this is because?



x41:fred /usr/src find ./ -name vmt* -exec grep -C3 failed to send
shutdown ping {} \; -print
}

if (vm_rpc_send(sc-sc_tclo_rpc, NULL, 0) != 0) {
printf(%s: failed to send shutdown ping\n, DEVNAME(sc));
}

vm_rpc_close(sc-sc_tclo_rpc);
./sys/dev/vmt.c

hth

Fred



Re: Please help me decide: OpenWrt vs. OpenBSD

2011-01-20 Thread Fred Crowson
On 20 January 2011 16:42, S Mathias smathias1...@yahoo.com wrote:
  I've been using OpenBSD since 2.5, '99.

 Does anyone using OpenBSD as a Desktop OS? :O you do? :O wow.

It's been my preferred OS desktop since 2.9, and since I changed jobs
its now my work desktop :~)



Re: OpenBSD 4.8 modify rts values

2011-01-06 Thread Fred Crowson
On 6 January 2011 10:58, Sam Fourman Jr. sfour...@gmail.com wrote:
 Hello list

 I have a OpenBSD wifi AP and it has a ral 2860 device

 I need to modify the rts values like in this link

 http://supremetechs.com/2009/07/24/slow-wifi-iphone-3gs/


 does ifconfig have this ability?

mtu setting might be what your after, but I guess this would be better
solved in pf using fragment handling.

hth

Fred



Re: pfsync nic problem.

2010-12-23 Thread Fred Crowson
On 23 December 2010 18:24, Alessandro Baggi alessandro.ba...@gmail.com wrote:

 This problem is not theoretical.

but the dmesg, pf.conf and ifconfig output is.

:~)



Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-15 Thread Fred Crowson
On 14/12/2010, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote:
snipped
 are rarely as bad. A graphical and simple (probably impossible) OpenBSD
 browser, would really be something, but now I'm just dreaming.
/snipped

xxxterm should fit that description.

hth

Fred
(Sent from xxxterm :~])



Re: re(4) benchmarking - unusually slow

2010-12-08 Thread Fred Crowson
There have been some recent commits to the re code:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/re.c

Running current might improve re's performance.

hth

Fred



Re: FYI: Error building kernel with CBB_DEBUG option

2010-12-08 Thread Fred Crowson
On 8 December 2010 20:08, Dave Anderson d...@daveanderson.com wrote:
 I'm not asking for support on this; I primarily want to make sure that
 whatever developer uses this option knows it's broken before the next
 time he needs it.

 I have a Sony Vaio PCG-FX120 notebook (inherited, and not enough spare
 cash to replace it at this time) with cardbus slots that don't work
 (almost certainly because the BIOS provides incorrect PCI configuration
 info).  The CBB_DEBUG option looked like it might provide some useful
 information for figuring out how to hack it to work, so I tried building
 a test kernel with that option (initially using a late-November version
 of current, then updated my source tree to 7 December and tried again).
 This is the error I get:

 cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-main
 -Wno-uninitialized -Wno-format -Wstack-larger-than-2047
 -fno-builtin-printf -fno-builtin -snprintf -fno-builtin-vsnprintf
 -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -O2 -pipe
 -nostdinc -I.  -I../../../.. -I../../../../arch -DDDB -DDIAGNOSTIC
 -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -DCRYPTO
 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_43
 -DCOMPAT_O47 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA
 -DEXT2FS -DMFS -DNNPFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT
 -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DINET -DALTQ -DINET6
 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DMPLS -DBOOT_CONFIG
 -DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4
 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_AOUT -DPROCFS -DNTFS
 -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
 -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS=6
 -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DPCGFX120 -DCBB_DEBUG
 -DMAXUSERS=80 -D_KERNEL -c ../../../../dev/pci/pccbb.c
 ../../../../dev/pci/pccbb.c: In function 'pccbb_checksockstat':
 ../../../../dev/pci/pccbb.c:881: error: 'sockevent' undeclared (first use in
this function)
 ../../../../dev/pci/pccbb.c:881: error: (Each undeclared identifier is
reportedonly once
 ../../../../dev/pci/pccbb.c:881: error: for each function it appears in.)
 *** Error code 1

 Stop in /usr/src/sys/arch/i386/compile/TEST (line 92 of
/usr/share/mk/sys.mk).

Dave

It's now fixed ... you've got to love OpenBSD Dev's :~)



Re: Donations

2010-12-05 Thread Fred Elwood
PayPal's terms of use do not permit soliciting crime.  Wikileaks
solicits the
holders of US security clearances to violate their
non-disclosure agreements. 
That is a crime.

Some people think it should not be a crime. But it is.  Some
people
think that it matters that WIkileaks says that they do not ask for
submissions.  That matters about as much as a mob boss saying that he
didn't
ask anyone to shoot so-and-so, just that wouldn't it be
fortunate if someone
did?  Wikileaks model is predicated on breaking
NDAs, and based on what their
cite on their front pages, breaking NDAs
on US classified information is their
biggest product center.



Re: Donations

2010-12-05 Thread Fred Elwood
--- On Mon, 12/6/10, Theo de Raadt dera...@cvs.openbsd.org wrote:

 From:
Theo de Raadt dera...@cvs.openbsd.org
 Subject: Re: Donations
 To: Fred
Elwood fred.elw...@yahoo.com
 Cc: misc@openbsd.org
 Date: Monday,
December 6, 2010, 1:42 AM
  PayPal's terms of use do not
 permit soliciting
crime.
 
 Paypal's terms of use are just that; terms of use. 
 The account
was
 being run by the German charity WHS.
 
 Noone has said that wikileaks
has commited a crime. 
 What statute
 are you talking about?
 
 
Wikileaks
  solicits the
  holders of US security clearances to violate
their
  non-disclosure agreements. 
  That is a crime.
 
 I hereby ask
anyone who holds secrets that the world should
 know
 of, which may contain
indications of real crimes having
 been commited
 should send them to
wikileaks.
 
 Did I just commit a crime?  

No.

 Oh, remember I do not
live
 in the US.

Hypothetical cleared US personnel who took you up on this
request WOULD be committing a crime.

 
  Some people think it should not
be a crime. But it
 is.  Some people
  think that it matters that WIkileaks
says that they do
 not ask for
  submissions.  That matters about as much
as a mob
 boss saying that he
  didn't ask anyone to shoot so-and-so, just
that
 wouldn't it be
  fortunate if someone
  did?  Wikileaks model is
predicated on breaking
  NDAs, and based on what their
  cite on their
front pages, breaking NDAs
  on US classified information is their
 
biggest product center.
 
 You think it should be a crime.  You just
justified
 skipping due process.
 

Against whom?  Due process rights exist
in criminal and civil proceedings, not in business arrangements.  Wikileaks
has no more due process rights against PayPal than Wim has against you; they
might be able to sue for breach of contract, but that's it.  Due process has
nothing to do with this case.  The nickel summary is that due process is not
in play if the cops are not directly involved.

The crime I am talking about
is the crime of the cleared individuals disclosing the classified information.
PayPal did not terminate Wikileaks for committing a crime, but for using
PayPal in support of their soliciting crimes (unlawful disclosure/conveyance
of classified information), which is against their terms of service.



Re: em(4) is just 10baseT

2010-11-16 Thread Fred Crowson
On 16 November 2010 22:24, Jochen Fabricius jfabric...@web.de wrote:
 Hi all,

 today I discovered that my network connection on an Acer Aspire X3900 is
only 10baseT. Never realized it before because the speed is enough (mostly
relatively slow internet connection, no large files to/from other machines).
System is 4.8-release.

 I checked:
 - wiring: even at shortest connection to the switch only 10baseT was
available
 - other switches
 - other machines with the same cables, same port on switch

 The PHY is a 82578, and as I understand the commit messages the support is
still basic, but shouldn't at least 100baseTX work? That's what all my
switches support. I have to check with a 1 GbE switch, but I don't know if I
can get one in the next time. Has anyone higher speeds working with this PHY?

 Before release I tried a 4.8 BETA on this machine, but I never checked for
network speed.

 Ifconfig output and dmesg below. Do you need anything else?

 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 90:fb:a6:46:db:e1
priority: 0
groups: egress
media: Ethernet autoselect (10baseT full-duplex,rxpause,txpause)
status: active
inet6 fe80::92fb:a6ff:fe46:dbe1%em0 prefixlen 64 scopeid 0x1
inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255


Hi,

What does:

ifconfig em0 media

say?

Fred



Re: How to test if sound is working?

2010-11-08 Thread Fred Crowson
On 8 November 2010 17:10, James Hozier guitars...@yahoo.com wrote:
/snipped

 Patching file azalia_codec.c using Plan A...
 Hunk
 #1 failed at 64.
 1 out of 1 hunks failed--saving rejects to azalia_codec.c.rej
 done

 Dunno if that means anything.


The patching of the azailia_codec.c file failed, the code that could
not be patched was saved as a hunk to a file called
azailia_codec.c.rej - this file will tell what failed...

If it had worked it would have given you a message like:

Patching file azalia_codec.c using Plan A...
Hunk #1 succeeded at 64.
Hmm...  Ignoring the trailing garbage.
done

hth

Fred



Re: How to test if sound is working?

2010-11-08 Thread Fred Crowson
On 8 November 2010 22:04, James Hozier guitars...@yahoo.com wrote:

 $ cat azalia_codec.c.rej
 @@ -64,6 +64,13 @@
this-name = NULL;
this-qrks = AZ_QRK_NONE;
switch (this-vid) {
 +case 0x10134206:
 +this-name = Cirrus Logic CS4206;
 +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */
 +this-qrks |= AZ_QRK_GPIO_UNMUTE_1 |
 +AZ_QRK_GPIO_UNMUTE_3;
 +}
 +break;
case 0x10ec0260:
this-name = Realtek ALC260;
break;

 What does this mean? It looks like a snippet of code from the original patch
file?

Hi James,

For some reason patch(1) did not insert the code into azalia_codec.c
- I would guess that the reason was that patch file had some
formatting that patch(1) did not like. Have another go at creating and
patching the file, or you can either manually add those 7 new lines to
azailia_codec.c after line 77 of azaila_codec.c

Thus when you rebuilt your kernel - it did not have this new bit of code in.

hth

Fred



Re: How to test if sound is working?

2010-11-08 Thread Fred Crowson
On 8 November 2010 22:55, Fred Crowson fred.crow...@gmail.com wrote:
 For some reason patch(1) did not insert the code into azalia_codec.c
 - I would guess that the reason was that patch file had some
 formatting that patch(1) did not like. Have another go at creating and
 patching the file, or you can either manually add those 7 new lines to
 azailia_codec.c after line 77 of azaila_codec.c

Sorry the 7 new lines go in after line 66 of azailia_codec.c (version
1.151 from CVS).

Fred



Re: availability of Building Firewalls with OpenBSD and PF, 3rd ed.

2010-10-21 Thread Fred Crowson
http://marc.info/?l=openbsd-miscm=127426139631321w=2



Re: Looks like my 4.8 CD is in the mail!

2010-10-20 Thread Fred Crowson
My OpenBSD 4.8 disks turned up in the post this morning :~)

Awesome - thanks for another great release :~)

Fred



athn0: radio is disabled by hardware switch

2010-10-16 Thread Fred Crowson
Hi Misc@

I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
the athn0 interface, if I try a scan, or try to configure the
interface I get the following messages:

Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

There is a switch on the side of the notebook - but it has no effect
the same is true of the Fn+F5 key sequence.

The wifi led is lit initially when the notebook is booted, but when it
gets to approximately the acpibat0 line on boot the led goes off and
stays off.

The device is identified as:
s3:fred ~ dmesg|grep ath
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int
18 (irq 11), address 90:4c:e5:c8:29:20
athn0: AR9285 rev 2 (1T1R), ROM rev 14

However from the man page there is a WB195 version which is a
WiFi/Bluetooth combo - which I believe is the device in this laptop.

Can anyone tell me if the WB195 device is supported and if it is how I
can use that driver to see if it fixes my issue?

thanks

Fred

dmesg and pcidump -v follow:
dmesg:
OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct  5 20:18:06 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
real mem  = 1062621184 (1013MB)
avail mem = 1035210752 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/03/10, BIOS32 rev. 0 @
0xfdca0, SMBIOS rev. 2.5 @ 0xdf010 (28 entries)
bios0: vendor LENOVO version 2ACN21WW date 02/03/2010
bios0: LENOVO S10-3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP TCPA MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT
acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3)
USB1(S3) USB2(S3) USB4(S3) EUSB(S3) LID_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (EXP1)
acpiprt2 at acpi0: bus -1 (EXP2)
acpiprt3 at acpi0: bus 9 (EXP3)
acpiprt4 at acpi0: bus -1 (EXP4)
acpiprt5 at acpi0: bus 17 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model L09S6Y14 serial   type LION oem SANYO
acpiac0 at acpi0: AC unit offline
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGD0
acpivout0 at acpivideo0: DD02
acpivout1 at acpivideo0: DD01
bios0: ROM list: 0xc/0xda00! 0xce000/0x1000 0xdf000/0x800!
cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
bridge mem address conflict 0xf050/0x10
pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x00
vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
Intel Pineview Video rev 0x00 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 2 int 22 (irq 255)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2
int 16 (irq 11)
pci1 at ppb0 bus 5
mem address conflict 0xf052/0x1000
mem address conflict 0xf051/0x1
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 11), address 00:26:9e:ee:33:9e
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2
int 18 (irq 3)
pci2 at ppb1 bus 9
mem address conflict 0xf010/0x1
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int
18 (irq 11), address 90:4c:e5:c8:29:20
athn0: AR9285 rev 2 (1T1R), ROM rev 14
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2
int 23 (irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB

Re: athn0: radio is disabled by hardware switch

2010-10-16 Thread Fred Crowson
On 16 October 2010 18:37, Dmitrij Czarkoff czark...@gmail.com wrote:
 On Sat, Oct 16, 2010 at 5:12 PM, Fred Crowson fred.crow...@gmail.com wrote:
 Hi Misc@

 I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
 the athn0 interface, if I try a scan, or try to configure the
 interface I get the following messages:

 Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

 There is a switch on the side of the notebook - but it has no effect
 the same is true of the Fn+F5 key sequence.

 The wifi led is lit initially when the notebook is booted, but when it
 gets to approximately the acpibat0 line on boot the led goes off and
 stays off.

 Do You have any output on switching the hardware switch?

The hardware switch doesn't result in any output...

 It seems You have softkill. Try booting any linux livecd and play
 around rfkill utility.

I'll give that a go

Thanks

Fred



Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Fred Crowson
On 11 October 2010 23:49, Brad Tilley b...@16systems.com wrote:
 On 10/11/2010 04:59 PM, Martin Schrvder wrote:
 2010/10/11 Dmitry-T dmitr...@yandex.ru:
 How you use the OpenBSD as web servers and hosting platform?

 RTFAQ

 Permanently catch and kill processes?

 man ulimit

 What do you see when you man ulimit?

Isn't l33t speak for hey man your really pushing me up and over the limit?



Connecting to Oracle DB from OpenBSD

2010-10-07 Thread Fred Crowson
Hi misc@

Can any one share any wisdom on connecting to an Oracle DB from OpenBSD?

Thanks

Fred



Re: Connecting to Oracle DB from OpenBSD

2010-10-07 Thread Fred Crowson
On 7 October 2010 18:42, Jim Razmus j...@bonetruck.org wrote:

 Typically, applications leverage the Oracle client libraries to connect
 to the database.  Oracle does not provide these libraries for OpenBSD.

 A couple options:

 Perl DBI Proxy
 Linux Oracle client running under emulation
 Perhaps ODBC (however I believe this needs the Oracle client too)

 I have used the Perl DBI Proxy option successfully.  The caveat is
 increased complexity since you need the proxy running on a host with the
 Oracle client.  Just more parts to break/manage.

 One other thought, change databases to Postgresql, MySQL, or SQL Server
 which all have client software in the ports tree.

 Best regards,
 jim@


Hi,

Thanks for all the suggestions,  long-term I would love to move the DB
to Postgresql, but currently that is highly unlikely.

I was thinking that Linux emulation might be the way to go, but I'll
give the Perl DBI proxy a go, I agree that it's added complexity, but
that is marginally preferable to running a Linux/Apache2/PHP/Oracle
development server :~)

thanks for all the suggestions,

Fred



Re: 2-3 General Question

2010-09-22 Thread Fred Crowson
On 22 September 2010 21:51, LOL elvis4...@gmail.com wrote:
 Wow, Thanks very much for all the answer. When I sayed that I think it's
 stupid to install all the port tree just to search, I meant that the ports
 tree is for install object from source. So if you just use it for searching,
 you're not using it for the right thing ? But thanks for the pkg_mgr and
 pkg_info -Q, I didn't know about them. I asked if there was a bootloader
 because I would like to dual-boot with Windows 7.

 But thanks anyway, you respond too all my answer, you're all very great ! :)


I don't (thankfully :~P) have any Windows 7, but I have always found
using NTLDR to dual boot between windows and OpenBSD very satisfying.

hth

Fred
PS: my boot.ini when I used to dual boot my X41 Laptop:

[boot loader]
timeout=5
default c:\openbsd40.pbr=OpenBSD - a real OS ;~)
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Microsoft Windows XP
Professional /fastdetect
c:\openbsd40.pbr=OpenBSD - a real OS ;~)



Re: random disconnects on openbsd4.7

2010-09-03 Thread Fred Crowson
2010/9/3 Marcos Laufer mar...@ipv4networks.com:
 Hi, this is what i get when connecting with ssh -vvv:

 srv1:/root{5240}# ssh -vvv obsd47
 OpenSSH_4.8, OpenSSL 0.9.7j 04 May 2006

/snipped

 obsd47:~{1}# debug1: channel 0: free: client-session, nchannels 1
 debug3: channel 0: status: The following connections are open:
   #0 client-session (t4 r0 i0/0 o0/0 fd 5/6 cfd -1)

 debug3: channel 0: close_fds r 5 w 6 e 7 c -1
 Read from remote host obsd47: Connection reset by peer
 Connection to obsd47 closed.
 debug1: Transferred: stdin 0, stdout 0, stderr 92 bytes in 2406.7 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status -1
 debug1: compress outgoing: raw data 401, compressed 235, factor 0.59
 debug1: compress incoming: raw data 773, compressed 365, factor 0.47
 srv1:/root{5241}#

Does setting the ServerAliveInterval (see ssh_config(5)) make any difference?

hth

Fred



Re: random disconnects on openbsd4.7

2010-08-24 Thread Fred Crowson
2010/8/24 Marcos Laufer mar...@ipv4networks.com:
 Hello list, i'm having random logoffs from a recently installed OpenBSD 4.7
 installed on a DL360 server, and updated to stable.
 The symptoms are simple, i log in, wait a while, and i get suddenly logged
 off.

 It goes like this:

 obsd47:~{8}#
 Read from remote host obsd47: Connection reset by peer
 Connection to obsd47 closed.
 srv1:/root{4994}#
 srv1:/root{4994}#
 srv1:/root{4994}# ssh obsd47
 r...@obsd47's password:
 Last login: Mon Aug 23 22:04:07 2010 from srv1
 OpenBSD 4.7-stable (GENERIC.MP) #0: Fri Aug 20 16:38:15 ART 2010


Hi,

Using ssh -vvv might give some further clues to the issue.

hth

Fred



Re: Boot hang on 4.7/sparc64

2010-07-28 Thread Fred Crowson
On 28 July 2010 06:57, Nathan Sandver nsand...@gmail.com wrote:

 The swap partition I created at wd1b is correctly listed in /etc/fstab:
 # cat /mnt/etc/fstab
 /dev/wd1b none swap sw 0 0
 /dev/wd0a / ffs rw 1 1
 /dev/wd1a /usr ffs rw,nodev 1 2


What happens when you remove the wd1b line from fstab?



Latest snapshot bsd.rd causes Libretto to reboot

2010-07-16 Thread Fred Crowson
Hi misc@

The latest snapshot ramdisk kernels are causing my Libretto 70CT to
reboot - this is a new development in the saga related to PR6052.

To try and track down the issue, I built a ramdisk kernel with two
extra options DEBUG and SR_DEBUG, the resulting dmesg is shown below.

If anyone could explain why ramdisk is finding a 0 sized root
filesystem - I would appreciate any hints :~)

Thanks

Fred
PS should I send a copy of this to gn...@?

x41:fred ~/snaps cu -l /dev/cuaU0 -s19200
Connected
bsd.gdb
booting hd0a:bsd.gdb:
/-\|/3497332-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+402256|
[159+122272/-\|/-\|+105875/-\|/-]=0x3eff4c
entry point at 0x200120

memmap: 0-9fc00 10-102: 101c000
physload:  100-200 (16M) 8-9f (16M) 5c0-1000 (16M) 1000-101c
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.7-current (lib.rd) #0: Fri Jul 16 14:15:59 BST 2010
f...@x41.crowsons.com:/usr/src/sys/arch/i386/compile/lib.rd
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 12292096 (11MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apminfo: 20102, code f[]/f[], data f[], ept 6270
apm0 at bios0: Power Management spec V1.2
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
pci_mode_detect: mode 1 enable failed ()
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table set of 3 failed
pckbd: trying table 2
pckbd: settling on table 2
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/16384
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
Xircom, CreditCard 10Base-T, PS-CE2-10, 2.10 (manufacturer 0x105,
product 0x10b) at pcmcia0 function 0 not configured
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 9, polling enabled
biomask fde5 netmask fde5 ttymask 
Timecounters tick every 10.000 msec
rd0: fixed, 3800 blocks
dkcsum: bootdev=0xa000
dkcsum: BIOS drive 0x80 checksum is 0xc150947a
Disk GEOM 16/63/3152 - BIOS GEOM 64/63/788
timeout delayed -1
dkcsum: wd0 checksum is 0xc150947a
timeout delayed -1
dkcsum: wd0 matches BIOS drive 0x80
timeout delayed -1
dkcsum: wd0 is primary boot disk
timeout delayed -1
dkcsum: wd0 is alternate boot disk
timeout delayed -1
timeout delayed -2
root on rd0a swap on rd0b dump on rd0b
dev=0x1100 chrdev=0x2f00 rawdev=0x2f02
timeout delayed -1
panic: root filesystem has size 0
timeout delayed -1

syncing disks... done

dumping to dev 1101, offset 0
dump error 19

rebooting...
~
[EOT]



Re: request help with tip and serial port problem

2010-07-15 Thread fred

I am sure the cable is ok.  The response from tip is:
/dev/tty01: Device not configured
link down

I connected a dumb terminal to the port to see if it expects a modem to 
respond but this is not the case.


I tried:  echo this is the time /dev/tty01
ksh: cannot create /dev/tty01: Device not configured

Before I added the user to the Dialer group, tip and the port would work 
for root but it does not work for root now.  Maybe it is time for a reboot.




Nicholas Marriott wrote:

cua doesn't wait for handshaking, so it may work.


On Tue, Jul 13, 2010 at 11:51:35AM -0600, fred wrote:

The response now is that the link is down.  The cable only uses rxd,
txd and sg.  The others are all tied together.  The Sun has at least
one signal pulling the others high but the pc does not.  I need to
add another wire to pull the handshake inputs high but won't have
time for that until late tonight.

Fred

Nicholas Marriott wrote:

And what is the response now?

You should be using cua01 not tty01.


On Tue, Jul 13, 2010 at 06:47:18AM -0600, fred wrote:

I restored the dialer group to /dev/tty01 and added the user to the
dialer group as Nick suggested.  It still doesn't work but the
response is different now.  I believe there is a cable problem now.
The cable works with a Sun Ultra 10 but not with the PC running
openbsd.

Thank you for the help.

Nick Holland wrote:

On 07/12/10 19:32, patrick keshishian wrote:

On Mon, Jul 12, 2010 at 2:58 PM, fred f...@blakemfg.com wrote:

Hello,

A user needs to connect to external equipment using tip and a serial port.

I created an /etc/remote file:
snake:br=9600:dv=/dev/tty01:hf:nb:pa=none

The group associated with /dev/tty01 was changed from dialer to one that
includes the user:
$ls -l /dev/tty01
crw-rw 1 uucp wheel  8,  1 Feb  7  09:38 /dev/tty01

so, the user is already in wheel group. Revert above change. Enable
sudo (if not already done so) for users in group wheel.

$ sudo -u uucp tip snake

--patrick

uh...if all else fails, do it as root?  I think we'd prefer to avoid
that, unless really a root-like activity.

The dialer group is set up just for this purpose.

The problem with changing the ownership (or group) of a device file is
the next upgrade will overwrite your ownership change.  Ask me how I
know.  Better idea, don't -- just use your imagination.

I'm not sure why you didn't just add that user to group dialer, but it
is quite straight forward:

/home/nick $ grep nick /etc/group
wheel:*:0:root,nick
wsrc:*:9:nick
dialer:*:117:nick
nick:*:1000:

and...I (as nick) have no trouble using my serial port without using
sudo and without changing device file ownership.

You will probably want to create a file /var/log/aculog which is
writable by group dialer, as well... Squishes an error message, and
provides some useful logging, too.

Nick.




Re: request help with tip and serial port problem

2010-07-15 Thread fred
I would be happy to include a dmesg report but have not been able to 
figure out how to copy and paste into Thunderbird 2.0.0.22.  However, 
from looking at the dmesg output, com1 is apparently configured but com2 
is not mentioned.  I don't care which serial port works.


A reboot did not solve the problem.  I changed /etc/remote to use tty00 
and tip works now.


The problem appears to be solved.  Thank you for the help!

Fred

fred wrote:

I am sure the cable is ok.  The response from tip is:
/dev/tty01: Device not configured
link down

I connected a dumb terminal to the port to see if it expects a modem to 
respond but this is not the case.


I tried:  echo this is the time /dev/tty01
ksh: cannot create /dev/tty01: Device not configured

Before I added the user to the Dialer group, tip and the port would work 
for root but it does not work for root now.  Maybe it is time for a reboot.




Nicholas Marriott wrote:

cua doesn't wait for handshaking, so it may work.


On Tue, Jul 13, 2010 at 11:51:35AM -0600, fred wrote:

The response now is that the link is down.  The cable only uses rxd,
txd and sg.  The others are all tied together.  The Sun has at least
one signal pulling the others high but the pc does not.  I need to
add another wire to pull the handshake inputs high but won't have
time for that until late tonight.

Fred

Nicholas Marriott wrote:

And what is the response now?

You should be using cua01 not tty01.


On Tue, Jul 13, 2010 at 06:47:18AM -0600, fred wrote:

I restored the dialer group to /dev/tty01 and added the user to the
dialer group as Nick suggested.  It still doesn't work but the
response is different now.  I believe there is a cable problem now.
The cable works with a Sun Ultra 10 but not with the PC running
openbsd.

Thank you for the help.

Nick Holland wrote:

On 07/12/10 19:32, patrick keshishian wrote:

On Mon, Jul 12, 2010 at 2:58 PM, fred f...@blakemfg.com wrote:

Hello,

A user needs to connect to external equipment using tip and a 
serial port.


I created an /etc/remote file:
snake:br=9600:dv=/dev/tty01:hf:nb:pa=none

The group associated with /dev/tty01 was changed from dialer to 
one that

includes the user:
$ls -l /dev/tty01
crw-rw 1 uucp wheel  8,  1 Feb  7  09:38 /dev/tty01

so, the user is already in wheel group. Revert above change. Enable
sudo (if not already done so) for users in group wheel.

$ sudo -u uucp tip snake

--patrick

uh...if all else fails, do it as root?  I think we'd prefer to avoid
that, unless really a root-like activity.

The dialer group is set up just for this purpose.

The problem with changing the ownership (or group) of a device 
file is

the next upgrade will overwrite your ownership change.  Ask me how I
know.  Better idea, don't -- just use your imagination.

I'm not sure why you didn't just add that user to group dialer, 
but it

is quite straight forward:

/home/nick $ grep nick /etc/group
wheel:*:0:root,nick
wsrc:*:9:nick
dialer:*:117:nick
nick:*:1000:

and...I (as nick) have no trouble using my serial port without 
using

sudo and without changing device file ownership.

You will probably want to create a file /var/log/aculog which is
writable by group dialer, as well... Squishes an error message, and
provides some useful logging, too.

Nick.




Re: request help with tip and serial port problem

2010-07-14 Thread fred

Both cua01 and tty01 give the same result:

/dev/tty01:  Device not configured
link down

I believe it is a cable problem but I have not had time to resolve it yet.


Nicholas Marriott wrote:

cua doesn't wait for handshaking, so it may work.


On Tue, Jul 13, 2010 at 11:51:35AM -0600, fred wrote:

The response now is that the link is down.  The cable only uses rxd,
txd and sg.  The others are all tied together.  The Sun has at least
one signal pulling the others high but the pc does not.  I need to
add another wire to pull the handshake inputs high but won't have
time for that until late tonight.

Fred

Nicholas Marriott wrote:

And what is the response now?

You should be using cua01 not tty01.


On Tue, Jul 13, 2010 at 06:47:18AM -0600, fred wrote:

I restored the dialer group to /dev/tty01 and added the user to the
dialer group as Nick suggested.  It still doesn't work but the
response is different now.  I believe there is a cable problem now.
The cable works with a Sun Ultra 10 but not with the PC running
openbsd.

Thank you for the help.

Nick Holland wrote:

On 07/12/10 19:32, patrick keshishian wrote:

On Mon, Jul 12, 2010 at 2:58 PM, fred f...@blakemfg.com wrote:

Hello,

A user needs to connect to external equipment using tip and a serial port.

I created an /etc/remote file:
snake:br=9600:dv=/dev/tty01:hf:nb:pa=none

The group associated with /dev/tty01 was changed from dialer to one that
includes the user:
$ls -l /dev/tty01
crw-rw 1 uucp wheel  8,  1 Feb  7  09:38 /dev/tty01

so, the user is already in wheel group. Revert above change. Enable
sudo (if not already done so) for users in group wheel.

$ sudo -u uucp tip snake

--patrick

uh...if all else fails, do it as root?  I think we'd prefer to avoid
that, unless really a root-like activity.

The dialer group is set up just for this purpose.

The problem with changing the ownership (or group) of a device file is
the next upgrade will overwrite your ownership change.  Ask me how I
know.  Better idea, don't -- just use your imagination.

I'm not sure why you didn't just add that user to group dialer, but it
is quite straight forward:

/home/nick $ grep nick /etc/group
wheel:*:0:root,nick
wsrc:*:9:nick
dialer:*:117:nick
nick:*:1000:

and...I (as nick) have no trouble using my serial port without using
sudo and without changing device file ownership.

You will probably want to create a file /var/log/aculog which is
writable by group dialer, as well... Squishes an error message, and
provides some useful logging, too.

Nick.




Re: request help with tip and serial port problem

2010-07-13 Thread fred
I restored the dialer group to /dev/tty01 and added the user to the 
dialer group as Nick suggested.  It still doesn't work but the response 
is different now.  I believe there is a cable problem now.  The cable 
works with a Sun Ultra 10 but not with the PC running openbsd.


Thank you for the help.

Nick Holland wrote:

On 07/12/10 19:32, patrick keshishian wrote:

On Mon, Jul 12, 2010 at 2:58 PM, fred f...@blakemfg.com wrote:

Hello,

A user needs to connect to external equipment using tip and a serial port.

I created an /etc/remote file:
snake:br=9600:dv=/dev/tty01:hf:nb:pa=none

The group associated with /dev/tty01 was changed from dialer to one that
includes the user:
$ls -l /dev/tty01
crw-rw 1 uucp wheel  8,  1 Feb  7  09:38 /dev/tty01

so, the user is already in wheel group. Revert above change. Enable
sudo (if not already done so) for users in group wheel.

$ sudo -u uucp tip snake

--patrick


uh...if all else fails, do it as root?  I think we'd prefer to avoid
that, unless really a root-like activity.

The dialer group is set up just for this purpose.

The problem with changing the ownership (or group) of a device file is
the next upgrade will overwrite your ownership change.  Ask me how I
know.  Better idea, don't -- just use your imagination.

I'm not sure why you didn't just add that user to group dialer, but it
is quite straight forward:

/home/nick $ grep nick /etc/group
wheel:*:0:root,nick
wsrc:*:9:nick
dialer:*:117:nick
nick:*:1000:

and...I (as nick) have no trouble using my serial port without using
sudo and without changing device file ownership.

You will probably want to create a file /var/log/aculog which is
writable by group dialer, as well... Squishes an error message, and
provides some useful logging, too.

Nick.




Re: PTY allocation error

2010-07-12 Thread Fred Crowson
On 12 July 2010 20:46, Leonardo Carneiro - Veltrac
lscarne...@veltrac.com.br wrote:
 I ONLY run the sshd that are allowed to connect from the Internet in
 non-standard ports. Anyone that matters to know knows on witch port the sshd
 is running.


And any one who doesn't just runs nmap to find port 222 :~)

Fred



request help with tip and serial port problem

2010-07-12 Thread fred

Hello,

A user needs to connect to external equipment using tip and a serial port.

I created an /etc/remote file:
snake:br=9600:dv=/dev/tty01:hf:nb:pa=none

The group associated with /dev/tty01 was changed from dialer to one that 
includes the user:

$ls -l /dev/tty01
crw-rw 1 uucp wheel  8,  1 Feb  7  09:38 /dev/tty01

Root can use tip and connect ok but if the user tries it:

$tip snake
/var/spool/lock/LCK...tty01:  No such file or directory
Can't open lock file.
all ports busy

I assume the user doesn't have permission to write to /var/spool/lock 
and having root give the user rw permission on the port is probably not 
the correct way to handle this.


How can I fix this problem?



Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap

2010-07-10 Thread Fred Crowson
On 10 July 2010 06:58, Joel Sing js...@openbsd.org wrote:
 Hi Ariel/Fred,

 Could one of you please try a current kernel with softraid disabled (boot
 with 'bsd -c' and type 'disable softraid' and then 'quit' at the UKC
prompt)
 and let me know if this resolves the issue?

 Thanks,

 Joel

Hi Joel,

Booting with softraid disabled does not solve the issue.

Hopefully, I'll find time over the next few weeks to do more investigations

thanks

Fred

Output of boot process follows:

Connected
 OpenBSD/i386 BOOT 3.02
boot bsd -c
booting hd0a:bsd:
/-\|/8127708-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+1088136\
[61+365104|/-\|/-\|/-\|/-\|/-\|/+350630-\|/-\|/-\|/-\|/-\|/-]=0x978d18
entry point at 0x200120

[ using 716212 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.7-current (GENERIC) #111: Sat Jul 10 00:33:14 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 6356992 (6MB)
User Kernel Config
UKC disable softraid
  9 softraid0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, charging
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: 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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: BI-MDDAL2-6102
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10
port 0x340/16, irq 9: address 00:80:c7:42:37:d9
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
biomask e145 netmask e345 ttymask fbdf
vscsi0 at root
scsibus0 at vscsi0: 256 targets
root device softraid not configured
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x76:  popl%ebx
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 8  0  0  0  20x100200pfpurge
 7  0  0  0  20x100200pcic0,0,1
 6  0  0  0  20x100200pcic0,0,0
 5  0  0  0  20x100200apm0
 4  0  0  0  20x100200syswq
 3  0  0  0  20x100200idle0
 2  0  0  0  20x100200kmthread
*1  0  0  0  7   0swapper
 0 -1  0  0  3 0x80200  wdccmdswapper
ddb trace
cpu_switchto(d0202fe5,0,d0b7af08,d03ecf17,d09a1458) at cpu_switchto+0x76
end(0,0,0,efffeecc,efffeecc) at 0xd0b7aed8
(null)(d0d1c004,d0997aa0,0,73637376,3069) at 0
ddb boot poweroff

Attempting to power down...
~
[EOT]



Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap

2010-07-09 Thread Fred Crowson
On 9 July 2010 10:20, Ariel Burbaickij ariel.burbaic...@gmail.com wrote:
 Hello all,
 following situation:
 I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor
 installation method,
 i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from
 install47.iso
 on it using different machine. Space is left on the disk for hybernation
 information to be saved.
 Once installed back to Libretto 70 I am able to boot but only up to
 following point (last 3 messages from dmesg and message from kernel):
 vscsi0 at root
 scsibus0  at vscsii0: 256 targets
 softraid0 at root
 kernel: integer divide fault trap, code=0
 Stopped at cpu_switchto+0x76



Hi,

This is a known problem with the Libretto 70 - see PR6052

http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052

The ramdisks boot fine - but their is a subtle problem that has been
around since OpenBSD 4.3 and 4.4, and I have been to busy (and lazy)
to narrow down the bug that is causing this issue.

The Libretto happily runs OpenBSD 4.3 :~)

Thanks

Fred



Re: Mac mini G4

2010-07-01 Thread Fred Snurd
fu...@safe-mail.net fu...@safe-mail.net wrote:

 I have one question: Is the any way to put the mini
 in server mode (make it boot automatically after Power Loss)?

While asking about server mode, is it also possible to run a PPC mini headless?

Thanks.



Re: Zend Framework pear-PHPUnit2 on OpenBSD

2010-06-30 Thread Fred Crowson
On 30 June 2010 08:53, Stuart Henderson s...@spacehopper.org wrote:

 Talk to the port's maintainer.



ok, will do thanks.

Fred



Zend Framework pear-PHPUnit2 on OpenBSD

2010-06-29 Thread Fred Crowson
Hi Misc@

Is any one using PHPUnit for regression testing on OpenBSD?

I'm successfully running the Zend Framework on OpenBSD 4.7 and
would like to integrate PHPUnit for testing, I've installed the
pear-PHPUnit2-2.1.6p1 package, but it doesn't seem to include the
phpunit.php script - I'm sure I'm missing something obvious

Any clues appreciated.

thanks

Fred



Re: reset stalled usb-device

2010-05-27 Thread Fred Crowson
On Tue, May 25, 2010 at 11:23 PM, Andreas Mueller
andr...@stapelspeicher.org wrote:
 Hi list,

 I've got an USB-UMTS-stick (Huawei 169G, basically crippled Huawei 169 
 without sd-card slot and antenna port) and I'm using OpenBSD 4.6 as an 
 Internet gateway.
 This works most of the time, but after some time it just hangs. This
 happens independent from everything I could make my mind of, like load,
 interval etc. I did not find a way to reproduce.
 The pppd connect-script just fails and I assume this is a hardware-bug as
 a soft-reboot mostly doesn't help.
 I usually manual disconnect the stick and reattach it.

 This is pretty lame, so I am searching for a way to surpass this
 procedure. Is there a way to kinda-hardreset the usb-device? (Tools,
 kernel-module/patch?)


 Thanks in advance
 Andreas MCller

Hi Andreas,

My E169 hangs (usually due to signal dropping out on the move) it
usually connects again happily if I do:

 pkill pppd
 ifconfig ppp0 destroy

and then run my create and pppd scripts again, and if that doesn't
work - then a detach and reattach usually fixes the problem - not a
slick solution but it works for me on my E169.

hth

Fred



Re: Trying to set diskless(8) -- hanging in RPC timeout for server

2010-05-11 Thread Fred Crowson
 does your dhcpd.conf look like on your server?

It might be worth having -vv and -X on your tcpdump it might provide
more info as to the problem.

hth

Fred



Re: Extra key-presses in X

2010-04-04 Thread Fred Crowson
On Sun, Apr 4, 2010 at 1:35 PM, Brad DeMorrow bdemor...@gmail.com wrote:
 I have an interesting problem with my laptop...
 When I start X, a lot of the keys that I press are duplicated.. ex, if I
 type 'ls' in xterm for example - I will most of the time get 'lls' instead..
 It appears to only happen when the keys that I press overlap... when I start
 typing at any decent rate..
 Issue doesn't happen when not running X.
 Has anyone seen this issue before?
 Running 4.6 release

 I know the general rule is 'upgrade to -current', so I'll do that when I get
 the chance...

 dmesg below:

snipped
 bios0: vendor TOSHIBA version Version 1.90 date 07/25/2003
 bios0: TOSHIBA Satellite Pro 6100
/snipped

I have seen this issue with a Toshiba Portege 2000 - it only happened
in X windows and I did not manage to find a fix.

Not much help...

Fred



Re: Joomla - MySQL Problem: Could not connect to MySQL

2010-03-08 Thread Fred Crowson
On Mon, Mar 8, 2010 at 9:07 PM, Jan malepa...@googlemail.com wrote:
 Hello all together,

 I installed PHP and MySQL on my box (running apache). When I try to install
 Joomla, the MySQL Database is recognized by the precheck of the install
 script. But when I try to connect to the database I get the following error
 msg:

 Unable to connect to the database: Could not connect to MySQL

 I'm a newbie using BSD. I tried really hard, but a simple mistake could be
 possible.

 I added the following 3 packets, installed MySQL and set the symbolic links:
 mysql-server-5.0.51ap1.tgz
 php5-core-5.2.6.tgz
 php5-mysqli-5.2.6.tgz

 I start mysql using the command:
 /usr/local/bin/mysqld_safe 

 I'm also able open the DB using mysql -u root -p.

What happens when you try:

mysql -h localhost -u root -p

But as the error messages says - Joomla cannot connect to your database (mysql).

Have a look in /var/www/logs/ especially the error logs and also in
the error logs for
mysql - they should help resolve this issue.

hth

Fred



Re: creating instalation CD

2010-01-22 Thread Fred Crowson
On 1/22/10, Nick Holland n...@holland-consulting.net wrote:

 Start at the top of faq5.html and start reading, don't just skip
 to the punchline you are after.  You blew past a lot of very
 important steps.

 You at least need to start from section 5.2, though 5.1 is totally
 brilliant writing, too.  A definite page turner. :)

 Nick.
 (ok, maybe it is more of a cure for insomnia...)

The faq and the man pages in OpenBSD are brilliant.

Thanks to you and the Developers.

All I need to do is learn how to read :~)

Fred



Lenovo S10-2 Fails to Boot: fatal page fault

2010-01-20 Thread Fred Crowson
Hi Misc,

Just been given an Intel Atom Lenovo S10-2 netbook, and I'm trying to
see if I can boot OpenBSD on it but it keeps panicing the message
(hand copied) is:

boot bsd.rd
booting hd0a: bsd.rd: 5823604+916112 [52+217184+203214] = 0x6d42dc
entry point at 0x200120
fatal page fault 96) in supervisor mode
trap type 6 code 0 eip d046b59c cs 8 eflags 10092 cr2 522bf343 cpl0
panic: trap type 6, code=0, pc=d046b59c

I'm booting from a USB pen drive that boots openbsd fine on my X41 laptop.

Any suggestions?

Thanks

Fred



Re: Lenovo S10-2 Fails to Boot: fatal page fault

2010-01-20 Thread Fred Crowson
On 1/20/10, Fred Crowson fred.crow...@googlemail.com wrote:
 Hi Misc,

 Just been given an Intel Atom Lenovo S10-2 netbook, and I'm trying to
 see if I can boot OpenBSD on it but it keeps panicing the message
 (hand copied) is:

 boot bsd.rd
 booting hd0a: bsd.rd: 5823604+916112 [52+217184+203214] = 0x6d42dc
 entry point at 0x200120
 fatal page fault 96) in supervisor mode
 trap type 6 code 0 eip d046b59c cs 8 eflags 10092 cr2 522bf343 cpl0
 panic: trap type 6, code=0, pc=d046b59c

 I'm booting from a USB pen drive that boots openbsd fine on my X41 laptop.

 Any suggestions?

 Thanks

 Fred

Should have added that I was trying the official 4.6 i386 CD, and a
snapshot dated 20 Jan from a USB memory stick both resulted in the
fatal page fault (6).

Thanks

Fred



Building Kernels

2009-12-27 Thread Fred Crowson
Hi Misc,

I'm building kernels to try a fix an issue with my Libretto [1], but
I'm getting the following error:

make: don't know how to make vers.o. Stop in
/usr/src/sys/arch/i386/compile/lib46noit.

This is as a result of the 19 Oct 09 change to Makefile.i386 [2]

If I change vers.o back to newvers in the Makefile it works - what I
am missing to get it to work without editing the Makefile.i386?

Thanks

Fred

[1] http://marc.info/?l=openbsd-bugsm=123248925609937
The issue is caused by the changes to the sys/dev/isa/it.c on 3 Apr 08
[2]http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/conf/Makefile.i386.diff?r1=1.53;r2=1.54;f=h



Re: Building Kernels

2009-12-27 Thread Fred Crowson
On 12/27/09, Markus Hennecke markus-henne...@markus-hennecke.de wrote:
 Fred Crowson schrieb:
 Hi Misc,

 I'm building kernels to try a fix an issue with my Libretto [1], but
 I'm getting the following error:

 make: don't know how to make vers.o. Stop in
 /usr/src/sys/arch/i386/compile/lib46noit.

 This is as a result of the 19 Oct 09 change to Makefile.i386 [2]

 If I change vers.o back to newvers in the Makefile it works - what I
 am missing to get it to work without editing the Makefile.i386?

 You need an up to date config(8).

 Kind regards,
Markus

Thanks! That's solved it.

Fred



Re: Hard disk errors - OpenBSD reports errors, SMART says all is well.

2009-12-26 Thread Fred Crowson
On 12/26/09, John O'Connor j...@jpoc.org wrote:
 Hi,

 I am getting some strange errors from an openBSD system that I am
 using as a backup server.

 I transfer some files onto the system via ftp. (1260 files with a
 total size of 60G.)

 The transfer works OK and then I try to check the newly arrived
 files.

 The last file in the set is an md5 file of the whole set.

 I now try:

 sum -c abc.md5  result.txt

 I get an error.

 First, I see a number of IO errors and then finally a message that
 the file system is full. (It is not.)

 sum: abc.md5: read error: Input/output error

 /home2: write failed, file system is full

A dmesg would be good, and what is the output from:

disklabel(8), fdisk(8) and df -h (df(1))

It might give some clues as to the issue you have.

hth

Fred



Re: problems with pgt

2009-12-20 Thread Fred Crowson
On 12/20/09, Kyle E arad...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello list,

 I have recently installed 4.6 via PXE and FTP. The hardware is a Soekris
 net4501. I am having a problem getting a mini-pci Intersil Prism
 GT/Duette wireless card using the pgt driver to work properly. All
 other network interfaces are working fine.

 It appears to associate to the access point (the IP is manually assigned):

 pgt0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:0c:41:18:c7:bd
 priority: 4
 groups: wlan egress
 media: IEEE802.11 autoselect (OFDM24)
 status: active
 ieee80211: nwid XX chan 5 bssid 00:21:29:ae:56:9d nwkey not
 displayed 100dBm
 inet 192.168.1.50 netmask 0xff00 broadcast 192.168.1.255
 inet6 fe80::20c:41ff:fe18:c7bd%pgt0 prefixlen 64 scopeid 0x6

 and I can see packets being transmitted on the interface with tcpdump:

 tcpdump: listening on pgt0, link-type EN10MB
 16:41:14.406814 arp who-has 192.168.1.1 tell 192.168.1.50
 16:41:15.291450 arp who-has 192.168.1.1 tell 192.168.1.50

 I can also use wireshark on another computer to see ARP queries coming
 from the pgt0 interface, and the replies being sent back to it.
 In any case, it seems that the pgt0 interface cannot receive any data.

 Any ideas?
 Thanks very much for any help.

How is pf configured?

Fred



Re: Help

2009-12-19 Thread Fred Crowson
On 12/20/09, A.I. siu...@yahoo.com wrote:
 Hi

 I am OpenBSD user. I have new computer AMD 4 core + 16G ram . I install
 OpenBSD amd 64bit 4.6 version . I find out openbsd work with 2.6G ram by
 dmesg. How to let OpenBSD work with 16G Ram.

 Suen

The following thread should help:

http://marc.info/?t=12456707794r=1w=2

Fred



Re: ATutor

2009-12-16 Thread Fred Crowson
On 12/16/09, Predrag Punosevac punoseva...@gmail.com wrote:
 Dear All,

 Is anybody using Learning Management System ATutor? The only LMS I
 noticed in ports is Moodle which is terribly outdate. I looked into
 installation of ATutor and it seems to me that it is just of bunch of
 xhtml, java-script, and php files which have to up unloaded in the right
 directory and correctly linked with MySQL. Obviously ATutor also
 requires PHP module for Apache.

 Does anybody see the value of porting ATutor?

 Best,
 Predrag

 P.S. Do people have any experience with Drupal as LMS? Does it have a
 grade-book?

What's wrong with Moodle?  I know that the packaged version is behind the
current release but you can upgrade quite easily.

And it runs nicely in the httpd chroot.

Fred



<    1   2   3   4   >