J. L. Lee | 1 Jul 17:08
Picon
Picon

Matrox Mystique video card NOT initialized on HP Visualize 785/B2000 with 2.6.12-rc6-pa1kernel

Hi,

I have now upgraded to Linux Kernel 2.6.12-rc6-pa1 but am still having problems in getting Matrox Mystique video card up and running, i.e. the card did not get initialized. At least it didn't cause Kernel panic as it did in 2.6.8.  (The driver is compiled into the kernel.)

Part of the booting up messages are attached here:

"... Snipped

SuperIO: Found NS87560 Legacy I/O device at 0000:00:0e.1 (IRQ 68)
SuperIO: Serial port 1 at 0x3f8
SuperIO: Serial port 2 at 0x2f8
SuperIO: Parallel port at 0x378
SuperIO: Floppy controller at 0x3f0
SuperIO: ACPI at 0x7e0
SuperIO: USB regulator enabled
PDC Stable Storage facility v0.09
Soft power switch enabled, polling <at> 0xf0400804.
STI GSC/PCI core graphics driver Version 0.9a
STI PCI graphic ROM found at fd820000 (128 kB), fb at fb000000 (16 MB)
    id 35acda16-9a02587, conforms to spec rev. 8.0c
    graphics card name: HPA4982A
sticon: Initializing STI text console.
Console: switching to colour STI console 160x64
matroxfb: Matrox Mystique (PCI) detected
matroxfb: cannot determine memory size
matroxfb: probe of 0000:01:01.0 failed with error -1
tridentfb: Trident framebuffer 0.7.8-NEWAPI initializing
stifb: 'HPA4982A' (id: 0x35acda16) not supported.
Generic RTC Driver v1.07

... Snipped"


What should I try next? Pls advise.

Thanks,
Lee

ps. I also have the Trident driver compiled into the Kernel but no Trident card installed.

pps. Output from 'lspci -v':-


... Snipped

0000:01:00.0 3D controller: Hewlett-Packard Company Visualize FXe (rev 03)
        Subsystem: Hewlett-Packard Company: Unknown device 108c
        Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 70
        Memory at fb000000 (64-bit, prefetchable) [size=16M]
        Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
        Expansion ROM at fd820000 [disabled] [size=128K]

0000:01:01.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 02) (prog-if 00 [VGA])
        Flags: bus master, stepping, medium devsel, latency 248, IRQ 71
        Memory at fd800000 (32-bit, non-prefetchable) [size=16K]
        Memory at fd000000 (32-bit, prefetchable) [size=8M]
        Memory at f4800000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at fd820000 [disabled] [size=64K]

... Snipped
Max Grabert | 2 Jul 04:45
Picon

Re: [parisc-linux] Matrox Mystique video card NOT initialized on HP Visualize 785/B2000 with 2.6.12-rc6-pa1kernel

On 7/1/05, J. L. Lee <jllee <at> singnet.com.sg> wrote:
>  Hi,
> 
>  I have now upgraded to Linux Kernel 2.6.12-rc6-pa1 but am still having
> problems in getting Matrox Mystique video card up and running, i.e. the card
> did not get initialized. At least it didn't cause Kernel panic as it did in
> 2.6.8.  (The driver is compiled into the kernel.)

Have you read the FAQ (http://www.parisc-linux.org/faq/graphics-howto.html) ?
Especially this bit:

"But some graphics drivers might have minor issues.
E.g. to ensure the Matrox Millenium graphics card will be initialized properly 
one must physically disconnect the computer from the power line before 
(re)booting - it is not sufficient to just press the power-off button."

  Max

J. L. Lee | 3 Jul 06:11
Picon
Picon

ATI 3D Rage II+ Video Card

Hi,

If you are interested, followiong are some test results I carried out while 
trying to bring up an ATI 3D Rage II+ video card on my B2000 which runs on 
Linux kernel 2.6.12-rc6-pa1.

The video card outputs from 'lspci -v' are:

0000:01:01.0 VGA compatible controller: ATI Technologies Inc 3D Rage II+ 
215GTB [Mach64 GTB] (rev 9a) (prog-if 00 [VGA])
	Flags: bus master, stepping, medium devsel, latency 255
	Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	I/O ports at 12000 [size=256]
	Memory at f4800000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f4820000 [disabled] [size=128K]

Test 1) Compiled only ATI Mach64 (no other ATI bits were included) driver 
as a module while 'frame buffer', 'video helper', 'tile blitting' and 'HP 
STI frame buffer' were compiled into the kernel. (No other video drivers 
were selected):

Result 1.1) The driver module was not loaded automatically though the video 
card was in place. Did 'lsmod' no 'atyfb' module was found.

Result 1.2) Entered command 'modprobe atyfb' nothing happened (no signals 
were detected although connection was reported OK by the HP910 monitor). 
Did a 'lsmod' 'atyfb' driver was listed among others.

Test 2) Compiled ATI Mach64 (no other ATI bits were included) driver along 
with 'frame buffer', 'video helper', 'tile blitting' and 'HP STI frame 
buffer' into the kernel. (No other video drivers were selected):

Result 2.1) Again nothing happened. Checked 
'/lib/modules/2.6.12-rc6-pa1/kernel/drivers' no 'video' subdirectory was 
found. I assumed this is normal as I have not selected any video drivers to 
be compiled as modules.

Result 2.2) The boot up messages related to video drivers did not show any 
messages referencing the ATI driver. The relevant output are:

STI GSC/PCI core graphics driver Version 0.9a
STI PCI graphic ROM found at f4820000 (128 kB), fb at fd000000 (16 MB)
     id 35acda16-9a02587, conforms to spec rev. 8.0c
     graphics card name: HPA4982A
sticon: Initializing STI text console.
Console: switching to colour STI console 160x64
stifb: 'HPA4982A' (id: 0x35acda16) not supported.
Generic RTC Driver v1.07

I will continue to add in other related ATI drivers one bit at a time to 
see if the situation will change. I will only compile the drivers into the 
kernel to save time.

In the meanwhile, if you have any suggestions pls let me know.

Rgds,
Lee

J. L. Lee | 3 Jul 06:45
Picon
Picon

Is the message from 'make modules_install' important?

Hi,

Just wonder, every time I run 'make modules_install' in Linux 
2.6.12-rc6-pa1 it always ended with the following line:

if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F 
System.map  2.
6.12-rc6-pa1; fi

Did the 'make modules_install' complete its task or it stopped prematurely? 
Pls adv.

Thanks,
Lee

Joel Soete | 3 Jul 11:56
Picon

Re: [parisc-linux] Is the message from 'make modules_install' important?

Hello Lee,

J. L. Lee wrote:
> Hi,
> 
> Just wonder, every time I run 'make modules_install' in Linux 
> 2.6.12-rc6-pa1 it always ended with the following line:
> 
> if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F 
> System.map  2.
> 6.12-rc6-pa1; fi
> 
I check with a i386 2.6.12.2 modules_install and it made the same:
[...]
   mkdir -p /lib/modules/2.6.12.2-hpVEi8.2-i686/kernel/net/xfrm; cp net/xfrm/xfrm_user.ko 
/lib/modules/2.6.12.2-hpVEi8.2-i686/kernel/net/xfrm
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.6.12.2-hpVEi8.2-i686; fi
====<>====
> 
> Did the 'make modules_install' complete its task or it stopped 
> prematurely? Pls adv.
> 
So as far as 'echo $?' return well 0, I trust it ended well its job ;-)

Hth,
	Joel

Joel Soete | 3 Jul 11:56
Picon

Re: [parisc-linux] ATI 3D Rage II+ Video Card

Hello Lee,

J. L. Lee wrote:
> Hi,
> 
> If you are interested, followiong are some test results I carried out 
> while trying to bring up an ATI 3D Rage II+ video card on my B2000 which 
> runs on Linux kernel 2.6.12-rc6-pa1.
> 
> The video card outputs from 'lspci -v' are:
> 
> 0000:01:01.0 VGA compatible controller: ATI Technologies Inc 3D Rage II+ 
> 215GTB [Mach64 GTB] (rev 9a) (prog-if 00 [VGA])
>     Flags: bus master, stepping, medium devsel, latency 255
>     Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
>     I/O ports at 12000 [size=256]
>     Memory at f4800000 (32-bit, non-prefetchable) [size=4K]
>     Expansion ROM at f4820000 [disabled] [size=128K]
> 
Iirc for such ATI 3D Rage on a non-i386 platform you would have to select:

  CONFIG_FB_ATY_XL_INIT: (sic "to support booting a Rage XL without BIOS support.")

i.e. something like in your make menuconfig:

<M>   ATI Mach64 display support
[*]     Mach64 CT/VT/GT/LT (incl. 3D RAGE) support
[ ]       Mach64 generic LCD support (EXPERIMENTAL) (NEW)
[*]       Rage XL No-BIOS Init support

Hth,
	Joel

John David Anglin | 3 Jul 15:07
Picon

Re: [parisc-linux] Is the message from 'make modules_install' important?

> Did the 'make modules_install' complete its task or it stopped prematurely? 
> Pls adv.

Another related item is 'make install'.  In 2.6.10, it did a nicer job
of installing the kernel, and the vmlinux, config and System.map links.
It also searched for palo.

Dave
--

-- 
J. David Anglin                                  dave.anglin <at> nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

J. L. Lee | 5 Jul 09:15
Picon
Picon

Setting up IDE CD-ROM on HPPA B2000

Hi,

I have seen several postings mentioning about IDE CD-ROM drives crash the 
HPPA boxes while running Linux. I myself also encoutered it repeatedly of 
late after succesfully trying various ways to go round it. Thanks to Max 
Grabert's help, I have now set it up as IDE-SCSI CD-ROM drive and it seems 
to be holding steady so far without me having to try some tricks as before.

If you are interested, followings are what I have done to set up the IDE 
CD-ROM as IDE-SCSI CD-ROM under the patient guidance of Max Grabert:

1) Run 'make menuconfig' (or equivalent), select 'Device drivers -> 
ATA/ATAPI/MFM/RLL support -> SCSI emulation support' to compile as module 
(or into kernel if you prefer);

2) In the same 'make menuconfig' (or equivalent), deselect 'Device drivers 
-> ATA/ATAPI/MFM/RLL support -> Include IDE/ATAPI CDROM support' if it is 
selected;

3) In the same 'make menuconfig' (or equivalent), make sure that required 
CD-ROM file systems are selected under the 'File Systems',

4) Edit palo config file '/etc/palo.conf' to add 'hda=ide-scsi'  at the end 
of the command line entry (the 1st entry);

5) Recompiled the kernel;

6) Run /sbin/palo;

7) If you compile any of the the above drivers as modules, please make sure 
they are also loaded on boot by adding the following lines into /etc/modules:

iso9660
udf
ns87415
ide-scsi
sg
sr_mod

8) Reboot.

Remember from now on your IDE CD-ROM drive will be known as /dev/scdX. 
/dev/scd0 in my case.

Rgds,
Lee

ps. Any downside in setting up IDE CD-ROM as IDE-SCSI CD-ROM?

pps. You might see the following msg but I believe it is harmless:

modprobe -k ide-mod options="hda=ide-scsi"
FATAL: Module ide_mod not found.

pps. You might also see the following msg: (Does 'deprecated for cd 
burning' msg mean that we can burn CDs if we have a CD/RW drive?)

ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as 
devicescsi1 : SCSI \ host adapter emulation for IDE ATAPI devices Vendor: 
MITSUMI   Model: CD-ROM FX4820T!B  \ Rev: F01M Type: CD-ROM ANSI SCSI 
revision: 02 sg

Attached scsi generic sg0 at scsi0, channel 0, id 6, lun 0,  type 0Attached 
scsi generic sg1 at \ scsi1, channel 0, id 0, lun 0,  type 5sr0: scsi3-mmc 
drive: 48x/48x cd/rw xa/form2 cdda \ trayUniform CD-ROM driver Revision: 
3.20    sr_mod

All modules loaded.

Max Grabert | 5 Jul 11:08
Picon

Re: [parisc-linux] Setting up IDE CD-ROM on HPPA B2000

On 05/07/05, J. L. Lee <jllee <at> singnet.com.sg> wrote:
> ps. Any downside in setting up IDE CD-ROM as IDE-SCSI CD-ROM?

Yes, DMA  is not supported in ide-scsi.
That means slower transfer rates (around 3MB/s) and higher CPU load.
If you are burning CDs/DVDs this means that it is more likely that
you will have buffer underruns and it limits how fast you can burn your CDs.

However ide-scsi used to have better error detection & reporting,
but I think in the last couple of months ide-cd has caught up with
ide-scsi in that repect.

Since it seems that DMA support is broken with the ns87415 IDE chipset
driver anyway it doesn't really matter whether we use ide-scsi or ide-cd
I guess.

> pps. You might see the following msg but I believe it is harmless:
> 
> modprobe -k ide-mod options="hda=ide-scsi"
> FATAL: Module ide_mod not found.

This is because it tries to load the generic IDE driver as a module, but
you have compiled it into the kernel statically.
This is indeed harmless.

> pps. You might also see the following msg: (Does 'deprecated for cd
> burning' msg mean that we can burn CDs if we have a CD/RW drive?)

Yes, you (still) can, but it is not recommended.
cdrecord works fine for me (as root, the usual linux >2.6.8 problem).

   Max

J. L. Lee | 5 Jul 16:47
Picon
Picon

Help wanted: Getting Matrox Mystique to run on HPPA B2000

Hi,

I have set up Matrox Millennum II on B2000 running Linux 2.6.12-rc6-pa1 
kernel. Am now trying to set up Matrox Mystique to run on it too.

In my first attempt I compiled the "Matrox acceleration" as MODULE with 
"Millennium I/II support" and "Mystique support" compiled into the KERNEL 
(they are not "module" selectable). After rebooting, 'matroxfb' was not 
loaded automatically. Executed a command "modprobe matroxfb" it returned an 
error msg "FATAL: Module matroxfb not found".

Recompiled the second time with "Matrox acceleration", "Millennium I/II 
support" and "Mystique support" all compiled into the KERNEL. Rebooted 
successfully but the Mystique card was not initialized nor the kernel 
crashes as it did running Linux 2.6.8.

The relevant boot msgs are as follows: (3 extra 'printk' s were added to 
drivers/video/matrox/matroxfb_base.h before kernel recompilation so there 
are extra outputs)

STI GSC/PCI core graphics driver Version 0.9a
STI PCI graphic ROM found at fd820000 (128 kB), fb at fb000000 (16 MB)
     id 35acda16-9a02587, conforms to spec rev. 8.0c
     graphics card name: HPA4982A
sticon: Initializing STI text console.
Console: switching to colour STI console 160x64
matroxfb: Matrox Mystique (PCI) detected
mga_ioremap: phys=4253024256 size=16384 flags=1 virt=104f49e0 
virt->vaddr=fd800000
mga_ioremap: phys=4244635648 size=8388608 flags=1 virt=104f49cc 
virt->vaddr=fd000000
matroxfb: cannot determine memory size
mga_iounmap: before iounmap() va->vaddr=fd000000
mga_iounmap: after iounmap() va->vaddr=fd000000
mga_iounmap: before iounmap() va->vaddr=fd800000
mga_iounmap: after iounmap() va->vaddr=fd800000
matroxfb: probe of 0000:01:01.0 failed with error -1
stifb: 'HPA4982A' (id: 0x35acda16) not supported.
Generic RTC Driver v1.07

The 'lspci -v' outputs are as follows:

DebianHPPA01:~# lspci -v
0000:00:0c.0 Ethernet controller: Digital Equipment Corporation DECchip 
21142/43 (rev 41)
	Subsystem: Hewlett-Packard Company: Unknown device 104f
	Flags: bus master, medium devsel, latency 255, IRQ 66
	I/O ports at 0f00 [size=128]
	Memory at f4005000 (32-bit, non-prefetchable) [size=1K]
	Expansion ROM at f4040000 [disabled] [size=256K]

0000:00:0d.0 Multimedia audio controller: Analog Devices AD1889 sound chip
	Subsystem: Analog Devices AD1889 sound chip
	Flags: bus master, medium devsel, latency 255, IRQ 67
	Memory at f4009000 (32-bit, prefetchable) [size=512]
	Memory at f4008000 (32-bit, prefetchable) [size=16]
	Memory at f4007000 (32-bit, prefetchable) [size=16]
	Memory at f4006000 (32-bit, prefetchable) [size=16]
	Capabilities: [dc] Power Management version 1

0000:00:0e.0 IDE interface: National Semiconductor Corporation 87415/87560 
IDE (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
	Flags: bus master, medium devsel, latency 255, IRQ 7
	I/O ports at 0e00 [size=8]
	I/O ports at 0d00 [size=4]
	I/O ports at 0b00 [size=8]
	I/O ports at 0a00 [size=4]
	I/O ports at 0900 [size=16]

0000:00:0e.1 Bridge: National Semiconductor Corporation 87560 Legacy I/O 
(rev 01)
	Flags: bus master, medium devsel, latency 255, IRQ 68

0000:00:0e.2 USB Controller: National Semiconductor Corporation USB 
Controller (rev 02) (prog-if 10 [OHCI])
	Flags: bus master, medium devsel, latency 240, IRQ 1
	Memory at f4004000 (32-bit, non-prefetchable) [size=4K]
	Memory at f4003000 (32-bit, non-prefetchable) [size=4K]

0000:00:0f.0 SCSI storage controller: LSI Logic / Symbios Logic 53c895a 
(rev 01)
	Subsystem: LSI Logic / Symbios Logic LSI53C895A PCI to Ultra2 SCSI Controller
	Flags: bus master, medium devsel, latency 255, IRQ 69
	I/O ports at 0800 [size=256]
	Memory at f4002000 (32-bit, non-prefetchable) [size=1K]
	Memory at f4000000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [40] Power Management version 2

0000:01:00.0 3D controller: Hewlett-Packard Company Visualize FXe (rev 03)
	Subsystem: Hewlett-Packard Company: Unknown device 108c
	Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 70
	Memory at fb000000 (64-bit, prefetchable) [size=16M]
	Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
	Expansion ROM at fd820000 [disabled] [size=128K]

0000:01:01.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG 
[Mystique] (rev 02) (prog-if 00 [VGA])
	Flags: bus master, stepping, medium devsel, latency 248, IRQ 71
	Memory at fd800000 (32-bit, non-prefetchable) [size=16K]
	Memory at fd000000 (32-bit, prefetchable) [size=8M]
	Memory at f4800000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at fd820000 [disabled] [size=64K]

The 'cat /proc/iomem' outputs are as follows:

DebianHPPA01:~# cat /proc/iomem
00000000-0fffffff : System RAM
   00000000-000009ff : PDC data (Page Zero)
   00100000-0039cfff : Kernel code
   0039d000-0050d89b : Kernel data
f05d0000-f05d0000 : lcd_data
f05d0008-f05d0008 : lcd_cmd
f4000000-f47fffff : PCI00 LMMIO
   f4000000-f4001fff : sym53c8xx
   f4002000-f40023ff : sym53c8xx
   f4004000-f4004fff : ohci_hcd
   f4005000-f40053ff : tulip
   f4009000-f40091ff : ad1889
f4800000-f4ffffff : PCI01 LMMIO
fd000000-fdffffff : PCI01 ELMMIO
fed00000-fed00fff : SBA
fed30000-fed30fff : LBA
fed32000-fed32fff : LBA
fef00000-feffffff : Astro Intr Ack
fff80000-fffaffff : Central Bus
   fffa0000-fffa0fff : CPU
fffb0000-fffdffff : Local Broadcast
fffe0000-ffffffff : Global Broadcast
DebianHPPA01:~#

Any suggestion what should I do next to see if Matrox Mytique cards are 
indeed usable on HPPA boxes.

Tks,
Lee


Gmane