Unhandled exception in anaconda crashes upgrade of RH9 to FC2

From: Mike Fleetwood (mike_at_rockover.demon.co.uk)
Date: 10/31/04

  • Next message: Bill Gradwohl: "Re: 16x9 aspect ratio display"
    Date: Sun, 31 Oct 2004 15:46:42 +0000 (GMT)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Hi All,

    After a few issues trying to upgrade my RH9 to FC2 I have finally come
    to an impasse because anaconda keeps crashing with an unhandled
    exception. This occurs when trying to detect the existing RH9
    installation. Hopefully someone can help.

    Upgrade attempts:
    1) Upgrade fails to detect my AdvanSys SCSI adapter.

    2) Discovering that the AdvanSys driver in kernel 2.6 is not up to date
       and FC2 doesn't support it. 2 methods of trying to load it by hand
       from installation CD 1 fail. Finally find:
          Advansys SCSI Cards and Fedora Core Linux
          http://www.city-fan.org/ftp/contrib/drivers/advansys/
       and am using a CD containing advansys-fc2-boot.iso to boot and
       start the upgrade from FC2 install CD 1. Now the upgrade fails to
       detect my existing RH9 installation and only offers to install a new
       FC2 installation.

    3) Boot with 'linux upgradeany' command. When detecting my existing
       RH9 installation anaconda reports the unhandled exception.

    4) Remove /etc/redhat-release and boot again with 'linux upgradeany'.
       anaconda now finds an unknown Linux distribution to upgrade. As
       soon as [Next] is clicked anaconda reports the same unhandled
       exception.

    5) Impasse.

    Other relevant facts:
    Hardware is a PC with an Athlon CPU and 1 GB RAM.
    Installation CD passes checksum test.
    /dev/sda2 contains / FS of my RH9 installation.
    In the anaconda dump below the local variable desc contains 32 NULs.
    They are just converted to (^) and (@) for display in this email.

    Thanks in advance,
    Mike

    -- 
     __  __ _ _     ___    ____ _    ___  ___  _           ___  ___    _
    |  \/  (_| | _ / _ \  | ___| |  / _ \/ _ \| |_ _  _  _/   \/   \ _| |
    | |\/| | | |/ |  ___| | _| | |_|  __|  ___| __| \/ \/|  O |  O  / _ |
    |_|  |_|_|_|\_\\___|  |_|  |____\___|\___||____\_/^\_/\___/\___/\___|
    Start of the anaconda dump:
    Traceback (most recent call last):
      File "/usr/lib/anaconda/gui.py", line 766, in nextClicked
        self.setScreen ()
      File "/usr/lib/anaconda/gui.py", line 1102, in setScreen
        new_screen = apply(self.currentWindow.getScreen, args)
      File "/usr/lib/anaconda/iw/examine_gui.py", line 143, in getScreen
        itemlabel.set_markup("<small>%s (%s)</small>" %(desc, devname))
    TypeError: GtkLabel.set_markup() argument 1 must be string without null bytes, not str
    Local variables in innermost frame:
    box: <gtk.VBox object (GtkVBox) at 0xb7aedcd4>
    b: <gtk.VBox object (GtkVBox) at 0xb7aedd74>
    chroot: /mnt/sysimage
    item: <gtk.MenuItem object (GtkMenuItem) at 0xb7aede3c>
    self: <examine_gui.UpgradeExamineWindow instance at 0xb7db338c>
    devname: /dev/sda2
    upboxtmp: <gtk.VBox object (GtkVBox) at 0xb7aeddc4>
    dispatch: <dispatch.Dispatcher instance at 0xb7da3bac>
    id: <instdata.InstallData instance at 0xb7b9202c>
    vbox: <gtk.VBox object (GtkVBox) at 0xb7ca65a4>
    r: <pixmapRadioButtonGroup_gui.pixmapRadioButtonGroup instance at 0xb7db35ec>
    itemlabel: <gtk.AccelLabel object (GtkAccelLabel) at 0xb7aede64>
    filesystem: ext3
    intf: <gui.InstallInterface instance at 0xb7b9246c>
    part: sda2
    uplabelstr: The following installed system will be upgraded:
    desc: ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
    Dispatcher instance, containing members:
    intf: InstallInterface instance, containing members:
      intf.icw: InstallControlWindow instance, containing members:
        intf.icw.displayHelp: True
        intf.icw.releaseNotesViewerPid: None
        intf.icw.help: <TextViewBrowser object (GtkTextView) at 0xb7da152c>
        intf.icw.help_sw: <gtk.ScrolledWindow object (GtkScrolledWindow) at 0xb7da170c>
        intf.icw.nextButtonStock: <gtk.Button object (GtkButton) at 0xb7da14dc>
        intf.icw.dispatch: Already dumped
        intf.icw.reloadRcQueued: 0
        intf.icw.ii: Already dumped
        intf.icw.installFrame: <gtk.Frame object (GtkFrame) at 0xb7da1eb4>
        intf.icw.debugButton: <gtk.Button object (GtkButton) at 0xb7da1fcc>
        intf.icw.table: <gtk.Table object (GtkTable) at 0xb7da1d9c>
        intf.icw.releaseButton: <gtk.Button object (GtkButton) at 0xb7da17ac>
        intf.icw.hbox: <gtk.HBox object (GtkHBox) at 0xb7da1a2c>
        intf.icw.helpFrame: <gtk.Frame object (GtkFrame) at 0xb7da1e64>
        intf.icw.windowList: []
        intf.icw.window: <gtk.Window object (GtkWindow) at 0xb7da8374>
        intf.icw.helpState: True
        intf.icw.releaseNotesStartViewer: 0
        intf.icw.prevButtonStock: <gtk.Button object (GtkButton) at 0xb7da139c>
        intf.icw.configFileData: {'TitleBar': pixmaps/anaconda_header.png, 'Title': Red Hat Linux Beta, 'Splashscreen': pixmaps/first.png, 'WelcomeScreen': pixmaps/splash.png}
        intf.icw.bin: <gtk.Frame object (GtkFrame) at 0xb7da4eb4>
        intf.icw.handle: 22
        intf.icw.releaseNotesStartViewerAttempts: 0
        intf.icw.buttonBox: <gtk.HButtonBox object (GtkHButtonBox) at 0xb7da11e4>
        intf.icw.hideHelpButton: <gtk.Button object (GtkButton) at 0xb7da1f2c>
        intf.icw.currentWindow: UpgradeExamineWindow instance, containing members:
          intf.icw.currentWindow.intf: Already dumped
          intf.icw.currentWindow.doupgrade: True
          intf.icw.currentWindow.parts: [('sda2', 'ext3', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')]
          intf.icw.currentWindow.dispatch: Already dumped
          intf.icw.currentWindow.upgradeoptionmenu: <gtk.Menu object (GtkMenu) at 0xb7aeddec>
          intf.icw.currentWindow.uplabel: <gtk.Label object (GtkLabel) at 0xb7aed11c>
          intf.icw.currentWindow.individualPackages: None
          intf.icw.currentWindow.chroot: /mnt/sysimage
          intf.icw.currentWindow.ics: InstallControlState instance, containing members:
            intf.icw.currentWindow.ics.nextButtonLabel: None
            intf.icw.currentWindow.ics.helpButtonEnabled: True
            intf.icw.currentWindow.ics.searchPath: ('/mnt/source/RHupdates', './', '/usr/share/anaconda/')
            intf.icw.currentWindow.ics.prevButtonLabel: None
            intf.icw.currentWindow.ics.grabNext: 0
            intf.icw.currentWindow.ics.title: Upgrade Examine
            intf.icw.currentWindow.ics.nextButtonInfo: None
            intf.icw.currentWindow.ics.prevButton: gtk-prev
            intf.icw.currentWindow.ics.html: 
            intf.icw.currentWindow.ics.helpEnabled: 3
            intf.icw.currentWindow.ics.nextEnabled: 1
            intf.icw.currentWindow.ics.htmlFile: upgradeexamine
            intf.icw.currentWindow.ics.prevEnabled: 1
            intf.icw.currentWindow.ics.cw: Already dumped
            intf.icw.currentWindow.ics.nextButton: gtk-next
          intf.icw.currentWindow.upgradeoption: <gtk.OptionMenu object (GtkOptionMenu) at 0xb7aedb94>
          intf.icw.currentWindow.root: ('sda2', 'ext3', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
          intf.icw.currentWindow.id: InstallData instance, containing members:
            intf.icw.currentWindow.id.dbpath: None
            intf.icw.currentWindow.id.firewall: Firewall instance, containing members:
              intf.icw.currentWindow.id.firewall.ftp: 0
              intf.icw.currentWindow.id.firewall.http: 0
              intf.icw.currentWindow.id.firewall.enabled: 1
              intf.icw.currentWindow.id.firewall.smtp: 0
              intf.icw.currentWindow.id.firewall.telnet: 0
              intf.icw.currentWindow.id.firewall.selinux: 
              intf.icw.currentWindow.id.firewall.ssh: 0
              intf.icw.currentWindow.id.firewall.portlist: 
              intf.icw.currentWindow.id.firewall.trustdevs: []
              intf.icw.currentWindow.id.firewall.ports: []
            intf.icw.currentWindow.id.rootParts: [('sda2', 'ext3', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')]
            intf.icw.currentWindow.id.upgradeDeps: 
            intf.icw.currentWindow.id.upgradeRoot: [('sda2', 'ext3')]
            intf.icw.currentWindow.id.xsetup: XSetup instance, containing members:
              intf.icw.currentWindow.id.xsetup.skipx: 0
              intf.icw.currentWindow.id.xsetup.imposed_sane_default: 1
              intf.icw.currentWindow.id.xsetup.xhwstate: XF86HardwareState instance, containing members:
                intf.icw.currentWindow.id.xsetup.xhwstate.probed_physical_height: 0
                intf.icw.currentWindow.id.xsetup.xhwstate.probed_video_ram: 32768
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard_PCIBus: None
                intf.icw.currentWindow.id.xsetup.xhwstate.colordepth: 24
                intf.icw.currentWindow.id.xsetup.xhwstate.monitor_name: Unprobed Monitor
                intf.icw.currentWindow.id.xsetup.xhwstate.dri_enabled: 1
                intf.icw.currentWindow.id.xsetup.xhwstate.monitor: monName: Unprobed Monitor
    monID: Unprobed Monitor
    monHoriz: 31.5-37.9
    monVert: 50-70
    physicalWidth: 0
    physicalHeight: 0
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard_name: ATI Rage 128 Pro Ultra
                intf.icw.currentWindow.id.xsetup.xhwstate.video_ram: 0
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard_driver: r128
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard_options: []
                intf.icw.currentWindow.id.xsetup.xhwstate.vsync: 50-70
                intf.icw.currentWindow.id.xsetup.xhwstate.physical_height: 0
                intf.icw.currentWindow.id.xsetup.xhwstate.probed_vsync: 50-70
                intf.icw.currentWindow.id.xsetup.xhwstate.physical_width: 0
                intf.icw.currentWindow.id.xsetup.xhwstate.hsync: 31.5-37.9
                intf.icw.currentWindow.id.xsetup.xhwstate.probed_physical_width: 0
                intf.icw.currentWindow.id.xsetup.xhwstate.xconfig: None
                intf.icw.currentWindow.id.xsetup.xhwstate.all_resolutions: [640x480, 800x480, 800x600, 1024x600, 1024x768, 1152x768, 1152x864, 1280x800, 1280x960, 1280x1024, 1400x1050, 1440x900, 1600x1200, 1680x1050, 1900x1200, 1920x1200, 1920x1440, 2048x1536]
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard: primary: 0
    vidCards: [<rhpl.videocard.VideoCard instance at 0xb77dd74c>]
    Primary Video Card Info:
    device: fb0
    descr : ATI|Rage 128 Pro Ultra TF
    server: Xorg
    cardManf: None
    vidRam: 32768
    carddata: {'CHIPSET': 'ati', 'SEE': 'ATI Rage 128 (generic)', 'DRIVER': 'r128', 'NAME': 'ATI Rage 128 Pro Ultra', 'NOCLOCKPROBE': ''}
    devID: ATI Rage 128 Pro Ultra
    fbmodes: None
    fbbpp: None
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard_PCIFn: None
                intf.icw.currentWindow.id.xsetup.xhwstate.probed_hsync: 31.5-37.9
                intf.icw.currentWindow.id.xsetup.xhwstate.resolution: 800x600
                intf.icw.currentWindow.id.xsetup.xhwstate.videocard_PCIDev: None
            intf.icw.currentWindow.id.accounts: <Type Accounts>
            intf.icw.currentWindow.id.keyboard: Keyboard instance, containing members:
              intf.icw.currentWindow.id.keyboard.info: {'KEYBOARDTYPE': pc, 'KEYTABLE': uk}
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bill Gradwohl: "Re: 16x9 aspect ratio display"