newfs: cg 0: bad magic number

2008-01-02 Thread Xavier Mertens
Hi *, I'm trying to build a new FS on an IDE disk. All newfs commands end with: # newfs /dev/rwd1a .. .. newfs: cg 0: bad magic number newfs: fsinit1 failed Here is the disk info: # disklabel wd1 # /dev/rwd1c: type: ESDI disk: ESDI/IDE disk label: Maxtor 6B250R0 flags: bytes/sector: 512

Re: newfs: cg 0: bad magic number

2008-01-02 Thread Xavier Mertens
: 0 ] unused When I create some partitions, write them to the disk, restart fdisk, I'm back to the same empty config. Is my disk physically dead? :( Xavier -- There's no place like ~ On Thu, 3 Jan 2008, Xavier Mertens wrote: Hi *, I'm trying to build a new FS on an IDE disk. All newfs

Re: newfs: cg 0: bad magic number

2008-01-02 Thread Xavier Mertens
manuals. On Wed, 2 Jan 2008, Nick Holland wrote: Good thing OpenBSD only runs on one platform and one type of computer, eh? Xavier Mertens wrote: .. 16 partitions: #size offset fstype [fsize bsize cpg] a:481950 4.2BSD 2048

Re: newfs: cg 0: bad magic number

2008-01-02 Thread Xavier Mertens
:4902347520 unused 0 0 But I still have the same error at the end of the newfs: newfs: cg 0: bad magic number newfs: fsinit1 failed :( Xavier -- Hint: A reload a day, keeps the TAC away . On Wed, 2 Jan 2008, Ted Unangst wrote: On 1/2/08, Xavier Mertens [EMAIL

Re: newfs: cg 0: bad magic number

2008-01-02 Thread Xavier Mertens
Is that normal to have a signature of 0x0 reported by fdisk? On my other disks, signature is 0xAA55. Thanks for your help! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Xavier Mertens Sent: jeudi 3 janvier 2008 2:28 To: misc@openbsd.org Subject: Re

OpenBSD on VMware

2007-11-25 Thread Xavier Mertens
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

Re: OpenBSD on VMware

2007-11-25 Thread Xavier Mertens
, 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

Re: OpenBSD on VMware

2007-11-25 Thread Xavier Mertens
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

systrace/stsh policies

2007-10-11 Thread Xavier Mertens
Hi *, I'm busy with a systrace/stsh implementation but there is a lack of standard policies (IMHO). Any idea where I can find some ready-to-use policies? I must be missing some important ones, when the user logs in, he got immediately the following error: systrace: getcwd: Permission denied

Problem with new IDE disk

2007-08-23 Thread Xavier Mertens
Hi *, I just reinstalled a box (running -CURRENT). I added a third IDE drive: wd2 at pciide0 channel 1 drive 1: WDC WD2500JB-00REA0 wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5 dkcsum: wd2 matches BIOS drive 0x82 It will be fully

Re: Problem with new IDE disk

2007-08-23 Thread Xavier Mertens
Argh! So stupid! I just started a rebuild of userland tools... I'll keep you informed. Tx Miod! Xavier -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) On Thu, 23 Aug 2007, Miod Vallat wrote: # fdisk -i wd2 # disklabel -E wd2 (created 'a'

Re: Problem with new IDE disk

2007-08-23 Thread Xavier Mertens
Ok, problem solved, it was indeed a mismatch between kernel userland! Tx! Xavier -- The first time that Microsoft makes a product that doesn't suck will be when they start making vacuum cleaners! On Thu, 23 Aug 2007, Miod Vallat wrote: # fdisk -i wd2 # disklabel -E wd2 (created 'a'

HTTP URL filtering?

2007-02-06 Thread Xavier Mertens
Hi *, I've a problem with an Apache web server hit by f*cking spammers... I would like to filter some URLs (unused but still used by the bots) *BEFORE* they reach the httpd processes. What could be the best method? pf? something else? Thanks! Xavier

Thunderbird stability/usability?

2006-08-16 Thread Xavier Mertens
hi *, A few days ago, my notebook disk died... Good opportunity to reinstall a fresh 3.9-GENERIC. My X environment is running fine (xfce4) but Thunderbird gives me some headaches... (mozilla-thunderbird-1.5.0.4.tgz) From time to time, when reading RSS feeds or HTML mails (Grrr), it just closes!

panic: semop - can't undo undos

2006-07-25 Thread Xavier Mertens
Hi *, I got this panic today... I googled for this message and got a hit on the list archive: quote Otto Moerbeek wrote: On Thu, 8 Jun 2006, Michael Erdely wrote: panic: semop - can't undo undos your system is running out of semaphore undo data structures. Try increasing

CPU cache problem with 3.9 ?

2006-07-25 Thread Xavier Mertens
Hi *, I found why my box freezes when booting 3.9 (GENERIC). I need to disable the CPU cache in the BIOS (PIII 1Ghz). But, of course, the box is slow... Anybody already had this issue? Xavier -- Free shell account on www.rootshell.be!

Help to debug Openbsd freezes...

2006-07-24 Thread Xavier Mertens
Hi Gurus, I'm facing a strange and frustrating problem... I run a box with OpenBSD without problem for a while (2 years). It's still running 3.5 (ok, ok, don't shoot, it's an old one but upgrades are not easy). It's an i386 1U in a safe environment (colo) See attached dmesg below. For two weeks

RAID label problem?

2006-03-22 Thread Xavier Mertens
Hi, I'm busy to set up a box with 2 x 80GB disks in RAID1. I'm following the procedures found online but, once the RAID is initialized, I got the follow error while trying to partition it: Write new label?: [y] disklabel: ioctl DIOCWDINFO: No space left on device disklabel: unable to write

Re: RAID label problem?

2006-03-22 Thread Xavier Mertens
located the problem... It's between the keyboard and the chair! On Wed, 22 Mar 2006, Greg Oster wrote: Xavier Mertens writes: Hi, I'm busy to set up a box with 2 x 80GB disks in RAID1. I'm following the procedures found online but, once the RAID is initialized, I got the follow

Re: RAID label problem?

2006-03-22 Thread Xavier Mertens
Thanks Otto! This fixed the problem... Xavier -- There are only 10 types of people in the world: Those who understand binary and those who don't. On Wed, 22 Mar 2006, Otto Moerbeek wrote: On Wed, 22 Mar 2006, Xavier Mertens wrote: 16 partitions: # sizeoffset fstype