Soekris net5501-70 problem with loading ATA modulesonFreeBSD-Current

Marek Salwerowicz marek_sal at wp.pl
Sat Jan 15 23:50:24 UTC 2011


> It would be nice if you enabled verbose kernel messages to get more info.
Verbose log in attachment - please see it.


>> Is it possible to load dynamically modules or do they have to be
>> compiled in kernel... ?
>
> It should, but I haven't used it. What for do you need to load/unload
> them in run time?
>

The Soekris box are being used in computer lab by students. Normally they use diskless FreeBSD (loaded via PXE/NFS), but in some 
cases they might install something on CF (but in general we want to prevent them from reading / writing to CF).

-- 
Marek Salwerowicz 
-------------- next part --------------
so5501a% cat /var/run/dmesg.boot
Copyright (c) 1992-2011 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.0-CURRENT #4: Sat Jan 15 23:19:52 CET 2011
    ato at volt.iem.pw.edu.pl:/tmp/obj/i386.i386/usr/src/sys/SOEKRIS i386
Preloaded elf kernel "/boot/kernel.soekris/kernel" at 0xc08ad000.
Preloaded elf module "/boot/kernel.soekris/procfs.ko" at 0xc08ad140.
Preloaded elf module "/boot/kernel.soekris/pseudofs.ko" at 0xc08ad1f4.
Preloaded elf module "/boot/kernel.soekris/geom_md.ko" at 0xc08ad2ac.
Preloaded elf module "/boot/kernel.soekris/if_sis.ko" at 0xc08ad360.
Preloaded elf module "/boot/kernel.soekris/miibus.ko" at 0xc08ad414.
Preloaded elf module "/boot/kernel.soekris/if_vr.ko" at 0xc08ad4c8.
Calibrating TSC clock ... TSC clock: 499912260 Hz
CPU: Geode(TM) Integrated Processor by AMD PCS (499.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x5a2  Family = 5  Model = a  Stepping = 2
  Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
  AMD Features=0xc0400000<MMX+,3DNow!+,3DNow!>
Data TLB: 16 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 32 bytes/line, 1 lines/tag, 16-way associative
L1 instruction cache: 64 kbytes, 32 bytes/line, 1 lines/tag, 16-way associative
L2 internal cache: 128 kbytes, 32 bytes/line, 1 lines/tag, 4-way associative
Write Allocate Disable
real memory  = 536870912 (512 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c26000 - 0x000000001f6b9fff, 514408448 bytes (125588 pages)
avail memory = 515964928 (492 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fac00
bios32: Entry = 0xfac40 (c00fac40)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xac61
Other BIOS signatures found:
mem: <memory>
K6-family MTRR support enabled (2 registers)
null: <null device, zero device>
io: <I/O>
random: <entropy source, Software, Yarrow>
nfslock: pseudo-device
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 1 [class=060000] [hdr=80] is there (id=20801022)
pcibios: BIOS version 2.01
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1022, dev=0x2080, revid=0x31
        domain=0, bus=0, slot=1, func=0
        class=06-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0005, statreg=0x0220, cachelnsz=8 (dwords)
        lattimer=0xf8 (7440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x2082, revid=0x00
        domain=0, bus=0, slot=1, func=2
        class=10-10-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x0220, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=10
        map[10]: type Memory, range 32, base 0xa0000000, size 14, enabled
found-> vendor=0x1106, dev=0x3053, revid=0x96
        domain=0, bus=0, slot=6, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=11
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type I/O Port, range 32, base 0xe100, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0004000, size  8, enabled
found-> vendor=0x1106, dev=0x3053, revid=0x96
        domain=0, bus=0, slot=7, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=5
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type I/O Port, range 32, base 0xe200, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0004100, size  8, enabled
found-> vendor=0x1106, dev=0x3053, revid=0x96
        domain=0, bus=0, slot=8, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=9
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type I/O Port, range 32, base 0xe300, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0004200, size  8, enabled
found-> vendor=0x1106, dev=0x3053, revid=0x96
        domain=0, bus=0, slot=9, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=12
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type I/O Port, range 32, base 0xe400, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0004300, size  8, enabled
found-> vendor=0x104c, dev=0xac23, revid=0x02
        domain=0, bus=0, slot=14, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0107, statreg=0x0210, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        powerspec 1  supports D0 D3  current D0
found-> vendor=0x168c, dev=0x0013, revid=0x01
        domain=0, bus=0, slot=17, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0116, statreg=0x0290, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
        intpin=a, irq=15
        powerspec 2  supports D0 D3  current D0
        map[10]: type Memory, range 32, base 0xa0010000, size 16, enabled
found-> vendor=0x1022, dev=0x2090, revid=0x03
        domain=0, bus=0, slot=20, func=0
        class=06-01-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0009, statreg=0x02a0, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[10]: type I/O Port, range 32, base 0x6000, size 13, enabled
        map[14]: type I/O Port, range 32, base 0x6100, size  8, enabled
        map[18]: type I/O Port, range 32, base 0x6200, size  9, enabled
found-> vendor=0x1022, dev=0x209a, revid=0x01
        domain=0, bus=0, slot=20, func=2
        class=01-01-80, hdrtype=0x00, mfdev=0
        cmdreg=0x0005, statreg=0x02a0, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[20]: type I/O Port, range 32, base 0xe000, size  4, enabled
found-> vendor=0x1022, dev=0x2094, revid=0x02
        domain=0, bus=0, slot=21, func=0
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=7
        map[10]: type Memory, range 32, base 0xa0020000, size 12, enabled
found-> vendor=0x1022, dev=0x2095, revid=0x02
        domain=0, bus=0, slot=21, func=1
        class=0c-03-20, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=7
        map[10]: type Memory, range 32, base 0xa0021000, size 12, enabled
Geode LX: Soekris net5501 comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008
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
vr0: Revision: 0x96
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: OUI 0x004063, model 0x0034, rev. 3
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: bpf attached
vr0: Ethernet address: 00:00:24:c9:2c:7c
vr1: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe200-0xe2ff mem 0xa0004100-0xa00041ff irq 5 at device 7.0 on pci0
vr1: Quirks: 0x2
vr1: Revision: 0x96
miibus1: <MII bus> on vr1
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: OUI 0x004063, model 0x0034, rev. 3
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: bpf attached
vr1: Ethernet address: 00:00:24:c9:2c:7d
vr2: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe300-0xe3ff mem 0xa0004200-0xa00042ff irq 9 at device 8.0 on pci0
vr2: Quirks: 0x2
vr2: Revision: 0x96
miibus2: <MII bus> on vr2
ukphy2: <Generic IEEE 802.3u media interface> PHY 1 on miibus2
ukphy2: OUI 0x004063, model 0x0034, rev. 3
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2: bpf attached
vr2: Ethernet address: 00:00:24:c9:2c:7e
vr3: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe400-0xe4ff mem 0xa0004300-0xa00043ff irq 12 at device 9.0 on pci0
vr3: Quirks: 0x2
vr3: Revision: 0x96
miibus3: <MII bus> on vr3
ukphy3: <Generic IEEE 802.3u media interface> PHY 1 on miibus3
ukphy3: OUI 0x004063, model 0x0034, rev. 3
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr3: bpf attached
vr3: Ethernet address: 00:00:24:c9:2c:7f
pcib1: <PCI-PCI bridge> at device 14.0 on pci0
pcib1:   domain            0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xd000-0xdfff
pcib1:   memory decode     0xa4000000-0xa7ffffff
pcib1:   no prefetched decode
pci1: <PCI bus> on pcib1
pci1: domain=0, physical bus=1
found-> vendor=0x100b, dev=0x0020, revid=0x00
        domain=0, bus=1, slot=0, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x0b (2750 ns), maxlat=0x34 (13000 ns)
        intpin=a, irq=10
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type I/O Port, range 32, base 0xd000, size  8, enabled
pcib1: requested I/O range 0xd000-0xd0ff: in range
        map[14]: type Memory, range 32, base 0xa4000000, size 12, enabled
pcib1: requested memory range 0xa4000000-0xa4000fff: good
found-> vendor=0x100b, dev=0x0020, revid=0x00
        domain=0, bus=1, slot=1, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x0b (2750 ns), maxlat=0x34 (13000 ns)
        intpin=a, irq=6
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type I/O Port, range 32, base 0xd100, size  8, enabled
pcib1: requested I/O range 0xd100-0xd1ff: in range
        map[14]: type Memory, range 32, base 0xa4001000, size 12, enabled
pcib1: requested memory range 0xa4001000-0xa4001fff: good
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xd000-0xd0ff mem 0xa4000000-0xa4000fff irq 10 at device 0.0 on pci1
sis0: Silicon Revision: DP83816A
miibus4: <MII bus> on sis0
nsphyter0: <DP83815 10/100 media interface> PHY 0 on miibus4
nsphyter0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: bpf attached
sis0: Ethernet address: 00:00:24:c9:48:80
sis1: <NatSemi DP8381[56] 10/100BaseTX> port 0xd100-0xd1ff mem 0xa4001000-0xa4001fff irq 6 at device 1.0 on pci1
sis1: Silicon Revision: DP83816A
miibus5: <MII bus> on sis1
nsphyter1: <DP83815 10/100 media interface> PHY 0 on miibus5
nsphyter1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: bpf attached
sis1: Ethernet address: 00:00:24:c9:48:81
pci0: <network, ethernet> at device 17.0 (no driver attached)
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
ata0: reset tp1 mask=03 ostat0=60 ostat1=50
ata0: stat0=0x20 err=0x20 lsb=0x20 msb=0x20
ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=20 stat1=50 devices=0x2
ata1: <ATA channel 1> on atapci0
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
pci0: <serial bus, USB> at device 21.0 (no driver attached)
pci0: <serial bus, USB> at device 21.1 (no driver attached)
cpu0 on motherboard
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
isa_probe_children: disabling PnP devices
pmtimer0 on isa0
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROM> at iomem 0xc8000-0xd27ff pnpid ORM0000 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
atkbdc0 failed to probe at port 0x60 on isa0
atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)
Event timer "RTC" frequency 32768 Hz quality 0
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
fe0: not probed (disabled)
ie0: not probed (disabled)
le0: not probed (disabled)
ppc0 failed to probe at irq 7 on isa0
sc0 failed to probe on isa0
sn0: not probed (disabled)
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: fast interrupt
uart0: console (115200,n,8,1)
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: fast interrupt
uart2: not probed (disabled)
uart3: not probed (disabled)
vga0 failed to probe on isa0
isa_probe_children: probing PnP devices
Device configuration finished.
procfs registered
Timecounter "TSC" frequency 499912260 Hz quality 800
Timecounters tick every 3.906 msec
lo0: bpf attached
ata0: Identifying devices: 00000002
ata0: New devices: 00000002
ata0-slave: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
ad0: Skipping 80pin cable check
ad0: setting UDMA100
ad0: 7631MB <LEXAR ATA FLASH CARD 20070228> at ata0-slave UDMA100
ad0: 15630048 sectors [15506C/16H/63S] 1 sectors/interrupt 1 depth queue
ata1: Identifying devices: 00000000
ata1: New devices: 00000000
Sending DHCP Discover packet from interface vr0 (00:00:24:c9:2c:7c)
GEOM: new disk ad0
GEOM: ad0: media size does not match label.
Sending DHCP Discover packet from interface vr1 (00:00:24:c9:2c:7d)
Sending DHCP Discover packet from interface vr2 (00:00:24:c9:2c:7e)
Sending DHCP Discover packet from interface vr3 (00:00:24:c9:2c:7f)
Sending DHCP Discover packet from interface sis0 (00:00:24:c9:48:80)
Sending DHCP Discover packet from interface sis1 (00:00:24:c9:48:81)
Received DHCP Offer packet on vr0 from 194.29.146.27 (accepted) (no root path)
Sending DHCP Request packet from interface vr0 (00:00:24:c9:2c:7c)
Received DHCP Ack packet on vr0 from 194.29.146.27 (accepted) (got root path)
DHCP timeout for interface vr1
DHCP timeout for interface vr2
DHCP timeout for interface vr3
DHCP timeout for interface sis0
DHCP timeout for interface sis1
vr0 at 194.29.146.42 server 194.29.146.27 server name amp2
subnet mask 255.255.255.0 router 194.29.146.1 rootfs 194.29.146.3:/R rootopts nolockd hostname so5501a
Adjusted interface vr0
Shutdown interface vr1
Shutdown interface vr2
Shutdown interface vr3
Shutdown interface sis0
Shutdown interface sis1
Trying to mount root from nfs: []...
NFS ROOT: 194.29.146.3:/R
start_init: trying /sbin/init
so5501a%


More information about the freebsd-current mailing list