Find the answer to your Linux question:
Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By Kloschüssel
Hi, as the title says, my natty installation has some problem and doesn't boot anymore. Yet I was unable to find out what it is and therefore I would like ...
  1. #1
    Linux Enthusiast Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    718

    natty (11.04): kernel panic due to segfault

    Hi,

    as the title says, my natty installation has some problem and doesn't boot anymore. Yet I was unable to find out what it is and therefore I would like to know what you guys think. Maybe you're able to point me into the right direction?

    Thus I pasted the /var/log/messages content here: Sep 5 21:43:33 fuh kernel: imklog 4.2.0, log source = /proc/kmsg started. Sep | Pastebin.de

    Some background information:

    The host computer is an atom 330 with ion chipset and an X10 remote control receiver attached. I mention that because the drivers for it have recently been moved to the kernel and are IMHO one of the hot candidates.

    The installation is on software raid 5, with exception to the /boot partition which is replicated across all harddiscs. So far I was able to boot from live and chroot into the environment to fix the problem. I assume that all the partitioning, including the boot partition and the boot process is fine since the kernel panic happens a few seconds later.

    To state the obvious: the kernel panic is due to segfaults in hald, which are reproduced on every boot and happen always around at the same moment. So, finding out what problem hald has probably solves also the symptoms.

    I greatly appreciate any comments that help me reawaken "fuh" from the deads!

    EDIT: I'm probably a victim of https://bugs.launchpad.net/ubuntu/+s...rc/+bug/787742 , but I have to investigate a bit more.
    Last edited by Kloschüssel; 09-08-2011 at 08:33 AM.

  2. #2
    Linux Enthusiast Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    718
    I am indeed a victim of the above bug.

    For now I got my system back to boot by:

    Code:
    # remove source modules
    $ apt-get remove lirc-modules-source
    
    # make sure lirc_atiusb is backlisted
    $ cat /etc/modprobe.d/lirc-blacklist.conf 
    blacklist lirc_atiusb
    blacklist ati_remote
    Still there are still some things I have to investigate further..

  3. #3
    Linux Enthusiast Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    718
    HOORAY! I made it!

    Code:
    # lsusb | grep X10
    Bus 003 Device 002: ID 0bc7:0006 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
    # lsb_release -a
    Distributor ID:	Ubuntu
    Description:	Ubuntu 11.04
    Release:	11.04
    Codename:	natty
    # apt-cache policy xbmc-standalone
    xbmc-standalone:
      Installed: 2:10.1~ppa1~karmic
    # apt-cache policy lirc
    lirc:
      Installed: 0.8.7-0ubuntu4.1
    All works together with:
    Code:
    # cat /etc/lirc/hardware.conf
    # /etc/lirc/hardware.conf
    #
    #Chosen Remote Control
    REMOTE="Medion MD1 NBC"
    REMOTE_MODULES=""
    REMOTE_DRIVER="atilibusb"
    #REMOTE_DRIVER="devinput"
    REMOTE_DEVICE=""
    REMOTE_SOCKET="/var/run/lirc/lircd"
    #REMOTE_LIRCD_CONF="medion/md1-nbc.conf"
    REMOTE_LIRCD_CONF="medion/2002-9724.conf"
    REMOTE_LIRCD_ARGS=""
    
    #Chosen IR Transmitter
    TRANSMITTER="None"
    TRANSMITTER_MODULES=""
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_SOCKET=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""
    
    #Enable lircd
    START_LIRCD="true"
    
    #Don't start lircmd even if there seems to be a good config file
    #START_LIRCMD="false"
    
    #Try to load appropriate kernel modules
    LOAD_MODULES="true"
    
    # Default configuration files for your hardware if any
    LIRCMD_CONF=""
    
    #Forcing noninteractive reconfiguration
    #If lirc is to be reconfigured by an external application
    #that doesn't have a debconf frontend available, the noninteractive
    #frontend can be invoked and set to parse REMOTE and TRANSMITTER
    #It will then populate all other variables without any user input
    #If you would like to configure lirc via standard methods, be sure
    #to leave this set to "false"
    FORCE_NONINTERACTIVE_RECONFIGURATION="false"
    START_LIRCMD=""
    Code:
    # cat /etc/lirc/lircd.conf
    #This configuration has been automatically generated via
    #the Ubuntu LIRC package maintainer scripts.
    #
    #It includes the default configuration for the remote and/or
    #transmitter that you have selected during package installation.
    #
    #Feel free to add any custom remotes to the configuration
    #via additional include directives or below the existing
    #Ubuntu include directives from your selected remote and/or
    #transmitter.
    
    #Configuration for the Medion MD1 NBC remote:
    include "/usr/share/lirc/extras/more_remotes/medion/2002-9724.conf"
    Code:
    # cat /usr/share/lirc/extras/more_remotes/medion/2002-9724.conf
    
    # Please make this file available to others
    # by sending it to <lirc@bartelmus.de>
    #
    # this config file was automatically generated
    # using lirc-0.8.6(atilibusb) on Fri May 21 20:40:56 2010
    #
    # contributed by 
    #
    # brand:                       /root/tmp
    # model no. of remote control: 
    # devices being controlled by this remote:
    #
    
    begin remote
    
      name  medion
      bits           16
      eps            30
      aeps          100
    
      one             0     0
      zero            0     0
      pre_data_bits   8
      pre_data       0x14
      post_data_bits  16
      post_data      0x0
    #  gap		435996
    #  gap		235996
      gap          47986
    #  min_repeat      2
      toggle_bit_mask 0x80800000
    #NO  toggle_bit_mask 0x30100000
    #NO  toggle_bit	0
    #NO  toggle_bit	1
    #NO toggle_bit	2
    #NO  toggle_bit	3
    
          begin codes
              Ok                       0x739E
              Left                     0xF21D
              Right                    0x749F
              Up                       0xEF1A
              Down                     0x77A2
              LiveTV                   0xF11C
              RecTV                    0x6D98
              Photo                    0xDA05
              Music                    0x5B86
              DVDMenu                  0xD904
              Video                    0x82AD
              Audio                    0x0732
              Angle                    0x0934
              Title                    0x0A35
              Subtitle                 0x0833
              Power                    0xD702
              Guide                    0x86B1
              Text                     0xEB16
              VolUp                    0x5E89
              VolDown                  0xDD08
              Mute                     0x5580
              PUp                      0xE00B
              PDown                    0x618C
              1                        0xE20D
              2                        0x638E
              3                        0xE40F
              4                        0x6590
              5                        0xE611
              6                        0x6792
              7                        0xE813
              8                        0x6994
              9                        0xEA15
              Star                     0x8CB7
              0                        0xEC17
              Sharp                    0x8DB8
              Back                     0xF520
              Info                     0x84AF
              World                    0xF01B
              SeekLeft                 0x79A4
              Play                     0xFA25
              SeekRight                0x7BA6
              Pause                    0xFE29
              SkipLeft                 0x76A1
              SkipRight                0xF823
              Stop                     0x7DA8
              Record                   0xFC27
          end codes
    
    end remote
    Code:
    # cat /etc/modprobe.d/lirc-blacklist.conf 
    blacklist lirc_atiusb
    blacklist ati_remote
    I am so happy right now. Topic solved!
    Rubberman likes this.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    Klos, I like how you show what you did, and not just said "It's solved" like a lot of folks do. This is the sort of thing that can help others when they run into a similar problem. Well done! and thanks!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Enthusiast Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    718
    Thanks. One does what he can and I follow the strict principle for a GPL licensed software. All provided comes AS IS, without warranties. The above worked for me and if one has to modify things, make the results public. Greetings, D.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...