jiangn 发表于 2004-5-14 10:31:04

两个关于ATI Radeon的问题

我在内核配置的时候加入了对Radeon的FB支持,启动的时候也能检测到Radeon卡并打开FB,但是是640X480*8,我的问题是如何启动时给内核加参数让console变成1024X768*24的模式,不要告诉我用vga=0x318,我试过了没有用的。但在不支持RadeonFB的RH9 2.4.18-10内核上用vga=0x318可以将console变成上述模式,因为用的是通用的VESA FB。以前我用matroxG450的时候加的参数是video=vesa:matrox:0x1B8,fv:85Hz。不知道ATI的卡是不是也要用不同于VESA的特殊参数。
另一个问题是用insmod加载MPlayer-1.0pre4XXX/drivres/radeon/radeonfb.o时出错:
radeonfb.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
下面是dmesg的内容,不过好像没有问题:
Linux version 2.4.22 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #3 四 5月 13 14:55:51 CST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hdc4
Initializing CPU#0
Detected 1470.058 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2929.45 BogoMIPS
Memory: 257040k/262080k available (1101k kernel code, 4652k reserved, 420k data, 88k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:   After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 1700+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb3f0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA at 00:11.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
Journalled Block Device driver loaded
radeonfb: ref_clk=2700, ref_div=60, xclk=16600
Console: switching to colour frame buffer device 80x30
radeonfb: ATI Radeon QDSDR SGRAM 32 MB
radeonfb: CRT port has CRT monitor connected
radeonfb: MTRR set to ON
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
    ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xe408-0xe40f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST3160021A, ATA DISK drive
blk: queue c02b85a0, I/O limit 4095Mb (mask 0xffffffff)
hdc: ST360021A, ATA DISK drive
hdd: MAXTOR 4K040H2, ATA DISK drive
blk: queue c02b89f4, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c02b8b30, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 312581808 sectors (160042 MB) w/2048KiB Cache, CHS=19457/255/63, UDMA(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63, UDMA(100)
hdd: attached ide-disk driver.
hdd: host protected area => 1
hdd: 78198750 sectors (40038 MB) w/2000KiB Cache, CHS=77578/16/63, UDMA(100)
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
hdc: hdc1 hdc2 < hdc5 hdc6 hdc7 hdc8 > hdc3 hdc4
hdd: hdd1 hdd2 < hdd5 hdd6 >
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
kjournald starting.Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 88k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 5 for device 00:10.3
PCI: Sharing IRQ 5 with 00:0b.0
ehci_hcd 00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 00:10.3: irq 5, pci mem d282c000
usb.c: new USB bus registered, assigned bus number 1
PCI: 00:10.3 PCI cache line size set incorrectly (32 bytes) by BIOS/FW.
PCI: 00:10.3 PCI cache line size corrected to 64.
ehci_hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usb-uhci.c: $Revision: 1.275 $ time 15:01:15 Apr 12 2004
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:10.0
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 7 for device 00:10.1
usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 7
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:10.2
PCI: Sharing IRQ 10 with 00:0a.0
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:10.1-2, assigned address 2
input: USB HID v1.10 Mouse on usb3:2.0
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,4), internal journal
Adding Swap: 265064k swap-space (priority -1)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
PCI: Found IRQ 10 for device 00:0a.0
PCI: Sharing IRQ 10 with 00:10.2
eth0: RealTek RTL-8029 found at 0xd000, IRQ 10, 52:54:AB:15:98:E4.
MSDOS FS: IO charset gb2312
radeon_vid: Radeon video overlay driver v1.2.1 (C) Nick Kurshev
radeon_vid: Found Radeon QD(32Mb memory)
radeon_vid: MTRR set to ON
MSDOS FS: IO charset gb2312
radeon_vid: configuring for 'Planar I420' fourcc
maestro3: version 1.23 built at 15:01:03 Apr 12 2004
PCI: Found IRQ 5 for device 00:0b.0
PCI: Sharing IRQ 5 with 00:10.3
maestro3: Configuring ESS Allegro found at IO 0xD400 IRQ 5
maestro3:subvendor id: 0x40001092
ac97_codec: AC97 Audio codec, id: 0x4583:0x8308 (ESS Allegro ES1988)
radeon_vid: configuring for 'Planar I420' fourcc
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KT266 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
AGP 0.99 on VIA Apollo KT133 @ 0xd0000000 128MB
Initialized radeon 1.1.1 20010405 on minor 0
MSDOS FS: IO charset gb2312
radeon_vid: Radeon video overlay driver v1.2.1 (C) Nick Kurshev
radeon_vid: Found Radeon QD(32Mb memory)
radeon_vid: MTRR set to ON
radeon_vid: configuring for 'Planar I420' fourcc
radeon_vid: configuring for 'Planar I420' fourcc
请问有何解决办法
页: [1]
查看完整版本: 两个关于ATI Radeon的问题