Mail

2005-10-08 Thread D. E. Evans
Is there an append function ~a for inserting text, especially regarding
signatures?



Re: ATI SB200 USB ports on Toshiba Satellite

2005-10-08 Thread Sophie

Hi Chris and thanks for the reply.

I know that if it's not loudly announced here there's
a good chance it won't be looked at but my soundcard
was in the same boat as the USB (It's an ATI
IXP200 - also an uncommon beast - now works under
3.8 using the auixp driver). I never saw anything
mentioned about my difficult soundcard in misc or
anywhere else for that matter and yet 3.8 supports
it (there are still Linux distros out there that don't).

I don't care about anything else other than the USB ports.
REALLY: This is making life unbearable.
I can't use a USB mouse and I have no serial ports.
I have no mouse (the touchpad doesn't work properly).
I can't use any USB devices at all (but the mouse is all
that matters to me). I'm desperate. I LOVE OpenBSD
and have been a follower for many years now but this is
making the OpenBSD experience extremely extremely painful
and almost impossible to use whether in X or console.

I realize they can only do what they can do and if it's
unfixable, then I won't know what to do then, but for
the last year and a half, I've waited to see if the new release
will fix it and I don't know how many CD's I've wasted
trying the 3.8 snapshots ever time they're updated, to
no avail.

Please help me.

SophieL


dmesg:

OpenBSD 3.8-current (GENERIC) #169: Sun Oct  2 15:06:50 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz (GenuineIntel 
686-class) 3.07 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,SSE3,MWAIT,EST,TM2,CNXT-ID
cpu0: Enhanced SpeedStep 2300 MHz (1356 mV): unknown EST cpu, no changes 
possible

real mem  = 200843264 (196136K)
avail mem = 176472064 (172336K)
using 2477 buffers containing 10145792 bytes (9908K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(08) BIOS, date 02/16/04, BIOS32 rev. 0 @ 
0xe99b0

apm0 at bios0: Power Management spec V1.1
apm0: battery life expectancy 100%
apm0: AC on, battery charge unknown, estimated 4:18 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xe7000/0x680
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfe840/176 (9 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1002 product 0x4353
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xf000 0xe/0x2000! 0xe6000/0x1000! 
0xeb000/0x5000!

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ATI RS300 Host rev 0x02
ppb0 at pci0 dev 1 function 0 ATI Radeon IGP 9100 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon Mobility IGP 9100 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

ohci0 at pci0 dev 19 function 0 ATI SB200 USB rev 0x01pci_intr_map: no 
mapping for pin A

: couldn't map interrupt
ohci1 at pci0 dev 19 function 1 ATI SB200 USB rev 0x01pci_intr_map: no 
mapping for pin A

: couldn't map interrupt

ehci0 at pci0 dev 19 function 2 ATI SB200 USB2 rev 0x01pci_intr_map: 
no mapping for pin A

: couldn't map interrupt
ATI SB200 SMBus rev 0x1a at pci0 dev 20 function 0 not configured
pciide0 at pci0 dev 20 function 1 ATI IXP200 IDE rev 0x00: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility

wd0 at pciide0 channel 0 drive 0: HTS424030M9AT00
wd0: 16-sector PIO, LBA48, 28615MB, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA760 DVD/CDRW, 1.50 SCSI0 
5/cdrom removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pcib0 at pci0 dev 20 function 3 ATI SB200 PCI-ISA rev 0x00
ppb1 at pci0 dev 20 function 4 ATI SB200 PCI-PCI rev 0x00
pci2 at ppb1 bus 2
cbb0 at pci2 dev 6 function 0 vendor ENE, unknown product 0x1411 rev 
0x00pci_intr_map: no mapping for pin A

: couldn't map interrupt
vendor ENE, unknown product 0x0530 (class memory subclass flash, rev 
0x00) at pci2 dev 6 function 1 not configured
vendor ENE, unknown product 0x0550 (class system unknown subclass 
0x05, rev 0x00) at pci2 dev 6 function 2 not configured
rl0 at pci2 dev 7 function 0 Realtek 8139 rev 0x10: irq 11 address 
00:a0:d1:b7:0e:f0

rlphy0 at rl0 phy 0: RTL internal phy
Texas Instruments TSB43AB21 FireWire rev 0x00 at pci2 dev 10 function 
0 not configured

auixp0 at pci0 dev 20 function 5 ATI IXP200 AC97 rev 0x01: irq 10
auixp0: soft resetting aclink
auixp0: not up; resetting aclink hardware
auixp0: not up; resetting aclink hardware
auixp0: aclink hardware reset successful
vendor ATI, unknown product 0x434d (class communications subclass 
modem, rev 0x01) at pci0 dev 20 function 6 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 

Re: Something hosing my msdos/FAT32 file system

2005-10-08 Thread Tom Cosgrove
 frantisek holop 29-Sep-05 01:23 

 hmm, on Wed, Sep 28, 2005 at 07:55:26PM -0300, Pedro Martelletto said that
  No, I don't, but that's simply not needed. Just a note saying I was
  running OpenBSD version X, kernel dated Y, on an environment Z, and
  suddenly everything was gone would be a start.

 so which part of the referenced mail you don't understand?
 (http://marc.theaimsgroup.com/?l=openbsd-miscm=110488032901414w=2)
 let me see:
 openbsd version:  check
 kernel dated: check
 environment: check
 instructions to repeat (even though somewhat vague,
 what can you do, it's the nature of the bug): check

And which bit of send bug reports to bugs@, or use sendbug(1) didn't
you understand?

Few developers read [EMAIL PROTECTED]  It is not the place to report bugs.  Bugs
reported here will often go unnoticed.  Bugs filed using sendbug will
be looked at again and again.

Tom



Re: Two Isp Fault Tollerance Help

2005-10-08 Thread tony sarendal
On 07/10/05, Roberto Pereyra [EMAIL PROTECTED] wrote:
 Hi

 Where I can find bgp uses examples (simples, for newbies) ?

 Thanks

 roberto


Unless you know what you are doing here you will not improve on the situation.
If you have a bad connection, replace it.

With bgp routing you will participate more actively on the internet,
it also means the more of the responsibility falls on you, and you will see
problems of a different nature, and problems at any of your providers may
affect you.

Bad connectivity, which provider do you contact ? Those providers will
get back to you with an entirely new set of questions for you to
answer. And in worst
case the providers themselves completely lack a clue.

BGP routing and multiple upstreams may a good thing if you have the
knowledge and resources to handle it, otherwise it isn't.

I recommend the book Internet Routing Architectures from cisco press.

/Tony

--
Tony Sarendal - [EMAIL PROTECTED]
IP/Unix
   -= The scorpion replied,
   I couldn't help it, it's my nature =-



Re: Something hosing my msdos/FAT32 file system

2005-10-08 Thread Tom Cosgrove
Guys

Thanks for taking the trouble to send something more concrete about
how to reproduce the problem.

I have found the bug, and just committed the fix.  The next snapshots
will have it in, so please test, and help us make sure there are no
side effects!

Finally, to the person who said there are plenty of reference
implementations, it seems that NetBSD has the same bug.  There will
always be bugs.  With good bug reports (ideally to the right places!)
we can track things down and fix them.

Tom



OpenBSD Metastore: update

2005-10-08 Thread Szechuan Death

The MetaStore has been updated - comments are now enabled, you can post
comments under each item listed.  Drivers for hardware are also listed.
Some other categories have been added, and some other stuff has changed
in the background.

Also, some new items have been added.  The more hardware that is
submitted, the more useful this resource is.  Please send whatever
information you have about your currently-running kit under OpenBSD,
preferably stuff which was purchased new within the last three
years or so.  Current particular focusses are audio cards, USB devices,
and optical (CD/DVD) drives, but any information is welcome.  I am aware
that a multitude of things are _purported_ to work with OpenBSD, but in
order to include it in this database I need at least one person to tell
me I have XXX, and it works under OpenBSD YYY.  Help me make this more
useful!  So far there have been nearly a thousand hits on this store,
which isn't bad considering that it's only been up a week and is still
beta-ish.  Some of those are test hits from my end, most are not; most
of these are all you guys.  I know there's some interest out there.
Let's get this thing up and keep each other from getting screwed on our
hardware purchases, huh?

Link:

http://www.sdeath.net/obsdstore

--
(c) 2005 Unscathed Haze via Central Plexus [EMAIL PROTECTED]
I am Chaos.  I am alive, and I tell you that you are Free.  -Eris
Big Brother is watching you.  Learn to become Invisible.
| Your message must be this wide to ride the Internet. |



Re: ATI SB200 USB ports on Toshiba Satellite

2005-10-08 Thread Jonathan Gray
On Sat, Oct 08, 2005 at 05:38:10PM +1000, Sophie wrote:
 Hi Chris and thanks for the reply.
 
 I know that if it's not loudly announced here there's
 a good chance it won't be looked at but my soundcard
 was in the same boat as the USB (It's an ATI
 IXP200 - also an uncommon beast - now works under
 3.8 using the auixp driver). I never saw anything
 mentioned about my difficult soundcard in misc or
 anywhere else for that matter and yet 3.8 supports
 it (there are still Linux distros out there that don't).
 
 I don't care about anything else other than the USB ports.
 REALLY: This is making life unbearable.
 I can't use a USB mouse and I have no serial ports.
 I have no mouse (the touchpad doesn't work properly).
 I can't use any USB devices at all (but the mouse is all
 that matters to me). I'm desperate. I LOVE OpenBSD
 and have been a follower for many years now but this is
 making the OpenBSD experience extremely extremely painful
 and almost impossible to use whether in X or console.
 
 I realize they can only do what they can do and if it's
 unfixable, then I won't know what to do then, but for
 the last year and a half, I've waited to see if the new release
 will fix it and I don't know how many CD's I've wasted
 trying the 3.8 snapshots ever time they're updated, to
 no avail.
 
 Please help me.
 
 SophieL

ATI do not make public the relevant information required
to make this work.



Re: dual DVI graphics card

2005-10-08 Thread Shane J Pearson

Hi Aaron,

On 07/10/2005, at 7:37 AM, Aaron Glenn wrote:


I wasn't clear enough in my original post. I'm looking to run
1920x1200 on two DVI monitors; and I'd like some sort of OpenGL
hardware acceleration support, however minor. None of the ATi chipsets
currently support 1920x1200 on two DVI monitors.


My Sony Laptop has an ATI Radeon X600 Mobility which has a 1920x1200 LCD
and a DVI on the docking station which I can seemingly set to 1920x1200
(even all the way up to 2048x1536).

I would have thought the internal connection to the LCD would be
equivalent to DVI at least?


Shane



Re: Something hosing my msdos/FAT32 file system

2005-10-08 Thread Andreas Bihlmaier
 Guys
 
 Thanks for taking the trouble to send something more concrete about
 how to reproduce the problem.
 
 I have found the bug, and just committed the fix.  The next snapshots
 will have it in, so please test, and help us make sure there are no
 side effects!
 
Thank you so much! Hosing (seemingly) supported file systems is really
something that can turn you into a wild boar...

I will definitly download the next snapshot ASAP!

From my point of view I can understand why people rather send their bugs to 
misc
rather than use sendbug. It is the response or feedback they want to get before
submitting plain out dumb bug reports. Most of the time (that is NOT only for
OpenBSD) they are right to do that because it is THEIR fault.

I want to submit a bug report since quite a while about my onboard skc card not
being detected correctly (getting attached and detached right after that in
dmesg). (no I don't want to high jack this thread, just an example)
On the other hand I really love OpenBSD and don't want to blame developers for
unsupported hardware.

Now what should I do about my network card?
Send describtion of problem
1.) to misc@ ?
2.) use sendbug ?
3.) to tech@ ?


This is a thing in general not being clear to me.

Regards,
ahb



Re: ATI SB200 USB ports on Toshiba Satellite

2005-10-08 Thread Sophie

Thanks for the response Jonathan,

Not questioning you. Just asking for enlightenment!

If ATI don't release information about their hardware
designs, then how did the OpenBSD developers
get the info needed to write the driver for my 
dreadfully incompatible ATI IXP soundcard in this 
system (sound works under 3.8 snapshots)?


Regards,
Soph

- Original Message - 
From: Jonathan Gray [EMAIL PROTECTED]

To: Sophie [EMAIL PROTECTED]
Cc: Chris Kuethe [EMAIL PROTECTED]; misc@openbsd.org
Sent: Saturday, October 08, 2005 8:57 PM
Subject: Re: ATI SB200 USB ports on Toshiba Satellite



On Sat, Oct 08, 2005 at 05:38:10PM +1000, Sophie wrote:

Hi Chris and thanks for the reply.

I know that if it's not loudly announced here there's
a good chance it won't be looked at but my soundcard
was in the same boat as the USB (It's an ATI
IXP200 - also an uncommon beast - now works under
3.8 using the auixp driver). I never saw anything
mentioned about my difficult soundcard in misc or
anywhere else for that matter and yet 3.8 supports
it (there are still Linux distros out there that don't).

I don't care about anything else other than the USB ports.
REALLY: This is making life unbearable.
I can't use a USB mouse and I have no serial ports.
I have no mouse (the touchpad doesn't work properly).
I can't use any USB devices at all (but the mouse is all
that matters to me). I'm desperate. I LOVE OpenBSD
and have been a follower for many years now but this is
making the OpenBSD experience extremely extremely painful
and almost impossible to use whether in X or console.

I realize they can only do what they can do and if it's
unfixable, then I won't know what to do then, but for
the last year and a half, I've waited to see if the new release
will fix it and I don't know how many CD's I've wasted
trying the 3.8 snapshots ever time they're updated, to
no avail.

Please help me.

SophieL


ATI do not make public the relevant information required
to make this work.




OpenBSD i386 and macppc on one HDD

2005-10-08 Thread Constantine A. Murenin
Hello,

I have an external USB 2.0 storage device with OpenBSD i386
installation and some free space. Is it possible to install
OpenBSD/macppc on that spare space without breaking my i386
installation?

How will it all work? Would it be possible to share /etc, /var and
/home partitions between i386 and macppc? Could the HDD be bootable on
both i386 and macppc?

Cheers,
Constantine.



Re: USB to RS232

2005-10-08 Thread Shane J Pearson

For anyone who might have a Nokia DKU-5 USB-Phone cable. Mine is a
Chinese copy, however is recognised as a Prolific PL2303 USB-Serial
adaptor and might be able to be hacked into use as a USB-RS232 cable.

I only paid about $20 Aussie and would like to put some 9-pin
connectors towards the phone end of the cable to allow dual use.

Bear in mind that I don't know if a genuine Nokia DKU-5 cable also
works in this fashion, because this cheapo DKU-5 is not a drop-in
replacement for the genuine Nokia and requires its own driver in XP
distinct from the Nokia driver. In other words, the real DKU-5 might
not be recognised as a serial adaptor in any BSD.


On 07/10/2005, at 10:23 PM, Rod.. Whitworth wrote:


Mine cost $AUD30 inc GST and I got change. Go figure.



Shane J Pearson



dual boot XP , Openbsd

2005-10-08 Thread Roelof Wobben
Hello,

On this moment I have XP on my system.
Now i want a dual boot XP and Openbsd.

XP has now the first 20 GB of total 40 GB.
When install Openbsd after XP i get a problem regarding the install
instructions.
But when i first install Openbsd and then XP i think XP is not working well
because i heard that XP wants to have the first partition.

How can i solve this problem ??

Roelof



Re: uvm_mapent_alloc: out of static map entries, check MAX_KMAPENT

2005-10-08 Thread Frank Denis \(Jedi/Sector One\)

On Fri, Oct 07, 2005 at 12:29:17PM -0400, Brad wrote:


Now instead of your system panicing, the kernel will try to allocate more
memory for additional map entries. The kernel will print ouf the usual
uvm_mapent_alloc: out of static map entries but not panic.


 Indeed, I upgraded a system that used to panic() without raising
MAX_KMAPENT and now if only prints the message without panic()ing.


Also, looking at the vmstat display of systat you will see that kmapent
has been added to the bottom right corner, this will show you the number of
map entries currently in use by the kernel.


 Unfortunately, that number is hidden in a 80x24 terminal.
 
 That host currently has 1583 kmap entries.


--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: altq traffic limitations

2005-10-08 Thread Chris Smith
On Wednesday 05 October 2005 06:59 pm, jared r r spiegel wrote:
 altq is as effective as your understanding of it and your
 implementation

Well then I'm in real trouble :)

I'll try to hunt down that archived post. Thanks.



Add a PF rule from the command line

2005-10-08 Thread Roy Morris
I would like to be able to add/remove a rule from
the command line on those systems which
may have only a ram drive and or read only
pf.conf. Anyone know how to do it, or would
you need to create a new pf.conf in memory
someplace and then load it?

Thanks
Roy



Re: dual boot XP , Openbsd

2005-10-08 Thread Shane J Pearson

Hi Roelof,

On 09/10/2005, at 3:02 AM, Roelof Wobben wrote:


When install Openbsd after XP i get a problem regarding the install
instructions.


You need to be specific if you want people to be capable of helping you.

But when i first install Openbsd and then XP i think XP is not  
working well

because i heard that XP wants to have the first partition.


XP does not have to have the first partition, although it does like to
see the partitions numbered sequentially in the partition table in the
order the partitions are actually found on the disk. This won't bite you
until you run Disk Management in XP, when it will change the partition
table numbering to be sequential without even asking you.

If you have XP in the first partition (1st on disk and as the 1st in the
partition table), then installing OpenBSD to the 2nd should not cause a
problem. I use Smart Boot Manager to choose between XP and OpenBSD.

If you have XP in the first partition (1st on disk and as the 1st in the
partition table), but it is near the end of the disk and you will be
installing OpenBSD in free space before that partition, but as partition
2, then XP will no longer be able to find system files at boot time
because it is brain dead and counts partitions as where they actually
are on the disk, instead of where the partition table says the
appropriate partition is. Edit boot.ini to fix this. If you run Disk
Management at some stage in the future, Microsoft will ruin your day
again and you might wonder what the hell happened (it will re-order the
partition table to be reflect what partitions are found on disk in the
order that they are found).

If you create an unused partition 1 at the beginning of the disk, and
then install XP after that in partition 2, you might be able to later
install OpenBSD in partition 1 without any further trouble. I can't
remember if the XP installer allows installing to a partition other
that the first, but it can certainly be changed later.

None of my dual boot OpenBSD/XP or FreeBSD/XP machines have XP in the
first partition.


Shane J Pearson



Re: Sun Ultra 5 as a firewall?

2005-10-08 Thread Shane J Pearson

Hi Joe,

On 08/10/2005, at 6:28 AM, Joe S wrote:

Is anyone on the list running an Ultra 5 as firewall? I would like  
to move my firewall from an overpowered P4-3GHz box to a Sun Ultra  
5 360MHz.


My main concern is wondering if the Ultra 5 is slow enough to  
become a bottleneck from one interface to another interface.  
However, I know some of you run Soekris boxen and 486's for  
firewalls, so I may be just fine.


My firewall is a Sun Ultra 10, which uses the same mainboard as the
Ultra 5. Mine is the 333MHz 2Mb L2 cache model with 128Mb RAM. I have 4
fxp's in addition to the built in hme.

Between fxp's, with FreeBSD 5.4-RELEASE i386 at both end points of an
iperf test, I get about 66Mbit/s with pf ON and about 76Mbit/s with pf
OFF. My ruleset is pretty bare at the moment and I just did an iperf -s
at one end and an iperf -c $IP at the other.

At one end the NIC is a GigE Realtek. So this was using:
fxp---fxp|fxp---realtek GigE

I don't know if having an fxp in place of that Realtek would have been
better. I've heard the GigE Realteks are actually not too bad as
compared with what you could expect from their older rl abominations.

I also have an Ultra 5 with I think a 360MHz 512k L2 cache CPU lying
around doing nothing at the moment. I might test it too as I'd like
to know whether the MHz or cache size matters more here.

Shane J Pearson



Re: dual boot XP , Openbsd

2005-10-08 Thread Darrin Chandler

Roelof Wobben wrote:


Hello,

On this moment I have XP on my system.
Now i want a dual boot XP and Openbsd.

XP has now the first 20 GB of total 40 GB.
When install Openbsd after XP i get a problem regarding the install
instructions.
But when i first install Openbsd and then XP i think XP is not working well
because i heard that XP wants to have the first partition.

How can i solve this problem ??

Roelof


 



What problem, exactly, do you have when you install XP first? I have XP 
/ OpenBSD dual booting just fine. The only thing I had to deal with was 
copying the OpenBSD boot sector to the Windows partition and adding it 
to boot.ini (turning on bootable flag in OpenBSD partition would *not* 
work because that partition was past the point where BIOS could boot it).


--
Darrin Chandler
[EMAIL PROTECTED]
http://www.stilyagin.com/



Re: Something hosing my msdos/FAT32 file system

2005-10-08 Thread Tom Cosgrove
 Andreas Bihlmaier 8-Oct-05 15:20 

 From my point of view I can understand why people rather send their
 bugs to misc rather than use sendbug. It is the response or feedback
 they want to get before submitting plain out dumb bug reports. Most
 of the time (that is NOT only for OpenBSD) they are right to do that
 because it is THEIR fault.

 I want to submit a bug report since quite a while about my onboard skc
 card not being detected correctly (getting attached and detached right
 after that in dmesg). (no I don't want to high jack this thread, just
 an example) On the other hand I really love OpenBSD and don't want to
 blame developers for unsupported hardware.

 Now what should I do about my network card?
 Send describtion of problem
 1.) to misc@ ?
 2.) use sendbug ?
 3.) to tech@ ?

Plenty of bug reports start out as threads on [EMAIL PROTECTED]  If you're not
sure, ask on [EMAIL PROTECTED]  If it appears that there's a genuine problem,
use sendbug(1) (preferred) or post to [EMAIL PROTECTED]

As a rule of thumb, don't post to tech@ unless you are including a
diff to fix/add something.  Even the developers post to tech@ from
time to time, to get a wider testing audience.

Thanks

Tom



Re: Something hosing my msdos/FAT32 file system

2005-10-08 Thread Nick Holland
Tom Cosgrove wrote:
 Andreas Bihlmaier 8-Oct-05 15:20 
...
 Now what should I do about my network card?
 Send describtion of problem
 1.) to misc@ ?
 2.) use sendbug ?
 3.) to tech@ ?
 
 Plenty of bug reports start out as threads on [EMAIL PROTECTED]  If you're not
 sure, ask on [EMAIL PROTECTED]  If it appears that there's a genuine problem,
 use sendbug(1) (preferred) or post to [EMAIL PROTECTED]
 
 As a rule of thumb, don't post to tech@ unless you are including a
 diff to fix/add something.  Even the developers post to tech@ from
 time to time, to get a wider testing audience.

heh.
That's the nice way of saying what I was just saying.  'cept I had a
line of all caps on the don't post to tech@ part. :)

Nick.
(nowhere near as nice and civil as Tom)



Re: Add a PF rule from the command line

2005-10-08 Thread Alexander Hall

Roy Morris wrote:

I would like to be able to add/remove a rule from
the command line on those systems which
may have only a ram drive and or read only
pf.conf. Anyone know how to do it, or would
you need to create a new pf.conf in memory
someplace and then load it?


Maybe using anchors is the way to go?

Otherwise you can load rules from stdin, so maybe something like

{ grep -v 'regexp that matches rule(s) to remove'  /etc/pf.conf; \
  echo Rules to add\nAnother rule to add; } | pfctl -ef -

would work?

/Alexander



Reporting bugs (was: Something hosing my msdos/FAT32 file system)

2005-10-08 Thread Matthias Kilian
On Sat, Oct 08, 2005 at 07:32:05PM +0100, Tom Cosgrove wrote:
 As a rule of thumb, don't post to tech@ unless you are including a
 diff to fix/add something.

For (more or less obvious) fixes, isn't sendbug(1) including a diff
more appropriate than a mail to [EMAIL PROTECTED]

Ciao,
Kili



mounting MS-DOS disk in a USB floppy drive?

2005-10-08 Thread James Hartley
I'm unable to mount a MS-DOS disk within a USB floppy drive on 
OpenBSD 3.7/i386.

The following is both displayed and written to dmesg:

8
umass0 at uhub1 port2 configuration 1 interface 0
umass0: CITIZEN XIDE-USB, rev 1.10/0.00, addr 2
umass0: using UFI over CBI with CCI
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: , ,  SCSI0 0/direct fixed
sd0: 0MB, 0 cyl, 64 head, 32 sec, 512 bytes/sec, 1 sec total
8

disklabel doesn't recognize the MS-DOS filesystem either:

8
$ disklabel sd0
#/dev/rsd0c
type: SCSI
disk: SCSI disk
label:
flags:
bytes/sector: 512
sectors/track: 64
sectors/cylinder: 2048
cylinders: 0
totals sectors: 1
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0# microseconds
track-to-track seek: 0   # microseconds
drivedata: 0

16 partitions:
# size   offset  fstype [fsize bsize cpg]
  c: 10  unused  0 0 # Cyl0 -   0*
disklabel: cylinders/unit 0
8

...and if fact, provides the same output whether the floppy disk has 
inserted into the USB drive or not.  Having the floppy disk inserted
into the drive prior to connecting to the USB port doesn't change
this output either.  

Obviously attempting to mount (regardless of partition used) doesn't 
work:

8
$ sudo mount -t msdos /dev/rsd0c /mnt
mount_msdos: /dev/rsd0c on /mnt: Block device required
8

Is this drive not supported or what am I not gleaning here?  Thanks.

Jim



Re: Something hosing my msdos/FAT32 file system

2005-10-08 Thread frantisek holop
hmm, on Sat, Oct 08, 2005 at 10:50:01AM +0100, Tom Cosgrove said that
  frantisek holop 29-Sep-05 01:23 
 
  hmm, on Wed, Sep 28, 2005 at 07:55:26PM -0300, Pedro Martelletto said that
   No, I don't, but that's simply not needed. Just a note saying I was
   running OpenBSD version X, kernel dated Y, on an environment Z, and
   suddenly everything was gone would be a start.
 
  so which part of the referenced mail you don't understand?
  (http://marc.theaimsgroup.com/?l=openbsd-miscm=110488032901414w=2)
  let me see:
  openbsd version:  check
  kernel dated: check
  environment: check
  instructions to repeat (even though somewhat vague,
  what can you do, it's the nature of the bug): check
 
 And which bit of send bug reports to bugs@, or use sendbug(1) didn't
 you understand?
 
 Few developers read [EMAIL PROTECTED]  It is not the place to report bugs.  
 Bugs
 reported here will often go unnoticed.  Bugs filed using sendbug will
 be looked at again and again.

it was not just _me_ who thought that the information which
could be provided is too vague for a proper bug report...

it was everyone...


but let me be one of the first who thank you for your effort.

-f
-- 
senility means never having to drink just to forget.



nfs mounting

2005-10-08 Thread Chuck Robey
I have just ogtten usb networking up on my Zaurus, and now I'm tryingto 
get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
FreeBSD system.  I can get the mount done, but I can't affect any files 
... for example, if I tryi to touch (as root on the Zaurus) 
/usr/local/garbage, I get Permission denied.  i don't have any cklear 
idea if this is a problem on the Zaurus (OpenBSD) or The FreeBSD server.


When I did the mount, I used -v, and the listing I got is:

april.chuckr.org:/usr3/osrc/ports on /usr/ports type nfs (rw, ctime=Sat 
Oct  8 10:23:49 2005, v3, tcp, hard, wsize=8192, rsize=8192, 
rdirsize=8192, timeo=100, retrans=10, maxgrouplist=16, readahead=1, 
acregmin=5, acregmax=60, acdirmin=5, acdirmax=60)


Is there anything else you might want to know?  This is extremely 
frustrating, being so terribly close to having it work, but not being there.




FileSystem Corruptions? Very important Files at stake.

2005-10-08 Thread Justin Wong
Hi, I was wondering if you could help me.
After searches on the internet turned up nothing, I found your site about
your love for OpenBSD. My problem is that when I boot, I get an error
/dev/rwd0a BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN
FIRST ALTERNATE.
Then, on the same 13 gig drive, the error,
/dev/rwd0a UNEXPECTED INCONSISTENCY RUN fsck_ffs MANUALLY
. Later on, I also get an error from my other HardDRive which is a 200 gig
Seagate. This drive is also getting many errors. I did not realise it, but I
guess I had formatted it in NTFS. This HardDrive contains many files of
which are very important (3 years worth of files and a few thousand family
photos).

The only thing I can remember that might be related to the error is that the
computer would not shut down the previous night. I am relatively new to
OpenBSD so I shurgged it off as I held the power button down. I made sure
the HDD activity light was off.

I am using OpenBSD 3.7.
When I type login I get a #sh not found error and it seems to continue.
From there I get thousands of errors where the computer tells me to fsck.
From my view, it looks like both filesystems became corrupted. I really need
these files.
A liveCD of Ubuntu doesn't seem to be working as it can't read the 200 gig
drive. The 13 gig drive comes up with a nod error every couple or so nodes
with fsck. Ubuntu won't even read the 200 gig drive. Can you please help me
at least to recover hte files? Any suggestions would help. THe computer is a
500Mhz K6 with the 13 gig drive run as master and the 200 gig drive as
slave. Some of these files are photographs of my now deceased grandfather
and are very important.
Thank you for your time.
Justin Wong.

--
$ cat food in tin cans
cat: cannot open food in tin cans



Re: CARP interface incorrectly comes up as INIT on boot - Workaround

2005-10-08 Thread Tim
Tim t-openbsd at timdarby.net writes:

 
 I'm using CARP under 3.7 release version on two boxes that aren't
firewalls, so
 no pfsync involved and CARP configured as described in the FAQ.
What I'm seeing
 is that the box I've designated as BACKUP always boots with carp0
as INIT and
 carp1 and carp2 both come up BACKUP as expected.  

I found my own workaround for this problem and I'm posting it on the chance it
will help someone else.  I did some more experimenting and tried adding more
backup carp interfaces to the physical interface that already had three.  When
I did this, I noticed that every time I added an interface, another interface
that had previously been working now came up as INIT.  So, initially I had:

carp0 - INIT
carp1 - BACKUP
carp2 - BACKUP

After adding carp3, I had:

carp0 - INIT
carp1 - INIT
carp2 - BACKUP
carp3 - BACKUP

and carp4:

carp0 - INIT
carp1 - INIT
carp2 - INIT
carp3 - BACKUP
carp4 - BACKUP

This made me wonder if there was some timing thing going on when the carp
interfaces were started on boot, so I tried adding a sleep to /etc/netstart as
follows:

*** netstartSat Oct  8 15:51:43 2005
--- netstart.modSat Oct  8 15:51:13 2005
***
*** 309,314 
--- 309,315 
  
case $if in
carp*)
+   sleep 1
ifstart $if
;;
*)

After doing this, all interfaces came up correctly as BACKUP.  If anyone has a
better solution, I'd be happy to hear it otherwise I'm calling it done and
getting on with my weekend.



Re: nfs mounting

2005-10-08 Thread Frank Denis \(Jedi/Sector One\)

On Sat, Oct 08, 2005 at 05:27:59PM -0400, Chuck Robey wrote:
I have just ogtten usb networking up on my Zaurus, and now I'm tryingto 
get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
FreeBSD system.  I can get the mount done, but I can't affect any files 
... for example, if I tryi to touch (as root on the Zaurus) 
/usr/local/garbage, I get Permission denied.


 When you access a file as root, the access is made as the nobody user
by default. See the -mapproot= option in export(5).  


--
Frank - my stupid blog: http://00f.net
L'annuaire des professionnels de la manucure et de la pedicure :
http://www.manucure-pro.com



Re: nfs mounting

2005-10-08 Thread Peter Valchev
 get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
 FreeBSD system.  I can get the mount done, but I can't affect any files 
 ... for example, if I tryi to touch (as root on the Zaurus) 
 /usr/local/garbage, I get Permission denied.  i don't have any cklear 
 idea if this is a problem on the Zaurus (OpenBSD) or The FreeBSD server.

Sounds like PEBKAC, you provided no information whatsoever, for examxple
/etc/exports on the server would be good - my bet is you don't have
-maproot=root specified.  Maybe learn about setting up NFS a little, eg:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
or read the manpages...

Obviously nothing to do w/ OpenBSD... strange you posted here, really.



Re: FileSystem Corruptions? Very important Files at stake.

2005-10-08 Thread Alexander Hall

Justin Wong wrote:

Hi, I was wondering if you could help me.
...
Some of these files are photographs of my now deceased grandfather
and are very important.


After some disasters here, although in my/our case caused by human 
errors, I have written two programs that scans a file of choice for

1) avi files
and
2) jpeg files

It can scan any file, be it a image file, disk image, or the disk device 
itself (e.g. /dev/rwd0c). The script will only be able to restore images 
and movies that are located sequentially (non-fragmented) on disk, and 
may therefore miss some images/movies, as well as find invalid ones.


I have successfully tested the script on two occations, but that was on 
msdos (and possibly ntfs) file systems. I have not tested it on an ffs 
file system.


So, if you can get another installation of openbsd running, and manage 
to get the disk device (e.g. /dev/rwd1c), or ripped disk image, readable 
by any means, then I can probably help you retrieve many, if not most, 
but probably not all, jpg's and avi's.


Be aware that all images, including previously deleted but not yet 
overwritten ones, may be retrieved. :-)


The file names are obviously not restored either, so some sorting is to 
be done afterwards. I have a script that can help you with some of that 
too, if you need it. :)


Good luck!

/Alexander



RE : nfs mounting

2005-10-08 Thread Léo Goehrs
Are you using the  root account to try create the file ?
If so, this is your problem and you have to change a few settings on the file
server.

Leo



De: [EMAIL PROTECTED] de la part de Chuck Robey
Date: sam. 10/8/2005 11:27
@: misc@openBSD.org
Objet : nfs mounting



I have just ogtten usb networking up on my Zaurus, and now I'm tryingto
get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby
FreeBSD system.  I can get the mount done, but I can't affect any files
... for example, if I tryi to touch (as root on the Zaurus)
/usr/local/garbage, I get Permission denied.  i don't have any cklear
idea if this is a problem on the Zaurus (OpenBSD) or The FreeBSD server.

When I did the mount, I used -v, and the listing I got is:

april.chuckr.org:/usr3/osrc/ports on /usr/ports type nfs (rw, ctime=Sat
Oct  8 10:23:49 2005, v3, tcp, hard, wsize=8192, rsize=8192,
rdirsize=8192, timeo=100, retrans=10, maxgrouplist=16, readahead=1,
acregmin=5, acregmax=60, acdirmin=5, acdirmax=60)

Is there anything else you might want to know?  This is extremely
frustrating, being so terribly close to having it work, but not being there.



Re: FileSystem Corruptions? Very important Files at stake.

2005-10-08 Thread Tony
The first thing to do is to copy the drive with the photos
to fresh disk space before further damage is done to the originals.
Expect recovery to be long and painful even with some tools
to make it easier.

There are people here that know a lot more about this than I, but the
first thing is to get lots of accessible disk space in which to put:
1) the raw image of the original disk
2) the raw images of the disk partitions (dos partitions, that is)
3) the raw images of the disk partitions (obsd partitions, that is)
4) space in which to attemp reconstructions of what was supposed to be
there.

If you really know what you are doing, you can probably get away
with omitting some of the above.

Make accurate notes of what is where in what order etc.

Good luck.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Justin Wong
Sent: Saturday, October 08, 2005 4:46 PM
To: misc@openbsd.org
Subject: FileSystem Corruptions? Very important Files at stake.


Hi, I was wondering if you could help me.
After searches on the internet turned up nothing, I found your site about
your love for OpenBSD. My problem is that when I boot, I get an error
/dev/rwd0a BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN
FIRST ALTERNATE.
Then, on the same 13 gig drive, the error,
/dev/rwd0a UNEXPECTED INCONSISTENCY RUN fsck_ffs MANUALLY
. Later on, I also get an error from my other HardDRive which is a 200 gig
Seagate. This drive is also getting many errors. I did not realise it, but I
guess I had formatted it in NTFS. This HardDrive contains many files of
which are very important (3 years worth of files and a few thousand family
photos).

The only thing I can remember that might be related to the error is that the
computer would not shut down the previous night. I am relatively new to
OpenBSD so I shurgged it off as I held the power button down. I made sure
the HDD activity light was off.

I am using OpenBSD 3.7.
When I type login I get a #sh not found error and it seems to continue.
From there I get thousands of errors where the computer tells me to fsck.
From my view, it looks like both filesystems became corrupted. I really
need
these files.
A liveCD of Ubuntu doesn't seem to be working as it can't read the 200 gig
drive. The 13 gig drive comes up with a nod error every couple or so nodes
with fsck. Ubuntu won't even read the 200 gig drive. Can you please help me
at least to recover hte files? Any suggestions would help. THe computer is a
500Mhz K6 with the 13 gig drive run as master and the 200 gig drive as
slave. Some of these files are photographs of my now deceased grandfather
and are very important.
Thank you for your time.
Justin Wong.

--
$ cat food in tin cans
cat: cannot open food in tin cans



Re: FileSystem Corruptions? Very important Files at stake.

2005-10-08 Thread Raymond Lillard

STOP -- DON'T DO ANYTHING ELSE w/o expert help at your side.

Justin Wong wrote:

Hi, I was wondering if you could help me.
After searches on the internet turned up nothing, I found your site about
your love for OpenBSD. My problem is that when I boot, I get an error
/dev/rwd0a BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN
FIRST ALTERNATE.
Then, on the same 13 gig drive, the error,
/dev/rwd0a UNEXPECTED INCONSISTENCY RUN fsck_ffs MANUALLY
. Later on, I also get an error from my other HardDRive which is a 200 gig
Seagate. This drive is also getting many errors. I did not realise it, but I
guess I had formatted it in NTFS. 


How can you format a disk and not realize it?  Do you mean you
formatted a disk already containing data?  ... do you mean you
formatted the disk and then transferred the data to it?  Are
you set up for dual booting of Windows and OBSD?  Otherwise how
did NTFS get involved.  You need to describe your environment
and the sequence of steps preceding your catastrophe.


This HardDrive contains many files of
which are very important (3 years worth of files and a few thousand family
photos).


Data is only important if it is treated as though it is important.
If it's important, then it's backed up.


The only thing I can remember that might be related to the error is that the
computer would not shut down the previous night. I am relatively new to
OpenBSD so I shurgged it off as I held the power button down. I made sure
the HDD activity light was off.


When you typed the shutdown or halt command, what happened?


I am using OpenBSD 3.7.
When I type login I get a #sh not found error and it seems to continue.

From there I get thousands of errors where the computer tells me to fsck.
From my view, it looks like both filesystems became corrupted. I really need

these files.


You are probably correct in thinking both filesystems are corrupted.


A liveCD of Ubuntu doesn't seem to be working as it can't read the 200 gig
drive. 


The Ubintu CD is working just fine.  You are asking the programs
on it to perform a task they cannot do.


The 13 gig drive comes up with a nod error every couple or so nodes
with fsck. Ubuntu won't even read the 200 gig drive. Can you please help me
at least to recover hte files? Any suggestions would help. THe computer is a
500Mhz K6 with the 13 gig drive run as master and the 200 gig drive as
slave. 


I don't mean to be unkind during your distress, but this is entirely
the result of you own actions.  Trying to run fsck on an NTFS filesystem
is likely to make any recovery impossible.

Some of these files are photographs of my now deceased grandfather

and are very important.


I'm sorry to say this, but your files may be irretrievably gone.
The best advice I can give at this point is to find somebody
who has expert knowledge of whichever file system is involved
(BSD or NTFS) and let them take over.  Maybe there is a data
disk recovery shop near you.  The good ones are expensive.


Thank you for your time.


Da nada,  Sorry to be the bearer of bad news.

All the best,
Ray



Re: CARP interface incorrectly comes up as INIT on boot - Workaround

2005-10-08 Thread Jason Dixon

On Oct 8, 2005, at 6:59 PM, Tim wrote:

I found my own workaround for this problem and I'm posting it on  
the chance it
will help someone else.  I did some more experimenting and tried  
adding more
backup carp interfaces to the physical interface that already had  
three.  When
I did this, I noticed that every time I added an interface, another  
interface
that had previously been working now came up as INIT.  So,  
initially I had:


Not to beat up on you, but I wish you would stop referring to this  
problem as if it was the fault of OpenBSD.  Nobody else has ever  
reported this issue, and I've proven that this is not reproducible on  
my systems, which leads me to believe that you have a  
misconfiguration issue.  You haven't provided enough information so  
as to accurately diagnose your problem.


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Re: CUPS failing

2005-10-08 Thread Christopher JS Vance

On Sun, Oct 09, 2005 at 01:00:18AM +0200, [EMAIL PROTECTED] wrote:

I wonder why the OpenBSD Ghostscript port wasn't build upon the CUPS ESP
version which include almost twice as many drivers. As far as I understand the
ESP is just an extended version with more drivers.


There are already two ghostscript ports - GNU and AFPL - each in six
flavours.  Maybe adding another port just didn't feel tempting enough
to the maintainer?  Still, with two already there, maybe the third
wouldn't be to hard for you to try?

--
Christopher Vance



Re: nfs mounting

2005-10-08 Thread Chuck Robey

Peter Valchev wrote:

get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
FreeBSD system.  I can get the mount done, but I can't affect any files 
... for example, if I tryi to touch (as root on the Zaurus) 
/usr/local/garbage, I get Permission denied.  i don't have any cklear 
idea if this is a problem on the Zaurus (OpenBSD) or The FreeBSD server.
   



Sounds like PEBKAC, you provided no information whatsoever, for examxple
/etc/exports on the server would be good - my bet is you don't have
-maproot=root specified.  Maybe learn about setting up NFS a little, eg:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
or read the manpages...

Obviously nothing to do w/ OpenBSD... strange you posted here, really.
 

After that flaming on the lists, I guess I could expect a lttle ribbing 
over it, but tjhios really hasn't got anything to do with that, and I 
would like to let that go away.  You might remember, I tried pretty hard 
to see if I could make it go away early in the thing, I don't really 
like flames any more than I think you do.


As far as that goes, deleting out my listing of the verbose mount, and 
then claiming I provided no infomation whatsover was a cheap shot, 
wasn't it?  Seems dishonest from one point of view?


I have been poring over t he man pages, most especially the exports one, 
because I had a lot of trouble getting it to work right, I misunderstood 
one feature, and it took me a great long time to figure it out.  I have 
actualy IPs in my exports file, and I felt a little funny posting it, 
but maybe I could have made some changes and showed that.  You were 
right on one count, though, I hadn't had any -map* features in there, 
and I will begin adding some.


btw, PEBKAC  ??  I dunno what this means.



Re: nfs mounting

2005-10-08 Thread Chuck Robey

Peter Valchev wrote:

get /usr/local, /usr/ports, and /usr/src remotely mounted from my nearby 
FreeBSD system.  I can get the mount done, but I can't affect any files 
... for example, if I tryi to touch (as root on the Zaurus) 
/usr/local/garbage, I get Permission denied.  i don't have any cklear 
idea if this is a problem on the Zaurus (OpenBSD) or The FreeBSD server.
   



Sounds like PEBKAC, you provided no information whatsoever, for examxple
/etc/exports on the server would be good - my bet is you don't have
-maproot=root specified.  Maybe learn about setting up NFS a little, eg:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
or read the manpages...

Obviously nothing to do w/ OpenBSD... strange you posted here, really.
 

ok, your hint about -map proved to be right, I'd taken out nearly 
everything in my exports file, simplfying it because I'd misundertood 
something basic, and I was trying to remove complications.  I forgot, 
after tripping over my solution, to stick the -map stuff back in.


It's back in, and my networking is humming nicely.  Thanks.



You have received a virtual greeting from a family member!

2005-10-08 Thread Greetins from 1001postcards4u.com
 

You have received a virtual greeting from a friend!

 

You can pick up your postcard at the following web address:

 

http://www.1001postcards4u.com/postcards/id?=1001postcards4u04m10a19d8304m10a19d83/

 

If you can't click on the web address above, you can also
visit E-Greetings at: http://www.1001postcards4u.com/postcards/
and enter your pickup code, which is:
?1001postcards4u04m10a19d8304m10a19d83

 

(Your postcard will be available for 60 days.)

 

Oh -- and if you'd like to reply with a postcard,
you can do so by visiting this web address:
http://www.1001postcards4u.com/
(Or you can simply click the reply to this postcard
button beneath your postcard!)

 

We hope you enjoy your postcard, and if you do,
please take a moment to send a few yourself!

 

Regards,
1001 E-Greetings and Postcards just for You !
http://www.1001postcards4u.com/