Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 18:12:06 -0500
From:      Jonathan Pennington <john@coastalgeology.org>
To:        freebsd-mobile@freebsd.org
Subject:   pccard ethernet IRQ conflict?
Message-ID:  <20001221181206.C968@coastalgeology.org>

next in thread | raw e-mail | index | archive | help

--/Uq4LBwYP4y1W6pO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've got a bit of a problem with the DE-660 pccard running on my Dell
Inspiron 5000 with 4.1-RELEASE.

Basically, the there's no network traffic on my RJ-45 hub. The lights
on the dongle are lit, but not on the hub. ping sends packets out, but
they dissolve into the, well, into the ether :-)

Others have mentioned something about IRQ conflicts causing this type
of behavior. The card is at IRQ 9, kernel has "device ed" currently,
but the same behavior presented with device specified as ed0, ed1 and
those with options (ie. ed0 at isa?, ed0 at isa? disable irq 3... etc)

If this behavior is generally IRQ, and there are no conflicting IRQs,
how do I find the problem?

Thanks,
-J (I'm not subscribed to -mobile, but will check in with the archives)

dmesg, /etc/pccard.conf, kernel config and rc.conf are attached as
pccard ASCII file.
-- 
Jonathan Pennington		| http://coastalgeology.org
Site Manager			| Protection and stewardship
CoastalGeology.Org (CGO)	| through public education.
john@coastalgeology.org		| Join CGO, make a difference.
--/Uq4LBwYP4y1W6pO
Content-Type: text/plain; charset=us-ascii
Content-Description: pccard
Content-Disposition: attachment; filename=pccard

Copyright (c) 1992-2000 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.1-RELEASE #13: Thu Dec 21 17:22:55 EST 2000
    root@vulcan.coastalgeology.org:/usr/src/sys/compile/MYKERNEL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (597.41-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 134217728 (131072K bytes)
avail memory = 127004672 (124028K bytes)
Preloaded elf kernel "kernel" at 0xc037b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc037b09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Another Math emulator already present
Cannot unload another math emulator
module_register_init: MOD_LOAD (gnufpu, c023df10, 0) error 13
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 11
pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> at device 4.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> at device 4.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 5 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port 1 power on failed, IOERROR
uhub0: port 2 power on failed, IOERROR
chip1: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
chip2: <ESS Technology Maestro 2E Audio controller> port 0x1400-0x14ff irq 5 at device 8.0 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
ad0: 11513MB <HITACHI_DK23AA-12> [23392/16/63] at ata0-master using UDMA33
afd0: 96MB <IOMEGA ZIP 100 ATAPI> [96/64/32] at ata1-master using PIO0
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
module_register: module nfs already exists!
linker_file_sysinit "nfs.ko" failed to register! 17
logo_saver: no suitable graphics mode
module_register_init: MOD_LOAD (logo_saver, c0ba9a60, 0) error 19
ed0 at port 0x240-0x25f irq 9 slot 0 on pccard0
ed0: address 00:80:c8:8b:e7:31, type NE2000 (16 bit) 

--------------------

# D-Link DE-660 NE2000 clone
card "D-Link" "DE-660"
	config	0x20 "ed0" 9
	insert  echo D-Link 660 Ethernet inserted
	insert	/etc/pccard_ether $device
	remove  echo D-Link 660 Ethernet removed
	remove	/sbin/ifconfig $device delete 

# Eiger 33.6 modem
card "AT&T" "V34+ Fax Modem"
	config	0x23 "sio" ?

# Eiger PCCARD modem 
# Apparently this modem does not work unless the recommended
# init string (AT&F&C1&D2) is supplied.
card "PCMCIA  " "33.6K Fax/Modem  "
	config	23 "sio" ?

--------------------

/usr/src/sys/i386/conf/MYKERNEL

machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
options 	NO_F00F_HACK
options 	MAXMEM="(128*1024)"

ident		MYKERNEL
maxusers	32

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

options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	ROOTDEVNAME=\"ufs:da0s1a\"
options 	GPL_MATH_EMULATE	#Support for x87 emulation via
					#new math emulator
options 	COMPAT_43
options 	USER_LDT		#allow user-level control of i386 ldt
options 	MATH_EMULATE		#Support for x87 emulation

options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support

options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required

options 	PROCFS			#Process filesystem
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

options 	COMPAT_LINUX
options 	EXT2FS

device		isa
device		eisa
device		pci

device		pcm
device		sbc0	at isa? port 0x220 irq 5 drq 1 flags 0x15

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# 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
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# 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?

# splash screen/screen saver
pseudo-device	splash

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

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

# Power management support (see LINT for more options)
device		apm0    # Advanced Power Management

# PCCARD (PCMCIA) support
device		card
device		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
#device		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable

options 	PCIC_RESUME_RESET	# reset after resume
options 	POWERFAIL_NMI	# make it beep instead of panicing

device		smbus		# Bus support, required for smb below.
#device		intpm
device		smb


# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support

# ISA Ethernet NICs.
device ed

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)

pseudo-device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		scbus
device		da
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
# USB Ethernet, requires mii
device		aue		# ADMtek USB ethernet
device		cue		# CATC USB ethernet
device		kue		# Kawasaki LSI USB ethernet

options		INET
options 	IPX			#IPX/SPX communications protocols
options 	PPP_BSDCOMP		#PPP BSD-compress support
options 	PPP_DEFLATE		#PPP zlib/deflate/gzip support
options 	PPP_FILTER		#enable bpf filtering (needs bpf)

options 	TCP_COMPAT_42		#emulate 4.2BSD TCP bugs
options 	MROUTING		# Multicast routing
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options 	IPFIREWALL_FORWARD	#enable transparent proxy support
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
options 	IPV6FIREWALL		#firewall for IPv6
options 	IPV6FIREWALL_VERBOSE
options 	IPV6FIREWALL_VERBOSE_LIMIT=100
options 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
options 	IPDIVERT		#divert sockets
options 	IPFILTER		#ipfilter support
options 	IPFILTER_LOG		#ipfilter logging
options 	IPSTEALTH		#support for stealth forwarding
options 	TCPDEBUG

--/Uq4LBwYP4y1W6pO--


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




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