Error with pfsense and hard drive

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
I've gotten this error several times now and what i found on google and pfsense are not working for me. I have tried 3 different hard drives and keep getting the same errors.

Pfsense locks up and quit handing out DHCP addresses is how i notice their is a problem. I attempt to reboot it but can not. So i hard reset it. Does a fdisk check and then sits at this screen.

http://tinypic.com/r/33beo12/6

Anyone have any ideas on how to fix this?
 
Joined
Sep 16, 2002
Messages
634
Most likely that is caused by a failing hard drive. The error messages posted indicate its having trouble reading a set of LBA addresses on the current disk (ad4). Back up your PFSense configuration, check cabling and run the drive manufacture's diagnostic tool on it, and be prepared to RMA or replace the drive.
 

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
Most likely that is caused by a failing hard drive. The error messages posted indicate its having trouble reading a set of LBA addresses on the current disk (ad4). Back up your PFSense configuration, check cabling and run the drive manufacture's diagnostic tool on it, and be prepared to RMA or replace the drive.

This happen on 3 different hard drives that i have tried. Forgot to mention this in the first post.

Hardware as follows

Atom D510 with 2GB stick of ram
Two Intel Gbit NICS ( On mobo)

SATA hard drive
 
Joined
Sep 16, 2002
Messages
634
What kind of SATA controller is this drive attached to? Have you also tried changing the SATA cable(s) and ports the drive is attached to?
 

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
I changed the controller mode in bios and also the cable and the port it was plugged into. Crashed again... :(

The controller is Intel ICH9R SATA 3.0Gbps Controller on the mobo


Thanks for the suggestion guys!!!!
 
Joined
Sep 16, 2002
Messages
634
Is there some pattern to when it crashes? How did you install pfsense on this system?

If the hard drive tests out okay then we need to look at other factors such as the power supply or mainboard.
 

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
Is there some pattern to when it crashes? How did you install pfsense on this system?

If the hard drive tests out okay then we need to look at other factors such as the power supply or mainboard.

Yes i do have pfsense on this system. I installed from cd, version 2.0.1.

Well i powered up the box today to see if it would error upon boot up. It booted up but looking at log it seem unable to mount / with read/write access.

Also complaining that filesystem is dirty.

full boot up log below.

root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/ sys/pfSense_SMP.8 i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Atom(TM) CPU D510 @ 1.66GHz (1673.34-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x106ca Family = 6 Model = 1c Stepping = 10
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
AMD Features=0x20100000<NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 2147483648 (2048 MB)
avail memory = 2081869824 (1985 MB)
ACPI APIC Table: <052610 APIC1327>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP/HT): APIC ID: 3
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling
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/l oader.conf.
module_register_init: MOD_LOAD (wpi_fw, 0xc0988300, 0) error 1
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 /bo ot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0789340, 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 /b oot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc07893e0, 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, 0xc0789480, 0) error 1
wlan: mac acl policy registered
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
padlock0: No ACE support.
acpi0: <SMCI > on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
uhci0: <Intel 82801I (ICH9) USB controller> port 0xcc00-0xcc1f irq 16 at device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801I (ICH9) USB controller> on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0xc880-0xc89f irq 21 at device 26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801I (ICH9) USB controller> on uhci1
uhci2: <Intel 82801I (ICH9) USB controller> port 0xc800-0xc81f irq 19 at device 26.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel 82801I (ICH9) USB controller> on uhci2
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xfebfbc00-0xfebfbfff irq 18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection 7.2.3> port 0xdc00-0xdc1f mem 0xfe9e0 000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 16 at device 0.0 on pci2
em0: Using MSIX interrupts with 3 vectors
em0: [ITHREAD]
em0: [ITHREAD]
em0: [ITHREAD]
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci3: <ACPI PCI bus> on pcib3
em1: <Intel(R) PRO/1000 Network Connection 7.2.3> port 0xec00-0xec1f mem 0xfeae0 000-0xfeafffff,0xfeadc000-0xfeadffff irq 17 at device 0.0 on pci3
em1: Using MSIX interrupts with 3 vectors
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
uhci3: <Intel 82801I (ICH9) USB controller> port 0xc480-0xc49f irq 23 at device 29.0 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus4: <Intel 82801I (ICH9) USB controller> on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0xc400-0xc41f irq 19 at device 29.1 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x2f00
usbus5: <Intel 82801I (ICH9) USB controller> on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0xc080-0xc09f irq 18 at device 29.2 on pci0
uhci5: [ITHREAD]
uhci5: LegSup = 0x2f00
usbus6: <Intel 82801I (ICH9) USB controller> on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xfebfb800-0xfebfbbff irq 23 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7: <Intel 82801I (ICH9) USB 2.0 controller> on ehci1
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
vgapci0: <VGA-compatible display> mem 0xfc000000-0xfcffffff,0xfdffc000-0xfdfffff f,0xfe000000-0xfe7fffff irq 17 at device 4.0 on pci4
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH9 SATA300 controller> port 0xb480-0xb487,0xc000-0xc003,0xbc00 -0xbc07,0xb880-0xb883,0xb800-0xb81f mem 0xfebfb000-0xfebfb7ff irq 19 at device 3 1.2 on pci0
atapci0: [ITHREAD]
atapci0: AHCI called from vendor specific driver
atapci0: AHCI v1.20 controller with 6 3Gbps ports, PM not supported
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
ata6: <ATA channel 4> on atapci0
ata6: [ITHREAD]
ata7: <ATA channel 5> on atapci0
ata7: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
uart2: <16550 or compatible> port 0x3e8-0x3ef irq 5 on acpi0
uart2: [FILTER]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: parallel port not found.
p4tcc0: <CPU Frequency Thermal Control> on cpu0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
p4tcc2: <CPU Frequency Thermal Control> on cpu2
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ad6: 152627MB <WDC WD1600BEVT-80A23T0 01.01A01> at ata3-master UDMA100 SATA 3Gb/ s
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Root mount waiting for: usbus7 usbus3
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
Root mount waiting for: usbus3
Trying to mount root from ufs:/dev/ad6s1a
WARNING: / was not properly dismounted
WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
ugen2.2: <Winbond Electronics Corp> at usbus2
ums0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev 1.10/ 0.01, addr 2> on usbus2
ums0: 3 buttons and [Z] coordinates ID=0
ukbd0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev 1.10 /0.01, addr 2> on usbus2
kbd2 at ukbd0
 

paret0

Limp Gawd
Joined
Aug 29, 2012
Messages
368
Trying to mount root from ufs:/dev/ad6s1a
WARNING: / was not properly dismounted
WARNING: R/W mount of / denied. Filesystem is not clean - run fsck

Have you run fsck?

You can't install pfSense on a partition, it wants the whole disk. If you can't devote an entire hdd, it's perfectly happy on a thumb drive.
Is /dev/ad6s1a a slice you created?
 

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
Have you run fsck?

You can't install pfSense on a partition, it wants the whole disk. If you can't devote an entire hdd, it's perfectly happy on a thumb drive.
Is /dev/ad6s1a a slice you created?

I have not but fsck after reinstalling pfsense. (since creating this thread)

I think i partitioned it at one time because i was receiving DMA errors. So results on google were saying to use a smaller drives. I thought i try just making a partition smaller in size to see if that would help. It didn't.

I don't recall if it was this reinstall or another one. Any way to check what the partition are?
 

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
Well looks like i have multiple partition. They are showing unused. am i reading this output correctly? (see below)

******* Working on device /dev/ad6s1a *******
parameters extracted from in-core disklabel are:
cylinders=301778 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=301778 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 304192161 (148531 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 721/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
 

Shockey

2[H]4U
Joined
Nov 24, 2008
Messages
2,203
Well i recieve the same errors as before now.

Ran fine for awhile then i shut it down to re-rack it and booted it backup. Worked for about an hour then started throwing errors about hard drive was unreachable and timed out. Couldn't write xxxx, expact data loss.
unknown: FAILURE - WRITE_DMA timed out LBA=63603791
no inodes free.


I think the controller has had it :(
 
Top