I have an old backup drive from a Linux file server I was running. I
want it to be mounted in my new openBSD, but I'm having trouble with it.
I had FreeBSD on this server last and it was able to mount this ext2 fs
fine after installing the e2fsprogs suite.

I built and installed the e2fsprogs suite from ports on the OpenBSD
server, but when I run /usr/local/sbin/e2fsck /dev/wd1i it makes a lot
of fixes and then the whole system crashes and drops me to a ddb prompt.
Here's some info about the drive, any thoughts or suggestions are much
appreciated.

Before this happened I didn't see all the dma errors in dmesg:

# dmesg |grep wd1
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y060P0>
wd1: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
dkcsum: wd1 matches BIOS drive 0x81
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y060P0>
wd1: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
dkcsum: wd1 matches BIOS drive 0x81
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y060P0>
wd1: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
dkcsum: wd1 matches BIOS drive 0x81

disklabel wd1i:

# disklabel wd1i
# /dev/rwd1i:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6Y060P0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 120103200
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  c:     120103200             0  unused      0     0      # Cyl     0
-119149
  i:     120103137            63  ext2fs                   # Cyl    
0*-119149

Reply via email to