Difference between revisions of "Bugs/4.0.2CD"


From Knoppix Documentation Wiki
Jump to: navigation, search
Line 88: Line 88:
  
 
21) The !cal command does not work in a continuous manner.  In fact, it works about 40% - 60% of the time when done consecutively.  !ls and !top work without issue, but there seems to be a glitch in the !cal command when using the Knoppix 4.0.2 CD.  Thu Oct 26, 2006
 
21) The !cal command does not work in a continuous manner.  In fact, it works about 40% - 60% of the time when done consecutively.  !ls and !top work without issue, but there seems to be a glitch in the !cal command when using the Knoppix 4.0.2 CD.  Thu Oct 26, 2006
 +
 +
22) When starting X, right before changing from tty1 to the X screen, there is a blue line saying "Unloading unneeded AGP modules". The fact is, NOT ALL of them get unloaded. If you do a lsmod after X starts, you will still see about seven of them loaded even they are not used. This may be valid for all versions of knoppix beginning at least with 3.6. I verified this in knoppix 3.6 and 4.0.2 and I'm afraid all knoppixes are contaminated with this.
 +
Here is the explanation for this: in /etc/init.d/xsession, there is a procedure
 +
called unloadagp() that sounds like this:
 +
 +
# Remove unused AGP modules
 +
unloadagp(){
 +
# Kernel 2.6: Load specific AGPGART module(s)
 +
  case "$(cat /proc/cmdline)" in
 +
  *noagp*) ;;
 +
  *)
 +
    echo -n "${BLUE}Unloading unneeded AGP modules...${NORMAL}"
 +
    while read m relax; do
 +
    case "$m" in *_agp) rmmod "$m" >/dev/null 2>&1; ;; esac
 +
    done </proc/modules
 +
    echo ""
 +
    ;;
 +
  esac
 +
}
 +
 +
for some reason, the /proc/modules is not exactly updated with all the modules or
 +
something else happen because this is not working as expected.
 +
I personally changed the procedure as follows and then I had all unneeded agp modules
 +
UNLOADED INDEED.
 +
 +
# Remove unused AGP modules
 +
unloadagp(){
 +
# Kernel 2.6: Load specific AGPGART module(s)
 +
################## MODIFIED!!! #########################
 +
# using $(lsmod | grep _agp) instead of /proc/modules ##
 +
# which was not working; the original was useless because
 +
# we had a lot of agp modules left in memory after X started
 +
  case "$(cat /proc/cmdline)" in
 +
  *noagp*) ;;
 +
  *)
 +
    echo -n "${BLUE}Unloading unneeded AGP modules...${NORMAL}"
 +
    while read m relax; do
 +
    case "$m" in *_agp) rmmod "$m" >/dev/null 2>&1; ;; esac
 +
    done <<EOT
 +
$(lsmod | grep _agp)
 +
EOT
 +
    echo ""
 +
    ;;
 +
  esac
 +
}
 +
 +
posted by chris_startx, Dec 28 2006
  
 
<!--Please add all bug reports above this line -->
 
<!--Please add all bug reports above this line -->
 
[[Category:Bug Pages]]
 
[[Category:Bug Pages]]

Revision as of 01:12, 29 December 2006

1)The 4.0.2 CD at boot says: Welcome to the KNOPPIX live Linux-on-DVD!

THIS IS THE CD AND NOT THE DVD AS IT DISPLAYS!

2) Boot Option "knoppix no{swap}" is getting ignored (at least on an SATA Harddrive with Linux Swap partition).  !!! Knoppix will still use the swap partition !!!

3) if toram boot option is used, shutdown does not work. After X-windows exit, shell prompt appears, but system does not do shutdown. Also poweroff or shutdown commands have no effect at all.

3a) if toram boot option is used, "knoppix-terminalserver" NFS does not work. The client side will say "Permission denied by server" when trying to mount the exported "/cdrom" dir. Have attempted modifying/blanking hosts.allow and hosts.deny, fiddling with export options, flushing iptables, and changing permissions/owners on the exported directory. This function works flawlessly when booted from CD.

4) not sure this is new, but while customizing 4.0.2CD I encountered a problem involving hotplugging multiple usb-storage devices. If one is mounted, and another is plugged in, the first device often seems to move to a new device but the old mount remains. There seems to be some explanation of this behavior in /sbin/hotplug-knoppix. Comments therein suggests the problem goes back to 2002. It would be the nice and expected behavior if plugging new storage doesn't booger up existing mounts. Any explanation of the issues involved would be helpful as well.

5) Starting knoppix with boot option "knoppix desktop=xfce" initiates successfully xsession, sound can be heard but when loading xfce desktop computer returns to shell screen with message X Window xsession terminated with errors. Tried on x40, within vmware. all other options boot up correctly (in regard to xsession...) no errors in xfreelogs: (WW) VMWARE(0): Failed to set up write-combining range (0xfa000000,0x1000000) (WW) VMWARE(0): Option "DPMS" is not used (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/truetype". Entry deleted from font path. (Run 'mkfontdir' on "/usr/share/fonts/truetype"). (WW) The directory "/usr/share/fonts/latex-ttf-fonts" does not exist. Entry deleted from font path. (WW) The directory "/usr/X11R6/lib/X11/fonts/defoma/CID" does not exist. Entry deleted from font path. (WW) The directory "/usr/X11R6/lib/X11/fonts/defoma/TrueType" does not exist. Entry deleted from font path. (WW) Open APM failed (/dev/apm_bios) (No such device)

just tried this on a quite typical desktop machine. same behaviour. desktop xfce seems to be broken.

The problem appears to be related to timing and the way xfce4 is started. When running from fast media (harddisk), the problem doesn't occur. Replacing the series of exec xcfe.. statements in /etx/X11/Xsession.d/45xsession (startxfce4() function) with a single exec startxfce4 fixes it on cdrom media too. --Joost 18:46, 25 Apr 2006 (GMT)

6) /usr/share/knoppix/profile contains files and directories (e.g. .gnupg .mozilla .nessus.keys .netscape) which are copied into /home/knoppix when the X session is started (see rsync commands in /etc/X11/Xsession.d/45xsession). However, these files are owned by root, not knoppix! So files which knoppix does not have permission to read fail to get copied (e.g. .nessus.keys). Only found this out because I was trying to add a .ssh directory in there and wondered why it failed to get copied across at boot time ... a swift chown -R knoppix.knoppix /usr/share/knoppix before re-mastering the Knoppix CD fixes this.

If you follow the instructions on the Knoppix_Remastering_Howto, the equivalent command would be chown -R 1000.1000 /mnt/hda1/knx/source/KNOPPIX/usr/share/knoppix.

7) Knoppix 4.02 CD won't boot on an IBM Thinkpad I Series 1161-43u. It only displays "Disabling IRQ 15" over and over. Knoppix 3.8 CD works fine.

  • Have you tried any of the cheatcodes? Have you cross posted this issue to the forum? --Rwcitek 22:16, 5 Nov 2005 (GMT)

8) Change read/write mode not working with bootfrom-cheat --- If I start knoppix with "knoppix bootfrom=/dev/hdb1/KNOPPIX.iso", and then right-click "Hard Disk [hdb1]" on Desktop and choose Actions->Change read/write mode, I get this error after confirming the action: "The remount command failed. Maybe there is another process accessing the filesystem currently." I can still remount this manually with "sudo mount -o remount,rw /cdrom2.loop" This bug is also present in 4.0.2-DVD

  • Possible workaround: create a swapfile /mnt/hdb1/knoppix.swp. Have you cross posted this issue in a forum? --Rwcitek 22:16, 5 Nov 2005 (GMT)

9) Knoppix-terminalserver

  • clients/hosts booting with etherboot ROM's fail, because of some bug in the etherboot.nbi, but I'm not sure. can't find miniroot.gz, ... and than vmlinuz
  • /etc/resolv.conf which is symlink to /etc/dhcpc/resolv.conf is not updated even for the hosts which boot with a PXE ROM, running netcardconfig with dhcp yes does the trick. --bsd Mon Nov 7 05:30:02 UTC 2005

10) CD 4.02 do not use the USB 2.0 full speed mode. The error is in the linuxrc in /boot/isolinux/minirt.gz The line USB2="ehci_hcd.ko" should be USB2="ehci_hcd"

11) There seems to be something wrong with the hardware detection of several versions of knoppix (all Knoppix versions with kernel 2.6.x that I tried, including the latest (4.0.2)): I've written a forum entry describing the problem: http://www.knoppix.net/forum/viewtopic.php?t=22343 To be more specific, the wrong driver for a family of network cards is being loaded (or that's what I think), causing knoppix to crash on boot, while trying to get an IP from DHCP.

12) mkbootfloppy doesn't work, possibly since 3.7. I made a forum post, with a rather ugly fix, here: http://www.knoppix.net/forum/viewtopic.php?t=22949 It seems the problem is that if the second boot floppy is formatted as a 1722 KB disk then knoppix thinks the disk is corrupt at boot time. If the second boot floppy gets formatted as a 1440 KB disk then everyting is fine.

13) configure_bttv fails with xdialog usage message. After review, i came to the conclusion that the error is caused by missing values in CARDLIST, when the radiolist construct runs for the tunners it should contain values of: "type=xx" but the only ones contained in the file is: "card=xxx".

14) Thomson TCM390 modem not detected (netusb)

15) serial mouse not detected. I had to edit the xfree86 config by hand. --gh78 Thu Apr 13 2006

16) isa modem not detected. compaq netintelligent 56k isa modem works fine with knoppix v3.7, but not with v4.02 --gh78 Thu Apr 13 2006

17) my airlink usb 2.0 usb-ethernet adapter is not detected during the startup. I have to unplug it, then plug it back in for it to be recognized. --gh78 Thu Apr 13 2006

18) the console mouse driver, gpm, doesn't work with either mc, or elinks. --gh78 Thu Apr 13 2006

19) kppp has some bug that causes it to dial an unselected number--the dial action sometimes randomly selects between the various entrees. This is probably not the fault of the knoppix team, but I thought I'd mention it. --gh78 Thu Apr 13 2006

20) Unable to install from an external (USB) CDROM. LiveCD boots up from the external CDROM and then freezes when the kernal tries to load.

21) The !cal command does not work in a continuous manner. In fact, it works about 40% - 60% of the time when done consecutively.  !ls and !top work without issue, but there seems to be a glitch in the !cal command when using the Knoppix 4.0.2 CD. Thu Oct 26, 2006

22) When starting X, right before changing from tty1 to the X screen, there is a blue line saying "Unloading unneeded AGP modules". The fact is, NOT ALL of them get unloaded. If you do a lsmod after X starts, you will still see about seven of them loaded even they are not used. This may be valid for all versions of knoppix beginning at least with 3.6. I verified this in knoppix 3.6 and 4.0.2 and I'm afraid all knoppixes are contaminated with this.

Here is the explanation for this: in /etc/init.d/xsession, there is a procedure
called unloadagp() that sounds like this:
# Remove unused AGP modules
unloadagp(){
# Kernel 2.6: Load specific AGPGART module(s)
 case "$(cat /proc/cmdline)" in
  *noagp*) ;;
  *)
   echo -n "${BLUE}Unloading unneeded AGP modules...${NORMAL}"
   while read m relax; do
    case "$m" in *_agp) rmmod "$m" >/dev/null 2>&1; ;; esac
   done </proc/modules
   echo ""
   ;;
 esac
}

for some reason, the /proc/modules is not exactly updated with all the modules or something else happen because this is not working as expected. I personally changed the procedure as follows and then I had all unneeded agp modules UNLOADED INDEED.

# Remove unused AGP modules
unloadagp(){
# Kernel 2.6: Load specific AGPGART module(s)
################## MODIFIED!!! #########################
# using $(lsmod | grep _agp) instead of /proc/modules ##
# which was not working; the original was useless because
# we had a lot of agp modules left in memory after X started
 case "$(cat /proc/cmdline)" in
  *noagp*) ;;
  *)
   echo -n "${BLUE}Unloading unneeded AGP modules...${NORMAL}"
   while read m relax; do
    case "$m" in *_agp) rmmod "$m" >/dev/null 2>&1; ;; esac
   done <<EOT
$(lsmod | grep _agp)
EOT
   echo ""
   ;;
 esac
}

posted by chris_startx, Dec 28 2006