[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] /etc/init.d/xsession



On Wed, Jul 06, 2005 at 08:25:54AM +0200, Ronny Standtke wrote:
> Hi all,
> 
> I am administering a network of Dell Optiplex GX 150 machines in a local 
> school here in Solothurn, Switzerland. The machines in the school run fine 
> with Mandrivalinux and the kids get a customized Knoppix version for 
> home/holidays.
> 
> Until Version 3.8.1 Knoppix run fine on the Dell's, too. But all later 
> versions refused to start X with the error message "AGP GART support is not 
> available."...
> 
> Here is the lspci output:
> ---------------
> 0000:00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory 
> Controller Hub (rev 02)
> 0000:00:02.0 VGA compatible controller: Intel Corp. 82815 CGC [Chipset 
> Graphics Controller] (rev 02)
> 0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 02)
> 0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02)
> 0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 02)
> 0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02)
> 0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 02)
> 0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 02)
> 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio 
> (rev 02)
> 0000:01:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] 
> (rev 78)
> ---------------
> 
> I investigated the problem a bit and noticed that the intel-agp module does 
> not get loaded any more as in previous versions. The problem seems to be 
> in /etc/init.d/xsession where it reads:
> ---------------
> # Should not be needed anymore in Kernel 2.6
> #  for i in /lib/modules/"$KVER"/kernel/drivers/char/agp/*; do
> #    module="${i##*/}"; module="${module%%.*}"; modprobe ${module} >/dev/null 
> 2>&1
> #  done
> ---------------
> 
> If I re-enable the for-loop and remaster my School-Knoppix everything works 
> fine again.
> 
> I am not sure if "Should not be needed anymore in Kernel 2.6" it just wrong or 
> if there is a Kernel 2.6 bug rising its ugly head. I am an application layer 
> guy :-)

Actually, it is probably the PCI ID of that AGP bridge missing in the
intel-agp driver, so it doesn't get auto-loaded by hwsetup. I hoped that
it would no longer be necessary to load ALL AGP modules (wastes about
4MB of RAM), but apparently, it still is.  :-(

I will re-enable the line in the 4.0.1 release that should be on the
mirrors in a while. Thanks for letting me know!

Apart from that: Do the Dell optiplex boards still have that APM/ACPI
issue where you have to pull the plug after software-poweroff? The
boards kept "forgetting" their ram configuration when you issued a
software-poweroff (shutdown -h), and you had to remove power completely
for about 20 minutes, or so I was told. This was still the case in
Kernel 2.4. Maybe there is a workaround for those broken boards in 2.6?

With kind regards
-Klaus Knopper


Reply to: