Otto Moerbeek wrote:
> On Sat, 6 Oct 2007, Steven Wagner wrote:
>
>   
>> 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:
>>     
>
> Please include dmesg. Knowing wich platform and version you are running
> is vital.
>
>       -Otto
>       
>   
Sorry, here is the complete dmesg. Also, I apologize if I sent this more
than once, I've been having some issues with my smtp servers too.

# dmesg
ch
watch step s continue c until
next match trace call ps callout
show boot help hangman dmesg
ddb> Debugger(d11d4800,e16bb000,e84afc90,d11d4800,e16bb000) at Debugger+0x4
panic(d0691ad9,e5,40,0,0) at panic+0x63
ext2fs_lookup(d665ad68,e16bb000,0,0) at ext2fs_lookup+0xb42
ext2fs_lookup(e84afd68,30042,d65e79cc,0,d0738320) at ext2fs_lookup+0x9b1
VOP_LOOKUP(d665ad68,e84afe58,e84afe6c,20) at VOP_LOOKUP+0x2e
lookup(e84afe48,d675a400,400,e84afe60) at lookup+0x1d0
namei(e84afe48,d0cd6098,e84aff60,d042da18) at namei+0x180
sys_stat(d65e79cc,e84aff68,e84aff58,1,4b) at sys_stat+0x4a
syscall() at syscall+0x24a
--- syscall (number 291) ---
0x1c00911d:
ddb> syncing disks... 6 6 done
rebooting...
OpenBSD 4.1-stable (GENERIC) #0: Sun Sep 16 10:50:05 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 931 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 400912384 (391516K)
avail mem = 357761024 (349376K)
using 4278 buffers containing 20168704 bytes (19696K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 09/05/01, BIOS32 rev. 0 @ 0xfda74,
SMBIOS rev. 2.3 @ 0xf0f80 (53 entries)
bios0: Dell Computer Corporation L550cx
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2c30/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E" rev 0x03: rng active, 9Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810E Graphics" rev 0x03: aperture
at 0xf8000000, size 0x4000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
eap0 at pci1 dev 9 function 0 "Ensoniq AudioPCI97" rev 0x06: irq 9
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
dc0 at pci1 dev 10 function 0 "Lite-On PNIC" rev 0x20: irq 3, address
00:a0:cc:5c:a9:27
bmtphy0 at dc0 phy 1: BCM5201 10/100 PHY, rev. 2
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HDS722540VLAT20>
wd0: 16-sector PIO, LBA48, 38146MB, 78125000 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y060P0>
wd1: 16-sector PIO, LBA, 58644MB, 120103200 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <CD-ROM, F565E, 1.07> SCSI0 5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ichiic0 at pci0 dev 31 function 3 "Intel 82801AA SMBus" rev 0x02: irq 9
iic0 at ichiic0
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
pcppi0 at isa0 port 0x61
midi1 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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ff6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
dc0: failed to force tx and rx to idle state
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl %dx,%es:(%edi)
ddb> kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl %dx,%es:(%edi)
ddb>
wdc_default_read_raw_multi_4(d0fb35a8,e205c000,200,d0fb35d4,d0fb3000) at
wdc_default_read_raw_multi_4+0x22
wdc_input_bytes(d0fb35d4,e205c000,200,38) at wdc_input_bytes+0x54
wdc_ata_bio_intr(d0fb35a8,d6769060,1,0) at wdc_ata_bio_intr+0x1be
wdcintr(d0fb35a8) at wdcintr+0x8b
Xrecurse_legacy15() at Xrecurse_legacy15+0xb1
--- interrupt ---
apm_cpu_idle(b0,d0775200,d0775060,7fffffff,d0337c5f) at apm_cpu_idle+0x42
idle_loop(d0823b00,28,0,0,8aa000) at idle_loop+0x5
bpendtsleep(d0775060,4,d06937ec,0,0,ffffffff,d064b010,0) at bpendtsleep
uvm_scheduler(d077505c,3,0,d064b010,2) at uvm_scheduler+0x20
check_console(0,0,0,0,0) at check_console
ddb> kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl %dx,%es:(%edi)
ddb> kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl %dx,%es:(%edi)
ddb> No such command
ddb> No such command
ddb> machine print examine x search set
write w delete d break dwatch
watch step s continue c until
next match trace call ps callout
show boot help hangman dmesg
ddb> wdc_default_read_raw_multi_4+0x22: 5f5b6df2
ddb>
wdc_default_read_raw_multi_4(d0fb35a8,e205c000,200,d0fb35d4,d0fb3000) at
wdc_default_read_raw_multi_4+0x22
wdc_input_bytes(d0fb35d4,e205c000,200,38) at wdc_input_bytes+0x54
wdc_ata_bio_intr(d0fb35a8,d6769060,1,0) at wdc_ata_bio_intr+0x1be
wdcintr(d0fb35a8) at wdcintr+0x8b
Xrecurse_legacy15() at Xrecurse_legacy15+0xb1
--- interrupt ---
apm_cpu_idle(b0,d0775200,d0775060,7fffffff,d0337c5f) at apm_cpu_idle+0x42
idle_loop(d0823b00,28,0,0,8aa000) at idle_loop+0x5
bpendtsleep(d0775060,4,d06937ec,0,0,ffffffff,d064b010,0) at bpendtsleep
uvm_scheduler(d077505c,3,0,d064b010,2) at uvm_scheduler+0x20
check_console(0,0,0,0,0) at check_console
ddb> No such command
ddb> No such command
ddb> kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl %dx,%es:(%edi)
de=0
Stopped at
OpenBSD 4.1-stable (GENERIC) #0: Sun Sep 16 10:50:05 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 931 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 400912384 (391516K)
avail mem = 357761024 (349376K)
using 4278 buffers containing 20168704 bytes (19696K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 09/05/01, BIOS32 rev. 0 @ 0xfda74,
SMBIOS rev. 2.3 @ 0xf0f80 (53 entries)
bios0: Dell Computer Corporation L550cx
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2c30/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E" rev 0x03: rng active, 9Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810E Graphics" rev 0x03: aperture
at 0xf8000000, size 0x4000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
eap0 at pci1 dev 9 function 0 "Ensoniq AudioPCI97" rev 0x06: irq 9
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
dc0 at pci1 dev 10 function 0 "Lite-On PNIC" rev 0x20: irq 3, address
00:a0:cc:5c:a9:27
bmtphy0 at dc0 phy 1: BCM5201 10/100 PHY, rev. 2
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HDS722540VLAT20>
wd0: 16-sector PIO, LBA48, 38146MB, 78125000 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y060P0>
wd1: 16-sector PIO, LBA, 58644MB, 120103200 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <CD-ROM, F565E, 1.07> SCSI0 5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ichiic0 at pci0 dev 31 function 3 "Intel 82801AA SMBus" rev 0x02: irq 9
iic0 at ichiic0
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
pcppi0 at isa0 port 0x61
midi1 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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ff6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
dc0: failed to force tx and rx to idle state
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
pciide0:1: unable to load xfer DMA map for drive 0, error=22
wd1i: DMA error reading fsbn -1030692568 of -1030692568-3 (wd1 bn
-1030692505; cn 3238367 tn 13 sn 36), retrying
kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl %dx,%es:(%edi)
ddb>
wdc_default_read_raw_multi_4(d0fb35a8,de1ac000,200,d0fb35d4,d0fb3000) at
wdc_default_read_raw_multi_4+0x22
wdc_input_bytes(d0fb35d4,de1ac000,200,38) at wdc_input_bytes+0x54
wdc_ata_bio_intr(d0fb35a8,d6769060,1,0) at wdc_ata_bio_intr+0x1be
wdcintr(d0fb35a8) at wdcintr+0x8b
Xrecurse_legacy15() at Xrecurse_legacy15+0xb1
--- interrupt ---
apm_cpu_idle(b0,d0775200,d0775060,7fffffff,d0337c5f) at apm_cpu_idle+0x42
idle_loop(d0823b00,28,0,0,8aa000) at idle_loop+0x5
bpendtsleep(d0775060,4,d06937ec,0,0,ffffffff,d064b010,0) at bpendtsleep
uvm_scheduler(d077505c,3,0,d064b010,2) at uvm_scheduler+0x20
check_console(0,0,0,0,0) at check_console
ddb> kernel: page fault trap, code=0
Stopped at wdc_default_read_raw_multi_4+0x22: repne insl
%dx,%es:(%edi)BIOS32 rev. 0 @ 0xfda74, SMBIOS rev. 2.3 @ 0xf0f8
OpenBSD 4.1-stable (GENERIC) #0: Sun Sep 16 10:50:05 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 931 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 400912384 (391516K)
avail mem = 357761024 (349376K)
using 4278 buffers containing 20168704 bytes (19696K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 09/05/01, BIOS32 rev. 0 @ 0xfda74,
SMBIOS rev. 2.3 @ 0xf0f80 (53 entries)
bios0: Dell Computer Corporation L550cx
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2c30/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E" rev 0x03: rng active, 9Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810E Graphics" rev 0x03: aperture
at 0xf8000000, size 0x4000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
eap0 at pci1 dev 9 function 0 "Ensoniq AudioPCI97" rev 0x06: irq 9
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
dc0 at pci1 dev 10 function 0 "Lite-On PNIC" rev 0x20: irq 3, address
00:a0:cc:5c:a9:27
bmtphy0 at dc0 phy 1: BCM5201 10/100 PHY, rev. 2
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HDS722540VLAT20>
wd0: 16-sector PIO, LBA48, 38146MB, 78125000 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y060P0>
wd1: 16-sector PIO, LBA, 58644MB, 120103200 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <CD-ROM, F565E, 1.07> SCSI0 5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ichiic0 at pci0 dev 31 function 3 "Intel 82801AA SMBus" rev 0x02: irq 9
iic0 at ichiic0
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
pcppi0 at isa0 port 0x61
midi1 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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ff6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
dc0: failed to force tx and rx to idle state

Reply via email to