From owner-freebsd-sparc64@FreeBSD.ORG Sun Sep 28 19:44:07 2003 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 1834B16A4B3 for ; Sun, 28 Sep 2003 19:44:07 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A13A244005 for ; Sun, 28 Sep 2003 19:44:05 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id E713537865B for ; Mon, 29 Sep 2003 11:44:02 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h8T2i2Qj028308 for ; Mon, 29 Sep 2003 11:44:02 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AKP19816; Mon, 29 Sep 2003 11:44:02 +0900 (JST) Date: Mon, 29 Sep 2003 11:44:02 +0900 Message-ID: From: Hidetoshi Shimokawa To: freebsd-sparc@freebsd.org User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 02:44:07 -0000 I have a problem with handling of pbuf on sparc64. My driver's strategy() routine will write pbuf by CPU rather than DMA by the device. I confirmed that the pbuf is mapped in pmap_qenter() but I got a vm_fault for the access to the pbuf. pmap_qenter: sva=0xc8862000, va=0xc8864000 ### <- pbuf is mapped bio_data=0xc8862f2c ### <- strategy() data=0xc8862f2c ### <- callback panic: vm_fault: fault on nofault entry, addr: c8862000 cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> trace panic() at panic+0x174 vm_fault() at vm_fault+0xf74 trap_pfault() at trap_pfault+0x180 trap() at trap+0x260 -- fast data access mmu miss tar=0xc8862000 %o7=0xc181b248 -- fw_rcv_copy() at fw_rcv_copy+0x12c fw_rcv() at fw_rcv+0xc0 fwohci_arcv() at fwohci_arcv+0x414 fwohci_intr_body() at fwohci_intr_body+0x380 fwohci_complete() at fwohci_complete+0x3c taskqueue_run() at taskqueue_run+0x70 taskqueue_swi_giant_run() at taskqueue_swi_giant_run+0x8 ithread_loop() at ithread_loop+0x1a8 fork_exit() at fork_exit+0x9c fork_trampoline() at fork_trampoline+0x8 I'm using -current at 2003/08/22 and no problem on i386. Do I miss someting? Any helps appreciated. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-sparc64@FreeBSD.ORG Tue Sep 30 16:59:01 2003 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 D794D16A4B3 for ; Tue, 30 Sep 2003 16:59:01 -0700 (PDT) Received: from sparc.larkowski.net (d60-65-211-142.col.wideopenwest.com [65.60.142.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 917E543FDD for ; Tue, 30 Sep 2003 16:59:00 -0700 (PDT) (envelope-from peter@larkowski.net) Received: from larkowski.net (mac.larkowski.net [192.168.1.99]) by sparc.larkowski.net (8.12.9/8.12.8) with ESMTP id h8UNwxkX019111 for ; Tue, 30 Sep 2003 19:58:59 -0400 (EDT) Date: Tue, 30 Sep 2003 19:58:59 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Peter Larkowski To: freebsd-sparc64@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <497C527E-F13D-11D7-BCC6-003065707958@larkowski.net> Message-Id: <0EE62349-F3A2-11D7-BCC6-003065707958@larkowski.net> X-Mailer: Apple Mail (2.552) Subject: getty on the serial console 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: Tue, 30 Sep 2003 23:59:02 -0000 Hi again, I never managed to get the 5.1 cd booted successfully on my ultra AXe, but I did do a buildworld to RELENG_5_1 from 9-28. After the upgrade, the machine boots to the end of the kernel messages *mounting root from /dev/da0a", and then I got "PID ?? (fsck_ufs) exited on signal 8" twice, and then nothing more on the serial console. THe machine continued booting normally (I assume anyway, as I could log in via ssh). After a subsequent buildworld, buildkernel, install everything, mergemaster, etc, to CURRENT from 9-29, I get all the startup messages (ssh, sendmail, etc) until the login prompt. The last thing printed is the date. Again, everything else is fine. getty is running. Any ideas why I don't have login prompt on the serial console? -p On Saturday, September 27, 2003, at 06:52 PM, Peter Larkowski wrote: > Hi again: > > Just as a follow up, on my Ultra AXe, it doesn't make any difference > if this is an IDE cdrom or a SCSI cdrom. Also, dd'ing the boot.flp to > the front of a hard drive produces the same results: The system hangs > on 5.1-RELEASE with no useful messages when "Mounting root from > UFS:/dev/md0" Again, the 5.0-RELEASE cd works. Suggestions? > > Thanks in advance. > -p > > > On Thursday, September 25, 2003, at 10:57 AM, peter@larkowski.net > wrote: > >> Hi everyone. >> >> I have 5.0-RELEASE installed on my sparcengine ultra AXe. I haven't >> messed with it in months and was going to try and upgrade it to >> something >> more recent. First I tried a make buildworld with CURRENT sources >> from a >> couple days ago (9-23 or 9-22, I don't remember), but I got some >> errors. >> I could have missed something in UPDATING, I don't really know. >> >> In any case, I decided to reinstall with UFS2 and just in general get >> a >> fresh start since it's been so long since I messed with this machine. >> The >> 5.1 cd gets to mounting root from /dev/md0 and hangs. There was a >> thread >> about this same problem on an ultra 10 some months ago, but it was >> never >> resolved afaik and turned into an argument about blocking entire dsl >> subnets to stop spam :) Anyway, does anyone have any suggestions for >> getting 5.1 or -current on my sparc? I'm using an LSI logic SCSI >> card and >> the cdrom is a an external plextor that does boot the 5.0 disc just >> fine >> (I checked again last night). >> >> Thanks, >> -p >> >> >> _______________________________________________ >> freebsd-sparc64@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 >> To unsubscribe, send any mail to >> "freebsd-sparc64-unsubscribe@freebsd.org" >> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Peter Larkowski > mailto: peter@larkowski.net > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to > "freebsd-sparc64-unsubscribe@freebsd.org" > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Peter Larkowski mailto: peter@larkowski.net "To announce that there must be no criticism of the President, or that we are to stand by the President, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." --Theodore Roosevelt, Republican, 26th President of the United States From owner-freebsd-sparc64@FreeBSD.ORG Tue Sep 30 17:25:37 2003 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 5B8D216A4B3 for ; Tue, 30 Sep 2003 17:25:37 -0700 (PDT) Received: from sparc.larkowski.net (d60-65-211-142.col.wideopenwest.com [65.60.142.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id E136E43FF5 for ; Tue, 30 Sep 2003 17:25:35 -0700 (PDT) (envelope-from peter@larkowski.net) Received: from larkowski.net (mac.larkowski.net [192.168.1.99]) by sparc.larkowski.net (8.12.9/8.12.8) with ESMTP id h910PZkX014270 for ; Tue, 30 Sep 2003 20:25:35 -0400 (EDT) Date: Tue, 30 Sep 2003 20:25:34 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Peter Larkowski To: freebsd-sparc64@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <0EE62349-F3A2-11D7-BCC6-003065707958@larkowski.net> Message-Id: X-Mailer: Apple Mail (2.552) Subject: Re: getty on the serial console 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: Wed, 01 Oct 2003 00:25:37 -0000 Sorry for the unnecessary post. I figured it out. I need to run the getty on /dev/console and not /dev/ttya and then it works, even though /dev/ttya is the serial port in question. I'm still not sure why I didn't get messages past mounting root when I was running 5.1-RELEASE, but -CURRENT seems to have fixed a few problems on the Ultra-AXe. -p On Tuesday, September 30, 2003, at 07:58 PM, Peter Larkowski wrote: > Hi again, > > I never managed to get the 5.1 cd booted successfully on my ultra AXe, > but I did do a buildworld to RELENG_5_1 from 9-28. After the upgrade, > the machine boots to the end of the kernel messages *mounting root > from /dev/da0a", and then I got "PID ?? (fsck_ufs) exited on signal 8" > twice, and then nothing more on the serial console. THe machine > continued booting normally (I assume anyway, as I could log in via > ssh). > > After a subsequent buildworld, buildkernel, install everything, > mergemaster, etc, to CURRENT from 9-29, I get all the startup messages > (ssh, sendmail, etc) until the login prompt. The last thing printed > is the date. Again, everything else is fine. getty is running. > > Any ideas why I don't have login prompt on the serial console? > > -p > > > On Saturday, September 27, 2003, at 06:52 PM, Peter Larkowski wrote: > >> Hi again: >> >> Just as a follow up, on my Ultra AXe, it doesn't make any difference >> if this is an IDE cdrom or a SCSI cdrom. Also, dd'ing the boot.flp >> to the front of a hard drive produces the same results: The system >> hangs on 5.1-RELEASE with no useful messages when "Mounting root from >> UFS:/dev/md0" Again, the 5.0-RELEASE cd works. Suggestions? >> >> Thanks in advance. >> -p >> >> >> On Thursday, September 25, 2003, at 10:57 AM, peter@larkowski.net >> wrote: >> >>> Hi everyone. >>> >>> I have 5.0-RELEASE installed on my sparcengine ultra AXe. I haven't >>> messed with it in months and was going to try and upgrade it to >>> something >>> more recent. First I tried a make buildworld with CURRENT sources >>> from a >>> couple days ago (9-23 or 9-22, I don't remember), but I got some >>> errors. >>> I could have missed something in UPDATING, I don't really know. >>> >>> In any case, I decided to reinstall with UFS2 and just in general >>> get a >>> fresh start since it's been so long since I messed with this >>> machine. The >>> 5.1 cd gets to mounting root from /dev/md0 and hangs. There was a >>> thread >>> about this same problem on an ultra 10 some months ago, but it was >>> never >>> resolved afaik and turned into an argument about blocking entire dsl >>> subnets to stop spam :) Anyway, does anyone have any suggestions for >>> getting 5.1 or -current on my sparc? I'm using an LSI logic SCSI >>> card and >>> the cdrom is a an external plextor that does boot the 5.0 disc just >>> fine >>> (I checked again last night). >>> >>> Thanks, >>> -p >>> >>> >>> _______________________________________________ >>> freebsd-sparc64@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 >>> To unsubscribe, send any mail to >>> "freebsd-sparc64-unsubscribe@freebsd.org" >>> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> Peter Larkowski >> mailto: peter@larkowski.net >> >> _______________________________________________ >> freebsd-sparc64@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 >> To unsubscribe, send any mail to >> "freebsd-sparc64-unsubscribe@freebsd.org" >> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Peter Larkowski > mailto: peter@larkowski.net > > "To announce that there must be no criticism of the President, or that > we are to stand by the President, right or wrong, is not only > unpatriotic and servile, but is morally treasonable to the American > public." > > --Theodore Roosevelt, Republican, 26th President of the United States > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to > "freebsd-sparc64-unsubscribe@freebsd.org" > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Peter Larkowski mailto: peter@larkowski.net From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 06:13:27 2003 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 109C116A4B3; Wed, 1 Oct 2003 06:13:27 -0700 (PDT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E585D43FAF; Wed, 1 Oct 2003 06:13:24 -0700 (PDT) (envelope-from des@des.no) Received: from smtp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id 6C4817906C; Wed, 1 Oct 2003 15:13:22 +0200 (MEST) Received: by smtp.des.no (Pony Express, from userid 666) id E41229C0A0; Wed, 1 Oct 2003 15:13:21 +0200 (CEST) Received: from dwp.des.no (dwp.des.no [10.0.0.4]) by smtp.des.no (Pony Express) with ESMTP id 124B59C0A8; Wed, 1 Oct 2003 15:13:16 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id D9598B84A; Wed, 1 Oct 2003 15:13:15 +0200 (CEST) To: sparc64@freebsd.org From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Wed, 01 Oct 2003 15:13:15 +0200 Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Status: No, hits=-0.4 required=8.0 tests=MIME_SUSPECT_NAME,USER_AGENT_GNUS_UA version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: sos@freebsd.org Subject: ata dma problems with recent -CURRENT 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: Wed, 01 Oct 2003 13:13:27 -0000 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I recently installed 5.1-RELEASE on an Ultra 5, and proceeded to upgrade it to -CURRENT (sources from about two days ago). The IDE controller doesn't seem to support DMA; in 5.1-RELEASE, the ata driver would time out a couple of times, then decide to fall back to PIO3. However, with -CURRENT, the ata driver panics trying to dereference 0xdeadc0de: ad0: FAILURE - READ_DMA status=3D1 error=3D0 dma=3D0xff panic: trap: memory address not aligned Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> where panic() at panic+0xf0 trap() at trap+0x394 -- memory address not aligned sfar=3D0xdedeadc0de sfsr=3D0x40029 %o7=3D0xc0= 040d54 -- ata_timeout() at ata_timeout+0x20 softclock() at softclock+0x1a0 ithread_loop() at ithread_loop+0x1a8 fork_exit() at fork_exit+0x9c fork_trampoline() at fork_trampoline+0x8 I've attached an excerpt from the serial console log, showing both the panic and a successful boot of the same kernel (with hw.ata.ata_dma disabled in loader.conf). I've also attached a disassembly of ata_timeout(); unfortunately, I couldn't get objdump to show source code line numbers. However, I *think* the trap occurred on the following line: if (request->device->channel->running =3D=3D NULL) { and if I read the assembler code correctly, it is request->device which is 0xdeadc0de. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no --=-=-= Content-Disposition: attachment; filename=console.txt Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz), Keyboard Present OpenBoot 3.11, 128 MB memory installed, Serial #10251117. Ethernet address 8:0:20:9c:6b:6d, Host ID: 809c6b6d. Rebooting with command: boot /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot loader: /boot/loader Console: OpenFirmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 (des@ultra.des.no, Tue Sep 30 19:26:54 CEST 2003) bootpath="/pci@1f,0/pci@1,1/ide@3/disk@0,0:a" Loading /boot/defaults/loader.conf /boot/ultra/kernel data=0x217c08+0x47568 syms=[0x8+0x3edd8+0x8+0x32803] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/ultra/kernel] in 9 seconds... Type '?' for a list of commands, 'help' for more detailed help. OK set hw.ata.ata_dma="1" OK boot -s nothing to autoload yet. jumping to kernel entry at 0xc0038000. Copyright (c) 1992-2003 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.1-CURRENT #3: Wed Oct 1 12:58:34 CEST 2003 des@ultra.des.no:/usr/src/sys/sparc64/compile/ultra Preloaded elf kernel "/boot/ultra/kernel" at 0xc02d4000. Timecounter "tick" frequency 269840937 Hz quality 0 real memory = 134217728 (128 MB) avail memory = 117710848 (112 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (269.84 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [FAST] DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: revision 0x01 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at dev ice 1.0 on pci1 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072 a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sab0: [FAST] sabtty0: on sab0 sabtty1: on sab0 sabtty1: console 9600,8,n,1,- ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x1400304 3bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x1400 3023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 809c6b6d ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x 1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 hme0: Ethernet address: 08:00:20:9c:6b:6d miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 2.0 (no driver attached) atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc 00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1 atapci0: [MPSAFE] ata2: at 0xc00000 on atapci0 ata2: [MPSAFE] ata3: at 0xc00010 on atapci0 ata3: [MPSAFE] pcib2: at device 1.0 on pci0 pci2: on pcib2 Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xfffff8000076a8c0 ad0: 9641MB [19590/16/63] at ata2-master WDMA2 acd0: CDROM at ata3-master PIO3 ad0: FAILURE - READ_DMA status=1 error=0 dma=0xff panic: trap: memory address not aligned Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> where panic() at panic+0xf0 trap() at trap+0x394 -- memory address not aligned sfar=0xdedeadc0de sfsr=0x40029 %o7=0xc0040d54 -- ata_timeout() at ata_timeout+0x20 softclock() at softclock+0x1a0 ithread_loop() at ithread_loop+0x1a8 fork_exit() at fork_exit+0x9c fork_trampoline() at fork_trampoline+0x8 db> call cpu_reset Resetting ... Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz), Keyboard Present OpenBoot 3.11, 128 MB memory installed, Serial #10251117. Ethernet address 8:0:20:9c:6b:6d, Host ID: 809c6b6d. Rebooting with command: boot /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot loader: /boot/loader Console: OpenFirmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 (des@ultra.des.no, Tue Sep 30 19:26:54 CEST 2003) bootpath="/pci@1f,0/pci@1,1/ide@3/disk@0,0:a" Loading /boot/defaults/loader.conf /boot/ultra/kernel data=0x217c08+0x47568 syms=[0x8+0x3edd8+0x8+0x32803] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/ultra/kernel]... nothing to autoload yet. jumping to kernel entry at 0xc0038000. Copyright (c) 1992-2003 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.1-CURRENT #3: Wed Oct 1 12:58:34 CEST 2003 des@ultra.des.no:/usr/src/sys/sparc64/compile/ultra Preloaded elf kernel "/boot/ultra/kernel" at 0xc02d4000. Timecounter "tick" frequency 269840937 Hz quality 0 real memory = 134217728 (128 MB) avail memory = 117710848 (112 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (269.84 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [FAST] DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: revision 0x01 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at dev ice 1.0 on pci1 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072 a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sab0: [FAST] sabtty0: on sab0 sabtty1: on sab0 sabtty1: console 9600,8,n,1,- ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x1400304 3bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x1400 3023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 809c6b6d ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x 1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 hme0: Ethernet address: 08:00:20:9c:6b:6d miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 2.0 (no driver attached) atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc 00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1 atapci0: [MPSAFE] ata2: at 0xc00000 on atapci0 ata2: [MPSAFE] ata3: at 0xc00010 on atapci0 ata3: [MPSAFE] pcib2: at device 1.0 on pci0 pci2: on pcib2 Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xfffff8000076a8c0 ad0: 9641MB [19590/16/63] at ata2-master PIO4 acd0: CDROM at ata3-master PIO3 Mounting root from ufs:/dev/ad0a Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point. swapon: adding /dev/ad0b as swap device Starting file system checks: /dev/ad0a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0a: clean, 68918 free (278 frags, 8580 blocks, 0.2% fragmentation) /dev/ad0d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0d: clean, 127056 free (24 frags, 15879 blocks, 0.0% fragmentation) /dev/ad0f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0f: clean, 3539005 free (7293 frags, 441464 blocks, 0.2% fragmentation) /dev/ad0e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0e: clean, 126708 free (68 frags, 15830 blocks, 0.1% fragmentation) Setting hostname: ultra.des.no. hme0: flags=8843 mtu 1500 inet 192.168.0.183 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::a00:20ff:fe9c:6b6d%hme0 prefixlen 64 tentative scopeid 0x1 ether 08:00:20:9c:6b:6d media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 192.168.0.1 Additional routing options:. hw.bus.devctl_disable: 0 -> 1 Mounting NFS file systems:. Starting syslogd. Oct 1 14:43:57 ultra syslogd: kernel boot file is /boot/ultra/kernel Starting ntpdate. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib Starting local daemons:. Updating motd. Starting ntpd. Starting sshd. Initial sparc64 initialization:. Additional ABI support:. Starting cron. Local package initialization:. Local package initialization:. Additional TCP options:. Additional TCP options:. route: writing to routing socket: File exists add net default: gateway 192.168.0.1: File exists Additional routing options:. Starting background file system checks in 60 seconds. Wed Oct 1 14:44:07 CEST 2003 FreeBSD/sparc64 (ultra.des.no) (ttyb) login: --=-=-= Content-Disposition: attachment; filename=ata_timeout.s 0000000000001060 : ata_timeout(): 1060: 9d e3 bf 40 save %sp, -192, %sp 1064: c0 76 20 58 clrx [ %i0 + 0x58 ] 1068: c2 5e 00 00 ldx [ %i0 ], %g1 106c: d0 58 40 00 ldx [ %g1 ], %o0 1070: c2 5a 21 30 ldx [ %o0 + 0x130 ], %g1 1074: 9f c0 40 00 call %g1 1078: 01 00 00 00 nop 107c: c2 5e 00 00 ldx [ %i0 ], %g1 1080: c2 58 40 00 ldx [ %g1 ], %g1 1084: c2 58 62 80 ldx [ %g1 + 0x280 ], %g1 1088: 0a c8 40 0f brnz %g1, 10c4 108c: c2 06 20 40 ld [ %i0 + 0x40 ], %g1 1090: 82 08 60 20 and %g1, 0x20, %g1 1094: 80 a0 60 00 cmp %g1, 0 1098: 12 48 00 46 bne %icc, 11b0 109c: 01 00 00 00 nop 10a0: 40 00 00 00 call 10a0 10a0: R_SPARC_WDISP30 ata_cmd2str 10a4: 90 10 00 18 mov %i0, %o0 10a8: 94 10 00 08 mov %o0, %o2 10ac: d0 5e 00 00 ldx [ %i0 ], %o0 10b0: 13 00 00 00 sethi %hi(0), %o1 10b0: R_SPARC_HI22 .rodata.str1.8+0x278 10b4: 40 00 00 00 call 10b4 10b4: R_SPARC_WDISP30 ata_prtdev 10b8: 92 12 60 00 mov %o1, %o1 ! 0 10b8: R_SPARC_LO10 .rodata.str1.8+0x278 10bc: 10 68 00 3d b %xcc, 11b0 10c0: 01 00 00 00 nop 10c4: 82 08 60 40 and %g1, 0x40, %g1 10c8: 80 a0 60 00 cmp %g1, 0 10cc: 02 48 00 09 be %icc, 10f0 10d0: c2 5e 00 00 ldx [ %i0 ], %g1 10d4: d0 58 40 00 ldx [ %g1 ], %o0 10d8: c2 5a 21 38 ldx [ %o0 + 0x138 ], %g1 10dc: c2 58 60 68 ldx [ %g1 + 0x68 ], %g1 10e0: 9f c0 40 00 call %g1 10e4: 01 00 00 00 nop 10e8: d0 2e 20 2a stb %o0, [ %i0 + 0x2a ] 10ec: c2 5e 00 00 ldx [ %i0 ], %g1 10f0: 40 00 00 00 call 10f0 10f0: R_SPARC_WDISP30 ata_reinit 10f4: d0 58 40 00 ldx [ %g1 ], %o0 10f8: c2 06 20 50 ld [ %i0 + 0x50 ], %g1 10fc: 84 10 00 01 mov %g1, %g2 1100: 82 00 7f ff add %g1, -1, %g1 1104: 80 a0 a0 00 cmp %g2, 0 1108: 04 40 00 1e ble,pn %icc, 1180 110c: c2 26 20 50 st %g1, [ %i0 + 0x50 ] 1110: c2 06 20 40 ld [ %i0 + 0x40 ], %g1 1114: 82 08 60 20 and %g1, 0x20, %g1 1118: 80 a0 60 00 cmp %g1, 0 111c: 32 48 00 12 bne,a %icc, 1164 1120: c2 06 20 40 ld [ %i0 + 0x40 ], %g1 1124: 40 00 00 00 call 1124 1124: R_SPARC_WDISP30 ata_cmd2str 1128: 90 10 00 18 mov %i0, %o0 112c: 94 10 00 08 mov %o0, %o2 1130: c4 06 20 50 ld [ %i0 + 0x50 ], %g2 1134: 97 38 a0 00 sra %g2, 0, %o3 1138: 03 00 00 00 sethi %hi(0), %g1 1138: R_SPARC_HI22 .rodata.str1.8+0x2a8 113c: 80 a0 a0 01 cmp %g2, 1 1140: 02 40 00 04 be,pn %icc, 1150 1144: 98 10 60 00 mov %g1, %o4 1144: R_SPARC_LO10 .rodata.str1.8+0x2a8 1148: 03 00 00 00 sethi %hi(0), %g1 1148: R_SPARC_HI22 .rodata.str1.8+0x2b0 114c: 98 10 60 00 mov %g1, %o4 ! 0 114c: R_SPARC_LO10 .rodata.str1.8+0x2b0 1150: d0 5e 00 00 ldx [ %i0 ], %o0 1154: 13 00 00 00 sethi %hi(0), %o1 1154: R_SPARC_HI22 .rodata.str1.8+0x2b8 1158: 40 00 00 00 call 1158 1158: R_SPARC_WDISP30 ata_prtdev 115c: 92 12 60 00 mov %o1, %o1 ! 0 115c: R_SPARC_LO10 .rodata.str1.8+0x2b8 1160: c2 06 20 40 ld [ %i0 + 0x40 ], %g1 1164: 82 10 66 00 or %g1, 0x600, %g1 1168: 82 08 77 ff and %g1, -2049, %g1 116c: c2 26 20 40 st %g1, [ %i0 + 0x40 ] 1170: 40 00 00 00 call 1170 1170: R_SPARC_WDISP30 ata_queue_request 1174: 90 10 00 18 mov %i0, %o0 1178: 10 68 00 0e b %xcc, 11b0 117c: 01 00 00 00 nop 1180: 82 10 20 01 mov 1, %g1 ! 1 1184: c2 2e 20 28 stb %g1, [ %i0 + 0x28 ] 1188: c0 26 20 70 clr [ %i0 + 0x70 ] 118c: c0 26 20 74 clr [ %i0 + 0x74 ] 1190: 03 00 00 00 sethi %hi(0), %g1 1190: R_SPARC_HI22 .text+0xd60 1194: 82 10 60 00 mov %g1, %g1 ! 0 1194: R_SPARC_LO10 .text+0xd60 1198: c2 76 20 78 stx %g1, [ %i0 + 0x78 ] 119c: f0 76 20 80 stx %i0, [ %i0 + 0x80 ] 11a0: 92 06 20 68 add %i0, 0x68, %o1 11a4: 03 00 00 00 sethi %hi(0), %g1 11a4: R_SPARC_HI22 taskqueue_swi 11a8: 40 00 00 00 call 11a8 11a8: R_SPARC_WDISP30 taskqueue_enqueue 11ac: d0 58 60 00 ldx [ %g1 ], %o0 11ac: R_SPARC_LO10 taskqueue_swi 11b0: 01 00 00 00 nop 11b4: 81 cf e0 08 rett %i7 + 8 11b8: 01 00 00 00 nop 11bc: 01 00 00 00 nop --=-=-=-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 06:48:15 2003 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 EEED516A4B3; Wed, 1 Oct 2003 06:48:15 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC29044005; Wed, 1 Oct 2003 06:48:12 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.9/8.12.9) with ESMTP id h91Dm9Kg034395; Wed, 1 Oct 2003 15:48:09 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9/Submit) id h91Dm8ET034394; Wed, 1 Oct 2003 15:48:08 +0200 (CEST) From: Soren Schmidt Message-Id: <200310011348.h91Dm8ET034394@spider.deepcore.dk> In-Reply-To: To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Date: Wed, 1 Oct 2003 15:48:08 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: sos@FreeBSD.ORG cc: sparc64@FreeBSD.ORG Subject: Re: ata dma problems with recent -CURRENT 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: Wed, 01 Oct 2003 13:48:16 -0000 It seems Dag-Erling Smørgrav wrote: Its a known one, I'm going to disable that peice of code soon if I dont find a good solution to the problem... > I recently installed 5.1-RELEASE on an Ultra 5, and proceeded to > upgrade it to -CURRENT (sources from about two days ago). The IDE > controller doesn't seem to support DMA; in 5.1-RELEASE, the ata driver > would time out a couple of times, then decide to fall back to PIO3. > However, with -CURRENT, the ata driver panics trying to dereference > 0xdeadc0de: > > ad0: FAILURE - READ_DMA status=1 error=0 dma=0xff > panic: trap: memory address not aligned > Debugger("panic") > Stopped at Debugger+0x1c: ta %xcc, 1 > db> where > panic() at panic+0xf0 > trap() at trap+0x394 > -- memory address not aligned sfar=0xdedeadc0de sfsr=0x40029 %o7=0xc0040d54 -- > ata_timeout() at ata_timeout+0x20 > softclock() at softclock+0x1a0 > ithread_loop() at ithread_loop+0x1a8 > fork_exit() at fork_exit+0x9c > fork_trampoline() at fork_trampoline+0x8 > > I've attached an excerpt from the serial console log, showing both the > panic and a successful boot of the same kernel (with hw.ata.ata_dma > disabled in loader.conf). I've also attached a disassembly of > ata_timeout(); unfortunately, I couldn't get objdump to show source > code line numbers. However, I *think* the trap occurred on the > following line: > > if (request->device->channel->running == NULL) { > > and if I read the assembler code correctly, it is request->device > which is 0xdeadc0de. > > DES > -- > Dag-Erling Smørgrav - des@des.no > [ Attachment, skipping... ] [ Attachment, skipping... ] -Søren From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 07:41:14 2003 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 3738116A4BF for ; Wed, 1 Oct 2003 07:41:14 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 17A0343F93 for ; Wed, 1 Oct 2003 07:41:12 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 22736 invoked by uid 65534); 1 Oct 2003 14:41:09 -0000 Received: from p508E5C19.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.92.25) by mail.gmx.net (mp027) with SMTP; 01 Oct 2003 16:41:09 +0200 X-Authenticated: #5374206 Received: by galatea (Postfix, from userid 1001) id 4E872BC; Wed, 1 Oct 2003 16:41:31 +0200 (CEST) Date: Wed, 1 Oct 2003 16:41:31 +0200 From: Thomas Moestl To: Hidetoshi Shimokawa Message-ID: <20031001144131.GB746@timesink.dyndns.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-sparc@freebsd.org Subject: Re: vm_fault for pbuf on sparc64 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: Wed, 01 Oct 2003 14:41:14 -0000 On Mon, 2003/09/29 at 11:44:02 +0900, Hidetoshi Shimokawa wrote: > I have a problem with handling of pbuf on sparc64. > My driver's strategy() routine will write pbuf by CPU rather > than DMA by the device. I confirmed that the pbuf is mapped in > pmap_qenter() but I got a vm_fault for the access to the pbuf. Hmmm. Can you please post the code in question, so that I can take a look? - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 08:58:15 2003 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 2852C16A4B3 for ; Wed, 1 Oct 2003 08:58:15 -0700 (PDT) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8F143F75 for ; Wed, 1 Oct 2003 08:58:13 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 24FAB21828C for ; Thu, 2 Oct 2003 00:58:11 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h91FwBhN019222; Thu, 2 Oct 2003 00:58:11 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AKQ61459; Thu, 2 Oct 2003 00:58:10 +0900 (JST) Date: Thu, 02 Oct 2003 00:58:10 +0900 Message-ID: From: Hidetoshi Shimokawa To: Thomas Moestl In-Reply-To: <20031001144131.GB746@timesink.dyndns.org> References: <20031001144131.GB746@timesink.dyndns.org> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 15:58:15 -0000 At Wed, 1 Oct 2003 16:41:31 +0200, Thomas Moestl wrote: > > On Mon, 2003/09/29 at 11:44:02 +0900, Hidetoshi Shimokawa wrote: > > I have a problem with handling of pbuf on sparc64. > > My driver's strategy() routine will write pbuf by CPU rather > > than DMA by the device. I confirmed that the pbuf is mapped in > > pmap_qenter() but I got a vm_fault for the access to the pbuf. > > Hmmm. Can you please post the code in question, so that I can take a > look? > > - Thomas The code is in p4. fwmem_strategy() is in: //depot/user/simokawa/firewire/sys/dev/firewire/fwmem.c callback routine is called from: //depot/user/simokawa/firewire/sys/dev/firewire/fwochi.c //depot/user/simokawa/firewire/sys/dev/firewire/firewire.c Is there any way to investigate page table in DDB? Thanks, /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 10:11:56 2003 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 6711216A4B3 for ; Wed, 1 Oct 2003 10:11:56 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A759743FB1 for ; Wed, 1 Oct 2003 10:11:54 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 14864 invoked by uid 65534); 1 Oct 2003 17:11:53 -0000 Received: from p508E5C19.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.92.25) by mail.gmx.net (mp004) with SMTP; 01 Oct 2003 19:11:53 +0200 X-Authenticated: #5374206 Received: by galatea (Postfix, from userid 1001) id 5749CBC; Wed, 1 Oct 2003 19:12:15 +0200 (CEST) Date: Wed, 1 Oct 2003 19:12:15 +0200 From: Thomas Moestl To: Hidetoshi Shimokawa Message-ID: <20031001171214.GC746@timesink.dyndns.org> References: <20031001144131.GB746@timesink.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-sparc@freebsd.org Subject: Re: vm_fault for pbuf on sparc64 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: Wed, 01 Oct 2003 17:11:56 -0000 On Thu, 2003/10/02 at 00:58:10 +0900, Hidetoshi Shimokawa wrote: > At Wed, 1 Oct 2003 16:41:31 +0200, > Thomas Moestl wrote: > > > > On Mon, 2003/09/29 at 11:44:02 +0900, Hidetoshi Shimokawa wrote: > > > I have a problem with handling of pbuf on sparc64. > > > My driver's strategy() routine will write pbuf by CPU rather > > > than DMA by the device. I confirmed that the pbuf is mapped in > > > pmap_qenter() but I got a vm_fault for the access to the pbuf. > > > > Hmmm. Can you please post the code in question, so that I can take a > > look? > > > > - Thomas > > The code is in p4. > fwmem_strategy() is in: > //depot/user/simokawa/firewire/sys/dev/firewire/fwmem.c > callback routine is called from: > //depot/user/simokawa/firewire/sys/dev/firewire/fwochi.c > //depot/user/simokawa/firewire/sys/dev/firewire/firewire.c Hmmm, this looks like a bug in the driver: static void fw_strategy(struct bio *bp) { dev_t dev; dev = bp->bio_dev; if (DEV_FWMEM(dev)) fwmem_strategy(bp); bp->bio_error = EOPNOTSUPP; bp->bio_flags |= BIO_ERROR; bp->bio_resid = bp->bio_bcount; biodone(bp); } There's a missing return after your call fwmem_strategy(), so you flag the buffer with B_DONE immediately (via biodone()). This causes physio() to not wait on the buffer, but to unmap it and proceed. It seems that the fwmem transfers are asynchronous, so, depending on the timing, the buffer can be accessed from the ISR after it has already been unmapped because of this. > Is there any way to investigate page table in DDB? No, except for doing it entirely by hand, which is rather tedious. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 13:25:39 2003 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 3DA7916A4B3 for ; Wed, 1 Oct 2003 13:25:39 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 134F643FD7 for ; Wed, 1 Oct 2003 13:25:38 -0700 (PDT) (envelope-from jason@monsterjam.org) Received: from monsterjam.org (cpe-024-211-161-206.nc.rr.com [24.211.161.206]) h91KNLVx004191 for ; Wed, 1 Oct 2003 16:23:21 -0400 (EDT) Received: (qmail 35496 invoked by uid 85); 1 Oct 2003 20:25:36 -0000 Received: from jason@monsterjam.org by beast by uid 82 with qmail-scanner-1.14 (clamscan: 0.54. Clear:. Processed in 1.229206 secs); 01 Oct 2003 20:25:36 -0000 Received: from unknown (HELO monsterjam.org) (127.0.0.1) by 0 with SMTP; 1 Oct 2003 20:25:34 -0000 Received: (from jason@localhost) by monsterjam.org (8.12.9/8.12.8/Submit) id h91KPWc4035486; Wed, 1 Oct 2003 16:25:32 -0400 (EDT) Date: Wed, 1 Oct 2003 16:25:32 -0400 From: Jason To: Garance A Drosihn Message-ID: <20031001202532.GB29124@monsterjam.org> References: <20030924202753.GB50850@monsterjam.org> <20030925113437.GA67406@monsterjam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: sparc64@freebsd.org Subject: Re: makeworld problem on sparc 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: Wed, 01 Oct 2003 20:25:39 -0000 well, did some more searching and finally found that this problem is happening because the date/time were not set correctly on the box im updating. after I ntpdate'd it to the current time, it finished the make buildworld successfully. Thought Id let yall know for next time. ;) btw, anyone know if linux emulation will ever come the the sparc platform? Jason On Fri, Sep 26, 2003 at 07:53:59PM -0400, Garance A Drosihn wrote: > At 7:34 AM -0400 9/25/03, Jason wrote: > >I did rm -Rf /usr/obj/src/* and redid the > >cvsup and make buildworld and got the same thing.. > > I just did a buildworld/installworld and it completed OK. > Did you do: rm -Rf /usr/obj/src/* > (which is what you said above), > > Or did you do: rm -Rf /usr/obj/usr/src/* > ? > > >my supfile looks like this: > > [...etc...] > > Well, your cvsup file looks pretty similar to mine, except > that where you have: > > >src-all > >#cvs-crypto > > I have: > src-all > src-crypto > src-secure > > I doubt that explains the errors you're seeing, though. I'm > not even sure there's any reason for me to include the extra > lines these days. > > I also use a different cvsup server (cvsup12.FreeBSD.org), > but I suspect we'd be hearing from more people if there was > a problem with cvsup16.FreeBSD.org. > > About all I can suggest right now is that you also try: > > rm -Rf /usr/src/contrib/gcc > rm -Rf /usr/obj/usr/src > > and then do another cvsup and buildworld. > > You wouldn't be running out of disk space would you? In > either /usr/src, /usr/obj or /tmp? What flags do you have > in /etc/make.conf? All I have in mine is: > > CFLAGS= -O -pipe > USA_RESIDENT= YES > WITHOUT_X11= YES > KERNCONF=Ultra10-GAD > > Apologies if none of this helps you much, but I can't do > much more than say "it's working for me, here...". > > -- > Garance Alistair Drosehn = gad@gilead.netel.rpi.edu > Senior Systems Programmer or gad@freebsd.org > Rensselaer Polytechnic Institute or drosih@rpi.edu > -- ================================================ | Jason Welsh jason@monsterjam.org | | http://monsterjam.org DSS PGP: 0x5E30CC98 | | gpg key: http://monsterjam.org/gpg/ | ================================================ From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 1 17:44:39 2003 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 9045016A4B3 for ; Wed, 1 Oct 2003 17:44:39 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE99743FE0 for ; Wed, 1 Oct 2003 17:44:37 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 8BDE9378378 for ; Thu, 2 Oct 2003 09:44:35 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h920iYM7013709; Thu, 2 Oct 2003 09:44:34 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AKQ80075; Thu, 2 Oct 2003 09:44:33 +0900 (JST) Date: Thu, 02 Oct 2003 09:44:33 +0900 Message-ID: From: Hidetoshi Shimokawa To: Thomas Moestl In-Reply-To: <20031001171214.GC746@timesink.dyndns.org> References: <20031001144131.GB746@timesink.dyndns.org> <20031001171214.GC746@timesink.dyndns.org> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 00:44:39 -0000 At Wed, 1 Oct 2003 19:12:15 +0200, Thomas Moestl wrote: > > On Thu, 2003/10/02 at 00:58:10 +0900, Hidetoshi Shimokawa wrote: > > At Wed, 1 Oct 2003 16:41:31 +0200, > > Thomas Moestl wrote: > > > > > > On Mon, 2003/09/29 at 11:44:02 +0900, Hidetoshi Shimokawa wrote: > > > > I have a problem with handling of pbuf on sparc64. > > > > My driver's strategy() routine will write pbuf by CPU rather > > > > than DMA by the device. I confirmed that the pbuf is mapped in > > > > pmap_qenter() but I got a vm_fault for the access to the pbuf. > > > > > > Hmmm. Can you please post the code in question, so that I can take a > > > look? > > > > > > - Thomas > > > > The code is in p4. > > fwmem_strategy() is in: > > //depot/user/simokawa/firewire/sys/dev/firewire/fwmem.c > > callback routine is called from: > > //depot/user/simokawa/firewire/sys/dev/firewire/fwochi.c > > //depot/user/simokawa/firewire/sys/dev/firewire/firewire.c > > Hmmm, this looks like a bug in the driver: > > static void > fw_strategy(struct bio *bp) > { > dev_t dev; > > dev = bp->bio_dev; > if (DEV_FWMEM(dev)) > fwmem_strategy(bp); > > bp->bio_error = EOPNOTSUPP; > bp->bio_flags |= BIO_ERROR; > bp->bio_resid = bp->bio_bcount; > biodone(bp); > } > > There's a missing return after your call fwmem_strategy(), so you flag > the buffer with B_DONE immediately (via biodone()). This causes > physio() to not wait on the buffer, but to unmap it and proceed. It > seems that the fwmem transfers are asynchronous, so, depending on the > timing, the buffer can be accessed from the ISR after it has already > been unmapped because of this. Oops, you are right. I have forgotten to insert return when I added EOPNOTSUPP code. After inserting return, the problem goes away. Thank you very much for spotting this bug. Apparently, I was going in wrong direction X-) /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 01:08:56 2003 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 306AE16A4B3 for ; Thu, 2 Oct 2003 01:08:56 -0700 (PDT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2EA543FD7 for ; Thu, 2 Oct 2003 01:08:54 -0700 (PDT) (envelope-from des@des.no) Received: from smtp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id 7E1027990A for ; Thu, 2 Oct 2003 10:06:52 +0200 (MEST) Received: by smtp.des.no (Pony Express, from userid 666) id 480F29C663; Thu, 2 Oct 2003 10:06:52 +0200 (CEST) Received: from dwp.des.no (dwp.des.no [10.0.0.4]) by smtp.des.no (Pony Express) with ESMTP id C9B369C667 for ; Thu, 2 Oct 2003 10:06:45 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id A4DC3B84A; Thu, 2 Oct 2003 10:06:45 +0200 (CEST) To: sparc64@freebsd.org From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Thu, 02 Oct 2003 10:06:45 +0200 Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-0.5 required=8.0 tests=USER_AGENT_GNUS_UA version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: nmap fails to build on recent -CURRENT 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: Thu, 02 Oct 2003 08:08:56 -0000 > [...] > cc -c -O -pipe -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=3D= \"0.01\" -I../include nsock_event.c -o nsock_event.o > {standard input}: Assembler messages: > {standard input}:441: Error: relocation overflow > *** Error code 1 >=20 > Stop in /usr/ports/security/nmap/work/nmap-3.46/nsock/src. Seems like a compiler bug. Any ideas / suggestions? DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 03:37:52 2003 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 0B74916A4B3 for ; Thu, 2 Oct 2003 03:37:52 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id E157F43FCB for ; Thu, 2 Oct 2003 03:37:46 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id BF59966D32; Thu, 2 Oct 2003 03:37:37 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 93DF77F5; Thu, 2 Oct 2003 03:37:37 -0700 (PDT) Date: Thu, 2 Oct 2003 03:37:37 -0700 From: Kris Kennaway To: Dag-Erling Sm?rgrav Message-ID: <20031002103737.GA17673@rot13.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: sparc64@freebsd.org Subject: Re: nmap fails to build on recent -CURRENT 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: Thu, 02 Oct 2003 10:37:52 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 02, 2003 at 10:06:45AM +0200, Dag-Erling Sm?rgrav wrote: > > [...] > > cc -c -O -pipe -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= =3D\"0.01\" -I../include nsock_event.c -o nsock_event.o > > {standard input}: Assembler messages: > > {standard input}:441: Error: relocation overflow > > *** Error code 1 > >=20 > > Stop in /usr/ports/security/nmap/work/nmap-3.46/nsock/src. >=20 > Seems like a compiler bug. Yep, this also kills some other port builds. It's been around for quite a while now - for example, there's a workaround in the XFree86 port. > Any ideas / suggestions? tmm has a patch that addresses it (see the archives), but I don't think it's been accepted by the gcc folks. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/e//xWry0BWjoQKURAs59AJ92zHS5R52V8ecVo5Ux4rd6zptyIgCfb3yv UrDSeRF3FmKKfPmA6y+Yeio= =ryiU -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 12:18:38 2003 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 1FBCF16A4B3 for ; Thu, 2 Oct 2003 12:18:38 -0700 (PDT) Received: from mail.icmc.usp.br (taba2.icmc.usp.br [143.107.231.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D388543FD7 for ; Thu, 2 Oct 2003 12:18:35 -0700 (PDT) (envelope-from dago@icmc.usp.br) Received: from icmc.usp.br (dago [143.107.231.55]) by mail.icmc.usp.br (8.12.9/8.12.9) with ESMTP id h92JGHG0029092 for ; Thu, 2 Oct 2003 16:16:17 -0300 (EST) Message-ID: <3F7C7A05.4060805@icmc.usp.br> Date: Thu, 02 Oct 2003 16:18:29 -0300 From: Dagoberto Carvalio Junior User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Question 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: Thu, 02 Oct 2003 19:18:38 -0000 Hello I have a station Sun SparcStation 5, and he would like to know if he sweats platform is compatible with FreeBSD. I like a lot of working with FreeBSD and I am not getting to install with the distribution 5.0-CURRENT. I thank. Dagoberto Carvalio Júnior Analyst of Systems University of São Paulo - Brazil -- ######################################################## Dagoberto Carvalio Junior - CCNA/CCAI/FCPF/FCPM/SCS Analista de Sistemas Instituto de Ciencias Matematicas e Computacao UNIVERSIDADE DE SAO PAULO Mail : dago@icmc.usp.br Tel : (16) 273-9652 ######################################################## From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 12:23:45 2003 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 87DA216A4B3 for ; Thu, 2 Oct 2003 12:23:45 -0700 (PDT) Received: from light.sdf.com (light.sdf.com [207.200.153.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 172AE43FEC for ; Thu, 2 Oct 2003 12:23:44 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by light.sdf.com with local-esmtp (Exim 4.22) id 1A593P-0007J5-VV; Thu, 02 Oct 2003 12:24:00 -0700 Date: Thu, 2 Oct 2003 12:23:59 -0700 (PDT) From: Tom To: Dagoberto Carvalio Junior In-Reply-To: <3F7C7A05.4060805@icmc.usp.br> Message-ID: <20031002122051.U82361@light.sdf.com> References: <3F7C7A05.4060805@icmc.usp.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-sparc@freebsd.org Subject: Re: Question 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: Thu, 02 Oct 2003 19:23:45 -0000 A Sparc5 will not work, as only Ultrasparc based Sun systems are supported. So an Ultra 5 is ok, but a Sparc 5 will not work. A Sparc5 is very slow. CPU is between 40 to 110Mhz. Tom On Thu, 2 Oct 2003, Dagoberto Carvalio Junior wrote: > Hello > > I have a station Sun SparcStation 5, and he would like to know if he > sweats platform is compatible with FreeBSD. I like a lot of working with > FreeBSD and I am not getting to install with the distribution 5.0-CURRENT= =2E > > I thank. > > Dagoberto Carvalio J=FAnior > Analyst of Systems > University of S=E3o Paulo - Brazil > > -- > ######################################################## > > Dagoberto Carvalio Junior - CCNA/CCAI/FCPF/FCPM/SCS > Analista de Sistemas > > Instituto de Ciencias Matematicas e Computacao > UNIVERSIDADE DE SAO PAULO > > Mail : dago@icmc.usp.br > Tel : (16) 273-9652 > > ######################################################## > > > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org= " > From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 2 13:03:38 2003 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 ADB3816A4B3 for ; Thu, 2 Oct 2003 13:03:38 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D71B43FE3 for ; Thu, 2 Oct 2003 13:03:37 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.9p1/8.12.9) with ESMTP id h92K3ZAp028977 for ; Thu, 2 Oct 2003 22:03:35 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.9p1/8.12.9/Submit) id h92K3Z48028976 for freebsd-sparc@freebsd.org; Thu, 2 Oct 2003 22:03:35 +0200 (CEST) (envelope-from wkb) Date: Thu, 2 Oct 2003 22:03:35 +0200 From: Wilko Bulte To: freebsd-sparc@freebsd.org Message-ID: <20031002200335.GA28961@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-PRERELEASE X-PGP: finger wilko@freebsd.org Subject: booting UE30 from cd? 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: Thu, 02 Oct 2003 20:03:38 -0000 Hi folks, As of today I have a UE30 available to play with. So please bear with me and answer some FreeBSD/sparc beginners questions :) : - Is the mininst-5.1 supposed to be bootable once I cdrecord it onto a CDR? I'm greeted by a 'Can't open boot device' -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte From owner-freebsd-sparc64@FreeBSD.ORG Fri Oct 3 10:07:41 2003 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 B268916A4B3 for ; Fri, 3 Oct 2003 10:07:41 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2502A43FFB for ; Fri, 3 Oct 2003 10:07:40 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.9p1/8.12.9) with ESMTP id h93H7cAp034275 for ; Fri, 3 Oct 2003 19:07:38 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.9p1/8.12.9/Submit) id h93H7cJ8034274 for freebsd-sparc@FreeBSD.ORG; Fri, 3 Oct 2003 19:07:38 +0200 (CEST) (envelope-from wkb) Date: Fri, 3 Oct 2003 19:07:38 +0200 From: Wilko Bulte To: freebsd-sparc@FreeBSD.ORG Message-ID: <20031003170738.GA34259@freebie.xs4all.nl> References: <20031002200335.GA28961@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031002200335.GA28961@freebie.xs4all.nl> User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-PRERELEASE X-PGP: finger wilko@freebsd.org Subject: Re: booting UE30 from cd? 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: Fri, 03 Oct 2003 17:07:41 -0000 On Thu, Oct 02, 2003 at 10:03:35PM +0200, Wilko Bulte wrote: > Hi folks, > > As of today I have a UE30 available to play with. > > So please bear with me and answer some FreeBSD/sparc > beginners questions :) : > > - Is the mininst-5.1 supposed to be bootable once I > cdrecord it onto a CDR? > I'm greeted by a 'Can't open boot device' Never mind.. dodgy hardware. I tried another UE30 and that works.. Wilko -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte From owner-freebsd-sparc64@FreeBSD.ORG Fri Oct 3 10:41:47 2003 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 EBF9616A4B3 for ; Fri, 3 Oct 2003 10:41:47 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8572443FE3 for ; Fri, 3 Oct 2003 10:41:43 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 27F5E66D80; Fri, 3 Oct 2003 10:41:43 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id E5085B64; Fri, 3 Oct 2003 10:41:42 -0700 (PDT) Date: Fri, 3 Oct 2003 10:41:42 -0700 From: Kris Kennaway To: Tom Message-ID: <20031003174142.GA54699@rot13.obsecurity.org> References: <3F7C7A05.4060805@icmc.usp.br> <20031002122051.U82361@light.sdf.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20031002122051.U82361@light.sdf.com> User-Agent: Mutt/1.4.1i cc: Dagoberto Carvalio Junior cc: freebsd-sparc@freebsd.org Subject: Re: Question 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: Fri, 03 Oct 2003 17:41:48 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 02, 2003 at 12:23:59PM -0700, Tom wrote: >=20 > A Sparc5 will not work, as only Ultrasparc based Sun systems are > supported. So an Ultra 5 is ok, but a Sparc 5 will not work. >=20 > A Sparc5 is very slow. CPU is between 40 to 110Mhz. However try NetBSD. Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/fbTWWry0BWjoQKURAsROAJ464fog84+Mp2HvWvMdHSHqYF77HwCg0d9Z wUDmGdGncEcLVX22/oN5Loc= =3Jpr -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From owner-freebsd-sparc64@FreeBSD.ORG Sat Oct 4 16:08:37 2003 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 7C7D816A4B3 for ; Sat, 4 Oct 2003 16:08:37 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBED043FEC for ; Sat, 4 Oct 2003 16:08:36 -0700 (PDT) (envelope-from richardcoleman@mindspring.com) Received: from c-24-98-233-138.atl.client2.attbi.com ([24.98.233.138] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (Exim 3.33 #1) id 1A5vVs-0003hY-00 for freebsd-sparc64@freebsd.org; Sat, 04 Oct 2003 16:08:36 -0700 Message-ID: <3F7F52F7.1030704@mindspring.com> Date: Sat, 04 Oct 2003 19:08:39 -0400 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 1ee258965991efcb0865379cdb43356e5e89bb4777695beb702e37df12b9c9ef4564d01396a6e76c79f2a23a89d39282350badd9bab72f9c350badd9bab72f9c Subject: updating to latest sources on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2003 23:08:37 -0000 I've just installed FreeBSD-5.1 on a Sun Netra T1 105. I was planning to use cvsup to update to -current. But when I checked the ftp servers for the cvsup package, I couldn't find it. Is this package not available for sparc64? How to people normally track -current on FreeBSD-sparc64? Richard Coleman From owner-freebsd-sparc64@FreeBSD.ORG Sat Oct 4 20:18:22 2003 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 F3FCA16A4B3 for ; Sat, 4 Oct 2003 20:18:21 -0700 (PDT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D84043FF5 for ; Sat, 4 Oct 2003 20:18:21 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.10/8.12.9) with ESMTP id h953IJIf012459; Sat, 4 Oct 2003 23:18:19 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3F7F52F7.1030704@mindspring.com> References: <3F7F52F7.1030704@mindspring.com> Date: Sat, 4 Oct 2003 23:18:17 -0400 To: richardcoleman@mindspring.com, freebsd-sparc64@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: updating to latest sources on sparc64 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: Sun, 05 Oct 2003 03:18:22 -0000 At 7:08 PM -0400 10/4/03, Richard Coleman wrote: >I've just installed FreeBSD-5.1 on a Sun Netra T1 105. >I was planning to use cvsup to update to -current. >But when I checked the ftp servers for the cvsup >package, I couldn't find it. I'm not sure why it wasn't where you expected it to be, but check: http://people.freebsd.org/~jdp/cvsup-sparc64/ -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-sparc64@FreeBSD.ORG Sat Oct 4 20:30:21 2003 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 1C50E16A4B3 for ; Sat, 4 Oct 2003 20:30:21 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A77843F3F for ; Sat, 4 Oct 2003 20:30:20 -0700 (PDT) (envelope-from richardcoleman@mindspring.com) Received: from c-24-98-233-138.atl.client2.attbi.com ([24.98.233.138] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (Exim 3.33 #1) id 1A5zb9-00075r-00 for freebsd-sparc64@freebsd.org; Sat, 04 Oct 2003 20:30:19 -0700 Message-ID: <3F7F904D.20803@mindspring.com> Date: Sat, 04 Oct 2003 23:30:21 -0400 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org References: <3F7F52F7.1030704@mindspring.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 1ee258965991efcb0865379cdb43356e5e89bb4777695beb702e37df12b9c9ef264d1f1684d23528ef1db6b97858b6f1350badd9bab72f9c350badd9bab72f9c Subject: Re: updating to latest sources on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2003 03:30:21 -0000 Garance A Drosihn wrote: > At 7:08 PM -0400 10/4/03, Richard Coleman wrote: > >> I've just installed FreeBSD-5.1 on a Sun Netra T1 105. >> I was planning to use cvsup to update to -current. >> But when I checked the ftp servers for the cvsup >> package, I couldn't find it. > > > I'm not sure why it wasn't where you expected it to be, > but check: > > http://people.freebsd.org/~jdp/cvsup-sparc64/ > For i386, I've always been able to find a binary package for cvsup in the directory "packages/net" under the particular release. For sparc64, there is no such binary package under either the 5.0 or 5.1 release directory. It's not a big deal, except that this contradicts the information in section A.5 (Using CVSup) of the handbook. But now I've got the binary from John's site. Thanks for the info. Richard Coleman