* Fw: atyfb doesn't work for me
@ 2006-04-04 10:03 Andrew Morton
2006-04-04 15:16 ` Ville Syrjälä
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Morton @ 2006-04-04 10:03 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: Greg Stark
Begin forwarded message:
Date: 04 Apr 2006 01:18:44 -0400
From: Greg Stark <gsstark@mit.edu>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: atyfb doesn't work for me
When I try to load atyfb I get messages about "unsupported xclk source" and
"vclk out of range" and the fb devices don't seem to be active. That is,
fbset -fb /dev/fb?
all say "no such device"
I see there are module parameters to override some of these settings but I'm
not clear where I would find the correct values to use. And surely the fb
driver ought to be able to come up usable values on its own?
[ 25.724880] PCI: Enabling device 0000:02:0b.0 (0080 -> 0083)
[ 25.724943] ACPI: PCI Interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 18
[ 25.725047] atyfb: using auxiliary register aperture
[ 25.725125] atyfb: 3D RAGE II (Mach64 GT) [0x4754 rev 0x41]
[ 25.725176] atyfb: Mach64 BIOS is located at c0000, mapped at c00c0000.
[ 25.725228] atyfb: BIOS frequency table:
[ 25.725281] atyfb: PCLK_min_freq 26465, PCLK_max_freq 24930, ref_freq 11829, ref_divider 12902
[ 25.725337] atyfb: MCLK_pwd 12598, MCLK_max_freq 8241, XCLK_max_freq 22016, SCLK_freq 13619
[ 25.725418] atyfb: 512K SDRAM (1:1), 14.31818 MHz XTAL, 249 MHz PLL, 82 Mhz MCLK, 220 MHz XCLK
[ 25.725473] atyfb: Unsupported xclk source: 5.
[ 25.725654] atyfb: vclk out of range
[ 25.725703] atyfb: can't set default video mode
[ 25.762829] PCI: Enabling device 0000:02:0c.0 (0080 -> 0083)
[ 25.762882] ACPI: PCI Interrupt 0000:02:0c.0[A] -> GSI 20 (level, low) -> IRQ 19
[ 25.762965] atyfb: using auxiliary register aperture
[ 25.763020] atyfb: 3D RAGE II+ (Mach64 GU) [0x4755 rev 0x9a]
[ 25.763065] atyfb: Mach64 BIOS is located at c0000, mapped at c00c0000.
[ 25.763109] atyfb: BIOS frequency table:
[ 25.763150] atyfb: PCLK_min_freq 26465, PCLK_max_freq 24930, ref_freq 11829, ref_divider 12902
[ 25.763201] atyfb: MCLK_pwd 12598, MCLK_max_freq 8241, XCLK_max_freq 22016, SCLK_freq 13619
[ 25.763276] atyfb: 512K RESV, 14.31818 MHz XTAL, 249 MHz PLL, 82 Mhz MCLK, 220 MHz XCLK
[ 25.763326] atyfb: Unsupported xclk source: 5.
[ 25.763496] atyfb: vclk out of range
[ 25.763541] atyfb: can't set default video mode
--
greg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fw: atyfb doesn't work for me
2006-04-04 10:03 Fw: atyfb doesn't work for me Andrew Morton
@ 2006-04-04 15:16 ` Ville Syrjälä
2006-04-04 16:50 ` Greg Stark
2006-04-04 23:19 ` Greg Stark
0 siblings, 2 replies; 7+ messages in thread
From: Ville Syrjälä @ 2006-04-04 15:16 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: Greg Stark
On Tue, Apr 04, 2006 at 03:03:18AM -0700, Andrew Morton wrote:
>
> Begin forwarded message:
>
> Date: 04 Apr 2006 01:18:44 -0400
> From: Greg Stark <gsstark@mit.edu>
> To: linux-kernel <linux-kernel@vger.kernel.org>
> Subject: atyfb doesn't work for me
>
>
>
> When I try to load atyfb I get messages about "unsupported xclk source" and
> "vclk out of range" and the fb devices don't seem to be active. That is,
> fbset -fb /dev/fb?
> all say "no such device"
>
> I see there are module parameters to override some of these settings but I'm
> not clear where I would find the correct values to use. And surely the fb
> driver ought to be able to come up usable values on its own?\
Unfortunately atyfb relies on the BIOS to initialize the card. You seem
to have multiple cards in your system which won't work.
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fw: atyfb doesn't work for me
2006-04-04 15:16 ` Ville Syrjälä
@ 2006-04-04 16:50 ` Greg Stark
2006-04-04 17:22 ` Ville Syrjälä
2006-04-04 23:19 ` Greg Stark
1 sibling, 1 reply; 7+ messages in thread
From: Greg Stark @ 2006-04-04 16:50 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: linux-fbdev-devel, Greg Stark
Ville Syrjälä <syrjala@sci.fi> writes:
> Unfortunately atyfb relies on the BIOS to initialize the card. You seem
> to have multiple cards in your system which won't work.
Hum. And I was trying it out in the hopes of working around a bug in the X
server that's preventing it from initializing those cards (neither are the
primary card).
There isn't some standalone user-space program to initialize them out there is
there? Or anything else maybe that would help?
--
greg
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fw: atyfb doesn't work for me
2006-04-04 16:50 ` Greg Stark
@ 2006-04-04 17:22 ` Ville Syrjälä
2006-04-04 20:59 ` Greg Stark
0 siblings, 1 reply; 7+ messages in thread
From: Ville Syrjälä @ 2006-04-04 17:22 UTC (permalink / raw)
To: Greg Stark; +Cc: linux-fbdev-devel
On Tue, Apr 04, 2006 at 12:50:18PM -0400, Greg Stark wrote:
>
> Ville Syrjälä <syrjala@sci.fi> writes:
>
> > Unfortunately atyfb relies on the BIOS to initialize the card. You seem
> > to have multiple cards in your system which won't work.
>
> Hum. And I was trying it out in the hopes of working around a bug in the X
> server that's preventing it from initializing those cards (neither are the
> primary card).
>
> There isn't some standalone user-space program to initialize them out there is
> there? Or anything else maybe that would help?
There's vbetool but I don't think it handles secondary cards.
IIRC SciTech had some solution to the problem... and google found it :)
http://www.scitechsoft.com/ftp/snap/linux/videoboot/
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fw: atyfb doesn't work for me
2006-04-04 17:22 ` Ville Syrjälä
@ 2006-04-04 20:59 ` Greg Stark
2006-04-05 8:53 ` Dave Airlie
0 siblings, 1 reply; 7+ messages in thread
From: Greg Stark @ 2006-04-04 20:59 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: Greg Stark, linux-fbdev-devel
Ville Syrjälä <syrjala@sci.fi> writes:
> IIRC SciTech had some solution to the problem... and google found it :)
> http://www.scitechsoft.com/ftp/snap/linux/videoboot/
Fascinating. it seems the code is all GPL and MIT-style licensed. Any reason
it hasn't been merged in except for code complexity arguments?
--
greg
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fw: atyfb doesn't work for me
2006-04-04 15:16 ` Ville Syrjälä
2006-04-04 16:50 ` Greg Stark
@ 2006-04-04 23:19 ` Greg Stark
1 sibling, 0 replies; 7+ messages in thread
From: Greg Stark @ 2006-04-04 23:19 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: linux-fbdev-devel, Greg Stark
Ville Syrjälä <syrjala@sci.fi> writes:
> Unfortunately atyfb relies on the BIOS to initialize the card. You seem
> to have multiple cards in your system which won't work.
Incidentally, trying to remove the atyfb device when it's in this state
appears to generate an OOPS:
Apr 4 17:46:55 stark kernel: [78869.693237] Unable to handle kernel NULL pointer dereference at virtual address 0000030c
Apr 4 17:46:55 stark kernel: [78869.693246] printing eip:
Apr 4 17:46:55 stark kernel: [78869.693250] f8861fed
Apr 4 17:46:55 stark kernel: [78869.693259] *pde = 00000000
Apr 4 17:46:55 stark kernel: [78869.693274] Oops: 0000 [#1]
Apr 4 17:46:55 stark kernel: [78869.693287] PREEMPT SMP
Apr 4 17:46:55 stark kernel: [78869.693302] Modules linked in: binfmt_misc lirc_dev sg ipv6 cx88_dvb cx88_vp3054_i2c mt352 or51132 video_buf_dvb dvb_core crc32 nxt200x cx24123 lgdt330x cx22702 dvb_pll cx88_blackbird cx8802 cx8800 cx88xx bttv video_buf compat_ioctl32 i2c_algo_bit btcx_risc ir_common usb_storage snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc hw_random ehci_hcd uhci_hcd usbcore 8250 serial_core parport_pc lp parport w83627hf hwmon_vid eeprom i2c_isa i2c_i801 ivtv_fb msp3400 saa7127 saa7115 tda9887 tuner v4l2_common ivtv firmware_class v4l1_compat tveeprom i2c_core videodev atyfb fb cfbcopyarea cfbimgblt cfbfillrect gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd intel_agp agpgart sk98lin rtc
Apr 4 17:46:55 stark kernel: [78869.693466] CPU: 1
Apr 4 17:46:55 stark kernel: [78869.693467] EIP: 0060:[pg0+943517677/1068938240] Tainted: GF VLI
Apr 4 17:46:55 stark kernel: [78869.693469] EFLAGS: 00010206 (2.6.16-fb #1)
Apr 4 17:46:55 stark kernel: [78869.693483] EIP is at aty_set_crtc+0xa/0x68 [atyfb]
Apr 4 17:46:55 stark kernel: [78869.693488] eax: 00000000 ebx: 04000000 ecx: 00000001 edx: f88687c0
Apr 4 17:46:55 stark kernel: [78869.693494] esi: f4ff6000 edi: f8867d4c ebp: f8867d9c esp: e0135ef0
Apr 4 17:46:55 stark kernel: [78869.693499] ds: 007b es: 007b ss: 0068
Apr 4 17:46:55 stark kernel: [78869.693504] Process rmmod (pid: 10452, threadinfo=e0134000 task=c1bbca70)
Apr 4 17:46:55 stark kernel: [78869.693508] Stack: <0>00000000 f8862065 c1b5ac00 c1b5ac48 c0214732 c1b5acd0 c024b57c c1b5ac48
Apr 4 17:46:55 stark kernel: [78869.693525] c1b5ac88 f8867d4c c024b830 f8867da4 c03a07a0 f8867d4c c03a07a0 e0134000
Apr 4 17:46:55 stark kernel: [78869.693541] c024b10a f8867d4c f8868480 e0134000 c024bae9 f8867d20 c0214678 f8864f24
Apr 4 17:46:55 stark kernel: [78869.693556] Call Trace:
Apr 4 17:46:55 stark kernel: [78869.693564] [pg0+943517797/1068938240] atyfb_pci_remove+0x1a/0xc8 [atyfb]
Apr 4 17:46:55 stark kernel: [78869.693579] [pci_device_remove+22/40] pci_device_remove+0x16/0x28
Apr 4 17:46:55 stark kernel: [78869.693592] [__device_release_driver+82/119] __device_release_driver+0x52/0x77
Apr 4 17:46:55 stark kernel: [78869.693608] [driver_detach+163/165] driver_detach+0xa3/0xa5
Apr 4 17:46:55 stark kernel: [78869.693625] [bus_remove_driver+97/127] bus_remove_driver+0x61/0x7f
Apr 4 17:46:55 stark kernel: [78869.693639] [driver_unregister+8/19] driver_unregister+0x8/0x13
Apr 4 17:46:55 stark kernel: [78869.693649] [pci_unregister_driver+14/102] pci_unregister_driver+0xe/0x66
Apr 4 17:46:55 stark kernel: [78869.693658] [pg0+943529764/1068938240] atyfb_exit+0x0/0xa [atyfb]
Apr 4 17:46:55 stark kernel: [78869.693675] [sys_delete_module+311/427] sys_delete_module+0x137/0x1ab
Apr 4 17:46:55 stark kernel: [78869.693689] [remove_vma+49/54] remove_vma+0x31/0x36
Apr 4 17:46:55 stark kernel: [78869.693702] [do_munmap+375/462] do_munmap+0x177/0x1ce
Apr 4 17:46:55 stark kernel: [78869.693740] [syscall_call+7/11] syscall_call+0x7/0xb
Apr 4 17:46:55 stark kernel: [78869.693783] Code: 81 ca 44 00 00 04 89 51 1c eb e5 81 ca 48 00 00 04 89 51 1c eb da 81 ca 40 00 00 04 89 51 1c eb cf 53 8b 5a 2c 81 e3 ff ff ff fd <8b> 88 0c 03 00 00 89 59 1c 8b 5a 14 8b 88 0c 03 00 00 89 19 8b
--
greg
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fw: atyfb doesn't work for me
2006-04-04 20:59 ` Greg Stark
@ 2006-04-05 8:53 ` Dave Airlie
0 siblings, 0 replies; 7+ messages in thread
From: Dave Airlie @ 2006-04-05 8:53 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: Ville Syrjälä, Greg Stark
> Ville Syrjälä <syrjala@sci.fi> writes:
>
> > IIRC SciTech had some solution to the problem... and google found it :)
> > http://www.scitechsoft.com/ftp/snap/linux/videoboot/
>
> Fascinating. it seems the code is all GPL and MIT-style licensed. Any reason
> it hasn't been merged in except for code complexity arguments?
I don't think anyone wants a BIOS emulator in the kernel, it really
should be in userspace or initramfs..
Dave.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-04-05 8:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04 10:03 Fw: atyfb doesn't work for me Andrew Morton
2006-04-04 15:16 ` Ville Syrjälä
2006-04-04 16:50 ` Greg Stark
2006-04-04 17:22 ` Ville Syrjälä
2006-04-04 20:59 ` Greg Stark
2006-04-05 8:53 ` Dave Airlie
2006-04-04 23:19 ` Greg Stark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).