Soekris net4801 sees no disk devices with -CURRENT

From: Paul Schenkeveld <freebsd_at_psconsult.nl>
Date: Sun, 12 Aug 2012 17:49:24 +0200
Hi,

I am trying to build a NanoBSD image for Soekris net4801 with a recent
-CURRENT.  The kernel boots fine but when it comes to mounting the root
filesystem, it cannot find the flash disk anymore.  Bios is up to date
(1.33).

The full boot -v log is below, here are the lines related to the ATA
subsystem:

  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

  ata: ata0 already exists; skipping it
  ata: ata1 already exists; skipping it

  ata0: reset tp1 mask=03 ostat0=50 ostat1=00
  ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
  ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
  ata0: reset tp2 stat0=50 stat1=00 devices=0x1
  (aprobe0:ata0:0:0:0): SIGNATURE: 0000

  (aprobe0:ata0:0:0:0): ATA status error
  (aprobe0:ata0:0:0:0): SETFEATURES SET TRANSFER MODE. ACB: ef 03 00 00 00 40 00 00 00 00 0c 00
  (aprobe0:ata0:0:0:0): CAM status: ATA Status Error
  (aprobe0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
  (aprobe0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 0c 00
  (aprobe0:ata0:0:0:0): Retrying command
  (aprobe0:ata0:0:0:0): ATA status error
  (aprobe0:ata0:0:0:0): SETFEATURES SET TRANSFER MODE. ACB: ef 03 00 00 00 40 00 00 00 00 0c 00
  (aprobe0:ata0:0:0:0): CAM status: ATA Status Error
  (aprobe0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
  (aprobe0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 0c 00
  (aprobe0:ata0:0:0:0): Error 5, Retries exhausted
  ata1: reset tp1 mask=00 ostat0=ff ostat1=ff

  (probe0:ctl2cam0:0:1:0): Error 6, Unretryable error

Kernels up to FreeBSD 9 run fine on this box.

Hope this can be solved, I have many of these devices in use and would
really like to use the new carp(4) stuff in -CURRENT.

Any ideas?

With kind regards,

Paul Schenkeveld

[boot -v log]
------------------------------------------------------------------------
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 10.0-CURRENT #1 r232152: Sun Aug 12 17:20:11 CEST 2012
    paul_at_localhost:/usr/obj/nanobsd.NET4801_10/i386.i386/FreeBSD/src-10/sys/NET4801_10_GEN i386
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc14fd000.
Calibrating TSC clock ... TSC clock: 266677901 Hz
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  = 268435456 (256 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000001826000 - 0x000000000fb24fff, 238022656 bytes (58111 pages)
avail memory = 239140864 (228 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f7800
bios32: Entry = 0xf7840 (c00f7840)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0x7861
Other BIOS signatures found:
random device not loaded; using insecure entropy
ULE: setup cpu 0
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
wlan: <802.11 Link Layer>
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
nfslock: pseudo-device
null: <null device, zero device>
io: <I/O>
random: <entropy source, Software, Yarrow>
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
ACPI Error: A valid RSDP was not found (20120215/tbxfroot-237)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=00011078)
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=0x1078, dev=0x0001, revid=0x00
        domain=0, bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x100b, dev=0x0020, revid=0x00
        domain=0, bus=0, slot=6, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x3f (1890 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 0xe100, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0000000, size 12, enabled
found-> vendor=0x100b, dev=0x0020, revid=0x00
        domain=0, bus=0, slot=7, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x3f (1890 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 0xe200, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0001000, size 12, enabled
found-> vendor=0x100b, dev=0x0020, revid=0x00
        domain=0, bus=0, slot=8, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x3f (1890 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 0xe300, size  8, enabled
        map[14]: type Memory, range 32, base 0xa0002000, size 12, enabled
found-> vendor=0x100b, dev=0x0510, revid=0x00
        domain=0, bus=0, slot=18, func=0
        class=06-01-00, hdrtype=0x00, mfdev=1
        cmdreg=0x001f, statreg=0x0280, cachelnsz=8 (dwords)
        lattimer=0x3f (1890 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[10]: type I/O Port, range 32, base 0x6100, size  6, enabled
        map[14]: type I/O Port, range 32, base 0x6200, size  6, enabled
found-> vendor=0x100b, dev=0x0511, revid=0x00
        domain=0, bus=0, slot=18, func=1
        class=06-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[10]: type I/O Port, range 32, base 0x6300, size  8, enabled
found-> vendor=0x100b, dev=0x0502, revid=0x01
        domain=0, bus=0, slot=18, func=2
        class=01-01-80, hdrtype=0x00, mfdev=0
        cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (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=0x100b, dev=0x0515, revid=0x00
        domain=0, bus=0, slot=18, func=5
        class=06-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[10]: type I/O Port, range 32, base 0x6500, size  6, enabled
found-> vendor=0x0e11, dev=0xa0f8, revid=0x08
        domain=0, bus=0, slot=19, func=0
        class=0c-03-10, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords)
        lattimer=0x38 (1680 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
        intpin=d, irq=11
        map[10]: type Memory, range 32, base 0xa0003000, size 12, enabled
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: OUI 0x1000e8, model 0x0002, rev. 1
nsphyter0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: bpf attached
sis0: Ethernet address: 00:00:24:c6:e7:00
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: OUI 0x1000e8, model 0x0002, rev. 1
nsphyter1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: bpf attached
sis1: Ethernet address: 00:00:24:c6:e7:01
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: OUI 0x1000e8, model 0x0002, rev. 1
nsphyter2:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: bpf attached
sis2: Ethernet address: 00:00:24:c6:e7:02
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
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
ohci0: (New OHCI DeviceId=0xa0f80e11)
usbus0: <OHCI (generic) USB controller> on ohci0
usbus0: bpf attached
ohci0: usbpf: Attached
cpu0 on motherboard
ex_isa_identify()
ahc_isa_probe 0: ioport 0xc00 alloc failed
ahc_isa_probe 1: ioport 0x1c00 alloc failed
ahc_isa_probe 2: ioport 0x2c00 alloc failed
ahc_isa_probe 3: ioport 0x3c00 alloc failed
ahc_isa_probe 4: ioport 0x4c00 alloc failed
ahc_isa_probe 5: ioport 0x5c00 alloc failed
ahc_isa_probe 6: ioport 0x6c00 alloc failed
ahc_isa_probe 7: ioport 0x7c00 alloc failed
ahc_isa_probe 8: ioport 0x8c00 alloc failed
ahc_isa_probe 9: ioport 0x9c00 alloc failed
ahc_isa_probe 10: ioport 0xac00 alloc failed
ahc_isa_probe 11: ioport 0xbc00 alloc failed
ahc_isa_probe 12: ioport 0xcc00 alloc failed
ahc_isa_probe 13: ioport 0xdc00 alloc failed
ahc_isa_probe 14: ioport 0xec00 alloc failed
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
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
sc: sc0 already exists; skipping it
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROM> at iomem 0xc8000-0xd0fff pnpid ORM0000 on isa0
sc0: no video adapter found.
sc0: <System console> failed to probe on isa0
vga0 failed to probe on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
kbd0: atkbd0, generic (0), config:0x0, flags:0x1f0000
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
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
attimer0: <AT timer> at port 0x40 on isa0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ppc0: parallel port not found.
ppc0: <Parallel port> failed to probe at irq 7 on isa0
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: fast interrupt
uart0: console (9600,n,8,1)
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: fast interrupt
isa_probe_children: probing PnP devices
ctl: CAM Target Layer loaded
Device configuration finished.
procfs registered
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
hptrr: no controller detected.
usbus0: 12Mbps Full Speed USB v1.0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata0:0:0:0): SIGNATURE: 0000
ugen0.1: <0x0e11> at usbus0
uhub0: <0x0e11 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
(aprobe0:ata0:0:0:0): ATA status error
(aprobe0:ata0:0:0:0): SETFEATURES SET TRANSFER MODE. ACB: ef 03 00 00 00 40 00 00 00 00 0c 00
(aprobe0:ata0:0:0:0): CAM status: ATA Status Error
(aprobe0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(aprobe0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 0c 00
(aprobe0:ata0:0:0:0): Retrying command
(aprobe0:ata0:0:0:0): ATA status error
(aprobe0:ata0:0:0:0): SETFEATURES SET TRANSFER MODE. ACB: ef 03 00 00 00 40 00 00 00 00 0c 00
(aprobe0:ata0:0:0:0): CAM status: ATA Status Error
(aprobe0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(aprobe0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 0c 00
(aprobe0:ata0:0:0:0): Error 5, Retries exhausted
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
uhub0: 3 ports with 3 removable, self powered
(probe0:ctl2cam0:0:1:0): Error 6, Unretryable error
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/ad0s1a [ro]...
mountroot: waiting for device /dev/ad0s1a ...
Mounting from ufs:/dev/ad0s1a failed with error 19.

Loader variables:
  vfs.root.mountfrom=ufs:/dev/ad0s1a
  vfs.root.mountfrom.options=ro

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:tank
        cd9660:/dev/acd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot> ?

List of GEOM managed disk devices:


mountroot>
Received on Sun Aug 12 2012 - 13:49:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC