Using labjack U3 in OpenBSD

2007-11-26 Thread Markus Bergkvist
What might be required to be able to use a labjack in OpenBSD? The U3 
device is recognized as USB generic device


ugen0 at uhub1
port 1 LabJack LabJack U3 rev 1.10/0.00 addr 2

Would it be sufficient to port the available linux library 
(http://www.labjack.com/labjack_u3_downloads.php) to speak with the 
device through read(2) and write(2) or is a driver needed?


LabJacks are USB/Ethernet based measurement and automation devices 
which provide analog inputs/outputs, digital inputs/outputs, and more. 
They serve as an inexpensive and easy to use interface between computers 
and the physical world. - http://www.labjack.com/


/Markus



Paper about memory speed with multi-core CPUs

2007-11-26 Thread Alexey Suslikov
Johan Mson Lindman wrote:

  http://people.redhat.com/drepper/cpumemory.pdf
 
  - Alexey.


 Is this paper from the same Drepper as is posting in the URL below?
 http://sources.redhat.com/ml/libc-alpha/2000-08/msg00053.html

Yes. But it's up to you - to leave yourself in 2000.

- Alexey.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Edd Barrett
On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
 http://www.xkcd.com/349/

 Observe the ALT text on the comic.

 Haven't seen a PR on that one...



What do they mean by this?


-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



WxWidgets warnings

2007-11-26 Thread David H. Lynch Jr.
The wxwidgets version in packages for 4.2 is fairly old - wxwidgets
2.6.3 and it was apparently built using lots of the assorted string
functions that the OpenBSD gcc pisses and moans about. If I link most
anything to wxwidets  get a raft of warnings - making it hard to see if
there are any ne wproblems that I have introduced.

I tried pulling the newer 2.8.6 version out of ports in the hope
that might be cleaner but it does not seem to build.
   
Has anyone cleaned up wxwidgets or am I stuck trying to
ignore/filter all these warnings ?

Thanks  





-- 
Dave Lynch  DLA Systems
Software Development:Embedded Linux
717.627.3770   [EMAIL PROTECTED]  http://www.dlasys.net
fax: 1.253.369.9244Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too 
numerous to list.

Any intelligent fool can make things bigger and more complex... It takes a 
touch of genius - and a lot of courage to move in the opposite direction.
Albert Einstein



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Paul Irofti
On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
 On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
  http://www.xkcd.com/349/
 
  Observe the ALT text on the comic.
 
  Haven't seen a PR on that one...
 
 
 
 What do they mean by this?
 
 
Its a joke, I think everyone experienced at least once to some extent 
installing another OS and ending up in a mess. OpenBSD is used only for
the ``only security issue'' part hinting at our slogan.

xkcd is one of the best comics that I am aware of.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread mickey
On Mon, Nov 26, 2007 at 01:55:16PM +0200, Paul Irofti wrote:
 On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
  On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
   http://www.xkcd.com/349/
  
   Observe the ALT text on the comic.
  
   Haven't seen a PR on that one...
  
  What do they mean by this?

poor dude pbly cannot do adding proper in his disklabel...
MATH WORKS BITCHES!
cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread David Vasek

On Mon, 26 Nov 2007, Paul Irofti wrote:


On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:

On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:

http://www.xkcd.com/349/

Observe the ALT text on the comic.

Haven't seen a PR on that one...




What do they mean by this?



Its a joke, I think everyone experienced at least once to some extent
installing another OS and ending up in a mess. OpenBSD is used only for
the ``only security issue'' part hinting at our slogan.


Is there OpenBSD actually mentioned anywhere?

Regards,
David



Re: Kernel problem...

2007-11-26 Thread mickey
On Sat, Nov 24, 2007 at 12:13:41PM -0300, Limaunion wrote:
 Hi misc! I upgraded my old i486 box to a _new_ pentium 166, but after
 less than 24 hours running it I got a kernel crash. I'm sending dmesg
 plus some screenshots from ps + trace + show registers.

this looks like a signal jump to a trampoline but is hard to tell
w/o poking in pcb (ps /a; x uarea*). do you get it often?

 Thanks in advance for any comment.
 Jorge.
 
 PS: I've been running memtest86+ during the las 109 hours (229 passes)
 without a single error detected.
 
 screenshot 1: http://img57.imageshack.us/img57/6695/robsd1qx8.jpg
 screenshot 2: http://img104.imageshack.us/img104/3669/robsd2xa7.jpg
 screenshot 3: http://img217.imageshack.us/img217/3852/robsd3pw3.jpg
 screenshot 4: http://img216.imageshack.us/img216/1834/robsd4nx5.jpg
 
 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 167 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
 cpu0: F00F bug workaround installed
 real mem  = 66678784 (63MB)
 avail mem = 55799808 (53MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 07/15/95, BIOS32 rev. 0 @ 0xfdb80
 apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
 apm0: APM power management enable: power management disabled (1)
 apm0: APM engage (device 1): power management disabled (1)
 apm0: AC on, battery charge unknown
 apm0: flags b0102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xf/0x1
 pcibios0: PCI BIOS has 5 Interrupt Routing table entries
 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371AB PIIX4 ISA
 rev 0x00)
 pcibios0: PCI bus #0 is the last bus
 bios0: ROM list: 0xc/0x8000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82439TX System rev 0x01
 piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x01
 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA,
 channel 0 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 0 drive 0: WDC AC310200R
 wd0: 16-sector PIO, LBA, 9787MB, 20044080 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 disabled (no drives)
 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 12
 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x01: SMBus
 disabled
 xl0 at pci0 dev 8 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 9,
 address 00:01:02:87:fc:88
 exphy0 at xl0 phy 24: 3Com internal media interface
 xl1 at pci0 dev 9 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 10,
 address 00:01:02:6e:c5:08
 exphy1 at xl1 phy 24: 3Com internal media interface
 vga1 at pci0 dev 10 function 0 S3 Trio32/64 rev 0x54
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 isa0 at piixpcib0
 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
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 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
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0: Intel UHCI root hub, rev 1.00/1.00, addr 1
 biomask f965 netmask ff65 ttymask ffe7
 pctr: 586-class performance counters and user-level cycle counter enabled
 dkcsum: wd0 matches BIOS drive 0x80
 root on wd0a swap on wd0b dump on wd0b
 WARNING: / was not properly unmounted
 

-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread David Vasek

On Mon, 26 Nov 2007, David Vasek wrote:


On Mon, 26 Nov 2007, Paul Irofti wrote:


On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:

On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:

http://www.xkcd.com/349/

Observe the ALT text on the comic.

Haven't seen a PR on that one...




What do they mean by this?



Its a joke, I think everyone experienced at least once to some extent
installing another OS and ending up in a mess. OpenBSD is used only for
the ``only security issue'' part hinting at our slogan.


Is there OpenBSD actually mentioned anywhere?


Hmm, I see. Not all browsers display properly. Source always helps. It's a 
title, not an ALT, btw.


Regards,
David



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Karl Sjodahl - dunceor
On Nov 26, 2007 1:15 PM, David Vasek [EMAIL PROTECTED] wrote:
 On Mon, 26 Nov 2007, Paul Irofti wrote:

  On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
  On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
  http://www.xkcd.com/349/
 
  Observe the ALT text on the comic.
 
  Haven't seen a PR on that one...
 
 
 
  What do they mean by this?
 
 
  Its a joke, I think everyone experienced at least once to some extent
  installing another OS and ending up in a mess. OpenBSD is used only for
  the ``only security issue'' part hinting at our slogan.

 Is there OpenBSD actually mentioned anywhere?

 Regards,
 David



Yes read the alt text of the picture.



Re: Paper about memory speed with multi-core CPUs

2007-11-26 Thread badeguruji
With all due respect to all contributors on the internet.

It seems lot of BSD/unix notes and other documentation is scattered all over 
the internet in hapzard way. which newcomers find thru google(1) and then try 
to use it. Most of the time date and version etc. is not mentioned in the 
document or the URL - which makes it difficult to realize (to a newcomer) 
whether the info is still applicable/valid? and should be used?

I guess all such contributors need to mention the date_of_publication and 
software_version_used on the top of their submission. we need to learn from 
newspaper websites who 'arrange' their stories chronologically, and a look at 
the url on these sites tell the date of the story!

just making it a habit to add the date and version on top will make it easy 
to 'index the web', and will help the newcomer to understand and decide...

I am sending it here as this can only be straightened out by some well known 
developers in the unix/linux/bsd community.

thanks again to all the techis who have ever posted 'how-2s' on the internet!

-BG


(1)in that sense googles' text search engine is also not doing a proper job. so 
it leaves some room...
 

~~Kalyan-mastu~~

- Original Message 
From: Alexey Suslikov [EMAIL PROTECTED]
To: misc@openbsd.org
Sent: Monday, November 26, 2007 4:37:18 AM
Subject: Paper about memory speed with multi-core CPUs


Johan Mson Lindman wrote:

  http://people.redhat.com/drepper/cpumemory.pdf
 
  - Alexey.


 Is this paper from the same Drepper as is posting in the URL below?
 http://sources.redhat.com/ml/libc-alpha/2000-08/msg00053.html

Yes. But it's up to you - to leave yourself in 2000.

- Alexey.



Re: updating source code from updated tarballs

2007-11-26 Thread Juan Miscaro
--- Nick Holland [EMAIL PROTECTED] wrote:

 Juan Miscaro wrote:
  --- Ingo Schwarze [EMAIL PROTECTED] wrote:
 ...
  The standard way to handle upgrades is to update the src
  on the master only, to build new release sets on the master,
  and to use the official upgrade process to install these
  new release sets on the clients.  That way, none of the
  clients will ever need source code.
  
  
  I'm embarrassed to say that I was intending to build my client
 systems
  locally.
 
 Save yourself time and work, make a release.


Well I've done that on the master and used the release to install the
client but I didn't think of using release sets to upgrade the client,
especially when it becomes a remote system.  Not sure how to do that
(upgrade via sets remotely).  Just unpack the sets?


   The ports tree can be useful though.
 
 eh.
 I keep telling myself that, but I hardly ever use it 'cept on a
 couple
 machines.  Those are usually NOT machines I'm installing packages to.
 (i.e.,  I use the ports tree on my management console machines, but
 on
 actual production machines, I never use it.  I can look at the tree
 on
 my machine I'm sitting at, rather than the machine I'm sshed into,
 find what I need to know, then pkg_add -i whatever...)


I don't get it.  How did you go from installing from the ports tree to
using pre-compiled packages (pkg_add)?


   The trouble is that when I performed a test update of this code
   there was a immense amount of downloading taking place.
   This should not have been the case.
   
  Unless you tell us what you mean by test update (cvs update?
  which server? which command, exactly?) even guessing is difficult.
 
 unanswered important question.


I use cvsup to update my sources (to STABLE):

*default release=cvs
*default tag=OPENBSD_4_2
*default host=cvsup.no.openbsd.org
*default base=/var/cvsup
*default prefix=/usr
*default delete use-rel-suffix
*default compress

OpenBSD-ports
OpenBSD-src
OpenBSD-xenocara


[snip]

Thanks for your comments.

// juan



  Looking for a X-Mas gift?  Everybody needs a Flickr Pro Account.

 

http://www.flickr.com/gift/



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Peter N. M. Hansteen
David Vasek [EMAIL PROTECTED] writes:

 Is there OpenBSD actually mentioned anywhere?

 Hmm, I see. Not all browsers display properly. Source always
 helps. It's a title, not an ALT, btw.

in the browsers I have within easy reach here (Konqueror, Firefox and
that Microsoft thing) the text only displays on mouseover

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



compaq nc6000 notebook ACPI troubles

2007-11-26 Thread Denis Doroshenko
hi!

i have some problems with getting ACPI going on the notebook.
(the same problems seems to appear for compaq 6910p [much
newer notebook] but this may be just because i need to run
amd64 port on it). i also want to point that some versions of
current were hanging up instead of instant reboot.

so the notebook crashes when i try to disable apm and
leave acpi enabled. the current is really current.
boot with verbose looks like the example attached at
the bottom.

also these notebooks seem to have some bad carma
WRT ACPI, as acpidump crashes with:

assertion dp == end failed: file
/data/src/usr.sbin/acpidump/asl_dump.c, line 703, function
asl_dump_defif
Abort trap (core dumped)

if somebody is interested and can help somehow,
please contact me, i will do any debugging necessary.

dmesg with acpi enabled crash followed by the normal boot:

OpenBSD 4.2-current (GENERIC) #0: Mon Nov 26 13:35:46 EET 2007
[EMAIL PROTECTED]:/data/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel
686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 536244224 (511MB)
avail mem = 510619648 (486MB)
User Kernel Config
UKC disable apm
316 apm0 disabled
UKC verbose
autoconf verbose enabled
UKC exit
Continuing...
 probing for mainbus0
 mainbus probe returned 1
mainbus0 at root
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for bios0
 bios probe returned 1
 probing for cpu0
 cpu probe returned 0
 probing for acpi0
 acpi probe returned 0
 probing for esm0
 esm probe returned 0
 bios probe won
bios0 at mainbus0: AT/286+ BIOS, date 12/12/03, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.3 @ 0xff0dc (29 entries)
bios0: vendor Hewlett-Packard version 68BDD Ver. F.09 date 12/12/2003
bios0: Hewlett-Packard HP Compaq nc6000 (DJ256A#ABB)
 probing for pcibios0
 pcibios probe returned 0
 no winning probe
apm at bios0 function 0x15 not configured
 probing for pcibios0
 pcibios probe returned 1
 pcibios probe won
pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0840/160 (8 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf51c0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801DBM LPC rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0x1
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for cpu0
 cpu probe returned 0
 probing for acpi0
 acpi probe returned 1
 probing for esm0
 esm probe returned 0
 acpi probe won
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices C058(S5) C0AD(S3) C0B4(S3) C0B5(S3) C0B6(S3)
 probing for acpitimer*
 acpitimer probe returned 1
 probing for acpiac*
 acpiac probe returned 0
 probing for acpibat*
 acpibat probe returned 0
 probing for acpibtn*
 acpibtn probe returned 0
 probing for acpicpu*
 acpicpu probe returned 0
 probing for acpihpet*
 acpihpet probe returned 0
 probing for acpiec*
 acpiec probe returned 0
 probing for acpitz*
 acpitz probe returned 0
 probing for acpiprt*
 acpiprt probe returned 0
 acpitimer probe won
acpitimer0 at acpi0: 3579545 Hz, 24 bits
 probing for acpitimer*
 acpitimer probe returned 0
 probing for acpiac*
 acpiac probe returned 0
 probing for acpibat*
 acpibat probe returned 0
 probing for acpibtn*
 acpibtn probe returned 0
 probing for acpicpu*
 acpicpu probe returned 0
 probing for acpihpet*
 acpihpet probe returned 0
 probing for acpiec*
 acpiec probe returned 0
 probing for acpitz*
 acpitz probe returned 0
 probing for acpiprt*
 acpiprt probe returned 0
 no winning probe
 probing for acpitimer*
 acpitimer probe returned 0
 probing for acpiac*
 acpiac probe returned 0
 probing for acpibat*
 acpibat probe returned 0
 probing for acpibtn*
 acpibtn probe returned 0
 probing for acpicpu*
 acpicpu probe returned 0
 probing for acpihpet*
 acpihpet probe returned 0
 probing for acpiec*
 acpiec probe returned 0
 probing for acpitz*
 acpitz probe returned 0
 probing for acpiprt*
 acpiprt probe returned 0
 no winning probe
 probing for acpitimer*
 acpitimer probe returned 0
 probing for acpiac*
 acpiac probe returned 0
 probing for acpibat*
 acpibat probe returned 0
 probing for acpibtn*
 acpibtn probe returned 0
 probing for acpicpu*
 acpicpu probe returned 0
 probing for acpihpet*
 acpihpet probe returned 0
 probing for acpiec*
 acpiec probe returned 0
 probing for acpitz*
 acpitz probe returned 0
 probing for acpiprt*
 acpiprt probe returned 0
 no winning probe
OpenBSD 4.2-current (GENERIC) #0: Mon Nov 26 13:35:46 EET 2007
[EMAIL PROTECTED]:/data/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel
686-class) 1.60 GHz
cpu0: 

Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread frantisek holop
hmm, on Mon, Nov 26, 2007 at 02:19:41PM +0100, Peter N. M. Hansteen said that
 David Vasek [EMAIL PROTECTED] writes:
 
  Is there OpenBSD actually mentioned anywhere?
 
  Hmm, I see. Not all browsers display properly. Source always
  helps. It's a title, not an ALT, btw.
 
 in the browsers I have within easy reach here (Konqueror, Firefox and
 that Microsoft thing) the text only displays on mouseover

that's what title= is for...

a botched dual install, making the artist suffer,
and voila we have art.  disk partitioning legacies
will be humankind's downfall eventually.


but can't call yerself a unix guru if havent fu*ed up
dual boot at least once :]

-f
-- 
if you have to travel on a titanic, why not go first class?



src tree broken or cvs repo out of sync?

2007-11-26 Thread Didier Wiroth
Hello,

I updated my src tree (current sources) this morning and updated it a few 
times this afternoon but I'm not able to build the kernel anymore, is anyone 
else experiencing this issue?
I'm able to reproduce this on another PC where I updated the source too.

cd /usr/src/sys/arch/amd64/conf  /usr/bin/sudo config GENERIC
../../../../conf/files:995: syntax error
../../../../conf/files:996: syntax error
../../../../conf/files:997: syntax error
../../../../conf/files:998: syntax error
../../../../conf/files:999: syntax error
../../../../conf/files:1000: syntax error
../../../../conf/files:1001: syntax error
../../../../conf/files:1002: syntax error
../../../../conf/files:1003: syntax error
../../../../conf/files:1004: syntax error
../../../../conf/files:1005: syntax error
../../../../conf/files:1006: syntax error
../../../../conf/files:1007: syntax error
../../../../conf/files:1008: syntax error
../../../../conf/files:1009: syntax error
../../../../conf/files:1010: syntax error
../../../../conf/files:1011: syntax error
../../../../conf/files:1012: syntax error
../../../../conf/files:1013: syntax error
../../../../conf/files:1014: syntax error
../../../../conf/files:1015: syntax error
../../../../conf/files:1016: syntax error
../../../../conf/files:1017: syntax error
../../../../conf/files:1018: syntax error
../../../../conf/files:1019: syntax error
../../../../conf/files:1020: syntax error
../../../../conf/files:1021: syntax error
../../../../conf/files:1022: syntax error
../../../../conf/files:1023: syntax error
../../../../conf/files:1024: syntax error
../../../../conf/files:1025: syntax error
../../../../conf/files:1026: syntax error
../../../../conf/files:1027: syntax error
../../../../conf/files:1028: syntax error
*** Stop.
*** Error code 1

Thx for the help
Didier



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread David Vasek

On Mon, 26 Nov 2007, Peter N. M. Hansteen wrote:


David Vasek [EMAIL PROTECTED] writes:


Is there OpenBSD actually mentioned anywhere?


Hmm, I see. Not all browsers display properly. Source always
helps. It's a title, not an ALT, btw.


in the browsers I have within easy reach here (Konqueror, Firefox and
that Microsoft thing) the text only displays on mouseover


The Lynx displays only 'alt', not 'title', texts. Old Netscape Navigators
display only alt text on mouseover and no title, too. Quite likely others.
Some do, some don't. I saw only BSD in the cartoon, nothing about OpenBSD
anywhere. My fault, sorry. We are getting off-topic now.

Regards,
David



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Gilles Chehade
frantisek holop a icrit :
 hmm, on Mon, Nov 26, 2007 at 02:19:41PM +0100, Peter N. M. Hansteen said that
   
 David Vasek [EMAIL PROTECTED] writes:

 
 Is there OpenBSD actually mentioned anywhere?
 
 Hmm, I see. Not all browsers display properly. Source always
 helps. It's a title, not an ALT, btw.
   
 in the browsers I have within easy reach here (Konqueror, Firefox and
 that Microsoft thing) the text only displays on mouseover
 

 that's what title= is for...

 a botched dual install, making the artist suffer,
 and voila we have art.  disk partitioning legacies
 will be humankind's downfall eventually.


 but can't call yerself a unix guru if havent fu*ed up
 dual boot at least once :]

 -f
   
i did fu*k up a fair amount of dual boots but i've not reached guru
status yet ;-)

Gilles

-- 
SCHNEIER FACT #128:
  Bruce Schneier's skin has no pores. Pores are vulnerabilities.



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Martin Reindl
On Mon, Nov 26, 2007 at 04:27:36PM +0100, Didier Wiroth wrote:
 Hello,
 
 I updated my src tree (current sources) this morning and updated it a few 
 times this afternoon but I'm not able to build the kernel anymore, is anyone 
 else experiencing this issue?
 I'm able to reproduce this on another PC where I updated the source too.
 

Someone is slacking and did not put up a note about config(8) changes on
http://www.openbsd.org/faq/current.html. Rebuild your config(8).



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Hannah Schroeter
Hi!

On Mon, Nov 26, 2007 at 04:27:36PM +0100, Didier Wiroth wrote:
I updated my src tree (current sources) this morning and updated it a few 
times this afternoon but I'm not able to build the kernel anymore, is anyone 
else experiencing this issue?

If you want to recompile current from source, it's useful to track
source-changes.

Then you'll see that config(8) has changed.

So re-compile config (from /usr/src/usr.sbin/config) first (make obj,
make cleandir, make depend, make, make install), then remove the compile
dir, then re-run config.

I'm able to reproduce this on another PC where I updated the source too.

cd /usr/src/sys/arch/amd64/conf  /usr/bin/sudo config GENERIC
../../../../conf/files:995: syntax error
[...]

Kind regards,

Hannah.



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Reyk Floeter
On Mon, Nov 26, 2007 at 04:27:36PM +0100, Didier Wiroth wrote:
 Hello,
 
 I updated my src tree (current sources) this morning and updated it a few 
 times this afternoon but I'm not able to build the kernel anymore, is anyone 
 else experiencing this issue?
 I'm able to reproduce this on another PC where I updated the source too.
 

you're out of sync. for example, update src/usr.sbin/config to -current

 cd /usr/src/sys/arch/amd64/conf  /usr/bin/sudo config GENERIC
 ../../../../conf/files:995: syntax error
 ../../../../conf/files:996: syntax error
 ../../../../conf/files:997: syntax error
 ../../../../conf/files:998: syntax error
 ../../../../conf/files:999: syntax error
 ../../../../conf/files:1000: syntax error
 ../../../../conf/files:1001: syntax error
 ../../../../conf/files:1002: syntax error
 ../../../../conf/files:1003: syntax error
 ../../../../conf/files:1004: syntax error
 ../../../../conf/files:1005: syntax error
 ../../../../conf/files:1006: syntax error
 ../../../../conf/files:1007: syntax error
 ../../../../conf/files:1008: syntax error
 ../../../../conf/files:1009: syntax error
 ../../../../conf/files:1010: syntax error
 ../../../../conf/files:1011: syntax error
 ../../../../conf/files:1012: syntax error
 ../../../../conf/files:1013: syntax error
 ../../../../conf/files:1014: syntax error
 ../../../../conf/files:1015: syntax error
 ../../../../conf/files:1016: syntax error
 ../../../../conf/files:1017: syntax error
 ../../../../conf/files:1018: syntax error
 ../../../../conf/files:1019: syntax error
 ../../../../conf/files:1020: syntax error
 ../../../../conf/files:1021: syntax error
 ../../../../conf/files:1022: syntax error
 ../../../../conf/files:1023: syntax error
 ../../../../conf/files:1024: syntax error
 ../../../../conf/files:1025: syntax error
 ../../../../conf/files:1026: syntax error
 ../../../../conf/files:1027: syntax error
 ../../../../conf/files:1028: syntax error
 *** Stop.
 *** Error code 1
 
 Thx for the help
 Didier



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Mark Patruck
You noticed Theos' work on libkern?

http://marc.info/?l=openbsd-cvsm=119601531025980w=2

You need to rebuild /usr/sbin/config, but perhaps wait until
it's official

-Mark

On Mon, Nov 26, 2007 at 04:27:36PM +0100, Didier Wiroth wrote:
 Hello,
 
 I updated my src tree (current sources) this morning and updated it a few 
 times this afternoon but I'm not able to build the kernel anymore, is anyone 
 else experiencing this issue?
 I'm able to reproduce this on another PC where I updated the source too.
 
 cd /usr/src/sys/arch/amd64/conf  /usr/bin/sudo config GENERIC
 ../../../../conf/files:995: syntax error
 ../../../../conf/files:996: syntax error
 ../../../../conf/files:997: syntax error
 ../../../../conf/files:998: syntax error
 ../../../../conf/files:999: syntax error
 ../../../../conf/files:1000: syntax error
 ../../../../conf/files:1001: syntax error
 ../../../../conf/files:1002: syntax error
 ../../../../conf/files:1003: syntax error
 ../../../../conf/files:1004: syntax error
 ../../../../conf/files:1005: syntax error
 ../../../../conf/files:1006: syntax error
 ../../../../conf/files:1007: syntax error
 ../../../../conf/files:1008: syntax error
 ../../../../conf/files:1009: syntax error
 ../../../../conf/files:1010: syntax error
 ../../../../conf/files:1011: syntax error
 ../../../../conf/files:1012: syntax error
 ../../../../conf/files:1013: syntax error
 ../../../../conf/files:1014: syntax error
 ../../../../conf/files:1015: syntax error
 ../../../../conf/files:1016: syntax error
 ../../../../conf/files:1017: syntax error
 ../../../../conf/files:1018: syntax error
 ../../../../conf/files:1019: syntax error
 ../../../../conf/files:1020: syntax error
 ../../../../conf/files:1021: syntax error
 ../../../../conf/files:1022: syntax error
 ../../../../conf/files:1023: syntax error
 ../../../../conf/files:1024: syntax error
 ../../../../conf/files:1025: syntax error
 ../../../../conf/files:1026: syntax error
 ../../../../conf/files:1027: syntax error
 ../../../../conf/files:1028: syntax error
 *** Stop.
 *** Error code 1
 
 Thx for the help
 Didier
 

-- 
Mark Patruck (mark at wrapped.cx)
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51



Re: Paper about memory speed with multi-core CPUs

2007-11-26 Thread Artur Grabowski
Alexey Suslikov [EMAIL PROTECTED] writes:

 Johan Mson Lindman wrote:
 
   http://people.redhat.com/drepper/cpumemory.pdf
  
   - Alexey.
 
 
  Is this paper from the same Drepper as is posting in the URL below?
  http://sources.redhat.com/ml/libc-alpha/2000-08/msg00053.html
 
 Yes. But it's up to you - to leave yourself in 2000.

No, it's up to him to leave himself in 2000. We've moved ahead since then
while glibc is now the only modern libc that doesn't have strl*.

Never trust the wisdom of someone who's stupid.

//art



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Mats O Jansson
This is due to changes in the config files, but your config doesn't know
the syntax. Recompile usr.sbin/config and install it before running
config.

-moj

On Mon, 26 Nov 2007, Didier Wiroth wrote:

 Hello,
 
 I updated my src tree (current sources) this morning and updated it a few 
 times this afternoon but I'm not able to build the kernel anymore, is anyone 
 else experiencing this issue?
 I'm able to reproduce this on another PC where I updated the source too.
 
 cd /usr/src/sys/arch/amd64/conf  /usr/bin/sudo config GENERIC
 ../../../../conf/files:995: syntax error
 ../../../../conf/files:996: syntax error
 ../../../../conf/files:997: syntax error
 ../../../../conf/files:998: syntax error
 ../../../../conf/files:999: syntax error
 ../../../../conf/files:1000: syntax error
 ../../../../conf/files:1001: syntax error
 ../../../../conf/files:1002: syntax error
 ../../../../conf/files:1003: syntax error
 ../../../../conf/files:1004: syntax error
 ../../../../conf/files:1005: syntax error
 ../../../../conf/files:1006: syntax error
 ../../../../conf/files:1007: syntax error
 ../../../../conf/files:1008: syntax error
 ../../../../conf/files:1009: syntax error
 ../../../../conf/files:1010: syntax error
 ../../../../conf/files:1011: syntax error
 ../../../../conf/files:1012: syntax error
 ../../../../conf/files:1013: syntax error
 ../../../../conf/files:1014: syntax error
 ../../../../conf/files:1015: syntax error
 ../../../../conf/files:1016: syntax error
 ../../../../conf/files:1017: syntax error
 ../../../../conf/files:1018: syntax error
 ../../../../conf/files:1019: syntax error
 ../../../../conf/files:1020: syntax error
 ../../../../conf/files:1021: syntax error
 ../../../../conf/files:1022: syntax error
 ../../../../conf/files:1023: syntax error
 ../../../../conf/files:1024: syntax error
 ../../../../conf/files:1025: syntax error
 ../../../../conf/files:1026: syntax error
 ../../../../conf/files:1027: syntax error
 ../../../../conf/files:1028: syntax error
 *** Stop.
 *** Error code 1
 
 Thx for the help
 Didier



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Artur Grabowski
frantisek holop [EMAIL PROTECTED] writes:

 but can't call yerself a unix guru if havent fu*ed up
 dual boot at least once :]

never fucked up a dual boot. Only tried it two times and both times it
worked. Dual boot is for sissies who can't get a second machine.

//art



Re: IP over Simulated Radio/Satellite Channels

2007-11-26 Thread Olaf Schreck
 In an effort to port a Performance Enhancing Proxy (PEP, see scps.org)
 to OpenBSD, I am looking at ways to simulate radio channels at IP
 level with loss rate, delay and jitter. 

Not sure whether it fits your purpose, but honeyd can _simulate_ that.

http://www.citi.umich.edu/u/provos/honeyd/


ciao,
chakl



Hardware support IDE to USB adapter

2007-11-26 Thread Pieter Verberne
Hi all,

a few months ago I bought a Western Digital extern USB harddisk. It
worked with OpenBSD for the first x minutes, but stoped working with an
dmesg-error: Umass0 Phase Error, residue=0

reference to earlier post:
http://archives.neohapsis.com/archives/openbsd/2007-08/1215.html

I think this might be caused by the SATA to USB device-part
(adapter/controller/host?) so I was thinking about buying a SATA to
USB adapter. Ofcourse I want to be sure it works.

My local computer store has this one:
http://www.conceptronic.net/site/desktopdefault.aspx?tabindex=0tabid=200Cat=30grp=3030ar=372Prod_ID=1696Prod=CSATAI23U

I think most of you just would say; it should work. However, it might
be usefull to make a dedicated webpage of not supported/problematic
hardware.

Could buying such an adapter solve my problem? Or even better: Does
someone know how te solve my initial problem?

Pieter Verberne



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Didier Wiroth
On Monday 26 November 2007 17:09:21 Urankar Mikakl wrote:
 hi,

 same things here. go to /usr/src/usr.sbin/config and
 do make clean ; make depend; make ; make install
 'config' works fine after these steps

 cheers,

 Mikael
Ok, it's fixed now.
Thank you all!!!



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Nick Guenther
On 11/26/07, mickey [EMAIL PROTECTED] wrote:
 On Mon, Nov 26, 2007 at 01:55:16PM +0200, Paul Irofti wrote:
  On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
   On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
http://www.xkcd.com/349/
   
Observe the ALT text on the comic.
   
Haven't seen a PR on that one...
  
   What do they mean by this?

 poor dude pbly cannot do adding proper in his disklabel...
 MATH WORKS BITCHES!

'poor dude' probably never even tried... did you actually read the comic?
meh. I find it more interesting that BSD appearently defaults to
OpenBSD and not FreeBSD here.

-Nick



Re: src tree broken or cvs repo out of sync?

2007-11-26 Thread Artur Grabowski
Didier Wiroth [EMAIL PROTECTED] writes:

 Hello,
 
 I updated my src tree (current sources) this morning and updated it a few 
 times this afternoon but I'm not able to build the kernel anymore, is anyone 
 else experiencing this issue?
 I'm able to reproduce this on another PC where I updated the source too.

You need to rebuild usr.sbin/config before you can configure a  new kernel.

//art

 cd /usr/src/sys/arch/amd64/conf  /usr/bin/sudo config GENERIC
 ../../../../conf/files:995: syntax error
 ../../../../conf/files:996: syntax error
 ../../../../conf/files:997: syntax error
 ../../../../conf/files:998: syntax error
 ../../../../conf/files:999: syntax error
 ../../../../conf/files:1000: syntax error
 ../../../../conf/files:1001: syntax error
 ../../../../conf/files:1002: syntax error
 ../../../../conf/files:1003: syntax error
 ../../../../conf/files:1004: syntax error
 ../../../../conf/files:1005: syntax error
 ../../../../conf/files:1006: syntax error
 ../../../../conf/files:1007: syntax error
 ../../../../conf/files:1008: syntax error
 ../../../../conf/files:1009: syntax error
 ../../../../conf/files:1010: syntax error
 ../../../../conf/files:1011: syntax error
 ../../../../conf/files:1012: syntax error
 ../../../../conf/files:1013: syntax error
 ../../../../conf/files:1014: syntax error
 ../../../../conf/files:1015: syntax error
 ../../../../conf/files:1016: syntax error
 ../../../../conf/files:1017: syntax error
 ../../../../conf/files:1018: syntax error
 ../../../../conf/files:1019: syntax error
 ../../../../conf/files:1020: syntax error
 ../../../../conf/files:1021: syntax error
 ../../../../conf/files:1022: syntax error
 ../../../../conf/files:1023: syntax error
 ../../../../conf/files:1024: syntax error
 ../../../../conf/files:1025: syntax error
 ../../../../conf/files:1026: syntax error
 ../../../../conf/files:1027: syntax error
 ../../../../conf/files:1028: syntax error
 *** Stop.
 *** Error code 1
 
 Thx for the help
 Didier



Re: OpenBSD on VMware

2007-11-26 Thread Doug Fordham
Lurk Off:

On Nov 26, 2007 2:41 AM, Xavier Mertens [EMAIL PROTECTED] wrote:
 Ok, the only fix that explains my issue is this one:

 This release fixes a problem that resulted from a conflict between Linux
 guest operating systems with kernel version 2.6.21 and RTC-related processes
 on the host. This problem caused the virtual machine to quit unexpectedly.

Not really...you did say you are running an OBSD virtual machine
right? Not sure how the leap to a fix for linux applies.

Suggest that you establish a communications channel with the VMWare
server admin to discuss the dynamics of your problem. You state you
know only that VMWare Server version 1.0.3 on some MS OS is used to
host the virtual machines. You need to know a little more than that in
order to properly diagnose your problem; i.e.:
- Specifically what MS OS, MS Server (version), XP Pro, VISTA...etc.
is running on the host; and patch level.
- What hardware is utilized, and are all relevant driver updates applied?
- Virtual Machine configuration -- how is the VM configured to use the
host resources? Memory, hardware, networking, etc.
- Logs -- host and guest (Logging is enabled on the OBSD guest right?)
Biggest thing, again, is communication with the VMWare server admin,
and the consideration of all factors -- software and hardware in the
pursuit of a possible solution.

Lurk On:

 Could you give me more details? As the VMware server is not under my
 control, I need to have good arguments to ask them to upgrade! :(

 /x

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
 PowerBSD

 Sent: lundi 26 novembre 2007 8:33
 To: misc@openbsd.org
 Subject: Re: OpenBSD on VMware

 On Mon, Nov 26, 2007 at 08:15:03AM +0100, Xavier Mertens wrote:
  It's a VMware server 1.0.3. I've no more info about the config.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
  Of PowerBSD
  Sent: lundi 26 novembre 2007 8:17
  To: misc@openbsd.org
  Subject: Re: OpenBSD on VMware
 
  On Mon, Nov 26, 2007 at 07:56:16AM +0100, Xavier Mertens wrote:
   Hi *,
  
   I'm running a 4.1-GENERIC on a VMware server (the VMare host runs a
   Microsoft Windows OS).
   I've no access to the VMware server.
  
   At random time, the server is just powered off (that's the
   feedback I always received from the VMware server administrator).
   There is nothing in logs and as the server is off, the console is
   not available anymore. :(
  
   Does somebody already experienced such issue? Any tips to run OBSD
   as VMware guest?
  
   Regards,
   Xavier
  
   PS: I'm using pcn as network driver. Maybe vmnet could increase
   performance and/or stability?
 
  I always runs openbsd on vmware , but the vware version is workstation
  6.0.2.59824 .
 
  you may post your vmware server version.
 
 read this link :

 http://www.vmware.com/support/server/doc/releasenotes_server.html#resolved



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread V. Karthik Kumar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Artur Grabowski wrote:
 frantisek holop [EMAIL PROTECTED] writes:

 but can't call yerself a unix guru if havent fu*ed up
 dual boot at least once :]

 never fucked up a dual boot. Only tried it two times and both times it
 worked. Dual boot is for sissies who can't get a second machine.


Either you knew everything then or you got incredibly lucky. Lots of
times, you aren't lucky even if you knew it all. Maybe if it all went
wrong, you'd have lost all partitions and would be to blame. We all
learn from mistakes and there is absolutely nothing wrong about
getting it wrong. :-)

 //art
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHSvz5RzTnZfDdIE8RAi6HAKCd7ZHd/bmpxnuGX3gNTSSJUAMF0gCfRmLs
LdUsOcckiN/iM66QO4hDC/4=
=6T4E
-END PGP SIGNATURE-



Re: Hardware support IDE to USB adapter

2007-11-26 Thread Theo de Raadt
 a few months ago I bought a Western Digital extern USB harddisk. It
 worked with OpenBSD for the first x minutes, but stoped working with an
 dmesg-error: Umass0 Phase Error, residue=0
 
 reference to earlier post:
 http://archives.neohapsis.com/archives/openbsd/2007-08/1215.html
 
 I think this might be caused by the SATA to USB device-part
 (adapter/controller/host?) so I was thinking about buying a SATA to
 USB adapter. Ofcourse I want to be sure it works.

A recent change may solve problems for machines that also had cardbus
bridges on them.

 I think most of you just would say; it should work. However, it might
 be usefull to make a dedicated webpage of not supported/problematic
 hardware.

I don't think we'll ever write such a page.  You have to look it from
the other side.  Such a page will be a list of avoid, and will hurt
our users rather than helping them.

Buy a bad device? Why not give a shot at fixing it.  It's not hard to
learn.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread mickey
On Mon, Nov 26, 2007 at 05:14:50PM +0100, Artur Grabowski wrote:
 frantisek holop [EMAIL PROTECTED] writes:
 
  but can't call yerself a unix guru if havent fu*ed up
  dual boot at least once :]
 
 never fucked up a dual boot. Only tried it two times and both times it
 worked. Dual boot is for sissies who can't get a second machine.

doh!
i have more than one and i dual-boot most of 'em (:
cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Artur Grabowski
V. Karthik Kumar [EMAIL PROTECTED] writes:

 Artur Grabowski wrote:
  frantisek holop [EMAIL PROTECTED] writes:
 
  but can't call yerself a unix guru if havent fu*ed up
  dual boot at least once :]
 
  never fucked up a dual boot. Only tried it two times and both times it
  worked. Dual boot is for sissies who can't get a second machine.
 
 
 Either you knew everything then or you got incredibly lucky. Lots of
 times, you aren't lucky even if you knew it all. Maybe if it all went
 wrong, you'd have lost all partitions and would be to blame. We all
 learn from mistakes and there is absolutely nothing wrong about
 getting it wrong. :-)

no, the wrong part is in actually trying. :)

//art



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Mark Mathias
On Nov 26, 2007 5:20 AM, Richard Wilson [EMAIL PROTECTED] wrote:
 http://www.xkcd.com/349/

 Observe the ALT text on the comic.

 Haven't seen a PR on that one...



You have to mess up your dual boot pretty bad to end up with the shark
attack bug

-- 
Mark Mathias



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread frantisek holop
hmm, on Mon, Nov 26, 2007 at 05:14:50PM +0100, Artur Grabowski said that
 worked. Dual boot is for sissies who can't get a second machine.

single boot is for sissies who drag around 3 notebooks with themselves :p


-f
-- 
unicorns aren't myth, virgins are!



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread frantisek holop
hmm, on Mon, Nov 26, 2007 at 11:14:29AM -0500, Nick Guenther said that
 'poor dude' probably never even tried... did you actually read the comic?
 meh. I find it more interesting that BSD appearently defaults to
 OpenBSD and not FreeBSD here.

it's for the massses.  still more people know bsd
than any of the bsd's by name.

or perhaps the fear that all the ./ crowd will stop reading
the comics if the author sees the openbsd light...

i hope i will live to see the day when openbsd is in penny arcade :]

-f
-- 
anything is possible, unless it's not.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Johan Mson Lindman
On Monday 26 November 2007 18:37:05 you wrote:
 V. Karthik Kumar [EMAIL PROTECTED] writes:
  Artur Grabowski wrote:
   frantisek holop [EMAIL PROTECTED] writes:
   but can't call yerself a unix guru if havent fu*ed up
   dual boot at least once :]
  
   never fucked up a dual boot. Only tried it two times and both times it
   worked. Dual boot is for sissies who can't get a second machine.
 
  Either you knew everything then or you got incredibly lucky. Lots of
  times, you aren't lucky even if you knew it all. Maybe if it all went
  wrong, you'd have lost all partitions and would be to blame. We all
  learn from mistakes and there is absolutely nothing wrong about
  getting it wrong. :-)

 no, the wrong part is in actually trying. :)

 //art


W/ recent changes to bootloader why _shouldn't_ you dualboot
i386 and amd64 on your amd64 laptop? ;-P


Regards
Johan M:son Linfman



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Tonnerre LOMBARD
Salut,

On Mon, Nov 26, 2007 at 04:49:20PM +0100, David Vasek wrote:
 The Lynx displays only 'alt', not 'title', texts. Old Netscape Navigators

That behavior is actually correct since title= is for annotations to the
image while alt= is for the case when the image cannot at all be displayed.
(I'm sure that's not really OpenBSD related though.)

Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]



Cardbus does not work on Sony SZ460N

2007-11-26 Thread Rob Lytle
Hi,

Cardbus/pcmcia is dead on my laptop.  I think I have identified the
dmesg lines that shows what happens.  But I don't know why:

cbb0: bad Vcc request. sock_ctrl 0xff88, sock_status 0xfff
cardslot0 at cbb0 slot 0 flags 0

Here is my complete dmesg.  Please ignore all the azalia stuff as I
have its debug turned on.   Note the same dmesg lines and behavior
were observed with the GENERIC kernel.  Also, no leds turn on with any
pcmcia device I've tried so it seems that cards are not getting any
power.

Thanks,  Rob
-

OpenBSD 4.2-current (ROBKERN-PATCH) #0: Fri Nov 23 13:28:53 PST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ROBKERN-PATCH
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR
real mem  = 2145415168 (2046MB)
avail mem = 2067054592 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0, SMBIOS
rev. 2.4 @ 0xdc010 (19 entries)
bios0: vendor Phoenix Technologies LTD version R0112N0 date 04/12/2007
bios0: Sony Corporation VGN-SZ460N
pcibios0 at bios0: rev 2.1 @ 0xfdbd0/0x430
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #10 is the last bus
bios0: ROM list: 0xc/0xf000 0xdc000/0x4000! 0xe/0x1c00!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT SSDT S
SDT
acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) S1F5
(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB
7(S3) SLT0(S4) EC0_(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 6 (RP02)
acpiprt4 at acpi0: bus 7 (RP03)
acpiprt5 at acpi0: bus 8 (RP04)
acpiprt6 at acpi0: bus 9 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C2
acpicpu1 at acpi0: C2
acpitz0 at acpi0: critical temperature 99 degC
acpitz1 at acpi0: critical temperature 100 degC
acpitz2 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibat0 at acpi0: BAT1 type LION oem Sony Corp.
acpiac0 at acpi0: AC unit online
acpidock at acpi0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x060b0c2206000c22
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1244 mV): speeds: 2000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x01d8 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 4999
azalia_attach: reset counter = 4986
azalia0: found a codec at #0
azalia0: found a codec at #1
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: codec[0] vid 0x83847662, subid 0x81e6104d, rev. 2.1, HDA version 1.0
azalia_codec_init: nidstart=1 #functions=1
azalia_codec_init: FTYPE result = 0x0101
azalia_codec_init: There are 23 widgets in the audio function.
encodings=1PCM
PCM formats=e07e024bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,
44.1kHz
inamp: mute=1 size=5 steps=15 offset=0
outamp: mute=1 size=2 steps=127 offset=127
gpio: wake=1 unsol=1 gpis=0 gpos=0 gpios=5
azalia0: dac02 wcap=d0c05LRSWAP,POWER,OUTAMP,STEREO
azalia0: dac03 wcap=d0c05LRSWAP,POWER,OUTAMP,STEREO
azalia0: dac04 wcap=d0c05LRSWAP,POWER,OUTAMP,STEREO
azalia0: dac05 wcap=d0c05LRSWAP,POWER,OUTAMP,STEREO
azalia0: adc06 wcap=1d0541POWER,CONNLIST,PROC,STEREO
connections=0x7; selected=0x7
azalia0: sel07 wcap=300903LRSWAP,CONNLIST,INAMP,STEREO
connections=0xe; selected=0xe
azalia0: adc08 wcap=1d0541POWER,CONNLIST,PROC,STEREO
connections=0x9; selected=0x9
azalia0: sel09 wcap=300903LRSWAP,CONNLIST,INAMP,STEREO
connections=0x15; selected=0x15
azalia0: black0a wcap=400181CONNLIST,UNSOL,STEREO
cap=173cVREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE
[02/00] color=black device=headphones conn=jack conntype=1/8
location=left chassis=external special=none
connections=0x2; selected=0x2
azalia0: black0b 

Re: ntpd doesn't sync clock reliably anymore on 4.2

2007-11-26 Thread Tasmanian Devil
 In fact the clock of that machine isn't that bad

The clock seems to be worse than I thought. I'll replace the crystal
oscillator on that mainboard and see if that helps.

Sorry for the noise!

Tas.



Re: Hoststated and stickiness based on cookie strings

2007-11-26 Thread Preston Norvell
Thanks much.  We're working on getting it compiled and tested.

Assuming testing goes well, our last major hurdle is the deterministic
portion of the load balancing, which it sounds like you are thinking about
already.

Thanks much again,

;P mn


On 2007/11/22 8:09 AM, Reyk Floeter [EMAIL PROTECTED] muttered
eloquently:

 ok, forget about this diff - i committed the first part (roundrobin)
 but skipped the loadbalance part because it is wrong to look at the
 client port in this case (because i want to provide session
 persistence).
 
 On Thu, Nov 22, 2007 at 12:51:10PM +0100, Reyk Floeter wrote:
 - please try the attached diff, it will fix the roundrobin mode by
 saving the last index and traversing to the next available host.
 
 (you can also have a look at my little test program to verify the alg:
 http://team.vantronix.net/~reyk/q.c)
 
 - i'm also looking into improving the loadbalance mode. the attached
 diff includes the source port in loadbalance mode and the destination
 (relay) port in loadbalance and hash mode. make also sure that you
 feed in other variables if you want to get better results, for example
 
 request hash Host
 
 to feed the virtual hostname into the hash/loadbalance hash.
 
 reyk
 
 Index: hoststated.h
 ===
 RCS file: /cvs/src/usr.sbin/hoststated/hoststated.h,v
 retrieving revision 1.81
 diff -u -p -r1.81 hoststated.h
 --- hoststated.h 22 Nov 2007 10:09:53 - 1.81
 +++ hoststated.h 22 Nov 2007 11:45:00 -
 @@ -327,6 +327,7 @@ struct host {
 u_longup_cnt;
 intretry_cnt;
 struct ctl_tcp_event  cte;
 + intidx;
  };
  TAILQ_HEAD(hostlist, host);
  
 Index: relay.c
 ===
 RCS file: /cvs/src/usr.sbin/hoststated/relay.c,v
 retrieving revision 1.65
 diff -u -p -r1.65 relay.c
 --- relay.c 22 Nov 2007 10:09:53 - 1.65
 +++ relay.c 22 Nov 2007 11:45:01 -
 @@ -463,6 +463,7 @@ relay_init(void)
 if (rlay-dstnhosts = RELAY_MAXHOSTS)
 fatal(relay_init: 
too many hosts in table);
 +host-idx = rlay-dstnhosts;
 rlay-dsthost[rlay-dstnhosts++] = host;
 }
 log_info(adding %d hosts from table %s%s,
 @@ -1876,10 +1877,14 @@ relay_hash_addr(struct sockaddr_storage
 sin4 = (struct sockaddr_in *)ss;
 p = hash32_buf(sin4-sin_addr,
sizeof(struct in_addr), p);
 +  p = hash32_buf(sin4-sin_port,
 +  sizeof(struct in_addr), p);
 } else {
 sin6 = (struct sockaddr_in6 *)ss;
 p = hash32_buf(sin6-sin6_addr,
sizeof(struct in6_addr), p);
 +  p = hash32_buf(sin6-sin6_port,
 +  sizeof(struct in6_addr), p);
 }
  
 return (p);
 @@ -1903,7 +1908,7 @@ relay_from_table(struct session *con)
 case RELAY_DSTMODE_ROUNDROBIN:
 if ((int)rlay-dstkey = rlay-dstnhosts)
 rlay-dstkey = 0;
 -  idx = (int)rlay-dstkey++;
 +  idx = (int)rlay-dstkey;
 break;
 case RELAY_DSTMODE_LOADBALANCE:
 p = relay_hash_addr(con-in.ss, p);
 @@ -1933,6 +1938,8 @@ relay_from_table(struct session *con)
 fatalx(relay_from_table: no active hosts, desynchronized);
  
   found:
 + if (rlay-conf.dstmode == RELAY_DSTMODE_ROUNDROBIN)
 +  rlay-dstkey = host-idx + 1;
 con-retry = host-conf.retry;
 con-out.port = table-conf.port;
 bcopy(host-conf.ss, con-out.ss, sizeof(con-out.ss));
 

--
Preston M Norvell [EMAIL PROTECTED]
Systems/Network Administrator
Serials Solutions http://www.serialssolutions.com
Phone:  (866) SERIALS (737-4257) ext 1094



Re: Getting CPU stats with SNMP

2007-11-26 Thread Insan Praja SW

On Tue, 27 Nov 2007 02:42:39 +0700, NetOne - Doichin Dokov [EMAIL PROTECTED]
wrote:


It seems net-snmp gives wrong data about CPU usage on OpenBSD. This is
the data that i get (i've snipped some irrelevant OIDs)

# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 1196105427
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 386973
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1179540172
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1196105427
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 1
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1179540171

These are the same counters, but after some minutes:
# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 1196105547
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 633528
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1179540175
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1196105547
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 4
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1179540171

The SNMP data shows lots of NICE activity and nothing for interrupts. In
the same time, top reports this:
CPU0 states:  0.6% user,  0.0% nice,  1.0% system, 32.9% interrupt,
65.5% idle

The SNMP counters seem completely irrelevant to CPU usage. Here's
another example of two consecutive snmpwalks, executed right after each
other:
# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 1196105672
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 890340
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1179540175
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294865120
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1297536800
# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 100
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 65536
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1297536800
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294865120
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1297536800

Counters are completely irrelevant, look at ssCpuRawUser and
ssCpuRawNice.

Am I doing something wrong? What is the proper way to get CPU stats off
OpenBSD with net-snmp? I know the ticks are 10 000 by default on
OpenBSD, so I'm dividing the values accordingly, but still i don't get
proper stats. Anyone any ideas?

Regards,
Doichin

# uname -a
OpenBSD host.name.com 4.2 GENERIC.MP#0 amd64


Hi,
You should really checkout this site
http://www.packetmischief.ca/openbsd/snmp/
Cool..

cu,

Insan

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



Re: Getting CPU stats with SNMP

2007-11-26 Thread NetOne - Doichin Dokov

Insan Praja SW ??:
On Tue, 27 Nov 2007 02:42:39 +0700, NetOne - Doichin Dokov 
[EMAIL PROTECTED] wrote:


It seems net-snmp gives wrong data about CPU usage on OpenBSD. This 
is the data that i get (i've snipped some irrelevant OIDs)


# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 1196105427
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 386973
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1179540172
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1196105427
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 1
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1179540171

These are the same counters, but after some minutes:
# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 1196105547
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 633528
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1179540175
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1196105547
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 4
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1179540171

The SNMP data shows lots of NICE activity and nothing for interrupts. 
In the same time, top reports this:
CPU0 states: 0.6% user, 0.0% nice, 1.0% system, 32.9% interrupt, 
65.5% idle


The SNMP counters seem completely irrelevant to CPU usage. Here's 
another example of two consecutive snmpwalks, executed right after 
each other:

# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 1196105672
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 890340
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1179540175
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294865120
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1297536800
# snmpwalk -v2c -c community localhost .1.3.6.1.4.1.2021.11
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 100
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 65536
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1297536800
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294865120
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 1297536800

Counters are completely irrelevant, look at ssCpuRawUser and 
ssCpuRawNice.


Am I doing something wrong? What is the proper way to get CPU stats 
off OpenBSD with net-snmp? I know the ticks are 10 000 by default on 
OpenBSD, so I'm dividing the values accordingly, but still i don't 
get proper stats. Anyone any ideas?


Regards,
Doichin

# uname -a
OpenBSD host.name.com 4.2 GENERIC.MP#0 amd64


Hi,
You should really checkout this site 
http://www.packetmischief.ca/openbsd/snmp/

Cool..

cu,

Insan

Yup, I am using the patched net-snmp and am producing nice graphs with 
pf stats I need. Still no clue about how to get the CPU data, though. 
Looking at the added OPENBSD-* mibs, I don't see anything CPU related. 
Am I missing something?


Regards,
Doichin



ssh session died during 'make build'

2007-11-26 Thread new_guy
Hi guys,

While updating 4.2-release to 4.2-stable remotely over a SSH session, the
SSH session died during the 'make build' stage of rebuilding the binaries...
I think make build had almost completed. I was following the instructions
located here:
http://openbsd.org/stable.html

Question, will this screw things up? I can SSH in again now that the network
is back up and things seem fine. Is there anything to do to make sure 'make
build' completed properly, or should it be redone?

Thanks,
Brad
-- 
View this message in context: 
http://www.nabble.com/ssh-session-died-during-%27make-build%27-tf480.html#a13958135
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Artur Grabowski
Johan Mson Lindman [EMAIL PROTECTED] writes:

 On Monday 26 November 2007 18:37:05 you wrote:
  V. Karthik Kumar [EMAIL PROTECTED] writes:
   Artur Grabowski wrote:
frantisek holop [EMAIL PROTECTED] writes:
but can't call yerself a unix guru if havent fu*ed up
dual boot at least once :]
   
never fucked up a dual boot. Only tried it two times and both times it
worked. Dual boot is for sissies who can't get a second machine.
  
   Either you knew everything then or you got incredibly lucky. Lots of
   times, you aren't lucky even if you knew it all. Maybe if it all went
   wrong, you'd have lost all partitions and would be to blame. We all
   learn from mistakes and there is absolutely nothing wrong about
   getting it wrong. :-)
 
  no, the wrong part is in actually trying. :)
 
  //art
 
 
 W/ recent changes to bootloader why _shouldn't_ you dualboot
 i386 and amd64 on your amd64 laptop? ;-P

Because then I'd spend more time booting and less time hacking. :)

//art



Re: How to track down a suspected memory leak?

2007-11-26 Thread Josh
 Henning Brauer wrote:

Thanks David for this pointer. It may very well be the same issue.
Even though the two bridged interfaces are em(4) (1 Gb/s), the
Out-of-Band Management (OOBM) interface is fxp(4) that carries two
VLANs, one for pfsync(4), and one for commandcontrol/monitoring.

  the leak had nothing to do with fxp.
  it's simply a generic memory leak in a state insertion error path that 
  single firewalls tend to trigger seldom if at all, but pfsync 
  regularily hits.

Still, I will given Henning's patch a try, while waiting for results
of the instrumentation with 'vmstat -m', as suggested by the previous
responder.

  if you're running pfsync i make bets it is that.
  if you look at vmstat -m and pfstatekeypl has more objects in use than
  pfstatepl you know it is that.

Yeah your patch thankfully does fix the problem. Just had another pair of
4.2 boxes
fall over from the same bug this morning.

Is it serious enough to put an errata  note up?



Re: wifiprobe script

2007-11-26 Thread Pau Amaro-Seoane
Hi,

sorry for the spam. This is an update to the wifiprobe script. For
some reason the ath0 scan output differs from the ipw0, iwi0, iwn0
etc... ath0 gives the signal strength in % (of what?), whilst iwi0,
ipw0, iwn0 specifies the units (dB)

In any case, this is the update to the script:

www.aei.mpg.de/~pau/OpenBSD_wifiprobe.sh

I hope you find it useful

Pau


2007/11/7, Pau Amaro-Seoane [EMAIL PROTECTED]:
 Hi,

 I use very frequently the wireless to connect to different nets and I
 have a script for personal use which probably (??) could be useful for
 some of you. At least some of the misc people I know asked me to post
 this here.

 I also have seen/read a lot of critics to obsd for not having a couple
 of tools for doing such things. I hope this helps obsd a bit (???).

 In any case, I hope I don't overwhelm your inbox with unwished spam. I
 am sure that a lot of you have already done something similar...

 This script is thought to help you find the different available
 connections (named beams for historical reasons) where you happen to
 be when you execute it. It will display them in the following order:

 1- Public connections (i.e. without wep key)
 2- Secured connections (i.e. with wep)

 They are also shown in order according to the strength of the signal
 and then you're prompted to choose the number of the beam you wish to
 connect to. Of course, if a wep password is required, you will be
 asked for it. Afterwards it'll connect to it.

 Please note that you will have to modify the script to

 a- select your IFACE (in my case iwi0)
 b- select your LANG (in my case catala, but english is also available)

 ah, so... author? Let's say... an anonymous donor to the public domain ;)

 A big thank you to everybody and in this occasion especially to Damien
 for his great work.

 Cheers,

 Pau



Re: Cardbus does not work on Sony SZ460N- w. debug code dmesg

2007-11-26 Thread Rob Lytle
On Nov 26, 2007 10:21 AM, Rob Lytle [EMAIL PROTECTED] wrote:
 Hi,

 Cardbus/pcmcia is dead on my laptop.  I think I have identified the
 dmesg lines that shows what happens.  But I don't know why:

 cbb0: bad Vcc request. sock_ctrl 0xff88, sock_status 0xfff
 cardslot0 at cbb0 slot 0 flags 0

 Here is my complete dmesg.  Please ignore all the azalia stuff as I
 have its debug turned on.   Note the same dmesg lines and behavior
 were observed with the GENERIC kernel.  Also, no leds turn on with any
 pcmcia device I've tried so it seems that cards are not getting any
 power.

 Thanks,  Rob

OK, ignore the previous dmesg and look at this one with CB debug code
enabled.  (#define CBB_DEBUG is uncommented in pccbb.c)  It appears
that for whatever reason Vcc is set to 0.

Sincerely, Rob




OpenBSD 4.2-current (ROBKERN2) #1: Mon Nov 26 04:24:22 PST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ROBKERN2
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2.01
GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2
,CX16,xTPR
real mem  = 2145415168 (2046MB)
avail mem = 2067054592 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0, SMBI
OS rev. 2.4 @ 0xdc010 (19 entries)
bios0: vendor Phoenix Technologies LTD version R0112N0 date 04/12/2007
bios0: Sony Corporation VGN-SZ460N
pcibios0 at bios0: rev 2.1 @ 0xfdbd0/0x430
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #10 is the last bus
bios0: ROM list: 0xc/0xf000 0xdc000/0x4000! 0xe/0x1c00!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT SSD
T SSDT
acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) S
1F5(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S
3) USB7(S3) SLT0(S4) EC0_(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 6 (RP02)
acpiprt4 at acpi0: bus 7 (RP03)
acpiprt5 at acpi0: bus 8 (RP04)
acpiprt6 at acpi0: bus 9 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C2
acpicpu1 at acpi0: C2
acpitz0 at acpi0: critical temperature 99 degC
acpitz1 at acpi0: critical temperature 100 degC
acpitz2 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibat0 at acpi0: BAT1 type LION oem Sony Corp.
acpiac0 at acpi0: AC unit online
acpidock at acpi0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x060b0c2206000c22
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1244 mV): speeds: 2000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x01d8 rev 0xa
1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: irq 10
azalia0: codec[s]: Sigmatel 83847661, Conexant/0x2bfa, using Sigmatel 8384766
1
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 6
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: irq 10,
MoW1, address 00:19:d2:31:93:15
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci4 at ppb3 bus 7
mskc0 at pci4 dev 0 function 0 Marvell Yukon 88E8036 rev 0x16, Yukon-2 FE (
0x1): irq 10
msk0 at mskc0 port A: address 00:13:a9:90:7c:69
eephy0 at msk0 phy 0: Marvell 88E3082 10/100 PHY, rev. 3
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02
pci5 at ppb4 bus 8
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 10
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: irq 10
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 9
cbb0 at pci6 dev 4 function 0 TI PCIXX12 CardBus rev 0x00 (chipflags 2)cbb0
: socket base address 0x7ff0
: intrpin A, intrtag 255
: irq 10
TI PCIXX12 FireWire rev 0x00 at pci6 dev 4 function 1 not configured
TI PCIXX12 Multimedia Card Reader rev 0x00 at pci6 dev 4 function 2 not con
figured
CardBus latency timer 0x40 (400a0a09)
PCI latency timer 0x40 (824010)
pccbb_power: CARDBUS_VCC_0V and 

OpenCon Travel from Vienna

2007-11-26 Thread robert
Hi 

I'll go by car to venice from vienna on thursday morning.
If anybody lives en route, I can pick him/her up.

Contact me via opencon (at) peichaer (dot) org.

Regards
Robert
-- 
-=[rpe]=-



Re: OpenBSD on VMware

2007-11-26 Thread Henry Sieff
Delurk

If the guest computer (your OpenBSD machine) is running in the context of
the user who starts it on the host, then when that user logs off the vmware
host the guest computer will shutoff.

In order for it to be available at all times, it should be running in the
local system context OR a specially created user. Then it runs regardless of
the login status of the person who clicks the start button on the vmware
console.

Lurk

Henry

On Nov 25, 2007 10:56 PM, Xavier Mertens [EMAIL PROTECTED] wrote:

 Hi *,

 I'm running a 4.1-GENERIC on a VMware server (the VMare host runs a
 Microsoft Windows OS).
 I've no access to the VMware server.

 At random time, the server is just powered off (that's the feedback I
 always received from
 the VMware server administrator). There is nothing in logs and as the
 server
 is off, the
 console is not available anymore. :(

 Does somebody already experienced such issue? Any tips to run OBSD as
 VMware
 guest?

 Regards,
 Xavier

 PS: I'm using pcn as network driver. Maybe vmnet could increase
 performance
 and/or stability?



scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Eduardo Alvarenga
Hi there,

[EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
PROTECTED]:/u02/snap
ssh: 127.0.0.1-2007-11-26-18: Name or service not known

127.0.0.1-2007-11-26-18:31 is a directory

It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
directory.
Can anyone help?

This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4


Regards,

-- 
Eduardo Alvarenga



asterisk 1.2.22 package on OpenBSD 4.2 configuration problems

2007-11-26 Thread Robert Gilaard
Dear OpenBSD people,

I'm a newbie on OpenBSD and have never asked help on
this mailinglist.

I've done a test install of asterisk 1.2.22 on OpenBSD
4.2. After some troubles I managed to register to my
VOIP service provider.

sip show registry shows I'm registered.

However, with the extensions.conf file I'm having much
more difficulties.

My extensions.conf file looks like this:

; $OpenBSD: extensions.conf.sample,v 1.1.1.1
2004/09/26 00:38:24 jolan Exp $
[default]

exten =
_0[1234567]XX,1,Dial(SIP/tiscali/${EXTEN},60,tr)
exten = _0[6].XXX,1,Dial(SIP/tiscali/${EXTEN},60,tr)

exten = s,1,Answer
exten = s,n,Ringing
exten = s,n,Dial(SIP/tiscali,20,tr)
exten = s,n,Wait,1
exten = s,n,Congestion


When I ring my phone, the CLI gives:

Nov 26 20:44:36 WARNING[32687]: file.c:517
ast_openstream_full: File welcome does not exist in
any format

Nov 26 20:44:36 WARNING[32687]: file.c:828
ast_streamfile: Unable to open welcome (format alaw):
No such file or directory

Nov 26 20:44:36 WARNING[32687]: pbx.c:5826
pbx_builtin_background: ast_streamfile failed on
SIP/172.26.30.3-7fef4000 for welcome

Nov 26 20:44:36 WARNING[32687]: file.c:517
ast_openstream_full: File enter-ext-of-person does not
exist in any format

Nov 26 20:44:36 WARNING[32687]: file.c:828
ast_streamfile: Unable to open enter-ext-of-person
(format alaw): No such file or directory

Nov 26 20:44:36 WARNING[32687]: pbx.c:5826
pbx_builtin_background: ast_streamfile failed on
SIP/172.26.30.3-7fef4000 for enter-ext-of-person

Nov 26 20:44:36 WARNING[32687]: file.c:517
ast_openstream_full: File or-press does not exist in
any format

Nov 26 20:44:36 WARNING[32687]: file.c:828
ast_streamfile: Unable to open or-press (format alaw):
No such file or directory

Nov 26 20:44:36 WARNING[32687]: pbx.c:5826
pbx_builtin_background: ast_streamfile failed on
SIP/172.26.30.3-7fef4000 for or-press

Nov 26 20:44:36 WARNING[32687]: file.c:517
ast_openstream_full: File to-reach-operator does not
exist in any format

Nov 26 20:44:36 WARNING[32687]: file.c:828
ast_streamfile: Unable to open to-reach-operator
(format alaw): No such file or directory

Nov 26 20:44:36 WARNING[32687]: pbx.c:5826
pbx_builtin_background: ast_streamfile failed on
SIP/172.26.30.3-7fef4000 for to-reach-operator

Nov 26 20:44:46 WARNING[32687]: pbx.c:2435
__ast_pbx_run: Timeout, but no rule 't' in context
'default'

Nov 26 20:44:56 WARNING[32687]: chan_sip.c:1228
retrans_pkt: Maximum retries exceeded on transmission
[EMAIL PROTECTED]
for seqno 1 (Critical Response)

And I see that the server picks up the phone, but I
hear nothing.

What I'm expecting is that I haven't installed all of
asterisk. Can't seem to find the sounds directory
anywhere. Is it that my installation is not complete?
I've installed it from the package provided OpenBSD
4.2 and I just did a pkg_add asterisk.

Any help is appreciated.

Thanks in advanced.


  

Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  
http://overview.mail.yahoo.com/



Re: scp doesn?t recognizes 127.0.0.1* as filename

2007-11-26 Thread Gilles Chehade
On Mon, Nov 26, 2007 at 07:24:09PM -0200, Eduardo Alvarenga wrote:
 Hi there,
 
 [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
 PROTECTED]:/u02/snap
 ssh: 127.0.0.1-2007-11-26-18: Name or service not known
 
 127.0.0.1-2007-11-26-18:31 is a directory
 
 It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
 directory.
 Can anyone help?
 
 This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4
 
 
 Regards,
 

It is not the 127.0.0.1 part that is not recognized, it is the fact that
parameters which contain ':' are assumed to be of the form 'host:file'.
In this case, it is trying to scp the file '31' from host
127.0.0.1-2007-11-26-18

Gilles

-- 
Gilles Chehade
http://www.evilkittens.org/
http://www.evilkittens.org/blog/gilles/



Re: scp doesn?t recognizes 127.0.0.1* as filename

2007-11-26 Thread Martin Dommermuth
Hi, 

* Eduardo Alvarenga wrote/schrieb:

 [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
 PROTECTED]:/u02/snap
 ssh: 127.0.0.1-2007-11-26-18: Name or service not known
 
I think the problem is the : in the filename. For me it works with 
scp -r ./127.0.0.1-2007-11-26-18:31 $TARGET

MartinD:



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Chris Tankersley

Eduardo Alvarenga wrote:

Hi there,

[EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
PROTECTED]:/u02/snap
ssh: 127.0.0.1-2007-11-26-18: Name or service not known

127.0.0.1-2007-11-26-18:31 is a directory

It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
directory.
Can anyone help?

This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4


Regards,

  


That's because your directory name follows the same command pattern that 
scp looks for:


server:directory

so it's looking to SCP a directory called '31' on the server 
'127.0.0.1-2007-11-26-18' to the other server. If you put the filename 
in quotes, does it work?


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: scp doesn?t recognizes 127.0.0.1* as filename

2007-11-26 Thread Paul de Weerd
On Mon, Nov 26, 2007 at 07:24:09PM -0200, Eduardo Alvarenga wrote:
| Hi there,
| 
| [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
PROTECTED]:/u02/snap
| ssh: 127.0.0.1-2007-11-26-18: Name or service not known
| 
| 127.0.0.1-2007-11-26-18:31 is a directory
| 
| It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
| directory.
| Can anyone help?

It's the colon (':') in the filename. Try using double quotes ('')
around the name and replcing the ':' with a '?'.

| This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4

Shouldn't you ask this question on a RHEL mailinglist ?

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: OpenBSD on VMware

2007-11-26 Thread Nick Guenther
On 11/26/07, Henry Sieff [EMAIL PROTECTED] wrote:
 On Nov 25, 2007 10:56 PM, Xavier Mertens [EMAIL PROTECTED] wrote:

  Hi *,
 
  I'm running a 4.1-GENERIC on a VMware server (the VMare host runs a
  Microsoft Windows OS).
  I've no access to the VMware server.
 
  At random time, the server is just powered off (that's the feedback I
  always received from
  the VMware server administrator). There is nothing in logs and as the
  server
  is off, the
  console is not available anymore. :(
 
  Does somebody already experienced such issue? Any tips to run OBSD as
  VMware
  guest?

 If the guest computer (your OpenBSD machine) is running in the context of
 the user who starts it on the host, then when that user logs off the vmware
 host the guest computer will shutoff.

 In order for it to be available at all times, it should be running in the
 local system context OR a specially created user. Then it runs regardless of
 the login status of the person who clicks the start button on the vmware
 console.

And if the admin is being uncooperative, take your business elsewhere.

-Nick



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Pierre Riteau
On Nov 26, 2007 10:24 PM, Eduardo Alvarenga [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
 PROTECTED]:/u02/snap
 ssh: 127.0.0.1-2007-11-26-18: Name or service not known

What if you try 'scp -r ./127.0.0.1-2007-11-26-18:31 [EMAIL 
PROTECTED]:/u02/snap' ?

-- 
Pierre Riteau



Re: Kernel problem...

2007-11-26 Thread Limaunion

mickey wrote:

On Sat, Nov 24, 2007 at 12:13:41PM -0300, Limaunion wrote:

Hi misc! I upgraded my old i486 box to a _new_ pentium 166, but after
less than 24 hours running it I got a kernel crash. I'm sending dmesg
plus some screenshots from ps + trace + show registers.


this looks like a signal jump to a trampoline but is hard to tell
w/o poking in pcb (ps /a; x uarea*). do you get it often?



Hard to tell, I switched to this computer two weeks ago and had two 
panics (don't have details for the first one), then while travelling I 
left the machine running memtest86+.


I'll let you know if I get another panic.
Regards, Jorge.



Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

Hi,

Please correct me if my understanding is wrong. I am trying to trace a 
bug and I am not sure where it is really, but I got a possible idea I 
want to check for if that make sense.


My understanding's is that all drives are using an abstraction layer 
between the kernel and the drivers itself.


Now, I don't know if there is a difference between drivers for a single 
processor kernel and a multiple core kernel. So, first question is if 
there is a difference or not. This for the SAS drivers in Sun server.


If there is a difference there, then I thought for a test and trying to 
isolate the source of the problem, or the section where it might be in 
anyway by trying to compile a kernel for mp and only change the driver 
use if that's even possible. May be a very stupid idea, but how to go at 
finding where the source of the bug is, is my goal and I thought that 
may be, if that's not totally stupid, I could try that and see if it 
might be isolate there.


The only thing I am sure of is that so far I can reproduce the bug at 
will with the mp and do not see if without, everything else stay equal.


As far as I can tell, it's either in the drivers for the SAS drivers, or 
may be some part in the PCI drivers may be, but I can't be sure either way.


Any clue stick would be welcome.

So far I am trying to compile reduce kernel to make sure there isn't any 
part of it that might create the problem, but no success so far.


I would love to find this bug, or isolate it more, but so far, all my 
tries are not successful and I try to isolate the differences between 
the mp kernel and the single one, however, I am not sure of the 
differences between them to know where to look yet.


Thanks

Daniel



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Greg Thomas
It's the colons, not the 127.0.0.1.

On Nov 26, 2007 1:24 PM, Eduardo Alvarenga [EMAIL PROTECTED] wrote:
 Hi there,

 [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
 PROTECTED]:/u02/snap
 ssh: 127.0.0.1-2007-11-26-18: Name or service not known

 127.0.0.1-2007-11-26-18:31 is a directory

 It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
 directory.
 Can anyone help?

 This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4


 Regards,

 --
 Eduardo Alvarenga





-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Eduardo Alvarenga
It doesn4t work either.

[EMAIL PROTECTED] crash]# scp 127.0.0.1-2007-11-26-18\:31/ [EMAIL 
PROTECTED]:/u02/snap
ssh: 127.0.0.1-2007-11-26-18: Name or service not known

[EMAIL PROTECTED] crash]# scp 127.0.0.1-2007-11-26-18:31 [EMAIL 
PROTECTED]:/u02/snap
ssh: 127.0.0.1-2007-11-26-18: Name or service not known

Maybe a bug?

2007/11/26, Daniel Horecki [EMAIL PROTECTED]:

 On Nov 26, 2007 10:24 PM, Eduardo Alvarenga [EMAIL PROTECTED]
 wrote:
  Hi there,
 
  [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
  PROTECTED]
 :/u02/snap
  ssh: 127.0.0.1-2007-11-26-18: Name or service not known
 
  127.0.0.1-2007-11-26-18:31 is a directory
 
  It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31
 is a
  directory.
  Can anyone help?
 

 Add \ before : char:

 scp -r 127.0.0.1-2007-11-26-18\:31 [EMAIL PROTECTED]:/u02/snap

 Or you can add   around name of directory. Should work. scp uses :
 to split between host and file to copy.

 morr

 --
 Daniel Horecki
 http://morr.pl




--
Eduardo Alvarenga



Re: asterisk 1.2.22 package on OpenBSD 4.2 configuration problems

2007-11-26 Thread Stuart Henderson
On 2007/11/26 12:22, Robert Gilaard wrote:
 I'm a newbie on OpenBSD and have never asked help on
 this mailinglist.

welcome; for questions about ports, the appropriate list is
[EMAIL PROTECTED] (reply-to set).

for asterisk configuration questions, an asterisk list/forum
is the best place.

 [default]
 
 exten =
 _0[1234567]XX,1,Dial(SIP/tiscali/${EXTEN},60,tr)

if you are charged for those calls, don't list them in default,
list them in a context only reachable by authenticated users.

the syntax looks off; mine are dial(SIP/[EMAIL PROTECTED],60)
or similar for outgoing calls, Dial(SIP/username,40,r) for incoming
calls to ring a locally registered phone.

 When I ring my phone, the CLI gives:
 
 Nov 26 20:44:36 WARNING[32687]: file.c:517
 ast_openstream_full: File welcome does not exist in
 any format
...
 ast_openstream_full: File enter-ext-of-person does not
 ast_openstream_full: File or-press does not exist in
 ast_openstream_full: File to-reach-operator does not
...

I'm slightly confused where this is coming from. Those sound files
are supplemntary ones from the asterisk-sounds package (not installed
by default with the usual sounds under /usr/local/share/asterisk)
but I'm not aware of anything in the standard installation which
uses them (grep also found nothing).



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread xSAPPYx
Giving a path should work (it did on my
/tmp/127.0.0.1-2007-11-26-18:31/ dir I just tested with, and it failed
the same way yours did without the ./ )
scp -r ./127.0.0.1-2007-11-26-18:31 [EMAIL PROTECTED]:/u02/snap


On Nov 26, 2007 1:24 PM, Eduardo Alvarenga [EMAIL PROTECTED] wrote:
 Hi there,

 [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
 PROTECTED]:/u02/snap
 ssh: 127.0.0.1-2007-11-26-18: Name or service not known

 127.0.0.1-2007-11-26-18:31 is a directory

 It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
 directory.
 Can anyone help?

 This is an OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 running on RHEL 4.4


 Regards,

 --
 Eduardo Alvarenga



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Philip Guenther
On Nov 26, 2007 2:43 PM, Chris Tankersley
[EMAIL PROTECTED] wrote:
...
 That's because your directory name follows the same command pattern that
 scp looks for:

 server:directory

 so it's looking to SCP a directory called '31' on the server
 '127.0.0.1-2007-11-26-18' to the other server.

Right.

 If you put the filename in quotes, does it work?

No, because the quotes will only be seen by the shell and not by scp.
If you did manage to get the quotes to scp (by escaping them at the
shell level) it would just think them part of the hostname and
filename.  (How else would you copy a file whose name contained a
quote?)


Philip Guenther



Re: scp doesn´t recognizes 127.0.0.1* as filename

2007-11-26 Thread Matthias Kilian
On Mon, Nov 26, 2007 at 04:43:35PM -0500, Chris Tankersley wrote:
 so it's looking to SCP a directory called '31' on the server 
 '127.0.0.1-2007-11-26-18' to the other server. If you put the filename 
 in quotes, does it work?

Quotes are interpreted by the shell, so this won't help.

Just prefix the file name with ./ to let scp interpret the whole
thing as a simple file name.



Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Ted Unangst
On 11/26/07, Daniel Ouellet [EMAIL PROTECTED] wrote:
 My understanding's is that all drives are using an abstraction layer
 between the kernel and the drivers itself.

 Now, I don't know if there is a difference between drivers for a single
 processor kernel and a multiple core kernel. So, first question is if
 there is a difference or not. This for the SAS drivers in Sun server.

in a sense, that is true.  on the i386 platform, up and smp kernels
use different interrupt code, which may result in some differences.



Re: Cardbus does not work on Sony SZ460N- w. debug code dmesg

2007-11-26 Thread Theo de Raadt
That is not enough.  You did not enable the debug options, so I can't
see what is really there.

When you reply, don't delete the previous body.  I track hundreds of
mails in a day, and I need to keep context.

 Return-Path: [EMAIL PROTECTED]
 Delivery-Date: Mon Nov 26 14:16:12 2007
 Received: from shear.ucar.edu (lists.openbsd.org [192.43.244.163])
   by cvs.openbsd.org (8.14.1/8.12.1) with ESMTP id lAQLGCnv023116;
   Mon, 26 Nov 2007 14:16:12 -0700 (MST)
 Received: from openbsd.org (localhost.ucar.edu [127.0.0.1])
   by shear.ucar.edu (8.14.1/8.13.6) with ESMTP id lAQL11iN016581;
   Mon, 26 Nov 2007 14:01:01 -0700 (MST)
 Received: from wr-out-0506.google.com (wr-out-0506.google.com 
 [64.233.184.233])
   by shear.ucar.edu (8.14.1/8.14.1) with ESMTP id lAQKtHDY028073
   for misc@openbsd.org; Mon, 26 Nov 2007 13:55:17 -0700 (MST)
 Received: by wr-out-0506.google.com with SMTP id 71so614408wri
   for misc@openbsd.org; Mon, 26 Nov 2007 12:55:16 -0800 (PST)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 
 h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
  bh=gGnXg4BL6fwoVRaAG9V40/LpSJ3aL529N5oqS7zkEnY=; 
 b=QrImL4//CQbeu90P2wBa1X9KzQOE/pPFiW//KA4rV7UGgrSLCJUWpyoJ5CBymL0OlOZj4chIPBid/VYWpaI8WtK/GM8D281vnu/dsQS6bulx2ElFc0D41M2n43N7T/9N2mEf+3S5QMsijp0Veu5qF0TEQzJt2KAUEiZwFlI1AFo=
 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; 
 h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
  
 b=lOv/ii601WzT0PYJ144rlkwCW0Dbn2pGMGIcdWUVqrJvfTRg5kGT7QFndETCLPOcDpqVhwc9sdBMMgX90cbGIu1PP70WQFN7RJRTcmi+ow4HDbx5XkmXz07pIx6K/mmbrK8eshY633FbNyxFol9O98v3fedgccZtV/o0pStOcIc=
 Received: by 10.142.77.11 with SMTP id z11mr660889wfa.1196110515718; Mon, 26 
 Nov 2007 12:55:15 -0800 (PST)
 Received: by 10.142.221.10 with HTTP; Mon, 26 Nov 2007 12:55:15 -0800 (PST)
 Message-ID: [EMAIL PROTECTED]
 Date: Mon, 26 Nov 2007 12:55:15 -0800
 From: Rob Lytle [EMAIL PROTECTED]
 To: misc@openbsd.org
 Subject: Re: Cardbus does not work on Sony SZ460N- w. debug code dmesg
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 7bit
 X-Loop: misc@openbsd.org
 Precedence: list
 Sender: [EMAIL PROTECTED]
 
 On Nov 26, 2007 10:21 AM, Rob Lytle [EMAIL PROTECTED] wrote:
  Hi,
 
  Cardbus/pcmcia is dead on my laptop.  I think I have identified the
  dmesg lines that shows what happens.  But I don't know why:
 
  cbb0: bad Vcc request. sock_ctrl 0xff88, sock_status 0xfff
  cardslot0 at cbb0 slot 0 flags 0
 
  Here is my complete dmesg.  Please ignore all the azalia stuff as I
  have its debug turned on.   Note the same dmesg lines and behavior
  were observed with the GENERIC kernel.  Also, no leds turn on with any
  pcmcia device I've tried so it seems that cards are not getting any
  power.
 
  Thanks,  Rob
 
 OK, ignore the previous dmesg and look at this one with CB debug code
 enabled.  (#define CBB_DEBUG is uncommented in pccbb.c)  It appears
 that for whatever reason Vcc is set to 0.
 
 Sincerely, Rob
 
 
 
 
 OpenBSD 4.2-current (ROBKERN2) #1: Mon Nov 26 04:24:22 PST 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ROBKERN2
 cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2.01
 GHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
 ,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2
 ,CX16,xTPR
 real mem  = 2145415168 (2046MB)
 avail mem = 2067054592 (1971MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0, SMBI
 OS rev. 2.4 @ 0xdc010 (19 entries)
 bios0: vendor Phoenix Technologies LTD version R0112N0 date 04/12/2007
 bios0: Sony Corporation VGN-SZ460N
 pcibios0 at bios0: rev 2.1 @ 0xfdbd0/0x430
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #10 is the last bus
 bios0: ROM list: 0xc/0xf000 0xdc000/0x4000! 0xe/0x1c00!
 acpi0 at mainbus0: rev 2
 acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT SSD
 T SSDT
 acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) S
 1F5(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S
 3) USB7(S3) SLT0(S4) EC0_(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEGP)
 acpiprt2 at acpi0: bus 2 (RP01)
 acpiprt3 at acpi0: bus 6 (RP02)
 acpiprt4 at acpi0: bus 7 (RP03)
 acpiprt5 at acpi0: bus 8 (RP04)
 acpiprt6 at acpi0: bus 9 (PCIB)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2
 acpicpu1 at acpi0: C2
 acpitz0 at acpi0: critical temperature 99 degC
 acpitz1 at acpi0: critical temperature 100 degC
 acpitz2 at acpi0: critical temperature 100 degC
 acpibtn0 at 

Re: WxWidgets warnings

2007-11-26 Thread Ted Unangst
On 11/26/07, David H. Lynch Jr. [EMAIL PROTECTED] wrote:
 The wxwidgets version in packages for 4.2 is fairly old - wxwidgets
 2.6.3 and it was apparently built using lots of the assorted string
 functions that the OpenBSD gcc pisses and moans about. If I link most
 anything to wxwidets  get a raft of warnings - making it hard to see if
 there are any ne wproblems that I have introduced.

 I tried pulling the newer 2.8.6 version out of ports in the hope
 that might be cleaner but it does not seem to build.

 Has anyone cleaned up wxwidgets or am I stuck trying to
 ignore/filter all these warnings ?

if the port doesn't contain patches to fix the warnings, there's no
way to avoid them.  they are incentive for the next guy to make the
patches. :)



Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread David Gwynne

On 27/11/2007, at 7:59 AM, Daniel Ouellet wrote:


Hi,

Please correct me if my understanding is wrong. I am trying to trace  
a bug and I am not sure where it is really, but I got a possible  
idea I want to check for if that make sense.


My understanding's is that all drives are using an abstraction layer  
between the kernel and the drivers itself.


Now, I don't know if there is a difference between drivers for a  
single processor kernel and a multiple core kernel. So, first  
question is if there is a difference or not. This for the SAS  
drivers in Sun server.


If there is a difference there, then I thought for a test and trying  
to isolate the source of the problem, or the section where it might  
be in anyway by trying to compile a kernel for mp and only change  
the driver use if that's even possible. May be a very stupid idea,  
but how to go at finding where the source of the bug is, is my goal  
and I thought that may be, if that's not totally stupid, I could try  
that and see if it might be isolate there.


The only thing I am sure of is that so far I can reproduce the bug  
at will with the mp and do not see if without, everything else stay  
equal.


what is the bug you're able to reproduce?




As far as I can tell, it's either in the drivers for the SAS  
drivers, or may be some part in the PCI drivers may be, but I can't  
be sure either way.


Any clue stick would be welcome.

So far I am trying to compile reduce kernel to make sure there isn't  
any part of it that might create the problem, but no success so far.


I would love to find this bug, or isolate it more, but so far, all  
my tries are not successful and I try to isolate the differences  
between the mp kernel and the single one, however, I am not sure of  
the differences between them to know where to look yet.


Thanks

Daniel




Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

Ted Unangst wrote:

On 11/26/07, Daniel Ouellet [EMAIL PROTECTED] wrote:

My understanding's is that all drives are using an abstraction layer
between the kernel and the drivers itself.

Now, I don't know if there is a difference between drivers for a single
processor kernel and a multiple core kernel. So, first question is if
there is a difference or not. This for the SAS drivers in Sun server.


in a sense, that is true.  on the i386 platform, up and smp kernels
use different interrupt code, which may result in some differences.


One more question for you if I may.

As far as you know, does this difference interrupt processing is also 
use for UBS devices as well by any chance?




Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread David Gwynne

dual booting is having two kernels. bsd and bsd.working.

On 27/11/2007, at 2:14 AM, Artur Grabowski wrote:


frantisek holop [EMAIL PROTECTED] writes:


but can't call yerself a unix guru if havent fu*ed up
dual boot at least once :]


never fucked up a dual boot. Only tried it two times and both times it
worked. Dual boot is for sissies who can't get a second machine.

//art




Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

Ted Unangst wrote:

On 11/26/07, Daniel Ouellet [EMAIL PROTECTED] wrote:

My understanding's is that all drives are using an abstraction layer
between the kernel and the drivers itself.

Now, I don't know if there is a difference between drivers for a single
processor kernel and a multiple core kernel. So, first question is if
there is a difference or not. This for the SAS drivers in Sun server.


in a sense, that is true.  on the i386 platform, up and smp kernels
use different interrupt code, which may result in some differences.


OK, That's a start. Now I am doing more tests and I am able to 
crash/reboot the box at will when I increase the writing speed required 
to the drive.


Now the way I do this is not very scientific may be, but still valid I 
think.


I can copy huge files. I mean multiple GB no problem if I limit the 
transfer speed. To do this I use


scp -l 10 /tmp/test [EMAIL PROTECTED]:/var/test

As an example and I do not have anything else running on the remote box.

I am also checking the output of

systat vmstat

To see if I can see anything prior to crash, but nothing I can point to 
yet, but still digging.


I can for presume that, this is most likely directly related to how fast 
it is required to write to disk, or may be the level of interrupts 
needed to be process that cause the crash/reboot.


I guess this is very stupid and most likely not possible, but to test 
this interrupts possibility, is there a way to change the interrupts 
limits, or the interrupts code use in the mp kernel to test using the 
single core one? Or may be increase the limit if any on the Interrupts 
level to isolate that more?


I am getting closer and closer, but suggestions would be welcome.

This bug annoy me so much that I would love to find it and look if I can 
patch it too. But I am still trying to isolate the part that it might be 
in. The Interrupts part is logical and may well be where it is as well.


Is there any limits preset there that I could test.

Sure look to me as an overflow or something as as soon as I increase the 
writing speed to drives, or interrupt level I guess it crash.


May be to know that, or find out more, I could change the writing block 
size if that's even possible to generate less interrupts and see the 
results on the crash.


Any ideas is welcome. I have been testing and trying for a long time and 
I always get a but closer, but not to the exact point yet anyway.


Best,

Daniel



Policy routing for connection originating from firewall

2007-11-26 Thread Bryan S. Leaman
I've set up an OpenBSD 4.2 firewall with two ISP connections.  ISP1 
has static addressing and is the firewall's default gateway.  ISP2 is 
DHCP-configured, and I've modified dhclient-script to put the ISP2 gateway 
only into a second routing table using route -T 1 add.  All of this 
works fine, and using pf's rtable option I can route specific internal 
NAT hosts over ISP2 while the rest use ISP1.


However, connections that originate from the firewall using the ISP2 
interface address (such as ftp-proxy -a, or ping -I, or traceroute -s) 
always try to use the default gateway in the main routing table.


I've tried many versions of route-to and rtable in pf, with no luck.

So the question is: Is it possible to use pf to force the outbound gateway 
for a connection that originates from the firewall itself?  Everything I 
read seems to indicate that rtable and maybe even route-to is intended for 
inbound packets only.


A few of the things I've tried:

pass out on $ISP1_IF route-to ($ISP2_IF $ISP2_GW) \
from ($ISP2_IF) to any keep state

pass out on $ISP1_IF route-to ($ISP2_IF $ISP2_GW) \
from ($ISP2_IF) to any no state

pass out on $ISP1_IF from ($ISP2_IF) to any keep state rtable 1

No matter what, I can't even ping or traceroute from the firewall when I 
specify the ISP2 address as the source address.  Yet my NAT'ed internal 
hosts work just fine over ISP2 with the rules:


nat on $ISP2_IF from cbl_hosts to any - ($ISP2_IF)
pass in log quick on $int_if \
from cbl_hosts to ! $int_net modulate state rtable 1
pass out quick on $ISP2_IF from ($ISP2_IF) to any modulate state

But in this case, the rtable (and route-to which I'm also using for some 
things) are applied to the inbound side and that is working as expected.


Am I attempting the impossible?

Bryan



Re: scp doesn?t recognizes 127.0.0.1* as filename

2007-11-26 Thread Gilles Chehade
On Mon, Nov 26, 2007 at 07:52:43PM -0200, Eduardo Alvarenga wrote:
 By using ./ before the directory/filename it worked.
 Is it expected?
 

yes, the function that checks if the parameter is a hostname or a file
will consider that it is a file if '/' appears previous to ':'. Take a
look at colon() in src/usr.bin/ssh/misc.c

Gilles

-- 
Gilles Chehade
http://www.evilkittens.org/
http://www.evilkittens.org/blog/gilles/



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Travers Buda
* Nick Guenther [EMAIL PROTECTED] [2007-11-26 11:14:29]:

 On 11/26/07, mickey [EMAIL PROTECTED] wrote:
  On Mon, Nov 26, 2007 at 01:55:16PM +0200, Paul Irofti wrote:
   On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
 http://www.xkcd.com/349/

 Observe the ALT text on the comic.

 Haven't seen a PR on that one...
   
What do they mean by this?
 
  poor dude pbly cannot do adding proper in his disklabel...
  MATH WORKS BITCHES!
 
 'poor dude' probably never even tried... did you actually read the comic?
 meh. I find it more interesting that BSD appearently defaults to
 OpenBSD and not FreeBSD here.
 
 -Nick
 

That's because FreeBSD _is_ linux, with perhaps a bit more mature
codebase. =P

-- 
Travers Buda



Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Stuart Henderson
On 2007/11/26 18:21, Daniel Ouellet wrote:
 One more question for you if I may.

 As far as you know, does this difference interrupt processing is also use 
 for UBS devices as well by any chance?

yes, and everything else that uses interrupts.
(/sys/arch/i386/config/GENERIC.MP uses ioapic, .../GENERIC does not).

save dmesg from the various different kernels and use diff to see what
changes between them.

I didn't see in your posts to this thread whether you've compared
with/without acpi? (recent snapshots should enable acpi automatically
if you have 1 cpu/core and you'll see several acpi* devices show up).



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Greg Thomas
hahahah, nice.

that being said as a complete newbie with just the help from the FAQ
and a calculator I never messed up a dual boot.

On Nov 26, 2007 3:14 PM, David Gwynne [EMAIL PROTECTED] wrote:

 dual booting is having two kernels. bsd and bsd.working.

 On 27/11/2007, at 2:14 AM, Artur Grabowski wrote:

  frantisek holop [EMAIL PROTECTED] writes:
 
  but can't call yerself a unix guru if havent fu*ed up
  dual boot at least once :]
 
  never fucked up a dual boot. Only tried it two times and both times it
  worked. Dual boot is for sissies who can't get a second machine.
 

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

David Gwynne wrote:

what is the bug you're able to reproduce?


I posted it on misc@ and reply on an email with the same hardware 
problem on tech@ and open a but report as well on it.


But the short story of it is that using amd64.mp kernel on Sun X4100 M2 
I can crash the box at will by writing to the SAS drive at high speed 
and that's ONLY when you write to it at high speed.


The box will crash and reboot, no debug output or anything, just 
crash/reboot and I can reproduce that at will.


Again, that ONLY happen with amd64.mp, the single processor kernel do 
not suffer this problem and the i386 single or mp kernel do not have it 
either.


A very simple way to crash the box right away, not matter what is to do 
something as simple as what I put in the bug report and do:


dd if=/dev/zero of=/var/test bs=1m count=1000

and just watch it crash in less then a second.

Now if you disable the USB virtual SCSI CDRom in bios, you may get may 
be 3 seconds, but I haven't track donw why that is yet, just that there 
have to be something common between the USB code and the driver for the 
SAS drive in the AMD64.MP kernel and I am trying to isolate that as much 
as possible.


Right now, I am actually trying to isolate the exact transfer speed that 
will crash the box.


The way I do this, is very simple.

scp -l xxx /tmp/test [EMAIL PROTECTED]:/var/test

For the test I use a 10GB file just to be sure I don't run out of data.

And depending how fast I do the -l limit in scp, I will crash it right 
away, meaning less then 5 seconds, or it will just go to the end of the 
transfer without a problem.


I do this at will.

Now what exact speed, or interrupts level that will happen, I am trying 
to isolate this.


I can only say for sure that it has to be in the driver for the SAS 
drive and related to the mp kernel, so that's why I asked what 
differences it could exists, so that I can look in the code and try to 
isolate this for good.


It really annoy me so bad that I want to find it. Will I be able, not 
sure as the kernel is over my head, but I am giving it a shut anyway.


Right now I am continuing to narrow it down as much as I can.

I am much closer then I was two months ago but the progress are slow, 
however getting much closer now I think.


I would just love a little bit more ideas to try may be and if that's 
possible in anyway, where it might be in the code, but I may not be at a 
point where I pin point it so close to be sure what section to look in 
more details yet.


I guess it is a battle between the server and me and hell I don't want 
the server to win, yet anyway.


I just give up three months ago at using AMD on these Sun servers as 
they are simply not reliable one bit under load, but very good when i386 
is use, however, it still bug me so bad that I sure hell would love to 
find the bug as I am digging into this for so long and did so many 
difference tests and kernel compile, etc that not getting the final word 
would make me pretty mad in the end. I just have to realize my 
limitation in the understanding of the kernel code at this point. It's 
not like it's only a few thousands lines of code for sure.


But I am not welling to give up yet!

Best,

Daniel



Re: ssh session died during 'make build'

2007-11-26 Thread new_guy
Hey guys, I got whacked off-line with a clue stick about using screen or
nohup to prevent this sort of thing in the future... OK, will do but, since
'make build' was interrupted, does anything 'special' need to be done like a
make clean, etc? Or do I just redo the initial commands to build the
binaries:

rm -rf /usr/obj/*
cd /usr/src
make obj
cd /usr/src/etc  env DESTDIR=/ make distrib-dirs
cd /usr/src
make build

Thanks,
Brad



-- 
View this message in context: 
http://www.nabble.com/ssh-session-died-during-%27make-build%27-tf480.html#a13962081
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread new_guy
Richard Wilson-5 wrote:
 
 http://www.xkcd.com/349/
 

In response to the comic after recently coming back to OpenBSD after
many years of not using it often, I found it refreshingly simple and easy to
install compared to the average Linux stuff out today! Dual-boot,
single-boot, etc... it's all very straight-forward with some of the best man
pages anywhere! Quickest install of any Unix-like OS... I can do it in 2 - 5
minutes with my eyes closed... how the comic strip dude ended-up ruining two
systems and being threatened by sharks is beyond me... I think the chick
needs to get a new boyfriend :)

-- 
View this message in context: 
http://www.nabble.com/OpenBSD-in-the-webcomic-XKCD-tf4874348.html#a13962015
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Artur Grabowski
Oh.. I've fucked up that many times.

Always amusing. I once even had a kernel named:
bsd.do_not_remove_this_art_really
that Bob put there after the third time I had to borrow a dock from him to
reinstall my laptop.

//art

David Gwynne [EMAIL PROTECTED] writes:

 dual booting is having two kernels. bsd and bsd.working.
 
 On 27/11/2007, at 2:14 AM, Artur Grabowski wrote:
 
  frantisek holop [EMAIL PROTECTED] writes:
 
  but can't call yerself a unix guru if havent fu*ed up
  dual boot at least once :]
 
  never fucked up a dual boot. Only tried it two times and both times it
  worked. Dual boot is for sissies who can't get a second machine.
 
  //art



Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

Stuart Henderson wrote:

On 2007/11/26 18:21, Daniel Ouellet wrote:

One more question for you if I may.

As far as you know, does this difference interrupt processing is also use 
for UBS devices as well by any chance?


yes, and everything else that uses interrupts.
(/sys/arch/i386/config/GENERIC.MP uses ioapic, .../GENERIC does not).

save dmesg from the various different kernels and use diff to see what
changes between them.

I didn't see in your posts to this thread whether you've compared
with/without acpi? (recent snapshots should enable acpi automatically
if you have 1 cpu/core and you'll see several acpi* devices show up).


Both had acpi enable, but also just a few days ago Theo disable ACPI on 
i386 for a bug that Miod needs to fix, if I remember the right name.


I sure can test it again for the i386, but I did that many times over 
and no problem.


Only problem with the amd64.mp.

I will however for the sake of completeness load the latest on i386 as I 
run the one for November 15, enable acpi, compare the dmesg and send it 
in. I did that for myself however and I do see a bunch of numbers in the 
amd64 one that I have no clue as to what they mean however, but that's 
new, however the bug is not, so I kind of look over that as being new 
stuff that will come in one day and left it to that.


Give me about 5 or may be 10 minutes and I will send the diff between 
the i386.mp and amd64.mp


Most likely they will not be the exact same date however as the amd is 
always behind, but still I will do it.




Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Travers Buda
* Artur Grabowski [EMAIL PROTECTED] [2007-11-27 01:30:56]:

 Oh.. I've fucked up that many times.
 
 Always amusing. I once even had a kernel named:
 bsd.do_not_remove_this_art_really
 that Bob put there after the third time I had to borrow a dock from him to
 reinstall my laptop.
 
 //art

I've always found the immutable bsd.rd to be a safe bet.

-- 
Travers Buda



Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

Stuart Henderson wrote:

save dmesg from the various different kernels and use diff to see what
changes between them.

I didn't see in your posts to this thread whether you've compared
with/without acpi? (recent snapshots should enable acpi automatically
if you have 1 cpu/core and you'll see several acpi* devices show up).


Here you go. I was able to find the November 20, kernel for the i396 to 
compare the same thing as to the amd.64 on one of the mirrors.


Here is the diff:

--- /tmp/dmesg_bad  Mon Nov 26 19:45:34 2007
+++ /tmp/dmesg_good Mon Nov 26 20:07:08 2007
@@ -1,47 +1,41 @@
-OpenBSD 4.2-current (GENERIC.MP) #1481: Tue Nov 20 11:14:54 MST 2007
-[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
-real mem = 3757625344 (3583MB)
-avail mem = 3635728384 (3467MB)
+OpenBSD 4.2-current (GENERIC.MP) #403: Tue Nov 20 10:51:04 MST 2007
+[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
+cpu0: Dual-Core AMD Opteron(tm) Processor 2216 (AuthenticAMD 
686-class, 1024KB L2 cache) 2.40 GHz
+cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

+real mem  = 3757592576 (3583MB)
+avail mem = 3649748992 (3480MB)
 mainbus0 at root
-bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfbd50 (70 entries)
+bios0 at mainbus0: AT/286+ BIOS, date 04/11/07, BIOS32 rev. 0 @ 
0xf0010, SMBIOS rev. 2.3 @ 0xfbd50 (70 entries)

 bios0: vendor American Megatrends Inc. version 0ABJX039 date 04/11/2007
 bios0: Sun Microsystems Sun Fire X4100 M2
+pcibios0 at bios0: rev 3.0 @ 0xf/0x1
+pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4e20/272 (15 entries)
+pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x0051
+pcibios0: Warning, unable to fix up PCI interrupt routing
+pcibios0: PCI bus #5 is the last bus
+bios0: ROM list: 0xc/0xa000 0xca000/0x1800 0xcb800/0x1000 
0xcc800/0x1000 0xcd800/0x5c00 0xd3800/0x1000

 acpi0 at mainbus0: rev 2
 acpi0: tables DSDT FACP APIC SPCR SLIT OEMB HPET IPET SRAT SSDT
 acpi0: wakeup devices PS2K(S0) PS2M(S0) USB0(S0) USB1(S0) MAC_(S5) 
P0P1(S0) P0P2(S0) P0P3(S0) P0P4(S0) P0P5(S0) IO4B(S0) BR5B(S0) BR5C(S0) 
BR5D(S0) BR5E(S0) IOB2(S0) BR2B(S0) BR2C(S0) BR2D(S0) BR2E(S0) PWRB(S0)

 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
-cpu0: Dual-Core AMD Opteron(tm) Processor 2216, 2393.97 MHz
-cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
-cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
-cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
-cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative

-cpu0: apic clock running at 199MHz
+cpu0: apic clock running at 199 MHz
 cpu1 at mainbus0: apid 1 (application processor)
-cpu1: Dual-Core AMD Opteron(tm) Processor 2216, 2393.64 MHz
-cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
-cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
-cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
-cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
+cpu1: Dual-Core AMD Opteron(tm) Processor 2216 (AuthenticAMD 
686-class, 1024KB L2 cache) 2.40 GHz
+cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

 cpu2 at mainbus0: apid 2 (application processor)
-cpu2: Dual-Core AMD Opteron(tm) Processor 2216, 2393.64 MHz
-cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
-cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
-cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
-cpu2: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
+cpu2: Dual-Core AMD Opteron(tm) Processor 2216 (AuthenticAMD 
686-class, 1024KB L2 cache) 2.40 GHz
+cpu2: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

 cpu3 at mainbus0: apid 3 (application processor)
-cpu3: Dual-Core AMD Opteron(tm) Processor 2216, 2393.64 MHz
-cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
-cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
-cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
-cpu3: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative

-ioapic0 at mainbus0 apid 15 pa 0xfec0, version 11, 24 pins
-ioapic1 at mainbus0 apid 16 pa 

Re: Hoststated and stickiness based on cookie strings

2007-11-26 Thread Preston Norvell
In our testing today, the round robin appears to spread out traffic just as
it ought to.  Thanks much for that.

In further testing we turned up a couple other things, however.

The first is that we are having problems balancing to multiple app servers
when using the hash or loadbalance algos.  I think the reason for is that
our hash info does exist on initial connection or for atomic requests.

For atomic requests (requests consisting of a preconstructed URL with a
bunch of variables passed to the app, followed by a single response
containing the requested data) , there isn't necessarily distinctive
hashable information.  In this case even the source address may not be
enough given that multiple computers within the client systems may be making
the requests behind a NATing device; in our testing, all connections from a
single host end up on a single appserver (the high ID'd one if using 'hash',
a lower number if using 'loadbalance'). This would be bad in a number of
different scenarios.

For non-atomic requests (by far the largest segment of traffic), we use
cookies or a GET variable to maintain and recognize state depending on
whether they're using a browser or an XML api.  On initial request from the
client computers, they have neither the GET variable nor the cookie.

In the case of the browser, it's delivered to them after their initial
connection (like most session cookies I think).  Concatenated to the end of
this sessionid is a small string we use in subsequent requests to route the
traffic back to the app server the first connection was made on.  If an app
server looks at this little bit of text and sees that it is a string for a
different host, it believes the connection has failed over from a different
host, sends a new cookie to the browser and restarts the sessions with a
new, blank slate.

In the case of the XML api, it's quite similar, except that the session data
is passed to the client in the initial response to their first query.  As
part of the API the take the session info and turn it into a GET variable in
subsequent requests.

That's a long complicated way of restating that according to the protocol
definition we have appear to have no useful data for hashing on initial
connection, and I think this is why we end up in the same bucket for every
request.  It would be nice if it fell back to roundrobin in the case that
nothing really matched for the hash additions, or at least if we could tell
it do so as a non-default (since loadbalance always has a little bit of hash
from the source address).

The other thing we discovered in testing is that in a protocol the query
entity doesn't appear to work with the hash action, at least as of a build
of hoststated from this morning.  We were trying to see if we could
workaround the hashing issue buy feeding it some client-specific data.  The
following fails horribly:

 request query hash * from SS_LibHash

Cheers,

;P mn


On 2007/11/26 11:36 AM, Preston Norvell
[EMAIL PROTECTED] muttered eloquently:

 Thanks much.  We're working on getting it compiled and tested.
 
 Assuming testing goes well, our last major hurdle is the deterministic
 portion of the load balancing, which it sounds like you are thinking about
 already.
 
 Thanks much again,
 
 ;P mn
 
 
 On 2007/11/22 8:09 AM, Reyk Floeter [EMAIL PROTECTED] muttered
 eloquently:
 
 ok, forget about this diff - i committed the first part (roundrobin)
 but skipped the loadbalance part because it is wrong to look at the
 client port in this case (because i want to provide session
 persistence).
 
 On Thu, Nov 22, 2007 at 12:51:10PM +0100, Reyk Floeter wrote:
 - please try the attached diff, it will fix the roundrobin mode by
 saving the last index and traversing to the next available host.
 
 (you can also have a look at my little test program to verify the alg:
 http://team.vantronix.net/~reyk/q.c)
 
 - i'm also looking into improving the loadbalance mode. the attached
 diff includes the source port in loadbalance mode and the destination
 (relay) port in loadbalance and hash mode. make also sure that you
 feed in other variables if you want to get better results, for example
 
 request hash Host
 
 to feed the virtual hostname into the hash/loadbalance hash.
 
 reyk
 
 Index: hoststated.h
 ===
 RCS file: /cvs/src/usr.sbin/hoststated/hoststated.h,v
 retrieving revision 1.81
 diff -u -p -r1.81 hoststated.h
 --- hoststated.h 22 Nov 2007 10:09:53 - 1.81
 +++ hoststated.h 22 Nov 2007 11:45:00 -
 @@ -327,6 +327,7 @@ struct host {
 u_longup_cnt;
 intretry_cnt;
 struct ctl_tcp_event  cte;
 + intidx;
  };
  TAILQ_HEAD(hostlist, host);
  
 Index: relay.c
 ===
 RCS file: /cvs/src/usr.sbin/hoststated/relay.c,v
 retrieving revision 1.65
 diff -u -p -r1.65 relay.c
 --- relay.c 22 Nov 2007 10:09:53 - 1.65
 +++ relay.c 22 Nov 2007 11:45:01 -
 @@ -463,6 

Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Artur Grabowski
frantisek holop [EMAIL PROTECTED] writes:

 hmm, on Mon, Nov 26, 2007 at 05:14:50PM +0100, Artur Grabowski said that
  worked. Dual boot is for sissies who can't get a second machine.
 
 single boot is for sissies who drag around 3 notebooks with themselves :p

I guess you've never hacked the kernel seriously and gotten annoyed by the
music stopping when you need to reboot a new kernel.

//art



indexing the internet

2007-11-26 Thread badeguruji
With all due respect to all contributors on the
internet.

It seems lot of BSD/unix notes and other documentation
is scattered all over the internet in hapzard way.
which newcomers find thru google(1) and then try to
use it. Most of the time date and version etc. is
not mentioned in the document or the URL - which makes
it difficult to realize (to a newcomer) whether the
info is still applicable/valid? and should be used?

I guess all such contributors need to mention the
date_of_publication and software_version_used on the
top of their submission. we need to learn from
newspaper websites who 'arrange' their stories
chronologically, and a look at the url on these sites
tell the date of the story!

just making it a habit to add the date and version
on top will make it easy to 'index the web', and will
help the newcomer to understand and decide...

I am sending it here as this can only be straightened
out by some well known developers in the
unix/linux/bsd community.

thanks again to all the techis who have ever posted
'how-2s' on the internet!

-BG

(1)in that sense googles' text search engine is also
not doing a proper job. so it leaves some room...
 

~~Kalyan-mastu~~

 
 - Original Message 
 From: Alexey Suslikov [EMAIL PROTECTED]
 To: misc@openbsd.org
 Sent: Monday, November 26, 2007 4:37:18 AM
 Subject: Paper about memory speed with multi-core
 CPUs
 
 
 Johan Mson Lindman wrote:
 
   http://people.redhat.com/drepper/cpumemory.pdf
  
   - Alexey.
 
 
  Is this paper from the same Drepper as is posting
 in the URL below?
 

http://sources.redhat.com/ml/libc-alpha/2000-08/msg00053.html
 
 Yes. But it's up to you - to leave yourself in 2000.
 
 - Alexey.
 
 
 
 
 
(sorry changed the tag line)...


~~Kalyan-mastu~~



maybe openssh's bug

2007-11-26 Thread PowerBSD
pls read ssh.log attachment
# ifconfig sis0 
sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 150
lladdr 00:16:ec:b0:25:d
groups: egres
media: Ethernet autoselect (100baseTX half-duplex
status: activ
inet 192.168.1.248 netmask 0xff00 broadcast 192.168.1.25
inet6 fe80::216:ecff:feb0:25d7%sis0 prefixlen 64 scopeid 0x

I use ssh connect to remote sshd server 192.168.1.191 , then i us

# ssh 192.168.1.1911
The authenticity of host '192.168.1.1911 (202.102.2.116)' can't be established
RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
Are you sure you want to continue connecting (yes/no)? ^
# ssh 192.168.1.1912
ssh: 192.168.1.1912: non-recoverable failure in name resolutio
# ssh 192.168.1.1913
ssh: 192.168.1.1913: non-recoverable failure in name resolutio
# ssh 192.168.1.1914
The authenticity of host '192.168.1.1914 (202.102.2.116)' can't be established
RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
Are you sure you want to continue connecting (yes/no)? ^
# ssh 192.168.1.1915
The authenticity of host '192.168.1.1915 (202.102.2.116)' can't be established
RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
Are you sure you want to continue connecting (yes/no)? ^
# ssh 192.168.1.1916
ssh: 192.168.1.1916: non-recoverable failure in name resolutio
# ssh 192.168.1.1917
ssh: 192.168.1.1917: non-recoverable failure in name resolutio
# ssh 192.168.1.1918
The authenticity of host '192.168.1.1918 (202.102.2.116)' can't be established
RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
Are you sure you want to continue connecting (yes/no)? ^

at this line , when i input correct password , but authenticate is incorrec

# ssh 192.168.1.1919
[EMAIL PROTECTED]'s password:
Permission denied, please try again
[EMAIL PROTECTED]'s password:

# uname -
OpenBSD EServer-01.evermoresw.com.cn 4.2 GENERIC#0 i38
# sysctl hw 

hw.machine=i38
hw.model=Intel(R) Pentium(R) 4 CPU 2.93GHz (GenuineIntel 686-class
hw.ncpu=
hw.byteorder=123
hw.physmem=46926643
hw.usermem=46926233
hw.pagesize=409
hw.disknames=cd0,wd
hw.diskcount=
hw.sensors.it0.temp0=48.00 deg
hw.sensors.it0.temp1=39.00 deg
hw.sensors.it0.temp2=22.00 deg
hw.sensors.it0.fan0=1231 RP
hw.sensors.it0.volt0=1.25 VDC (VCORE_A
hw.sensors.it0.volt1=2.62 VDC (VCORE_B
hw.sensors.it0.volt2=3.31 VDC (+3.3V
hw.sensors.it0.volt3=5.00 VDC (+5V
hw.sensors.it0.volt4=11.71 VDC (+12V
hw.sensors.it0.volt5=2.01 VDC (Unused
hw.sensors.it0.volt6=-0.77 VDC (-12V
hw.sensors.it0.volt7=4.97 VDC (+5VSB
hw.sensors.it0.volt8=4.08 VDC (VBAT
hw.cpuspeed=293
hw.setperf=10
hw.vendor=Ace
hw.product=Aspire SA80/AP S28
hw.version=R01-C
hw.uuid=Not Se
# ssh -
OpenSSH_4.7, OpenSSL 0.9.7j 04 May 200



Re: Cardbus does not work on Sony SZ460N- w. debug code dmesg

2007-11-26 Thread Rob Lytle
On Nov 26, 2007 2:14 PM, Theo de Raadt [EMAIL PROTECTED] wrote:
 That is not enough.  You did not enable the debug options, so I can't
 see what is really there.

 When you reply, don't delete the previous body.  I track hundreds of
 mails in a day, and I need to keep context.

  Return-Path: [EMAIL PROTECTED]
  Delivery-Date: Mon Nov 26 14:16:12 2007
  Received: from shear.ucar.edu (lists.openbsd.org [192.43.244.163])
by cvs.openbsd.org (8.14.1/8.12.1) with ESMTP id lAQLGCnv023116;
Mon, 26 Nov 2007 14:16:12 -0700 (MST)
  Received: from openbsd.org (localhost.ucar.edu [127.0.0.1])
by shear.ucar.edu (8.14.1/8.13.6) with ESMTP id lAQL11iN016581;
Mon, 26 Nov 2007 14:01:01 -0700 (MST)
  Received: from wr-out-0506.google.com (wr-out-0506.google.com 
  [64.233.184.233])
by shear.ucar.edu (8.14.1/8.14.1) with ESMTP id lAQKtHDY028073
for misc@openbsd.org; Mon, 26 Nov 2007 13:55:17 -0700 (MST)
  Received: by wr-out-0506.google.com with SMTP id 71so614408wri
for misc@openbsd.org; Mon, 26 Nov 2007 12:55:16 -0800 (PST)
  DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 
  h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
   bh=gGnXg4BL6fwoVRaAG9V40/LpSJ3aL529N5oqS7zkEnY=; 
  b=QrImL4//CQbeu90P2wBa1X9KzQOE/pPFiW//KA4rV7UGgrSLCJUWpyoJ5CBymL0OlOZj4chIPBid/VYWpaI8WtK/GM8D281vnu/dsQS6bulx2ElFc0D41M2n43N7T/9N2mEf+3S5QMsijp0Veu5qF0TEQzJt2KAUEiZwFlI1AFo=
  DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; 
  h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
   
  b=lOv/ii601WzT0PYJ144rlkwCW0Dbn2pGMGIcdWUVqrJvfTRg5kGT7QFndETCLPOcDpqVhwc9sdBMMgX90cbGIu1PP70WQFN7RJRTcmi+ow4HDbx5XkmXz07pIx6K/mmbrK8eshY633FbNyxFol9O98v3fedgccZtV/o0pStOcIc=
  Received: by 10.142.77.11 with SMTP id z11mr660889wfa.1196110515718; Mon, 
  26 Nov 2007 12:55:15 -0800 (PST)
  Received: by 10.142.221.10 with HTTP; Mon, 26 Nov 2007 12:55:15 -0800 (PST)
  Message-ID: [EMAIL PROTECTED]
  Date: Mon, 26 Nov 2007 12:55:15 -0800
  From: Rob Lytle [EMAIL PROTECTED]
  To: misc@openbsd.org
  Subject: Re: Cardbus does not work on Sony SZ460N- w. debug code dmesg
  MIME-Version: 1.0
  Content-Type: text/plain; charset=UTF-8
  Content-Transfer-Encoding: 7bit
  X-Loop: misc@openbsd.org
  Precedence: list
  Sender: [EMAIL PROTECTED]

 
  On Nov 26, 2007 10:21 AM, Rob Lytle [EMAIL PROTECTED] wrote:
   Hi,
  
   Cardbus/pcmcia is dead on my laptop.  I think I have identified the
   dmesg lines that shows what happens.  But I don't know why:
  
   cbb0: bad Vcc request. sock_ctrl 0xff88, sock_status 0xfff
   cardslot0 at cbb0 slot 0 flags 0
  
   Here is my complete dmesg.  Please ignore all the azalia stuff as I
   have its debug turned on.   Note the same dmesg lines and behavior
   were observed with the GENERIC kernel.  Also, no leds turn on with any
   pcmcia device I've tried so it seems that cards are not getting any
   power.
  
   Thanks,  Rob
 
  OK, ignore the previous dmesg and look at this one with CB debug code
  enabled.  (#define CBB_DEBUG is uncommented in pccbb.c)  It appears
  that for whatever reason Vcc is set to 0.
 
  Sincerely, Rob
 
 
 
 
  OpenBSD 4.2-current (ROBKERN2) #1: Mon Nov 26 04:24:22 PST 2007
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ROBKERN2
  cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 2.01
  GHz
  cpu0: 
  FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
  ,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2
  ,CX16,xTPR
  real mem  = 2145415168 (2046MB)
  avail mem = 2067054592 (1971MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @ 0xfdbd0, 
  SMBI
  OS rev. 2.4 @ 0xdc010 (19 entries)
  bios0: vendor Phoenix Technologies LTD version R0112N0 date 04/12/2007
  bios0: Sony Corporation VGN-SZ460N
  pcibios0 at bios0: rev 2.1 @ 0xfdbd0/0x430
  pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries)
  pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
  pcibios0: PCI bus #10 is the last bus
  bios0: ROM list: 0xc/0xf000 0xdc000/0x4000! 0xe/0x1c00!
  acpi0 at mainbus0: rev 2
  acpi0: tables DSDT FACP APIC HPET MCFG TCPA SLIC APIC BOOT SSDT SSDT SSDT 
  SSD
  T SSDT
  acpi0: wakeup devices PWRB(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) 
  S
  1F5(S4) S1F6(S4) S1F7(S4) TLAN(S3) DLAN(S3) USB1(S3) USB2(S3) USB3(S3) 
  USB4(S
  3) USB7(S3) SLT0(S4) EC0_(S5)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpihpet0 at acpi0: 14318179 Hz
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 1 (PEGP)
  acpiprt2 at acpi0: bus 2 (RP01)
  acpiprt3 at acpi0: bus 6 (RP02)
  acpiprt4 at acpi0: bus 7 (RP03)
  acpiprt5 at acpi0: bus 8 (RP04)
  acpiprt6 at acpi0: bus 9 (PCIB)
  acpiec0 at acpi0
  acpicpu0 at acpi0: C2
  

Re: Abstraction layer difference between single and multi processor kernel

2007-11-26 Thread Daniel Ouellet

Not sure if that mean anything what so ever.

But when the box rebooted itself, this time I got this in ddb. All 
frozen, but the display show this:


Not sure for the end of the line here = 0. Could be something else, but 
I can't see it.


kkeerrnneell::  pprrootteeccttiioonn   f a u l t  t r a p , c o d e = 0
aStopped atXintr_legacy7+0x24d:iret
ddb{1}

Nothing else.

I got this once out of many crash, so can't say if that any good really.

Just thought to pass it in case it does mean something to some body.



Re: maybe openssh's bug

2007-11-26 Thread xSAPPYx
Not sure if it was gmail that blew chunks on your message or somewhere
else along the way, but it seems some of your message lines were
trunked.
Either way, your attachment won't make it through...

The only mailing list that allows attachments is the ports list, they
will be removed from messages on the other mailing lists.
http://openbsd.org/mail.html

On Nov 26, 2007 6:14 PM, PowerBSD [EMAIL PROTECTED] wrote:
 pls read ssh.log attachment
 # ifconfig sis0
 sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 150
 lladdr 00:16:ec:b0:25:d
 groups: egres
 media: Ethernet autoselect (100baseTX half-duplex
 status: activ
 inet 192.168.1.248 netmask 0xff00 broadcast 192.168.1.25
 inet6 fe80::216:ecff:feb0:25d7%sis0 prefixlen 64 scopeid 0x

 I use ssh connect to remote sshd server 192.168.1.191 , then i us

 # ssh 192.168.1.1911
 The authenticity of host '192.168.1.1911 (202.102.2.116)' can't be established
 RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
 Are you sure you want to continue connecting (yes/no)? ^
 # ssh 192.168.1.1912
 ssh: 192.168.1.1912: non-recoverable failure in name resolutio
 # ssh 192.168.1.1913
 ssh: 192.168.1.1913: non-recoverable failure in name resolutio
 # ssh 192.168.1.1914
 The authenticity of host '192.168.1.1914 (202.102.2.116)' can't be established
 RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
 Are you sure you want to continue connecting (yes/no)? ^
 # ssh 192.168.1.1915
 The authenticity of host '192.168.1.1915 (202.102.2.116)' can't be established
 RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
 Are you sure you want to continue connecting (yes/no)? ^
 # ssh 192.168.1.1916
 ssh: 192.168.1.1916: non-recoverable failure in name resolutio
 # ssh 192.168.1.1917
 ssh: 192.168.1.1917: non-recoverable failure in name resolutio
 # ssh 192.168.1.1918
 The authenticity of host '192.168.1.1918 (202.102.2.116)' can't be established
 RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
 Are you sure you want to continue connecting (yes/no)? ^

 at this line , when i input correct password , but authenticate is incorrec

 # ssh 192.168.1.1919
 [EMAIL PROTECTED]'s password:
 Permission denied, please try again
 [EMAIL PROTECTED]'s password:

 # uname -
 OpenBSD EServer-01.evermoresw.com.cn 4.2 GENERIC#0 i38
 # sysctl hw
 hw.machine=i38
 hw.model=Intel(R) Pentium(R) 4 CPU 2.93GHz (GenuineIntel 686-class
 hw.ncpu=
 hw.byteorder=123
 hw.physmem=46926643
 hw.usermem=46926233
 hw.pagesize=409
 hw.disknames=cd0,wd
 hw.diskcount=
 hw.sensors.it0.temp0=48.00 deg
 hw.sensors.it0.temp1=39.00 deg
 hw.sensors.it0.temp2=22.00 deg
 hw.sensors.it0.fan0=1231 RP
 hw.sensors.it0.volt0=1.25 VDC (VCORE_A
 hw.sensors.it0.volt1=2.62 VDC (VCORE_B
 hw.sensors.it0.volt2=3.31 VDC (+3.3V
 hw.sensors.it0.volt3=5.00 VDC (+5V
 hw.sensors.it0.volt4=11.71 VDC (+12V
 hw.sensors.it0.volt5=2.01 VDC (Unused
 hw.sensors.it0.volt6=-0.77 VDC (-12V
 hw.sensors.it0.volt7=4.97 VDC (+5VSB
 hw.sensors.it0.volt8=4.08 VDC (VBAT
 hw.cpuspeed=293
 hw.setperf=10
 hw.vendor=Ace
 hw.product=Aspire SA80/AP S28
 hw.version=R01-C
 hw.uuid=Not Se
 # ssh -
 OpenSSH_4.7, OpenSSL 0.9.7j 04 May 200



Re: ssh session died during 'make build'

2007-11-26 Thread Nick Holland
new_guy wrote:
 Hey guys, I got whacked off-line with a clue stick about using screen or
 nohup to prevent this sort of thing in the future... OK, will do but, since
 'make build' was interrupted, does anything 'special' need to be done like a
 make clean, etc? Or do I just redo the initial commands to build the
 binaries:
 
 rm -rf /usr/obj/*
 cd /usr/src
 make obj
 cd /usr/src/etc  env DESTDIR=/ make distrib-dirs
 cd /usr/src
 make build

Actually, if you just restart the command that was running when the connection
dropped, you should be fine.  i.e., if you had done 'make build' and then it
died, just do a 'make build' again.

If you want to be really lazy, do an ls -l /bin, see what date the files are.
If they are after you started the build, you may be able to just do a make
install. -stable has the advantage that old binaries and new binaries are
compatible.

Now, if the power had gone out mid-way through, you might have some nasty
messed up files, but if you just lost console, things should be more-or-less
intact.

Nick.



Re: maybe openssh's bug

2007-11-26 Thread RW
On Tue, 27 Nov 2007 10:14:43 +0800, PowerBSD wrote:

I use ssh connect to remote sshd server 192.168.1.191 , then i us

# ssh 192.168.1.1911

Stop right there!
What the hell does that 1911 mean? and all the 1912, 1913 etc stuff
too.
Those are not valid addresses, at least in the IPv4 universe.


Rod/
/earth: write failed, file system is full
cp: /earth/creatures: No space left on device



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Nick Holland
V. Karthik Kumar wrote:
 Artur Grabowski wrote:
 frantisek holop [EMAIL PROTECTED] writes:

 but can't call yerself a unix guru if havent fu*ed up
 dual boot at least once :]

 never fucked up a dual boot. Only tried it two times and both times it
 worked. Dual boot is for sissies who can't get a second machine.

 
 Either you knew everything then or you got incredibly lucky.

If we define Guru as one who knows the wisdom of the creator, Art is
no guru.

He's a creator. :)

Nick.



[plz. help] constant attack from: 201.244.17.162, 222.231.60.88, 82.207.116.209....

2007-11-26 Thread badeguruji
I just discovered by chance that, someone is
constantly trying to break into my openbsd box from:

201.244.17.162 [corporativos24417-162.etb.net.co]
203.113.85.26
211.20.79.85
71.159.221.78
82.207.116.209

whois details on each IP go to South America, Bangkok,
Taiwan... all over the world! Although i have sent
email to the email address in whois output, but the
attacker may be spoofing the IP.

By the pattern of attempt i can tell it is the same
user. I am asking the communitie's help to how to
block and, more properly, punish this unethical user.
this user is running the attack constantly. I will
have to shutdown the box for now and come back at
later time when someone had posted some solution on
the list.

My box is behind router-NAT which is allowing ssh. I
am not sure how this guy can get to my box which has
pvt IP address from the internet thru the firewall.

I looked for blocking access depending on source IP in
my dsl-router, but it is not that versatile.

I have now also setup hosts.allow and DenyUsers/Groups
in ssh config. is that enough?

here are some excerts from my logs:

Nov  9 03:24:51 myserver sshd[15822]: Did not
receive identification string from 218.76.217.234

Nov 10 16:55:19 myserver sshd[29183]: Did not
receive identification string from 82.207.116.209
Nov 10 16:58:58 myserver sshd[21261]: Failed
password for root from 82.207.116.209 port 35194 ssh2
Nov 10 16:58:59 myserver sshd[5372]: Received
disconnect from 82.207.116.209: 11: Bye Bye

Nov 17 07:41:15 myserver sshd[3254]: Failed password
for root from 219.145.142.30 port 55232 ssh2
Nov 17 07:41:15 myserver sshd[27682]: Received
disconnect from 219.145.142.30: 11: Bye Bye

Nov 21 07:51:16 myserver sshd[12865]: Did not
receive identification string from 201.244.17.162
Nov 21 07:53:38 myserver sshd[18020]: reverse
mapping checking getaddrinfo for corporativos24417-162
.etb.net.co [201.244.17.162] failed - POSSIBLE
BREAK-IN ATTEMPT!
Nov 21 07:53:38 myserver sshd[18020]: Failed
password for root from 201.244.17.162 port 56137 ssh2
Nov 21 07:53:38 myserver sshd[19158]: Received
disconnect from 201.244.17.162: 11: Bye Bye

and,

Nov 21 08:20:56 myserver sshd[13104]: Did not
receive identification string from 222.231.60.88
Nov 21 15:58:25 myserver sshd[16851]: Did not
receive identification string from 82.207.116.209
Nov 21 16:00:46 myserver sshd[23577]: Failed
password for root from 82.207.116.209 port 55925 ssh2
Nov 21 16:00:46 myserver sshd[6084]: Received
disconnect from 82.207.116.209: 11: Bye Bye

and,
Nov 22 00:46:33 myserver sshd[18504]: Did not
receive identification string from 61.159.228.193
Nov 22 08:41:41 myserver sshd[2410]: Did not receive
identification string from 71.159.221.78
Nov 22 08:42:25 myserver sshd[9687]: Failed password
for root from 71.159.221.78 port 63731 ssh2
Nov 22 08:42:25 myserver sshd[8814]: Received
disconnect from 71.159.221.78: 11: Bye Bye

and,
Nov 23 23:14:08 myserver sshd[26235]: Failed
password for root from 211.20.79.85 port 54407 ssh2
Nov 23 23:14:08 myserver sshd[16180]: Received
disconnect from 211.20.79.85: 11: Bye Bye



this is interesting...
$ whois 71.159.221.78
ATT Internet Services SBCIS-SIS80 (NET-71-128-0-0-1)
  71.128.0.0 -
71.159.255.255
ECLIPSE MARKETING-060311011540
SBC07115922107229060311011557 (NET-71-159-221-72-1)
  71.159.221.72 -
71.159.221.79

# ARIN WHOIS database, last updated 2007-11-24 19:10
# Enter ? for additional hints on searching ARIN's
WHOIS database.
$



$ whois 201.244.17.162

OrgName:Latin American and Caribbean IP address
Regional Registry
OrgID:  LACNIC
Address:Rambla Republica de Mexico 6125
City:   Montevideo
StateProv:
PostalCode: 11400
Country:UY

ReferralServer: whois://whois.lacnic.net

NetRange:   201.0.0.0 - 201.255.255.255
CIDR:   201.0.0.0/8
NetName:LACNIC-201
NetHandle:  NET-201-0-0-0-1
Parent:
NetType:Allocated to LACNIC
NameServer: NS.LACNIC.NET
NameServer: NS2.DNS.BR
NameServer: TINNIE.ARIN.NET
NameServer: NS-SEC.RIPE.NET
NameServer: SEC3.APNIC.NET
NameServer: NS3.AFRINIC.NET
Comment:This IP address range is under LACNIC
responsibility
Comment:for further allocations to users in LACNIC
region.
Comment:Please see http://www.lacnic.net/ for
further details,
Comment:or check the WHOIS server located at
whois.lacnic.net
RegDate:2003-04-03
Updated:2006-10-23

OrgTechHandle: LACNIC-ARIN
OrgTechName:   LACNIC Whois Info
OrgTechPhone:
OrgTechEmail:  [EMAIL PROTECTED]

# ARIN WHOIS database, last updated 2007-11-24 19:10
# Enter ? for additional hints on searching ARIN's
WHOIS database.

% Joint Whois - whois.lacnic.net
%  This server accepts single ASN, IPv4 or IPv6
queries


% Copyright LACNIC lacnic.net
%  The data below is provided for information purposes
%  and to assist persons in obtaining information
about or
%  related to AS and IP numbers registrations
%  By submitting a whois query, you agree to use this
data
%  only for 

Re: maybe openssh's bug

2007-11-26 Thread Greg Thomas
On Nov 26, 2007 6:24 PM, xSAPPYx [EMAIL PROTECTED] wrote:
 Not sure if it was gmail that blew chunks on your message or somewhere
 else along the way, but it seems some of your message lines were
 trunked.

Is that why there's a 1,2,3,4,5,6,7,8, and 9 added to the IP address?

 Either way, your attachment won't make it through...

 The only mailing list that allows attachments is the ports list, they
 will be removed from messages on the other mailing lists.
 http://openbsd.org/mail.html


 On Nov 26, 2007 6:14 PM, PowerBSD [EMAIL PROTECTED] wrote:
  pls read ssh.log attachment
  # ifconfig sis0
  sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 150
  lladdr 00:16:ec:b0:25:d
  groups: egres
  media: Ethernet autoselect (100baseTX half-duplex
  status: activ
  inet 192.168.1.248 netmask 0xff00 broadcast 192.168.1.25
  inet6 fe80::216:ecff:feb0:25d7%sis0 prefixlen 64 scopeid 0x
 
  I use ssh connect to remote sshd server 192.168.1.191 , then i us
 
  # ssh 192.168.1.1911
  The authenticity of host '192.168.1.1911 (202.102.2.116)' can't be 
  established
  RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
  Are you sure you want to continue connecting (yes/no)? ^
  # ssh 192.168.1.1912
  ssh: 192.168.1.1912: non-recoverable failure in name resolutio
  # ssh 192.168.1.1913
  ssh: 192.168.1.1913: non-recoverable failure in name resolutio
  # ssh 192.168.1.1914
  The authenticity of host '192.168.1.1914 (202.102.2.116)' can't be 
  established
  RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
  Are you sure you want to continue connecting (yes/no)? ^
  # ssh 192.168.1.1915
  The authenticity of host '192.168.1.1915 (202.102.2.116)' can't be 
  established
  RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
  Are you sure you want to continue connecting (yes/no)? ^
  # ssh 192.168.1.1916
  ssh: 192.168.1.1916: non-recoverable failure in name resolutio
  # ssh 192.168.1.1917
  ssh: 192.168.1.1917: non-recoverable failure in name resolutio
  # ssh 192.168.1.1918
  The authenticity of host '192.168.1.1918 (202.102.2.116)' can't be 
  established
  RSA key fingerprint is 88:43:7d:20:64:c8:40:bc:57:96:ac:12:cd:38:e3:c7
  Are you sure you want to continue connecting (yes/no)? ^
 
  at this line , when i input correct password , but authenticate is incorrec
 
  # ssh 192.168.1.1919
  [EMAIL PROTECTED]'s password:
  Permission denied, please try again
  [EMAIL PROTECTED]'s password:
 
  # uname -
  OpenBSD EServer-01.evermoresw.com.cn 4.2 GENERIC#0 i38
  # sysctl hw
  hw.machine=i38
  hw.model=Intel(R) Pentium(R) 4 CPU 2.93GHz (GenuineIntel 686-class
  hw.ncpu=
  hw.byteorder=123
  hw.physmem=46926643
  hw.usermem=46926233
  hw.pagesize=409
  hw.disknames=cd0,wd
  hw.diskcount=
  hw.sensors.it0.temp0=48.00 deg
  hw.sensors.it0.temp1=39.00 deg
  hw.sensors.it0.temp2=22.00 deg
  hw.sensors.it0.fan0=1231 RP
  hw.sensors.it0.volt0=1.25 VDC (VCORE_A
  hw.sensors.it0.volt1=2.62 VDC (VCORE_B
  hw.sensors.it0.volt2=3.31 VDC (+3.3V
  hw.sensors.it0.volt3=5.00 VDC (+5V
  hw.sensors.it0.volt4=11.71 VDC (+12V
  hw.sensors.it0.volt5=2.01 VDC (Unused
  hw.sensors.it0.volt6=-0.77 VDC (-12V
  hw.sensors.it0.volt7=4.97 VDC (+5VSB
  hw.sensors.it0.volt8=4.08 VDC (VBAT
  hw.cpuspeed=293
  hw.setperf=10
  hw.vendor=Ace
  hw.product=Aspire SA80/AP S28
  hw.version=R01-C
  hw.uuid=Not Se
  # ssh -
  OpenSSH_4.7, OpenSSL 0.9.7j 04 May 200





-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org
http://lodesertprotosites.org
Dethink to survive - Mclusky



Re: maybe openssh's bug

2007-11-26 Thread PowerBSD
On Tue, Nov 27, 2007 at 01:45:01PM +1100, RW wrote:
 On Tue, 27 Nov 2007 10:14:43 +0800, PowerBSD wrote:
 
 I use ssh connect to remote sshd server 192.168.1.191 , then i us
 
 # ssh 192.168.1.1911
 
 Stop right there!
 What the hell does that 1911 mean? and all the 1912, 1913 etc stuff
 too.
 Those are not valid addresses, at least in the IPv4 universe.
 
 
 Rod/
 /earth: write failed, file system is full
 cp: /earth/creatures: No space left on device

these address only test

i found this problem at input mistake

all these illegal address should return an error , but result connect another
address.

-- 
A horse!  A horse!  My kingdom for a horse!
-- Wm. Shakespeare, Henry VI



  1   2   >