[LinuxBIOS] pci_level_irq: lower order bits are wrong: want 0x0, got 0x20

Peter Stuge stuge-linuxbios at cdy.org
Sun Sep 17 19:18:59 CEST 2006


On Sun, Sep 17, 2006 at 11:45:32AM +0200, Stefan Reinauer wrote:
> * Peter Stuge <stuge-linuxbios at cdy.org> [060917 03:29]:
> > I'm having a few problems with the CF card, but they are probably
> > related to pcmcia things in the kernel. I'm about to talk to
> > linux-pcmcia but wanted some input on those 0x20 messages first..
> >
> > ..because if I force Linux to look for the CF card (0:a.1) with
> > ide2=0x1e0,0x1ec,9 I get:
>
> Try updating to the latest tree. I've checked in an IRQ fix a few
> releases ago which fixed some serious IRQ trouble with CF for me.
> Nick Barker agreed the fix would be necessary on his Epia-MII as
> well.
>
> So its definitely worth a try.

I pulled his change when I saw it had been committed. It seemed to
help when forcing the ide driver to use the CF.


Anyway, I left the board powered off over night and now when I
started it up:

--8<--
pcmcia: registering new device pcmcia1.0
Probing IDE interface ide2...
hde: SanDisk SDCFX-1024, CFA DISK drive
ide2 at 0x100-0x107,0x10e on irq 7
hde: max request size: 128KiB
hde: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
 hde: hde1
ide-cs: hde: Vpp = 0.0
-->8--

All good.

The inconsistency is "interesting"..

I wasn't watching the serial port so I don't know if I got the 0x20
messages from LB.

Reset:

--8<--
LinuxBIOS-2.0.0.0Fallback Fri Sep 15 04:22:41 CEST 2006 starting...
 Enabling mainboard devices
 Enabling shadow ram
vt8623 init starting
Detecting Memory
Number of Banks 04
Number of Rows 0d
Priamry DRAM width08
No Columns 0a
MA type e0
Bank 0 (*16 Mb) 10
No Physical Banks 01
Total Memory (*16 Mb) 10
CAS Supported 2 2.5 3
Cycle time at CL X     (nS)50
Cycle time at CL X-0.5 (nS)60
Cycle time at CL X-1   (nS)75
Starting at CAS 3
We can do CAS 2.5
We can do CAS 2
tRP 3c
tRCD 3c
tRAS 28
Low Bond 00  High Bondb8  Setting DQS delay7avt8623 done
00:06 11 23 31 06 00 30 22 00 00 00 06 00 00 00 00
10:08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30:00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
40:00 18 88 80 82 44 00 00 18 99 88 80 82 44 00 00
50:c8 de cf 88 e0 07 00 00 e0 00 10 10 10 10 00 00
60:02 ff 00 30 52 32 01 2a 42 2d 43 58 00 44 00 00
70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 00 12
80:0f 61 00 00 80 00 00 00 02 00 00 00 00 00 00 00
90:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0:02 c0 20 00 07 02 00 1f 04 00 00 00 2f 02 04 00
b0:00 00 00 00 80 00 00 00 8a 00 00 00 00 00 00 00
c0:01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
d0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0:00 dd 00 00 00 00 01 00 40 00 00 00 00 00 00 00
f0:00 00 00 00 00 00 11 13 00 00 00 00 00 00 00 00
AGP
 Doing MTRR init.
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-2.0.0.0Fallback Fri Sep 15 04:22:41 CEST 2006 booting...
clocks_per_usec: 930
Enumerating buses...
APIC_CLUSTER: 0 enabled
Finding PCI configuration type.
PCI: Using configuration type 1
PCI_DOMAIN: 0000 enabled
PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1106/3123] enabled
PCI: 00:01.0 [1106/b091] enabled
PCI: 00:0a.0 [1180/0476] enabled
PCI: 00:0a.1 [1180/0476] enabled
In vt8235_enable 1106 3038.
PCI: 00:10.0 [1106/3038] enabled
In vt8235_enable 1106 3038.
PCI: 00:10.1 [1106/3038] enabled
In vt8235_enable 1106 3038.
PCI: 00:10.2 [1106/3038] enabled
In vt8235_enable 1106 3104.
PCI: 00:10.3 [1106/3104] enabled
In vt8235_enable 1106 3177.
Initialising Devices
PCI: 00:11.0 [1106/3177] enabled
In vt8235_enable 1106 0571.
PCI: 00:11.1 [1106/0571] enabled
In vt8235_enable 1106 3059.
PCI: 00:11.5 [1106/3059] enabled
In vt8235_enable ffff ffff.
In vt8235_enable 1106 3065.
PCI: 00:12.0 [1106/3065] enabled
PCI: pci_scan_bus for bus 1
PCI: 01:00.0 [1106/3122] enabled
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus for bus 2
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus for bus 3
PCI: pci_scan_bus returning with max=03
vt1211 enabling PNP devices.
PNP: 002e.0 enabled
vt1211 enabling PNP devices.
PNP: 002e.1 enabled
vt1211 enabling PNP devices.
PNP: 002e.2 enabled
vt1211 enabling PNP devices.
PNP: 002e.3 enabled
vt1211 enabling PNP devices.
PNP: 002e.b enabled
PCI: pci_scan_bus returning with max=03
done
Allocating resources...
Reading resources...
Done reading resources.
Setting resources...
I would set ram size to 0x40000 Kbytes
PCI: 00:0a.0 In set resources
PCI: 00:0a.0 10 <- [0x00febfb000 - 0x00febfbfff] mem
PCI: 00:0a.0 2c <- [0x0000001870 - 0x000000286f] io
PCI: 00:0a.0 34 <- [0x0000002870 - 0x000000386f] io
PCI: 00:0a.0 1c <- [0x00f6bfb000 - 0x00f8bfafff] prefmem
PCI: 00:0a.0 24 <- [0x00f8bfb000 - 0x00fabfafff] mem
PCI: 00:0a.1 In set resources
PCI: 00:0a.1 1 ==> febfc000
PCI: 00:0a.1 10 <- [0x00febfd000 - 0x00febfdfff] mem
PCI: 00:0a.1 2c <- [0x0000003870 - 0x000000486f] io
PCI: 00:0a.1 34 <- [0x0000004870 - 0x000000586f] io
PCI: 00:0a.1 1c <- [0x00fabfb000 - 0x00fcbfafff] prefmem
PCI: 00:0a.1 24 <- [0x00fcbfb000 - 0x00febfafff] mem
PCI: 00:10.0 20 <- [0x0000001800 - 0x000000181f] io
PCI: 00:10.1 20 <- [0x0000001820 - 0x000000183f] io
PCI: 00:10.2 20 <- [0x0000001840 - 0x000000185f] io
PCI: 00:10.3 10 <- [0x00febfe000 - 0x00febfe0ff] mem
PNP: 002e.0 60 <- [0x00000003f0 - 0x00000003f7] io
PNP: 002e.0 70 <- [0x0000000006 - 0x0000000006] irq
PNP: 002e.0 74 <- [0x0000000002 - 0x0000000002] drq
PNP: 002e.1 60 <- [0x0000000378 - 0x000000037f] io
PNP: 002e.1 70 <- [0x0000000007 - 0x0000000007] irq
PNP: 002e.1 74 <- [0x0000000003 - 0x0000000003] drq
PNP: 002e.2 60 <- [0x00000003f8 - 0x00000003ff] io
PNP: 002e.2 70 <- [0x0000000004 - 0x0000000004] irq
PNP: 002e.3 60 <- [0x00000002f8 - 0x00000002ff] io
PNP: 002e.3 70 <- [0x0000000003 - 0x0000000003] irq
PNP: 002e.b 60 <- [0x000000ec00 - 0x000000ecff] io
PCI: 00:11.1 20 <- [0x0000001860 - 0x000000186f] io
PCI: 00:11.5 10 <- [0x0000001000 - 0x00000010ff] io
PCI: 00:12.0 10 <- [0x0000001400 - 0x00000014ff] io
PCI: 00:12.0 14 <- [0x00febff000 - 0x00febff0ff] mem
Done setting resources.
Done allocating resources.
Enabling resources...
PCI: 00:00.0 cmd <- 146
PCI: 00:01.0 bridge ctrl <- 000f
PCI: 00:01.0 cmd <- 147
PCI: 01:00.0 cmd <- 140
PCI: 00:0a.0 bridge ctrl <- 0503
PCI: 00:0a.0 cmd <- 143
PCI: 00:0a.1 bridge ctrl <- 0503
PCI: 00:0a.1 cmd <- 143
PCI: 00:10.0 subsystem <- 00/00
PCI: 00:10.0 cmd <- 141
PCI: 00:10.1 subsystem <- 00/00
PCI: 00:10.1 cmd <- 141
PCI: 00:10.2 subsystem <- 00/00
PCI: 00:10.2 cmd <- 141
PCI: 00:10.3 subsystem <- 00/00
PCI: 00:10.3 cmd <- 142
PCI: 00:11.0 cmd <- 147
PNP: 002e.0 - enabling
PNP: 002e.1 - enabling
PNP: 002e.2 - enabling
PNP: 002e.3 - enabling
PNP: 002e.b - enabling
PCI: 00:11.1 cmd <- 147
PCI: 00:11.5 subsystem <- 00/00
PCI: 00:11.5 cmd <- 141
PCI: 00:12.0 cmd <- 1c3
done.
Initializing devices...
Root Device init
APIC_CLUSTER: 0 init
Initializing CPU #0
CPU: vendor Centaur device 673
Enabling cache

Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) Type: WB
Setting fixed MTRRs(24-88) Type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range:  128MB, type WB
Setting variable MTRR 1, base:  128MB, range:   64MB, type WB
Setting variable MTRR 2, base:  192MB, range:   32MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

Disabling local apic...done.
CPU #0 Initialized
PCI: 00:10.0 init
PCI: 00:10.1 init
PCI: 00:10.2 init
PCI: 00:10.3 init
PCI: 00:11.0 init
vt8235 init
RTC Init
Invalid CMOS LB checksum
pci_routing_fixup: dev is 000104c0
setting firewire
setting usb
Assigning IRQ 5 to 0:10.0
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 9 to 0:10.1
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 9 to 0:10.2
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 5 to 0:10.3
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting vt8235
Assigning IRQ 5 to 0:11.1
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 9 to 0:11.5
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting ethernet
Assigning IRQ 5 to 0:12.0
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting vga
Assigning IRQ 5 to 1:0.0
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting pci slot
setting cardbus slot
Assigning IRQ 5 to 0:a.0
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 9 to 0:a.1
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting riser slot
PNP: 002e.0 init
PNP: 002e.1 init
PNP: 002e.2 init
PNP: 002e.3 init
PNP: 002e.b init
PCI: 00:11.1 init
Enabling VIA IDE.
ide_init: enabling compatibility IDE addresses
enables in reg 0x42 0x0
enables in reg 0x42 read back as 0x0
enables in reg 0x40 0x3
enables in reg 0x40 read back as 0x3
enables in reg 0x9 0x8a
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x7
command in reg 0x4 reads back as 0x7
PCI: 00:11.5 init
PCI: 00:12.0 init
Configuring VIA Rhine LAN
PCI: 00:0a.0 init
rl5c476 init
CF Base = febfc000
PCI: 00:0a.1 init
rl5c476 init
CF Base = febfc000
CF Config = 0
PCI: 00:00.0 init
VT8623 random fixup ...
Frame buffer at d0000000
PCI: 00:01.0 init
VT8623 AGP random fixup ...
PCI: 01:00.0 init
VGA random fixup ...
INSTALL REAL-MODE IDT
DO THE VGA BIOS
found VGA: vid=1106, did=3122
rom base, size: fffc0000
write_protect_vgabios
bus/devfn = 0x100
biosint: INT# 0x15
biosint: eax 0x5f00 ebx 0x18538 ecx 0x17fa0 edx 0xa
biosint: ebp 0x17f70 esp 0xff2 edi 0xec90 esi 0x18538
biosint:  ip 0x641c   cs 0xc000  flags 0x46
biosint: INT# 0x1a
biosint: eax 0xb108 ebx 0x10000 ecx 0x10000 edx 0x3d5
biosint: ebp 0x17f70 esp 0xfcc edi 0xf6 esi 0x1c01b
biosint:  ip 0x40f0   cs 0xc000  flags 0x46
0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x11
biosint: INT# 0x15
biosint: eax 0x5f02 ebx 0x18538 ecx 0x7f01 edx 0x3d5
biosint: ebp 0x17f70 esp 0xfdc edi 0x44 esi 0x1c01b
biosint:  ip 0x6468   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x401 edx 0x112
biosint: ebp 0x17f70 esp 0xfa4 edi 0x44 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x401 edx 0x112
biosint: ebp 0x17f70 esp 0xfa4 edi 0x44 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x401 edx 0x112
biosint: ebp 0x17f70 esp 0xf92 edi 0x44 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f02 ebx 0x10002 ecx 0x401 edx 0x0
biosint: ebp 0x17f70 esp 0xfb8 edi 0x44 esi 0x1c01b
biosint:  ip 0x6468   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f02 ebx 0x10002 ecx 0x401 edx 0x0
biosint: ebp 0x17f70 esp 0xfb8 edi 0x44 esi 0x1c01b
biosint:  ip 0x6468   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f02 ebx 0x10002 ecx 0x401 edx 0x0
biosint: ebp 0x17f70 esp 0xfb8 edi 0x44 esi 0x1c01b
biosint:  ip 0x6468   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f0f ebx 0x18538 ecx 0x7fa0 edx 0x3d5
biosint: ebp 0x17f70 esp 0xfee edi 0x44 esi 0x18538
biosint:  ip 0x651b   cs 0xc000  flags 0x6
biosint: INT# 0x15
biosint: eax 0x5f02 ebx 0x18538 ecx 0x7f01 edx 0x3d5
biosint: ebp 0x17f70 esp 0xfdc edi 0x44 esi 0x18538
biosint:  ip 0x6468   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x700 edx 0x112
biosint: ebp 0x10fca esp 0xf8e edi 0xac51 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x700 edx 0x112
biosint: ebp 0x10fca esp 0xf7e edi 0xb880 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x101 edx 0x112
biosint: ebp 0x10fca esp 0xf7e edi 0xb880 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x7a0 edx 0x112
biosint: ebp 0x10fca esp 0xf88 edi 0xb880 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x700 edx 0x112
biosint: ebp 0x10fca esp 0xf7e edi 0xb880 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x700 edx 0x112
biosint: ebp 0x10fca esp 0xf90 edi 0xb880 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x701 edx 0x112
biosint: ebp 0x10fca esp 0xf90 edi 0xb880 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f18 ebx 0x18538 ecx 0x7f01 edx 0x3d5
biosint: ebp 0x17f70 esp 0xfde edi 0x44 esi 0x18538
biosint:  ip 0x6533   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x300 edx 0x112
biosint: ebp 0x10fc8 esp 0xf8c edi 0xac49 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x46
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x300 edx 0x112
biosint: ebp 0x10fc8 esp 0xf7c edi 0xb840 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x101 edx 0x112
biosint: ebp 0x10fc8 esp 0xf7c edi 0xb840 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x3a0 edx 0x112
biosint: ebp 0x10fc8 esp 0xf86 edi 0xb840 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x300 edx 0x112
biosint: ebp 0x10fc8 esp 0xf7c edi 0xb840 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x300 edx 0x112
biosint: ebp 0x10fc8 esp 0xf8e edi 0xb840 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0xc01 ecx 0x301 edx 0x112
biosint: ebp 0x10fc8 esp 0xf8e edi 0xb840 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f06 ebx 0x18001 ecx 0x80010001 edx 0x0
biosint: ebp 0x10fd6 esp 0xfb4 edi 0x0 esi 0x146a7
biosint:  ip 0x6479   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010000 edx 0x112
biosint: ebp 0x10fd6 esp 0xf88 edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010000 edx 0x112
biosint: ebp 0x10fd6 esp 0xf78 edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010101 edx 0x112
biosint: ebp 0x10fd6 esp 0xf78 edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010001 edx 0x112
biosint: ebp 0x10fd6 esp 0xf82 edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010000 edx 0x112
biosint: ebp 0x10fd6 esp 0xf78 edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010000 edx 0x112
biosint: ebp 0x10fd6 esp 0xf8a edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f01 ebx 0x10c01 ecx 0x80010001 edx 0x112
biosint: ebp 0x10fd6 esp 0xf8a edi 0x0 esi 0x1aacd
biosint:  ip 0x6448   cs 0xc000  flags 0x246
biosint: INT# 0x15
biosint: eax 0x5f08 ebx 0x18001 ecx 0x80010001 edx 0x0
biosint: ebp 0x10fd6 esp 0xfb4 edi 0x0 esi 0x146a7
biosint:  ip 0x6485   cs 0xc000  flags 0x202
Devices initialized
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...done
Checking IRQ routing table consistency...
check_pirq_routing_table() - irq_routing_table located at: 0x000f0000
done.
ACPI: Writing ACPI tables at f0400...
ACPI:     * FACS
ACPI:     * DSDT @ 000f049e Length 3f0
ACPI:     * FADT
ACPI: added table 1/5 Length now 40
ACPI: done.
Moving GDT to 0x500...ok
Wrote linuxbios table at: 00000530 - 00000b4c  checksum c8c7

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.3

rom_stream: 0xfffd0000 - 0xfffeffff
Found ELF candiate at offset 0
Loading Etherboot version: 5.4.2
Dropping non PT_LOAD segment
New segment addr 0x10000 size 0x11d60 offset 0x0 filesize 0x7220
(cleaned up) New segment addr 0x10000 size 0x11d60 offset 0x0 filesize 0x7220
Loading Segment: addr: 0x000000000dfdc000 memsz: 0x000000000000c000 filesz: 0x00
Clearing Segment: addr: 0x000000000dfe3220 memsz: 0x0000000000004de0
Loading Segment: addr: 0x000000000001c000 memsz: 0x0000000000005d60 filesz: 0x00
Clearing Segment: addr: 0x000000000001c000 memsz: 0x0000000000005d60
Jumping to boot code at 0x100b0
CPU 625 Mhz
Etherboot 5.4.2 (GPL) http://etherboot.org
Drivers: VIA 86C100   Images: NBI ELF Multiboot
Protocols: DHCP TFTP
Relocating _text from: [000100e0,00021d60) to [0deee380,0df00000)
Probing pci nic...
[dlink-530tx]rhine.c v1.0.2 2004-10-29
Enabling Sticky Bit Workaround for Chip_id: 0x3065
IO address 1400 Ethernet Address: 00:40:63:D4:B5:76
Analyzing Media type,this will take several seconds........OK
Linespeed=100Mbs Fullduplex
Searching for server (DHCP).....
Me: 192.168.3.9, DHCP: 192.168.3.1, TFTP: 192.168.3.1
Loading 192.168.3.1:/boot.elf
...XXXX(ELF)...0005001100160022002700330039002503e
rhine disable
Firmware type: LinuxBIOS
Linux version 2.6.18-rc6 (root at carepad4) (gcc version 4.1.1 (Gentoo 4.1.1-r1)) 6
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 0000000000000b9c (reserved)
 BIOS-e820: 0000000000000b9c - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 00000000000f0c00 (reserved)
 BIOS-e820: 0000000000100000 - 000000000e000000 (usable)
224MB LOWMEM available.
DMI not present or invalid.
ACPI: PM-Timer IO Port: 0x408
Allocating PCI resources starting at 10000000 (gap:
0e000000:f2000000)
Detected 599.755 MHz processor.
Built 1 zonelists.  Total pages: 57344
Kernel command line: root=/dev/nfs nfsroot=/epia ro console=tty0 console=ttyS0,
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 221288k/229376k available (3632k kernel code, 7656k reserved, 1304k dat)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1200.47 BogoMIPS (lpj=600235)
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: Centaur VIA Samuel 2 stepping 03
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060707
ACPI: setting ELCR to 0020 (from 0220)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *9 10)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10)
ACPI: PCI Interrupt Link [LNKD] (IRQs *5 9 10)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 0400-047f claimed by vt8235 PM
PCI quirk: region 0f00-0f0f claimed by vt8235 SMB
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NET: Registered protocol family 23
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: dc000000-ddffffff
  PREFETCH window: d8000000-dbffffff
PCI: Bus 2, cardbus bridge: 0000:00:0a.0
  IO window: 00001c00-00001cff
  IO window: 00002000-000020ff
  PREFETCH window: 10000000-11ffffff
  MEM window: 12000000-13ffffff
PCI: Bus 6, cardbus bridge: 0000:00:0a.1
  IO window: 00002400-000024ff
  IO window: 00002800-000028ff
  PREFETCH window: 14000000-15ffffff
  MEM window: 16000000-17ffffff
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ5
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ9
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
NTFS driver 2.1.27 [Flags: R/O].
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
ACPI: Power Button (FF) [PWRF]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA CLE266 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ5
[drm] Initialized via 2.7.4 20051116 on minor 0
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
via-rhine.c:v1.10-LK1.4.1 July-24-2006 Written by Donald Becker
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ5
eth0: VIA Rhine II at 0xfebff000, 00:40:63:d4:b5:76, IRQ 5.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ5
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
video1394: Installed video1394 module
ieee1394: raw1394: /dev/raw1394 device initialized
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
Yenta: CardBus bridge found at 0000:00:0a.0 [0000:0000]
Yenta: ISA IRQ mask 0x0c80, PCI irq 5
Socket status: 30000006
Yenta: CardBus bridge found at 0000:00:0a.1 [0000:0000]
Yenta: ISA IRQ mask 0x0c80, PCI irq 9
Socket status: 30000819
Intel ISA PCIC probe: not found.
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:10.3[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ5
ehci_hcd 0000:00:10.3: EHCI Host Controller
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: irq 5, io mem 0xfebfe000
ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ5
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 5, io base 0x00001800
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ9
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 9, io base 0x00001820
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:10.2[C] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ9
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 9, io base 0x00001840
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
pccard: PCMCIA card inserted into slot 1
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB mos
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.
ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ9
input: AT Translated Set 2 keyboard as /class/input/input0
usbcore: registered new driver snd-usb-audio
ALSA device list:
  #0: VIA 8235 with VT1616i at 0x1000, irq 9
ip_conntrack version 2.4 (1792 buckets, 14336 max) - 204 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
IrCOMM protocol (Dag Brattli)
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.5
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
802.1Q VLAN Support v1.8 Ben Greear <greearb at candelatech.com>
All bugs added by David S. Miller <davem at redhat.com>
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<jketreno at linux.intel.com>
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports<6>Time: acpi_pm clocksource has been installed.
 S0 S5)
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 192.168.3.1, my address is
192.168.3.9
IP-Config: Complete:
      device=eth0, addr=192.168.3.9, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.3.9, domain=, nis-domain=(none),
     bootserver=192.168.3.1, rootserver=192.168.3.1, rootpath=
Looking up port of RPC 100003/2 on 192.168.3.1
Looking up port of RPC 100005/1 on 192.168.3.1
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 200k freed
INIT: version 2.86 booting

Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc ...                                             [ ok ]
 * Mounting sysfs at /sys ...                                             [ ok ]
 * Mounting /dev for udev ...                                             [ ok ]
 * Populating /dev with saved device nodes ...                            [ ok ]
 * Seeding /dev with needed nodes ...cp: cannot create special file /dev/consos
cp: cannot create special file /dev/null': File exists
cp: cannot create special file /dev/zero': File exists
                                     [ ok ]
 * Setting up proper hotplug agent ...
 *   Using netlink for hotplug events...
                                                                          [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...              [ ok ]
 * Letting udev process events ...                                        [ ok ]
 * Finalizing udev configuration ...                                      [ ok ]
 * Mounting devpts at /dev/pts ...                                        [ ok ]
 * Making empty directories in /var ...                                   [ ok ]
 * Checking all filesystems ...                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Activating (possible) swap ...                                         [ ok ]
 * Setting system clock using the hardware clock [UTC] ...                [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Cleaning /tmp directory ...                                            [ ok ]
 * Caching service dependencies ...                                       [ ok ]
 * Setting hostname to epia ...                                           [ ok ]
 * Starting lo
 *   Running preup function
                                                                          [ ok ]
 *   Bringing up lo
 *     127.0.0.1/8
                                                                          [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                                    [ ok ]
 * Initializing random number generator ...                               [ ok ]
INIT: Entering runlevel: 3
 * Loading ALSA modules ...                                               [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]
 * Starting local ...                                                     [ ok ]

epia dev # dmesg|tail -n 22
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 200k freed
spurious 8259A interrupt: IRQ7.
cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x1f0-0x1f7 0x370-0x37f
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x1f0-0x1f7 0x370-0x37f
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia1.0
Probing IDE interface ide2...
hde: SanDisk SDCFX-1024, CFA DISK drive
ide2 at 0x100-0x107,0x10e on irq 7
hde: max request size: 128KiB
hde: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
 hde: hde1
ide-cs: hde: Vpp = 0.0
epia dev #
-->8--

I've made zero changes since last night when it didn't pick up the CF.

Forcing ide2=0x1e0,0x1ec,9 on the kernel command line now gets me:
--8<--
hde: probing with STATUS(0x50) instead of ALTSTATUS(0x00)
hde: SanDisk SDCFX-1024, CFA DISK drive
ide4: I/O resource 0x1E0-0x1E7 not free.
ide4: ports already in use, skipping probe
ide2 at 0x1e0-0x1e7,0x1ec on irq 9
hde: max request size: 128KiB
hde: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
 hde:<4>hde: lost interrupt
hde: lost interrupt
-->8--

So no 0x20 bit jammed low, but still no go with the IDE driver.

I think there may be more than one problem here, or that I'm looking
at this the wrong way. I'm starting a thread on linux-pcmcia now to
see what they think and if they have any ideas.

I just rebuilt the latest rev LB with enable_cf=0 to exclude the
setup code for the CF slot and flashed it but still the same results.


//Peter




More information about the coreboot mailing list