Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 01:25:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212718] cp(1)/mv(1)/install(1) cause vm_fault/panic on VIA boards w/USB cards/sticks.
Message-ID:  <bug-212718-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212718

            Bug ID: 212718
           Summary: cp(1)/mv(1)/install(1) cause vm_fault/panic on VIA
                    boards w/USB cards/sticks.
           Product: Base System
           Version: 9.3-STABLE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: nibbana@gmx.us
                CC: freebsd-i386@FreeBSD.org
                CC: freebsd-i386@FreeBSD.org

This problem occurs when copying/moving/installing between USB devices, or =
USB
<-> ATA devices, but interestingly, the problem does not occur when cat(1)i=
ng
the same files between devices.  The problem has the "feeling/sense" of
cp/mv/install using a transfer mechanism that is much more
"stressful/intensive/demanding" on the USB subsystems than cat(1), and that=
 the
USB hardware simply cannot function at the stress levels demanded of it.  T=
he
problem occurs 100% of the time, not intermittently.  The temporary fix has
been scripts emulating cp/mv/install using cat(1), but this is not a comple=
te
solution, since ./configure scripts and Makefiles trigger the same problem
occasionally, and these triggers have not been tracked down - but are very
likely due to the same mechanism.  The error is as follows:

Fatal Trap 12: page fault while in kernel mode.
fault virtual address =3D 0x24
fault code =3D supervisor read, page not present.
instruction pointer =3D 0x20:0xc0776377
stack pointer =3D 0x28:0xc3239c74
frame pointer =3D 0x28:0xc3239c74
code segement =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL0,
                pres 1, def32 1, gran 1
processor flags =3D interrupt enabled, resume, IOPL=3D0
current process =3D 12 (g_down)
trap number =3D 12
panic: page fault

FreeBSD 9.3-RELEASE #0: Tue Jul 28 04:28:10 AKDT 2015
    root@localhost:/usr/obj/u0/src/sys/MYKERN i386
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: VIA Nehemiah (666.57-MHz 686-class CPU)
  Origin =3D "CentaurHauls"  Id =3D 0x698  Family =3D 0x6  Model =3D 0x9  S=
tepping =3D 8
  Features=3D0x381b83f<FPU,VME,DE,PSE,TSC,MSR,SEP,MTRR,PGE,CMOV,PAT,MMX,FXS=
R,SSE>
  VIA Padlock Features=3D0xdd<RNG,AES>
real memory  =3D 536870912 (512 MB)
avail memory =3D 449589248 (428 MB)
cryptosoft0: <software crypto> on motherboard
padlock0: <AES-CBC> on motherboard
acpi0: <VT9174 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1bef0000 (3) failed
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 862x (CLE266) host to PCI bridge> on hostb0
agp0: aperture size is 64M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem
0xe4000000-0xe7ffffff,0xe8000000-0xe8ffffff irq 15 at device 0.0 on pci1
drm0: <VIA CLE266> on vgapci0
info: [drm] AGP at 0xe0000000 64MB
info: [drm] Initialized via 2.11.1 20070202
vgapci0: Boot video device
uhci0: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 15 at device 16.0=
 on
pci0
usbus0 on uhci0
uhci1: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 16.1 =
on
pci0
usbus1 on uhci1
uhci2: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 11 at device 16.2=
 on
pci0
usbus2 on uhci2
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xea000000-0xea0000ff irq 10 at
device 16.3 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00-0xdc0f at device 17.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
pcm0: <VIA VT8235> port 0xe000-0xe0ff irq 11 at device 17.5 on pci0
pcm0: <ICEnsemble VT1616 AC97 Codec>
pcm0: <VIA DXS Enabled: DXS 4 / SGD 1 / REC 1>
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
Timecounters tick every 1.000 msec
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
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <VIA> at usbus2
uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <VIA> at usbus3
uhub3: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen3.2: <vendor 0x05e3> at usbus3
uhub4: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/85.37, addr 2> on usb=
us3
uhub4: 4 ports with 4 removable, self powered
ugen3.3: <SanDisk> at usbus3
umass0: <SanDisk Cruzer Glide, class 0/0, rev 2.00/1.27, addr 3> on usbus3
ugen3.4: <SanDisk> at usbus3
umass1: <SanDisk Cruzer Glide, class 0/0, rev 2.00/1.27, addr 4> on usbus3
ugen3.5: <SanDisk> at usbus3
umass2: <SanDisk Cruzer Glide, class 0/0, rev 2.00/1.27, addr 5> on usbus3
ugen3.6: <Generic> at usbus3
umass3: <Generic Flash Card ReaderWriter, class 0/0, rev 2.00/1.00, addr 6>=
 on
usbus3
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD400AB-22CDB0 22.04A22> ATA-5 device
ada0: Serial Number WD-WMA9T1222658
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 38166MB (78165360 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
Timecounter "TSC" frequency 666565048 Hz quality 800
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <SanDisk Cruzer Glide 1.27> Removable Direct Access SCSI-6 device=20
da0: Serial Number 20042401010F1771AF62
da0: 40.000MB/s transfers
da0: 122112MB (250085376 512 byte sectors: 255H 63S/T 15567C)
da0: quirks=3D0x2<NO_6_BYTE>
da2 at umass-sim2 bus 2 scbus4 target 0 lun 0
da2: <SanDisk Cruzer Glide 1.27> Removable Direct Access SCSI-6 device=20
da2: Serial Number 20051942530F1771BE1E
da2: 40.000MB/s transfers
da2: 122112MB (250085376 512 byte sectors: 255H 63S/T 15567C)
da2: quirks=3D0x2<NO_6_BYTE>
da1 at umass-sim1 bus 1 scbus3 target 0 lun 0
da1: <SanDisk Cruzer Glide 1.27> Removable Direct Access SCSI-6 device=20
da1: Serial Number 20044527120F1771BE38
da1: 40.000MB/s transfers
da1: 122112MB (250085376 512 byte sectors: 255H 63S/T 15567C)
da1: quirks=3D0x2<NO_6_BYTE>
da3 at umass-sim3 bus 3 scbus5 target 0 lun 0
da3: <Multiple Card  Reader 1.00> Removable Direct Access SCSI-0 device=20
da3: Serial Number 058F63666438
da3: 40.000MB/s transfers
da3: 30436MB (62333952 512 byte sectors: 255H 63S/T 3880C)
da3: quirks=3D0x2<NO_6_BYTE>
Trying to mount root from ufs:/dev/ada0p2 [rw]...
WARNING: /mnt was not properly dismounted
GEOM_ELI: Device ada0p3.eli created.
GEOM_ELI: Encryption: 3DES-CBC 192
GEOM_ELI:     Crypto: software
GEOM_ELI: Device ada0p4.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
GEOM_ELI: Device da3.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
tun0: link state changed to UP

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212718-8>