Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My old motherboard (biostar tp35d2-a7) died. I got a new intel h67 motherboard and installed an i5-2400 in it, and tried to boot off of the debian testing install that is on the hard drive, and which worked with the old hardware. (Old system had nvidia graphics.)
It doesn't entirely work with the new hardware, however. I don't have ethernet and something is wrong with video, so X doesn't start.
To check hardware function and linux compatibility I booted Knoppix, and both networking and graphics are working properly.
How should I go about fixing the installed OS to work with the new hardware? Do I just need to totally reinstall? Or is there some way to add drivers or reconfigure so that the existing OS will work properly?
Boot to the debian dvd and fix or re-install the system. I know plenty of people swap this every day but you really can't trust the installer. We don't know what happened so it would be foolish to trust any repair.
I suspect that you could fix it but why not do a clean install and not worry?
Assuming that you are still using Debian Lenny, it is just to old for your hardware. You can try to install the backports-kernel, but I think it would be better to upgrade to Squeeze anyways. Since you have no ethernet connection, I would assume that a fresh install is the easiest way.
I'm running the current testing version, namely squeeze, with kernel version 2.6.32-5 (Debian 2.6.32-29). (I think I haven't updated my profile recently, but new releases keep coming out.) I've haven't done a clean install since I set the box up 3.5 years ago.
Jefro, what do you mean about "people who swap this every day" but you can't trust the installer? Are you saying it's better to just do a fresh install rather than trust a fix?
If I do a fresh install I assume that this will that wipe out all my customizations in /etc and I'll also have to figure out what all I had installed to reinstall stuff, right?
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
This is not Windows. A fresh install is hardly needed. Debian testing is not perfect yet and hardware is sometimes incorrectly detected (or whatever)
I assume you do have command line access? If not, do you see the GRUB screen at boot?
One you are in a console, do: lspci -v and see what video adapter and ethernet adapter you have. From there, Google to see if it is supported in Squeeze, and then try to find how to install that hardware in Debian. Do NOT download source files and follow the config/build/install instructions as this will break your Debian installation.
The integrated graphics of the Core i5-2400 should be to new to be supported by the Testing-kernel, I think the same applies to the ethernet device of this very new chipset. Maybe you should try the liquorix-kernel. or one from the newer kernels from the experimental-repo. Of course it would help to post the output of the command given to you by jlinkels.
I can boot into the system and get tty, just no X, and no ethernet. Otherwise everything seems to be working. (Well, actually sound looked to be broken too, but I didn't investigate that. I've had all sorts of trouble with sound even on the old setup.) When I boot off the latest Knoppix (dated 12/24) the networking and video work as well. (I admit I didn't realize quite how new the hardware was when I bought it, but I noticed the instructions with the motherboard were copyright 2011.) Below is the result of "lspci -v" run under knoppix. I checked the Knoppix kernel version and it is 2.6.36.1, so that's newer than what I have with the Debian (2.6.32-5).
TobiSGD, thanks for the tip on replicating a configuration.
Code:
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
Subsystem: Intel Corporation Device 2003
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 2003
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
Subsystem: Intel Corporation Device 2003
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fe529000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
Subsystem: Intel Corporation Device 2003
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at fe500000 (32-bit, non-prefetchable) [size=128K]
Memory at fe528000 (32-bit, non-prefetchable) [size=4K]
I/O ports at f080 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
Kernel driver in use: e1000e
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Device 2003
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at fe527000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
Subsystem: Intel Corporation Device 2003
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at fe520000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=02, sec-latency=0
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Intel Corporation Device 2003
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 4 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: fe400000-fe4fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Intel Corporation Device 2003
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Device 2003
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fe526000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04)
Subsystem: Intel Corporation Device 2003
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Intel Corporation Device 2003
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43
I/O ports at f0d0 [size=8]
I/O ports at f0c0 [size=4]
I/O ports at f0b0 [size=8]
I/O ports at f0a0 [size=4]
I/O ports at f060 [size=32]
Memory at fe525000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04)
Subsystem: Intel Corporation Device 2003
Flags: medium devsel, IRQ 18
Memory at fe524000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel driver in use: i801_smbus
01:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8892 (rev 10) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=01, secondary=02, subordinate=02, sec-latency=32
Capabilities: [70] Express PCI/PCI-X Bridge, MSI 00
Capabilities: [90] Power Management version 2
Capabilities: [a0] Subsystem: Intel Corporation Device 2003
Capabilities: [100] Device Serial Number 00-00-00-00-83-2e-73-83
03:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30)
Subsystem: Intel Corporation Device 2003
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fe400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
Capabilities: [150] #18
Kernel driver in use: xhci_hcd
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
VGA working in Knoppix might be a perception, usually Knoppix falls back to VESA if no driver is available. But the good news is that i910 should support this card. Install it from Debian and check if it is added to xorg.conf, (xserver-xorg-video-intel), but in xorg it will be called intel
Next, if there is a network driver is should be e1000e. If another driver is loaded, blacklist it (in /etc/modules.d/blacklist.conf) and add e1000e to the drivers to be loaded in /etc/modules.
You can also check the output of lsmod in both knoppix and your new system and see if you see differences regarding video and network.
VGA working in Knoppix might be a perception, usually Knoppix falls back to VESA if no driver is available. But the good news is that i910 should support this card. Install it from Debian and check if it is added to xorg.conf, (xserver-xorg-video-intel), but in xorg it will be called intel
I took a look at the Xorg log under Knoppix. It's pretty lengthy, so I wasn't sure what exactly was getting used, but there were a lot of messages that started with "Intel (0)" that made it seem like it was using the intel drivers as opposed to a generic VESA driver.
I checked my packages on the broken system and xserver-xorg-video-intel is already installed.
Quote:
Next, if there is a network driver is should be e1000e. If another driver is loaded, blacklist it (in /etc/modules.d/blacklist.conf) and add e1000e to the drivers to be loaded in /etc/modules.
I was able to insert this module with modprobe. But I don't know which, if any, installed modules pertain to networking.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Video: your system loads i915 but it doesn't work. Please check /var/log/Xorg.0.log and see where it goes wrong.
Networking: I don't see e1000e in your lsmod. Did you lsmod after modprobe? Check /var/log/syslog and /var/log messages to see the result of you modprobe.
Knoppix shows a lot less loaded modules. Everything not shown here, but still working might have been compiled into the Knoppix kernel. That is contradictionary with my feeling that particularly Knoppix should have as many drivers as modules versus compiled in, but Knoppix as been sheer magic to me anyway.
I recommend a new kernel, this will probably fix everything. If you can't, at least make sure to get the latest version of e1000e from intel. I remember that this driver did not work at all in older kernels, at least for me.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
TexMex: you might be right. I misread adrianmariano's post where he mentioned the kernel version. Indeed 2.6.32 is the current kernel in Testing, and even in Unstable and quite outdated. Unfortunately us Debian toddlers are used to simple apt-get installation of kernels
adrianmariano: that means you have to compile a kernel yourself. If you never have done so, I strongly recommend you do it the Debian way which described here: http://www.howtoforge.com/kernel_com...on_debian_etch
When you do it differently, you'll end up with problems sooner or later.
TexMex: you might be right. I misread adrianmariano's post where he mentioned the kernel version. Indeed 2.6.32 is the current kernel in Testing, and even in Unstable and quite outdated. Unfortunately us Debian toddlers are used to simple apt-get installation of kernels
adrianmariano: that means you have to compile a kernel yourself. If you never have done so, I strongly recommend you do it the Debian way which described here: http://www.howtoforge.com/kernel_com...on_debian_etch
When you do it differently, you'll end up with problems sooner or later.
jlinkels
You don't have to compile a kernel yourself. You can get newer kernels from the experimental-repository or use the Liquorix-kernel, which works just fine here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.