From nobody@FreeBSD.org  Thu May 30 16:17:03 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 09615DE9
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 May 2013 16:17:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id F04702BF
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 May 2013 16:17:02 +0000 (UTC)
Received: from oldred.FreeBSD.org ([127.0.1.6])
	by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4UGH2fC023890
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 May 2013 16:17:02 GMT
	(envelope-from nobody@oldred.FreeBSD.org)
Received: (from nobody@localhost)
	by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4UGH2ZT023889;
	Thu, 30 May 2013 16:17:02 GMT
	(envelope-from nobody)
Message-Id: <201305301617.r4UGH2ZT023889@oldred.FreeBSD.org>
Date: Thu, 30 May 2013 16:17:02 GMT
From: "Majdi S. Abbas" <msa@latt.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ATA DMA does not fall back on systems that misreport capability
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179113
>Category:       kern
>Synopsis:       [ata] ATA DMA does not fall back on systems that misreport capability
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mav
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 30 16:20:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Thu Jun  6 20:00:02 UTC 2013
>Originator:     Majdi S. Abbas
>Release:        9.1-RELEASE/i386
>Organization:
Lattice, L.L.C.
>Environment:
FreeBSD procyon.latt.net 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Wed May 29 16:01:42 UTC 2013     msa@procyon.latt.net:/usr/src/sys/i386/compile/NET4801  i386
>Description:
The system in question is a Soekris NET4801, running from a Kingston
CF card.  This CF card reports DMA capability, which the internal
PATA/CF adapter does not support.

As a result, when the kernel is booting, it will sit there and retry
UDMA_66 access to the drive indefinitely.  It claims to timeout after
the 5th retry, but will, in fact, retry continuously.
>How-To-Repeat:
Attempt to boot (or access media) on any system that has an PATA-CF
adapter that does not have the two additional pins required to support
DMA.
>Fix:
While disabling DMA by handing hw.ata.ata_dma=0 to the loader works,
NetBSD has an interesting approach here that requires no user intervention.

I installed NetBSD 6.1/i386 on the same machine as a test, and the NetBSD
kernel will attempt UDMA_66 3 times, and then fall back to UDMA_33,
attempt 3 times, and then fall back to PIO mode.  Something like this
may make sense for FreeBSD, as it will reduce failures to boot or access
media.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mav 
Responsible-Changed-By: adrian 
Responsible-Changed-When: Wed Jun 5 17:59:58 UTC 2013 
Responsible-Changed-Why:  
Punt this to mav@, as it's a CAM / ATA layer issue. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=179113 

From: Alexander Motin <mav@FreeBSD.org>
To: bug-followup@FreeBSD.org, msa@latt.net
Cc:  
Subject: Re: kern/179113: [ata] ATA DMA does not fall back on systems that
 misreport capability
Date: Wed, 05 Jun 2013 22:42:30 +0300

 Hi.
 
 Indeed, the NetBSD approach may be viable. The only argument against is 
 that now it is year 2013 and SATA specification strongly discourages 
 using PIO modes, while PATA is effectively gone now except some 
 remaining CF cards. But if somebody implement it for CAM ATA stack, I'll 
 be glad to make review and commit.
 
 -- 
 Alexander Motin

From: "Steven Hartland" <smh@freebsd.org>
To: <bug-followup@freebsd.org>,
	<msa@latt.net>
Cc:  
Subject: Re: kern/179113: [ata] ATA DMA does not fall back on systems that misreport capability
Date: Wed, 5 Jun 2013 22:51:18 +0100

 Could you post a pciconf -lv as well as a dmesg from a boot
 where you're seeing the issue and after you've disabled dma
 please.
 
     Regards
     Steve

From: "Majdi S. Abbas" <msa@latt.net>
To: Steven Hartland <smh@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/179113: [ata] ATA DMA does not fall back on systems that
 misreport capability
Date: Thu, 6 Jun 2013 15:49:32 -0400

 On Wed, Jun 05, 2013 at 10:51:18PM +0100, Steven Hartland wrote:
 > Could you post a pciconf -lv as well as a dmesg from a boot
 > where you're seeing the issue and after you've disabled dma
 > please.
 
 pciconf -lv:
 root@procyon:/root # pciconf -lv
 hostb0@pci0:0:0:0:	class=0x060000 card=0x00000000 chip=0x00011078
 rev=0x00 hdr=0x00
     vendor     = 'Cyrix Corporation'
     device     = 'PCI Master'
     class      = bridge
     subclass   = HOST-PCI
 sis0@pci0:0:6:0:	class=0x020000 card=0x0020100b chip=0x0020100b
 rev=0x00 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'DP83815 (MacPhyter) Ethernet Controller'
     class      = network
     subclass   = ethernet
 sis1@pci0:0:7:0:	class=0x020000 card=0x0020100b chip=0x0020100b
 rev=0x00 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'DP83815 (MacPhyter) Ethernet Controller'
     class      = network
     subclass   = ethernet
 sis2@pci0:0:8:0:	class=0x020000 card=0x0020100b chip=0x0020100b
 rev=0x00 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'DP83815 (MacPhyter) Ethernet Controller'
     class      = network
     subclass   = ethernet
 isab0@pci0:0:18:0:	class=0x060100 card=0x0500100b chip=0x0510100b
 rev=0x00 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'SC1100 Bridge'
     class      = bridge
     subclass   = PCI-ISA
 none0@pci0:0:18:1:	class=0x068000 card=0x0501100b chip=0x0511100b
 rev=0x00 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'SC1100 SMI & ACPI'
     class      = bridge
 atapci0@pci0:0:18:2:	class=0x010180 card=0x0502100b chip=0x0502100b
 rev=0x01 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'SCx200, SC1100 IDE controller'
     class      = mass storage
     subclass   = ATA
 none1@pci0:0:18:5:	class=0x068000 card=0x0505100b chip=0x0515100b
 rev=0x00 hdr=0x00
     vendor     = 'National Semiconductor Corporation'
     device     = 'SC1100 XBus'
     class      = bridge
 ohci0@pci0:0:19:0:	class=0x0c0310 card=0xa0f80e11 chip=0xa0f80e11
 rev=0x08 hdr=0x00
     vendor     = 'Compaq Computer Corporation'
     device     = 'ZFMicro Chipset USB'
     class      = serial bus
     subclass   = USB
 -snip-
 
 boot with issue:
 (setting hw.ata.ata_dma=1 via the loader)
 
 POST: 012345689bcefghipsajklnopqr,,,tvwxy
 
 
 
 
 
 
 
 
 comBIOS ver. 1.33  20080103  Copyright (C) 2000-2007 Soekris
 Engineering.
 
 net4801
 
 0128 Mbyte Memory                        CPU Geode SC1100 267 Mhz 
 
 Pri Mas  CF Card                         LBA Xlt 971-255-63  7807 Mbyte
 
 Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int 
 -------------------------------------------------------------------
 0:00:0 1078 0001 06000000 0107 0280 00 00 00 00000000 00000000 
 0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
 0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
 0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
 0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000 
 0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11
 
  1 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
  /boot/kernel/kernel text=0x3e6407 data=0x3fd6c+0x2b110
 syms=[0x4+0x4bf60+0x4+0x6d1fd]
 -
   ______               ____   _____ _____  
  |  ____|             |  _ \ / ____|  __ \ 
  | |___ _ __ ___  ___ | |_) | (___ | |  | |
  |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
  | |   | | |  __/  __/| |_) |____) | |__| |
  | |   | | |    |    ||     |      |      |
  |_|   |_|  \___|\___||____/|_____/|_____/    ```
 `
                                              s` `.....---.......--.```
 -/
  Welcome to FreeBSDͻ +o   .--`         /y:`
 +.
                                             yo`:.            :o
 `+-
    1. Boot [Enter]                           y/               -/`
 -o/
    2. [Esc]ape to loader prompt             .-
 ::/sy+:.
    3. Reboot                                /                     `--
 /
                                            `:
 :`
    Options:                                `:
 :`
    5. Safe [M]ode... off                    /
 /
    6. [S]ingle User. off                    .-
 -.
    7. [V]erbose..... off                     --
 -.
                                               `:`                  `:`
                                                 .--             `--.
                                                    .---.....----.
  ͼ
                                           
 
 To get back to the menu, type `menu' and press ENTER
 or type `boot' and press ENTER to start FreeBSD.
 
 
 
 Type '?' for a list of commands, 'help' for more detailed help.
 OK set hw.ata.ata_dma=1
 OK boot
 Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.1-RELEASE #2: Wed May 29 16:01:42 UTC 2013
     msa@procyon.latt.net:/usr/src/sys/i386/compile/NET4801 i386
 CPU: Geode(TM) Integrated Processor by National Semi (586-class CPU)
   Origin = "Geode by NSC"  Id = 0x540  Family = 5  Model = 4  Stepping =
 0
   Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
 real memory  = 134217728 (128 MB)
 avail memory = 121683968 (116 MB)
 kbd0 at kbdmux0
 pcib0 pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xe100-0xe1ff mem
 0xa0000000-0xa0000fff irq 10 at device 6.0 on pci0
 sis0: Silicon Revision: DP83816A
 miibus0: <MII bus> on sis0
 nsphyter0: <DP83815 10/100 media interface> PHY 0 on miibus0
 nsphyter0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sis0: Ethernet address: 00:00:24:c2:a9:50
 sis1: <NatSemi DP8381[56] 10/100BaseTX> port 0xe200-0xe2ff mem
 0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0
 sis1: Silicon Revision: DP83816A
 miibus1: <MII bus> on sis1
 nsphyter1: <DP83815 10/100 media interface> PHY 0 on miibus1
 nsphyter1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sis1: Ethernet address: 00:00:24:c2:a9:51
 sis2: <NatSemi DP8381[56] 10/100BaseTX> port 0xe300-0xe3ff mem
 0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0
 sis2: Silicon Revision: DP83816A
 miibus2: <MII bus> on sis2
 nsphyter2: <DP83815 10/100 media interface> PHY 0 on miibus2
 nsphyter2:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sis2: Ethernet address: 00:00:24:c2:a9:52
 Geode Soekris net4801 comBIOS ver. 1.33 20080103 Copyright (C) 2000-2007
 isab0: <PCI-ISA bridge> port 0x6100-0x613f,0x6200-0x623f at device 18.0
 on pci0
 isa0: <ISA bus> on isab0
 pci0: <bridge> at device 18.1 (no driver attached)
 atapci0: <National Geode SC1100 ATA33 controller> port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0
 ata0: <ATA channel> at channel 0 on atapci0
 ata1: <ATA channel> at channel 1 on atapci0
 Timecounter "Geode" frequency 27000000 Hz quality 1000
 pci0: <bridge> at device 18.5 (no driver attached)
 ohci0: <OHCI (generic) USB controller> mem 0xa0003000-0xa0003fff irq 11
 at device 19.0 on pci0
 usbus0 on ohci0
 cpu0 on motherboard
 pmtimer0 on isa0
 orm0: <ISA Option ROM> at iomem 0xc8000-0xd0fff pnpid ORM0000 on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd1 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
 Event timer "RTC" frequency 32768 Hz quality 0
 attimer0: <AT timer> at port 0x40 on isa0
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Event timer "i8254" frequency 1193182 Hz quality 100
 uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on
 isa0
 uart0: console (9600,n,8,1)
 uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
 Timecounters tick every 1.000 msec
 usbus0: 12Mbps Full Speed USB v1.0
 ugen0.1: <0x0e11> at usbus0
 uhub0: <0x0e11 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
 usbus0
 ada0 at ata0 bus 0 scbus0 target 0 lun 0
 ada0: <CF Card Ver7.00> ATA-5 device
 ada0: 33.300MB/s transfers (UDMA2, PIO 512bytes)
 ada0: 7623MB (15613920 512 byte sectors: 16H 63S/T 15490C)
 ada0: Previously was known as ad0
 uhub0: 3 ports with 3 removable, self powered
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 01 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 01 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 01 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 01 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 01 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Error 5, Retries exhausted
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Error 5, Retries exhausted
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
 (ada0:ata0:0:0:0): CAM status: Command timeout
 (ada0:ata0:0:0:0): Retrying command
 -snip-
 
 Note that it never actually even seems to give up, I'd expect it to 
 panic here, but it will indefinitely retry.
 
 dmesg with workaround in place:
 
 root@procyon:/root # dmesg
 Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.1-RELEASE #2: Wed May 29 16:01:42 UTC 2013
     msa@procyon.latt.net:/usr/src/sys/i386/compile/NET4801 i386
 CPU: Geode(TM) Integrated Processor by National Semi (586-class CPU)
   Origin = "Geode by NSC"  Id = 0x540  Family = 5  Model = 4  Stepping =
 0
   Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
 real memory  = 134217728 (128 MB)
 avail memory = 121683968 (116 MB)
 kbd0 at kbdmux0
 pcib0 pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xe100-0xe1ff mem
 0xa0000000-0xa0000fff irq 10 at device 6.0 on pci0
 sis0: Silicon Revision: DP83816A
 miibus0: <MII bus> on sis0
 nsphyter0: <DP83815 10/100 media interface> PHY 0 on miibus0
 nsphyter0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sis0: Ethernet address: 00:00:24:c2:a9:50
 sis1: <NatSemi DP8381[56] 10/100BaseTX> port 0xe200-0xe2ff mem
 0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0
 sis1: Silicon Revision: DP83816A
 miibus1: <MII bus> on sis1
 nsphyter1: <DP83815 10/100 media interface> PHY 0 on miibus1
 nsphyter1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sis1: Ethernet address: 00:00:24:c2:a9:51
 sis2: <NatSemi DP8381[56] 10/100BaseTX> port 0xe300-0xe3ff mem
 0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0
 sis2: Silicon Revision: DP83816A
 miibus2: <MII bus> on sis2
 nsphyter2: <DP83815 10/100 media interface> PHY 0 on miibus2
 nsphyter2:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sis2: Ethernet address: 00:00:24:c2:a9:52
 Geode Soekris net4801 comBIOS ver. 1.33 20080103 Copyright (C) 2000-2007
 isab0: <PCI-ISA bridge> port 0x6100-0x613f,0x6200-0x623f at device 18.0
 on pci0
 isa0: <ISA bus> on isab0
 pci0: <bridge> at device 18.1 (no driver attached)
 atapci0: <National Geode SC1100 ATA33 controller> port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0
 ata0: <ATA channel> at channel 0 on atapci0
 ata1: <ATA channel> at channel 1 on atapci0
 Timecounter "Geode" frequency 27000000 Hz quality 1000
 pci0: <bridge> at device 18.5 (no driver attached)
 ohci0: <OHCI (generic) USB controller> mem 0xa0003000-0xa0003fff irq 11
 at device 19.0 on pci0
 usbus0 on ohci0
 cpu0 on motherboard
 pmtimer0 on isa0
 orm0: <ISA Option ROM> at iomem 0xc8000-0xd0fff pnpid ORM0000 on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd1 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
 Event timer "RTC" frequency 32768 Hz quality 0
 attimer0: <AT timer> at port 0x40 on isa0
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Event timer "i8254" frequency 1193182 Hz quality 100
 uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on
 isa0
 uart0: console (9600,n,8,1)
 uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
 Timecounters tick every 1.000 msec
 usbus0: 12Mbps Full Speed USB v1.0
 ugen0.1: <0x0e11> at usbus0
 uhub0: <0x0e11 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
 usbus0
 ada0 at ata0 bus 0 scbus0 target 0 lun 0
 ada0: <CF Card Ver7.00> ATA-5 device
 ada0: 16.700MB/s transfers (PIO4, PIO 512bytes)
 ada0: 7623MB (15613920 512 byte sectors: 16H 63S/T 15490C)
 ada0: Previously was known as ad0
 Root mount waiting for: usbus0
 uhub0: 3 ports with 3 removable, self powered
 Trying to mount root from ufs:/dev/ada0p2 [rw]...
 
 And finally, for comparison purposes, this is NetBSD 6.1 release,
 GENERIC, falling back gracefully on this hardware:
 
 POST: 012345689bcefghipsajklnopqr,,,tvwxy
 
 
 
 
 
 
 
 
 comBIOS ver. 1.33  20080103  Copyright (C) 2000-2007 Soekris
 Engineering.
 
 net4801
 
 0128 Mbyte Memory                        CPU Geode SC1100 267 Mhz 
 
 Pri Mas  CF Card                         LBA Xlt 971-255-63  7807 Mbyte
 
 Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int 
 -------------------------------------------------------------------
 0:00:0 1078 0001 06000000 0107 0280 00 00 00 00000000 00000000 
 0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
 0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
 0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
 0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000 
 0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11
 
  5 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
 NetBSD MBR boot
 
 NetBSD/x86 ffsv2 Primary Bootstrap
 
 
 >> NetBSD/x86 BIOS Boot, Revision 5.9 (from NetBSD 6.1)
 >> Memory: 639/130048 k
 
      1. Boot normally
      2. Boot single user
      3. Disable ACPI
      4. Disable ACPI and SMP
      5. Drop to boot prompt
 
 Choose an option; RETURN for default; SPACE to stop countdown.
 Option 1 will be chosen in 0 seconds.     
 11254956+564092+464544 [600096+589560]=0xcdb064
 WARNING: couldn't open /var/db/entropy-file
 WARNING: 1 module failed to load
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
 NetBSD 6.1 (GENERIC)
 total memory = 127 MB
 avail memory = 112 MB
 mainbus0 (root)
 acpi_probe: failed to initialize tables
 cpu0 at mainbus0: Geode(TM) Integrated Processor by National Semi, id
 0x540
 pci0 at mainbus0 bus 0: configuration mode 1
 pchb0 at pci0 dev 0 function 0: vendor 0x1078 product 0x0001 (rev. 0x00)
 sip0 at pci0 dev 6 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
 sip0: interrupting at irq 10
 sip0: Ethernet address 00:00:24:c2:a8:04
 nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
 nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sip1 at pci0 dev 7 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
 sip1: interrupting at irq 10
 sip1: Ethernet address 00:00:24:c2:a8:05
 nsphyter1 at sip1 phy 0: DP83815 10/100 media interface, rev. 1
 nsphyter1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 sip2 at pci0 dev 8 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
 sip2: interrupting at irq 10
 sip2: Ethernet address 00:00:24:c2:a8:06
 nsphyter2 at sip2 phy 0: DP83815 10/100 media interface, rev. 1
 nsphyter2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 gscpcib0 at pci0 dev 18 function 0: vendor 0x100b product 0x0510 (rev.
 0x00)
 gpio0 at gscpcib0: 64 pins
 vendor 0x100b product 0x0511 (miscellaneous bridge) at pci0 dev 18
 function 1 not configured
 geodeide0 at pci0 dev 18 function 2: AMD Geode SC1100 IDE controller
 (rev. 0x01)
 geodeide0: primary channel interrupting at irq 14
 atabus0 at geodeide0 channel 0
 geodeide0: secondary channel interrupting at irq 15
 atabus1 at geodeide0 channel 1
 geodegcb0 at pci0 dev 18 function 5: AMD Geode GCB (rev. 0x03)
 geodewdog0 at geodegcb0: AMD Geode SC1100 Watchdog Timer
 geodecntr0 at geodegcb0: AMD Geode SC1100 27MHz Counter
 ohci0 at pci0 dev 19 function 0: vendor 0x0e11 product 0xa0f8 (rev.
 0x08)
 ohci0: interrupting at irq 11
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 isa at gscpcib0 not configured
 isa0 at mainbus0
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com0: console
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 attimer0 at isa0 port 0x40-0x43
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 sysbeep0 at pcppi0
 nsclpcsio0 at isa0 port 0x2e-0x2f: NSC PC87366 rev. 0x9 GPIO VLM TMS 
 gpio1 at nsclpcsio0: 29 pins
 isapnp0 at isa0 port 0x279
 npx0 at isa0 port 0xf0-0xff
 attimer0: attached to pcppi0
 wd0 at atabus0 drive 0
 uhub0 at usb0: vendor 0x0e11 OHCI root hub, class 9/0, rev 1.00/1.00,
 addr 1
 wd0: <CF Card>
 wd0: 7623 MB, 15490 cyl, 16 head, 63 sec, 512 bytes/sect x 15613920
 sectors
 geodeide0:0:0: lost interrupt
 	type: ata tc_bcount: 512 tc_skip: 0
 geodeide0:0:0: bus-master DMA error: missing interrupt, status=0x21
 wd0: transfer error, downgrading to Ultra-DMA mode 1
 wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
 geodeide0:0:0: lost interrupt
 	type: ata tc_bcount: 512 tc_skip: 0
 geodeide0:0:0: bus-master DMA error: missing interrupt, status=0x21
 wd0: transfer error, downgrading to PIO mode 4
 wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
 wd0: soft error (corrected)
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 Starting root file system check:
 /dev/rwd0a: file system is clean; not checking
 swapctl: setting dump device to /dev/wd0b
 swapctl: adding /dev/wd0b as swap device at priority 0
 Starting file system checks:
 /dev/rwd0e: file system is clean; not checking
 /dev/rwd0f: file system is clean; not checking
 /dev/rwd0g: file system is clean; not checking
 Setting tty flags.
 Setting sysctl variables:
 ddb.onpanic: 1 -> 0
 Starting network.
 Hostname: procyon.latt.net
 IPv6 mode: autoconfigured host
 Configuring network interfaces: sip0
 Adding interface aliases:.
 Building databases: dev, utmp, utmpx.
 Starting syslogd.
 Mounting all filesystems...
 Clearing temporary files.
 Creating a.out runtime link editor directory cache.
 Checking quotas: done.
 Loaded entropy from disk.
 swapctl: setting dump device to /dev/wd0b
 Starting virecover.
 Checking for core dump...
 savecore: no core dump
 Starting local daemons:.
 Updating motd.
 Starting ntpd.
 Starting sshd.
 Starting inetd.
 
 NetBSD/i386 (procyon.latt.net) (console)
 
 login: 
 -snip-
>Unformatted:
