asus m2npv-vm dmesg?

2006-12-01 Thread b h
Hi all

Anyone have any experience/info (best being a dmesg) with current support ASUS 
M2NPV-VM motherboard?  quick search on marc didn't reveal any hits.

for your convenience here is a link to the asus page 
http://usa.asus.com/products4.aspx?l1=3l2=101l3=296model=1138modelmenu=1

thanks a lot
b





 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com



Re: ar5212 wireless in a soekris 4801 debug question

2006-02-22 Thread b h
--- Johan Torin [EMAIL PROTECTED] wrote:

 On Wednesday 22 February 2006 03:07, b h wrote:
  Hi
 
  I have a (slightly older, but still snazzy)
 generic
  acting as my gateway - see dmesg at bottom
 
  my laptop internal wired NIC was acting funny, so
 I
  thought I'd try wireless to network through my
 net4801
  gateway.  Never using my wireless card before on
 the
  soekris (sat in the machine dormant for a year
 never
  configured), I thought I'd finally try out the
  excellent wireless support in OpenBSD.
 
  Following the man page, I have
 
  # cat /etc/hostname.ath0
  inet 10.0.1.1 255.255.255.0 NONE media autoselect
  mediaopt hostap nwid my_net chan 11
 [...]
 
 Yes, this is a gotcha the man-page doesn't mention.
 The ath driver is only capable of using 11b, so add
 'mode 11b' to your hostname.ath/ifconfig line and it
 should work.
 
 /Johan
 

Thank you, that seemed to work for connecting at b. 
Although you kind of mentioned it, I'd like to
increase support for the fact that someone with more
diff/man page skills than me *should really update
that*.  It is very misleading (and disappointing) - as
the manpage is seems very clear in describing support
for all three of a/b/g for 5212.  Or mention it in the
bugs section.  If it's relevant, the distributor of my
minipci card was netgate.

I know I'm running an older system, but I tried
looking through cvsweb, and I didn't think I saw any
driver changes since my system was installed, but
apologies if its been fixed since.

Also, don't know whether I can support it, but just
curious what would it require to fix this?  Reyk must
already have a card with the chipset since it works a
little bit right?

thanks
b
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



ar5212 wireless in a soekris 4801 debug question

2006-02-21 Thread b h
Hi

I have a (slightly older, but still snazzy) generic
acting as my gateway - see dmesg at bottom 

my laptop internal wired NIC was acting funny, so I
thought I'd try wireless to network through my net4801
gateway.  Never using my wireless card before on the
soekris (sat in the machine dormant for a year never
configured), I thought I'd finally try out the
excellent wireless support in OpenBSD.

Following the man page, I have

# cat /etc/hostname.ath0
inet 10.0.1.1 255.255.255.0 NONE media autoselect
mediaopt hostap nwid my_net chan 11

Rebooted...
I think it looks okay:

# ifconfig -a
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
33224
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
sis0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
lladdr 00:00:24:c2:41:3c
groups: egress
media: Ethernet autoselect (10baseT)
status: active
inet6 fe80::200:24ff:fec2:413c%sis0 prefixlen
64 scopeid 0x1
inet my.cable.ip.here netmask 0xf000
broadcast 255.255.255.255
sis1:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
lladdr 00:00:24:c2:41:3d
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
inet 10.0.0.1 netmask 0xff00 broadcast
10.0.0.255
inet6 fe80::200:24ff:fec2:413d%sis1 prefixlen
64 scopeid 0x2
sis2: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
lladdr 00:00:24:c2:41:3e
media: Ethernet autoselect (none)
status: no carrier
ath0:
flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:02:6f:20:f5:99
media: IEEE802.11 autoselect hostap
(autoselect mode 11a hostap)
status: active
ieee80211: nwid my_net chan 11 bssid
00:02:6f:20:f5:99
inet 10.0.1.1 netmask 0xff00 broadcast
10.0.1.255
inet6 fe80::202:6fff:fe20:f599%ath0 prefixlen
64 scopeid 0x4
pflog0: flags=141UP,RUNNING,PROMISC mtu 33224
pfsync0: flags=0 mtu 1348
enc0: flags=0 mtu 1536


and I had also changed my pf.conf to add the new
interface as seen here:

# cat /etc/pf.conf
#   $OpenBSD: pf.conf,v 1.28 2004/04/29 21:03:09
frantzen Exp $
#
# See pf.conf(5) and /usr/share/pf for syntax and
examples.
# Remember to set net.inet.ip.forwarding=1 and/or
net.inet6.ip6.forwarding=1
# in /etc/sysctl.conf if packets are to be forwarded
between interfaces.

ext_if=sis0
int_if=sis1
wireless_if=ath0

set block-policy return
set loginterface $ext_if
scrub in all

nat on $ext_if from !($ext_if) - ($ext_if:0)
rdr pass on $ext_if proto tcp to port 22 - 10.0.0.2
port 22
rdr pass on $ext_if proto tcp to port 23 - 10.0.0.2
port 80

block log all
block drop in quick log on $ext_if proto { tcp, udp }
from any os Linux to any port ssh
pass quick on { lo0 $int_if $wireless_if } all
pass out on $ext_if proto tcp all flags S/SA keep
state
pass out on $ext_if proto { udp, icmp } all keep state
#


Yet, my WinXP with Intel 2915a/b/g can't find it when
scanning for networks to connect to.

Following the manpage again, setting a WEP key, just
in case..

# ifconfig ath0 nwkey 0x1deadbeef1
# ifconfig -a
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
33224
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
sis0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
lladdr 00:00:24:c2:41:3c
groups: egress
media: Ethernet autoselect (10baseT)
status: active
inet6 fe80::200:24ff:fec2:413c%sis0 prefixlen
64 scopeid 0x1
inet my.cable.ip.here netmask 0xf000
broadcast 255.255.255.255
sis1:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
lladdr 00:00:24:c2:41:3d
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
inet 10.0.0.1 netmask 0xff00 broadcast
10.0.0.255
inet6 fe80::200:24ff:fec2:413d%sis1 prefixlen
64 scopeid 0x2
sis2: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:00:24:c2:41:3e
media: Ethernet autoselect (none)
status: no carrier
ath0:
flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:02:6f:20:f5:99
media: IEEE802.11 autoselect hostap
(autoselect mode 11a hostap)
status: active
ieee80211: nwid my_net chan 11 bssid
00:02:6f:20:f5:99 nwkey 0x1deadbeef1
inet 10.0.1.1 netmask 0xff00 broadcast
10.0.1.255
inet6 fe80::202:6fff:fe20:f599%ath0 prefixlen
64 scopeid 0x4
pflog0: flags=141UP,RUNNING,PROMISC mtu 33224
pfsync0: flags=0 mtu 1348
enc0: flags=0 mtu 1536
#

Still looks okay, yet, can't seem to find it (sitting
five feet away.)

I only have this one internal miniPCI 2915 to try
scanning it.

Did I miss a step?  or any recommendations on how to
debug this?  Any fancy trick I can try?

much thanks
b



dmesg:
===
OpenBSD 

Re: problem fsckin' a usb disk on boot

2006-01-05 Thread b h
--- b h [EMAIL PROTECTED] wrote:
 --- Tom Cosgrove
 [EMAIL PROTECTED]
 wrote:
 
   b h 31-Dec-05 04:05 
  :
   then, when I press RETURN and attempt to 
  
   # fsck_ffs /dev/rsd0a
   ** /dev/rsd0a
   cannot alloc 36537985 bytes for typemap
   #
  
   while dmesg also says I have:
  
   real mem  = 1072472064 (1047336K)
   avail mem = 972025756 (949244K)
  
  This message comes from setup() in
  /usr/src/sbin/fsck_ffs/setup.c,
  after it has performed a lot of other allocations.
  
  How big is the partition on this disk?  How full
 is
  it?  You probably
  do need to put more memory in the machine to fsck
  this disk.
  
  See FAQ 14.7
 
 (http://www.openbsd.org/faq/faq14.html#LargeDrive),
  under
  fsck(8) time and memory requirements.
  
  Thanks
  
  Tom
  
 
 Hi Tom,
 thanks for the reply.  I'm sorry I didn't attach
 disklabel.  It is one partition.  So it's advertised
 as a 300GB usb drive, the partition is roughly that
 size.  But I have 1GB of memory in the machine (and
 it
 looks like it's all being detected as described
 earlier in dmesg).  And I had read the time and
 memory
 requirements, and the rule of thumb is 1MB (of
 available) RAM for 1GB of disk, which I believe I
 have
 covered a few times over.  I made sure of this when
 I
 created the obscenely large partition a year ago. I
 do
 believe it is fairly full.  sd0a is the only
 partition
 that is not coming up clean as also described
 before. 
 I don't mind waiting for really long fsck times,
 therefore I thought I could get away with the large
 partitions.  Any other ideas/analysis?  thanks
 
 I'll type in a copy of my fstab
 /dev/wd0a / ffs rw 1 1
 /dev/wd0h /home ffs rw,nodev,nosuid 1 2
 /dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
 /dev/wd0g /usr ffs rw,nodev 1 2
 /dev/wd0e /var ffs rw,nodev,nosuid 1 2
 /dev/wd0i /data ffs rw,nodev,nosuid 1 2
 /dev/wd1a /mnt/data1 ffs rw,nodev,nosuid 1 2
 /dev/wd2a /mnt/data2 ffs rw,nodev,nosuid 1 2
 /dev/wd3a /mnt/data3 ffs rw,nodev,nosuid 1 2
 /dev/sd0a /mnt/data4 ffs rw,nodev,nosuid 1 2
 
 
 and the disklabel on sd0a says (pardon any typo
 mistakes pls)
 
 type: SCSI
 disk: SCSI disk
 label: OneTouch II
 flags:
 byles/sector: 512
 sectors/track: 32
 tracks/cylinder: 64
 sectors/cylinder: 2048
 cylinders: 286188
 total sectors: 586114704
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0  # microseconds
 track-to-track seek: 0 # microseconds
 drivedata: 0
 
 #size offset   fstype [fsize bsize cpg]
 a:  586112992 32   4.2BSD2048 16384 323 #
 Cyl 
  0*-286187
 c:  586114704  0   unused   0 0 #
 Cyl 
  0 -286188*
 


Hi,

I still haven't heard back anything on this problem I
was having.  I did end up reinstalling, to get the
complete OS loaded, then fsck'd it from there. 
However, I'd like to understand what I was doing
wrong, since I assume it was due to my probs.

I couldn't fsck the drive with it plugged in (see
original msg)
I couldn't boot the machine without the USB drive
plugged in, it still said file system was not clean.
I used ed (my skills in that are very limited), but I
managed to get noauto added to that filesystem to
see if I could get past it in booting.  No luck there
either
I used ed, and changed the 2 to a 1 for fsck
order, (since all the other filesystems on 2 are
also very large (even though they were all marked
clean).  This did not fix the problem, still, with a
1 for fsck order, it stopped with the same original
error.

So, the only way I got by it was reinstalling, which
makes me think there had to have been a better way,
likely something very small I was missing.

Anyone can help me out in case it happens again in the
future?
thanks
b
Just $16.99/mo. or less. 
dsl.yahoo.com 



Re: problem fsckin' a usb disk on boot

2006-01-05 Thread b h
--- b h [EMAIL PROTECTED] wrote:

 
 --- b h [EMAIL PROTECTED] wrote:
  --- Tom Cosgrove
  [EMAIL PROTECTED]
  wrote:
  
b h 31-Dec-05 04:05 
   :
then, when I press RETURN and attempt to 
   
# fsck_ffs /dev/rsd0a
** /dev/rsd0a
cannot alloc 36537985 bytes for typemap
#
   
while dmesg also says I have:
   
real mem  = 1072472064 (1047336K)
avail mem = 972025756 (949244K)
   
   This message comes from setup() in
   /usr/src/sbin/fsck_ffs/setup.c,
   after it has performed a lot of other
 allocations.
   
   How big is the partition on this disk?  How full
  is
   it?  You probably
   do need to put more memory in the machine to
 fsck
   this disk.
   
   See FAQ 14.7
  
 
 (http://www.openbsd.org/faq/faq14.html#LargeDrive),
   under
   fsck(8) time and memory requirements.
   
   Thanks
   
   Tom
   
  
  Hi Tom,
  thanks for the reply.  I'm sorry I didn't attach
  disklabel.  It is one partition.  So it's
 advertised
  as a 300GB usb drive, the partition is roughly
 that
  size.  But I have 1GB of memory in the machine
 (and
  it
  looks like it's all being detected as described
  earlier in dmesg).  And I had read the time and
  memory
  requirements, and the rule of thumb is 1MB (of
  available) RAM for 1GB of disk, which I believe I
  have
  covered a few times over.  I made sure of this
 when
  I
  created the obscenely large partition a year ago.
 I
  do
  believe it is fairly full.  sd0a is the only
  partition
  that is not coming up clean as also described
  before. 
  I don't mind waiting for really long fsck times,
  therefore I thought I could get away with the
 large
  partitions.  Any other ideas/analysis?  thanks
  
  I'll type in a copy of my fstab
  /dev/wd0a / ffs rw 1 1
  /dev/wd0h /home ffs rw,nodev,nosuid 1 2
  /dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
  /dev/wd0g /usr ffs rw,nodev 1 2
  /dev/wd0e /var ffs rw,nodev,nosuid 1 2
  /dev/wd0i /data ffs rw,nodev,nosuid 1 2
  /dev/wd1a /mnt/data1 ffs rw,nodev,nosuid 1 2
  /dev/wd2a /mnt/data2 ffs rw,nodev,nosuid 1 2
  /dev/wd3a /mnt/data3 ffs rw,nodev,nosuid 1 2
  /dev/sd0a /mnt/data4 ffs rw,nodev,nosuid 1 2
  
  
  and the disklabel on sd0a says (pardon any typo
  mistakes pls)
  
  type: SCSI
  disk: SCSI disk
  label: OneTouch II
  flags:
  byles/sector: 512
  sectors/track: 32
  tracks/cylinder: 64
  sectors/cylinder: 2048
  cylinders: 286188
  total sectors: 586114704
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0  # microseconds
  track-to-track seek: 0 # microseconds
  drivedata: 0
  
  #size offset   fstype [fsize bsize
 cpg]
  a:  586112992 32   4.2BSD2048 16384 323 #
  Cyl 
   0*-286187
  c:  586114704  0   unused   0 0 #
  Cyl 
   0 -286188*
  
 
 
 Hi,
 
 I still haven't heard back anything on this problem
 I
 was having.  I did end up reinstalling, to get the
 complete OS loaded, then fsck'd it from there. 
 However, I'd like to understand what I was doing
 wrong, since I assume it was due to my probs.
 
 I couldn't fsck the drive with it plugged in (see
 original msg)
 I couldn't boot the machine without the USB drive
 plugged in, it still said file system was not clean.
 I used ed (my skills in that are very limited), but
 I
 managed to get noauto added to that filesystem to
 see if I could get past it in booting.  No luck
 there
 either
 I used ed, and changed the 2 to a 1 for fsck
 order, (since all the other filesystems on 2 are
 also very large (even though they were all marked
 clean).  This did not fix the problem, still, with a
 1 for fsck order, it stopped with the same
 original
 error.
 
 So, the only way I got by it was reinstalling, which
 makes me think there had to have been a better way,
 likely something very small I was missing.
 
 Anyone can help me out in case it happens again in
 the
 future?
 thanks
 b
 


D'oh, now that I have a booted, working system, I
should have included this in the last email:

OpenBSD 3.8-current (GENERIC) #532: Fri Dec 30
20:57:40 MST 2005
   
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz
(GenuineIntel 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CN
XT-ID
real mem  = 1072472064 (1047336K)
avail mem = 971927552 (949148K)
using 4278 buffers containing 53727232 bytes (52468K)
of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 06/12/03,
BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf53d0/240
(13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel
82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xd000! 0xcd000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0

Re: problem fsckin' a usb disk on boot

2005-12-31 Thread b h
--- Tom Cosgrove [EMAIL PROTECTED]
wrote:

  b h 31-Dec-05 04:05 
 :
  then, when I press RETURN and attempt to 
 
  # fsck_ffs /dev/rsd0a
  ** /dev/rsd0a
  cannot alloc 36537985 bytes for typemap
  #
 
  while dmesg also says I have:
 
  real mem  = 1072472064 (1047336K)
  avail mem = 972025756 (949244K)
 
 This message comes from setup() in
 /usr/src/sbin/fsck_ffs/setup.c,
 after it has performed a lot of other allocations.
 
 How big is the partition on this disk?  How full is
 it?  You probably
 do need to put more memory in the machine to fsck
 this disk.
 
 See FAQ 14.7
 (http://www.openbsd.org/faq/faq14.html#LargeDrive),
 under
 fsck(8) time and memory requirements.
 
 Thanks
 
 Tom
 

Hi Tom,
thanks for the reply.  I'm sorry I didn't attach
disklabel.  It is one partition.  So it's advertised
as a 300GB usb drive, the partition is roughly that
size.  But I have 1GB of memory in the machine (and it
looks like it's all being detected as described
earlier in dmesg).  And I had read the time and memory
requirements, and the rule of thumb is 1MB (of
available) RAM for 1GB of disk, which I believe I have
covered a few times over.  I made sure of this when I
created the obscenely large partition a year ago. I do
believe it is fairly full.  sd0a is the only partition
that is not coming up clean as also described before. 
I don't mind waiting for really long fsck times,
therefore I thought I could get away with the large
partitions.  Any other ideas/analysis?  thanks

I'll type in a copy of my fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0h /home ffs rw,nodev,nosuid 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0g /usr ffs rw,nodev 1 2
/dev/wd0e /var ffs rw,nodev,nosuid 1 2
/dev/wd0i /data ffs rw,nodev,nosuid 1 2
/dev/wd1a /mnt/data1 ffs rw,nodev,nosuid 1 2
/dev/wd2a /mnt/data2 ffs rw,nodev,nosuid 1 2
/dev/wd3a /mnt/data3 ffs rw,nodev,nosuid 1 2
/dev/sd0a /mnt/data4 ffs rw,nodev,nosuid 1 2


and the disklabel on sd0a says (pardon any typo
mistakes pls)

type: SCSI
disk: SCSI disk
label: OneTouch II
flags:
byles/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 286188
total sectors: 586114704
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0  # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

#size offset   fstype [fsize bsize cpg]
a:  586112992 32   4.2BSD2048 16384 323 # Cyl 
 0*-286187
c:  586114704  0   unused   0 0 # Cyl 
 0 -286188*
Just $16.99/mo. or less. 
dsl.yahoo.com 



problem fsckin' a usb disk on boot

2005-12-30 Thread b h
Hi

I know I'm supposed to attach a full dmesg, but
hopefully I can get an answer with the limited amount
I am including.  Setting up a serial console is not
the easiest in this case  my server *quit* before
the holidays, and I just left it as is until today. 
Apparently my usb hard disk is acting up.

on boot:

umass0 at uhub4 port 4 configuration 1 interface 0
umass0: Maxtor OneTouch II, rev 2.00/2.03, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: Maxtor, OneTouch II,
023g SCSI4 0/direct fixed
sd0: 286188MB, 286188 cyl, 64 head, 32 sec, 512
bytes/sec, 586114704 sec total
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
dkcsum: wd3 matches BIOS drive 0x83
dkcsum: sd0 matches BIOS drive 0x84
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Automatic boot in progress: starting file system
checks.
/dev/rwd0a: file system is clean; not checking
/dev/rwd2a: file system is clean; not checking
/dev/rwd3a: file system is clean; not checking
/dev/rwd0h: file system is clean; not checking
/dev/rwd1a: file system is clean; not checking
/dev/rwd0d: file system is clean; not checking
/dev/rwd0g: file system is clean; not checking
/dev/rwd0e: file system is clean; not checking
/dev/rwd0i: file system is clean; not checking
sd0(umass0:1:0): Check Condition (error 0x70) on
opcode 0x28
SENSE KEY: Illegal Request
 ASC/ASCQ: Illegal Field in CDB
CANNOT READ: BLK 1654016
/dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs
MANUALLY.
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED
INCONISISTENCY:
ffs: /dev/rsd0a (/mnt/share)
Automatic file system check failed; help!
Enter pathname of shell or RETURN for sh:


then, when I press RETURN and attempt to 

# fsck_ffs /dev/rsd0a
** /dev/rsd0a
cannot alloc 36537985 bytes for typemap
#

while dmesg also says I have:

real mem  = 1072472064 (1047336K)
avail mem = 972025756 (949244K)


I'm running a current compiled from src from back
Nov 25.  No hardware or software changed prompting it
to quit, I'd just prefer to get it to complete booting
without losing information on that drive if possible. 
Rebooting, and power cycling the USB drive doesn't
seem to help, still stops at same place, and still
same error when attempting to do manual fsck as
described above.  Am I running fsck incorrectly?  I
read the man page and I can't seem to see anything I'm
doing wrong...

Any help much appreciated.  sorry if it's a simple
one!
thanks
b
Just $16.99/mo. or less. 
dsl.yahoo.com 



uh oh, accidently deleted /usr/bin

2005-11-13 Thread b h
Hi
Okay, I feel really stupid, but that's beside the
point.  I need to be able to recover this machine. 
It's running current built from src as of November 7.

I was brilliantly removing my src directory with a rm
-rf * to get a completely fresh tree, when I realized
I was a directory too high, running that command from
/usr  after immediately stopping it, I noticed the
bin directory gone (and I figure there is some missing
from the dest directory too -- this is all presuming
that rm -rf goes alphabetically)...

what is my best bet here?  The system is still up and
running.  I presume it is to get some of the install
sets and unpack them -- I would rather *not* like to
do a reinstall.  Which install sets do I need
(presuming from the most recent snapshot, following
instructions from 4.10 of FAQ).  I figure I need 

comp38.tgz
base38.tgz
misc38.tgz

Maybe I don't need all three of these?  Anything else
or other gotchas I should look out for?  Can I safely
reboot after untarring the above?  Then after that I
presume I can safely build from a newly checked out
src again (being more careful)?

much thanks
b



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



[mostly OT] why is a netgear wgu624 router so much slower than a soekris net4801

2005-08-27 Thread b h
hi, I have a quick question, maybe I just haven't
thought this all the way through and the answer is
obvious...

well, the subject line doesn't give justice to my full
question, here is the scenario.

When I've plugged in an openbsd machine (by wire) to
the netgear wgu624 router connected to my cable modem,
and do a cvs checkout with my closest mirror (running
over ssh), I get very very dismal results.  The files
come in dog slow, only like a couple files per minute.
 So slow, that I get reset by peer after a few hours. 
Meanwhile, all other http downloading etc., works
super fast.

When I've plugged in the same openbsd machine (by
wire) to the soekris net4801 (obviously running
openbsd) connect to the same cable modem (ie, swap out
the netgear), and do a cvs checkout to the same mirror
(running over ssh, everything completely the same), I
can download the whole source tree in a couple of
minutes, so fast I can't read the filenames.

Of course I'm always going to use the soekris, but for
a short time I was required to remove my soekris and
put the netgear there temporarily.  These performance
results confused me.

Maybe I need to post more information (and let me know
if I do).  I'm confused.  If the NAT was really that
much slower on the netgear, I'd see it with the http
traffic too, right?  This is really only noticeable
with ssh traffic.

sorry if this is a stupid question
thanks
b




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 



blackdog worlds smallest server....

2005-08-12 Thread b h
Hi folk

has anyone every attempted (or would it be possible
(relatively painlessly)) to get openbsd running on
something like this?

http://www.projectblackdog.com/site/product.html

it comes with linux kernel, but I would love a few of
these around with OpenBSD to use as a secure ultra
portable box, 

thanks
b





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 



iwi(4), possible to use 802.1x authentication?

2005-07-29 Thread b h
Hi,

before I install openbsd on my laptop, I was curious
if there is any method of getting wireless working
with my companies infrastructure.  I have the intel
2915a/b/g card, and only Cisco extensions and LEAP
authentication is supported (ughh).  Reading the
iwi(4) manpage, I don't think I will have any luck,
but since I've never used wireless on OpenBSD before,
I was wondering if I am just looking in the wrong
spot?

thanks
b
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: iwi(4), possible to use 802.1x authentication?

2005-07-29 Thread b h
--- Jonathan Gray [EMAIL PROTECTED] wrote:

 On Fri, Jul 29, 2005 at 05:40:24AM -0700, b h wrote:
  Hi,
  
  before I install openbsd on my laptop, I was
 curious
  if there is any method of getting wireless working
  with my companies infrastructure.  I have the
 intel
  2915a/b/g card, and only Cisco extensions and LEAP
  authentication is supported (ughh).  Reading the
  iwi(4) manpage, I don't think I will have any
 luck,
  but since I've never used wireless on OpenBSD
 before,
  I was wondering if I am just looking in the wrong
  spot?
 
 LEAP has well known problems even Cisco themselves
 no longer recommend its use...
 
 802.1x support for iwi would not work without
 changes to the kernel 802.11 framework which
 currently have not been made and associated
 userspace code like a supplicant.

thank you, I know about the LEAP problems, but it
unfortunately happens to be out of my control.

Thanks for the update, your efforts on wireless
support are appreciated.
b
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: missing: ./etc/acpi (missing instructions in following-current on i386)

2005-07-27 Thread b h
--- b h [EMAIL PROTECTED] wrote:

 Date: Mon, 25 Jul 2005 07:30:52 -0700 (PDT)
 From: b h [EMAIL PROTECTED]
 Subject: Re: missing: ./etc/acpi
 To: Stuart Henderson [EMAIL PROTECTED],
 misc@openbsd.org
 
 --- Stuart Henderson [EMAIL PROTECTED] wrote:
  --On 24 July 2005 14:25 -0700, b h wrote:
  
   Checking special files and directories.
   Output format is:
   filename:
   criteria (shouldbe, reallyis)
   missing: ./etc/acpi
  
  Check you have updated /etc/mtree files from
  /usr/src/etc and have run 
  mtree (right near the end of 
  http://www.openbsd.org/faq/upgrade37.html).
  
  Since you have a file in /dev on one machine and
 not
  the other, also 
  check you have run MAKEDEV.
  
 
 I took your suggestions and ran both the mtree and
 MAKEDEV lines on both machines, and rebooted, and
 still, only one has the acpi device.
 
 secondly, I am also very diligent at running the  cd
 /usr/src/etc  env DESTDIR=/ make distrib-dirs line
 during every upgrade
 
 and lastly the machine that has the device node (but
 also gives me the error), was installed fresh
 (reformatted) from a snapshot on or around June 8,
 and
 -following-current (post 3.7 instructions) does not
 mention anything about devices or updates regarding
 acpi to /etc for i386.
 
 so, for the other machine that is missing the
 /dev/acpi... I had installed from a snap
 (reformatted)
 I think in the middle of 3.6 and 3.7, and I thought
 I
 also was very diligent with my upgrading, keeping
 current within a week or so, doing all the
 -following-current instructions etc.).  For good
 measure, this morning I copied over the mtree from
 etc3.7.tgz and ran it.  then upgraded all my src via
 cvs again (updates since yesterday), and reran all
 the
 steps, making GENERIC, make obj, make build, that
 make
 distrib-dirs line, etc  (and like I said
 earlier,
 I had run MAKEDEV).  the whole deal, and still, no
 acpi device.
 
 so, both machines work perfectly, (even though I am
 getting that insecurity mail about missing) but it
 bothers me I don't know what machine is currently in
 the proper state, whether that device should
 actually
 be there or not, 
 
 any other ideas?
 
 thanks
 b

I still got the missing file in my daily report every
day.  I looked on the cvsweb, and I can't find (unless
I'm using it wrong) any mention of an /etc/acpi file
or directory at all!  Where would this message have
came from? But besides that prob...

On my other machine, expanding out base3.7 from
release and copying MAKEDEV over to /dev and running
MAKEDEV all does not create the acpi device... 
however, copying over the one from the most recent
snapshot does.

so, following the normal src compile instructions, (as
referenced here:
http://www.openbsd.org/faq/faq5.html#Bld, especially
the line that says If building -current: Update /dev
and /etc, with the changes listed in current.html.)  

However looking at
http://www.openbsd.org/faq/current.html, there are no
mention of the new dev.

I can only assume that something is missing.  Is there
more missing from this file (especially since I
receive the missing ./etc/acpi error)

thanks
b




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 



Re: missing: ./etc/acpi (missing instructions in following-current on i386)

2005-07-27 Thread b h
--- Ulrich Kahl [EMAIL PROTECTED] wrote:
b h schrieb:
 --- b h [EMAIL PROTECTED] wrote:


Date: Mon, 25 Jul 2005 07:30:52 -0700 (PDT)
From: b h [EMAIL PROTECTED]
Subject: Re: missing: ./etc/acpi
To: Stuart Henderson [EMAIL PROTECTED],
misc@openbsd.org

--- Stuart Henderson [EMAIL PROTECTED] wrote:

--On 24 July 2005 14:25 -0700, b h wrote:


Checking special files and directories.
Output format is:
filename:
criteria (shouldbe, reallyis)
missing: ./etc/acpi
[...]

It was removed.

See
http://marc.theaimsgroup.com/?l=openbsd-cvsm=111783772926051w=2
and
http://www.openbsd.org/cgi-bin/cvsweb/src/etc/mtree/4.4BSD.dist

Hi Ulrich

thanks for the answer.  Actually, I remember
originally seeing that msg now that I was reminded. 
D'oh.  However, why is my daily insecurity script
still complaining about it on my one machine - how was
that problem still occur after following the
documented upgrade procedure?  In otherwords, what did
I miss updating that will prevent the daily script
from complaining about /etc/acpi?

and secondly, I still believe there is instructions
missing on the following-current page about adding
that device node.

thanks
b
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: missing: ./etc/acpi

2005-07-25 Thread b h
--- Stuart Henderson [EMAIL PROTECTED] wrote:
 --On 24 July 2005 14:25 -0700, b h wrote:
 
  Checking special files and directories.
  Output format is:
  filename:
  criteria (shouldbe, reallyis)
  missing: ./etc/acpi
 
 Check you have updated /etc/mtree files from
 /usr/src/etc and have run 
 mtree (right near the end of 
 http://www.openbsd.org/faq/upgrade37.html).
 
 Since you have a file in /dev on one machine and not
 the other, also 
 check you have run MAKEDEV.
 

I took your suggestions and ran both the mtree and
MAKEDEV lines on both machines, and rebooted, and
still, only one has the acpi device.

secondly, I am also very diligent at running the  cd
/usr/src/etc  env DESTDIR=/ make distrib-dirs line
during every upgrade

and lastly the machine that has the device node (but
also gives me the error), was installed fresh
(reformatted) from a snapshot on or around June 8, and
-following-current (post 3.7 instructions) does not
mention anything about devices or updates regarding
acpi to /etc for i386.

so, for the other machine that is missing the
/dev/acpi... I had installed from a snap (reformatted)
I think in the middle of 3.6 and 3.7, and I thought I
also was very diligent with my upgrading, keeping
current within a week or so, doing all the
-following-current instructions etc.).  For good
measure, this morning I copied over the mtree from
etc3.7.tgz and ran it.  then upgraded all my src via
cvs again (updates since yesterday), and reran all the
steps, making GENERIC, make obj, make build, that make
distrib-dirs line, etc  (and like I said earlier,
I had run MAKEDEV).  the whole deal, and still, no
acpi device.

so, both machines work perfectly, (even though I am
getting that insecurity mail about missing) but it
bothers me I don't know what machine is currently in
the proper state, whether that device should actually
be there or not, 

any other ideas?

thanks
b





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 



missing: ./etc/acpi

2005-07-24 Thread b h
Hi

I have a machine running current (updated weekly), and
I get in an insecurity email every day (since it was
freshly installed from a snap around the start of
june)

Checking special files and directories.
Output format is:
filename:
criteria (shouldbe, reallyis)
missing: ./etc/acpi

and I have another machine, also running current,
where I do not get that message, and as far as I can
tell, neither machine has a /etc/acpi or similar
directory.

and looking at the following -current doc, there is
no mention of a new file in etc.

However, on the first machine where I get the error, I
have a /dev/acpi, and on the other one, I do not.

Did I miss something in my upgrading process somewhere
on either machine?

thanks..

b
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Fwd: missing: ./etc/acpi

2005-07-24 Thread b h
sorry, I know the rules, see dmesgs that I forgot to
send earlier, below

--- b h [EMAIL PROTECTED] wrote:

 Date: Sun, 24 Jul 2005 14:25:11 -0700 (PDT)
 From: b h [EMAIL PROTECTED]
 Subject: missing: ./etc/acpi
 To: misc@openbsd.org
 
 
 Hi
 
 I have a machine running current (updated weekly),
 and
 I get in an insecurity email every day (since it was
 freshly installed from a snap around the start of
 june)
 
 Checking special files and directories.
 Output format is:
 filename:
 criteria (shouldbe, reallyis)
 missing: ./etc/acpi
 
 and I have another machine, also running current,
 where I do not get that message, and as far as I can
 tell, neither machine has a /etc/acpi or similar
 directory.
 
 and looking at the following -current doc, there
 is
 no mention of a new file in etc.
 
 However, on the first machine where I get the error,
 I
 have a /dev/acpi, and on the other one, I do not.
 
 Did I miss something in my upgrading process
 somewhere
 on either machine?
 
 thanks..
 
 b
 


machine where I get the missing ./etc/acpi


OpenBSD 3.7-current (GENERIC) #0: Sun Jul 24 09:48:26
EDT 2005
   
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 728
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
X,FXSR,SSE
real mem  = 536449024 (523876K)
avail mem = 482643968 (471332K)
using 4278 buffers containing 26927104 bytes (26296K)
of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/03/00,
BIOS32 rev. 0 @ 0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc320/144
(7 entries)
pcibios0: PCI Interrupt Router at 000:15:0
(ServerWorks ROSB4 SouthBridge rev
0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x6000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE
Host rev 0x06
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE
Host rev 0x06
pci1 at pchb1 bus 1
ppb0 at pci1 dev 2 function 0 Intel i960 RM PCI-PCI
rev 0x02
pci2 at ppb0 bus 2
ahc1 at pci2 dev 4 function 0 Adaptec AIC-7899 U160
rev 0x01: irq 5
scsibus0 at ahc1: 16 targets
sd0 at scsibus0 targ 0 lun 0: SEAGATE, ST336704LC,
0004 SCSI3 0/direct fixed
sd0: 34732MB, 14100 cyl, 12 head, 420 sec, 512
bytes/sec, 71132960 sec total
uk0 at scsibus0 targ 6 lun 0: DELL, 1x4 U2W SCSI BP,
1.16 SCSI2 3/processor fi
xed
uk0: unknown device
ahc2 at pci2 dev 4 function 1 Adaptec AIC-7899 U160
rev 0x01: irq 11
scsibus1 at ahc2: 16 targets
fxp0 at pci1 dev 8 function 0 Intel 82557 rev 0x08,
i82559: irq 10, address 00
:b0:d0:68:6e:09
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
vga1 at pci0 dev 14 function 0 ATI Mach64 GY rev
0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100
emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0 ServerWorks ROSB4
SouthBridge rev 0x50
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4
IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: TEAC, CD-224E, 3.7C
SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2,
Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5
USB rev 0x04: irq 11, ve
rsion 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
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
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
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte
fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters
enabled
mtrr: Pentium Pro MTRR support
ahc1: target 0 using 16bit transfers
ahc1: target 0 synchronous at 80.0MHz DT, offset =
0x3f
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



machine where I don't get the error:

OpenBSD 3.7-current (GENERIC) #0: Sun Jul 24 17:22:26
EDT 2005
   
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz
(GenuineIntel 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 1072472064 (1047336K)
avail mem = 972050432 (949268K)
using 4278 buffers containing 53727232 bytes (52468K)
of memory
mainbus0 (root)
bios0 at mainbus0