Re: /sys and lspci

From: Kevin Mark (kmark+debian-user_at_pipeline.com)
Date: 12/05/04

  • Next message: Ron Johnson: "Re: Can't get hal/udev/hotplug/whatever to mount usb flash card reader"
    Date: Sun, 5 Dec 2004 04:54:01 -0500
    To: debian-user@lists.debian.org
    
    
    

    On Sat, Dec 04, 2004 at 05:17:43PM +0100, Petter Senften wrote:
    > Hello!
    >
    > I'm new to this list, but after googling for a few hours after a fix to
    > my problem it seems I have no other option than to try to get some
    > attention here :)
    >
    > My server is a Debian Sarge-box (dist-upgraded from Woody a few months
    > back). Anyhoo, anytime I use lspci I get the following error: pcilib:
    > Cannot open /sys/bus/pci/devices
    >
    > Also, when the PHP-script "PHPsysinfo" runs it generates the same error
    > in the Apache Error-log, as well as taking forever to finish the
    > operation. Both items still list my PCI devices, but after a delay
    > (which to me is annoying).
    >
    > If I go to /sys it's empty, so obviously something is missing. I
    > wouldn't say that I'm a complete Linux-bewbie, but this problem has me
    > completely stumped, and as mentioned Google has been of no help this
    > time. So I'm asking all the experts out there - what can I do to correct
    > this?
    >
    > Kernel running is 2.6.5
    Hi Petter,
    are you using devsf?
    do you have udev installed and working?
    check your lilo.conf.
    /sys is a recent virtual file system that contains info about hardware for
    udev.
    if its empty, udev is not setup correctly.
    HTH
    =Kevin

    -- 
    counter.li.org #238656 -- goto counter.li.org and be counted!
            (__)
            (oo)
      /------\/
     / |    ||
    *  /\---/\
       ~~   ~~
    ...."Have you mooed today?"...
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Ron Johnson: "Re: Can't get hal/udev/hotplug/whatever to mount usb flash card reader"

    Relevant Pages

    • [ANNOUNCE] udev 069 release
      ... I've released the 069 version of udev. ... firmware_helper: fix write count ... udevd: keep the right order for messages without SEQNUM ... Change the gentoo rules to use cdrom_id instead of cdsymlink.sh ...
      (Linux-Kernel)
    • [ANNOUNCE] udev 006 release
      ... I've released the 006 version of udev. ... Note, to build using klibc, please read the klibc README in the klibc/ ... o fix namedev.c to build with older version of gcc ... o add some documentation for the %b modifier to the default config file ...
      (Linux-Kernel)
    • Re: Udev to burn cds
      ... What i need to accomplish which I imagine can be done with udev and a bash ... script, is that if a user puts a blank cd in drive A udev calls a bash ... which returns an empty string if there is no empty CD-R in the drive. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • [ANNOUNCE] udev 008 release
      ... I've released the 008 version of udev. ... I'm still looking for a devfs naming scheme config file. ... o fix up some duplicated function compiler warnings in libsysfs ...
      (Linux-Kernel)
    • [ANNOUNCE] udev 058 release
      ... I've released the 058 version of udev. ... please read the RELEASE-NOTES file in the main ... o hopefully fix up the symlinks in the test directory ... o klibc: version 1.0.7 ...
      (Linux-Kernel)