4.6 will be released on October 1st?

2009-08-12 Thread Uwe Dippel

At least, that's what the website says at http://openbsd.org/46.html
True or typo? (I'd expect November 1st.)

Uwe



Re: mount point busy, can't find process holding it [solved]

2009-08-12 Thread Jan Stary
On Aug 12 02:59:38, frantisek holop wrote:
 hi there,
 
 it seems that i have found the sequence to reliably
 reproduce this problem.
 
 # mount /adata
 # cd /adata
 # vnconfig svnd0 install46.iso
 # mount /dev/svnd0c /mnt
 # umount /mnt
 # umount /adata
 umount: /adata: Device busy

/adata is your working directory now,
as fstat will show you.

 # vnconfig -u svnd0
 # umount /adata

I don't believe it; /adata is still your working directory.
I reproduced the above (/media is /adata), and I got this:

# mount /media
# cd /media
# vnconfig svnd0 image.iso
# mount /dev/svnd0 /mnt
# umount /mnt
# umount /media
umount: /media: Device busy
# fstat -f /media
USER CMD  PID   FD MOUNTINUM MODE   R/WSZ|DV
root fstat  16372   wd /media  2 drwxr-x---   r 4608
root ksh27271   wd /media  2 drwxr-x---   r 4608
# vnconfig -u svnd0
# umount /media
umount: /media: Device busy
# fstat -f /media
USER CMD  PID   FD MOUNTINUM MODE   R/WSZ|DV
root fstat  26416   wd /media  2 drwxr-x---   r 4608
root ksh27271   wd /media  2 drwxr-x---   r 4608
# cd ..
# fstat -f /media
USER CMD  PID   FD MOUNTINUM MODE   R/WSZ|DV
# umount /media

Before you can umount the mount point, you need to both vnconfig -u
the iso image, and get out of the directory. In particular, I don't
believe the above sequence is real.

Jan



Re: mount point busy, can't find process holding it [solved]

2009-08-12 Thread frantisek holop
hmm, on Wed, Aug 12, 2009 at 09:53:57AM +0200, Jan Stary said that
 On Aug 12 02:59:38, frantisek holop wrote:
  hi there,
  
  it seems that i have found the sequence to reliably
  reproduce this problem.
  
  # mount /adata
  # cd /adata
  # vnconfig svnd0 install46.iso
  # mount /dev/svnd0c /mnt
# cd
  # umount /mnt
  # umount /adata
  umount: /adata: Device busy
 
 /adata is your working directory now,
 as fstat will show you.

i forgot to put that step in the mail.
otherwise the example is real.

-f
-- 
i'll mention you on my organ donor card.



Re: Is Radeon HD 4870 okay?

2009-08-12 Thread Robert

I'm afraid it's not that simple...

If you use the radeon driver for Xorg, then you need DRI to get 
Xvideo. To get DRI you need the DRM device, which is provided by OpenBSD 
- and this driver is some steps behind the X driver regarding supported 
chips.
Currently the DRM driver only supports Radeon chips up R5xx; the most 
recent cards you could use would be the X1900 / X1950 series.

Newer cards do also work, but as I said you won't have DRI = Xvideo.

long story:
1. Find out what chip your card is using: 
http://en.wikipedia.org/wiki/Comparison_of_ATI_Graphics_Processing_Units
2. check if your chip is supported by OpenBSD / DRM: 
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/drm/radeon_drv.c
3. Check if the Xorg driver (radeon) supports your card (it usually does 
if OpenBSD/DRM also already supports it): 
http://xorg.freedesktop.org/wiki/radeon
4. If the Xorg (radeon) driver in your OpenBSD installation is not 
recent enough, then get the new one through git and compile it yourself.



Btw, the screen resolution should work (without Xvideo...); I'm 
currently running a dual screen (2x 1920x1080) on a Radeon 3650.


regards,
Robert


Timo MyyrC$ wrote:

Hi,

This is pretty much driver specific question but I think the OpenBSD
doesn't support that card out of box.

The git repo of radeonhd and radeon drivers have support for the 4870
if I remember correctly so if your interrested in building the drivers
yourself it should support your card.

I would have suggested that you get Radeon 3870 as it will have driver
and would be pretty powerful card itself.

Timo M

On Tue, Aug 11, 2009 at 11:10 PM, Sviatoslav Chagaevsl...@zb.lv wrote:

Hello,

I want to buy a new video card, and I'm considering ATI Radeon HD 4870.

On UNIX (OpenBSD that is), I need the card to:
* be capable of 1920x1...@60hz resolution on DVI-D
* have 2D acceleration (including X-Video)
3D acceleration would be nice but is not required.

I dual-boot for games, so buying something older won't do, I need
fairly modern and powerful hardware.

My motherboard (ASUS M3N78-EM) has a GeForce 8300 chipset (not
supported by open source/magic-number nv driver, and I couldn't force
vesa driver to 1920x1080), I'm intending to run OpenBSD/amd64.

So, will 4870 work okay in OBSD? If not, could you please suggest
something that would meet the two above-mentioned criteria and be
powerful enough for gaming?

Thanks!

--
Sviatoslav Chagaev sl...@zb.lv




Re: Realtek urtw(4) driver and hostap mode

2009-08-12 Thread Piotrek Kapczuk
2009/8/11  damien.bergam...@free.fr:
 | [...]
 | AFAIK, hostap mode is crappy with most drivers, since they doesn't vary
 | the sending strength (AKA 'power saving') and the clients expect this.
 | [...]

 Actually, power saving at the AP has nothing to do with sending strength.
 It is about buffering frames in the AP for clients that are sleeping.
 And yes, OpenBSD does not currently do that, so clients that are sleeping
 will never wake up (actually they will wake up at regular interval but will
 immediately return to sleep) because the AP does not inform them that they
 have buffered frames. This is something that is being worked on but that is
 not easy to implement properly.
 USB devices are usually a bad choice for building an AP anyway, since
 they have some restrictions (usually, they do not give per-frame
 feedback about TX retries, making it difficult to do per-client rate
 control, or they don't provide a way to update beacons content
 atomically, making it difficult to support anything but 802.11b or
 plain 802.11a for instance).
 Some drivers (ural(4), rum(4), maybe others as well) provide some very
 limited AP support that can be handy sometimes but you can't rely on
 this for everyday use.
 The situation is a little bit better for PCI/CardBus devices, but we
 don't support AP mode power-saving for them either.

Thanks you very much for explaining this. It's very valuable
information and it might save me some time and money.

I have PCENGINES ALIX hardware. I have a choice between MiniPCI and
USB only. I guess it's best to get some ral(4) device on MiniPCI then.

It's only for home use, but I want it to be stable. Can you recommend anything ?

-- 
Regards
Piotrek Kapczuk



Re: 4.6 will be released on October 1st?

2009-08-12 Thread Mike Erdely
On Wed, Aug 12, 2009 at 02:22:44PM +0800, Uwe Dippel wrote:
 At least, that's what the website says at http://openbsd.org/46.html
 True or typo? (I'd expect November 1st.)

True.



AHCI and NCQ

2009-08-12 Thread Luis Useche
Hi Guys,

How do I check if my system is successfully using the NCQ capabilities
of my SATA controller? I know I have and AHCI compliant controller and
it also supports NCQ. Unfortunately, I don't see any message (dmesg)
of the system saying that I have my NCQ enable. The manual of the ahci
driver does not say much either.

Thanks in advance,

Luis Useche
use...@gmail.com



Re: mount point busy, can't find process holding it [solved]

2009-08-12 Thread Ted Unangst
On Wed, Aug 12, 2009 at 1:17 AM, patrick keshishianpkesh...@gmail.com
wrote:
 fstat reports on open files, not files in use.  as you've discovered,
 there are ways for a file to be in use without being open by a
 process.

 This seems educational; could you please elaborate?

The kernel keeps a list of all processes, and each process keeps a
list of files it has open.  So this is how fstat works.

At a lower level, the files for filesystem objects are backed by
vnodes in the kernel, which are reference counted.  When you unmount a
filesystem, the kernel checks the reference count and if it's still
busy, it tells you so.  But there's no global list of vnodes for fstat
to walk; as long as they are refcounted, vnodes can be stashed
anywhere.  vnconfig, core dumps, acct, and ktrace come to mind as
files that the kernel would be operating on via vnodes that don't have
an open process.



Le livre de PF spotted

2009-08-12 Thread Peter N. M. Hansteen
I thought you might like to know this - certainly if you're a
Francophone - The Book of PF[1], out since late 2007 in the original
English, has been translated into French and was published by Eyrolles
in July[2].

My copies turned up in Bergen today, while I was conveniently away for
some days, but my wife sent me this picture [3] - the other object for
local color only :)

See you at Slackathon (http://www.slackathon.se:2009/) or EuroBSDCon
(http://www.ukuug.org/events/eurobsdcon2009/)!

- Peter

[1] http://nostarch.com/pf.htm
[2] 
http://www.eyrolles.com/Informatique/Livre/le-livre-de-packet-filter-9782212125160
[3] http://www.bsdly.net/~peter/livredepf_bergen.jpg
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ 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.



lisa(4): accelerometer on HP 2133

2009-08-12 Thread Constantine A. Murenin
Hi, 

I'm looking for test reports of the lisa(4) driver.  Based on the dmesgs
I have found so far, it is expected to work on all HP 2133 Mini-Note PCs.

Also, I'm looking for dmesgs for HP 2140, and perhaps other HP laptops that 
feature HP 3D DriveGuard.  (It's not yet known if lisa(4) would support 2140.)
Please send the `dmesg`, `sysctl hw` and `acpidump` as text/plain to c...@.
If you can include dmesg before and after the patch, such that we can 
see the actual iic dump, so the better.

As always, your dmesgs in general are very welcome in dm...@openbsd.org, 
which forms a vital part of our quality assurance and development process.  
Please include the `sysctl hw` output, too -- we like to see the sensors. :)
Take note that if noone would have sent any dmesgs for HP 2133, then 
there wouldn't be a lisa(4) driver today, so thanks to everyone who 
contributed to the archives!

Anyhow, if you have iic0: addr 0x1d 0f=3b in your dmesg, followed by 
the rest of the iic dump, then the lisa(4) driver is expected to work, 
after you enable it in GENERIC:


Index: arch/amd64/conf/GENERIC
===
RCS file: /share/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.270
diff -u -d -p -4 -r1.270 GENERIC
--- arch/amd64/conf/GENERIC 23 Jul 2009 03:58:22 -  1.270
+++ arch/amd64/conf/GENERIC 12 Aug 2009 15:09:47 -
@@ -120,8 +120,9 @@ admcts* at iic? # Analog Devices ADM10
 admtmp*at iic? # Analog Devices ADM1030
 admtt* at iic? # Analog Devices ADM1031
 adt*   at iic? # Analog Devices ADT7460
 andl*  at iic? # Andigilog aSC7611
+lisa*  at iic? # STMicroelectronics LIS331DL motion sensor
 lm*at iic? # National Semiconductor LM78/79
 lmenv* at iic? # National Semiconductor LM87
 lmtemp*at iic? # National Semiconductor LM75/LM77
 lmn*   at iic? # National Semiconductor LM93
Index: arch/i386/conf/GENERIC
===
RCS file: /share/OpenBSD/cvs/src/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.667
diff -u -d -p -4 -r1.667 GENERIC
--- arch/i386/conf/GENERIC  23 Jul 2009 03:58:22 -  1.667
+++ arch/i386/conf/GENERIC  12 Aug 2009 15:09:47 -
@@ -161,8 +161,9 @@ admcts* at iic? # Analog 
Devices ADM1
 admtm* at iic? # Analog Devices ADM1025
 admtmp*at iic? # Analog Devices ADM1030
 admtt* at iic? # Analog Devices ADM1031
 adt*   at iic? # Analog Devices ADT7460
+lisa*  at iic? # STMicroelectronics LIS331DL motion
 lm*at iic? # National Semiconductor LM78/79
 lmenv* at iic? # National Semiconductor LM87
 lmtemp*at iic? # National Semiconductor 
LM75/LM77
 lmn*   at iic? # National Semiconductor LM93


You can see how the sensors change with 
systat sensors 1
or 
sh -c while(true)do sysctl -n hw.sensors.lisa0|xargs;sleep 1;done
.  Please send the latter test, too. :)

Cheers,
Constantine.



Re: Is Radeon HD 4870 okay?

2009-08-12 Thread Daniel Gracia Garallar
Shall you be dual booting your computer, you may consider using a 
virtual machine to exec OpenBSD, or even getting some 'el-cheapo' CPU to 
install OpenBSD and use it through SSH/Xming from you current system, to 
make full use of your terminal full resolution.


Regards,

Dani

Sviatoslav Chagaev escribis:

Hello,

I want to buy a new video card, and I'm considering ATI Radeon HD 4870.

On UNIX (OpenBSD that is), I need the card to:
* be capable of 1920x1...@60hz resolution on DVI-D
* have 2D acceleration (including X-Video)
3D acceleration would be nice but is not required.

I dual-boot for games, so buying something older won't do, I need
fairly modern and powerful hardware.

My motherboard (ASUS M3N78-EM) has a GeForce 8300 chipset (not
supported by open source/magic-number nv driver, and I couldn't force
vesa driver to 1920x1080), I'm intending to run OpenBSD/amd64.

So, will 4870 work okay in OBSD? If not, could you please suggest
something that would meet the two above-mentioned criteria and be
powerful enough for gaming?

Thanks!




Re: lisa(4): accelerometer on HP 2133

2009-08-12 Thread Jonathan Gray
On Wed, Aug 12, 2009 at 11:26:24AM -0600, Constantine A. Murenin wrote:
 Hi, 
 
 I'm looking for test reports of the lisa(4) driver.  Based on the dmesgs
 I have found so far, it is expected to work on all HP 2133 Mini-Note PCs.
 
 Also, I'm looking for dmesgs for HP 2140, and perhaps other HP laptops that 
 feature HP 3D DriveGuard.  (It's not yet known if lisa(4) would support 2140.)
 Please send the `dmesg`, `sysctl hw` and `acpidump` as text/plain to c...@.
 If you can include dmesg before and after the patch, such that we can 
 see the actual iic dump, so the better.

The 2140 hides the i2c controller so it won't work there.



Re: Mimi UM-740 touchscreen for OpenBSD

2009-08-12 Thread William French
Hey Guys

Sorry for the late reply.. been a crazy week.

Yes edd dmesg now looks like this:

OpenBSD 4.6-current (GENERIC) #1: Tue Jul 28 23:49:45 BST 2009
r...@toolbox.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 2146197504 (2046MB)
avail mem = 2066485248 (1970MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/05/04, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.3 @ 0xfbe40 (76 entries)
bios0: vendor Intel Corp. version BF86510A.86A.0058.P15.0404050012 date
04/05/2004
bios0: Intel Corporation D865GLC
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC ASF! TCPA WDDT
acpi0: wakeup devices TANA(S4) P0P3(S4) AC97(S4) USB0(S4) USB1(S4) USB2(S4)
USB3(S4) USB7(S4) UAR1(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (P0P2)
acpiprt3 at acpi0: bus 3 (P0P3)
acpicpu0 at acpi0
acpipwrres0 at acpi0: URP1
acpipwrres1 at acpi0: FDDP
acpipwrres2 at acpi0: LPTP
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc/0xf800 0xcf800/0x1000 0xd0800/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G Host rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf800, size 0x400
ppb0 at pci0 dev 1 function 0 Intel 82865G AGP rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce FX 5500 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 3 function 0 Intel 82865G CSA rev 0x02
pci2 at ppb1 bus 2
em0 at pci2 dev 1 function 0 Intel PRO/1000CT (82547EI) rev 0x00: apic 2
int 18 (irq 10), address 00:0c:f1:f5:13:d6
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic 2 int
16 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: apic 2 int
19 (irq 5)
uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: apic 2 int
18 (irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: apic 2 int
16 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: apic 2 int
23 (irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2
pci3 at ppb2 bus 3
ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 6E040L0
wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-ROM DVD-116, 1.09 ATAPI 5/cdrom
removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 18 (irq 10) for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: apic 2
int 17 (irq 3)
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d100 rev 0x65
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem2 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem3 at iic0 addr 0x53: 512MB DDR SDRAM non-parity PC3200CL2.5
auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02: apic 2
int 17 (irq 3), ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
mtrr: Pentium Pro MTRR support
uhub5 at uhub0 port 1 Alcor Micro product 0x6254 rev 2.00/1.00 addr 2
uvideo0 at 

Je sur comptable a la banque BCB je vais virée $6.million a la etranger

2009-08-12 Thread Saidou Ali
Invitationnbsp;: Je sur comptable a la banque BCB je vais virie $6.million a 
la etranger.


Par votre htte Saidou Ali:


 Date:  mercredi 12 ao{t 2009

 Heure: 19h 00 - 20h 00 (GMT+00:00)
 Lieu:  Cher Ami Salut, Je suis MR, Saidou Ali comptable a la 
BANQUE COMERCIALE DU BURKINA (BCB), je vais virie $6.million (usd) a la 
etranger si vous pour vais me aide ci ga vous intersse je vous enverrons tous 
les ditails sur la fagon dont on va fait le demache et igalement noter que vous 
aurez 30% du montant indiqui .si vous jtes d'accord pour m'aider ` exicuter 
cette transaction. reponne moi rapidement et s.v.p ces un propossition 
confidentielle merci

Invitis:

 * gagnee...@yahoo.ca
 * astor...@yahoo.ca
 * mtbc...@yahoo.ca
 * bobdo...@yahoo.ca
 * blanc_...@yahoo.ca
 * theonlyone2...@yahoo.ca
 * denil...@yahoo.ca
 * tremblayyves2...@yahoo.ca
 * associationdesbouc...@yahoo.ca
 * lefjordtil...@yahoo.ca
 * matoma...@yahoo.ca
 * diaguy...@yahoo.ca
 * sproage...@yahoo.ca
 * fete_ad...@yahoo.ca
 * laquetejour...@yahoo.ca
 * hameaulacv...@yahoo.ca
 * nuage892...@yahoo.ca
 * gwen99...@yahoo.ca
 * nadous1...@yahoo.ca
 * gauthier.jasm...@yahoo.ca
 * maiso...@yahoo.ca
 * maevam...@yahoo.ca
 * ecolemouve...@yahoo.ca
 * dth...@yahoo.ca
 * pierremauri...@yahoo.ca
 * vicveill...@yahoo.ca
 * transportxtr...@yahoo.ca
 * eric.a...@sympatico.ca
 * misc@openbsd.org
 * energie_...@yahoo.ca
 * marcdaphne_mar...@yahoo.ca
 * mottet.e...@uqam.ca
 * eric.2.lan...@hec.ca
 * dijiany...@yahoo.ca
 * sam3sleb...@yahoo.ca9
 * jaggisin...@yahoo.ca
 * n...@yahoo.ca
 * laluness...@yahoo.ca
 * lagreline...@yahoo.ca
 * sce_v...@yahoo.ca
 * dg.representantafri...@yahoo.fr
 * kerneltrapjaggisin...@yahoo.ca
 * benjamin.constan...@usherbrooke.ca
 * bferi...@yahoo.ca
 * kuu...@yahoo.ca
 * kfys...@yahoo.ca
 * ghislaindesjard...@yahoo.ca
 * gerard_mal...@yahoo.ca
 * mecb...@rogers.com
 * e...@yahoo.ca
 * catay...@cyberus.ca
 * rianeprisca_e...@yahoo.ca
 * sergewebserv...@yahoo.ca
 * aider.qbert_psy...@yahoo.catu
 * cog7winni...@yahoo.ca
 * x5zwx...@yahoo.ca
 * lesetoilescondomini...@yahoo.ca
 * christel_ser...@yahoo.ca
 * csodou...@yahoo.ca
 * will42...@yahoo.ca
 * secretariat...@yahoo.ca
 * rothing...@yahoo.ca
 * mljo...@yahoo.ca
 * retardedc...@yahoo.ca
 * serd...@yahoo.ca
 * josslyn...@yahoo.ca
 * jane45sale...@yahoo.ca
 * lespantheresro...@yahoo.ca
 * le_refuge_...@yahoo.ca
 * spilleds...@yahoo.ca
 * jolie_na...@yahoo.ca
 * mmebrigitte_koffi0...@yahoo.ca
 * jamime...@epochworks.net
 * jyel_ro...@yahoo.ca
 * avinc...@arsece.com
 * cf-pol...@yahoo-inc.comleperegrin
 * yahoo.cacf-webmas...@yahoo-inc.comcf-
 * mdjlasa...@yahoo.ca
 * comgranite...@yahoo.ca
 * isabellemd2...@yahoo.ca

invitation_add_to_your_yahoo_calendar:

 
http://fr.calendar.yahoo.com//?v=60ST=20090812T19%2BTITLE=Je+sur+comptable+a+la+banque+BCB+je+vais+vir%c3%a9e+$6.million+a+la+etrangerDUR=0100VIEW=din_loc=Cher+Ami+Salut,+Je+suis+MR,+Saidou+Ali+comptable+a+la+BANQUE+COMERCIALE+DU+BURKINA+(BCB),+je+vais+vir%c3%a9e+$6.million+(usd)+a+la+etranger+si+vous+pour+vais+me+aide+ci+%c3%a7a+vous+intersse+je+vous+enverrons+tous+les+d%c3%a9tails+sur+la+fa%c3%a7on+dont+on+va+fait+le+demache+et+%c3%a9galement+noter+que+vous+aurez+30%25+du+montant+indiqu%c3%a9+.si+vous+%c3%aates+d%27accord+pour+m%27aider+%c3%a0+ex%c3%a9cuter+cette+transaction.+reponne+moi+rapidement+et+s.v.p+ces+un+propossition+confidentielle+merciTYPE=10


Copyright ) 2009 Tous droits riservis.
 www.yahoo.fr

Donnies personnelles:
 http://privacy.yahoo.com/privacy/us

Conditions d'utilisation:
 http://docs.yahoo.com/info/terms/



unable to run X11 on current on a thinkpad w500 4063-34g

2009-08-12 Thread Didier Wiroth
Hello,

I'm not able to run x on a thinkpad w500 (model 4063-34g),  I don't
use any custom xorg.conf.
below is my dmesg and xorg.log


thanks for your help!
didier

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version
3.32)

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 amd64
Current Operating System: OpenBSD 406334g.wiroth.net 4.6 GENERIC#0 amd64
Build Date: 10 August 2009  12:58:53PM

   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Aug 12 23:24:07 2009
(EE) Unable to locate/open config file: xorg.conf.new
(II) Loader magic: 0x771560
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 4.1
   X.Org XInput driver : 2.1
   X.Org Server Extension : 1.1
   X.Org Font Renderer : 0.6
(II) Loader running on openbsd
(--) PCI:*(0...@0:2:0) Intel GM45 Video rev 7, Mem @ 0xf440/4194304,
0xd000/268435456, I/O @ 0x1800/8
(--) PCI: (0...@0:2:1) Intel GM45 Video rev 7, Mem @ 0xf420/1048576
(==) Matched intel for the autoconfigured driver
New driver is intel
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
   Section Device
   Identifier  Builtin Default intel Device 0
   Driver  intel
   EndSection
   Section Screen
   Identifier  Builtin Default intel Screen 0
   Device  Builtin Default intel Device 0
   EndSection
   Section Device
   Identifier  Builtin Default fbdev Device 0
   Driver  fbdev
   EndSection
   Section Screen
   Identifier  Builtin Default fbdev Screen 0
   Device  Builtin Default fbdev Device 0
   EndSection
   Section Device
   Identifier  Builtin Default vesa Device 0
   Driver  vesa
   EndSection
   Section Screen
   Identifier  Builtin Default vesa Screen 0
   Device  Builtin Default vesa Device 0
   EndSection
   Section ServerLayout
   Identifier  Builtin Default Layout
   Screen  Builtin Default intel Screen 0
   Screen  Builtin Default fbdev Screen 0
   Screen  Builtin Default vesa Screen 0
   EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout Builtin Default Layout
(**) |--Screen Builtin Default intel Screen 0 (0)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default intel Device 0
(==) No monitor specified for screen Builtin Default intel Screen 0.
   Using a default monitor configuration.
(**) |--Screen Builtin Default fbdev Screen 0 (1)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default fbdev Device 0
(==) No monitor specified for screen Builtin Default fbdev Screen 0.
   Using a default monitor configuration.
(**) |--Screen Builtin Default vesa Screen 0 (2)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default vesa Device 0
(==) No monitor specified for screen Builtin Default vesa Screen 0.
   Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
   /usr/X11R6/lib/X11/fonts/misc/,
   /usr/X11R6/lib/X11/fonts/TTF/,
   /usr/X11R6/lib/X11/fonts/OTF,
   /usr/X11R6/lib/X11/fonts/Type1/,
   /usr/X11R6/lib/X11/fonts/100dpi/,
   /usr/X11R6/lib/X11/fonts/75dpi/
(==) ModulePath set to /usr/X11R6/lib/modules
(==) |--Input Device default pointer
(==) |--Input Device default keyboard
(==) The core pointer device wasn't specified explicitly in the layout.
   Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
   Using the default keyboard configuration.
(II) System resource ranges:
   [0] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
   [1] -1  0   0x000f - 0x000f (0x1) MX[B]
   [2] -1  0   0x000c - 0x000e (0x3) MX[B]
   [3] -1  0   0x - 0x0009 (0xa) MX[B]
   [4] -1  0   0x - 0x (0x1) IX[B]
   [5] -1  0   0x - 0x00ff (0x100) IX[B]
(II) LoadModule: extmod

(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
   compiled for 1.5.3, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) 

Re: Le livre de PF spotted

2009-08-12 Thread Maxime DERCHE
Hello,

On Wed, 12 Aug 2009 16:19:24 +0200
pe...@bsdly.net (Peter N. M. Hansteen) wrote:

 I thought you might like to know this - certainly if you're a
 Francophone - The Book of PF[1], out since late 2007 in the original
 English, has been translated into French and was published by Eyrolles
 in July[2].

Already on undeadly but, hey, thank you very much. ;-))
http://undeadly.org/cgi?action=articlesid=20090706214136


Regards,
Maxime

-- 
Maxime DERCHE
GnuPG public key ID : 0x9A85C4C0
(fingerprint : 0FDC 16AF 5A5B 1908 786C  2B85 2D3C C83E 9A85 C4C0)
http://www.mouet-mouet.net/maxime/blog/index.php



Re: unable to run X11 on current on a thinkpad w500 4063-34g

2009-08-12 Thread STeve Andre'
On Wednesday 12 August 2009 17:33:57 Didier Wiroth wrote:
 Hello,

 I'm not able to run x on a thinkpad w500 (model 4063-34g),  I don't
 use any custom xorg.conf.
 below is my dmesg and xorg.log


 thanks for your help!
 didier

I don't have time to go digging now, but I have a W500 as well and am very
happy with it and its happy with OpenBSD.

There are two video cards, and I'm using the Radeon 3650.  I remember
having to tell the bios to just use that video device, else it would switch
back to the Intel video.

Do that, and I think you'll be OK.  But I haven't read your dmesg data
and hopefully do you not have a different species of w500.

-STeve Andre'



[auto-reply] En cong�s

2009-08-12 Thread Frederic Coudy
Bonjour,

Je suis en congis du lundi 03 ao{t au mercerdi 12 ao{t inclus.  Voici la liste
des personnes ` contacter durant mon absence :  Antoine Louis 01 58 96 62 73
et Laurent Cantone 04 97 12 87 96

Merci de systimatiquement utiliser la mailing liste suivante :
reseau.r...@list.hebex.orangeportails.net



Recovering from ERR M at boot on a collocated server with a home made rescue partition available.

2009-08-12 Thread artlight07
Hello all.

I am in need of a little help or advice to rescue an OpenBSD server I do 
not have physical access to. I have or can have a KVM but no iso remote 
loading/booting. I can use a PXE linux boot disk to do basic disc / 
Slice changes. The server was installed using a custom procedure 
similar to yafoo. 




The setup
-
I set up the computer disk with two slices (what dos call partitions, 
the one that are limited to 4 primary ones to get the terminology 
right), BOTH of them having OpenBSD, the fist one of 1G contains a 
rescue OBSD and the other one contains the main/ productive Openbsd. 
To achieve this I installed one slice, hidden it as a Opus (code 10) 
partition type and installed another OpenBSD on the other slice. 

The disk layout is as such 



fdisk wd0
Disk: wd0   geometry: 19457/255/63 [312581808 Sectors]
Offset: 0   Signature: 0xAA55
 Starting EndingLBA Info:
 #: id  C   H  S -  C   H  S [  start:size ]

 0: 10  0   1  1 -100 254 63 [ 63: 1622502 ] OPUS
*1: A6101   0  1 -  19456 254 63 [1622565:   310954140 ] OpenBSD
 2: 00  0   0  0 -  0   0  0 [  0:   0 ] unused
 3: 00  0   0  0 -  0   0  0 [  0:   0 ] unused

The first Opus(10) partition is in fact an openbsd install. I switch 
between the two by making the slice 0 active putting its os code at 
openBSD(A6) and putting the slice 2 at OS code Opus(10). I was probably 
too smart for my own good at the time. :) 




The problem
---

Since a few days I was not able to access the machine. A ram hardware 
failure was diagnosed and ram changed but I still was not able to boot 
on the main partition on slice 1. 




===
A KWM showed a failure at boot time of the ERR M  kind ...
===
 I looked it up and understand that it is linked to boot(8) being 
corrupt and not knowing were to look for the kernel. Installboot should 
be a solution but I don't know how to run it in my situation. 

I have acces and can boot on the rescue slice 0 partition but running 
installboot from it won't give me the desired result since it would link 
the boot(8) record to the slice 0 kernel and not the slice 1 kernel. 


Questions
--


Question 1

Is it possible to do that ? i.e. reinstall the boot(8) bloc on slice 1 
refering to the slice 1 kernel on that partition ? 

To me it means being able to mount the slice 1 frome slice 0 no ? 

witch lead the to my second question 

Question 2 

Either to recue the slice 1 setup or to retrieve my datas, how can I 
make the slice 1 seen and mount it from slice 0 ? I have record of the 
exact layout of both slices. Currently disklabel from slice 0 show me 
that : 



# disklabel wd0
# Inside MBR partition 0: type A6 start 63 size 1622502
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: ST3160812AS
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 19457
total sectors: 312581808
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:  132   63  4.2BSD   2048 163841
  b:   289170  195swap
  c:3125818080  unused  0 0
  i:310954140  1622565 unknown

Obviously the i partition is the whole slice 1.

I want to make it so
16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:  4194307  1622565  4.2BSD   2048 163841
  b:  4194304  5816872swap
  c:3125818080  unused  0 0
  d:  4194304 10011176  4.2BSD   2048 163841
  e: 62914560 14205480  4.2BSD   2048 163841
  g: 62914560 77120040  4.2BSD   2048 163841
  h:125829120140034600  4.2BSD   2048 163841

Since I recorded the layout of the slice 1 when configuring the machine. 

Is it the right thing to do from disklabel from the slice 0 openBSD ? 

Would there be some adverse effect from doing it on my slice 1 datas ? 

Am I right in my understanding that is will only change my slice 0 
disklabel, giving it knowledge of the slice 1 layout but not write 
anything on the slice 1 ? 

Question 3 

Anybody would have a bright idea of a solution or things to do that 
would have escaped my limited mind ? I am open to any pointer or 
suggestion before doing some irreparable harm to my disks. 

Thanks a lot for your time and help anyway and thanks for helping make 
OpenBSD the OS it is... 


 
Aditionnal datas


Original slice 0 layout :

# 

weird thing hapenning during upgrade

2009-08-12 Thread frantisek holop
hi there,

i welcome everyone reading this mail with the hollywood plot like
subject line.

here's what's happening, plain and simple: during the upgrade process,
for some months now --- every couple of week i upgrade to -current ---
the upgrade process stops/stalls always exactly at 77% of base46.tgz.
no amount of waiting helps.  the script has to be interrupted and then
started again in which case it finishes as if nothing has ever happened.

the destination (wd0a) is checked with fsck during the upgrade process,
the flash disk (sd0a) i am installing from has been checked with fsck.
i think corrupt files/archives/file systems can be ruled out.

i hate these kind of halloween bugs that make no sense whatsoever and
need scooby doo and his gang to make something out of it.  i am asking
the more knowledgeables to help me diagnose what is happening.  i am
attaching the dmesg for what it's worth.

-f


OpenBSD 4.6-current (GENERIC) #95: Sun Aug  9 12:54:05 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 502308864 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/16/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version 1101 date 05/16/2008
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P3)
acpiprt2 at acpi0: bus -1 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model 701 serial   type LION oem ASUS
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: TVOD
acpivout2 at acpivideo0: LCDD
bios0: ROM list: 0xc/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: apic 1 int 
16 (irq 11)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16 
(irq 11)
pci1 at ppb0 bus 3
ppb1 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: apic 1 int 18 
(irq 10)
pci2 at ppb1 bus 1
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: apic 1 
int 18 (irq 10), MIMO 2T3R, MoW2, address 00:21:5c:04:9e:19
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: apic 1 int 19 
(irq 3)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: apic 1 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: apic 1 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci3 at ppb2 bus 4
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: apic 1 int 19 
(irq 0)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 

systat making system under load stop responding

2009-08-12 Thread frantisek holop
hi there,

under certain load (copying from one external disk to the other,
pkg_add -ui, etc) starting systat in a new terminal makes the 
system stop responding.  no core dump, no ddb, nothing.  the
screen freezes and the machine can be ony turned off.  sorry that i
can't get any more details but i don't know how.

can anybody reproduce this?

-f

OpenBSD 4.6-current (GENERIC) #95: Sun Aug  9 12:54:05 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 502308864 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/16/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version 1101 date 05/16/2008
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P3)
acpiprt2 at acpi0: bus -1 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model 701 serial   type LION oem ASUS
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: TVOD
acpivout2 at acpivideo0: LCDD
bios0: ROM list: 0xc/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: apic 1 int 
16 (irq 11)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16 
(irq 11)
pci1 at ppb0 bus 3
ppb1 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: apic 1 int 18 
(irq 10)
pci2 at ppb1 bus 1
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: apic 1 
int 18 (irq 10), MIMO 2T3R, MoW2, address 00:21:5c:04:9e:19
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: apic 1 int 19 
(irq 3)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: apic 1 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: apic 1 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci3 at ppb2 bus 4
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: apic 1 int 19 
(irq 0)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 5 configuration 1 interface 0 ENE UB6225 rev 2.00/1.00 
addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 

Watch LIVE Tonight at 10pm (EST)

2009-08-12 Thread Darlene McCoy
Your Email client is not formatted to view HTML emails. We have included the
text email of the message.

Purchase securely here:
Amazon: http://fburls.com/92-PZmFW99T
 Click Below To Watch LIVE!   [1]

Links:
--
[1] http://www.DarleneMcCOyTV.com

Purchase securely here:
Amazon: http://fburls.com/41-4ZdvipeL




Darlene McCoy sent this email to misc@openbsd.org
Questions? Contact darlenemc...@streamingfree.tv or Darlene McCoy, c/o
FanBridge, Inc. - 14525 SW Millikan Way, #16910, Beaverton, Oregon 97005,
United States



Privacy Policy - http://www.FanBridge.com/learn/privacy.php
Unsubscribe - http://fburls.com/70-nVAeIrdp
Update Your Information - http://fburls.com/97-75aJ4JLt
Forward to a friend - http://fburls.com/34-45Vdz8U3

This email message is powered by FanBridge:
http://www.FanBridge.com/b.php?id=124592
Free Email and Mobile fan list management for bands.



Re: Recovering from ERR M at boot on a collocated server with a home made rescue partition available.

2009-08-12 Thread Nick Holland
Great details, but I'm snipping them for length.

btw: you forgot the part about how horrible we are for letting this happen
to you, so I can't ignore your polite plea for help.  dang. :)

artligh...@free.fr wrote:
...
 fdisk wd0
 Disk: wd0   geometry: 19457/255/63 [312581808 Sectors]
 Offset: 0   Signature: 0xAA55
  Starting EndingLBA Info:
  #: id  C   H  S -  C   H  S [  start:size ]
 
  0: 10  0   1  1 -100 254 63 [ 63: 1622502 ] OPUS
 *1: A6101   0  1 -  19456 254 63 [1622565:   310954140 ] OpenBSD
  2: 00  0   0  0 -  0   0  0 [  0:   0 ] unused
  3: 00  0   0  0 -  0   0  0 [  0:   0 ] unused
 
 The first Opus(10) partition is in fact an openbsd install. I switch 
 between the two by making the slice 0 active putting its os code at 
 openBSD(A6) and putting the slice 2 at OS code Opus(10). I was probably 
 too smart for my own good at the time. :) 

yeah, I was too smart that way once, too.  I suspect I know what you did.

The problem with this recovery partition idea is how do you switch
between partitions?.  The impulse is to call up fdisk, and change the
partition types and flag the other one as active.

This is a good way to end up with a non-bootable system.  I'm not
entirely sure why, I'll make a complete fool of myself and speculate,
but it seems the OS notices you changed the default boot partition
and starts writing stuff to the new 'a' partition (or ?) based on
what it knew of the old one...  I suspect that's completely wrong,
but it provides a good mental model of why you shouldn't do that.

(IF you want to multiboot that way, do your fdisk changes with bsd.rd.
Or just get a second computer.  It's not worth the headaches!)

 ===
 A KWM showed a failure at boot time of the ERR M  kind ...
 ===
  I looked it up and understand that it is linked to boot(8) being 
 corrupt and not knowing were to look for the kernel. 

yeah, whatever the PBR grabbed, it didn't look like /boot.  What the
PBR is supposed to grab is hard-coded in the PBR by installboot.
SO, if something overwrites /boot or damages it or the PBR is
pointing into something odd, you get the ERR M
(there is very little space available in the PBR, which is why you
get five character error codes...)

Installboot should
 be a solution but I don't know how to run it in my situation. 

following a really good fsck'ing, maybe...
 ...
 Question 1
 
 Is it possible to do that ? i.e. reinstall the boot(8) bloc on slice 1 
 refering to the slice 1 kernel on that partition ? 

not easily.. (i.e., I can't think of how...and I can think of why
it might not be possible with existing code).

 To me it means being able to mount the slice 1 frome slice 0 no ? 
 
 witch lead the to my second question 
 
 Question 2 
 
 Either to recue the slice 1 setup or to retrieve my datas, how can I 
 make the slice 1 seen and mount it from slice 0 ? I have record of the 
 exact layout of both slices. Currently disklabel from slice 0 show me 
 that : 
 
 
 
 # disklabel wd0
 # Inside MBR partition 0: type A6 start 63 size 1622502
 # /dev/rwd0c:
 type: ESDI
 disk: ESDI/IDE disk
 label: ST3160812AS
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 19457
 total sectors: 312581808
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0
 
 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:  132   63  4.2BSD   2048 163841
   b:   289170  195swap
   c:3125818080  unused  0 0
   i:310954140  1622565 unknown
 
 Obviously the i partition is the whole slice 1.
 
 I want to make it so
 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:  4194307  1622565  4.2BSD   2048 163841
   b:  4194304  5816872swap
   c:3125818080  unused  0 0
   d:  4194304 10011176  4.2BSD   2048 163841
   e: 62914560 14205480  4.2BSD   2048 163841
   g: 62914560 77120040  4.2BSD   2048 163841
   h:125829120140034600  4.2BSD   2048 163841
 
 Since I recorded the layout of the slice 1 when configuring the machine.

go pat yourself on the back.  you probably saved your own butt. :)

 Is it the right thing to do from disklabel from the slice 0 openBSD ? 
 
 Would there be some adverse effect from doing it on my slice 1 datas ? 
 
 Am I right in my understanding that is will only change my slice 0 
 disklabel, giving it