Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD on Allnet ALL6400+



Hello,

I'm surprised! With little modifications I'm able to boot the
NetBSD/evbarm HDL_G kernel on an Allnet ALL6400+ NAS which seems to be
equivalent to a Thecus N4100+ NAS.

http://www.thecus.com/product.php?PROD_ID=8

The RedBoot system name is confusingly ``Thecus N4100PRO'' instead of
N4100+. The N4100PRO is a different NAS with AMD processor.

At a first try using NetBSD, I ran into an issue with the two Realtek
RTL8169 ethernet NICs. The connection works but while transfering
data, the connection blocks periodically for approx 1 second (ethernet
LED stops blinking). In summary FTP transfer speed is less than
1 MBits/s. Both NICs show the same issue.
I suppose this isn't a problem with the Realtek NICs because activity
on USB devices or the SATA controller makes it worse.
Kernels 5.2 and 6.0.1 show the same behavior.

Is it possible that the PCI bus isn't configured correctly?

iopxs0 at mainbus0: i80219 I/O Processor, acting as PCI slave
iopxs0: configuring PCI bus
PCI bus 0: Warning: Total bandwidth exceeded!? (6400000)

Please give me a hint what to do or which additional information or
debug output could be useful.

Best regards
Christoph


+RST=No
Transfer to factory test Mode : No
Reset default set:Normal
Thecus: Found PCI device Vendor ID=0x000010EC
Vendor    0x10ec
Device    0x8169
 Allocate cyg_pci_io_base=0x90000100
 Allocate cyg_pci_memory_base=0x40000100
Thecus: Found PCI device Vendor ID=0x000010EC
Vendor    0x10ec
Device    0x8169
 Allocate cyg_pci_io_base=0x90000200
 Allocate cyg_pci_memory_base=0x40000200
Thecus: Found PCI device Vendor ID=0x00001095
Vendor    0x1095
Device    0x3114
 Allocate cyg_pci_io_base=0x90000208
 Allocate cyg_pci_io_base=0x9000020c
 Allocate cyg_pci_io_base=0x90000218
 Allocate cyg_pci_io_base=0x9000021c
 Allocate cyg_pci_io_base=0x90000230
 Allocate cyg_pci_memory_base=0x40000800
Thecus: Found PCI device Vendor ID=0x00001106
Thecus: Found PCI device Vendor ID=0x00001106
Thecus: Found PCI device Vendor ID=0x00001106
Vendor    0x1106
Device    0x3104
 Allocate cyg_pci_memory_base=0x40000900
PCI: device already configured
rtl-eth0: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb0000000, 
00:0f:c9:03:13:8a
rtl-eth0: Auto-negotiation Enabled.
rtl-eth0: 100Mbps Full-duplex operation.
PCI: device already configured
eth1 found: bus[0] dev[2] base[b0000100]
rtl-eth1: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb0000100, 
00:0f:c9:03:13:8b
Ethernet rtl-eth0: MAC address 00:0f:c9:03:13:8a
IP: 192.168.1.100/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.1, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.93 - built 16:31:51, Mar  5 2007

Platform: THECUS N4100PRO (IOP80219)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x10000000, 0x0004b6b8-0x0ff93000 available, total: 256 MB
FLASH: 0xf0000000 - 0xf1000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
^C
RedBoot> ip_address -l 192.168.5.35 -h 192.168.5.33
IP: 192.168.5.35/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.5.33, DNS server IP: 0.0.0.0
RedBoot> load -r -m tftp -b 0x0004c000 netbsd-HDL_G
Raw file loaded 0x0004c000-0x004f463f, assumed entry at 0x0004c000
RedBoot> exec
Build ATAG
ATAG_MEM: Overwrite ram_end with real_region_top=0x10000000, memsize=256 M
ATAG_MEM=268435456@0xa0000000, MACH_TYPE=1242
Using base address 0x0004c000 and length 0x004a8640
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    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.99.16 (HDL_G) #2: Sat Feb  2 22:21:54 CET 2013
        
chrlemke%amdfx.lemke.int@localhost:/home/chrlemke/current/sys/arch/evbarm/compile/obj/HDL_G
total memory = 256 MB
avail memory = 243 MB
mainbus0 (root)
cpu0 at mainbus0 core 0: i80219 600MHz step A-0 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way L1 Instruction cache
cpu0: 32KB/32B 32-way write-back-locking L1 Data cache
obio0 at mainbus0
com0 at obio0 addr 0xfe800000 xint 1: ns16550a, working fifo
com0: console
iopxs0 at mainbus0: i80219 I/O Processor, acting as PCI slave
iopxs0: configuring PCI bus
PCI bus 0: Warning: Total bandwidth exceeded!? (6400000)
iopiic0 at iopxs0: I2C controller
iic0 at iopiic0: I2C bus
rs5c372rtc0 at iic0 addr 0x32: RICOH RS5C372[AB] Real-time Clock
iopiic1 at iopxs0: I2C controller
iic1 at iopiic1: I2C bus
pci0 at iopxs0 bus 0
re0 at pci0 dev 1 function 0: RealTek 8169/8110 Gigabit Ethernet (rev. 0x10)
re0: interrupting at irq 27
re0: Ethernet address 00:0f:c9:03:13:8a
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 3
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
re1 at pci0 dev 2 function 0: RealTek 8169/8110 Gigabit Ethernet (rev. 0x10)
re1: interrupting at irq 30
re1: Ethernet address 00:0f:c9:03:13:8b
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 3
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
satalink0 at pci0 dev 3 function 0: Silicon Image SATALink 3114 (rev. 0x02)
satalink0: using irq 29 for native-PCI interrupt
atabus0 at satalink0 channel 0
atabus1 at satalink0 channel 1
atabus2 at satalink0 channel 2
atabus3 at satalink0 channel 3
uhci0 at pci0 dev 4 function 0: VIA Technologies VT83C572 USB Controller (rev. 
0x61)
uhci0: interrupting at irq 30
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 4 function 1: VIA Technologies VT83C572 USB Controller (rev. 
0x61)
uhci1: interrupting at irq 27
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 4 function 2: VIA Technologies VT8237 EHCI USB Controller 
(rev. 0x63)
ehci0: interrupting at irq 29
ehci0: dropped intr workaround enabled
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
clock: hz=100 stathz=0 profhz=0
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2 at usb2: VIA Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
umass0 at uhub2 port 2 configuration 1 interface 0
umass0: SanDisk ImageMate 12 in 1 Reader/Writer, rev 2.00/0.01, addr 2
scsibus0 at umass0: 2 targets, 4 luns per target
sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 0001> disk removable
sd0: fabricating a geometry
sd0: 1953 MB, 1953 cyl, 64 head, 32 sec, 512 bytes/sect x 4001760 sectors
sd1 at scsibus0 target 0 lun 1: <Generic, STORAGE DEVICE, 0001> disk removable
sd1: drive offline
sd2 at scsibus0 target 0 lun 2: <Generic, STORAGE DEVICE, 0001> disk removable
sd2: drive offline
sd3 at scsibus0 target 0 lun 3: <Generic, STORAGE DEVICE, 0001> disk removable
sd3: drive offline
boot device: <unknown>
root on sd0a dumps on sd0b
sd0: fabricating a geometry
root file system type: ffs
Thu Feb  3 20:54:04 UTC 2022
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Starting dhclient.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on BPF/re1/00:0f:c9:03:13:8b
Sending on   BPF/re1/00:0f:c9:03:13:8b
Listening on BPF/re0/00:0f:c9:03:13:8a
Sending on   BPF/re0/00:0f:c9:03:13:8a
Sending on   Socket/fallback
DHCPDISCOVER on re1 to 255.255.255.255 port 67 interval 3
DHCPREQUEST on re0 to 255.255.255.255 port 67
DHCPACK from 192.168.5.1
bound to 192.168.5.38 -- renewal in 11116 seconds.
Building databases: devcprng sysctl: WARNING pseudorandom rekeying.
, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Thu Feb  3 20:54:22 UTC 2022

NetBSD/evbarm (NAS) (console)

login:

-- 
Christoph Lemke <christoph-lemke%gmx.de@localhost>


Home | Main Index | Thread Index | Old Index