can't boot -current i386

2009-03-30 Thread Nick Nauwelaerts
Hello,
I'm trying to get -current snapshot working on my laptop but thus far
I've had no luck. Whenever I try to boot bsd.rd my system hangs while
still loading the kernel. This hang seems to happen after it loads
pciide but before any wd drives are detected. I've tried disabling the
following in various combinations but still can't get to a login prompt:
 acpi
 ehci
 uhci
 pciide
 usb
 wd
 atapiscsi
 cd

I've tried both an April 28th  April 29th bsd.rd, bot have the same
issue. My current November 21st snapshot is still working, dmesg
attached. Any clues?

thx

// nick



OpenBSD 4.4-current (GENERIC.MP) #1156: Fri Nov 21 14:45:01 MST 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2300 @ 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,VMX,EST,TM2,xTPR
real mem  = 2137432064 (2038MB) avail mem = 2058313728 (1962MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/13/07, BIOS32 rev. 0 @
0xffa10, SMBIOS rev. 2.4 @ 0xf7980 (44 entries) bios0: vendor Dell Inc.
version A17 date 06/13/2007 bios0: Dell Inc. MM061
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP HPET APIC MCFG SLIC BOOT SSDT
acpi0: wakeup devices LID_(S3) PBTN(S4) MBTN(S5) PCI0(S3) USB0(S3) USB1
(S3) USB2(S3) USB3(S3) EHCI(S3) AZAL(S3) PCIE(S4) RP01(S4) RP02(S3) RP03
(S3) RP04(S3) RP05(S3) RP06(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: Genuine Intel(R) CPU T2300 @ 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,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0:
misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0
(PCI0) acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 3 (PCIE)
acpiprt3 at acpi0: bus 11 (RP01)
acpiprt4 at acpi0: bus -1 (RP02)
acpiprt5 at acpi0: bus -1 (RP03)
acpiprt6 at acpi0: bus 12 (RP04)
acpiprt7 at acpi0: bus -1 (RP05)
acpiprt8 at acpi0: bus -1 (RP06)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 126 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model  DELLUD2646 serial 933 type LION oem
Sanyo acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xe800! 0xce800/0x1800
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2c06000a2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1667 MHz (1404 mV): speeds: 1667, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM 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 0xd000, size 0x1000
inteldrm0 at vga1
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01:
apic 2 int 21 (irq 10) azalia0: codecs: Sigmatel STAC9200,
Conexant/0x2bfa, using Sigmatel STAC9200 audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2
int 16 (irq 0) pci1 at ppb0 bus 11
wpi0 at pci1 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
apic 2 int 16 (irq 4), MoW2, address 00:13:02:46:b3:5a ppb1 at pci0 dev
28 function 3 Intel 82801GB PCIE rev 0x01: apic 2 int 19 (irq 0) pci2
at ppb1 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev
0x01: apic 2 int 20 (irq 9) uhci1 at pci0 dev 29 function 1 Intel
82801GB USB rev 0x01: apic 2 int 21 (irq 10) uhci2 at pci0 dev 29
function 2 Intel 82801GB USB rev 0x01: apic 2 int 22 (irq 7) uhci3 at
pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2 int 23 (irq
5) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2
int 20 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel
EHCI root hub rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0
Intel 82801BAM Hub-to-PCI rev 0xe1 pci3 at ppb2 bus 3
bce0 at pci3 dev 0 function 0 Broadcom BCM4401B1 rev 0x02: apic 2 int
17 (irq 4), address 00:14:22:d1:bd:2c bmtphy0 at bce0 phy 1: BCM4401
10/100baseTX PHY, rev. 0 Ricoh 5C832 Firewire rev 0x00 at pci3 dev 1
function 0 not configured sdhc0 at pci3 dev 1 function 1 Ricoh 5C822
SD/MMC rev 0x19: apic 2 int 18 (irq 11) sdmmc0 at sdhc0
Ricoh 5C843 MMC rev 0x01 at pci3 dev 1 function 2 not configured
Ricoh 5C592 Memory Stick rev 0x0a at pci3 dev 1 function 3 not
configured Ricoh 5C852 xD rev 0x05 at pci3 dev 1 

Re: can't boot -current i386

2009-03-30 Thread Nick Nauwelaerts
On Mon, 30 Mar 2009 16:24:00 +0200
Nick Nauwelaerts n...@nauwelaerts.net wrote:

 I'm trying to get -current snapshot working on my laptop but thus far
 I've had no luck. Whenever I try to boot bsd.rd my system hangs while
 still loading the kernel. This hang seems to happen after it loads
 pciide but before any wd drives are detected. I've tried disabling the
 following in various combinations but still can't get to a login
 prompt: acpi
  ehci
  uhci
  pciide
  usb
  wd
  atapiscsi
  cd
 
 I've tried both an April 28th  April 29th bsd.rd, bot have the same
 issue. My current November 21st snapshot is still working, dmesg
 attached. Any clues?

Ofcourse, that should be March, not April.

// nick



Re: 3Qs, including How insane to have /var mount with softraid discipline raid 1 ?

2009-03-06 Thread Nick Nauwelaerts
I'm also running my /var on softraid since yesterday. To move the data I
used a static copy of rsync  bsd.rd, took about 2 minutes.

As for #3, that's something that can be taken into account once you
know that it can happen.

// nick



On Tue, 3 Mar 2009 22:26:09 -0600
Marco Peereboom sl...@peereboom.us wrote:

 #1
 no
 
 #2
 i use softraid for all kinds of uses; nothing you mention here is odd
 or out of place
 
 #3
 that is correct; the lazy author still hasn't finished partial bringup
 and rebuilds.  that guy kind of sucks and needs to be reminded often
 to get off his lazy slack bum butt.
 
 On Tue, Mar 03, 2009 at 08:31:57PM +, ppru...@webengr.com wrote:
  #1
  In a real world for small non-profits,
  in many cases, its what was left over or donated, so
  question one, does the softraid, bioctl, have to much
  heartburn if the drives are not the same geometry...
  I've always used matching drives for raid of anytype,
  but even $60*2 for two drives is a stretch for some nonprofits
  these days
 
 
  #2
  And the next question in the subject, thinking
  about which mounted partition changes the most frequently
  through the day that would be /var
  The others, /usr for example don't change as much and
  could be rsync or tgz nightly...or weekly
  however... perhaps /home and /tmp, but definitely /var.
  could change significantly during the day.
  For example the log files, /var/mail, /var/mysql
  and so on are active.  I wander about /var/mysql
  and ldap being on a softraid.?
 
  How insane would it be to use the new softraid features
  for all of /var  
  to make a mirror raid 1 of say 3 drives and then dump
  and restore the orig. /var to that softraid and change /etc/fstab
  for /var to use it?
 
 
  #3
  Of note, as I understand (might not documented in man yet)
  if one or two of the three raid1 partitions making the volume fails,
  it will keep running but cannot be rebuilt...
  To 'rebuild' means dumping the volume, in this case /var with
  say 'dump' may be best over pax/tar and then making
  anew a softraid and restoring the dump.
 
  But what happens if the computer reboots with say the third
  drive missing the power cable? and it runs for a day or so,
  then tech reboots with molex plug put back it? does the
  softraid catch the third drive up?  This is something
  I guess I could test myself, just asking.
 
 
  tia.



Re: softraid 1 with a failed device

2009-03-06 Thread Nick Nauwelaerts
On Fri, 6 Mar 2009 11:07:06 -0500
Ted Unangst ted.unan...@gmail.com wrote:

 On Fri, Mar 6, 2009 at 10:14 AM, Alexander Hall alexan...@beard.se
 wrote:
  Would the ffs partition end at the end of the raid partition, i.e.
  would it be ($raidsize-64) blocks?
 
 Technically yes, you should trim it down, though only matters so far
 as you shouldn't have overlapping partitions. The file system size is
 recorded in the superblock so it won't start writing past where it
 should.

I did indeed miss the part where I needed to adjust the disklabel
location. I'll give that a go or perhaps Marco might have partial
bringup complete in a few days.

// nick



Re: softraid 1 with a failed device

2009-03-03 Thread Nick Nauwelaerts
On Mon, 02 Mar 2009 15:39:43 -0600
Aaron Poffenberger a...@hypernote.com wrote:

 You can't rebuild a softraid(4) right now (manually or
 automatically). You have to recreate it. The process is to make a new
 softraid and restore(8) the data from a recent dump(8).
 
 If you don't have a dump you can create the original device with the 
 remaining disk(s) by forcing it:
 
 # bioctl -C force -c 1 -l /dev/sd1d softraid0
 
 Then you can dump, recreate and restore the device.
 
 I do believe there is work being done to add manual and maybe later
 auto rebuild. For now this is the process as I understand it.

It seems that one slipped through the cracks, regretfully I did try it
before and it did not work. Tried it again just to be sure:

# bioctl -C force -c 1 -l /dev/sd1d softraid0
bioctl: not enough disks

Any clues? I'm looking for a way to use it with just one disk while the
other gets replaced.

// nick



softraid 1 with a failed device

2009-03-02 Thread Nick Nauwelaerts
Hello,
I was wondering how one can recover from a softraid in raid1 with a
failed device. Recover being: just run on 1 leg until I can find a
replacement disk. The error on reboot I'm faced with after loosing one
disk is the following:

softraid0: not assembling partial disk that used to be volume 0

I see references to this on the mailing list in November 2007 and was
wondering if a partial bringup of a raid 1 array was already possible.
All my attempts resulted either in bioctl complaining it did not have
enough disks:

# bioctl -c 1 -l /dev/sd1d softraid0
bioctl: not enough disks

Or an invalid argument (sd1e used to be the second raid1 slice):
# bioctl -c 1 -l /dev/sd1d,/dev/sd1e softraid0
bioctl: BIOCCREATERAID: Invalid argument

This is a test setup to see how I can rebuild raid1 arrays; that's why
both slices are on the same disk.

On a related note: do raid1 arrays ever go dirty? All tests I did thus
far failed to get them in a state where the metadata was corrupt. Does
that get rebuilt upon reboot after an unclean shutdown? I failed to
find anything in the manpage or my dmesg regarding that.

Thanks

// nick


OpenBSD 4.5-beta (GENERIC) #2011: Mon Feb  9 13:01:20 MST 2009
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146369536 (2046MB)
avail mem = 2072330240 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 07/22/2008
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices USB_(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Quad-Core AMD Opteron(tm) Processor 8356, 2310.78 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 113 detected and fixed
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 65MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR00, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: apic 2 int 17 
(irq 9)
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
sd0: 6144MB, 512 bytes/sec, 12582912 sec total
sd1 at scsibus1 targ 1 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
sd1: 51200MB, 512 bytes/sec, 104857600 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
em0 at pci0 dev 17 function 0 Intel PRO/1000MT (82545EM) rev 0x01: apic 2 int 
18 (irq 11), address 00:50:56:b9:38:55
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
softraid0: not assembling partial disk that used to be volume 0
root on sd0a swap on sd0b dump on sd0b
(kbd slot)



Re: fps between 10/28 and 11/2 snapshots

2008-11-06 Thread Nick Nauwelaerts
On Wed, 5 Nov 2008 14:37:06 -0600
Neal Hogan [EMAIL PROTECTED] wrote:

 I've been running -current via snapshots and have had odd glxgears
 output between the 10/28 snap and 11/02 snap. Back on the 10/02
 version I was getting 1000-1300 fps. On the 11/02 version I get
 100-130 fps. It's not a huge deal for me at this point since I'm not
 too much of a gamer and have no need to watch movies on  my laptop. I
 just found it odd and thought you'd like to know . . . on behalf of
 those who possess the above interests.

While I have noticed the following on undeadly but must have missed it
on the mailing lists:

Mesa 7.2 defaults to sync-to-vblank for intel chips in an attempt to
avoid tearing in the display. In this mode, OpenGL drawing is
synchronised to the refresh rate of your monitor and thus is capped at
that rate. If for some reason this bothers you, you may circumvent this
by either setting 'vblank_mode=0' in your environment or use driconf
(in ports) to configure this option.

Might be relevant.

http://undeadly.org/cgi?action=articlesid=20081104235706mode=expandedcount=4

// nick



Re: Remote Admin Card - Dell DRAC or HP ILO2 ?

2008-02-23 Thread Nick Nauwelaerts
On Fri, 22 Feb 2008 11:36:58 -0500
Steve Shockley [EMAIL PROTECTED] wrote:

 Joe Warren-Meeks wrote:
  I thought you only needed the license if you used higher resolutions
  than a basic console. If you are just using text mode on the
  console, then they work excellently.
 
 ILO2 can't do KVM at all without the Advanced license, but I think
 ssh still works.  They also have a lesser license (ILO Select
 maybe?) that has a smaller set of features for less cost.

On most big DLs you need the advanced license for kvm  media, ssh 
serial are always included. For blades you get kvm  media for free.

// nick



Re: Remote Admin Card - Dell DRAC or HP ILO2 ?

2008-02-21 Thread Nick Nauwelaerts
On Thu, 21 Feb 2008 19:01:21 +0100
Xavier Millihs-Lacroix [EMAIL PROTECTED] wrote:

 Who wins in the OpenBSD world? DRAC (Dell Remote Admin Card) or iLo
 (HP's Integrated Lights Out) (or better ilo2) ?

 We're looking at new servers and are wondering if these are worth the
 cash, or which is the one to go for ?

 I see some problem with ILO2 on HP DL320 G5 (/G5p ?).

 We need to be able to do 'quite' everything remotely (from installing
 (virtual floppy / cd / dvd) to exploitation).

I don't really see how this is related to openbsd, but ilo2 wins hands
down to drac, but has a costly advanced license.
Installing openbsd through ilo2 virtual cd works just fine btw.

// nick



Re: need people to test this patch with acpi

2008-01-16 Thread Nick Nauwelaerts
On Wed, 16 Jan 2008 14:44:02 -0600
Marco Peereboom [EMAIL PROTECTED] wrote:

 Please test this on all acpi capable machines and send me a dmesg if
 you see this in the dmesg: store from field!!

Is this in any recent snapshots or source only?

And I have the same question for the tech@ email with subject:
Subject: [EMAIL PROTECTED]: Re: acpicpu needs wide testing]

thx

// nick



Re: Flash drives (was: Re: help needed with laptop hdd)

2007-09-20 Thread Nick Nauwelaerts
On Thu, 20 Sep 2007 21:20:49 +0200
Maurice Janssen [EMAIL PROTECTED] wrote:

 On Thursday, September 20, 2007 at 19:02:23 +, Christian
 Weisgerber wrote:
 I need to look at the options for fitting a compact flash as an ATA
 drive into a normal PC.
 
 There are lot's of adapters.  Some examples can be found here:
 http://www.pcengines.ch/cflash.htm

I have 2 of those CFDISK.5H ones, works like a champ

wd0 at pciide0 channel 0 drive 0: CF Card
wd0: 1-sector PIO, LBA, 983MB, 2014992 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2

wd0 at pciide1 channel 0 drive 0: Corsair 40x CompactFlash v1.1
wd0: 1-sector PIO, LBA, 249MB, 510976 sectors
wd0(pciide1:0:0): using PIO mode 4

// nick



nfs data corruption

2007-04-25 Thread Nick Nauwelaerts
Heya,
It seems I'm experiencing some data corruption on nfs when -w or -r
aren't powers of 2.

I have a local file with these settings:
% md5 sunclock.diff
MD5 (sunclock.diff) = 9f002849da08cd6ab76032a8cf2726e1

now, if I export the filesystem (nfsd -tu -n 4) it's on I get data
corruption when I try to use a readsize or writesize that's not a power
of 2:

% mount_nfs -3 -T spectre:/home /mnt
% md5 /mnt/inphobia/sunclock.diff
MD5 (/mnt/inphobia/sunclock.diff) = 9f002849da08cd6ab76032a8cf2726e1
% umount /mnt
 
% mount_nfs -3 -T -r 32768 -w 32768 spectre:/home /mnt
% md5 /mnt/inphobia/sunclock.diff
MD5 (/mnt/inphobia/sunclock.diff) = 9f002849da08cd6ab76032a8cf2726e1
% umount /mnt
 
% mount_nfs -3 -T -r 32000 -w 32000 spectre:/home /mnt
% md5 /mnt/inphobia/sunclock.diff
MD5 (/mnt/inphobia/sunclock.diff) = d9bfc86665d9619e19c2a317f12b0c09
% umount /mnt
 
% mount_nfs -3 -U -r 32000 -w 32000 spectre:/home /mnt
% md5 /mnt/inphobia/sunclock.diff
MD5 (/mnt/inphobia/sunclock.diff) = d9bfc86665d9619e19c2a317f12b0c09
% umount /mnt

The nfs client is i386 -current, the server is i386 4.0 stable.

Yes, the manual page says I should use a power of 2 greater than
or equal to 1024, but perhaps it could warn that if I don't my data
will get corrupted? Or perhaps have mount_nfs refuse mounts with an
incorrect read/writesize - sane defaults?

And the background of this:
I was lazy and just wanted to do a mount -r 32k -w 32k, but since that
is refused I was lazy again and just mounted with -r 32000 -w 32000,
which makes the actual mount show up as:
spectre:/home on /mnt type nfs (v3, udp, wsize=31744, rsize=31744,
rdirsize=31744, timeo=100)

Ohw, and it's not just md5 that fails. While the contents of text files
look sane, I actually stumbled upon this while trying to recode a flac
file to an mp3. Mounting with wrong readsizes caused flac to spew out
errors, after remounting with correct sizes it worked fine.

// nick



Re: OpenBSD speed on desktops

2007-02-18 Thread Nick Nauwelaerts
On Sat, 17 Feb 2007 22:06:43 +0100
Joachim Schipper [EMAIL PROTECTED] wrote:

Since prebind has already been explained in detail, I want to add that
does indeed work, but if you use it on your ports it will invalidate
all of the hashes used by pkg_add  (which is most likely one of the
issues theo mentioned). With prebinding my firefox starts in 4 seconds
or so, half of what it needs without prebinding.

 Another aspect is that Linux is much more aggressive in caching data
 from disk; if the amount of data read, the amount of work done in
 between, and the amount of RAM is such that Linux can get most data
 from its memory cache while OpenBSD has to read most of it from disk,
 Linux will be a *lot* faster. Of course, you would only see this
 effect if you started Firefox twice without doing much in between.

We're all hoping for UBC to come back in a working form, but hopefully
some are doing the actual work :)
If your box has memory to spare it will infact load firefox a lot
faster the second time, if it still has the libraries cached in memory.
A fixed size of memory is reserved for filesystem caching. What linux
does (and UBC) is remove this fixed limit and let you use all your
memory for buffer cache when it's not mapped to another application.

 Both of those could explain why FF loads slower. If either of those is
 the big culprit, though, FF should run just as fast (slow) as it ever
 did, and since you're not likely to start it that often, I'd be
 inclined to say it isn't that big an issue.

On last thing that might add to openbsd's startup overhead is the
aggresive security stance. I don't know if library randomization has
anything to do with it, but w^x  propolice have been stated to give a
5% to 10% performance impact in certain cases. I've noticed this mostly
in applications that map  unmap a lot of memory.

I'm using openbsd on my systems, desktops  laptops included, since
release 2.7. It might not be equal to a current linux kernel
performance wise, but it's not lagging that much behind. I'll take the
cleanness, easy of use  stability any day over a 10% performance
difference. And that's not even going into the free code debate, it's
hard to get more free than openbsd.

// nick



Re: OpenBSD speed on desktops

2007-02-18 Thread Nick Nauwelaerts
On Sun, 18 Feb 2007 10:03:37 -0700
Theo de Raadt [EMAIL PROTECTED] wrote:

 Oh really, it has been stated.  By who?  Overall, I doubt that all
 of our security technologies add more than about 2% of a performance
 hit.  Even a 'make build' on most architectures did not add that.  I
 think you need to go back and read my slides again.  Spreading lies
 about 5-10% performance hits is just not kind to our efforts.

I've reread the slides again. I stand corrected when it comes to w^x 
propolice, but I'm still not in the clear when it comes to randomized
malloc  mmap. The slides from bsdcan 2004 state: still failry
expensive, the slides from opencon 2005 no longer mention anything
about performance.

// nick



Re: apmd -f /dev/acpi?

2007-02-04 Thread Nick Nauwelaerts
On Sun, 4 Feb 2007 19:50:26 +0100
Pau Amaro-Seoane [EMAIL PROTECTED] wrote:

 I just downloaded cd40.iso from
 ftp://ftp.openbsd.org/pub/OpenBSD/snapshots and installed openbsd on
 my laptop because I thought the kernel would be -current but when
 booting I tried bsd -c and then UKC enable acpi but nothing
 happened, so that I went to the site and downloaded bsd and bsd.mp,
 copied them to / with the names bsd.acpi and bsd.mp.acpi
 
 Then I rebooted (bsd.acpi -c and/or bsd.mp.acpi -c) and UKC said 385
 acpi0 enabled and everything was looking fine (apart from the
 problem that I didn't get any dhcp offer?).

With problems like these a dmesg will make people be more interested in
your problem. Without that advice is most likely a best guess.

// nick



Re: reduce power consump. laptop

2007-02-03 Thread Nick Nauwelaerts
On Sat, 3 Feb 2007 19:49:17 - (UTC)
[EMAIL PROTECTED] wrote:

 apm is not supported on my laptop and this means I cannot suspend
 etc. But I would like to know which things could be switched off or
 lowered, so that I can write a script and for instance I can go away
 from my laptop for half an hour or one hour and I don't have to turn
 it off totally and at the same time save battery.
 
 Say... something like lowering the cpu speed (though I am not sure I
 can do that if apm is not supported), blank screen and stop/reduce all
 cpu-hungry processes. Of course, the best would be to find a way to
 automatically launch the script when I close the lid of the laptop and
 then vice-versa; i.e. a script that wakes up everything back...

What openbsd version are you running? On 4.0 almost none of the
features of my laptop were supported, but on -current I'm hard pressed
to find anything that doesn't. I've got apm support and est is working
too.

// nick



Re: reduce power consump. laptop

2007-02-03 Thread Nick Nauwelaerts
On Sat, 3 Feb 2007 21:16:03 - (UTC)
[EMAIL PROTECTED] wrote:

 I am using OpenBSD 4.0 as it was released some four months ago.
 
 Nice to hear what you're saying but I don't really understand
 something. From your words I've got the feeling that you say: before
 my laptop could not work with apm and now yes.
 I thought apm is a thing that is inherent to the laptop and not to
 the OS. Could you or somebody else shed a bit of light on this? Is
 there any hope that my laptop will have apm support in obsd 4.1 if it
 hasn't now?

Newer laptops forgo legacy apm controls and rely an acpi for power
management instead. In -current (after 4.0 was released) a massive
amount of acpi code was imported which makes apm work through the acpi
system calls.
Chances are that your laptop will have much better apm support in
openbsd 4.1 than it has right now. However, to be sure of that now is
the time to help the devs test this new code. If you feel up to it you
can always install a snapshot and see how this new code works for you.

Should you give it a go, then don't forget to start your apmd with
-f /dev/acpi.

Good luck.

// nick



Re: i just have to share this with you guys...

2006-04-19 Thread Nick Nauwelaerts
On Wed, 19 Apr 2006 11:00:59 -0700 (PDT)
Joe Advisor [EMAIL PROTECTED] wrote:


 CPU0 states:  0.6% user,  0.0% nice,  3.0% system, 
 0.0% interrupt, 96.4% idle
 CPU1 states:  0.2% user,  0.0% nice,  1.2% system, 
 0.0% interrupt, 98.6% idle
 CPU2 states:  0.2% user,  0.0% nice,  1.0% system, 
 0.0% interrupt, 98.8% idle
 CPU3 states:  0.0% user,  0.0% nice,  2.4% system, 
 0.0% interrupt, 97.6% idle
 CPU4 states:  0.0% user,  0.0% nice,  0.0% system, 
 0.0% interrupt,  100% idle
 CPU5 states:  0.0% user,  0.0% nice,  0.6% system, 
 0.0% interrupt, 99.4% idle
 CPU6 states:  0.4% user,  0.0% nice,  0.2% system, 
 0.0% interrupt, 99.4% idle
 CPU7 states:  0.0% user,  0.0% nice,  0.0% system, 
 0.0% interrupt,  100% idle
 Memory: Real: 130M/640M act/tot  Free: 3290M  Swap:
 0K/512M used/tot

Nice, my 4 socket dual core opteron (hp bl45p) panics whenever I try to
scp something to it. And because it doesn't have much in video hardware
save java-web based stuff I can't even get a decent trace out of it.

// nick



Re: RAIDframe stability and reliability

2006-01-30 Thread Nick Nauwelaerts
On Sun, 29 Jan 2006 15:30:10 -0700
David Wilk [EMAIL PROTECTED] wrote:

 I know RAIDframe is not in GENERIC, but I was wondering if anyone
 could speak to the stability and reliability of RAIDframe in 3.8.  I
 find myself really wanting to use software RAID 1 and haven't had any
 problems in testing thus far.
 
 Any experiences would be good to hear.

It has been good for me thus far, but you'll need a patched kernel (just
cvs update the patch branch and rebuild). Running raid 0/1/5, on 5
disks. First part of the disk is either raid 0 (/tmp) or raid 1 (/var),
the rest is a raid 5 (/home).

// nick



Re: OT: event driven processing

2006-01-09 Thread Nick Nauwelaerts
On Mon, 09 Jan 2006 18:44:53 +1100
Damien Miller [EMAIL PROTECTED] wrote:

  i am in need to write event driven processing applications. I must
  avoid sequential processing. I will be mixing RPC queries and dns
  ones.
  
  I saw, at the first sigh, writing non batch program is very hard to
  accomplish. So i wonder how openbsd manages when there are n
  process, for instance, waiting on a file descriptor for
  readability/writeabilitiy simultaneously? How does it notify the
  readable/writeable status to each of the process doing poll/select?
 
 You could start by reading the poll(2) and select(2) manpages. This is
 pretty basic stuff.
 
 Alternately you could use libevent, see event(3).

Or if it doesn't have to be in C, you can use something like twisted for
python or poe for perl.

// nick



Re: IBM xSeries 336 - atapiscsi/pciide bug

2005-11-03 Thread Nick Nauwelaerts
On Thu, 03 Nov 2005 16:22:53 +1300
Stephen Nelson [EMAIL PROTECTED] wrote:

 Thanks for your prompt reply. I misunderstood you last time, I thought
 you were suggesting that one of the drives was defective.
 I tried swapping the CDROM, but the x336 are 1U rackmounted servers,
 and they use custom IDE cables. As I don't have access to any other
 IBM rackmounted servers, I don't have any other devices to swap in. I
 could order another drive from IBM, but as I know this problem exists
 for others I think it's unlikely that this is the source and I don't
 think that it's worth the cost.

It's been a while since I last opened up one of our x336's (don't like
them, x335s are much more stable in my experience), I thought they had a
standard IDE port somewhere on the motherboard next to the PSU. Perhaps
you can give that one a shot.

// nick



Re: Intel 6300ESB SATA

2005-10-24 Thread Nick Nauwelaerts
On Mon, 24 Oct 2005 10:25:07 -0600
Sibastien Taylor [EMAIL PROTECTED] wrote:

 I do have one question about the following lines though:
 
 dkcsum: wd0 matches BIOS drive 0x80
 wd1: no disk label
 dkcsum: wd1 matches BIOS drive 0x81
 dkcsum: wd1 matches BIOS drive 0x82 IGNORED
 wd2: no disk label
 dkcsum: wd2 matches BIOS drive 0x81 IGNORED
 dkcsum: wd2 matches BIOS drive 0x82
 root on wd0a

I was those as well when I added 4 new drives to my system. I my case
the drives were brand new and had no data on them, after I fdisk'ed 
disklabel'ed them the warning  was gone. So I guess it's related to some
kind of checksum in the MBR or the partition table or something.
I figure if you dd the the first few sectors from one raw hdd device to
another you might get this as well, not sure though.

 They do seem to work right now, but should this be a cause for
 concern? Might wd1 come up as wd2 and vice versa under some
 conditions?

Not if you don't touch anything. Changing kernel parameters with either
config or on the boot prompt might result in that. Moving the drives to
different channels or adding/removing drives can cause them to move as
well. If you really don't want that you can hardcode wd* drives to
pciide* locations.

// nick



Re: Large partition

2005-10-24 Thread Nick Nauwelaerts
On Mon, 24 Oct 2005 11:42:45 +0200 (CEST)
Beck Zoltan Gyula [EMAIL PROTECTED] wrote:

   I would like to ask if it is possible to use a large, more than 2T
 diskarray or CCD?
   In FAQ: 14.7 - What are the issues regarding large
 drives with OpenBSD?
 
 OpenBSD supports an individual file system of up to 231-1, or
 2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
 amount less than 1T.

I might be wrong, it's been a while. But if I'm not mistaken I did
successfully mount a 5TB partition over nfs from a netapp unit. If
that's the storage you require, you might be more interested in those
units (with an added bonus that they come up in less than a minute after
an unclean shutdown).

And if you really want the maximum size for partitions on OpenBSD (just
under 1TB), then don't forget to read up on fsck memory usage.

// nick



can't get raidframe device to work

2005-10-18 Thread Nick Nauwelaerts
Hello,
I'm having some issues getting raidframe to work for me. I've got 6
harddisks in my machine, of which I use 4 for raid: wd2 - wd5. On each
harddisk I've set up 1 partition with fdisk, and the created 2
diskslices with disklabel, both which have type RAID. Then I've set up
device raid0, which is a raid0 of wd2d  wd3d, and is set up for
autoconfigure. After that I've set up device raid1, which is a raid1 of
wd4d  wd5d, also set to autoconfigure. Both these raid device work fine
and start at boot.

With the remaining diskspace on those drives I set up a slice 'e',
bundled together in a raid5 without autoconfigure. Configuring, adding a
serial and writing parity all goes fine. Adding a disklabel as per
raidctl(8) isn't an issue either, but when I try to newfs the filesystem
I get:
newfs: /dev/rraid2a: Device not configured

Any clues as to why? The other raid partitions were created in the same
way, but have autoconfigure on. I've already tried recreating the device
nodes with MAKEDEV raid2, but that didn't do any good.

I've got a 3.8 i386 kernel build from source (on another host, this was
a binary upgrade) with:
options RAID_AUTOCONFIG
pseudo-device   raid4

the rest is generic.

Thanks.

// nick



disklabel, fdisk (layout is identical for all 4 disks), raid2.conf 
dmesg follow:

disklabel wd2
# Inside MBR partition 0: type A6 start 63 size 488392002
# /dev/rwd2c:
type: ESDI
disk: ESDI/IDE disk
label: ST3250823AS 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 488397168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 


fdisk wd2
16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
  c: 488397168 0  unused  0 0  # Cyl 0
-484520 
  d:   209758563RAID   # Cyl 0*-
 2080 
  e:   4194288   2097648RAID   # Cyl  2081 -
 6241 

Disk: wd2   geometry: 30401/255/63 [488392065 Sectors]
Offset: 0   Signature: 0x0
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: A60   1  1 - 30400 254 63 [  63:   488392002 ] OpenBSD  
  
 1: 000   0  0 -0   0  0 [   0:   0 ] unused
 
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
 
 3: 000   0  0 -0   0  0 [   0:   0 ] unused

/etc/raid2.conf 
START array
# numRow numCol numSpare
1 4 0

START disks
/dev/wd2e
/dev/wd3e
/dev/wd4e
/dev/wd5e

START layout
# sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_5
64 1 1 5

START queue
fifo 100


disklabel raid2
# /dev/rraid2c:
type: RAID
disk: raid
label: fictitious
flags:
bytes/sector: 512
sectors/track: 192
tracks/cylinder: 16
sectors/cylinder: 3072
cylinders: 474896
total sectors: 1458883008
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
  a:   2097472 0  unused   2048 16384  # Cyl 0 -
  682*
  c:   2097472 0  unused  0 0  # Cyl 0 -
  682*

dmesg
penBSD 3.8 (SPECTRE) #0: Sun Oct 16 17:13:48 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/SPECTRE
cpu0: AMD Duron(tm) Processor (AuthenticAMD 686-class, 64KB L2 cache)
896 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,
FXSR
real mem  = 536453120 (523880K)
avail mem = 482168832 (470868K)
using 4278 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/29/02, BIOS32 rev. 0 @
0xfdae0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, no battery
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7950/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 (SIS 85C503 System rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x2400 0xca800/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 SIS 735 PCI rev 0x01
ppb0 at pci0 dev 1 function 0 SIS 86C201 AGP rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 2 function 0 SIS 85C503 System rev 0x00
ohci0 at pci0 dev 2 function 2 SIS 5597/5598 USB rev 0x07: irq 5,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 3 SIS 5597/5598 USB rev 0x07: irq 10,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1

Re: can't get raidframe device to work

2005-10-18 Thread Nick Nauwelaerts
On Tue, 18 Oct 2005 20:39:50 +0200 (CEST)
Otto Moerbeek [EMAIL PROTECTED] wrote:

 
 On Tue, 18 Oct 2005, Nick Nauwelaerts wrote:
 
  newfs: /dev/rraid2a: Device not configured
 
 [snip] 
 
  16 partitions:
  # sizeoffset  fstype [fsize bsize  cpg]
a:   2097472 0  unused   2048 16384  # Cyl
0 - 682*
c:   2097472 0  unused  0 0  # Cyl
0 - 682*
 
 The type of your a partition is unused. Should be 4.2BSD.
 
 Run diskabel raid2, use the c command to change the type.

Jeez, how could I've missed that. Back to bigger partitions now.

Thanks!

// nick



Re: phonecall with Promise

2005-08-29 Thread Nick Nauwelaerts
On Mon, 29 Aug 2005 10:09:01 -0700
Bryan Irvine [EMAIL PROTECTED] wrote:

 My first question is this, is everyone at Promise incompetent?  
 
 My second question is, does anyone know what card I can use with SATA
 150 drives?

I've got a 4 port Silicon Image 3114 card coming, which should be
supported. And at 64euro it's cheap as well. Newer intel  nvidia
motherboards come with 4 integrated and supported ports as well and
plenty of southbridge bandwidth to boost, but those aren't add-ins
ofcourse.

http://www.dawicontrol.de/english/html/raid154.htm

// nick



-current with ath and 802.11g

2005-08-23 Thread Nick Nauwelaerts
Hello,
I'm having some issues connecting to 802.11g wireless networks with a
somewhat recent snapshot. I've got a linksys WAP54G access point v2,
running firmware release 2.08. With the access point completely open
(ssid broadcast, no mac filters), OpenBSD will only connect to it in
802.11b mode. When I place the access point in 802.11g only mode or
ifconfig my ath with mode 802.11g I get no network. After searching a
bit I've seen others who have the same problem, but I didn't find a
dmesg to find out on what hardware or release they were running.
Issues that might be related is that I'm seeing a lot of HAL resets when
I run kismet. In 3.7 release I didn't get 802.11b to work either, but
that seems to have been worked out.

Any clues on this?

// nick



Here's the ifconfig  dmesg:
ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu
1500
lladdr 00:0d:54:98:d9:70
groups: egress 
media: IEEE802.11 autoselect (DS11 mode 11b)
status: active
ieee80211: nwid whynot chan 11 bssid 00:0f:66:11:09:39 
inet 192.168.240.3 netmask 0xfff8 broadcast 192.168.240.7
inet6 fe80::20d:54ff:fe98:d970%ath0 prefixlen 64 scopeid 0x5


OpenBSD 3.7-current (GENERIC) #0: Sat Aug  6 12:48:03 CEST 2005
[EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 699 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,
FXSR,SSE
real mem  = 133709824 (130576K)
avail mem = 115425280 (112720K)
using 1657 buffers containing 6787072 bytes (6628K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/02/02, BIOS32 rev. 0 @
0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, charging, estimated 7:58 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbc20/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE
rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82815 Hub rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82815 AGP rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Rage 128 Mobility MF rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x03
pci2 at ppb1 bus 2
esa0 at pci2 dev 3 function 0 ESS Maestro 3 rev 0x10: irq 5
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at esa0
cbb0 at pci2 dev 15 function 0 Texas Instruments PCI4451 CardBus rev
0x00: irq 10
cbb1 at pci2 dev 15 function 1 Texas Instruments PCI4451 CardBus rev
0x00: irq 10
Texas Instruments PCI4451 FireWire rev 0x00 at pci2 dev 15 function 2
not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801BAM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801BAM IDE rev 0x03: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: IBM-DJSA-210
wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 3.7C SCSI0 5/cdrom
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x03: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask efcd netmask efcd ttymask ffcf
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ath0 at cardbus0 dev 0 function 0 3Com Corp., 3CRPAG175 Wireless LAN PC
Card, : irq 10
ath0: AR5212 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR0W, address
00:0d:54:98:d9:70
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.00, addr 2, iclass
3/1
ums0 at uhidev0: 4 buttons and Z