Alix 2D13 boot problems with HDD
-
Hey everybody!
I have installed pfSense 2.0.1 on a 80GB WD800BEVE. When i connect it with my Alix 2D13 (IDE Interface) pfsense boots and after a while putty shows me the following output which is shown in a loop:
g_vfs_done():ad0s1a[READ(offset=586407936, length=57344)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 1 (init)
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=1145407
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=1145407
ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=11
45407
g_vfs_done():ad0s1a[READ(offset=586407936, length=57344)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 1 (init)
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=1145407
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=1145407
ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=11
45407
g_vfs_done():ad0s1a[READ(offset=586407936, length=57344)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 1 (init)
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=1145407
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=1145407
ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=11
45407Thank you!</icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error>
-
Did you choose the embedded kernel option when installing? IIRC that disables DMA, which is required for the ALIX to function.
-
My guess would be that the disk has developed a bad spot.
Last time I looked into FreeBSD's handling of bad blocks it seemed to rely entirely on the disk's mechanism of transparently replacing bad blocks. Unlike some operating systems, FreeBSD doesn't seem to place special files on bad blocks. It might help to write zeroes all over the disk to get the disk's bad block replacement mechanism to allocate a replacement block if possible). Sample FreeBSD command:
dd if=/dev/zero of=/dev/ad0
where you would have to replace /dev/ad0 by the real name of the disk.
-
Thank you for the very fast answers.
I wrote zeros on the whole disk and installed pfsense 2.0.1 again (with embedded kernel option). The same Problem again.Here you can see everything from start to the failure:
PC Engines ALIX.2 v0.99h
640 KB Base Memory
261120 KB Extended Memory
Waiting for HDD …01F0 Master 427A WDC WD800BEVE-00A0HT0
Phys C/H/S 16383/16/63 Log C/H/S 9729/255/63 LBAF1 pfSense
F6 PXE
Boot: F1
//bboooott..ccoonnffiigg:: --DDConsoles: internal video/keyboard serial port
BIOS drive C: is disk0
BIOS 640kB/261120kB available memoryFreeBSD/i386 bootstrap loader, Revision 1.1
(root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org, Mon Dec 12 17:10:52 EST 2011)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x8a1d18 data=0x3c9e54+0x9b6a0 syms=[0x4+0x94100+0x4+0xcaf47]
|ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
³ ³
³ ³
³ Welcome to pfSense! ³
³ ³ ______
³ ³ /
³ 1. Boot pfSense [default] ³ / f
³ 2. Boot pfSense with ACPI enabled ³ / \ /
³ 3. Boot pfSense using USB device ³ / p _/ Sense
³ 4. Boot pfSense in Safe Mode ³ \ /
³ 5. Boot pfSense in single user mode ³ _____/
³ 6. Boot pfSense with verbose logging ³ \ /
³ 7. Escape to loader prompt ³ ______/
³ 8. Reboot ³
³ ³
³ ³
³ ³
³ Select option, [Enter] for default ³
³ or [Space] to pause timer 0 ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙCopyright 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RELEASE-p6 #0: Mon Dec 12 17:33:39 EST 2011
root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x5a2 Family = 5 Model = a Stepping = 2
Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory = 268435456 (256 MB)
avail memory = 243433472 (232 MB)
pnpbios: Bad PnP BIOS data checksum
netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling
wlan: mac acl policy registered
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0710010, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc07100b0, 0) error 1
wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/.
wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (wpi_fw, 0xc0883050, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc0710150, 0) error 1
K6-family MTRR support enabled (2 registers)
ACPI Error: A valid RSDP was not found (20100331/tbxfroot-309)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
cryptosoft0: <software crypto="">on motherboard
padlock0: No ACE support.
pcib0: <host to="" pci="" bridge="">pcibus 0 on motherboard
pci0: <pci bus="">on pcib0
Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007
pci0: <encrypt decrypt,="" entertainment="" crypto="">at device 1.2 (no driver attached)
vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0
vr0: Quirks: 0x2
vr0: Revision: 0x96
miibus0: <mii bus="">on vr0
ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: [ITHREAD]
vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0
vr1: Quirks: 0x2
vr1: Revision: 0x96
miibus1: <mii bus="">on vr1
ukphy1: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: [ITHREAD]
vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1800-0x18ff mem 0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0
vr2: Quirks: 0x2
vr2: Revision: 0x96
miibus2: <mii bus="">on vr2
ukphy2: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus2
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2: [ITHREAD]
ath0: <atheros 2413="">mem 0xe00c0000-0xe00cffff irq 9 at device 12.0 on pci0
ath0: [ITHREAD]
ath0: AR2413 mac 7.8 RF2413 phy 4.5
isab0: <pci-isa bridge="">port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0
isa0: <isa bus="">on isab0
atapci0: <amd cs5536="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
ata0: <ata 0="" channel="">on atapci0
ata0: [ITHREAD]
ata1: <ata 1="" channel="">on atapci0
ata1: [ITHREAD]
ohci0: <ohci (generic)="" usb="" controller="">mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0
ohci0: [ITHREAD]
usbus0: <ohci (generic)="" usb="" controller="">on ohci0
ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">on ehci0
cpu0 on motherboard
orm0: <isa option="" rom="">at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0
atrtc0: <at real="" time="" clock="">at port 0x70 irq 8 on isa0
ppc0: parallel port not found.
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: [FILTER]
uart0: console (9600,n,8,1)
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: [FILTER]
Timecounter "TSC" frequency 498052732 Hz quality 800
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <amd>at usbus0
uhub0: <amd 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0
ugen1.1: <amd>at usbus1
uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus1
ad0: 76319MB <wdc wd800beve-00a0ht0="" 11.01a11="">at ata0-master UDMA100
GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s).
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
uhub0: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
Root mount waiting for: usbus1
uhub1: 4 ports with 4 removable, self powered
Trying to mount root from ufs:/dev/ad0s1a
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=5269231
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=5269231
ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=5269231
g_vfs_done():ad0s1a[READ(offset=2697805824, length=16384)]error = 5
Lookup of /dev for devfs, error: 5
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=7166223
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=7166823
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=7166823
ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=7166823
g_vfs_done():ad0s1a[READ(offset=3669372928, length=65536)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 1 (init)
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=7166823
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=7166823
ad0: FAILURE - READ_DMA status=51 <ready,dsc,error>error=84 <icrc,aborted>LBA=7166823
g_vfs_done():ad0s1a[READ(offset=3669372928, length=65536)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 1 (init)</icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></icrc,aborted></ready,dsc,error></wdc></amd></amd></amd></amd></at></isa></amd></amd></ohci></ohci></ata></ata></amd></isa></pci-isa></atheros></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></host></software></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx> -
Try to disable DMA for sure:
http://doc.pfsense.org/index.php/Booting_Options#Disable_DMA_for_IDE_drives