Problem with new IDE disk

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Xavier Mertens
Date: Thursday, August 23, 2007 - 6:33 am

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 dedicated to OpenBSD so, I issued the following commands:

# fdisk -i wd2
# disklabel -E wd2 (created 'a' partition)
# newfs wd2a

==> Errors!

wd2a: id not found writing fsbn 488397104 (wd2 bn 8796581419375; cn 547561868 tn 158 sn 1), retrying
wd2: transfer error, downgrading to Ultra-DMA mode 4
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
wd2a: id not found writing fsbn 488397104 (wd2 bn 8796581419375; cn 547561868 tn 158 sn 1), retrying
wd2: transfer error, downgrading to Ultra-DMA mode 3
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 3
wd2a: id not found writing fsbn 488397104 (wd2 bn 8796581419375; cn 547561868 tn 158 sn 1), retrying

I booted the box with a Knoppix CD and I was able to create an ext3 fs on the disk.
The filesystem was successfully mounted under OpenBSD and I/O were correct.
Any idea why newfs failed?

Regards,
Xavier
--
The three Rs of Microsoft support: Retry, Reboot, Reinstall.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Problem with new IDE disk, Xavier Mertens, (Thu Aug 23, 6:33 am)
Re: Problem with new IDE disk, Miod Vallat, (Thu Aug 23, 6:50 am)
Re: Problem with new IDE disk, Xavier Mertens, (Thu Aug 23, 7:03 am)
Re: Problem with new IDE disk, Xavier Mertens, (Thu Aug 23, 11:51 am)
Re: Problem with new IDE disk, Stéphane Chausson, (Fri Aug 24, 2:34 am)
Re: Problem with new IDE disk, Miod Vallat, (Fri Aug 24, 2:45 am)