SBus PCMCIA Adapter
Charlie Livingston
charlie at sysninjas.com
Sun Nov 28 17:25:25 PST 2004
I've got a Sun Ultra 1 (it may be an ultra 1E, i'm not sure) that i'm running
at home as a firewall/nat/server for my home LAN. It works flawlessly under
FreeBSD 5.3 except for one issue; For the life of me, I can't get the kernel
to recognise the SBus PCMCIA adapter that came installed in the machine.
I've added pcmcia/carbus support to the kernel and recompiled to no avail;
The kernel compiles cleanly without error, but dmesg still reports that the
device has no driver attached to it.
I've attached my kernel config and dmesg output below, is there something I'm
missing?
--- Start /usr/src/sys/sparc64/conf/WILLIE
# /usr/src/sys/sparc64/conf/WILLIE
#
# There's n'arry a creature alive that can outrun a greased scotsman!
#
machine sparc64
cpu SUN4U
ident WILLIE
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
# Platforms supported
# At this time all platforms are supported, as-is.
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Keep this for a while
options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
# Standard busses
device sbus
device pci
# SCSI Controllers
device esp # NCR53c9x (FEPS/FAS366)
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device ofw_console # Open Firmware console device
# Builtin hardware
device genclock # Generic clock interface
device eeprom # eeprom (really a front-end for the MK48Txx)
device "mk48txx" # Mostek MK48T02, MK48T08, MK48T59 clock
# Serial (COM) ports
device zs # Zilog 8530 based serial ports
# 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
device hme # Sun HME (Happy Meal Ethernet)
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
device random # Entropy device
device ether # Ethernet support
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device bpf # Berkeley packet filter
# Firewall Support
device pf # OpenBSD's PF firewall
device pflog # Logging Support
options ALTQ # ALTQ Queuing / Shaping support
# Wireless Support
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
device wlan
device wi
--- END /usr/src/sys/sparc64/conf/WILLIE
--- START /var/run/dmesg.boot
stray vector interrupt 2033
Copyright (c) 1992-2004 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 5.3-RELEASE #2: Wed Nov 10 19:05:49 EST 2004
root at willie.home.ath0.net:/usr/obj/usr/src/sys/WILLIE
Timecounter "tick" frequency 166996328 Hz quality 1000
real memory = 536870912 (512 MB)
avail memory = 507985920 (484 MB)
cpu0: Sun Microsystems UltraSparc-I Processor (167.00 MHz CPU)
nexus0: <Open Firmware Nexus device>
sbus0: clock 25.000 MHz
sbus dvma: DVMA map: 0xfc000000 to 0xffffffff
sbus0: [FAST]
sbus0: [FAST]
initializing counter-timer
Timecounter "counter-timer" frequency 1000000 Hz quality 100
sbus0: <U2S UPA-SBus bridge> on nexus0
sbus0: <SUNW,CS4231>, type (unknown) (no driver attached)
sbus0: <auxio>, type (unknown) (no driver attached)
sbus0: <flashprom>, type (unknown) (no driver attached)
sbus0: <SUNW,fdtwo>, type block (no driver attached)
eeprom0: <EEPROM/clock> mem 0x1200000-0x1201fff on sbus0
eeprom0: model mk48t59
eeprom0: hostid 807ecd49
zs0: <Zilog Z8530> mem 0x1100000-0x1100003 irq 2024 on sbus0
zs0: [FAST]
zstty0: <ttya> on zs0
zstty0: console 9600,8,n,1,-
zstty1: <ttyb> on zs0
sbus0: <zs>, type serial (no driver attached)
sbus0: <sc>, type (unknown) (no driver attached)
sbus0: <SUNW,pll>, type (unknown) (no driver attached)
esp0: <Sun FAS366 Fast-Wide SCSI> mem 0x8810000-0x881003f,0x8800000-0x880000f irq 2016 on sbus0
esp0: [GIANT-LOCKED]
esp0: FAS366/HME, 40MHz, SCSI ID 7
hme0: <Sun HME 10/100 Ethernet> mem
0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 2017 on sbus0
miibus0: <MII bus> on hme0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: Ethernet address: 08:00:20:7e:cd:49
hme0: if_start running deferred for Giant
hme0: [GIANT-LOCKED]
sbus0: <SUNW,bpp>, type (unknown) (no driver attached)
sbus0: <SUNW,pcmcia>, type (unknown) (no driver attached)
hme1: <Sun HME 10/100 Ethernet> mem
0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 1996 on sbus0
miibus1: <MII bus> on hme1
nsphy1: <DP83840 10/100 media interface> on miibus1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme1: Ethernet address: 08:00:20:7e:cd:49
hme1: if_start running deferred for Giant
hme1: [GIANT-LOCKED]
esp1: <Sun FAS366 Fast-Wide SCSI> mem 0x8810000-0x881003f,0x8800000-0x880000f irq 1995 on sbus0
esp1: [GIANT-LOCKED]
esp1: FAS366/HME, 40MHz, SCSI ID 7
nexus0: <SUNW,ffb>, type display (no driver attached)
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
cd0 at esp0 bus 0 target 6 lun 0
cd0: <NEC CD-ROM DRIVE:222 3.0i> Removable CD-ROM SCSI-2 device
cd0: 8.064MB/s transfers (8.064MHz, offset 15)
cd0: cd present [10256 x 2048 byte records]
da0 at esp0 bus 0 target 0 lun 0
da0: <HP 9.10GB C 80-P94N P94N> Fixed Direct Access SCSI-2 device
da0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
da1 at esp0 bus 0 target 1 lun 0
da1: <HP 9.10GB C 80-P94N P94N> Fixed Direct Access SCSI-2 device
da1: 20.000MB/s transfers (10.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da1a
--- END /var/run/dmesg.boot
Is there something I'm missing in my kernel config?
--
___//____\\___//____\\___\\___//____\\___//____\\___//____\\___//____\\
Charlie Livingston "What we need to do is take the warning
charlie at sysninjas.com labels off of everything and let the
http://sysninjas.com problem of stupidity solve itself"
- Unknown Author
More information about the freebsd-sparc64
mailing list