Lost in space

More
24 Jul 2011 02:51 - 24 Jul 2011 02:52 #11787 by TarHeelTom
Lost in space was created by TarHeelTom
I've got no idea what's going on, and no idea what forum to post this one in.

Built up a "new" computer with a D10MO board, etc. Unknowstto me, the board comes with one parallel port built in, but with only a header plug. Ordered a "PLATE25" header plug to DB25 connector, but it was actually wired backwards. Finally got it working by opening the header connector and reversing the ribbon cable. That made port 0 run, but in the midst of that port 1 decided not to work, and on the next EMC2 load, EMC refuses to load, then the computer won't boot. Pulling the 2nd parallel port board allowed the computer to boot, but now EMC2 won't load.

One interesting aspect here is that I did NOT make any HAL changes in the middle of this, but have later as part of the trouble shooting. Nothing seems to help.

Along the way I replaced the extra parallel port board with a single board containing two parallel ports. It appears to install, but I'm unable to run its driver installation program, and its error message doesn't make any sense at all.

I'm at the point of thinking that I need to reinstall EMC2, but couldn't find the deb file on the web site.

Anyone got an ideas?
Last edit: 24 Jul 2011 02:52 by TarHeelTom.

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 02:54 #11788 by TarHeelTom
Replied by TarHeelTom on topic Re:Lost in space
Here's the error message from load up....

File Attachment:

File Name: error_msg.txt
File Size:2 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 02:56 #11789 by TarHeelTom
Replied by TarHeelTom on topic Re:Lost in space
Here's the hal file


And here's the search for the new parallel ports.

tomwade@Bridgeport:~$ lspci
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
05:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller
05:00.2 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller
tomwade@Bridgeport:~$ lspci -v
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at e0300000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 30c0
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at e0200000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
Subsystem: Intel Corporation Device d618
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at e0380000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 80000000-803fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000e00fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 80400000-805fffff
Prefetchable memory behind bridge: 0000000080600000-00000000807fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 80800000-809fffff
Prefetchable memory behind bridge: 0000000080a00000-0000000080bfffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00006000-00006fff
Memory behind bridge: 80c00000-80dfffff
Prefetchable memory behind bridge: 0000000080e00000-0000000080ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 3080
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 3060
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 3040
Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 3020
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01) (prog-if 20)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at e0384400 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) (prog-if 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: e0100000-e01fffff
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>

00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at 30b8
I/O ports at 30cc
I/O ports at 30b0
I/O ports at 30c8
I/O ports at 30a0
Memory at e0384000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: medium devsel, IRQ 11
I/O ports at 3000
Kernel modules: i2c-i801

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Intel Corporation Device d615
Flags: bus master, fast devsel, latency 0, IRQ 28
I/O ports at 2000
Memory at e0004000 (64-bit, prefetchable) [size=4K]
Memory at e0000000 (64-bit, prefetchable) [size=16K]
Expansion ROM at e0020000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

05:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 10
I/O ports at 1018
I/O ports at 1010
Memory at e0103000 (32-bit, non-prefetchable) [size=4K]
Memory at e0102000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

05:00.2 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 10
I/O ports at 1008
I/O ports at 1000
Memory at e0101000 (32-bit, non-prefetchable) [size=4K]
Memory at e0100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

tomwade@Bridgeport:~$ clear

tomwade@Bridgeport:~$ lspci -v
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at e0300000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 30c0
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at e0200000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
Subsystem: Intel Corporation Device d618
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at e0380000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 80000000-803fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000e00fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 80400000-805fffff
Prefetchable memory behind bridge: 0000000080600000-00000000807fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 80800000-809fffff
Prefetchable memory behind bridge: 0000000080a00000-0000000080bfffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00006000-00006fff
Memory behind bridge: 80c00000-80dfffff
Prefetchable memory behind bridge: 0000000080e00000-0000000080ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 3080
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 3060
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 3040
Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 3020
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01) (prog-if 20)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at e0384400 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) (prog-if 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: e0100000-e01fffff
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>

00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corporation Device 4f4d
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at 30b8
I/O ports at 30cc
I/O ports at 30b0
I/O ports at 30c8
I/O ports at 30a0
Memory at e0384000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
Subsystem: Intel Corporation Device 4f4d
Flags: medium devsel, IRQ 11
I/O ports at 3000
Kernel modules: i2c-i801

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Intel Corporation Device d615
Flags: bus master, fast devsel, latency 0, IRQ 28
I/O ports at 2000
Memory at e0004000 (64-bit, prefetchable) [size=4K]
Memory at e0000000 (64-bit, prefetchable) [size=16K]
Expansion ROM at e0020000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

05:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 10
I/O ports at 1018
I/O ports at 1010
Memory at e0103000 (32-bit, non-prefetchable) [size=4K]
Memory at e0102000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

05:00.2 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 10
I/O ports at 1008
I/O ports at 1000
Memory at e0101000 (32-bit, non-prefetchable) [size=4K]
Memory at e0100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

tomwade@Bridgeport:~$

Thanks

Tom

File Attachment:

File Name: Bridgeport_2.txt
File Size:5 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 02:59 #11790 by PCW
Replied by PCW on topic Re:Lost in space
Only that you probably do _not_ want to install any vendor supplied drivers
You can check if the OS found the new card (after rebooting)
by running lspci in a terminal window like
lspci
and searching for parallel ports
or fancier:
lspci -v | grep -i parallel

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 03:05 #11791 by PCW
Replied by PCW on topic Re:Lost in space
OK so it found the parallel ports just fine. now you just need to find which of the listed addresses are the ones you need. You could also try the index method of accessing the ports ( with this method your ports will be 0,1,2)

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 06:08 #11793 by TarHeelTom
Replied by TarHeelTom on topic Re:Lost in space
PCW wrote:

OK so it found the parallel ports just fine. now you just need to find which of the listed addresses are the ones you need. You could also try the index method of accessing the ports ( with this method your ports will be 0,1,2)


But the original, on-board parallel port on the motherboard is still there, though i probably won't be using it.

So, really, I'll have 0, 1, 2

Tom

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 10:19 - 24 Jul 2011 11:48 #11795 by ArcEye
Replied by ArcEye on topic Re:Lost in space
Hi

Your original error was

Bridgeport_2.hal:11: parameter or pin 'parport.0.reset-time' not found

that is almost certainly because your hal file was trying to specify a non-existent parport in the line

loadrt hal_parport cfg="0x278 out" or whatever address your hal file specified

Your on board parport should be accessible from BIOS and you can get the address from there and check that it is in EPP mode and not AUTO or similar.
Usual addresses are 0x278 or 0x378

Your PCI board addresses appear to be 0x1008 and 0x1018

So loadrt hal_parport cfg="0xnnn out 0x1008 in 0x1018 in" where nnn is the address of your built in port should load them all (assuming the NetMos card works in input mode which I think the 9865 chip does)

Thereafter you can address them a parport.0 parport.1 and parport.2

regards

PS

I have just found your .hal file you attached, thought it was missing

It contains
#loadrt hal_parport cfg=" 0x378 out "
#loadrt hal_parport cfg="0x378 out 0x1008 in " loadrt hal_parport cfg="0x1018 out 0x1008 in "

setp parport.0.reset-time 1000


So you are not loading anything because it is all commented out, so the setp line is going to throw an error.
Last edit: 24 Jul 2011 11:48 by ArcEye.

Please Log in or Create an account to join the conversation.

More
24 Jul 2011 16:00 - 24 Jul 2011 16:02 #11799 by TarHeelTom
Replied by TarHeelTom on topic Re:Lost in space
ArcEye wrote:

Hi
<snip>
I have just found your .hal file you attached, thought it was missing

It contains
#loadrt hal_parport cfg=" 0x378 out "
#loadrt hal_parport cfg="0x378 out 0x1008 in " loadrt hal_parport cfg="0x1018 out 0x1008 in "

setp parport.0.reset-time 1000

So you are not loading anything because it is all commented out, so the setp line is going to throw an error.


Ooops. Glad you caught that. It IS there, but a line feed got deleted. Now to go fix that and try again.

Thanks for catching that.

Tom
Last edit: 24 Jul 2011 16:02 by TarHeelTom.

Please Log in or Create an account to join the conversation.

Time to create page: 0.225 seconds
Powered by Kunena Forum