So Close- Just Need Help With Config and Firmware
11 Oct 2013 13:07 - 11 Oct 2013 13:07 #39758
by ArcEye
man (short for manual) is a terminal command to display a concise manual entry for the argument, if it exists.
man hm2_7i43 will display the manual for the board /driver if that man page is installed
Replied by ArcEye on topic So Close- Just Need Help With Config and Firmware
What does "man hm2_7i43 has the syntax" mean?
man (short for manual) is a terminal command to display a concise manual entry for the argument, if it exists.
man hm2_7i43 will display the manual for the board /driver if that man page is installed
Last edit: 11 Oct 2013 13:07 by ArcEye.
The following user(s) said Thank You: CalmofDawn
Please Log in or Create an account to join the conversation.
11 Oct 2013 21:35 #39768
by PCW
Replied by PCW on topic So Close- Just Need Help With Config and Firmware
Can you post the output of lspci -V here?
Also if 0xE000 and 0xE010 are really the only addresses shown by lscpi for the Oxsemi parallel port, you may need to set ioadress to 0xE000 and ioaddress_hi to 0xE010
Also if 0xE000 and 0xE010 are really the only addresses shown by lscpi for the Oxsemi parallel port, you may need to set ioadress to 0xE000 and ioaddress_hi to 0xE010
The following user(s) said Thank You: CalmofDawn
Please Log in or Create an account to join the conversation.
- CalmofDawn
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 Oct 2013 22:45 - 11 Oct 2013 23:02 #39770
by CalmofDawn
Replied by CalmofDawn on topic So Close- Just Need Help With Config and Firmware
Ah I see. I opened terminal and typed:
man hm2_7i43
and the output was:
So that confirmed "ioaddr" was the field for the primary parallel port address and somehow that had to be modified. So I used "sudo nautilus" then navigated to usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_7i43.ko but was unable to open the .ko file for editing.
man hm2_7i43
and the output was:
HM2_7I43(9) HAL Component HM2_7I43(9)
NAME
hm2_7i43 - LinuxCNC HAL driver for the Mesa Electronics 7i43 EPP Any‐
thing IO board with HostMot2 firmware.
SYNOPSIS
loadrt hm2_7i43 [ioaddr=N] [ioaddr_hi=N] [epp_wide=N] [con‐
fig="str[,str...]"] [debug_epp=N]
ioaddr [default: 0x378]
The base address of the parallel port.
ioaddr_hi [default: 0]
The secondary address of the parallel port, used to set EPP
mode. 0 means to use ioaddr + 0x400.
epp_wide [default: 1]
Set to zero to disable the "wide EPP mode". "Wide" mode
allows a 16- and 32-bit EPP transfers, which can reduce the
time spent in the read and write functions. However, this
may not work on all EPP parallel ports.
DESCRIPTION
hm2_7i43 is a device driver that interfaces the Mesa 7i43 board with
the HostMot2 firmware to the LinuxCNC HAL. Both the 200K and the 400K
FPGAs are supported.
The driver talks with the 7i43 over the parallel port, not over USB.
USB can be used to power the 7i43, but not to talk to it. USB communi‐
cation with the 7i43 will not be supported any time soon, since USB has
poor real-time qualities.
The driver programs the board's FPGA with firmware when it registers
the board with the hostmot2 driver. The old bfload(1) firmware loading
method is not used anymore. Instead the firmware to load is specified
in the config modparam, as described in the hostmot2(9) manpage, in the
config modparam section.
Some parallel ports require special initialization before they can be
used. LinuxCNC provides a kernel driver that does this initialization
called probe_parport. Load this driver before loading hm2_7i43, by
putting "loadrt probe_parport" in your .hal file.
Jumper settings
To send the FPGA configuration from the PC, the board must be config‐
ured to get its firmware from the EPP port. To do this, jumpers W4 and
W5 must both be down, ie toward the USB connector.
The board must be configured to power on whether or not the USB inter‐
face is active. This is done by setting jumper W7 up, ie away from the
edge of the board.
Communicating with the board
The 7i43 communicates with the LinuxCNC computer over EPP, the Enhanced
Parallel Port. This provides about 1 MBps of throughput, and the com‐
munication latency is very predictable and reasonably low.
The parallel port must support EPP 1.7 or EPP 1.9. EPP 1.9 is pref‐
ered, but EPP 1.7 will work too. The EPP mode of the parallel port is
sometimes a setting in the BIOS.
Note that the popular "NetMOS" aka "MosChip 9805" PCI parport cards do
not work. They do not meet the EPP spec, and cannot be reliably used
with the 7i43. You have to find another card, sorry.
EPP is very reliable under normal circumstances, but bad cabling or
excessively long cabling runs may cause communication timeouts. The
driver exports a parameter named hm2_7i43.<BoardNum>.io_error to inform
HAL of this condition. When the driver detects an EPP timeout, it sets
io_error to True and stops communicating with the 7i43 board. Setting
io_error back to False makes the driver start trying to communicate
with the 7i43 again.
Access to the EPP bus is not threadsafe: only one realtime thread may
access the EPP bus.
SEE ALSO
hostmot2(9)
LICENSE
GPL
LinuxCNC Documentation 2008-05-13 HM2_7I43(9)
So that confirmed "ioaddr" was the field for the primary parallel port address and somehow that had to be modified. So I used "sudo nautilus" then navigated to usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_7i43.ko but was unable to open the .ko file for editing.
Last edit: 11 Oct 2013 23:02 by CalmofDawn.
Please Log in or Create an account to join the conversation.
- CalmofDawn
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 Oct 2013 22:50 - 11 Oct 2013 22:53 #39772
by CalmofDawn
Replied by CalmofDawn on topic So Close- Just Need Help With Config and Firmware
The command: sudo lspci -v
Gave this output:
Gave this output:
user@user-desktop:~$ sudo lspci -v
[sudo] password for user:
00:00.0 Host bridge: Intel Corporation Device 0150 (rev 09)
Subsystem: ASRock Incorporation Device 0150
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
00:01.0 PCI bridge: Intel Corporation Device 0151 (rev 09)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Capabilities: [88] Subsystem: ASRock Incorporation Device 0151
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [140] Root Complex Link <?>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB Controller: Intel Corporation Device 1e31 (rev 04) (prog-if 30)
Subsystem: ASRock Incorporation Device 1e31
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f7200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable-
Kernel driver in use: xhci_hcd
Kernel modules: xhci
00:16.0 Communication controller: Intel Corporation Device 1e3a (rev 04)
Subsystem: ASRock Incorporation Device 1e3a
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f7217000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
00:1a.0 USB Controller: Intel Corporation Device 1e2d (rev 04) (prog-if 20)
Subsystem: ASRock Incorporation Device 1e2d
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f7214000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features <?>
Kernel driver in use: ehci_hcd
00:1c.0 PCI bridge: Intel Corporation Device 1e10 (rev c4)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: f6000000-f70fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000f1ffffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: ASRock Incorporation Device 1e10
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation Device 1e18 (rev c4)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: f7100000-f71fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: ASRock Incorporation Device 1e18
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation Device 1e1a (rev c4)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Prefetchable memory behind bridge: 00000000f2100000-00000000f21fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: ASRock Incorporation Device 1e1a
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation Device 1e26 (rev 04) (prog-if 20)
Subsystem: ASRock Incorporation Device 1e26
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f7213000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features <?>
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4) (prog-if 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
Capabilities: [50] Subsystem: ASRock Incorporation Device 244e
00:1f.0 ISA bridge: Intel Corporation Device 1e49 (rev 04)
Subsystem: ASRock Incorporation Device 1e49
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
00:1f.2 SATA controller: Intel Corporation Device 1e02 (rev 04) (prog-if 01)
Subsystem: ASRock Incorporation Device 1e02
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 28
I/O ports at f070 [size=8]
I/O ports at f060 [size=4]
I/O ports at f050 [size=8]
I/O ports at f040 [size=4]
I/O ports at f020 [size=32]
Memory at f7212000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA <?>
Capabilities: [b0] PCIe advanced features <?>
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation Device 1e22 (rev 04)
Subsystem: ASRock Incorporation Device 1e22
Flags: medium devsel, IRQ 10
Memory at f7211000 (64-bit, non-prefetchable) [size=256]
I/O ports at f000 [size=32]
01:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
Subsystem: Oxford Semiconductor Ltd Device c110
Flags: bus master, fast devsel, latency 0, IRQ 16
I/O ports at e010 [size=8]
I/O ports at e000 [size=4]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Device Serial Number 10-01-00-11-11-e0-30-00
Capabilities: [110] Power Budgeting <?>
Kernel driver in use: parport_pc
Kernel modules: parport_pc
02:00.0 VGA compatible controller: nVidia Corporation Device 10c3 (rev a2)
Subsystem: eVga.com. Corp. Device 1302
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at d000 [size=128]
Expansion ROM at f7000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information <?>
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
Subsystem: eVga.com. Corp. Device 1302
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f7080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
03:00.0 SATA controller: Device 1b21:0612 (rev 01) (prog-if 01)
Subsystem: ASRock Incorporation Device 0612
Flags: bus master, fast devsel, latency 0, IRQ 30
I/O ports at c050 [size=8]
I/O ports at c040 [size=4]
I/O ports at c030 [size=8]
I/O ports at c020 [size=4]
I/O ports at c000 [size=32]
Memory at f7100000 (32-bit, non-prefetchable) [size=512]
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Kernel driver in use: ahci
Kernel modules: ahci
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: ASRock Incorporation Device 8168
Flags: bus master, fast devsel, latency 0, IRQ 29
I/O ports at b000 [size=256]
Memory at f2104000 (64-bit, prefetchable) [size=4K]
Memory at f2100000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=4
Capabilities: [d0] Vital Product Data <?>
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 00-e0-4c-68-00-00-00-01
Kernel driver in use: r8169
Kernel modules: r8169
Last edit: 11 Oct 2013 22:53 by CalmofDawn.
Please Log in or Create an account to join the conversation.
- CalmofDawn
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 Oct 2013 23:01 - 11 Oct 2013 23:14 #39773
by CalmofDawn
Replied by CalmofDawn on topic So Close- Just Need Help With Config and Firmware
Ok so I deduced some things and went to home/linuxcnc/configs/hm2_stepper/7i43-big.ini
and edited the driver line to become:
DRIVER=hm2_7i43 ioaddr=0xE010
Then I ran LinuxCNC using the 7i43-big.ini config, and the 2 red LEDs on the 7i43-U-4 board turned off?! An error message still popped up.
Same Print File Information and Debug File Information as before, but running dmesg, output is this:
When I turned off 5V power to the Mesa boards the green LED on the 7i42TA and the yellow PWR LED on the 7i43-U-4 still shone, though the green one was noticeably fainter than before.
and edited the driver line to become:
DRIVER=hm2_7i43 ioaddr=0xE010
Then I ran LinuxCNC using the 7i43-big.ini config, and the 2 red LEDs on the 7i43-U-4 board turned off?! An error message still popped up.
Same Print File Information and Debug File Information as before, but running dmesg, output is this:
[ 0.360359] ACPI: WMI: Mapper loaded
[ 0.360361] PCI: Using ACPI for IRQ routing
[ 0.360468] NetLabel: Initializing
[ 0.360469] NetLabel: domain hash size = 128
[ 0.360470] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.360477] NetLabel: unlabeled traffic allowed by default
[ 0.360494] Switching to clocksource tsc
[ 0.361905] AppArmor: AppArmor Filesystem Enabled
[ 0.361910] pnp: PnP ACPI init
[ 0.361916] ACPI: bus type pnp registered
[ 0.365066] pnp: PnP ACPI: found 13 devices
[ 0.365067] ACPI: ACPI bus type pnp unregistered
[ 0.365069] PnPBIOS: Disabled by ACPI PNP
[ 0.365075] system 00:01: iomem range 0xfed40000-0xfed44fff has been reserved
[ 0.365080] system 00:04: ioport range 0x680-0x69f has been reserved
[ 0.365082] system 00:04: ioport range 0x1000-0x100f has been reserved
[ 0.365083] system 00:04: ioport range 0xffff-0xffff has been reserved
[ 0.365085] system 00:04: ioport range 0xffff-0xffff has been reserved
[ 0.365086] system 00:04: ioport range 0x400-0x453 has been reserved
[ 0.365088] system 00:04: ioport range 0x458-0x47f has been reserved
[ 0.365090] system 00:04: ioport range 0x500-0x57f has been reserved
[ 0.365091] system 00:04: ioport range 0x164e-0x164f has been reserved
[ 0.365094] system 00:06: ioport range 0x454-0x457 has been reserved
[ 0.365097] system 00:07: ioport range 0x290-0x29f has been reserved
[ 0.365101] system 00:09: ioport range 0x4d0-0x4d1 has been reserved
[ 0.365104] system 00:0c: iomem range 0xfed1c000-0xfed1ffff has been reserved
[ 0.365106] system 00:0c: iomem range 0xfed10000-0xfed17fff has been reserved
[ 0.365107] system 00:0c: iomem range 0xfed18000-0xfed18fff has been reserved
[ 0.365109] system 00:0c: iomem range 0xfed19000-0xfed19fff has been reserved
[ 0.365111] system 00:0c: iomem range 0xf8000000-0xfbffffff has been reserved
[ 0.365112] system 00:0c: iomem range 0xfed20000-0xfed3ffff has been reserved
[ 0.365114] system 00:0c: iomem range 0xfed90000-0xfed93fff has been reserved
[ 0.365116] system 00:0c: iomem range 0xfed45000-0xfed8ffff has been reserved
[ 0.365117] system 00:0c: iomem range 0xff000000-0xffffffff has been reserved
[ 0.365119] system 00:0c: iomem range 0xfee00000-0xfeefffff could not be reserved
[ 0.365121] system 00:0c: iomem range 0xf2200000-0xf2200fff has been reserved
[ 0.399731] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
[ 0.399733] pci 0000:00:01.0: IO window: 0xe000-0xefff
[ 0.399736] pci 0000:00:01.0: MEM window: disabled
[ 0.399737] pci 0000:00:01.0: PREFETCH window: disabled
[ 0.399740] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
[ 0.399743] pci 0000:00:1c.0: IO window: 0xd000-0xdfff
[ 0.399747] pci 0000:00:1c.0: MEM window: 0xf6000000-0xf70fffff
[ 0.399751] pci 0000:00:1c.0: PREFETCH window: 0x000000e0000000-0x000000f1ffffff
[ 0.399756] pci 0000:00:1c.4: PCI bridge, secondary bus 0000:03
[ 0.399758] pci 0000:00:1c.4: IO window: 0xc000-0xcfff
[ 0.399763] pci 0000:00:1c.4: MEM window: 0xf7100000-0xf71fffff
[ 0.399766] pci 0000:00:1c.4: PREFETCH window: disabled
[ 0.399771] pci 0000:00:1c.5: PCI bridge, secondary bus 0000:04
[ 0.399773] pci 0000:00:1c.5: IO window: 0xb000-0xbfff
[ 0.399777] pci 0000:00:1c.5: MEM window: disabled
[ 0.399781] pci 0000:00:1c.5: PREFETCH window: 0x000000f2100000-0x000000f21fffff
[ 0.399786] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:05
[ 0.399787] pci 0000:00:1e.0: IO window: disabled
[ 0.399791] pci 0000:00:1e.0: MEM window: disabled
[ 0.399794] pci 0000:00:1e.0: PREFETCH window: disabled
[ 0.399806] alloc irq_desc for 16 on node -1
[ 0.399807] alloc kstat_irqs on node -1
[ 0.399811] pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.399814] pci 0000:00:01.0: setting latency timer to 64
[ 0.399821] pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.399824] pci 0000:00:1c.0: setting latency timer to 64
[ 0.399831] pci 0000:00:1c.4: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.399834] pci 0000:00:1c.4: setting latency timer to 64
[ 0.399841] alloc irq_desc for 17 on node -1
[ 0.399842] alloc kstat_irqs on node -1
[ 0.399844] pci 0000:00:1c.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 0.399847] pci 0000:00:1c.5: setting latency timer to 64
[ 0.399853] pci 0000:00:1e.0: setting latency timer to 64
[ 0.399856] pci_bus 0000:00: resource 0 io: [0x00-0xffff]
[ 0.399858] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[ 0.399859] pci_bus 0000:01: resource 0 io: [0xe000-0xefff]
[ 0.399861] pci_bus 0000:02: resource 0 io: [0xd000-0xdfff]
[ 0.399862] pci_bus 0000:02: resource 1 mem: [0xf6000000-0xf70fffff]
[ 0.399864] pci_bus 0000:02: resource 2 pref mem [0xe0000000-0xf1ffffff]
[ 0.399865] pci_bus 0000:03: resource 0 io: [0xc000-0xcfff]
[ 0.399867] pci_bus 0000:03: resource 1 mem: [0xf7100000-0xf71fffff]
[ 0.399868] pci_bus 0000:04: resource 0 io: [0xb000-0xbfff]
[ 0.399870] pci_bus 0000:04: resource 2 pref mem [0xf2100000-0xf21fffff]
[ 0.399871] pci_bus 0000:05: resource 3 io: [0x00-0xffff]
[ 0.399872] pci_bus 0000:05: resource 4 mem: [0x000000-0xffffffff]
[ 0.399892] NET: Registered protocol family 2
[ 0.399948] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.400080] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.400289] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.400395] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.400396] TCP reno registered
[ 0.400433] NET: Registered protocol family 1
[ 0.439927] pci 0000:02:00.0: Boot video device
[ 0.440072] Scanning for low memory corruption every 60 seconds
[ 0.440122] audit: initializing netlink socket (disabled)
[ 0.440128] type=2000 audit(1381507799.287:1): initialized
[ 0.445035] highmem bounce pool size: 64 pages
[ 0.445039] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 0.445822] VFS: Disk quotas dquot_6.5.2
[ 0.445852] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.446142] fuse init (API version 7.13)
[ 0.446187] msgmni has been set to 1641
[ 0.446301] alg: No test for stdrng (krng)
[ 0.446329] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.446331] io scheduler noop registered
[ 0.446332] io scheduler anticipatory registered
[ 0.446333] io scheduler deadline registered
[ 0.446354] io scheduler cfq registered (default)
[ 0.446428] alloc irq_desc for 24 on node -1
[ 0.446429] alloc kstat_irqs on node -1
[ 0.446434] pcieport 0000:00:01.0: irq 24 for MSI/MSI-X
[ 0.446439] pcieport 0000:00:01.0: setting latency timer to 64
[ 0.446516] alloc irq_desc for 25 on node -1
[ 0.446517] alloc kstat_irqs on node -1
[ 0.446523] pcieport 0000:00:1c.0: irq 25 for MSI/MSI-X
[ 0.446530] pcieport 0000:00:1c.0: setting latency timer to 64
[ 0.446623] alloc irq_desc for 26 on node -1
[ 0.446625] alloc kstat_irqs on node -1
[ 0.446631] pcieport 0000:00:1c.4: irq 26 for MSI/MSI-X
[ 0.446638] pcieport 0000:00:1c.4: setting latency timer to 64
[ 0.446731] alloc irq_desc for 27 on node -1
[ 0.446732] alloc kstat_irqs on node -1
[ 0.446737] pcieport 0000:00:1c.5: irq 27 for MSI/MSI-X
[ 0.446745] pcieport 0000:00:1c.5: setting latency timer to 64
[ 0.446800] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.446814] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.446866] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 0.446868] ACPI: Power Button [PWRB]
[ 0.446891] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 0.446892] ACPI: Power Button [PWRF]
[ 0.447537] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.447628] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.447920] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.448440] brd: module loaded
[ 0.448668] loop: module loaded
[ 0.448714] input: Macintosh mouse button emulation as /devices/virtual/input/input2
[ 0.448920] Fixed MDIO Bus: probed
[ 0.448938] PPP generic driver version 2.4.2
[ 0.448955] tun: Universal TUN/TAP device driver, 1.6
[ 0.448956] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.448995] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.449008] ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.449019] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[ 0.449022] ehci_hcd 0000:00:1a.0: EHCI Host Controller
[ 0.449041] ehci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
[ 0.449060] ehci_hcd 0000:00:1a.0: debug port 2
[ 0.452953] ehci_hcd 0000:00:1a.0: cache line size of 32 is not supported
[ 0.452981] ehci_hcd 0000:00:1a.0: irq 16, io mem 0xf7214000
[ 0.456871] isapnp: Scanning for PnP cards...
[ 0.505800] ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[ 0.505879] usb usb1: configuration #1 chosen from 1 choice
[ 0.505896] hub 1-0:1.0: USB hub found
[ 0.505901] hub 1-0:1.0: 2 ports detected
[ 0.505935] alloc irq_desc for 23 on node -1
[ 0.505937] alloc kstat_irqs on node -1
[ 0.505941] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[ 0.505952] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[ 0.505955] ehci_hcd 0000:00:1d.0: EHCI Host Controller
[ 0.505978] ehci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 0.505996] ehci_hcd 0000:00:1d.0: debug port 2
[ 0.509886] ehci_hcd 0000:00:1d.0: cache line size of 32 is not supported
[ 0.509899] ehci_hcd 0000:00:1d.0: irq 23, io mem 0xf7213000
[ 0.517591] Freeing initrd memory: 12833k freed
[ 0.524012] ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[ 0.524077] usb usb2: configuration #1 chosen from 1 choice
[ 0.524092] hub 2-0:1.0: USB hub found
[ 0.524097] hub 2-0:1.0: 2 ports detected
[ 0.524128] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.524137] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.524190] PNP: No PS/2 controller found. Probing ports directly.
[ 0.526978] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.526982] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.527024] mice: PS/2 mouse device common for all mice
[ 0.527083] rtc_cmos 00:05: RTC can wake from S4
[ 0.527104] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[ 0.527127] rtc0: alarms up to one month, y3k, 242 bytes nvram
[ 0.527182] device-mapper: uevent: version 1.0.3
[ 0.527240] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 0.527269] device-mapper: multipath: version 1.1.0 loaded
[ 0.527271] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.527325] EISA: Probing bus 0 at eisa.0
[ 0.527330] Cannot allocate resource for EISA slot 1
[ 0.527349] EISA: Detected 0 cards.
[ 0.527350] cpuidle: using governor ladder
[ 0.527351] cpuidle: using governor menu
[ 0.527556] TCP cubic registered
[ 0.527632] NET: Registered protocol family 10
[ 0.527825] lo: Disabled Privacy Extensions
[ 0.527957] NET: Registered protocol family 17
[ 0.527972] Using IPI No-Shortcut mode
[ 0.528014] registered taskstats version 1
[ 0.528399] rtc_cmos 00:05: setting system clock to 2013-10-11 16:09:59 UTC (1381507799)
[ 0.528401] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.528402] EDD information not available.
[ 0.818255] isapnp: No Plug & Play device found
[ 0.818261] Freeing unused kernel memory: 620k freed
[ 0.818373] Write protecting the kernel text: 4540k
[ 0.818388] Write protecting the kernel read-only data: 1668k
[ 0.828344] udev: starting version 151
[ 0.841365] usb 2-1: new high speed USB device using ehci_hcd and address 2
[ 0.864382] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 0.864399] r8169 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 0.864441] r8169 0000:04:00.0: setting latency timer to 64
[ 0.864448] r8169 0000:04:00.0: unknown MAC, using family default
[ 0.864519] alloc irq_desc for 28 on node -1
[ 0.864521] alloc kstat_irqs on node -1
[ 0.864534] r8169 0000:04:00.0: irq 28 for MSI/MSI-X
[ 0.864867] eth0: RTL8168b/8111b at 0xf809a000, bc:5f:f4:c8:92:60, XID 0c900800 IRQ 28
[ 0.867165] ahci 0000:00:1f.2: version 3.0
[ 0.867175] alloc irq_desc for 19 on node -1
[ 0.867176] alloc kstat_irqs on node -1
[ 0.867180] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[ 0.867207] alloc irq_desc for 29 on node -1
[ 0.867209] alloc kstat_irqs on node -1
[ 0.867214] ahci 0000:00:1f.2: irq 29 for MSI/MSI-X
[ 0.870167] Linux agpgart interface v0.103
[ 0.879916] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3f impl SATA mode
[ 0.879919] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst
[ 0.879924] ahci 0000:00:1f.2: setting latency timer to 64
[ 0.905914] [drm] Initialized drm 1.1.0 20060810
[ 0.919976] scsi0 : ahci
[ 0.920139] scsi1 : ahci
[ 0.920257] scsi2 : ahci
[ 0.920372] scsi3 : ahci
[ 0.920485] scsi4 : ahci
[ 0.920596] scsi5 : ahci
[ 0.920882] ata1: SATA max UDMA/133 abar m2048@0xf7212000 port 0xf7212100 irq 29
[ 0.920885] ata2: SATA max UDMA/133 abar m2048@0xf7212000 port 0xf7212180 irq 29
[ 0.920887] ata3: SATA max UDMA/133 abar m2048@0xf7212000 port 0xf7212200 irq 29
[ 0.920889] ata4: SATA max UDMA/133 abar m2048@0xf7212000 port 0xf7212280 irq 29
[ 0.920891] ata5: SATA max UDMA/133 abar m2048@0xf7212000 port 0xf7212300 irq 29
[ 0.920893] ata6: SATA max UDMA/133 abar m2048@0xf7212000 port 0xf7212380 irq 29
[ 0.920919] ahci 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.920961] alloc irq_desc for 30 on node -1
[ 0.920962] alloc kstat_irqs on node -1
[ 0.920972] ahci 0000:03:00.0: irq 30 for MSI/MSI-X
[ 0.920997] ahci: SSS flag set, parallel bus scan disabled
[ 0.921034] ahci 0000:03:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[ 0.921036] ahci 0000:03:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[ 0.921042] ahci 0000:03:00.0: setting latency timer to 64
[ 0.921237] scsi6 : ahci
[ 0.921293] scsi7 : ahci
[ 0.921318] ata7: SATA max UDMA/133 abar m512@0xf7100000 port 0xf7100100 irq 30
[ 0.921321] ata8: SATA max UDMA/133 abar m512@0xf7100000 port 0xf7100180 irq 30
[ 0.925712] nouveau 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.925717] nouveau 0000:02:00.0: setting latency timer to 64
[ 0.926442] [drm] nouveau 0000:02:00.0: Detected an NV50 generation card (0x0a8180b1)
[ 0.926842] [drm] nouveau 0000:02:00.0: Attempting to load BIOS image from PRAMIN
[ 0.972315] usb 2-1: configuration #1 chosen from 1 choice
[ 0.972456] hub 2-1:1.0: USB hub found
[ 0.972525] hub 2-1:1.0: 6 ports detected
[ 1.047083] [drm] nouveau 0000:02:00.0: ... appears to be valid
[ 1.047086] [drm] nouveau 0000:02:00.0: BIT BIOS found
[ 1.047087] [drm] nouveau 0000:02:00.0: Bios version 70.18.5f.00
[ 1.047089] [drm] nouveau 0000:02:00.0: Pointer to BIT loadval table invalid
[ 1.047090] [drm] nouveau 0000:02:00.0: TMDS table revision 2.0 not currently supported
[ 1.047092] [drm] nouveau 0000:02:00.0: Found Display Configuration Block version 4.0
[ 1.047094] [drm] nouveau 0000:02:00.0: DCB connector table: VHER 0x40 5 16 4
[ 1.047096] [drm] nouveau 0000:02:00.0: 0: 0x00001030: type 0x30 idx 0 tag 0x07
[ 1.047097] [drm] nouveau 0000:02:00.0: 1: 0x00002161: type 0x61 idx 1 tag 0x08
[ 1.047099] [drm] nouveau 0000:02:00.0: 2: 0x00000200: type 0x00 idx 2 tag 0xff
[ 1.047100] [drm] nouveau 0000:02:00.0: Raw DCB entry 0: 01000302 00020030
[ 1.047102] [drm] nouveau 0000:02:00.0: Raw DCB entry 1: 02000300 00000000
[ 1.047104] [drm] nouveau 0000:02:00.0: Raw DCB entry 2: 02011362 00020010
[ 1.047105] [drm] nouveau 0000:02:00.0: Raw DCB entry 3: 01022310 00000000
[ 1.047114] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 0 at offset 0xD97D
[ 1.103899] usb 1-1: new high speed USB device using ehci_hcd and address 2
[ 1.111761] [drm] nouveau 0000:02:00.0: 0xDC4A: Condition still not met after 20ms, skipping following opcodes
[ 1.135756] [drm] nouveau 0000:02:00.0: 0xDC4E: Condition still not met after 20ms, skipping following opcodes
[ 1.135790] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 1 at offset 0xDE28
[ 1.167882] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 2 at offset 0xE9FB
[ 1.167890] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 3 at offset 0xEA14
[ 1.217289] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 4 at offset 0xEAFB
[ 1.217291] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table at offset 0xEB60
[ 1.239735] [drm] nouveau 0000:02:00.0: 0xD7F1: Condition still not met after 20ms, skipping following opcodes
[ 1.239744] [drm] nouveau 0000:02:00.0: 0xC4BD: parsing output script 0
[ 1.239746] [drm] nouveau 0000:02:00.0: 0xC4BD: parsing output script 0
[ 1.272240] usb 1-1: configuration #1 chosen from 1 choice
[ 1.272365] hub 1-1:1.0: USB hub found
[ 1.272456] hub 1-1:1.0: 6 ports detected
[ 1.291889] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.291933] ata5: SATA link down (SStatus 0 SControl 300)
[ 1.291982] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.292020] ata6: SATA link down (SStatus 0 SControl 300)
[ 1.292075] ata7: SATA link down (SStatus 0 SControl 300)
[ 1.295887] ata3: SATA link down (SStatus 0 SControl 300)
[ 1.295931] ata4: SATA link down (SStatus 0 SControl 300)
[ 1.302761] ata1.00: ACPI _SDD failed (AE 0x5)
[ 1.347939] usb 2-1.1: new low speed USB device using ehci_hcd and address 3
[ 1.409833] usb 2-1.1: configuration #1 chosen from 1 choice
[ 1.481410] usb 2-1.2: new low speed USB device using ehci_hcd and address 4
[ 1.482052] [TTM] Zone kernel: Available graphics memory: 427010 kiB.
[ 1.482053] [TTM] Zone highmem: Available graphics memory: 1793100 kiB.
[ 1.482060] [drm] nouveau 0000:02:00.0: 1024 MiB VRAM
[ 1.503784] [drm] nouveau 0000:02:00.0: 512 MiB GART (aperture)
[ 1.503789] mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining
[ 1.503988] [drm] nouveau 0000:02:00.0: Allocating FIFO number 1
[ 1.507979] [drm] nouveau 0000:02:00.0: nouveau_channel_alloc: initialised FIFO 1
[ 1.508620] [drm] nouveau 0000:02:00.0: Detected a TMDS output
[ 1.508622] [drm] nouveau 0000:02:00.0: Detected a DAC output
[ 1.508623] [drm] nouveau 0000:02:00.0: Detected a TMDS output
[ 1.508624] [drm] nouveau 0000:02:00.0: Detected a DAC output
[ 1.508626] [drm] nouveau 0000:02:00.0: Detected a DVI-I connector
[ 1.508648] [drm] nouveau 0000:02:00.0: Detected a DVI-D connector
[ 1.508661] [drm] nouveau 0000:02:00.0: Detected a VGA connector
[ 1.578920] usb 2-1.2: configuration #1 chosen from 1 choice
[ 1.584213] usbcore: registered new interface driver hiddev
[ 1.586206] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input3
[ 1.586256] generic-usb 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-1.1/input0
[ 1.588971] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input4
[ 1.589011] generic-usb 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input0
[ 1.595425] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input5
[ 1.595459] generic-usb 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input1
[ 1.595468] usbcore: registered new interface driver usbhid
[ 1.595470] usbhid: v2.6:USB HID core driver
[ 1.657494] usb 1-1.2: new high speed USB device using ehci_hcd and address 3
[ 1.690517] [drm] nouveau 0000:02:00.0: allocated 1600x900 fb: 0x40250000, bo f69df600
[ 1.690545] fb0: nouveaufb frame buffer device
[ 1.690546] registered panic notifier
[ 1.690549] [drm] Initialized nouveau 0.0.15 20090420 for 0000:02:00.0 on minor 0
[ 1.749260] usb 1-1.2: configuration #1 chosen from 1 choice
[ 1.753012] Initializing USB Mass Storage driver...
[ 1.753067] scsi8 : SCSI emulation for USB Mass Storage devices
[ 1.753237] usbcore: registered new interface driver usb-storage
[ 1.753238] USB Mass Storage support registered.
[ 1.753241] usb-storage: device found at 3
[ 1.753242] usb-storage: waiting for device to settle before scanning
[ 6.559482] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 6.570588] ata1.00: ACPI _SDD failed (AE 0x5)
[ 6.570589] ata1.00: ACPI: failed the second time, disabled
[ 6.571004] ata1.00: ATA-8: ADATA SX900, 5.0.7b, max UDMA/133
[ 6.571005] ata1.00: 125045424 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 6.580966] ata1.00: configured for UDMA/133
[ 6.595534] scsi 0:0:0:0: Direct-Access ATA ADATA SX900 5.0. PQ: 0 ANSI: 5
[ 6.595614] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 6.595720] sd 0:0:0:0: [sda] 125045424 512-byte logical blocks: (64.0 GB/59.6 GiB)
[ 6.595926] sd 0:0:0:0: [sda] Write Protect is off
[ 6.595928] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 6.595942] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 6.596019] sda: sda1 < sda5 sda6 sda7 >
[ 6.596438] sd 0:0:0:0: [sda] Attached SCSI disk
[ 6.751669] usb-storage: device scan complete
[ 6.752476] scsi 8:0:0:0: Direct-Access SanDisk Cruzer 2.01 PQ: 0 ANSI: 6
[ 6.752707] sd 8:0:0:0: Attached scsi generic sg1 type 0
[ 6.753214] sd 8:0:0:0: [sdb] 125031680 512-byte logical blocks: (64.0 GB/59.6 GiB)
[ 6.754087] sd 8:0:0:0: [sdb] Write Protect is off
[ 6.754089] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 6.754090] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 6.755462] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 6.755464] sdb: sdb1
[ 6.757587] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 6.757589] sd 8:0:0:0: [sdb] Attached SCSI disk
[ 6.915431] ata8: SATA link down (SStatus 0 SControl 300)
[ 6.916582] vga16fb: initializing
[ 6.916584] vga16fb: mapped to 0xc00a0000
[ 6.916586] vga16fb: not registering due to another framebuffer present
[ 6.923448] [drm] nouveau 0000:02:00.0: 0x780C: parsing clock script 0
[ 6.923978] Console: switching to colour frame buffer device 200x56
[ 7.174683] xor: automatically using best checksumming function: pIII_sse
[ 7.192359] pIII_sse : 13958.000 MB/sec
[ 7.192361] xor: using function: pIII_sse (13958.000 MB/sec)
[ 7.193705] device-mapper: dm-raid45: initialized v0.2594b
[ 7.255687] EXT4-fs (sda6): mounted filesystem with ordered data mode
[ 7.386785] Adding 1951736k swap on /dev/sda5. Priority:-1 extents:1 across:1951736k SS
[ 7.401975] udev: starting version 151
[ 7.452101] xhci_hcd 0000:00:14.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7.452134] xhci_hcd 0000:00:14.0: setting latency timer to 64
[ 7.452137] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 7.452201] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 7.452272] xhci_hcd 0000:00:14.0: cache line size of 32 is not supported
[ 7.452278] xhci_hcd 0000:00:14.0: irq 16, io mem 0xf7200000
[ 7.452305] usb usb3: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor
[ 7.452433] usb usb3: configuration #1 chosen from 1 choice
[ 7.452436] xHCI xhci_add_endpoint called for root hub
[ 7.452437] xHCI xhci_check_bandwidth called for root hub
[ 7.452473] hub 3-0:1.0: USB hub found
[ 7.452478] hub 3-0:1.0: 8 ports detected
[ 7.500203] parport_pc 00:08: reported by Plug and Play ACPI
[ 7.500259] parport0: PC-style at 0x378 (0x778), irq 5, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 7.521303] lp: driver loaded but no devices found
[ 7.589478] ppdev: user-space parallel port driver
[ 7.601102] type=1505 audit(1381507806.573:2): operation="profile_load" pid=845 name="/sbin/dhclient3"
[ 7.601303] type=1505 audit(1381507806.573:3): operation="profile_replace" pid=876 name="/sbin/dhclient3"
[ 7.601551] type=1505 audit(1381507806.573:4): operation="profile_load" pid=845 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[ 7.601719] type=1505 audit(1381507806.573:5): operation="profile_replace" pid=876 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[ 7.601801] type=1505 audit(1381507806.573:6): operation="profile_load" pid=845 name="/usr/lib/connman/scripts/dhclient-script"
[ 7.601956] type=1505 audit(1381507806.573:7): operation="profile_replace" pid=876 name="/usr/lib/connman/scripts/dhclient-script"
[ 7.603405] lp0: using parport0 (interrupt-driven).
[ 7.603517] parport_pc 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7.603520] PCI parallel port detected: 1415:c000, I/O at 0xe010(0xe000), IRQ 16
[ 7.603606] parport1: PC-style at 0xe010 (0xe000), irq 16, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP]
[ 7.677957] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 7.677960] hda_intel: Disable MSI for Nvidia chipset
[ 7.677993] HDA Intel 0000:02:00.1: setting latency timer to 64
[ 7.680842] EXT4-fs (sda7): mounted filesystem with ordered data mode
[ 7.699430] lp1: using parport1 (interrupt-driven).
[ 7.725005] type=1505 audit(1381507806.697:8): operation="profile_replace" pid=1045 name="/sbin/dhclient3"
[ 7.725417] type=1505 audit(1381507806.697:9): operation="profile_replace" pid=1045 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[ 7.725642] type=1505 audit(1381507806.697:10): operation="profile_replace" pid=1045 name="/usr/lib/connman/scripts/dhclient-script"
[ 7.727785] type=1505 audit(1381507806.697:11): operation="profile_load" pid=1044 name="/usr/share/gdm/guest-session/Xsession"
[ 7.757728] r8169: eth0: link down
[ 7.757842] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.278416] [drm] nouveau 0000:02:00.0: Allocating FIFO number 2
[ 8.282442] [drm] nouveau 0000:02:00.0: nouveau_channel_alloc: initialised FIFO 2
[ 50.761221] I-pipe: Domain RTAI registered.
[ 50.761224] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 50.761226] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 50.761250] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 50.761251] PIPELINE layers:
[ 50.761252] faf15e20 9ac15d93 RTAI 200
[ 50.761254] c085cb20 0 Linux 100
[ 50.770627] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 50.770832] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 50.770835] RTAI[sched]: hard timer type/freq = APIC/6235800(Hz); default timing: periodic; linear timed lists.
[ 50.770837] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3093112000 hz.
[ 50.770839] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 50.770875] RTAI[usi]: enabled.
[ 50.787663] RTAI[math]: loaded.
[ 50.825067] hm2: loading Mesa HostMot2 driver version 0.15
[ 50.826958] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[ 50.828978] hm2_7i43.0: firmware: requesting hm2/7i43/SVST4_4B.BIT
[ 51.242630] hm2/hm2_7i43.0: invalid cookie, got 0xFEFEFEFE, expected 0x55AACAFE
[ 51.242632] hm2/hm2_7i43.0: FPGA failed to initialize, or unexpected firmware?
[ 51.242635] hm2_7i43.0: board at (ioaddr=0xE010, ioaddr_hi=0xE000, epp_wide ON) not found!
[ 51.384859] hm2: unloading
[ 51.403418] RTAI[math]: unloaded.
[ 51.419508] SCHED releases registered named ALIEN RTGLBH
[ 51.447708] RTAI[malloc]: unloaded.
[ 51.547576] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 51.548759] I-pipe: Domain RTAI unregistered.
[ 51.548793] RTAI[hal]: unmounted.
When I turned off 5V power to the Mesa boards the green LED on the 7i42TA and the yellow PWR LED on the 7i43-U-4 still shone, though the green one was noticeably fainter than before.
Last edit: 11 Oct 2013 23:14 by CalmofDawn.
Please Log in or Create an account to join the conversation.
- CalmofDawn
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 Oct 2013 23:22 - 11 Oct 2013 23:59 #39775
by CalmofDawn
Replied by CalmofDawn on topic So Close- Just Need Help With Config and Firmware
Oh my gosh it worked.
I went to home/user/linuxcnc/configs/hm2_stepper/7i43-big.ini and modified the DRIVER line again:
DRIVER=hm2_7i43 ioaddr=0xE010 epp_wide=0
(to disable 16-bit and 32-bit EPP transfers, which some parallel ports may not work with)
and then Applications>CNC>LinuxCNC>My Configurations>Hm2_Stepper>7i43-big.ini
and EMC2 AXIS GUI popped up alright! Without any error messages! That's a milestone right?
I opened Terminal and ran dmesg and the bottom snippet was:
I guess now that FPGA-computer communication has been established, creating a proper configuration and confirming pinouts are working as intended is next, followed by delving into custom firmware flashing.
I went to home/user/linuxcnc/configs/hm2_stepper/7i43-big.ini and modified the DRIVER line again:
DRIVER=hm2_7i43 ioaddr=0xE010 epp_wide=0
(to disable 16-bit and 32-bit EPP transfers, which some parallel ports may not work with)
and then Applications>CNC>LinuxCNC>My Configurations>Hm2_Stepper>7i43-big.ini
and EMC2 AXIS GUI popped up alright! Without any error messages! That's a milestone right?
I opened Terminal and ran dmesg and the bottom snippet was:
[ 30.060411] I-pipe: Domain RTAI registered.
[ 30.060415] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 30.060416] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 30.060440] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 30.060441] PIPELINE layers:
[ 30.060443] faef5e20 9ac15d93 RTAI 200
[ 30.060444] c085cb20 0 Linux 100
[ 30.070162] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 30.070217] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 30.070221] RTAI[sched]: hard timer type/freq = APIC/6235800(Hz); default timing: periodic; linear timed lists.
[ 30.070223] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3093096000 hz.
[ 30.070225] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 30.070263] RTAI[usi]: enabled.
[ 30.087704] RTAI[math]: loaded.
[ 30.124800] hm2: loading Mesa HostMot2 driver version 0.15
[ 30.126647] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[ 30.128667] hm2_7i43.0: firmware: requesting hm2/7i43/SVST4_4B.BIT
[ 30.544421] hm2/hm2_7i43.0: 48 I/O Pins used:
[ 30.544424] hm2/hm2_7i43.0: IO Pin 000 (P4-01): IOPort
[ 30.544425] hm2/hm2_7i43.0: IO Pin 001 (P4-03): IOPort
[ 30.544426] hm2/hm2_7i43.0: IO Pin 002 (P4-05): IOPort
[ 30.544428] hm2/hm2_7i43.0: IO Pin 003 (P4-07): IOPort
[ 30.544429] hm2/hm2_7i43.0: IO Pin 004 (P4-09): IOPort
[ 30.544430] hm2/hm2_7i43.0: IO Pin 005 (P4-11): IOPort
[ 30.544432] hm2/hm2_7i43.0: IO Pin 006 (P4-13): IOPort
[ 30.544433] hm2/hm2_7i43.0: IO Pin 007 (P4-15): IOPort
[ 30.544434] hm2/hm2_7i43.0: IO Pin 008 (P4-17): IOPort
[ 30.544436] hm2/hm2_7i43.0: IO Pin 009 (P4-19): IOPort
[ 30.544437] hm2/hm2_7i43.0: IO Pin 010 (P4-21): IOPort
[ 30.544438] hm2/hm2_7i43.0: IO Pin 011 (P4-23): IOPort
[ 30.544439] hm2/hm2_7i43.0: IO Pin 012 (P4-25): IOPort
[ 30.544441] hm2/hm2_7i43.0: IO Pin 013 (P4-27): IOPort
[ 30.544442] hm2/hm2_7i43.0: IO Pin 014 (P4-29): IOPort
[ 30.544444] hm2/hm2_7i43.0: IO Pin 015 (P4-31): IOPort
[ 30.544445] hm2/hm2_7i43.0: IO Pin 016 (P4-33): IOPort
[ 30.544446] hm2/hm2_7i43.0: IO Pin 017 (P4-35): IOPort
[ 30.544447] hm2/hm2_7i43.0: IO Pin 018 (P4-37): IOPort
[ 30.544449] hm2/hm2_7i43.0: IO Pin 019 (P4-39): IOPort
[ 30.544450] hm2/hm2_7i43.0: IO Pin 020 (P4-41): IOPort
[ 30.544451] hm2/hm2_7i43.0: IO Pin 021 (P4-43): IOPort
[ 30.544453] hm2/hm2_7i43.0: IO Pin 022 (P4-45): IOPort
[ 30.544454] hm2/hm2_7i43.0: IO Pin 023 (P4-47): IOPort
[ 30.544456] hm2/hm2_7i43.0: IO Pin 024 (P3-01): StepGen #0, pin Step (Output)
[ 30.544457] hm2/hm2_7i43.0: IO Pin 025 (P3-03): StepGen #0, pin Direction (Output)
[ 30.544459] hm2/hm2_7i43.0: IO Pin 026 (P3-05): IOPort
[ 30.544460] hm2/hm2_7i43.0: IO Pin 027 (P3-07): IOPort
[ 30.544462] hm2/hm2_7i43.0: IO Pin 028 (P3-09): IOPort
[ 30.544463] hm2/hm2_7i43.0: IO Pin 029 (P3-11): IOPort
[ 30.544465] hm2/hm2_7i43.0: IO Pin 030 (P3-13): StepGen #1, pin Step (Output)
[ 30.544466] hm2/hm2_7i43.0: IO Pin 031 (P3-15): StepGen #1, pin Direction (Output)
[ 30.544468] hm2/hm2_7i43.0: IO Pin 032 (P3-17): IOPort
[ 30.544469] hm2/hm2_7i43.0: IO Pin 033 (P3-19): IOPort
[ 30.544470] hm2/hm2_7i43.0: IO Pin 034 (P3-21): IOPort
[ 30.544472] hm2/hm2_7i43.0: IO Pin 035 (P3-23): IOPort
[ 30.544473] hm2/hm2_7i43.0: IO Pin 036 (P3-25): StepGen #2, pin Step (Output)
[ 30.544475] hm2/hm2_7i43.0: IO Pin 037 (P3-27): StepGen #2, pin Direction (Output)
[ 30.544476] hm2/hm2_7i43.0: IO Pin 038 (P3-29): IOPort
[ 30.544478] hm2/hm2_7i43.0: IO Pin 039 (P3-31): IOPort
[ 30.544479] hm2/hm2_7i43.0: IO Pin 040 (P3-33): IOPort
[ 30.544480] hm2/hm2_7i43.0: IO Pin 041 (P3-35): IOPort
[ 30.544481] hm2/hm2_7i43.0: IO Pin 042 (P3-37): IOPort
[ 30.544483] hm2/hm2_7i43.0: IO Pin 043 (P3-39): IOPort
[ 30.544484] hm2/hm2_7i43.0: IO Pin 044 (P3-41): IOPort
[ 30.544485] hm2/hm2_7i43.0: IO Pin 045 (P3-43): IOPort
[ 30.544487] hm2/hm2_7i43.0: IO Pin 046 (P3-45): IOPort
[ 30.544488] hm2/hm2_7i43.0: IO Pin 047 (P3-47): IOPort
[ 30.544502] hm2/hm2_7i43.0: registered
[ 30.544504] hm2_7i43.0: board at (ioaddr=0xE010, ioaddr_hi=0xE000, epp_wide OFF) found
I guess now that FPGA-computer communication has been established, creating a proper configuration and confirming pinouts are working as intended is next, followed by delving into custom firmware flashing.
Last edit: 11 Oct 2013 23:59 by CalmofDawn.
Please Log in or Create an account to join the conversation.
12 Oct 2013 02:27 #39784
by andypugh
Yes, you have the config sorted out now.
What do you intend to do that requires a custom firmware? There are already quite a wide variety of firmwares that cover rather a lot of eventualities.
Replied by andypugh on topic So Close- Just Need Help With Config and Firmware
I guess now that FPGA-computer communication has been established, creating a proper configuration and confirming pinouts are working as intended is next, followed by delving into custom firmware flashing.[ 30.544456] hm2/hm2_7i43.0: IO Pin 024 (P3-01): StepGen #0, pin Step (Output) [ 30.544457] hm2/hm2_7i43.0: IO Pin 025 (P3-03): StepGen #0, pin Direction (Output) [ 30.544459] hm2/hm2_7i43.0: IO Pin 026 (P3-05): IOPort ...
Yes, you have the config sorted out now.
What do you intend to do that requires a custom firmware? There are already quite a wide variety of firmwares that cover rather a lot of eventualities.
Please Log in or Create an account to join the conversation.
- CalmofDawn
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
12 Oct 2013 09:50 #39794
by CalmofDawn
Replied by CalmofDawn on topic So Close- Just Need Help With Config and Firmware
I guess I'm just looking to prepare a clear process laid out for custom CNC setups so that when time comes I can easily make and flash new files as necessary. A big part of it I suppose is I would like to learn more about working with embedded systems.
Do you know where I could search through and download firmwares already out there? And probably also a guide on how to make/flash files to the FPGA, if there is one out there.
Thanks for the help so far guys, I really appreciate it.
Do you know where I could search through and download firmwares already out there? And probably also a guide on how to make/flash files to the FPGA, if there is one out there.
Thanks for the help so far guys, I really appreciate it.
Please Log in or Create an account to join the conversation.
12 Oct 2013 18:18 - 12 Oct 2013 18:19 #39798
by andypugh
They exist in two places:
There is the LinuxCNC Hostmot2 firmware package. You may be able to see that in the Package manager, or you canThat will get you the following files (in /lib/firmware/hm2/7i43-400/):
SV8.BIT - 8 x PWM + 8 x quadrature encoder counters
SVST4_12.BIT - 4 x encoders, 4 x PWM, 12 x step generators
SVST4_4.BIT
SVST4_6.BIT
TPEN4_5.BIT - 4 x Three-Phase PWM (for driving 3-phase bridges) + 5 encoder counters.
Note that any pins not used for their "special" function are available as general purpose IO.
Alternatively there is the package from Mesa: www.mesanet.com/software/parallel/7i43.zip
That gets you the source code, some utils and also a couple more bitfiles for specific daughter boards:
SVSSP4_6_7i46B.BIT - PWM, Encoders and SPI interface, at a guess.
SVST_4_7I47.BIT - PWM, Encoder, Stepper, to suit the 7I47 board.
Replied by andypugh on topic So Close- Just Need Help With Config and Firmware
Do you know where I could search through and download firmwares already out there?
They exist in two places:
There is the LinuxCNC Hostmot2 firmware package. You may be able to see that in the Package manager, or you can
sudo apt-get install hostmot2-firmware-7i43-4
SV8.BIT - 8 x PWM + 8 x quadrature encoder counters
SVST4_12.BIT - 4 x encoders, 4 x PWM, 12 x step generators
SVST4_4.BIT
SVST4_6.BIT
TPEN4_5.BIT - 4 x Three-Phase PWM (for driving 3-phase bridges) + 5 encoder counters.
Note that any pins not used for their "special" function are available as general purpose IO.
Alternatively there is the package from Mesa: www.mesanet.com/software/parallel/7i43.zip
That gets you the source code, some utils and also a couple more bitfiles for specific daughter boards:
SVSSP4_6_7i46B.BIT - PWM, Encoders and SPI interface, at a guess.
SVST_4_7I47.BIT - PWM, Encoder, Stepper, to suit the 7I47 board.
Last edit: 12 Oct 2013 18:19 by andypugh.
The following user(s) said Thank You: CalmofDawn
Please Log in or Create an account to join the conversation.
12 Oct 2013 22:15 #39799
by PCW
Replied by PCW on topic So Close- Just Need Help With Config and Firmware
Heres' a list of the current pinout files for the 7I43 in the source:
(you can see that a number were custom made for individuals)
Its easy to make new ones (and with a little work could probably be automated)
PIN_CNCB_48.vhd
PIN_DILEO_48.vhd
PIN_enslavko_48.vhd
PIN_KOSTAS_48.vhd
PIN_SISVST6_2_3_7I47_48.vhd
PIN_SPSVST_7I47_7I65_48.vhd
PIN_SSST8_4_48.vhd
PIN_SV12_7I49_48.vhd
PIN_SV5_TOM_48.vhd
PIN_SV8_48.vhd
PIN_SVRM6_48.vhd
PIN_SVSP4_6_7I46_48.vhd
PIN_SVSP4_6_7I46NA_48.vhd
PIN_SVSP6_2_48.vhd
PIN_SVSPD6_2_48.vhd
PIN_SVSS4_4_48.vhd
PIN_SVSS4_8_48.vhd
PIN_SVSS6_3_48.vhd
PIN_SVSS6_4_48.vhd
PIN_SVSS6_6_48.vhd
PIN_SVSS8_8_48.vhd
PIN_SVSSP4_6_7I46_48.vhd
PIN_SVST1_4_7I47S_48.vhd
PIN_SVST2_4_7I47_48.vhd
PIN_SVST4_12_48.vhd
PIN_SVST4_12NA_48.vhd
PIN_SVST4_4_48.vhd
PIN_SVST4_4NA_48.vhd
PIN_SVST4_4_TOM_48.vhd
PIN_SVST4_6_48.vhd
PIN_SVST4_6NA_48.vhd
PIN_SVST6_6_7I48_48.vhd
PIN_SVST6_6_7I52S_48.vhd
PIN_SVSTTP4_4_7I39_48.vhd
PIN_SVSTTP4_4_7I39R_48.vhd
PIN_SVTP4_7I39_48.vhd
PIN_SVTW4_24_24_48.vhd
PIN_SVUA4_8_48.vhd
PIN_TEMP_7I47_48.vhd
(you can see that a number were custom made for individuals)
Its easy to make new ones (and with a little work could probably be automated)
PIN_CNCB_48.vhd
PIN_DILEO_48.vhd
PIN_enslavko_48.vhd
PIN_KOSTAS_48.vhd
PIN_SISVST6_2_3_7I47_48.vhd
PIN_SPSVST_7I47_7I65_48.vhd
PIN_SSST8_4_48.vhd
PIN_SV12_7I49_48.vhd
PIN_SV5_TOM_48.vhd
PIN_SV8_48.vhd
PIN_SVRM6_48.vhd
PIN_SVSP4_6_7I46_48.vhd
PIN_SVSP4_6_7I46NA_48.vhd
PIN_SVSP6_2_48.vhd
PIN_SVSPD6_2_48.vhd
PIN_SVSS4_4_48.vhd
PIN_SVSS4_8_48.vhd
PIN_SVSS6_3_48.vhd
PIN_SVSS6_4_48.vhd
PIN_SVSS6_6_48.vhd
PIN_SVSS8_8_48.vhd
PIN_SVSSP4_6_7I46_48.vhd
PIN_SVST1_4_7I47S_48.vhd
PIN_SVST2_4_7I47_48.vhd
PIN_SVST4_12_48.vhd
PIN_SVST4_12NA_48.vhd
PIN_SVST4_4_48.vhd
PIN_SVST4_4NA_48.vhd
PIN_SVST4_4_TOM_48.vhd
PIN_SVST4_6_48.vhd
PIN_SVST4_6NA_48.vhd
PIN_SVST6_6_7I48_48.vhd
PIN_SVST6_6_7I52S_48.vhd
PIN_SVSTTP4_4_7I39_48.vhd
PIN_SVSTTP4_4_7I39R_48.vhd
PIN_SVTP4_7I39_48.vhd
PIN_SVTW4_24_24_48.vhd
PIN_SVUA4_8_48.vhd
PIN_TEMP_7I47_48.vhd
The following user(s) said Thank You: CalmofDawn
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds