Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 22:09:56 -0800
From:      "Jesse Geddis" <sgeine@yahoo.com>
To:        "FreeBSD-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   ed pccard
Message-ID:  <NGBBKILMGLGEDIHMGJANEEIHCAAA.sgeine@yahoo.com>

next in thread | raw e-mail | index | archive | help
	I'm having a problem with my linksys on an older laptop in a custom kernel. I
can get it working with kernel.GENERIC below I will paste my custom kernel
config and the dmesg output from my custom kernel as well as kernel.GENERIC in
the hopes someone can see something I did wrong. basically what happens with my
custom kernel is it appears that everything works. I don't get any errors aside
from the fact that I can't route. ifconfig, netstat -rn both show up correctly.
but it doesn't route correctly. here is custom kernel config followed by the
dmesg from kernel.GENERIC then the custom kernel. please let me know if you
notice any inconsistencies. the only difference I can see is the name of the
interface changes and I have accounted for this in rc.conf. GENERIC is ed1
custom is ed0. this is in slot0 and should be ed0 imho. I will also include my
rc.conf at the very end. I don't really have any daemons running right now.
pccard is irq11
ed is irq10

thanks in advance.

machine         i386
cpu             I486_CPU
maxusers        32
ident           SKYE

options         INET
options         FFS
options         FFS_ROOT
options         SOFTUPDATES
options         MFS
options         MFS_ROOT
options         NFS
options         NFS_ROOT
options         CD9660
options         CD9660_ROOT
options         PROCFS
options         COMPAT_43
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         RANDOM_IP_ID
options         ICMP_BANDLIM
options         TCP_DROP_SYNFIN
options         IPSEC
options         QUOTA
options         INCLUDE_CONFIG_FILE

device          isa
device          eisa
device          card
device          miibus
device          ata

#device         fdc0    at isa? port IO_FD1 irq 6 drq 2
#device         fd0
device          ata0 at isa? port IO_WD1 irq 14
device          ata1 at isa? port IO_WD2 irq 15
device          atadisk
device          atapicd
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          vga0

device          npx0    at nexus? port IO_NPX irq 13
device          pcic0   at isa? irq 0 port 0x3e0 iomem 0xd0000
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          ppc0    at isa? irq 7
device          ppbus
device          lpt
device          ppi
device          sc0     at isa?
device          ed

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty
pseudo-device   disc
pseudo-device   gzip

dmesg output from kernel.GENERIC

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001
    murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Am5x86 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4  Stepping = 4
  Features=0x1<FPU>
real memory  = 33554432 (32768K bytes)
avail memory = 28196864 (27536K bytes)
Preloaded elf kernel "kernel.GENERIC" at 0xc0480000.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
isa0: <ISA bus> on motherboard
orm0: <Option ROMs> at iomem 0xe0000-0xe9fff,0xea000-0xeffff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0: <Cirrus logic 672x> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master BIOSPIO
acd0: CDROM <CD-44E> at ata1-master using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 10 slot 0 on pccard0
ed1: address 00:e0:98:00:5e:11, type Linksys (16 bit)
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

and the info from /kernel (could only get the syslog entries)

Feb 27 05:47:17 skye /kernel: Copyright (c) 1992-2001 The FreeBSD Project.
Feb 27 05:47:17 skye /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
Feb 27 05:47:17 skye /kernel: The Regents of the University of California. All
rights reserved.
Feb 27 05:47:17 skye /kernel: FreeBSD 4.4-RELEASE #0: Wed Feb 27 02:24:21 GMT
2002
Feb 27 05:47:17 skye /kernel: sgeine@skye.sgeine.net:/usr/src/sys/compile/SKYE
Feb 27 05:47:17 skye /kernel: Timecounter "i8254"  frequency 1193182 Hz
Feb 27 05:47:17 skye /kernel: CPU: AMD Am5x86 Write-Back (486-class CPU)
Feb 27 05:47:17 skye /kernel: Origin = "AuthenticAMD"  Id = 0x4f4  Stepping = 4
Feb 27 05:47:17 skye /kernel: Features=0x1<FPU>
Feb 27 05:47:17 skye /kernel: real memory  = 33554432 (32768K bytes)
Feb 27 05:47:17 skye /kernel: avail memory = 29921280 (29220K bytes)
Feb 27 05:47:17 skye /kernel: Preloaded elf kernel "kernel" at 0xc02db000.
Feb 27 05:47:17 skye /kernel: Preloaded userconfig_script "/boot/kernel.conf" at
0xc02db09c.
Feb 27 05:47:17 skye /kernel: npx0: <math processor> on motherboard
Feb 27 05:47:17 skye /kernel: npx0: INT 16 interface
Feb 27 05:47:17 skye /kernel: isa0: <ISA bus> on motherboard
Feb 27 05:47:17 skye /kernel: orm0: <Option ROMs> at iomem
0xe0000-0xe9fff,0xea000-0xeffff on isa0
Feb 27 05:47:17 skye /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Feb 27 05:47:17 skye /kernel: ata1 at port 0x170-0x177,0x376 irq 15 on isa0
Feb 27 05:47:17 skye /kernel: atkbdc0: <Keyboard controller (i8042)> at port
0x60,0x64 on isa0
Feb 27 05:47:17 skye /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Feb 27 05:47:17 skye /kernel: pcic0: <Cirrus logic 672x> at port 0x3e0 iomem
0xd0000 on isa0
Feb 27 05:47:17 skye /kernel: pcic0: Polling mode
Feb 27 05:47:17 skye /kernel: pccard0: <PC Card bus (classic)> on pcic0
Feb 27 05:47:17 skye /kernel: pccard1: <PC Card bus (classic)> on pcic0
Feb 27 05:47:17 skye /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Feb 27 05:47:17 skye /kernel: sio0: type 16550A
Feb 27 05:47:17 skye /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on
isa0
Feb 27 05:47:17 skye /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in
COMPATIBLE mode
Feb 27 05:47:17 skye /kernel: lpt0: <Printer> on ppbus0
Feb 27 05:47:17 skye /kernel: lpt0: Interrupt-driven port
Feb 27 05:47:17 skye /kernel: ppi0: <Parallel I/O> on ppbus0
Feb 27 05:47:17 skye /kernel: sc0: <System console> on isa0
Feb 27 05:47:17 skye /kernel: sc0: VGA <16 virtual consoles, flags=0x200>
Feb 27 05:47:17 skye /kernel: IP packet filtering initialized, divert disabled,
rule-based forwarding disabled, default to deny, logging limited to 100
packets/entry by default
Feb 27 05:47:17 skye /kernel: IPsec: Initialized Security Association
Processing.
Feb 27 05:47:17 skye /kernel: ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at
ata0-master BIOSPIO
Feb 27 05:47:17 skye /kernel: acd0: CDROM <CD-44E> at ata1-master using BIOSPIO
Feb 27 05:47:17 skye /kernel: Mounting root from ufs:/dev/ad0s1a
Feb 27 05:47:17 skye /kernel: pccard: card inserted, slot 0
Feb 27 05:47:17 skye /kernel: ed0 at port 0x300-0x31f irq 10 slot 0 on pccard0
Feb 27 05:47:17 skye /kernel: ed0: address 00:e0:98:00:5e:11, type Linksys (16
bit)
Feb 27 05:47:17 skye /kernel: lxtphy0: <LXT970 10/100 media interface> on
miibus0
Feb 27 05:47:17 skye /kernel: lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT,
10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

rc.conf
# Network Config
network_interfaces="lo0 ed0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_ed0="inet 192.168.1.6  netmask 255.255.255.0"
defaultrouter="192.168.1.1"
hostname="skye.sgeine.net"
tcp_extensions="YES"

# PC Card Config
pccard_enable="YES"
pccard_mem="DEFAULT"
pccardd_flags="-z -i 10"
#pccard_config="/etc/pccardd.conf"
pccard_ifconfig="inet 192.168.1.6 netmask 255.255.255.0"

# Security
accounting_enable="YES"
check_quotas="YES"
clear_tmp_enable="YES"
enable_quotas="YES"
firewall_enable="NO"
firewall_type="UNKNOWN"
icmp_drop_redirect="YES"
icmp_bmcastecho="NO"
ipsec_enable="NO"
kern_securelevel_enable="NO"
portmap_enable="NO"
rpc_lockd_enable="NO"
rpc_statd_enable="NO"
tcp_keepalive="YES"
#tcp_drop_synfin="YES"

# NIS
nis_client_enable="NO"
nis_server_enable="NO"
nis_yppasswdd_enable="NO"
nis_ypxfrd_enable="NO"

# Daemons
cron_enable="YES"
inetd_enable="YES"
inetd_flags="-wW"
lpd_enable="NO"
named_enable="NO"
named_flags="-u bind -g bind -t /var/named -c named.conf"
ntpdate_enable="YES"
ntpdate_flags="tick.usno.navy.mil"
sendmail_enable="NO"
sendmail_flags="-bd -q30"
sshd_enable="NO"

# Misc.
font8x8="swiss-8x8"
font8x14="NO"
font8x16="swiss-8x16"
ipv6_enable="NO"
linux_enable="YES"
update_motd="YES"


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NGBBKILMGLGEDIHMGJANEEIHCAAA.sgeine>