From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 5 18:25:53 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 15BD116A42D for ; Mon, 5 Dec 2005 18:25:53 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9805D43D80 for ; Mon, 5 Dec 2005 18:25:46 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so560271wxc for ; Mon, 05 Dec 2005 10:25:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=W9AL90tTVSSYSXDvIauwk579ozXXXefKe/Cdx9fidJVcyA7SzDe+HeGvTjIBJE8+SeS2Is2M6jSGBu9KYzrKTVXhJ4OkWNP3Tv/MG448N3fomIVFbXv5s9xOsC5SQadhaHRqrx25RZYFqL6izcVTfinJ0e1LJ6Zh+BTRHSKvjps= Received: by 10.70.74.13 with SMTP id w13mr7807675wxa; Mon, 05 Dec 2005 10:25:42 -0800 (PST) Received: by 10.70.100.8 with HTTP; Mon, 5 Dec 2005 10:25:42 -0800 (PST) Message-ID: <18f601940512051025g71b9fc29y4ae37eb3ce2629df@mail.gmail.com> Date: Mon, 5 Dec 2005 10:25:42 -0800 From: Aaron Glenn To: freebsd-sparc64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: serial ports on the Ultra 5 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 18:25:54 -0000 For the life of me I cannot get either serial port on one of my Ultra 5's to work in FreeBSD. I'll admit I don't quite grasp how the sio(4), puc(4), and sab(4) drivers intertwine (if at all...) and while /etc/ttys makes sense to me, I don't understand how to get or why I don't have a /dev entry for either of the serial ports. I am unable to console out or into the box; prior to FreeBSD 6.0 the machine had OpenBSD and the ports worked flawlessly, ruling out a hardware issue. The release notes say it should work, the sab(4) man pages says /dev/tty[a-b], /etc/ttys has an entry, dmesg says puc(4), and I can't make heads or tails of anything. I'm missing something important - can a kind soul point me to it? yang# uname -a FreeBSD yang.mzima.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Dec 4 20:25:47 PST 2005 =20 root@yang.mzima.net:/usr/src/sys/sparc64/compile/GENERIC sparc64 yang# dmesg Copyright (c) 1992-2005 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 6.0-RELEASE #0: Sun Dec 4 20:25:47 PST 2005 root@yang.mzima.net:/usr/src/sys/sparc64/compile/GENERIC Timecounter "tick" frequency 400000000 Hz quality 1000 real memory =3D 402653184 (384 MB) avail memory =3D 379232256 (361 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (400.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: mem 0xf0000000-0xf0ffffff,0xf1000000-0xf17fffff at device 1.0 on pci1 auxio0: addr 0x1400726000-0x1400726003,0x1400728000-0x1400728003,0x140072a000-0x140072a0= 03,0x140072c000-0x140072c003,0x140072f000-0x140072f003 on ebus0 ebus0: addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) puc0: addr 0x1400400000-0x140040007f irq 43 on ebus0 uart0: on puc0 uart0: CTS oflow uart1: on puc0 uart1: CTS oflow uart2: <16550 or compatible> addr 0x14003083f8-0x14003083ff irq 41 on ebus0 uart2: keyboard (1200,n,8,1) kbd0 at sunkbd0 uart3: <16550 or compatible> addr 0x14003062f8-0x14003062ff irq 42 on ebus0 ebus0: addr 0x14003043bc-0x14003043cb,0x140030015c-0x140030015d,0x1400700000-0x14007000= 0f irq 34 (no driver attached) ebus0: addr 0x14003023f0-0x14003023f7,0x1400706000-0x140070600f,0x1400720000-0x14007200= 03 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80f5201b ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400200000-0x14002000ff,0x1400702000-0x140070200f,0x1400704000-0x14007040= 0f,0x1400722000-0x1400722003 irq 35,36 (no driver attached) hme0: mem 0xe0000000-0xe0007fff at device 1.1 on = pci1 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:f5:20:1b machfb0: mem 0xe1000000-0xe1ffffff,0xe2000000-0xe2000fff at device 2.0 on pci1 machfb0: console machfb0: 16 MB aperture at 0xd18ea000, 1 KB registers at 0xe17ffc00 machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz, DSP machfb0: resolution 1152x900 at 8 bpp atapci0: port 0xc00000-0xc00007,0xc00008-0xc0000b,0xc00010-0xc00017,0xc00018-0xc0001b,0xc= 00020-0xc0002f at device 3.0 on pci1 ata2: on atapci0 ata3: on atapci0 pcib2: at device 1.0 on pci0 pci2: on pcib2 pcib3: at device 1.0 on pci2 pci3: on pcib3 pci3: at device 0.0 (no driver attached) hme1: mem 0x2800000-0x2807fff at device 0.1 on pc= i3 miibus1: on hme1 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme1: Ethernet address: 08:00:20:f5:20:1b pci3: at device 1.0 (no driver attached) hme2: mem 0x4800000-0x4807fff at device 1.1 on pc= i3 miibus2: on hme2 ukphy1: on miibus2 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme2: Ethernet address: 08:00:20:f5:20:1b pci3: at device 2.0 (no driver attached) hme3: mem 0x6800000-0x6807fff at device 2.1 on pc= i3 miibus3: on hme3 ukphy2: on miibus3 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme3: Ethernet address: 08:00:20:f5:20:1b pci3: at device 3.0 (no driver attached) hme4: mem 0x8800000-0x8807fff at device 3.1 on pc= i3 miibus4: on hme4 ukphy3: on miibus4 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme4: Ethernet address: 08:00:20:f5:20:1b syscons0: on nexus0 syscons0: Unknown <16 virtual consoles, flags=3D0x300> Timecounters tick every 1.000 msec ad0: 19458MB at ata2-master WDMA2 acd0: CDRW at ata3-master PIO4 Trying to mount root from ufs:/dev/ad0a Please CC me as I'm not subscribed to the list. Thank you. aaron.glenn