LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   new motherboard & CPU ==> no ethernet or video (https://www.linuxquestions.org/questions/linux-hardware-18/new-motherboard-and-cpu-%3D%3D-no-ethernet-or-video-856875/)

adrianmariano 01-17-2011 01:43 PM

new motherboard & CPU ==> no ethernet or video
 
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?

jefro 01-17-2011 02:39 PM

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?

TobiSGD 01-17-2011 03:13 PM

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.

adrianmariano 01-17-2011 04:00 PM

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?

TobiSGD 01-17-2011 04:11 PM

You can of course do a backup of your /etc-folder and restore it later.
To get all your software reinstalled you can do
Code:

dpkg --get-selections | grep -v deinstall >packages
before you reinstall and then backup the created file. I would recommend to do only a minimal install and then do
Code:

dpkg --clear-selections
dpkg --set-selections < packages
apt-get dselect upgrade

to restore your package-list and install all the software at once.

jlinkels 01-17-2011 04:14 PM

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.

jlinkels

TobiSGD 01-17-2011 04:30 PM

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.

adrianmariano 01-17-2011 06:24 PM

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


jlinkels 01-17-2011 06:58 PM

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.

jlinkels

adrianmariano 01-17-2011 09:57 PM

Quote:

Originally Posted by jlinkels (Post 4228092)
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.

Here is the output of lsmod on the broken system:

Code:

Module                  Size  Used by
parport_pc            15799  0
ppdev                  4058  0
lp                      5570  0
parport                22554  3 parport_pc,ppdev,lp
sco                    5857  2
i915                  222064  0
bridge                33019  0
stp                      996  1 bridge
drm_kms_helper        18301  1 i915
bnep                    7444  2
drm                  112088  2 i915,drm_kms_helper
i2c_algo_bit            3497  1 i915
video                  14605  1 i915
output                  1204  1 video
rfcomm                25171  0
l2cap                  21705  6 bnep,rfcomm
crc16                  1027  1 l2cap
bluetooth              36319  6 sco,bnep,rfcomm,l2cap
rfkill                10264  2 bluetooth
acpi_cpufreq            4951  1
battery                3782  0
cpufreq_conservative    4018  0
cpufreq_powersave        602  0
cpufreq_userspace      1480  0
cpufreq_stats          1940  0
dm_snapshot            17965  0
dm_mirror              9671  0
dm_region_hash          5644  1 dm_mirror
dm_log                  6369  2 dm_mirror,dm_region_hash
dm_mod                46082  3 dm_snapshot,dm_mirror,dm_log
fuse                  43941  1
loop                    9765  0
snd_hda_codec_realtek  163282  0
snd_hda_intel          16787  0
snd_usb_audio          50670  0
snd_usb_lib            11156  1 snd_usb_audio
snd_hda_codec          46002  2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm_oss            28671  0
snd_hwdep              4054  2 snd_usb_audio,snd_hda_codec
snd_mixer_oss          10461  1 snd_pcm_oss
uvcvideo              45514  0
snd_seq_midi            3576  0
snd_rawmidi            12513  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_pcm                47222  4 snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_pcm_oss
snd_seq                35463  3 snd_seq_midi,snd_seq_midi_event
videodev              25545  1 uvcvideo
v4l1_compat            10250  2 uvcvideo,videodev
snd_timer              12258  2 snd_pcm,snd_seq
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34375  13 snd_hda_codec_realtek,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_pcm_oss,snd_hwdep,snd_mixer_oss,snd_rawmidi,snd_pcm,snd_seq,snd_timer,snd_seq_device
shpchp                21220  0
pci_hotplug            18065  1 shpchp
pcspkr                  1207  0
usb_storage            30541  0
psmouse                44657  0
serio_raw              2916  0
soundcore              3450  1 snd
i2c_i801                6462  0
i2c_core              12696  6 i915,drm_kms_helper,drm,i2c_algo_bit,videodev,i2c_i801
processor              26327  5 acpi_cpufreq
button                  3598  1 i915
evdev                  5609  7
usbhid                28008  0
hid                    50873  1 usbhid
ext3                  94204  3
jbd                    32169  1 ext3
mbcache                3762  1 ext3
sg                    15968  0
sr_mod                10770  0
cdrom                  26487  1 sr_mod
sd_mod                25969  6
crc_t10dif              1012  1 sd_mod
ahci                  27270  4
libata                115753  1 ahci
xhci                  28769  0
thermal                9206  0
ehci_hcd              27851  0
thermal_sys            9378  3 video,processor,thermal
scsi_mod              101421  5 usb_storage,sg,sr_mod,sd_mod,libata
usbcore                98453  9 snd_usb_audio,snd_usb_lib,uvcvideo,usb_storage,usbhid,xhci,ehci_hcd
nls_base                4541  1 usbcore

Knoppix gets by with a lot fewer modules:

Code:

Module                  Size  Used by
parport_pc            24132  0
ppdev                  4117  0
lp                      6119  0
parport                20814  3 parport_pc,ppdev,lp
ipv6                  196975  16
snd_usb_audio          57808  0
snd_hwdep              3950  1 snd_usb_audio
snd_usbmidi_lib        12490  1 snd_usb_audio
tpm_tis                5261  0
snd_seq_midi            3200  0
tpm                    7773  1 tpm_tis
uvcvideo              45494  0
snd_rawmidi            12467  2 snd_usbmidi_lib,snd_seq_midi
videodev              45382  1 uvcvideo
tpm_bios                3347  1 tpm
v4l1_compat            10188  2 uvcvideo,videodev
serio_raw              2922  0
snd_hda_codec_intelhdmi    8187  1
snd_hda_codec_realtek  176262  1
e1000e                103433  0
snd_hda_intel          15710  1
i2c_i801                6202  0
snd_hda_codec          46094  3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel


jlinkels 01-18-2011 04:03 AM

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.

jlinkels

H_TeXMeX_H 01-18-2011 10:24 AM

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.

jlinkels 01-18-2011 10:42 AM

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

TobiSGD 01-18-2011 12:12 PM

Quote:

Originally Posted by jlinkels (Post 4228927)
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.

jlinkels 01-18-2011 12:25 PM

That is useful information. Thanks

jlinkels


All times are GMT -5. The time now is 01:33 AM.