I just received a net5501 and am running FreeBSD 6.x (RELENG_6) on  
it.  It has a 1GB CF card, and a 60GB ATA 2.5" IDE disk drive  
installed.  I have problems with FreeBSD booting, hanging just after  
the probe/attach of the two ATA disks, unless I disable the DMA in / 
boot/loader.conf:

comconsole_speed="9600"
console="comconsole"
beastie_disable="YES"
hw.ata.ata_dma="0"
hw.ata.wc="0"
hw.ata.atapi_dma="0"

Should I expect the DMA to work?  I must be doing something stupid,  
perhaps a broken kernel config.  I had the same problem with a  
net4801, though I thought it was because it might have been one of the  
earlier hardware versions that was known to be problematic with ATA DMA.

Included below is the kernel config that I'm using.  The config file  
is essentially unchanged from the one I was using for the net4801  
product.  Following that is a dmesg from the system booting with the  
DMA disabled as described above.  Any suggestions would be appreciated.

louie

*** Kernel config:

machine         i386
cpu             I586_CPU
ident           NET4801
options         INCLUDE_CONFIG_FILE

options         CPU_ELAN
options         CPU_GEODE
options         CPU_SOEKRIS
options         CPU_ELAN_PPS
options         HZ=1000
options         PPS_SYNC
options         SW_WATCHDOG
options         NO_SWAPPING
options         PANIC_REBOOT_WAIT_TIME=1

# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for  
devices.

options         SCHED_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread  
preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates  
support
options         UFS_ACL                 # Support for access control  
lists
options         UFS_EXTATTR
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
options         NFSSERVER               # Network Filesystem Server
options         NFS_ROOT                # NFS usable as /, requires  
NFSCLIENT
options         PROCFS                  # Process filesystem (requires  
PSEUDOFS)
options         GEOM_VOL
options         GEOM_BDE
options         GEOM_BSD
options         GEOM_GATE
options         GEOM_MBR
options         GEOM_MIRROR
options         GEOM_NOP
options         GEOM_UZIP
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3  
[KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time  
extensions
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

options         SHOW_BUSYBUFS

options         DEVICE_POLLING
options         FAST_IPSEC
options         ZERO_COPY_SOCKETS

options         NETGRAPH
options         NETGRAPH_BPF
options         NETGRAPH_BRIDGE
options         NETGRAPH_DEVICE
options         NETGRAPH_ECHO
options         NETGRAPH_ETHER
options         NETGRAPH_GIF
options         NETGRAPH_GIF_DEMUX
options         NETGRAPH_HOLE
options         NETGRAPH_TAG
options         NETGRAPH_IFACE
options         NETGRAPH_IP_INPUT
options         NETGRAPH_IPFW
options         NETGRAPH_KSOCKET
options         NETGRAPH_NAT
options         LIBALIAS
options         NETGRAPH_NETFLOW
options         NETGRAPH_PPP
options         NETGRAPH_SOCKET
options         NETGRAPH_SPLIT
options         NETGRAPH_TCPMSS
options         NETGRAPH_TEE
options         NETGRAPH_TTY
options         NETGRAPH_UI

device          pf
device          pflog
device          pfsync
options         DEV_PF,DEV_PFLOG,DEV_PFSYNC

options         ALTQ
options         ALTQ_CBQ,ALTQ_PRIQ,ALTQ_HFSC
options         ALTQ_RED,ALTQ_RIO

options         IPFIREWALL
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPV6FIREWALL
options         IPV6FIREWALL_DEFAULT_TO_ACCEPT

options         IPDIVERT
options         DUMMYNET
options         IPFIREWALL_FORWARD
#options                IPFIREWALL_FORWARD_EXTENDED

device          crypto
device          cryptodev
device          hifn
# device                rndtest
# options               HIFN_RNDTEST

# Debugging for use in -current
options         KDB                     # Enable kernel debugger  
support.
options         KDB_TRACE
options         KDB_UNATTENDED
options         DDB                     # Support DDB.
options         GDB                     # Support remote GDB.

options         KTRACE

# Bus support.  Do not remove isa, even if you have no isa slots
device          isa
device          pci

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
options         ATA_STATIC_ID   # Static device numbering

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          pass            # Passthrough device (direct SCSI  
access)

# Floating point support - do not disable.
device          npx

# Add suspend/resume support for the i8254.
device          pmtimer

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these  
NICs!
device          miibus          # MII bus support
device          sis             # Silicon Integrated Systems SiS 900/ 
SiS 7016
device          vr

# Pseudo devices.
device          loop            # Network loopback
device          mem             # Memory and kernel memory devices
device          io              # I/O device
device          random          # Entropy device
device          ether           # Ethernet support
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          bpf             # Berkeley packet filter
device          gre

# USB support
device          ohci            # UHCI PCI->USB interface
device          ehci
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          umass           # Disks/Mass storage - Requires scbus  
and da

*********************************************************************************
*** dmesg output with DMA disabled:

Copyright (c) 1992-2007 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 6.3-PRERELEASE #0: Thu Dec  6 00:54:38 EST 2007
     [EMAIL PROTECTED]:/usr/obj/nanobsd.net4801/data/src/sys/ 
NET4801
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by AMD PCS (499.90-MHz 586-class  
CPU)
   Origin = "AuthenticAMD"  Id = 0x5a2  Stepping = 2
   Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
   AMD Features=0xc0400000<MMX+,3DNow!+,3DNow!>
real memory  = 536870912 (512 MB)
avail memory = 516075520 (492 MB)
K6-family MTRR support enabled (2 registers)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
Geode LX: Soekris net5501 comBIOS ver. 1.32i 20071005 Copyright (C)  
2000-2007
MFGPT bar: f00100006200
pci0: <encrypt/decrypt, entertainment crypto> at device 1.2 (no driver  
attached)
vr0: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe100-0xe1ff mem  
0xa0004000-0xa00040ff irq 11 at device 6.0 on pci0
vr0: Quirks: 0x2
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:00:24:c9:2b:b0
vr1: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe200-0xe2ff mem  
0xa0004100-0xa00041ff irq 5 at device 7.0 on pci0
vr1: Quirks: 0x2
miibus1: <MII bus> on vr1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: Ethernet address: 00:00:24:c9:2b:b1
vr2: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe300-0xe3ff mem  
0xa0004200-0xa00042ff irq 9 at device 8.0 on pci0
vr2: Quirks: 0x2
miibus2: <MII bus> on vr2
ukphy2: <Generic IEEE 802.3u media interface> on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2: Ethernet address: 00:00:24:c9:2b:b2
vr3: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe400-0xe4ff mem  
0xa0004300-0xa00043ff irq 12 at device 9.0 on pci0
vr3: Quirks: 0x2
miibus3: <MII bus> on vr3
ukphy3: <Generic IEEE 802.3u media interface> on miibus3
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr3: Ethernet address: 00:00:24:c9:2b:b3
hifn0 mem 0xa0005000-0xa0005fff,0xa0006000-0xa0007fff, 
0xa0008000-0xa000ffff irq 15 at device 17.0 on pci0
hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x800<pci clk, 4x mult>
isab0: <PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD CS5536 UDMA100 controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xa0010000-0xa0010fff irq 7  
at device 21.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xa0011000-0xa0011fff  
irq 7 at device 21.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: AMD EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc8000-0xd27ff on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
umass0: vendor 0x0c45 USB Mass Storage Device, rev 1.10/1.00, addr 2
Timecounter "TSC" frequency 499904986 Hz quality 800
Timecounters tick every 1.000 msec
IPv6 packet filtering initialized, default to accept, logging disabled
Fast IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding  
enabled, default to accept, logging disabled
ad0: FAILURE - SETFEATURES SET TRANSFER MODE  
status=51<READY,DSC,ERROR> error=4<ABORTED>
ad0: 488MB <TOSHIBA THNCF512MMG 3.10> at ata0-master BIOSPIO
ad1: 57231MB <FUJITSU MHW2060AT 0000000B> at ata0-slave PIO4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB NAND FLASH DISK 0.30> Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C)
Trying to mount root from ufs:/dev/ad0s1a

_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to