Re: Home folder default permission

2023-03-23 Thread Jasper Valentijn
Op do 23 mrt. 2023 07:54 schreef Kastus Shchuka :

> On Thu, Mar 23, 2023 at 06:08:05AM +0100, Jasper Valentijn wrote:
> > Op di 21 mrt. 2023 20:33 schreef Denis Mikhlevich :
> >
> > > 
> > > By hand I change the permision to 750 after creation a new user.
> > > Could I change the default behavior without manual change the
> permission?
> > >
> >
> > https://man.openbsd.org/login.conf.5
>
> login class does not define permissions of the user home directory.
>

umask is my train of thought.

>


Re: Home folder default permission

2023-03-22 Thread Jasper Valentijn
Op di 21 mrt. 2023 20:33 schreef Denis Mikhlevich :

> 
> By hand I change the permision to 750 after creation a new user.
> Could I change the default behavior without manual change the permission?
>

https://man.openbsd.org/login.conf.5

>


Re: PayPal pool for developer M1 Mac mini for OpenBSD port

2020-12-03 Thread Jasper Valentijn
Op do 3 dec. 2020 om 11:28 schreef Stuart Henderson :
>
> On 2020-12-03, Janne Johansson  wrote:
> > Den tors 3 dec. 2020 kl 02:21 skrev Mihai Popescu :
> >
> >> I have only good wishes for the project, but I still don't get one thing:
> >> why do some people start to behave oddly whenever Apple comes into
> >> discussion.
> >>
> >
> > It could also be that if it becomes operable, it is quite a useful machine,
> > whereas sticking to Pine64 experiment boards and FruityPi clones does quite
> > limit the usefulness even if they are all aarch64s.
>
> That, plus it's a challenge. Some people do sudoku or cryptic crosswords,
> some play musical instruments, some port OS to new hardware. And some do
> several of the above (and more).

We as community could help to make that possible,

I'm wondering how many machines would be needed to make it work.





--
“We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.”



Re: Is loss of read-only /usr permanent?

2016-05-19 Thread Jasper Valentijn
On May 19, 2016 8:36 PM, "Chris Cappuccio" <ch...@nmedia.net> wrote:
>
> Jasper Valentijn [jasper.valent...@gmail.com] wrote:
> > Maybe relevant...
> >
> > diskless(8), Example 10 states:
> >
> > If the */usr* partition is to be shared between machines, as in the
example
> > */etc/exports* above, a more suitable entry might be:
> >
> > myserver:/usr /usr nfs ro 0 0
>
> That is a perfect setup, with the current library reordering scheme.
> Only the main machine which actually hosts /usr on local disks would
> re-order, the other machines would take what they're given and the
> re-order operation would fail due to ro.

OK, diskless(8), Example 7 states:

Populate myclient's root filesystem on the server. How this is done depends
on the client architecture and the version of the OpenBSD distribution. It
can be as simple as copying and modifying the server's root filesystem, or
perhaps the files can be taken from the standard binary distribution.

>
> In fact, with the current scheme, this is really the only way you
> should mount NFS clients. I mean, even though it's done with an
> atomic mv, I wouldn't really want my NFS clients re-ordering shared
> /usr/lib on reboot.

Shouldn't each diskless client have a unique re-ordering independent of the
server? Must an OpenBSD diskless client depend on myserver to reorder even
if it's not able? Think not running OpenBSD.

I read diskless(8) as: myclient must be OpenBSD and my server could be
OpenBSD.

Jasper



Re: Is loss of read-only /usr permanent?

2016-05-19 Thread Jasper Valentijn
Maybe relevant...

diskless(8), Example 10 states:

If the */usr* partition is to be shared between machines, as in the example
*/etc/exports* above, a more suitable entry might be:

myserver:/usr /usr nfs ro 0 0



Re: Donations

2010-12-12 Thread Jasper Valentijn
2010/12/10 Leonardo Rodrigues leonardov...@gmail.com:
 To paraphrase Benjamin Franklin (an american! diplomat!):

 Any society that would give up a little liberty to gain a little
 security will deserve neither and lose both.

Imho this Thomas Jefferson quote is better suited for the subject. ;-)

If the American people ever allow private banks to control the issue
of their currency, first by inflation, then by deflation, the banks
and corporations that will grow up around them will deprive the people
of all property until their children wake up homeless on the continent
their Fathers conquered...I believe that banking institutions are more
dangerous to our liberties than standing armies... The issuing power
should be taken from the banks and restored to the people, to whom it
properly belongs.


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Donations

2010-12-12 Thread Jasper Valentijn
2010/12/12 Johan Helsingius j...@julf.com:
 Jasper,

 Imho this Thomas Jefferson quote is better suited for the subject. ;-)

 http://www.snopes.com/quotes/jefferson/banks.asp


This is my source:
http://wiki.monticello.org/mediawiki/index.php/Private_Banks_(Quotation)

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



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

2010-10-23 Thread Jasper Valentijn
2010/10/20 Fred Crowson fred.crow...@gmail.com:
 My OpenBSD 4.8 disks turned up in the post this morning :~)

 Awesome - thanks for another great release :~)

 Fred

Mine arrived just minutes ago. From openbsdeurope to Holland. :)

Thanks devs and others who have made it possible!

Jasper.

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Happy Birthday OpenBSD

2010-10-19 Thread Jasper Valentijn
2010/10/18 STeve Andre' and...@msu.edu:
  15 years!


Congratulations!!

Donation gift sent to the paypal account!

What's a birthday without presents? ;-)


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



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

2010-10-19 Thread Jasper Valentijn
2010/10/19 Martin Schrvder mar...@oneiros.de:
 2010/10/13 Rod Dorman r...@polylogics.com:
 On Wednesday, October 13, 2010, 17:02:12, Jeremy Chase wrote:
 I just got this in my inbox: USPS OpenBSD
Order:2010/9/10-13:4:42-15337--

 Ditto USPS OpenBSD Order:2010/9/8-15:0:32-30218:

 OpenBSD Europe has started shipping too. :-)


:)


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Suggest, Recomendations and advices

2010-09-18 Thread Jasper Valentijn
2010/9/18 Jordi Espasa jespa...@minibofh.org:
 Francisco,

 I'm sorry but Jacob words' are correct.

 I've not so much simpathy for the author, but anyway it's a good start
point
 to correct your manners:

 http://www.catb.org/esr/faqs/smart-questions.html


+1
--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: OpenBSD 4.8 pre-orders are up

2010-09-09 Thread Jasper Valentijn
2010/9/8 Theo de Raadt dera...@cvs.openbsd.org:
 OpenBSD 4.8 can now be pre-ordered.  The release date will be Nov 1.
 As usual, the CDs will ship a bit before the official release.


Pre-order has been placed.

Thanks to all who've made it posible again!!


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



4.8-beta no keyboard or mouse on Toshiba tecra-8000

2010-08-05 Thread Jasper Valentijn
Hi list,

When the machine is booted without an external ps2 keyboard connected
the built-in keyboard and pointer won't work.
Built-in keyboard works at bootloader and UKC, not after loading the kernel.

From what I can see the behaviour started somewhere after 4.6, as the
keyboard worked at that time.

If the machine is booted with an external ps2 keyboard connected both
built-in keyboard and pointer work, same for the external keyboard.

2 dmesgs below first without external keyboard, second with.

Thanks,

Jasper

OpenBSD 4.8-beta (GENERIC) #68: Tue Aug  3 09:03:21 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 300 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR
real mem  = 200830976 (191MB)
avail mem = 187625472 (178MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xfc4c0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1320/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:05:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #21 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02
vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK1011GAV
wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11
piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x4e: adm1021
spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC66CL2
Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not
configured
cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05: irq 11
cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 CardBus rev 0x05: irq 11
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 20 device 0 cacheline 0x0, lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 21 device 0 cacheline 0x0, lattimer 0x0
pcmcia1 at cardslot1
biomask ebcf netmask ebcf ttymask fbdf
mtrr: Pentium Pro MTRR support
ep1 at pcmcia0 function 0 3Com, Megahertz 574B, B port 0xa000/32:
address 00:50:04:8a:fb:da
tqphy0 at ep1 phy 0: 78Q2120 10/100 PHY, rev. 10
softraid0 at root
root on wd0a swap on wd0b dump on wd0b


OpenBSD 4.8-beta (GENERIC) #68: Tue Aug  3 09:03:21 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 300 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR
real mem  = 200830976 (191MB)
avail mem = 187625472 (178MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xfc4c0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1320/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:05:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #21 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02
vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 wired to 

Re: 4.8-beta no keyboard or mouse on Toshiba tecra-8000

2010-08-05 Thread Jasper Valentijn
2010/8/5 Jacob Meuser jake...@sdf.lonestar.org:
 man pckbc, second paragraph of DESCRIPTION


Thanks Jacob, works as before again!

And for the archive:

OpenBSD 4.8-beta (GENERIC) #68: Tue Aug  3 09:03:21 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 300 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR
real mem  = 200830976 (191MB)
avail mem = 187625472 (178MB)
User Kernel Config
UKC find pckbc
253 pckbc0 at isa0 port -1 size 0 iomem -1 iosiz 0 irq -1 drq -1 drq2
-1 flags 0x0
UKC change pckbc0
253 pckbc0 at isa0 port -1 size 0 iomem -1 iosiz 0 irq -1 drq -1 drq2
-1 flags 0x0
change (y/n) ?
port [-1] ?
size [0] ?
iomem [-1] ?
iosiz [0] ?
irq [-1] ?
drq [-1] ?
drq2 [-1] ?
flags [0] ? 1
253 pckbc0 changed
253 pckbc0 at isa0 port -1 size 0 iomem -1 iosiz 0 irq -1 drq -1 drq2
-1 flags 0x1
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xfc4c0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1320/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:05:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #21 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02
vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK1011GAV
wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11
piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x4e: adm1021
spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC66CL2
Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not
configured
cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05: irq 11
cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 CardBus rev 0x05: irq 11
isa0 at piixpcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 20 device 0 cacheline 0x0, lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 21 device 0 cacheline 0x0, lattimer 0x0
pcmcia1 at cardslot1
biomask ebcd netmask ebcd ttymask fbdf
mtrr: Pentium Pro MTRR support
ep1 at pcmcia0 function 0 3Com, Megahertz 574B, B port 0xa000/32:
address 00:50:04:8a:fb:da
tqphy0 at ep1 phy 0: 78Q2120 10/100 PHY, rev. 10
softraid0 at root
root on wd0a swap on wd0b dump on wd0b


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Anyone still using a SCSI scanner (i.e., ss(4))?

2010-06-23 Thread Jasper Valentijn
2010/6/23 Matthew Dempsky matt...@dempsky.org:
 SCSI scanners are marked obsolete at least as of the latest SCSI
 working drafts, and other than updates to keep in sync with other
 kernel subsystem changes, ss(4) doesn't seem to have received any real
 attention in about a decade.

I do still use a SCSI scanner. At least as soon as I've installed
everything again...

Below a snippet from a 4.7-release bsd.rd macppc dmesg. Full dmesg
and/or more info available on demand.

mesh0 at macobio0 offset 0x1 irq 12: 50MHz
scsibus1 at mesh0: 8 targets, initiator 7
scsibus1 targ 2 lun 0: EPSON, SCANNER GT-7000, 1.09 SCSI2
3/processor fixed not configured




--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: asking for donation: laptop mostly out of commission

2010-04-25 Thread Jasper Valentijn
2010/4/25 Antoine Jacoutot ajacou...@bsdfrog.org:
 On Sun, 25 Apr 2010, Marc Espie wrote:
 ...
 So, I'm asking for donations. Antoine conveniently has a paypal account
 (and lives in the same city I do), so this should be reasonably easy.
 (Antoine, can you post details).

 Anyone interested in donating money for espie@'s laptop can make
 a paypal donation to ajacou...@bsdfrog.org.


Sent 20 euros.

Happy hacking!!

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: 4.6 arriving

2009-10-20 Thread Jasper Valentijn
CDs just arrived at Hoorn, the Netherlands.

Looking great indeed. Listening to the new track, sounding great too!!

Many thanks to all who have made this and all previous releases possible!

Jasper Valentijn

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Climbing the learning curve, in baby steps.

2009-07-15 Thread Jasper Valentijn
2009/7/15 Wayne M. Scace k9di_...@k9di.org:
 Richard Toohey wrote:

 While I'm sure everyone is very happy for you, can I respectfully ask
 that your postings are a bit more technical in nature?
 Thanks.

Hello Richard,
Sure, I'll bear that in mind in the future.

 Wayne


Wayne if you have an irresistible urge to share you experience with
OpenBSD you could consider writing some articles about it on
undeadly.org. I think I might even read them then...

As Richard mentioned the mailing lists aren't intended as blog. ;)



--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: eject(1) locks machine on = 4.4

2009-05-14 Thread Jasper Valentijn
2009/5/10 Nick Guenther kou...@gmail.com:
 I had a similar problem where trying to write anything with my CD
 drive, and sometimes even just reading it, would lock. I saw something
 go by on here that hinted it was because the drive was a fancy
 blu-ray/duallayer/hddvd-capable drive but that's as far as I cared to
 dig.

There's this patch krw's cooked up. It fixes the problem for him and
me, it might also work for you.

Index: udf_subr.c
===
RCS file: /cvs/src/sys/isofs/udf/udf_subr.c,v
retrieving revision 1.18
diff -u -p -r1.18 udf_subr.c
--- udf_subr.c  23 Jul 2008 16:24:43 -  1.18
+++ udf_subr.c  14 May 2009 01:40:41 -
@@ -110,7 +110,7 @@ udf_disklabelspoof(dev_t dev, void (*str
 */
bp-b_blkno = sector * btodb(bsize);
bp-b_bcount = bsize;
-   bp-b_flags |= (B_READ | B_RAW);
+   bp-b_flags = B_BUSY | B_READ | B_RAW;
bp-b_resid = bp-b_blkno / lp-d_secpercyl;

(*strat)(bp);
@@ -130,7 +130,7 @@ udf_disklabelspoof(dev_t dev, void (*str
for (sector = mvds_start; sector  mvds_end; sector++) {
bp-b_blkno = sector * btodb(bsize);
bp-b_bcount = bsize;
-   bp-b_flags |= (B_READ | B_RAW);
+   bp-b_flags = B_BUSY | B_READ | B_RAW;
bp-b_resid = bp-b_blkno / lp-d_secpercyl;

(*strat)(bp);


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: How to verify ports.tar.gz in mirrors - and similarly packages?

2009-05-11 Thread Jasper Valentijn
2009/5/11 Cem Kayali cemkay...@eticaret.com.tr:
 If someone (who knows) reply, i would appreciate...

Patience is a virtue...

 If i would download packages through a mirror server, how could i validate
 their checksum? Please note, i'm NOT mentioning about using checksum on
 mirror server, which is not valid if  the packages are already
 compromised... Shouldn't these checksums exist on openbsd.org main web site
 at least?


http://marc.info/?l=openbsd-miscw=2r=1s=packages+checksumq=b

And read.

If you've downloaded ports.tar.gz, untared it and done a cvs up -C -Pd
you can be sure it's in sync with the cvs server...

 since i couldn't see a list of md5/sha256(512) sums of those in main
 www.openbsd.org website ---nor somebody mentions they are in cdroms? Maybe
i
 can get ports via anoncvs but not packages. Well, ordering cd-rom is not a
 problem, but it does not contain all the software i wish -probably.

It does support the project and does contain a clean ports tarbal.


 I'm sorry if this looks like 101 OpenBSD question, this is just how NetBSD
 (that i use) handles.

You're not the first to ask and not the first who didn't search the
archives before asking...



--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: sendmail vs. other MTAs

2009-05-10 Thread Jasper Valentijn
2009/5/10 Felipe Alfaro Solana felipe.alf...@gmail.com:
 Hi misc,

 May I ask what's the reason behind having sendmail be the default MTA
 in OpenBSD? Why not switching to something that is easier to configure
 like Postfix or EXIM?


http://openbsd.com/faq/faq1.html#HowAbout


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



eject(1) locks machine on = 4.4

2009-05-09 Thread Jasper Valentijn
Hey misc@,

I'm able to open/close the trays of cd0, cd1 and cd3 through eject(1).

When I use eject(1) on cd2 at scsibus1 targ 0 lun 0: _NEC, DV-5800D,
F9S6 ATAPI 5/cdrom removable, the machine locks up hard. Doesn't
respond to pings, sshs or ctrl-alt-dels.  I've tried this with acpi on
and off. Same results. :(

When trying this with a ramdisk kernel, I've tried 4.3-release,
4.4-release and stable, 4.5-release, stable and current, the prompt
doesn't return on all tests except the 4.3 one. The box doesn't lock
up as hard as when using a regular kernel. cd0, cd1 and cd3 do open
and close after making the devices with MAKEDEV when booted with
bsd.rd.

If I should provide more info let me know.

tia,

Jasper

OpenBSD 4.5-current (RAMDISK_CD) #133: Fri May  8 00:26:19 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: AMD Athlon(tm) XP 3200+ (AuthenticAMD 686-class, 512KB L2
cache) 2.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 1073246208 (1023MB)
avail mem = 1031086080 (983MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/04/04, BIOS32 rev. 0 @
0xfb470, SMBIOS rev. 2.2 @ 0xf (48 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS A7N8X-X ACPI
BIOS Rev 1011 date 08/04/2004
bios0: ASUSTeK Computer INC. A7N8X-X
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 3 4 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf800 0xd/0x1800 0xd2000/0x6600
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 NVIDIA nForce2 PCI rev 0xc1
NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 1 not configured
NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 2 not configured
NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 3 not configured
NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 4 not configured
NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA nForce2 ISA rev 0xa4
NVIDIA nForce2 SMBus rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 NVIDIA nForce2 USB rev 0xa4: irq 11,
version 1.0, legacy support
ohci1 at pci0 dev 2 function 1 NVIDIA nForce2 USB rev 0xa4: irq 4,
version 1.0, legacy support
ehci0 at pci0 dev 2 function 2 NVIDIA nForce2 USB rev 0xa4: irq 3
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
nfe0 at pci0 dev 4 function 0 NVIDIA nForce2 LAN rev 0xa1: irq 10,
address 00:0e:a6:72:92:77
rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
NVIDIA nForce2 AC97 rev 0xa1 at pci0 dev 6 function 0 not configured
ppb0 at pci0 dev 8 function 0 NVIDIA nForce2 PCI-PCI rev 0xa3
pci1 at ppb0 bus 1
ahc0 at pci1 dev 7 function 0 Adaptec AHA-29160 U160 rev 0x02: irq 11
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: SEAGATE, ST39204LC, 0703 SCSI3 0/direct fixed
sd0: 8683MB, 512 bytes/sec, 17783240 sec total
cd0 at scsibus0 targ 1 lun 0: PLEXTOR, CD-ROM PX-40TS, 1.05 SCSI2
5/cdrom removable
cd1 at scsibus0 targ 4 lun 0: PLEXTOR, CD-R PX-W124TS, 1.07 SCSI2
5/cdrom removable
pciide0 at pci0 dev 9 function 0 NVIDIA nForce2 IDE rev 0xa2: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 6G160P0
wd0: 64-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd2 at scsibus1 targ 0 lun 0: _NEC, DV-5800D, F9S6 ATAPI 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus2 at atapiscsi1: 2 targets
cd3 at scsibus2 targ 0 lun 0: TSSTcorp, CDDVDW SH-S202J, SB00 ATAPI
5/cdrom removable
cd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
ppb1 at pci0 dev 30 function 0 NVIDIA nForce2 AGP rev 0xc1
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 ATI Radeon X1650 Pro rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ATI Radeon X1650 Pro Sec rev 0x00 at pci2 dev 0 function 1 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 NVIDIA OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 NVIDIA OHCI root hub rev 1.00/1.00 addr 1
biomask fbfd netmask fffd ttymask 
rd0: fixed, 3800 blocks
uhub3 at uhub1 port 1 vendor 

Re: eject(1) locks machine on = 4.4

2009-05-09 Thread Jasper Valentijn
2009/5/9 Jasper Valentijn jasper.valent...@gmail.com:
 Hey misc@,

 I'm able to open/close the trays of cd0, cd1 and cd3 through eject(1).

 When I use eject(1) on cd2 at scsibus1 targ 0 lun 0: _NEC, DV-5800D,
 F9S6 ATAPI 5/cdrom removable, the machine locks up hard. Doesn't
 respond to pings, sshs or ctrl-alt-dels.  I've tried this with acpi on
 and off. Same results. :(

 When trying this with a ramdisk kernel, I've tried 4.3-release,
 4.4-release and stable, 4.5-release, stable and current, the prompt
 doesn't return on all tests except the 4.3 one. The box doesn't lock
 up as hard as when using a regular kernel. cd0, cd1 and cd3 do open
 and close after making the devices with MAKEDEV when booted with
 bsd.rd.

 If I should provide more info let me know.

I've just tested if the kind of media matters. It does.

With a dvd in the drive the machine locks up, with a cd or nothing in
it, it doesn't.

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: eject(1) locks machine on = 4.4

2009-05-09 Thread Jasper Valentijn
2009/5/9 Jasper Valentijn jasper.valent...@gmail.com:
 2009/5/9 Jasper Valentijn jasper.valent...@gmail.com:
 Hey misc@,

 I'm able to open/close the trays of cd0, cd1 and cd3 through eject(1).

 When I use eject(1) on cd2 at scsibus1 targ 0 lun 0: _NEC, DV-5800D,
 F9S6 ATAPI 5/cdrom removable, the machine locks up hard. Doesn't
 respond to pings, sshs or ctrl-alt-dels.  I've tried this with acpi on
 and off. Same results. :(

 When trying this with a ramdisk kernel, I've tried 4.3-release,
 4.4-release and stable, 4.5-release, stable and current, the prompt
 doesn't return on all tests except the 4.3 one. The box doesn't lock
 up as hard as when using a regular kernel. cd0, cd1 and cd3 do open
 and close after making the devices with MAKEDEV when booted with
 bsd.rd.

 If I should provide more info let me know.

 I've just tested if the kind of media matters. It does.

 With a dvd in the drive the machine locks up, with a cd or nothing in
 it, it doesn't.

The dvds I've done my first tests with are windows game dvds. I've
also tested dvd-movies then there's no problem.

Same on macppc.

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: OpenBSD 4.5 released, May 1, 2009

2009-04-30 Thread Jasper Valentijn
2009/4/30 Theo de Raadt dera...@cvs.openbsd.org:
 
 May 1, 2009.

 We are pleased to announce the official release of OpenBSD 4.5.
 This is our 25th release on CD-ROM (and 26th via FTP).  We remain
 proud of OpenBSD's record of more than ten years with only two remote
 holes in the default install.

 We would like to thank all of the people who sent in bug reports, bug
 fixes, donation cheques, and hardware that we use.  We would also like
 to thank those who pre-ordered the 4.5 CD-ROM or bought our previous
 CD-ROMs.  Those who did not support us financially have still helped
 us with our goal of improving the quality of the software.

Most welcome!

 Our developers are:

Alexander Bluhm, Alexander Schrijver, Alexander Yurchenko,
Alexander von Gernler, Alexandre Ratchov, Alexey Vatchenko,
Anders Magnusson, Andreas Gunnarsson, Anil Madhavapeddy,
Antoine Jacoutot, Ariane van der Steldt, Artur Grabowski,
Austin Hook, Bernd Ahlers, Bob Beck, Bret Lambert, Can Erkin Acar,
Chad Loder, Charles Longeau, Chris Kuethe, Christian Weisgerber,
Claudio Jeker, Constantine A. Murenin, Dale Rahn, Damien Bergamini,
Damien Miller, Darren Tucker, David Gwynne, David Hill,
David Krause, Eric Faurot, Esben Norby, Federico G. Schwindt,
Felix Kronlage, Gilles Chehade, Giovanni Bechis, Gordon Willem Klok,
Hans-Joerg Hoexer, Henning Brauer, Ian Darwin, Igor Sobrado,
Jacek Masiulaniec, Jacob Meuser, Jakob Schlyter, Janne Johansson,
Jared Yanovich, Jason Dixon, Jason George, Jason McIntyre,
Jasper Lievisse Adriaanse, Joel Sing, Joerg Goltermann, Jolan Luff,
Jonathan Gray, Jordan Hargrave, Joris Vink, Joshua Stein,
Kenneth R Westerback, Kevin Lo, Kevin Steves, Kjell Wooding,
Kurt Miller, Landry Breuil, Laurent Fanis, Marc Balmer, Marc Espie,
Marco Peereboom, Marco Pfatschbacher, Marco S Hyman, Marcus Glocker,
Mark Kettenis, Mark Uemura, Markus Friedl, Martin Reindl,
Martynas Venckus, Mathieu Sauve-Frankel, Mats O Jansson,
Matthias Kilian, Matthieu Herrb, Michael Erdely, Michael Knudsen,
Michele Marchetto, Mike Belopuhov, Mike Larkin, Miod Vallat,
Moritz Jodeit, Nick Holland, Nikolay Sturm, Okan Demirmen,
Oleg Safiullin, Otto Moerbeek, Owain Ainsworth, Paul Irofti,
Paul de Weerd, Pedro Martelletto, Peter Hessler, Peter Stromberg,
Peter Valchev, Philip Guenther, Pierre-Emmanuel Andre,
Pierre-Yves Ritschard, Rainer Giedat, Ray Lai, Reyk Floeter,
Robert Nagy, Rui Reis, Ryan Thomas McBride, Simon Bertrang,
Stefan Kempf, Stefan Sperling, Steven Mestdagh, Stuart Henderson,
Ted Unangst, Theo de Raadt, Thordur I. Bjornsson, Tobias Stoeckmann,
Tobias Weingartner, Todd C. Miller, Todd Fries, Will Maier,
Xavier Santolaria, Yojiro Uo

Thank you all!!!

Jasper

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: RadiusClient

2009-04-24 Thread Jasper Valentijn
2009/4/24 Bruno Galindro da Costa bruno.galin...@gmail.com:
 Hi all

What is the radius client packge for OpenBSD? What I need to do is
 provide pptpd auth with radius. My Radius Server is a Windows Server 2003.
 On Ubuntu and Debian tha name of package is radiusclient downloadable via
 apt-get.


http://www.openbsd.org/4.4_packages/i386.html

Search for radius...

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: 4.5 arrived in Bielefeld/Germany

2009-04-17 Thread Jasper Valentijn
2009/4/17 Michiel van Baak mich...@vanbaak.info:
 On 10:40, Fri 17 Apr 09, zpo wrote:
 4.5 arrived in Bielefeld/Germany

 And also in Denhaag/Netherlands



Where did you order?


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: 4.5 arrived in Bielefeld/Germany

2009-04-17 Thread Jasper Valentijn
2009/4/17 Michiel van Baak mich...@vanbaak.info:
 On 11:37, Fri 17 Apr 09, Jasper Valentijn wrote:
 2009/4/17 Michiel van Baak mich...@vanbaak.info:
  On 10:40, Fri 17 Apr 09, zpo wrote:
  4.5 arrived in Bielefeld/Germany
 
  And also in Denhaag/Netherlands
 
 

 Where did you order?

 Pre-ordered from kd85 back in the days the order site was still linked
 from the main openbsd website. (same day as pre-orders came available)

Ahh ok. I did the same, only a day or so later.

 received my UPS tracking number yesterday and a box with loads of kd85
 tape on it arrived this morning at 9:30

Got my UPS tracking number minutes after my mail to misc@

 Why is it drug addicts and computer aficionados are both called users?


Both computers and drugs are mind expanding phenomena .



--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: ati(4) not working on 4.4-beta sparc64

2008-08-05 Thread Jasper Valentijn
2008/8/5 Mark Kettenis [EMAIL PROTECTED]:
 Can you try building a kernel with the attached diff?

 Index: vgafb.c
 ===
 RCS file: /cvs/src/sys/arch/sparc64/dev/vgafb.c,v
 retrieving revision 1.52
 diff -u -p -r1.52 vgafb.c
 --- vgafb.c 23 Mar 2008 12:10:53 -  1.52
 +++ vgafb.c 4 Aug 2008 22:07:27 -
 @@ -412,13 +412,13 @@ vgafb_mmap(v, off, prot)
if (sc-sc_mmio_size == 0)
return (-1);

 -   if (off = sc-sc_mem_addr 
 +   if (off = (sc-sc_mem_addr  ~PGOFSET) 
off  (sc-sc_mem_addr + sc-sc_mem_size))
return (bus_space_mmap(sc-sc_mem_t,
sc-sc_mem_addr, off - sc-sc_mem_addr,
prot, BUS_SPACE_MAP_LINEAR));

 -   if (off = sc-sc_mmio_addr 
 +   if (off = (sc-sc_mmio_addr  ~PGOFSET) 
off  (sc-sc_mmio_addr + sc-sc_mmio_size))
return (bus_space_mmap(sc-sc_mem_t,
sc-sc_mmio_addr, off - sc-sc_mmio_addr,


Still a fatal server error.

$ tail /var/log/Xorg.0.log
[13] -1 0   0x00c0 - 0x00c7 (0x8) IX[B]E
[14] -1 0   0xff00 - 0x (0x100) IX[B](B)
[15] 0  0   0x03b0 - 0x03bb (0xc) IS[B]
[16] 0  0   0x03c0 - 0x03df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) MACH64(0): Depth 16, (--) framebuffer bpp 16
(==) MACH64(0): Using XAA acceleration architecture

Fatal server error:
xf86MapVidMem: could not mmap screen [s=2000,a=e000] (Invalid argument)

Anything else I can try or should provide?



ati(4) not working on 4.4-beta sparc64

2008-08-03 Thread Jasper Valentijn
Hey misc@,

I seem to be unable to get accelerated X running on my old ultra 5,
unaccelerated just works(tm).
Am I missing something?
Did I find something?

I hope it helps.

Thanks in advance for any hints besides buying new hardware.

Jasper



Xorg.0.log
(WW) OS did not count PCI devices, guessing wildly
(--) Using wscons driver

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.4 sparc64
Current Operating System: OpenBSD sparc.thuis.nl 4.4 GENERIC#1702 sparc64
Build Date: 30 July 2008  08:24:46AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sun Aug  3 14:35:52 2008
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout wsfb
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor
(**) |   |--Device Card0
(**) |--Input Device commouse0
(**) |--Input Device Keyboard0
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/local/lib/X11/fonts/ghostscript/ does not exist.
Entry deleted from font path.
(==) Including the default font path
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/OTF,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/.
(**) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(II) Loader magic: 0x4b8178
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on openbsd
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules//libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:01:0: chip 108e,5000 card , rev 11 class 06,04,00 hdr 81
(II) PCI: 00:01:1: chip 108e,5000 card , rev 11 class 06,04,00 hdr 81
(II) PCI: 01:01:0: chip 108e,1000 card , rev 01 class 06,80,00 hdr 80
(II) PCI: 01:01:1: chip 108e,1001 card , rev 01 class 02,00,00 hdr 80
(II) PCI: 01:02:0: chip 1002,4754 card , rev 9a class 03,00,00 hdr 00
(II) PCI: 01:03:0: chip 1095,0646 card 1095,0646 rev 03 class 01,01,8f hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:1:0), (0,2,255), BCTRL: 0x0002 (VGA_EN is cleared)
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:1), (0,1,1), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x1) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x1) MX[B]
(--) PCI:*(1:2:0) ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT]
rev 154, Mem @ 0xe100/24, 0xf000/12, I/O @ 0xff00/8, BIOS
@ 0xe102/17
(II) Addressable bus resource ranges are
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:
(II) Active PCI resource ranges:
[0] -1  0   0xe000 - 0x (0x2000) MX[B]E
[1] -1  0   0xf100 - 0xf1ff (0x100) MX[B]E
[2] -1  0   0xf000 - 0x (0x1000) MX[B]E
[3] -1  0   0xe102 - 0xe103 (0x2) MX[B](B)
[4] -1  0   0xf000 - 0x (0x1000) MX[B](B)
[5] -1  0   0xe100 - 0xe1ff (0x100) MX[B](B)
[6] -1  0   0x00c00020 - 0x00c0003f (0x20) IX[B]E
[7] -1  0   0x00c00018 - 0x00c0001f (0x8) IX[B]E
[8] -1  0   0x00c00010 - 0x00c0001f (0x10) IX[B]E
[9] -1  0   0x00c8 - 0x00cf (0x8) IX[B]E
[10] -1 0   0x00c0 - 0x00c000ff (0x100) IX[B]E
[11] -1 0   0xff00 - 0x (0x100) IX[B](B)
(II) PCI I/O 

Re: ati(4) not working on 4.4-beta sparc64

2008-08-03 Thread Jasper Valentijn
2008/8/3 Matthieu Herrb [EMAIL PROTECTED]:
 On Sun, Aug 3, 2008 at 3:38 PM, Jasper Valentijn
 [EMAIL PROTECTED] wrote:
 Hey misc@,

 I seem to be unable to get accelerated X running on my old ultra 5,

 Did you set machdep.allowaperture in /etc/sysctl.conf?


$ sysctl machdep.allowaperture
machdep.allowaperture=1

It was set during the install so yes.

My first thought was I needed to set it at 2. But then I saw it wasn't
available on sparc64.

-- 
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: ati(4) not working on 4.4-beta sparc64

2008-08-03 Thread Jasper Valentijn
2008/8/3 Mark Kettenis [EMAIL PROTECTED]:
 Hey misc@,

 I seem to be unable to get accelerated X running on my old ultra 5,
 unaccelerated just works(tm).
 Am I missing something?
 Did I find something?

 Jasper,

 Can you post the output of pcidump -v for that Ultra 5?

Sure thing.

0:1:0: Sun Simba PCI-PCI
0x: Vendor ID: 108e Product ID: 5000
0x0004: Command: 0147 Status ID: 02a0
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 11
0x000c: BIST: 00 Header Type: 81 Latency Timer: 28 Cache Line Size: 10
0x0010: 
0x0014: 
0x0018: Primary Bus: 0 Secondary Bus: 2 Subordinate Bus: 255
Secondary Latency Timer: 28
0x001c: I/O Base: 00 I/O Limit: 00 Secondary Status: 0280
0x0020: Memory Base:  Memory Limit: 
0x0024: Prefetch Memory Base:  Prefetch Memory Limit: 
0x0028: Prefetch Memory Base Upper 32 Bits: 
0x002c: Prefetch Memory Limit Upper 32 Bits: 
0x0030: I/O Base Upper 16 Bits:  I/O Limit Upper 16 Bits: 
0x0038: Expansion ROM Base Address: 
0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 0002
0:1:1: Sun Simba PCI-PCI
0x: Vendor ID: 108e Product ID: 5000
0x0004: Command: 0147 Status ID: 02a0
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 11
0x000c: BIST: 00 Header Type: 81 Latency Timer: 28 Cache Line Size: 10
0x0010: 
0x0014: 
0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1
Secondary Latency Timer: 28
0x001c: I/O Base: 00 I/O Limit: 00 Secondary Status: 0280
0x0020: Memory Base:  Memory Limit: 
0x0024: Prefetch Memory Base:  Prefetch Memory Limit: 
0x0028: Prefetch Memory Base Upper 32 Bits: 
0x002c: Prefetch Memory Limit Upper 32 Bits: 
0x0030: I/O Base Upper 16 Bits:  I/O Limit Upper 16 Bits: 
0x0038: Expansion ROM Base Address: 
0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 0002
1:1:0: Sun PCIO EBus2
0x: Vendor ID: 108e Product ID: 1000
0x0004: Command: 0146 Status ID: 0280
0x0008: Class: 06 Subclass: 80 Interface: 00 Revision: 01
0x000c: BIST: 00 Header Type: 80 Latency Timer: 52 Cache Line Size: 40
0x0010: BAR mem 32bit addr: 0xf000
0x0014: BAR mem 32bit addr: 0xf100
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID:  Product ID: 
0x0030: Expansion ROM Base Address: e000
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 0a Max Lat: 19
1:1:1: Sun HME
0x: Vendor ID: 108e Product ID: 1001
0x0004: Command: 0046 Status ID: 0280
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 01
0x000c: BIST: 00 Header Type: 80 Latency Timer: 52 Cache Line Size: 40
0x0010: BAR mem 32bit addr: 0xe000
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID:  Product ID: 
0x0030: Expansion ROM Base Address: e100
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 0a Max Lat: 05
1:2:0: ATI Mach64 GT
0x: Vendor ID: 1002 Product ID: 4754
0x0004: Command: 0082 Status ID: 0280
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 9a
0x000c: BIST: 00 Header Type: 00 Latency Timer: 42 Cache Line Size: 40
0x0010: BAR mem 32bit addr: 0xe100
0x0014: BAR io addr: 0xff00
0x0018: BAR mem 32bit addr: 0xf000
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID:  Product ID: 
0x0030: Expansion ROM Base Address: e102
0x0038: 
0x003c: Interrupt Pin: 01 Line: 02 Min Gnt: 08 Max Lat: 00
1:3:0: CMD Technology PCI0646
0x: Vendor ID: 1095 Product ID: 0646
0x0004: Command: 0045 Status ID: 0280
0x0008: Class: 01 Subclass: 01 Interface: 8f Revision: 03
0x000c: BIST: 00 Header Type: 00 Latency Timer: 10 Cache Line Size: 00
0x0010: BAR io addr: 0x00c0
0x0014: BAR io addr: 0x00c8
0x0018: BAR io addr: 0x00c00010
0x001c: BAR io addr: 0x00c00018
0x0020: BAR io addr: 0x00c00020
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1095 Product ID: 0646
0x0030: 

Re: Kernel developers guide/tutorial

2008-06-12 Thread Jasper Valentijn
2008/6/11 Don Hiatt [EMAIL PROTECTED]:
 [ Pardon if this email was repeated.
  Sadly, I'm using Outlook and you know the rest :-) ]

 Can anyone point me to a kernel developers guide or tutorial?
 Something that explains how to write a hello world type device driver
 and such. Anything to bootstrap me a bit. ;-)

http://www.openbsd.com/books.html
-- 
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Why Perl for pkg_* tools ?

2008-05-24 Thread Jasper Valentijn
2008/5/24 comfooc [EMAIL PROTECTED]:
 Hi,
 What about python? I think that it's license is better (but i might be wrong).

What about reading the entire thread?

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

-- 
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Got 'em !

2008-04-10 Thread Jasper Valentijn
2008/4/10, Paul de Weerd [EMAIL PROTECTED]:
 Hi all,

  The new 4.3 CD set has just arrived here in Zurich, Switzerland ! I've
  put up a pic on http://www.weirdnet.nl/images/openbsd43set.jpg ..
  looking very cool yet again ;)

It sure does! I keep looking for that UPS truck...

-- 
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Puffy and the Cryptonauts have arrived in...

2008-04-10 Thread Jasper Valentijn
Hoorn, Netherlands.

http://en.wikipedia.org/wiki/Hoorn

Thanks devs!!

-- 
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Unable to install 3.8-4.2, able to install 3.8 on old 486DX. probably wscons(4)/wskbd(4) related.

2007-11-24 Thread Jasper Valentijn
Hello misc@,

First of all sorry for not mentioning this earlier but, better late than never!

Problem definition:
As stated in the subject.

Abstract:
Keyboard works in 3.7.
Keyboard works in boot(8) and UKC.
Keyboard is dead after booting the kernel in 3.8 and higher.
dmesg for 3.7-release and 4.2-stable below, both GENERIC ofcourse.

What I've tried so far:
Booted from several different floppies with images floppy38.fs-floppy42.fs.
Booted bsd.rd loaded from hd with boot(8) again the same range.
Booted an i386 4.2 GENERIC kernel with boot(8) -a option.
Booted an i386 4.2 GENERIC kernel.
Disabled pcibios during each trail, on or off same result.

What I will probably try in the near future:
Locating my null modem cable and hooking it up to see if I can install
4.2-stable.
Testing an other keyboard?

Symptoms:
Loads each kernel. No difference for bsd.rd floppy or hd based. Same
for GENERIC.

bsd.rd halts at the install upgrade shell prompt, keyboard is totally
unresponsive, no {caps,scroll,num}lock, no ctrl-alt-del.

bsd 4.2 GENERIC with boot(8) -a option halts at the root disk prompt,
keyboard is totally unresponsive, no {caps,scroll,num}lock, no
ctrl-alt-del.

bsd 4.2 GENERIC halts at the login prompt, keyboard is totally
unresponsive, no {caps,scroll,num}lock, no ctrl-alt-del, am able to
ssh to the box.

Hypothesis:
Keyboard support dropped for my old beast?

The keyboard is connected via a 5-pin DIN (DIN 41524) AT connector.

Changes made between OpenBSD 3.7 and OpenBSD 3.8
Miod is hacking keyboard map support in wscons(4) and elsewhere.

My questions:
Has anybody else noticed this problem with an AT connector connected box?
Any ideas on what to enable or disable in UKC to get my keyboard working?
Is my keyboard not working by design or mistake?

Thanks in advance for any hints besides buying new hardware.

Jasper


OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel 486DX (486-class)
real mem  = 49913856 (48744K)
avail mem = 37879808 (36992K)
using 634 buffers containing 2596864 bytes (2536K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2c) BIOS, date 04/07/95, BIOS32 rev. 0 @ 0xfbfa0
pcibios0 at bios0: rev 2.0 @ 0xf/0xc3b0
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x800 0xef000/0x1000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
xl0 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x74: irq
12, address 00:01:02:f6:c8:17
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01
pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01
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 (mux 1 ignored for console): console keyboard
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0: 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-DALA-3540
wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors
wd0(wdc0:0:0): using BIOS timings
wdc1 at isa0 port 0x170/8 irq 15
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: SAMSUNG, CD-ROM SC-152L, C100 SCSI0
5/cdrom removable
cd0(wdc1:0:0): using BIOS timings
ne1 at isa0 port 0x300/32 irq 10
ne1: NE2000 (RTL8019) Ethernet
ne1: address 00:00:e8:5d:49:57
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
xl0 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x74: irq
12, address 00:01:02:f6:c8:17
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01
pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01
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 (mux 1 ignored for console): console keyboard
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0: 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-DALA-3540
wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors
wd0(wdc0:0:0): using BIOS timings
wdc1 at isa0 port 0x170/8 irq 15
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: SAMSUNG, CD-ROM SC-152L, C100 SCSI0
5/cdrom removable
cd0(wdc1:0:0): using BIOS timings
ne1 at isa0 port 0x300/32 irq 10
ne1: NE2000 (RTL8019) Ethernet
ne1: address 00:00:e8:5d:49:57
pcppi0 at isa0 

Re: Unable to install 3.8-4.2, able to install 3.8 on old 486DX. probably wscons(4)/wskbd(4) related. [FIXED]

2007-11-24 Thread Jasper Valentijn
2007/11/24, Miod Vallat (on the road) [EMAIL PROTECTED]:
   Can you try to run either a 3.7 kernel with sys/dev/ic/pckbc.c r1.10
   (stock 3.7 is r1.9) and report whether this causes the keyboard to
   become unresponsive?
 
  Sure, it will take me some time to get the kernel though. Unless you
  can tell me what cvs commandstring I have to unleash on my 4.2-stable
  source to get the r1.10 version.

 Oh, if you have a 4.2 available, it's easier to test a 4.2 with the 1.10
 changes reverted, by doing this:

 cd /usr/src/sys/dev/ic/
 cvs diff -r1.9 -r1.10 pckbc.c  pckbc.revert
 patch -R  pckbc.revert

 and compile a new 4.2 kernel.


Keyboard works again after the booted and patched kernel, dmesg below.

A round of beer is on me next hackathlon! $25 sent to the paypal
account. Thanks Miod!

Jasper


# patch -R  pckbc.revert
Hmm...  Looks like a normal diff to me...
The text leading up to this was:
--
|Index: pckbc.c
|===
|RCS file: /cvs/src/sys/dev/ic/pckbc.c,v
|retrieving revision 1.9
|retrieving revision 1.10
|diff -r1.9 -r1.10
--
Patching file pckbc.c using Plan A...
Hunk #1 failed at 1.
Hunk #2 succeeded at 362 (offset 4 lines).
1 out of 2 hunks failed--saving rejects to pckbc.c.rej
done


OpenBSD 4.2-stable (GENERIC) #5: Sat Nov 24 23:39:10 CET 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel 486DX (486-class)
real mem  = 49901568 (47MB)
avail mem = 39292928 (37MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/07/95, BIOS32 rev. 0 @ 0xfbfa0
pcibios0 at bios0: rev 2.0 @ 0xf/0xc3b0
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x800 0xef000/0x1000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
xl0 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x74: irq
12, address 00:01:02:f6:c8:17
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01
pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01
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
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-DALA-3540
wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors
wd0(wdc0:0:0): using BIOS timings
wdc1 at isa0 port 0x170/8 irq 15
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: SAMSUNG, CD-ROM SC-152L, C100 SCSI0
5/cdrom removable
cd0(wdc1:0:0): using BIOS timings
ne1 at isa0 port 0x300/32 irq 10, NE2000 (RTL8019), address 00:00:e8:5d:49:57
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
ne3 at isapnp0 NE2000 PLUG  PLAY ETHERNET CAR, @@@9519, PNP80D6, 
port 0x200/32 irq 3: NE2000 (RTL8019), address 00:00:e8:5d:49:57
pccom3 at isapnp0 Tornado Modem SFM56PC, SFM0120, ,  port
0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask ebe5 netmask ffed ttymask ffef
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b

-- 
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.



Re: Specifically supported Dual x86 CPU Servers

2006-06-14 Thread Jasper Valentijn

Tito Mari Francis Escaqo schreef:

 Unfortuantely,
there's no definite list of servers fitting this criteria; 


There is.



May I please know from those with first-hand experience what are the
specific brand and models of dual x86 CPU servers that can install and
run OpenBSD (whatever version, at least 3.x)?


http://marc.theaimsgroup.com/?l=openbsd-miscm=114837707700939w=2