dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

lshw run as root crashes, lspci - no info #334

Closed tedm closed 11 years ago

tedm commented 11 years ago

on ARM, getting lshw, it runs as user, but crashes when run as root.

lspci does not provide any info, there is no /proc/bus/pci dir ?

lsusb works

xfce, precise, dev channel

dnschneid commented 11 years ago

ARM doesn't use PCI, and I'm sure lshw makes a host of similar assumptions that fail on ARM. Not really an issue.

tedm commented 11 years ago

right, but since running it as user spits out some info, and exits properly, running as root, it shouldn't crash.

dnschneid commented 11 years ago

Yeah, because it can't really do anything interesting without root. If it's really an issue for you, play with -disable to see what's making it crash:

-disable test
              Enables  or  disables  a  test.  test can be dmi (for DMI/SMBIOS
              extensions), device-tree (for  OpenFirmware  device  tree),  spd
              (for  memory  Serial  Presence  Detect), memory (for memory-size
              guessing heuristics), cpuinfo (for  kernel-reported  CPU  detec-
              tion),  cpuid  (for  CPU  detection),  pci (for PCI/AGP access),
              isapnp (for ISA PnP extensions), pcmcia (for PCMCIA/PCCARD), ide
              (for  IDE/ATAPI),  usb (for USB devices),scsi (for SCSI) or net-
              work (for network interfaces detection).