From owner-freebsd-sparc64@FreeBSD.ORG Mon Nov 29 01:25:25 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F5C016A4CE for ; Mon, 29 Nov 2004 01:25:25 +0000 (GMT) Received: from labyrinth.cs.rogers.wave.ca (labyrinth.cs.rogers.wave.ca [24.112.32.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39E2543D46 for ; Mon, 29 Nov 2004 01:25:25 +0000 (GMT) (envelope-from auslander@labyrinth.cs.rogers.wave.ca) Received: from localhost (localhost [127.0.0.1]) by labyrinth.cs.rogers.wave.ca (Postfix) with ESMTP id 18B8D24F for ; Sun, 28 Nov 2004 20:25:24 -0500 (EST) Received: from labyrinth.cs.rogers.wave.ca ([127.0.0.1])port 10024) with ESMTP id 15670-06 for ; Sun, 28 Nov 2004 20:25:17 -0500 (EST) Received: by labyrinth.cs.rogers.wave.ca (Postfix, from userid 1001) id 81D7B248; Sun, 28 Nov 2004 20:25:17 -0500 (EST) Date: Sun, 28 Nov 2004 20:25:17 -0500 From: Charlie Livingston To: freebsd-sparc64@freebsd.org Message-ID: <20041129012517.GA2110@labyrinth.cs.rogers.wave.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new Subject: SBus PCMCIA Adapter X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 01:25:25 -0000 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@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: 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: on nexus0 sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type block (no driver attached) eeprom0: mem 0x1200000-0x1201fff on sbus0 eeprom0: model mk48t59 eeprom0: hostid 807ecd49 zs0: mem 0x1100000-0x1100003 irq 2024 on sbus0 zs0: [FAST] zstty0: on zs0 zstty0: console 9600,8,n,1,- zstty1: on zs0 sbus0: , type serial (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) esp0: mem 0x8810000-0x881003f,0x8800000-0x880000f irq 2016 on sbus0 esp0: [GIANT-LOCKED] esp0: FAS366/HME, 40MHz, SCSI ID 7 hme0: mem 0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 2017 on sbus0 miibus0: on hme0 nsphy0: 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: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) hme1: mem 0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 1996 on sbus0 miibus1: on hme1 nsphy1: 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: mem 0x8810000-0x881003f,0x8800000-0x880000f irq 1995 on sbus0 esp1: [GIANT-LOCKED] esp1: FAS366/HME, 40MHz, SCSI ID 7 nexus0: , 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: 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: 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: 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@sysninjas.com labels off of everything and let the http://sysninjas.com problem of stupidity solve itself" - Unknown Author