[ previous ] [ next ] [ threads ]
 
 From:  "Kevin R. Porter" <krp2 at bellsouth dot net>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  m0n0wall on Soekris NET4801 - "ad0: READ command timeout" during boot
 Date:  Tue, 8 Jun 2004 14:24:51 -0400
I am attempting to install M0n0wall on a new Soekris NET4801 using "CF"
flash card (written on a Windows-based laptop with a PCMCIA-to-"CF" adaptor,
using Manuel's "physdiskwrite" utility)  - however when I boot the Soekris,
although it "sees" the "CF" flash card and boots the kernel, when the kernel
tries to read from the "CF" flash card it gets an error:

    ad0: READ command timeout tag=0 serv=0 - resetting

which repeats and eventually the kernel panics with a Fatal trap 12.

The complete boot sequence is shown below with the output of a BIOS "SHOW"
command to show my current settings.     Note: The SANdisk 128MB "CF" card
is the only storage installed, I do not have a hard-drive in the Soekris
NET4801, and the PCI slot is currently empty.

I've tried the entire process with two different "CF" card's... (both
SANdisk 128MB's though, which are all I have on hand), however both fail
identically.

I notice that these 128MB SANdisk "CF" cards are identified by the Soekris
BIOS in 'LBA' mode, (versus the "CHS" mode some other's have seen), could
this problem be a result of using larger "CF" cards?

I've 'googled' around looking for any ideas, and while I see others
reporting similar symptoms, I do not see any solutions reported.     Any
help would be appreciated!

Console output from boot attempt:

POST: 0123456789bcefghipajklnoq,,,tvwxy

comBIOS ver. 1.24  20040312  Copyright (C) 2000-2004 Soekris Engineering.

net4801

0128 Mbyte Memory                        CPU Geode 266 Mhz

Pri Mas  SanDisk SDCFJ-128               LBA 980-8-32  125 Mbyte

PXE-M00: BootManage UNDI, PXE-2.0 (build 082)

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 00
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 00
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.
Console: internal video/keyboard
BIOS drive C: is disk0
BIOS 639kB/130048kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
(root at nb dot neon1 dot net, Mon Jul 28 20:31:49 CEST 2003)
/kernel text=0x1989e0 data=0x23ecc+0x1c798 syms=[0x4+0x2a870+0x4+0x318b7]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
Copyright (c) 1992-2003 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 4.9-RELEASE-p4 #0: Sat Apr 17 21:12:20 CEST 2004
    root at nb dot neon1 dot net:/usr/src/sys/compile/M0N0WALL_NET48XX
Timecounter "i8254"  frequency 1193182 Hz
CPU: NSC Geode (266.66-MHz 586-class CPU)
  Origin = "Geode by NSC"  Id = 0x540  Stepping = 0  DIR=0x81b7
  Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory  = 134217728 (131072K bytes)
avail memory = 116940800 (114200K bytes)
Preloaded elf kernel "kernel" at 0xc0d38000.
Preloaded mfs_root "/mfsroot" at 0xc0d3809c.
md0: Preloaded image </mfsroot> 10485760 bytes at 0xc0336174
md1: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
sis0: <NatSemi DP83815 10/100BaseTX> port 0xe100-0xe1ff mem
0xa0000000-0xa0000ff
f irq 10 at device 6.0 on pci0
sis0: Ethernet address: 00:00:24:c2:47:a0
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: <NatSemi DP83815 10/100BaseTX> port 0xe200-0xe2ff mem
0xa0001000-0xa0001ff
f irq 10 at device 7.0 on pci0
sis1: Ethernet address: 00:00:24:c2:47:a1
miibus1: <MII bus> on sis1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: <NatSemi DP83815 10/100BaseTX> port 0xe300-0xe3ff mem
0xa0002000-0xa0002ff
f irq 10 at device 8.0 on pci0
sis2: Ethernet address: 00:00:24:c2:47:a2
miibus2: <MII bus> on sis2
ukphy2: <Generic IEEE 802.3u media interface> on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=100b device=0510)> port
0x6200-0x623f,0x6100-0
x613f at device 18.0 on pci0
isa0: <ISA bus> on isab0
chip1: <PCI to Other bridge (vendor=100b device=0511)> port 0x6300-0x63ff at
dev
ice 18.1 on pci0
atapci0: <Generic PCI ATA controller> port 0xe000-0xe00f at device 18.2 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip2: <PCI to Other bridge (vendor=100b device=0515)> port 0x6500-0x653f at
dev
ice 18.5 on pci0
ohci0: <OHCI (generic) USB controller> mem 0xa0003000-0xa0003fff irq 11 at
devic
e 19.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
orm0: <Option ROM> at iomem 0xc8000-0xd1fff on isa0
pmtimer0 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
BRIDGE 020214 loaded
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.33 initialized.  Default = block all, Logging = enabled
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: 122MB <SanDisk SDCFJ-128> [980/8/32] at ata0-master WDMA2
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: READ command timeout tag=0 serv=0 - resetting
ad0: trying fallback to PIO mode
ata0: resetting devices .. done


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x780090
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01893e7
stack pointer           = 0x10:0xc029b910
frame pointer           = 0x10:0xc029b948
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = bio
trap number             = 12
panic: page fault

syncing disks...
done
Uptime: 41s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...


POST: 0123456789bcefghipajklnoq,,,tvwxy

comBIOS ver. 1.24  20040312  Copyright (C) 2000-2004 Soekris Engineering.

net4801

0128 Mbyte Memory                        CPU Geode 266 Mhz

Pri Mas  SanDisk SDCFJ-128               LBA 980-8-32  125 Mbyte

PXE-M00: BootManage UNDI, PXE-2.0 (build 082)

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 00
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 00
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.

comBIOS Monitor.   Press ? for help.

> show

ConSpeed = 9600
ConLock = Enabled
ConMute = Disabled
BIOSentry = Enabled
PCIROMS = Enabled
PXEBoot = Enabled
FLASH = Primary
BootDelay = 5
BootPartition = Disabled
ShowPCI = Enabled
Reset = Hard

>