Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New kernel: No network interface, no sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jack014
n00b
n00b


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sat Nov 11, 2006 8:22 pm    Post subject: New kernel: No network interface, no sound Reply with quote

Hi guys,

I just made my first kernel (2.6.17-gentoo-r8, Athlon 64 system) using the doc. When I booted it there was no internet connection. I ran ifconfig and my network interface was not listed there. Also at the KDE startup i was told that there is a problem with ALSA. Here is a "screenshot" from menuconfig:
Code:

  ┌───────────────────────────────────────────────────── Networking options ─────────────────────────────────────────────────────┐
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                          [ ] Network packet debugging                                                                    │ │
  │ │                          <*> Packet socket                                                                               │ │
  │ │                          [ ]   Packet socket: mmapped IO                                                                 │ │
  │ │                          <*> Unix domain sockets                                                                         │ │
  │ │                          < > PF_KEY sockets                                                                              │ │
  │ │                          [*] TCP/IP networking                                                                           │ │
  │ │                          [*]   IP: multicasting                                                                          │ │
  │ │                          [ ]   IP: advanced router                                                                       │ │
  │ │                          [*]   IP: kernel level autoconfiguration                                                        │ │
  │ │                          [*]     IP: DHCP support                                                                        │ │
  │ │                          [ ]     IP: BOOTP support                                                                       │ │
  │ │                          [ ]     IP: RARP support                                                                        │ │
  │ │                          < >   IP: tunneling                                                                             │ │
  │ │                          < >   IP: GRE tunnels over IP                                                                   │ │
  │ │                          [ ]   IP: multicast routing                                                                     │ │
  │ │                          [ ]   IP: ARP daemon support (EXPERIMENTAL)                                                     │ │
  │ │                          [ ]   IP: TCP syncookie support (disabled per default)                                          │ │
  │ │                          < >   IP: AH transformation                                                                     │ │
  │ │                          < >   IP: ESP transformation                                                                    │ │
  │ │                          < >   IP: IPComp transformation                                                                 │ │
  │ │                          <*>   INET: socket monitoring interface                                                         │ │
  │ │                          [ ]   TCP: advanced congestion control                                                          │ │
  │ │                          <*>   The IPv6 protocol                                                                         │ │
  │ │                          [ ]     IPv6: Privacy Extensions support                                                        │ │
  │ │                          [ ]     IPv6: Router Preference (RFC 4191) support                                              │ │
  │ │                          < >     IPv6: AH transformation                                                                 │ │
  │ │                          < >     IPv6: ESP transformation                                                                │ │
  │ │                          < >     IPv6: IPComp transformation                                                             │ │
  │ │                          < >   IPv6: IPv6-in-IPv6 tunnel                                                                 │ │
  │ │                          [ ] Network packet filtering (replaces ipchains)  --->                                          │ │
  │ │                              DCCP Configuration (EXPERIMENTAL)  --->                                                     │ │
  │ │                              SCTP Configuration (EXPERIMENTAL)  --->                                                     │ │
  │ │                              TIPC Configuration (EXPERIMENTAL)  --->                                                     │ │
  │ │                          < > Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)                                             │ │
  │ │                          < > 802.1d Ethernet Bridging                                                                    │ │
  │ │                          < > 802.1Q VLAN Support                                                                         │ │
  │ │                          < > DECnet Support                                                                              │ │
  │ │                          < > ANSI/IEEE 802.2 LLC type 2 Support                                                          │ │
  │ │                          < > The IPX protocol                                                                            │ │
  │ │                          < > Appletalk protocol support                                                                  │ │
  │ │                          < > CCITT X.25 Packet Layer (EXPERIMENTAL)                                                      │ │
  │ │                          < > LAPB Data Link Driver (EXPERIMENTAL)                                                        │ │
  │ │                          [ ] Frame Diverter (EXPERIMENTAL)                                                               │ │
  │ │                          < > Acorn Econet/AUN protocols (EXPERIMENTAL)                                                   │ │
  │ │                          < > WAN router                                                                                  │ │
  │ │                              QoS and/or fair queueing  --->                                                              │ │
  │ │                              Network testing  --->                                                                       │ │
  │ │                                                                                                                          │ │
  │ │                                                                                                                          │ │
  │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘


Code:

  ┌─────────────────────────────────────────────────────────── Sound ────────────────────────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> │
  │  excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ]     │
  │  excluded  <M> module  < > module capable                                                                                    │
  │                                                                                                                              │
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                          <*> Sound card support                                                                          │ │
  │ │                              Advanced Linux Sound Architecture  --->                                                     │ │
  │ │                              Open Sound System  --->                                                                     │ │


  ┌───────────────────────────────────────────── Advanced Linux Sound Architecture ──────────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> │
  │  excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ]     │
  │  excluded  <M> module  < > module capable                                                                                    │
  │                                                                                                                              │
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                          <*> Advanced Linux Sound Architecture                                                           │ │
  │ │                          < >   Sequencer support                                                                         │ │
  │ │                          < >   OSS Mixer API                                                                             │ │
  │ │                          < >   OSS PCM (digital audio) API                                                               │ │
  │ │                          < >   RTC Timer support                                                                         │ │
  │ │                          [ ]   Dynamic device file minor numbers (EXPERIMENTAL)                                          │ │
  │ │                          [*]   Support old ALSA API                                                                      │ │
  │ │                          [*]   Verbose procfs contents                                                                   │ │
  │ │                          [ ]   Verbose printk                                                                            │ │
  │ │                          [ ]   Debug                                                                                     │ │
  │ │                                Generic devices  --->                                                                     │ │
  │ │                                PCI devices  --->                                                                         │ │
  │ │                                USB devices  --->                                                                         │ │

  ┌───────────────────────────────────────────────────── Open Sound System ──────────────────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> │
  │  excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ]     │
  │  excluded  <M> module  < > module capable                                                                                    │
  │                                                                                                                              │
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                          <*> Open Sound System (DEPRECATED)                                                              │ │
  │ │                          < >   BT878 audio dma                                                                           │ │
  │ │                          < >   Creative SBLive! (EMU10K1)                                                                │ │
  │ │                          < >   Crystal SoundFusion (CS4280/461x)                                                         │ │
  │ │                          < >   Creative Ensoniq AudioPCI 97 (ES1371)                                                     │ │
  │ │                          <*>   Intel ICH (i8xx) audio support                                                            │ │
  │ │                          < >   Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core                                 │ │
  │ │                          < >   Support for Turtle Beach MultiSound Classic, Tahiti, Monterey                             │ │
  │ │                          < >   Support for Turtle Beach MultiSound Pinnacle, Fiji                                        │ │
  │ │                          < >   VIA 82C686 Audio Codec                                                                    │ │
  │ │                          < >   OSS sound modules                                                                         │ │
  │ │                                                                                                                          │ │



My question is: Is there anything that I did obviously wrong?
BTW (I just realized that when there was no internet conection): I cannot find the "IP" command on my gentoo system, just ifconfig. Does anyone know what I need to emerge to get it?

Thanks, Jack
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Nov 11, 2006 8:30 pm    Post subject: Reply with quote

You need to configure the driver for your Ethernet card
Code:
   Device Drivers  --->
  Network device support  --->
[*] Network device support
    Ethernet (10 or 100Mbit)  --->
    Ethernet (1000 Mbit)  --->
Go into the appropriate section (10 or 100Mbit) or (1000 Mbit) and select the driver. If you are not sure, the Help will guide you.

For Sound, you don't need the Open Sound system, deselect it and the Intel driver. Go into "Advanced Linux Sound Architecture" and select the driver for your system (Intel ICH it seems) under "PCI devices"
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
jack014
n00b
n00b


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 1:18 pm    Post subject: Reply with quote

Thx for your reply wynn. I got the network interface (Marvell 88E8001 Gigabit Ethernet Controller) working now by using the "New SysKonnect GigaEthernet support" (SKGE) in -> Device Drivers -> Network device support -> Ethernet (1000 Mbit). Thanks a lot for your advice!

The sound is still not working: When I start KDE I get the message
Quote:
Informational - artsmessage
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such device)
The sound server will continue, using the null output device.


It is an onboard soundchip on my ASUS K8V SE Delux (00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) accoring to lspci). And I chose these options:
Sound -> Sound card support built-in
Sound -> no OOS
Sound -> ALSA built-in
Sound -> ALSA -> Support old ALSA API built-in
Sound -> ALSA -> Verbose procfs contents built-in
Sound -> ALSA -> PCI devices -> Intel/SiS/nVidia/AMD/ALi AC97 Controller built-in

I selected Sound & MM -> Sound System -> Hardware -> Audio device: ALSA in the KDE Control Center.

Thanks again,
Jack
Back to top
View user's profile Send private message
phuqmnb
n00b
n00b


Joined: 29 Mar 2005
Posts: 68

PostPosted: Sun Nov 12, 2006 2:17 pm    Post subject: Reply with quote

Emerging this worked for me

Code:
emerge alsa-utils


and then running

Code:
alsaconf


Check out this site as well, it has all you need to know:

http://www.gentoo.org/doc/en/alsa-guide.xml
Back to top
View user's profile Send private message
jack014
n00b
n00b


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 2:43 pm    Post subject: Reply with quote

alsaconf tells me that
Quote:
No supported PnP or PCI card found.
Would you like to proble legacy ISA sound cards/chips?

I said no since the soundchip wouldn't be listed when calling lspci if it was an ISA chip.

That's why I think it is a kernel issue and I messed something up with the kernel configuration. But I am happy for any hint, thx guys!

- Jack
Back to top
View user's profile Send private message
suicidal_orange_II
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 299

PostPosted: Sun Nov 12, 2006 2:49 pm    Post subject: Reply with quote

Your using the wrong sound card driver

<*> VIA 82C686A/B, 8233/8235 AC97 Controller (NEW)

Is the right one, this is in 2.6.18


Suicidal_Orange
Back to top
View user's profile Send private message
phuqmnb
n00b
n00b


Joined: 29 Mar 2005
Posts: 68

PostPosted: Sun Nov 12, 2006 2:52 pm    Post subject: Reply with quote

What do you get when you run

Code:
lspci -v | grep -i audio


Here is what mine looks like:

Code:
00:0c.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)


I just made sure there was support for the Audigy compiled into my kernel.
Back to top
View user's profile Send private message
jack014
n00b
n00b


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 5:23 pm    Post subject: Reply with quote

Hi guys,

thanks for the hint Suicidal_Orange. I recompiled and the KDE error-message didn't appear. However alsaconf still complains that it doesn't find a PnP or PCI card. :(

@phuqmnb: mine says 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum