[MPlayer-users] mga_vid and devfs problem on MDK 8.2 (long) (Fwd: Re: MPlayer --- src.rpm for syncfb driver ...)
Dominik Mierzejewski
dominik at rangers.eu.org
Tue May 14 00:03:19 CEST 2002
One of my RPM users reported trouble loading the mga_vid kernel module.
I traced the problem down to devfs (and fixed a few issues with my pkg
along the way), but this is beyond me, as I don't know anything about
devfs. I'm forwarding his mail to me (snipped here and there a bit).
Oh, and the module itself is in a .src.rpm, so rebuilding it is equivalent
to building one from MPlayer source.
Patrick: please continue this issue on the list, file a complete bugreport
maybe?
----- Forwarded message from Patrick <pit at netvigator.com> -----
Date: Tue, 14 May 2002 04:10:19 +0800
From: Patrick <pit at netvigator.com>
Subject: Re: MPlayer --- src.rpm for syncbf driver (definitely not topic and
certainly *not* stupid ;)
To: Dominik Mierzejewski <dominik at rangers.eu.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/00200203
Dominik Mierzejewski wrote:
[snip]
I'll copy the outputs that you and Arpi [...]
requested (i.e. strace modprobe mga_vid & dmesg) to the end of this
mail. At the very bottom was something interesting from dmesg... (fast
forward?)
>>Anyways, the module built beautifully with no visible errors and after
>>installing the resulting rpm I did insmod and received:
>
>[snip]
>
>> [root at localhost taikku]# insmod mga_vid
>> Using /lib/modules/2.4.18-6mdk/kernel/drivers/char/mga_vid.o.gz
>> /lib/modules/2.4.18-6mdk/kernel/drivers/char/mga_vid.o.gz:
>> init_module: Input/output error
>> Hint: insmod errors can be caused by incorrect module parameters,
>> including invalid IO or IRQ parameters
>>
>>You'll notice that in my wild-eyed bewilderment I had looked into the
>>modules dir (mga_vid.o was supposed to be in "/char" and not "video",
>>right?)
>
>
>Right.
[snip]
Okay, here's the output of "strace modprobe mga_vid":
>------------------------------------------------------------
[root at localhost taikku]# strace modprobe mga_vid
execve("/sbin/modprobe", ["modprobe", "mga_vid"], [/* 42 vars */]) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0) = 0x8055a80
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=53428, ...}) = 0
old_mmap(NULL, 53428, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=56120, ...}) = 0
old_mmap(NULL, 59200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
mprotect(0x40031000, 5952, PROT_NONE) = 0
old_mmap(0x40031000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0xc000) = 0x40031000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\203"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1275300, ...}) = 0
old_mmap(NULL, 1292000, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40033000
mprotect(0x40165000, 38624, PROT_NONE) = 0
old_mmap(0x40165000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x131000) = 0x40165000
old_mmap(0x4016b000, 14048, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016b000
close(3) = 0
munmap(0x40016000, 53428) = 0
getuid32() = 0
geteuid32() = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
access("/lib/modutils/macros", R_OK) = 0
brk(0) = 0x8055a80
brk(0x8055aa0) = 0x8055aa0
brk(0x8056000) = 0x8056000
brk(0x8057000) = 0x8057000
brk(0x8058000) = 0x8058000
brk(0x8059000) = 0x8059000
brk(0x805a000) = 0x805a000
open("/lib/modutils/macros", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=257, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=257, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
read(3, "if `kernelversion` = 2.4\nalias n"..., 4096) = 257
read(3, "", 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
open("/etc/modules.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=108, ...}) = 0
stat64("/etc/modules.conf", {st_mode=S_IFREG|0644, st_size=108, ...}) = 0
stat64("/etc/conf.modules", 0xbfffb720) = -1 ENOENT (No such file or
directory)
fstat64(3, {st_mode=S_IFREG|0644, st_size=108, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
read(3, "\nalias usb-interface usb-uhci\nal"..., 4096) = 108
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
open("/lib/modules/2.4.18-6mdk/modules.dep", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=134638, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0
x40016000
read(3, "/lib/modules/2.4.18-6mdk/kernel/"..., 4096) = 4096
brk(0x805b000) = 0x805b000
brk(0x805c000) = 0x805c000
read(3, "lib/modules/2.4.18-6mdk/kernel/d"..., 4096) = 4096
brk(0x805d000) = 0x805d000
brk(0x805e000) = 0x805e000
read(3, "/drivers/char/drm/r128.o.gz:\n\n/l"..., 4096) = 4096
brk(0x805f000) = 0x805f000
brk(0x8060000) = 0x8060000
read(3, ".gz \\\n\t/lib/modules/2.4.18-6mdk/"..., 4096) = 4096
brk(0x8061000) = 0x8061000
brk(0x8062000) = 0x8062000
read(3, "kernel/drivers/char/generic_seri"..., 4096) = 4096
brk(0x8063000) = 0x8063000
brk(0x8064000) = 0x8064000
read(3, "drivers/ieee1394/ieee1394.o.gz\n\n"..., 4096) = 4096
brk(0x8065000) = 0x8065000
brk(0x8066000) = 0x8066000
read(3, "18-6mdk/kernel/drivers/isdn/hisa"..., 4096) = 4096
brk(0x8067000) = 0x8067000
brk(0x8068000) = 0x8068000
read(3, "ivers/media/radio/radio-terratec"..., 4096) = 4096
brk(0x8069000) = 0x8069000
brk(0x806a000) = 0x806a000
read(3, "mdk/kernel/drivers/i2c/i2c-core."..., 4096) = 4096
brk(0x806b000) = 0x806b000
brk(0x806c000) = 0x806c000
read(3, ".gz:\t/lib/modules/2.4.18-6mdk/ke"..., 4096) = 4096
brk(0x806d000) = 0x806d000
brk(0x806e000) = 0x806e000
read(3, "20.o.gz \\\n\t/lib/modules/2.4.18-6"..., 4096) = 4096
brk(0x806f000) = 0x806f000
brk(0x8070000) = 0x8070000
read(3, "/net/hamradio/mkiss.o.gz:\t/lib/m"..., 4096) = 4096
brk(0x8071000) = 0x8071000
brk(0x8072000) = 0x8072000
read(3, "rs/net/pcmcia/airo_cs.o.gz:\t/lib"..., 4096) = 4096
brk(0x8073000) = 0x8073000
brk(0x8074000) = 0x8074000
read(3, "ib/modules/2.4.18-6mdk/kernel/dr"..., 4096) = 4096
brk(0x8075000) = 0x8075000
brk(0x8076000) = 0x8076000
read(3, "an/syncppp.o.gz\n\n/lib/modules/2."..., 4096) = 4096
brk(0x8077000) = 0x8077000
brk(0x8078000) = 0x8078000
read(3, "8-6mdk/kernel/drivers/scsi/aha15"..., 4096) = 4096
brk(0x8079000) = 0x8079000
brk(0x807a000) = 0x807a000
read(3, "es/2.4.18-6mdk/kernel/drivers/pc"..., 4096) = 4096
brk(0x807b000) = 0x807b000
brk(0x807c000) = 0x807c000
read(3, "drivers/sensors/eeprom.o.gz:\t/li"..., 4096) = 4096
brk(0x807d000) = 0x807d000
brk(0x807e000) = 0x807e000
read(3, "s/sound/soundcore.o.gz\n\n/lib/mod"..., 4096) = 4096
brk(0x807f000) = 0x807f000
brk(0x8080000) = 0x8080000
read(3, "ivers/sound/rme96xx.o.gz:\t/lib/m"..., 4096) = 4096
brk(0x8081000) = 0x8081000
brk(0x8082000) = 0x8082000
read(3, "gz:\t/lib/modules/2.4.18-6mdk/ker"..., 4096) = 4096
brk(0x8083000) = 0x8083000
brk(0x8084000) = 0x8084000
read(3, "/drivers/usb/usbcore.o.gz \\\n\t/li"..., 4096) = 4096
brk(0x8085000) = 0x8085000
brk(0x8086000) = 0x8086000
read(3, "el/drivers/usb/usbvision.o.gz:\t/"..., 4096) = 4096
brk(0x8087000) = 0x8087000
brk(0x8088000) = 0x8088000
read(3, "sisfb.o.gz:\n\n/lib/modules/2.4.18"..., 4096) = 4096
brk(0x8089000) = 0x8089000
brk(0x808a000) = 0x808a000
brk(0x808b000) = 0x808b000
read(3, "s/nls_iso8859-1.o.gz:\n\n/lib/modu"..., 4096) = 4096
brk(0x808c000) = 0x808c000
brk(0x808d000) = 0x808d000
read(3, "vs/ip_vs.o.gz\n\n/lib/modules/2.4."..., 4096) = 4096
brk(0x808e000) = 0x808e000
brk(0x808f000) = 0x808f000
read(3, "/lib/modules/2.4.18-6mdk/kernel/"..., 4096) = 4096
brk(0x8090000) = 0x8090000
brk(0x8091000) = 0x8091000
read(3, "/kernel/net/sched/sch_dsmark.o.g"..., 4096) = 4096
brk(0x8092000) = 0x8092000
brk(0x8093000) = 0x8093000
read(3, "opl3.o.gz\n\n/lib/modules/2.4.18-6"..., 4096) = 4096
brk(0x8094000) = 0x8094000
brk(0x8095000) = 0x8095000
read(3, "ixer.o.gz \\\n\t/lib/modules/2.4.18"..., 4096) = 4096
brk(0x8096000) = 0x8096000
brk(0x8097000) = 0x8097000
brk(0x8098000) = 0x8098000
read(3, "d-trident.o.gz:\t/lib/modules/2.4"..., 4096) = 4096
brk(0x8099000) = 0x8099000
brk(0x809a000) = 0x809a000
read(3, "lib/modules/2.4.18-6mdk/alsa/snd"..., 4096) = 4096
brk(0x809b000) = 0x809b000
brk(0x809c000) = 0x809c000
brk(0x809d000) = 0x809d000
read(3, ".gz:\t/lib/modules/2.4.18-6mdk/al"..., 4096) = 3566
brk(0x809e000) = 0x809e000
brk(0x809f000) = 0x809f000
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
query_module(NULL, 0, NULL, 0) = 0
query_module(NULL, QM_MODULES, { /* 22 entries */ }, 22) = 0
query_module("isofs", QM_INFO, {address=0xe1a07000, size=25792,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("inflate_fs", QM_INFO, {address=0xe1a01000, size=19328,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("ppp_synctty", QM_INFO, {address=0xe19fe000, size=5120,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("ppp_async", QM_INFO, {address=0xe19fb000, size=6560,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("ppp_generic", QM_INFO, {address=0xe19f5000, size=19880,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
query_module("slhc", QM_INFO, {address=0xe19f2000, size=5056,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("sr_mod", QM_INFO, {address=0xe19e5000, size=15160,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("mga", QM_INFO, {address=0xe08b0000, size=100496,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("agpgart", QM_INFO, {address=0xe0891000, size=31552,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3},
16) = 0
query_module("es1371", QM_INFO, {address=0xe0889000, size=26656,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("soundcore", QM_INFO, {address=0xe0887000, size=4068,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=4}, 16) = 0
query_module("ac97_codec", QM_INFO, {address=0xe0883000, size=9568,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("gameport", QM_INFO, {address=0xe0881000, size=1756,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("af_packet", QM_INFO, {address=0xe087c000, size=12488,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("ip_vs", QM_INFO, {address=0xe0862000, size=65400,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=0},
16) = 0
query_module("usb-uhci", QM_INFO, {address=0xe085b000, size=21668,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("usbcore", QM_INFO, {address=0xe084b000, size=59072,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("3c59x", QM_INFO, {address=0xe0843000, size=25928,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("supermount", QM_INFO, {address=0xe0832000, size=62180,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("ide-scsi", QM_INFO, {address=0xe082f000, size=8032,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("scsi_mod", QM_INFO, {address=0xe0817000, size=92488,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=2}, 16) = 0
query_module("rtc", QM_INFO, {address=0xe0802000, size=5912,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=0},
16) = 0
chdir("/var/log/ksymoops") = -1 ENOENT (No such file or
directory)
fork() = 2333
wait4(2333, /lib/modules/2.4.18-6mdk/kernel/drivers/char/mga_vid.o.gz:
init_module: Input/output error
Hint: insmod errors can write(2, "modprobe: ", 10modprobe: )
= 10
write(2, "insmod /lib/modules/2.4.18-6mdk/"..., 71insmod
/lib/modules/2.4.18-6mdk/kernel/drivers/char/mga_vid.o.gz failed) = 71
write(2, "\n", 1
) = 1
query_module(NULL, 0, NULL, 0) = 0
query_module(NULL, QM_MODULES, { /* 22 entries */ }, 22) = 0
query_module("isofs", QM_INFO, {address=0xe1a07000, size=25792,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("inflate_fs", QM_INFO, {address=0xe1a01000, size=19328,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("ppp_synctty", QM_INFO, {address=0xe19fe000, size=5120,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("ppp_async", QM_INFO, {address=0xe19fb000, size=6560,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("ppp_generic", QM_INFO, {address=0xe19f5000, size=19880,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
query_module("slhc", QM_INFO, {address=0xe19f2000, size=5056,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("sr_mod", QM_INFO, {address=0xe19e5000, size=15160,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("mga", QM_INFO, {address=0xe08b0000, size=100496,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("agpgart", QM_INFO, {address=0xe0891000, size=31552,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3},
16) = 0
query_module("es1371", QM_INFO, {address=0xe0889000, size=26656,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("soundcore", QM_INFO, {address=0xe0887000, size=4068,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=4}, 16) = 0
query_module("ac97_codec", QM_INFO, {address=0xe0883000, size=9568,
flags=MOD_RUbe caused by incorrect module parameters, including invalid
IO or IRQ parameters
[WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 2333
--- SIGCHLD (Child exited) ---
write(2, "modprobe: ", 10modprobe: ) = 10
write(2, "insmod /lib/modules/2.4.18-6mdk/"..., 71insmod
/lib/modules/2.4.18-6mdk/kernel/drivers/char/mga_vid.o.gz failed) = 71
write(2, "\n", 1
) = 1
query_module(NULL, 0, NULL, 0) = 0
query_module(NULL, QM_MODULES, { /* 22 entries */ }, 22) = 0
query_module("isofs", QM_INFO, {address=0xe1a07000, size=25792,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("inflate_fs", QM_INFO, {address=0xe1a01000, size=19328,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("ppp_synctty", QM_INFO, {address=0xe19fe000, size=5120,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("ppp_async", QM_INFO, {address=0xe19fb000, size=6560,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("ppp_generic", QM_INFO, {address=0xe19f5000, size=19880,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
query_module("slhc", QM_INFO, {address=0xe19f2000, size=5056,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("sr_mod", QM_INFO, {address=0xe19e5000, size=15160,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("mga", QM_INFO, {address=0xe08b0000, size=100496,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("agpgart", QM_INFO, {address=0xe0891000, size=31552,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3},
16) = 0
query_module("es1371", QM_INFO, {address=0xe0889000, size=26656,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("soundcore", QM_INFO, {address=0xe0887000, size=4068,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=4}, 16) = 0
query_module("ac97_codec", QM_INFO, {address=0xe0883000, size=9568,
flags=MOD_RU
NNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("gameport", QM_INFO, {address=0xe0881000, size=1756,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("af_packet", QM_INFO, {address=0xe087c000, size=12488,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("ip_vs", QM_INFO, {address=0xe0862000, size=65400,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=0},
16) = 0
query_module("usb-uhci", QM_INFO, {address=0xe085b000, size=21668,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("usbcore", QM_INFO, {address=0xe084b000, size=59072,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("3c59x", QM_INFO, {address=0xe0843000, size=25928,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("supermount", QM_INFO, {address=0xe0832000, size=62180,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("ide-scsi", QM_INFO, {address=0xe082f000, size=8032,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("scsi_mod", QM_INFO, {address=0xe0817000, size=92488,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=2}, 16) = 0
query_module("rtc", QM_INFO, {address=0xe0802000, size=5912,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=0},
16) = 0
brk(0x80a0000) = 0x80a0000
query_module(NULL, 0, NULL, 0) = 0
query_module(NULL, QM_MODULES, { /* 22 entries */ }, 22) = 0
query_module("isofs", QM_INFO, {address=0xe1a07000, size=25792,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("inflate_fs", QM_INFO, {address=0xe1a01000, size=19328,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("ppp_synctty", QM_INFO, {address=0xe19fe000, size=5120,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("ppp_async", QM_INFO, {address=0xe19fb000, size=6560,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("ppp_generic", QM_INFO, {address=0xe19f5000, size=19880,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
query_module("slhc", QM_INFO, {address=0xe19f2000, size=5056,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("sr_mod", QM_INFO, {address=0xe19e5000, size=15160,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("mga", QM_INFO, {address=0xe08b0000, size=100496,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("agpgart", QM_INFO, {address=0xe0891000, size=31552,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3},
16) = 0
query_module("es1371", QM_INFO, {address=0xe0889000, size=26656,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("soundcore", QM_INFO, {address=0xe0887000, size=4068,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=4}, 16) = 0
query_module("ac97_codec", QM_INFO, {address=0xe0883000, size=9568,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("gameport", QM_INFO, {address=0xe0881000, size=1756,
flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
query_module("af_packet", QM_INFO, {address=0xe087c000, size=12488,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("ip_vs", QM_INFO, {address=0xe0862000, size=65400,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=0},
16) = 0
query_module("usb-uhci", QM_INFO, {address=0xe085b000, size=21668,
flags=MOD_RUNNING, usecount=0}, 16) = 0
query_module("usbcore", QM_INFO, {address=0xe084b000, size=59072,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("3c59x", QM_INFO, {address=0xe0843000, size=25928,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1},
16) = 0
query_module("supermount", QM_INFO, {address=0xe0832000, size=62180,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2},
16) = 0
query_module("ide-scsi", QM_INFO, {address=0xe082f000, size=8032,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
query_module("scsi_mod", QM_INFO, {address=0xe0817000, size=92488,
flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=2}, 16) = 0
query_module("rtc", QM_INFO, {address=0xe0802000, size=5912,
flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=0},
16) = 0
write(2, "modprobe: ", 10modprobe: ) = 10
write(2, "insmod mga_vid failed", 21insmod mga_vid failed) = 21
write(2, "\n", 1
) = 1
chdir("/var/log/ksymoops") = -1 ENOENT (No such file or
directory)
_exit(-1) = ?
[root at localhost taikku]#
------------------------------------------------------------<
And here's "dmesg":
>------------------------------------------------------------
[root at localhost taikku]# dmesg
Linux version 2.4.18-6mdk (quintela at bi.mandrakesoft.com) (gcc version
2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)) #1 Fri Mar 15 02:59:08
CET 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
found SMP MP-table at 000fb4c0
hm, page 000fb000 reserved twice.
hm, page 000fc000 reserved twice.
hm, page 000fd000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 000f8000 reserved twice.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: Product ID: APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 0
BIOS bug, APIC version is 0 for CPU#0! fixing up to 0x10. (tell your hw
vendor)
I/O APIC #2 Version 2 at 0xFEC00000.
Processors: 1
Kernel command line: root=/dev/hda2 devfs=mount hdd=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 1200.071 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2392.06 BogoMIPS
Memory: 513480k/524224k available (1170k kernel code, 10356k reserved,
332k data, 260k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0183fbff c1c7fbff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After vendor init, caps: 0183fbff c1c7fbff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000
CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1106/3074] at 00:11.0
PCI: Hardcoded IRQ 14 for device 00:11.1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
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 0x03 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
devfs: v1.10 (20020120) Richard Gooch (rgooch at atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 89
PCI: Hardcoded IRQ 14 for device 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
hda: IC35L060AVVA07-0, ATA DISK drive
hdb: IBM-DJNA-370910, ATA DISK drive
hdc: IBM-DPTA-372050, ATA DISK drive
hdd: MATSHITA CD-RW CW-7586, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 120103200 sectors (61493 MB) w/1863KiB Cache, CHS=7476/255/63, UDMA(33)
hdb: 17803440 sectors (9115 MB) w/1966KiB Cache, CHS=1108/255/63, UDMA(33)
hdc: 40088160 sectors (20525 MB) w/1961KiB Cache, CHS=39770/16/63, UDMA(33)
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
/dev/ide/host0/bus0/target1/lun0: p1 < p5 p6 p7 p8 p9 > p2 p3
/dev/ide/host0/bus1/target0/lun0: [PTBL] [2495/255/63] p1 < p5 p6 p7 > p2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Uncompressing....done.
Freeing initrd memory: 73k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 260k freed
Real Time Clock Driver v1.10e
Adding Swap: 136512k swap-space (priority -1)
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: MATSHITA Model: CD-RW CW-7586 Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0d.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xdc00. Vers LK1.1.16
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 03:23:39 Mar 15 2002
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
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
usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 9
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
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
es1371: version v0.30 time 03:23:01 Mar 15 2002
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x04
es1371: found es1371 rev 4 at io 0xd800 irq 10
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro KT266 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
[drm] AGP 0.99 on VIA Apollo KT133 @ 0xe0000000 64MB
[drm] Initialized mga 3.0.2 20010321 on minor 0
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 16x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.1
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
Matrox MGA G200/G400/G450/G550 YUV Video interface v2.01 (c) Aaron
Holtzman & A'rpi
devfs_register(mga_vid): could not append to parent, err: -17
mga_vid: unable to get major: 178 (devfs)
[root at localhost taikku]#
------------------------------------------------------------<
Hmm, I've seen that number 178 *somewhere*...
(Googling around...)
Yes, in the mplayer hints file:
--enable-mga If you have a Matrox MGA[200/400/450]
card, you may compile the mga_vid
module, load it and have really fast
overlay graphics.
You need to set up the device before
you try to use/detect it:
cd drivers &&
make &&
cp mga_vod.o /lib/modules/<kernel-
version> &&
cd .. &&
mknod /dev/mga_vid c 178 0 &&
insmod mga_vid.o
You may also add to modules.conf:
alias char-major-178 mga_vid
Still devfs causing problems?
Over and pretty much out.
Best regards,
Patrick
----- End forwarded message -----
--
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>
More information about the MPlayer-users
mailing list