uvm fault booting

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

uvm fault booting

alan01346
Everything's been stable for months.  Then I was running badblocks on an SD
card plugged into a USB card reader.  The screen went white,  I couldn't
ssh to it, so I killed the power. It boots to just past the file system
checks and hangs, disk access light on.  Did that before so I went away for
an hour, came back to find the uvm fault message. 5.7 i386

Sent from my Motorola XT1505

Reply | Threaded
Open this post in threaded view
|

Re: uvm fault booting

alan01346
Transcribing from a cell phone picture of the screen on another machine later:

/dev/rwd0a fscked OK
/dev/rwd0e fscked OK (both of my OpenBSD partitions)
acpivideo1 unknown event 0x00
uhubs 0-6 detached
uhubs 0-6 at usb0-6 "Intel UHCI (and EHCI) root hub" rev 1.00 (2.0 on the EHCI)
uvm_fault (0xdaa7a1b0, 0xcfe08000,0,1) -> e
kernel: page fault trap code = 0
Stopped at   pmap_extract+0x3f:   mov1  [camera lat/lon stamp on top of this]

--
Credit is the root of all evil.  - AB1JX

Reply | Threaded
Open this post in threaded view
|

Re: uvm fault booting

Mike Larkin
In reply to this post by alan01346
On Mon, Feb 29, 2016 at 11:24:23AM -0500, Alan Corey wrote:
> Everything's been stable for months.  Then I was running badblocks on an SD
> card plugged into a USB card reader.  The screen went white,  I couldn't
> ssh to it, so I killed the power. It boots to just past the file system
> checks and hangs, disk access light on.  Did that before so I went away for
> an hour, came back to find the uvm fault message. 5.7 i386
>

Upgrade to -current, as a ton of changes went into i386 pmap since 5.7.

-ml


> Sent from my Motorola XT1505

Reply | Threaded
Open this post in threaded view
|

Re: uvm fault booting

alan01346
In reply to this post by alan01346
I forgot, wd0a and e aren't the only OpenBSD partitions, the biggie is
wd0m, about 500 gigs.  There's 4 gigs of RAM and I never had a problem
with it before, but I can reproduce the uvm fault by trying to fsck it
in single user mode.  I don't remember whether swap is on at that
point or not.  Maybe it's time to download Seagate's drive diagnostics
and run them, but the drive's less than 1 year old.  Maybe it needs to
remap a sector.

The acpi and USB messages appear every time I open the lid on the
laptop, I don't pay much attention to them.  It was running badblocks
on an SD card plugged into a USB reader that started all this, but I
don't see how a USB problem would persist through reboots.  I've seen
some nasty crashes dealing with SD and USB memory sticks, it's almost
like they need their own utilities since they aren't really hard
drives.

OpenBSD 5.7 (GENERIC.MP) #767: Sun Mar  8 11:04:48 MDT 2015
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz ("GenuineIntel"
686-class) 2 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
real mem  = 3747885056 (3574MB)
avail mem = 3674271744 (3504MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 07/16/13, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev.
2.4 @ 0xf6bd0 (62 entries)
bios0: vendor Dell Inc. version "A12" date 07/16/2013
bios0: Dell Inc. Latitude D530
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4)
RP03(S3) RP04(S3) RP05(S3) RP06(S5) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz ("GenuineIntel"
686-class) 2 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus 9 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL" serial 1 type LION oem "Panasonic"
acpibat1 at acpi0: BAT1 not present
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivideo1 at acpi0: VID_
acpivout0 at acpivideo1: LCD_
acpivideo2 at acpi0: VID2
bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
composite sync not supported
composite sync not supported
inteldrm0: 1024x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 2 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 2 int 21
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 2 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: msi
azalia0: codecs: Sigmatel STAC9205X, Conexant/0x2c06, using Sigmatel STAC9205X
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: apic 2 int 16
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02: apic 2 int 17
pci2 at ppb1 bus 12
athn0 at pci2 dev 0 function 0 "Atheros AR5418" rev 0x01: apic 2 int 17
athn0: MAC AR5418 rev 2, RF AR5133 (2T3R), ROM rev 8, address 00:21:63:30:0e:4c
ppb2 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x02: apic 2 int 17
pci3 at ppb2 bus 9
bge0 at pci3 dev 0 function 0 "Broadcom BCM5755M" rev 0x02, BCM5755 A2
(0xa002): msi, address 00:1d:09:d5:dd:b6
brgphy0 at bge0 phy 1: BCM5755 10/100/1000baseT PHY, rev. 0
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 2 int 20
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 2 int 21
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 2 int 22
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 2 int 20
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf2
pci4 at ppb3 bus 3
cbb0 at pci4 dev 1 function 0 "O2 Micro OZ711EZ1 CardBus" rev 0x21:
apic 2 int 19
"O2 Micro Firewire" rev 0x02 at pci4 dev 1 function 4 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, DVD+-RW TS-L632H, D300> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 18 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST1000LM024 HN-M101MBB>
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: SMI
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL6 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-5300CL6 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: ALPS Glidepoint, version 0x7321
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (abd27361b43df756.a) swap on wd0b dump on wd0b
umass0 at uhub1 port 1 configuration 1 interface 0 "Kingston
DataTraveler 2.0" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
sd0 at scsibus4 targ 1 lun 0: <Kingston, DataTraveler 2.0, PMAP> SCSI4
0/direct removable serial.09511665BE81491E5F0A
sd0: 14888MB, 512 bytes/sector, 30490624 sectors


On 2/29/16, Josh Grosse <[hidden email]> wrote:

> On 2016-02-29 13:14, Alan Corey wrote:
>
>> I didn't send this to the list but I did cell phone pictures of the
>> screen.
>> Stopped in pmap_extract both times. And it gets through checking my
>> OpenBSD
>> partitions OK. Doesn't usually try to fsck the Linux partitions. I've
>> seen
>> booting after unclean shutdowns many times  but it's always done the
>> fsck
>> and recovered.
>
> Thanks for the photo.  Along with the pmap_extract fault, I see a
> significant
> USB event.  Since UVM is the BSD virtual memory manager, I assume the
> USB
> event affects virtual memory maps, hence the fault.
>
> A pmap is the physical map of a virtual memory page to a physical
> location.
> (That's really all I know about them.)
>
> The ACPI event is probably related to the USB event, as it occurs
> between
> the last successful fsck and USB detaching.
>
> I can't tell you what the system is trying to do at the moment of
> failure;
> fsck executions during boot are based on fstab(5) fs_passno values (the
> sixth
> column in /etc/fstab), and its possible it's attempting the next fsck,
> or
> doing the next set of services in the rc(8) script -- which is mounting
> your
> filesystems.
>
> Either post a link to the photo, or type up the captured screen and send
> it to misc@.  With a dmesg, which you should be able to get by starting
> in single-user mode.
>
>     -Josh-
>
>


--
Credit is the root of all evil.  - AB1JX

Reply | Threaded
Open this post in threaded view
|

Re: uvm fault booting

alan01346
It's running again.  I ran Seagate Diagnostics, the long version, like
2 hours.  When it was about 97% done it hadn't given any messages, and
I went to dinner.  When I came back I found I'd knocked the power plug
out, the battery had run down, so I booted it up cold.  Took longer
than usual but it came up.  So maybe the Seagate stuff remapped some
sectors, maybe not.

So do I dare scan my SD card or not?  I think I'll try it from
Windows, that's more expendable.  Over half the drive is OpenBSD, the
rest is Windows and Linux.

On 2/29/16, Alan Corey <[hidden email]> wrote:

> I forgot, wd0a and e aren't the only OpenBSD partitions, the biggie is
> wd0m, about 500 gigs.  There's 4 gigs of RAM and I never had a problem
> with it before, but I can reproduce the uvm fault by trying to fsck it
> in single user mode.  I don't remember whether swap is on at that
> point or not.  Maybe it's time to download Seagate's drive diagnostics
> and run them, but the drive's less than 1 year old.  Maybe it needs to
> remap a sector.
>
> The acpi and USB messages appear every time I open the lid on the
> laptop, I don't pay much attention to them.  It was running badblocks
> on an SD card plugged into a USB reader that started all this, but I
> don't see how a USB problem would persist through reboots.  I've seen
> some nasty crashes dealing with SD and USB memory sticks, it's almost
> like they need their own utilities since they aren't really hard
> drives.
>
> OpenBSD 5.7 (GENERIC.MP) #767: Sun Mar  8 11:04:48 MDT 2015
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz ("GenuineIntel"
> 686-class) 2 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
> real mem  = 3747885056 (3574MB)
> avail mem = 3674271744 (3504MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 07/16/13, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev.
> 2.4 @ 0xf6bd0 (62 entries)
> bios0: vendor Dell Inc. version "A12" date 07/16/2013
> bios0: Dell Inc. Latitude D530
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT
> acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
> USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4)
> RP03(S3) RP04(S3) RP05(S3) RP06(S5) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz ("GenuineIntel"
> 686-class) 2 GHz
> cpu1:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 3 (PCIE)
> acpiprt1 at acpi0: bus -1 (AGP_)
> acpiprt2 at acpi0: bus 11 (RP01)
> acpiprt3 at acpi0: bus 12 (RP02)
> acpiprt4 at acpi0: bus -1 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus 9 (RP06)
> acpiprt8 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpitz0 at acpi0: critical temperature is 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PBTN
> acpibtn2 at acpi0: SBTN
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT0 model "DELL" serial 1 type LION oem "Panasonic"
> acpibat1 at acpi0: BAT1 not present
> acpidock0 at acpi0: GDCK not docked (0)
> acpivideo0 at acpi0: VID_
> acpivideo1 at acpi0: VID_
> acpivout0 at acpivideo1: LCD_
> acpivideo2 at acpi0: VID2
> bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x1000
> cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
> vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> inteldrm0 at vga1
> drm0 at inteldrm0
> composite sync not supported
> composite sync not supported
> inteldrm0: 1024x768
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 2 int 20
> uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 2 int 21
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 2 int 22
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: msi
> azalia0: codecs: Sigmatel STAC9205X, Conexant/0x2c06, using Sigmatel
> STAC9205X
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: apic 2 int 16
> pci1 at ppb0 bus 11
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02: apic 2 int 17
> pci2 at ppb1 bus 12
> athn0 at pci2 dev 0 function 0 "Atheros AR5418" rev 0x01: apic 2 int 17
> athn0: MAC AR5418 rev 2, RF AR5133 (2T3R), ROM rev 8, address
> 00:21:63:30:0e:4c
> ppb2 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x02: apic 2 int 17
> pci3 at ppb2 bus 9
> bge0 at pci3 dev 0 function 0 "Broadcom BCM5755M" rev 0x02, BCM5755 A2
> (0xa002): msi, address 00:1d:09:d5:dd:b6
> brgphy0 at bge0 phy 1: BCM5755 10/100/1000baseT PHY, rev. 0
> uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 2 int 20
> uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 2 int 21
> uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 2 int 22
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 2 int 20
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf2
> pci4 at ppb3 bus 3
> cbb0 at pci4 dev 1 function 0 "O2 Micro OZ711EZ1 CardBus" rev 0x21:
> apic 2 int 19
> "O2 Micro Firewire" rev 0x02 at pci4 dev 1 function 4 not configured
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 4 device 0 cacheline 0x0, lattimer 0x20
> pcmcia0 at cardslot0
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x02: PM
> disabled
> pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x02: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, DVD+-RW TS-L632H, D300> ATAPI
> 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x02: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 2 int 18 for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST1000LM024 HN-M101MBB>
> wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
> ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: SMI
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL6 SO-DIMM
> spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-5300CL6 SO-DIMM
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pms0: ALPS Glidepoint, version 0x7321
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on wd0a (abd27361b43df756.a) swap on wd0b dump on wd0b
> umass0 at uhub1 port 1 configuration 1 interface 0 "Kingston
> DataTraveler 2.0" rev 2.00/1.00 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus4 at umass0: 2 targets, initiator 0
> sd0 at scsibus4 targ 1 lun 0: <Kingston, DataTraveler 2.0, PMAP> SCSI4
> 0/direct removable serial.09511665BE81491E5F0A
> sd0: 14888MB, 512 bytes/sector, 30490624 sectors
>
>
> On 2/29/16, Josh Grosse <[hidden email]> wrote:
>> On 2016-02-29 13:14, Alan Corey wrote:
>>
>>> I didn't send this to the list but I did cell phone pictures of the
>>> screen.
>>> Stopped in pmap_extract both times. And it gets through checking my
>>> OpenBSD
>>> partitions OK. Doesn't usually try to fsck the Linux partitions. I've
>>> seen
>>> booting after unclean shutdowns many times  but it's always done the
>>> fsck
>>> and recovered.
>>
>> Thanks for the photo.  Along with the pmap_extract fault, I see a
>> significant
>> USB event.  Since UVM is the BSD virtual memory manager, I assume the
>> USB
>> event affects virtual memory maps, hence the fault.
>>
>> A pmap is the physical map of a virtual memory page to a physical
>> location.
>> (That's really all I know about them.)
>>
>> The ACPI event is probably related to the USB event, as it occurs
>> between
>> the last successful fsck and USB detaching.
>>
>> I can't tell you what the system is trying to do at the moment of
>> failure;
>> fsck executions during boot are based on fstab(5) fs_passno values (the
>> sixth
>> column in /etc/fstab), and its possible it's attempting the next fsck,
>> or
>> doing the next set of services in the rc(8) script -- which is mounting
>> your
>> filesystems.
>>
>> Either post a link to the photo, or type up the captured screen and send
>> it to misc@.  With a dmesg, which you should be able to get by starting
>> in single-user mode.
>>
>>     -Josh-
>>
>>
>
>
> --
> Credit is the root of all evil.  - AB1JX
>


--
Credit is the root of all evil.  - AB1JX

Reply | Threaded
Open this post in threaded view
|

Re: uvm fault booting

alan01346
It happened again.  I'm using a laptop with a short power cord and
sometimes I recline my recliner and don't notice it fell out.  I'm
usually only up here in the winter.

Anyway I did the drive diagnostics again, saw the end this time and it
didn't find anything wrong.  Rebooted and it fscked the big partition
OK.

So I'm wondering if maybe when fsck runs on multiple partitions it
could be not freeing some memory or something between?  Or is it doing
them simultaneously and that fails?.  The messages look like it's
doing one at a time, I see the first 2 finish then I get the error.

Next time I see that I'll try just rebooting without doing anything else.

But it happened this time without doing anything with USB at all, I
just ran the battery down.

On 2/29/16, Alan Corey <[hidden email]> wrote:

> SMART is on but it's never been tripped.
>
> Windows is scanning the FAT32 partition of my SD card  but it won't do the
> ext3.  I had Linux on a phone but I was having selinux problems anyway.  So
> I was going to put NetBSD on it for my Raspberry Pi.
>
> Sent from my Motorola XT1505
> On Feb 29, 2016 10:23 PM, "Josh Grosse" <[hidden email]> wrote:
>
>> On Mon, Feb 29, 2016 at 10:19:23PM -0500, Alan Corey wrote:
>> > ...So maybe the Seagate stuff remapped some
>> > sectors, maybe not.
>>
>> It's hard to say, Alan.  If the drive reports S.M.A.R.T. status
>> it's possible the drive's electronics will admit remapped
>> sectors to smartmontools.  But if the drive doesn't report,
>> it's not proof.
>>
>> I'm glad things are working for you.  :)
>>
>


--
Credit is the root of all evil.  - AB1JX