Toon posts:

Frebsd kernel compileren ne200 kaart doet het niet

Pagina: 1
Acties:

Verwijderd

Topicstarter
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.34 2001/08/12 13:13:46 joerg Exp $

machine     i386
cpu     I686_CPU
ident       GENERIC
maxusers    10

#makeoptions    DEBUG=-g        #Build kernel with gdb(1) debug symbols

options  INET           #InterNETworking
options  INET6          #IPv6 communications protocols
options  FFS            #Berkeley Fast Filesystem
options  FFS_ROOT       #FFS usable as root device [keep this!]
options  SOFTUPDATES        #Enable FFS soft updates support
options  MFS            #Memory Filesystem
options  MD_ROOT            #MD is a potential root device
options  MSDOSFS            #MSDOS Filesystem
options  CD9660         #ISO 9660 Filesystem
options  CD9660_ROOT        #CD-ROM usable as root, CD9660 required
options  PROCFS         #Process filesystem
options  COMPAT_43      #Compatible with BSD 4.3 [KEEP THIS!]
options  UCONSOLE       #Allow users to grab the console
options  USERCONFIG     #boot -c editor
options  VISUAL_USERCONFIG  #visual boot -c editor
options  KTRACE         #ktrace(1) support
options  SYSVSHM            #SYSV-style shared memory
options  SYSVMSG            #SYSV-style message queues
options  SYSVSEM            #SYSV-style semaphores
options  P1003_1B       #Posix P1003_1B real-time extensions
options  _KPOSIX_PRIORITY_SCHEDULING
options     ICMP_BANDLIM        #Rate limit bad replies
options  KBD_INSTALL_CDEV   # install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed

device      isa
device      pci

# Floppy drives
device      fdc0    at isa? port IO_FD1 irq 6 drq 2
device      fd0 at fdc0 drive 0
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:


# ATA and ATAPI devices
device      ata0    at isa? port IO_WD1 irq 14
device      ata1    at isa? port IO_WD2 irq 15
device      ata
device      atadisk         # ATA disk drives
device      atapicd         # ATAPI CDROM drives
device      atapifd         # ATAPI floppy drives
options    ATA_STATIC_ID

# SCSI Controllers

# atkbdc0 controls both the keyboard and the PS/2 mouse
device      atkbdc0 at isa? port IO_KBD
device      atkbd0  at atkbdc? irq 1 flags 0x1
device      psm0    at atkbdc? irq 12

device      vga0    at isa?


# syscons is the default console driver, resembling an SCO console
device      sc0 at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device     vt0 at isa?
#options     XSERVER            # support for X server on a vt console
#options     FAT_CURSOR     # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options     PCVT_SCANSET=2     # IBM keyboards are non-std

# Floating point support - do not disable.
device      npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)


# PCCARD (PCMCIA) support


# Parallel port
device      ppbus       # Parallel port bus (required)
device      lpt     # Printer
device      ppi     # Parallel port interface device



# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
device      ed0
device      miibus
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop        # Network loopback
pseudo-device   ether       # Ethernet support
pseudo-device   pty     # Pseudo-ttys (telnet etc)
pseudo-device   md      # Memory "disks"
pseudo-device   gif     # IPv6 and IPv4 tunneling
pseudo-device   faith   1   # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf     #Berkeley packet filter

device pcm

Dit is mijn kernel config file.
Met de standaard kernel van freebsd doet mijn netwerkaart ne2000 comp. pnp het wel.
Maar met mijn eigen kernel doet hij het niet?

Wat is er aan de hand?

Alvast bedankt

Verwijderd

Ik heb ook ooit 's zoiets gehad en door een beetje te spelen met de opties en devices kwam het uiteindelijk goed.

Wat voor kaart (lees: merk/chipset) heb je? Misschien dat je niet ed0 moet hebben maar bv. rl of rl0 (als ie bestaat).

Misschien stomme vraag maar heb je in je rc.conf je kaart ge-ifconfig-ed?

Succes!


[extra]
Ik heb net mijn eigen kernelconfig er even bijgepakt, mijn ed0 device heb ik alsvolgt er instaan:
code:
1
2
3
4
5
6
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device      miibus      # MII bus support
# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
device      ed0     at isa? port 0x220 irq 5 iomem 0xd8000

Misschien kun je hier wat mee?
[/extra]

Verwijderd

Topicstarter
Op woensdag 23 januari 2002 15:21 schreef willblack het volgende:
Ik heb ook ooit 's zoiets gehad en door een beetje te spelen met de opties en devices kwam het uiteindelijk goed.

Wat voor kaart (lees: merk/chipset) heb je? Misschien dat je niet ed0 moet hebben maar bv. rl of rl0 (als ie bestaat).

Misschien stomme vraag maar heb je in je rc.conf je kaart ge-ifconfig-ed?

Succes!
het is een onbekend merk ik wwet het merk niet meer maar ik weet zeker dat hij ne2000 comp is.
Ik heb hem onder windows ook altijd geinstalleerd als een ne2000 comb.

Verwijderd

Ok ... btw heb je die [extra] gezien? heb ik net toegevoegd ... ipv gewoon ed0 staat er achter ook waarop ie de kaart moet neerzetten, ik meende me te herinneren dat dat hetgene was waardoor ik ze kon gebruiken.

Verwijderd

Topicstarter
Op woensdag 23 januari 2002 15:33 schreef willblack het volgende:
Ok ... btw heb je die [extra] gezien? heb ik net toegevoegd ... ipv gewoon ed0 staat er achter ook waarop ie de kaart moet neerzetten, ik meende me te herinneren dat dat hetgene was waardoor ik ze kon gebruiken.
Ik heb alles geprobeert maar het lukt niet.
Wat jij zegt heb ik gedaan van pnp mode afgehaald etc.
Ik denk dat er toch een fout in de config file zit.

Want met de standaard kernel doet hij het wel.

Verwijderd

Topicstarter
Op woensdag 23 januari 2002 17:19 schreef M_KOS het volgende:

[..]

Ik heb alles geprobeert maar het lukt niet.
Wat jij zegt heb ik gedaan van pnp mode afgehaald etc.
Ik denk dat er toch een fout in de config file zit.

Want met de standaard kernel doet hij het wel.
niemand?

  • Prozaq
  • Registratie: Juni 2000
  • Laatst online: 06-08 13:03
Als je niet weet wat voor netwerkkaart het is, kopieer dan gewoon alle regels weer terug die je hebt weggehaald in je conf file mbt de netwerk devices.

Verwijderd

Topicstarter
Op woensdag 23 januari 2002 20:46 schreef Prozaq het volgende:
Als je niet weet wat voor netwerkkaart het is, kopieer dan gewoon alle regels weer terug die je hebt weggehaald in je conf file mbt de netwerk devices.
ik weet wel welke kaart het is maar het lukt mij gewoon niet om die kaart werkende te houden.

  • Prozaq
  • Registratie: Juni 2000
  • Laatst online: 06-08 13:03
boot je GENERIC kernel eens (staat als het goed is nog gewoon in je root), en kijk dan mbv welke driver je NIC wordt gedetecteerd. (met ifconfig)
Pagina: 1