Date: Sun, 17 Feb 2002 16:48:50 +0100 (CET) From: Cliff Sarginson <csfbsd@raggedclown.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/35050: Failure of port drm-kmod to correctly initialise Message-ID: <20020217154850.213F1225BC@angel.raggedclown.net>
next in thread | raw e-mail | index | archive | help
>Number: 35050 >Category: ports >Synopsis: Failure of port drm-kmod to correctly initialise >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 17 07:50:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Cliff Sarginson >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD angel.raggedclown.intra 4.5-STABLE FreeBSD 4.5-STABLE #6: Thu Feb 14 07:11:29 CET 2002 toor@angel.raggedclown.intra:/usr/obj/usr/src/sys/ANGEL-S i386 Asus TUSL2-C Socket 370 m/board Intel 815Ep Chipset Matrox G450 AGP video >Description: I installed the drm-kmod port in order to enable DRI in X11. This fails to initialise properly, under 4.4-RC, 4.5-Release and the 4.5-Stable releases (as of the last few days). The ports were cvsuped on 14th February and a re-installation produced the same problem. DRI is therefore disabled when starting X11. Below is the output of the startup messages, dmesg and kldstat -v ----------------------------------------------------------------- Startup message --------------- Local package initialization: agpdrm0: <Matrox G400 (AGP)> mem 0xf4800000-0xf4ff ffff,0xf5000000-0xf5003fff,0xf6000000-0xf7ffffff irq 11 at device 0.0 on pci1 error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module. device_probe_and_attach: drm0 attach returned 12 dmesg ----- Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-STABLE #6: Thu Feb 14 07:11:29 CET 2002 toor@angel.raggedclown.intra:/usr/obj/usr/src/sys/ANGEL-S Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1005.03-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536784896 (524204K bytes) config> q avail memory = 518660096 (506504K bytes) Preloaded elf kernel "kernel" at 0xc0392000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc039209c. VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc00c525f (c000525f) VESA: Matrox Graphics Inc. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00f13a0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11 pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 pci2: <PCI bus> on pcib2 sym0: <895> port 0xd800-0xd8ff mem 0xf3800000-0xf3800fff,0xf4000000-0xf40000ff irq 9 at device 10.0 on pci2 sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xf3000000-0xf30000ff irq 9 at device 11.0 on pci2 rl0: Ethernet address: 00:10:a7:05:10:37 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: <Creative EMU10K1> port 0xd000-0xd01f irq 9 at device 12.0 on pci2 isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 ATA100 controller> port 0xa800-0xa80f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xa400-0xa41f irq 5 at device 31.2 on pci0 usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Motorola MC141555 hub controller, class 9/0, rev 1.00/1.00, addr 2 uhub1: 5 ports with 5 removable, self powered uhub2: Atmel Standard USB Hub, class 9/0, rev 1.10/3.00, addr 3 uhub2: 4 ports with 4 removable, self powered ums0: Logitech USB Receiver, rev 1.10/9.10, addr 4, iclass 3/1 ums0: 5 buttons and Z dir. uhid0: LG Elec?ronics Inc. USB Mon?tor, rev 1.00/1.00, addr 5, iclass 3/0 pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10 uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xa000-0xa01f irq 9 at device 31.4 on pci0 usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered orm0: <Option ROMs> at iomem 0xc0000-0xc87ff,0xcc000-0xcffff,0xd0000-0xd1fff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata0-master UDMA100 ad2: 39082MB <Maxtor 5T040H4> [79406/16/63] at ata1-master UDMA33 acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-105S 0111> at ata0-slave using UDMA33 acd1: CD-RW <SONY CD-RW CRX160E> at ata1-slave using UDMA33 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s2a da0 at sym0 bus 0 target 6 lun 0 da0: <QUANTUM ATLAS_V_18_WLS 0230> Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 17510MB (35861388 512 byte sectors: 255H 63S/T 2232C) drm0: <Matrox G400 (AGP)> mem 0xf4800000-0xf4ffffff,0xf5000000-0xf5003fff,0xf6000000-0xf7ffffff irq 11 at device 0.0 on pci1 error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module. device_probe_and_attach: drm0 attach returned 12 kldstat -v ---------- Id Refs Address Size Name 1 6 0xc0100000 290814 kernel Contains modules: Id Name 1 rootbus 2 miibus/inphy 3 miibus/mlphy 4 miibus/nsphy 5 miibus/nsgphy 6 miibus/pnphy 7 miibus/pnaphy 8 miibus/tlphy 9 miibus/rlphy 10 pci/uhci 11 miibus/xmphy 12 miibus/lxtphy 13 miibus/qsphy 14 ohci/usb 15 uhci/usb 16 uhub/ugen 17 uhub/uhid 18 uhub/ums 19 uhub/ulpt 20 usb/uhub 21 uhub/uhub 22 uhub/uscanner 23 miibus/acphy 24 isab/isa 25 nexus/isa 26 isa/isahint 27 isa/orm 28 isa/pnp 29 isa/snd_ad1816 30 isa/snd_es1888 31 sbc/snd_ess 32 isa/esscontrol 33 isa/snd_gusc 34 isa/snd_mss 35 isa/snd_pnpmss 36 gusc/snd_guspcm 37 sbc/snd_sb16 38 sbc/snd_sb8 39 isa/snd_sbc 40 pci/snd_als 41 pci/snd_cmipci 42 pci/snd_cs4281 43 pci/snd_csa 44 csa/snd_csapcm 45 pci/snd_ds1 46 pci/snd_emu10k1 47 pci/emujoy 48 pci/snd_es137x 49 pci/fm801 50 pci/snd_ich 51 pci/snd_maestro 52 pci/snd_neomagic 53 pci/snd_solo 54 pci/snd_t4dwave 55 pci/via 56 pci/snd_sonicvibes 57 pci/if_rl 58 rl/miibus 59 intpm/intsmb 60 pci/intpm 61 pci/if_ncr 62 pci/sym 63 pcib/pci 64 snd_pcm 65 pci/pcib 66 isa/ata 67 pci/atapci 68 atapci/ata 69 pci/isab 70 pci/chip 71 pci/ign 72 miibus/ukphy 73 ppbus/lpt 74 miibus/amphy 75 ppc/ppbus 76 ppbus/ppi 77 iicsmb/smbus 78 bti2c/smbus 79 scterm-sc 80 scrndr-vga 81 intsmb/smbus 82 nexus/apm 83 alsmb/smbus 84 ichsmb/smbus 85 amdsmb/smbus 86 smbus/smb 87 miibus/brgphy 88 miibus/dcphy 89 root/nexus 90 miibus/e1000phy 91 isa/fdc 92 fdc/fd 93 nexus/npx 94 nexus/pcib 95 vesa 96 atkbdc/atkbd 97 miibus/xlphy 98 isa/atkbdc 99 isa/ppc 100 atkbdc/psm 101 isa/sio 102 pci/sio 103 isa/sc 104 isa/vga 105 procfs 106 mfs 107 cd9660 108 ufs 109 nfs 110 ext2fs 111 msdos 112 if_ppp 113 if_sl 114 if_faith 115 if_tun 116 if_gif 117 if_loop 118 shell 119 aout 120 elf 2 1 0xc1f51000 7000 linprocfs.ko Contains modules: Id Name 121 linprocfs 3 1 0xc1fbb000 2000 blank_saver.ko Contains modules: Id Name 122 blank_saver 4 1 0xc1fbd000 14000 linux.ko Contains modules: Id Name 123 linuxelf 124 linuxaout 5 1 0xc1fea000 9000 agp.ko Contains modules: Id Name 125 pci/agp_intel 126 pci/agp_via 127 pci/agp_sis 128 pci/agp_ali 129 pci/agp_amd 130 pci/agp_i810 6 1 0xc1ffa000 16000 mga.ko Contains modules: Id Name 131 pci/mga >How-To-Repeat: Happens every time with above configuration. >Fix: None found, maintainer was informed a while ago. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020217154850.213F1225BC>