Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2007 23:09:38 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-mobile@freebsd.org
Subject:   Toshiba OmniBook 5500CT, FreeBSD 4.11 and two PCCards
Message-ID:  <20070201230938.8b546beb.torfinn.ingolfsen@broadpark.no>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Boundary_(ID_DNywO1yVywqaHSrAS34SsQ)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

I have an old Toshiba laptop (OmniBook 5500CT), which is too old to run
FreeBSD 6.x or even 5.x on. The reason for that is that the PCCard
controller isn't supported / doesn't work under 5.x or 6.x.

So I installed FreeBSD 4.11-RELEASE on it, and upgraded to 4.11-stable.

I would like to use the OmniBook as a temporary firewall, while I
upgrade the real firewall. For this to work, the OmniBook needs to have
two network cards. Being old, this machine don't have built in network
card(s), usb port(s) or anything that could be of help here. But it has
two PCCard slots. I have two identical PCCard NIC's, both work in the
machine:
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 11 slot 0 on pccard0
ed1: address 00:10:60:f3:13:b0, type NE2000 (16 bit) 

The problem is that they only work in slot 0 (the lower slot).
When I insert a card in slot 1 (the upper slot) I get this (boot
verbose, from /var/log/messages):
Jan 28 20:59:05 kg-omni2 /kernel: pcic0: Power: Vcc=0 Vpp=0
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Power applied
Jan 28 20:59:06 kg-omni2 /kernel: Power complete.
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Power: Vcc=-1 Vpp=-1
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Autodetected 5.0V card
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Power applied
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Output enabled
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: Settling complete
Jan 28 20:59:06 kg-omni2 /kernel: Power complete.
Jan 28 20:59:06 kg-omni2 /kernel: pccard: card inserted, slot 1
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: reset 1 int is 0 stat is cf
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: reset 2 int is 60 stat is cf
Jan 28 20:59:06 kg-omni2 /kernel: pcic0: reset 3 int is 60 stat is ef
Jan 28 20:59:11 kg-omni2 pccardd[51]: No card in database for "(null)"("(null)")

It doesn't matter if there is a card in slot 0 or not when I insert the card in slot 1.

The PCCard controller is a PD6729:
pcic0: <Cirrus Logic PD6729/6730 PCI-PCMCIA Bridge> port 0x3e0-0x3e3 at device 3.0 on pci0
pcic0: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pccard1: <PC Card 16-bit bus (classic)> on pcic0

pcic0@pci0:3:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0xe2 hdr=0x00
    vendor   = 'Cirrus Logic'
    device   = 'CL-PD6729 PCI-to-PC Card host adapter'
    class    = bridge
    subclass = PCI-PCMCIA


I have attached the dmesg output from a verbose boot, in case it helps.
I read the man page, and triedc setting 
hw.pcic.intr_path="1"
in /boot/loader.conf

Alas, it didn't help.
This machine is so old, there are no settings in bios related to the pccard controller.
Is there anything else I can try?
-- 
Regards,
Torfinn Ingolfsen,
Norway


--Boundary_(ID_DNywO1yVywqaHSrAS34SsQ)
Content-type: text/plain; name=omnibook-dmesg-4.11-stable-20070128_verbose.txt
Content-transfer-encoding: 7BIT
Content-disposition: attachment;
	filename=omnibook-dmesg-4.11-stable-20070128_verbose.txt

Copyright (c) 1992-2005 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.11-STABLE #0: Sun Jan 28 12:54:21 CET 2007
    root@kg-omni2.kg4.no:/usr/obj/usr/src/sys/OMNIBOOK
Calibrating clock(s) ... TSC clock: 133322139 Hz, i8254 clock: 1193172 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium/P54C (133.32-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
Physical memory chunk(s):
0x000001000 - 0x00009efff, 647168 bytes (158 pages)
0x0005bd000 - 0x001ff7fff, 27504640 bytes (6715 pages)
avail memory = 27062272 (26428K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00e7050
bios32: Entry = 0xe9830 (c00e9830)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x286e
pnpbios: Found PnP BIOS data at 0xc00ff000
pnpbios: Entry = ea000:2489  Rev = 1.0
pnpbios: Event flag at ea01e
pnpbios: OEM ID 3726744e
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc0596000.
Intel Pentium detected, installing workaround for F00F bug
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80008048
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=c5571045)
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 104014978 bytes/sec
bzero() bandwidth = 109625082 bytes/sec
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1045, dev=0xc557, revid=0x00
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1045, dev=0xc558, revid=0x00
	class=06-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x102c, dev=0x00dc, revid=0x00
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base c0000000, size 23
found->	vendor=0x1013, dev=0x1100, revid=0xe2
	class=06-05-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=255
	map[10]: type 1, range 32, base 000003e0, size  2
found->	vendor=0x1004, dev=0x0105, revid=0x01
	class=07-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base 00003000, size  5
pci0: <PCI bus> on pcib0
isab0: <PCI to ISA bridge (vendor=1045 device=c558)> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Chips & Technologies 65548 SVGA controller> (vendor=0x102c, dev=0x00dc) at 2.0
pcic0: <Cirrus Logic PD6729/6730 PCI-PCMCIA Bridge> port 0x3e0-0x3e3 at device 3.0 on pci0
pcic0: Polling mode
pcic0: PCI Configuration space:
  0x00: 0x11001013 0x040001c3 0x060500e2 0x00000000 
  0x10: 0x000003e1 0x00000000 0x00000000 0x00000000 
  0x20: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x30: 0x00000000 0x00000000 0x00000000 0x000001ff 
  0x40: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pccard1: <PC Card 16-bit bus (classic)> on pcic0
chip1: <VLSI 82C147 IrDA controller> port 0x3000-0x301f irq 10 at device 4.0 on pci0
ex_isa_identify()
pcic-: pcic0 exists, using next available unit number
pcic-: pcic1 exists, using next available unit number
Trying Read_Port at 203
CSC0000: start dependant
CSC0000: adding dma mask 0x2
CSC0000: adding dma mask 0x9
CSC0000: adding irq mask 0x20
CSC0000: adding io range 0x534-0x537, size=0x4, align=0x4
CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
CSC0000: adding fixed io range 0x220-0x22f, size=0x10, align=0x1
CSC0000: start dependant
CSC0000: adding dma mask 0xb
CSC0000: adding irq mask 0x82a0
CSC0000: adding io range 0x534-0x537, size=0x4, align=0x4
CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
CSC0000: adding fixed io range 0x220-0x22f, size=0x10, align=0x1
CSC0000: end dependant
CSC0001: start dependant
CSC0001: adding fixed io range 0x200-0x207, size=0x8, align=0x1
CSC0001: start dependant
CSC0001: adding io range 0x100-0x3ff, size=0x8, align=0x8
CSC0001: end dependant
CSC0002: adding io range 0x538-0x53f, size=0x8, align=0x8
CSC0003: start dependant
CSC0003: adding irq mask 0x200
CSC0003: adding fixed io range 0x330-0x331, size=0x2, align=0x1
CSC0003: start dependant
CSC0003: adding irq mask 0x82a0
CSC0003: adding io range 0x100-0x3f9, size=0x2, align=0x8
CSC0003: end dependant
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xca000-0xca7ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
adv0 failed to probe on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0067
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic1: Cannot get I/O range
pcic1 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic2: not probed (disabled)
sio0: irq maps: 0x261 0x271 0x261 0x261
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x261 0x269 0x261 0x261
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0: not probed (disabled)
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
cs0: not probed (disabled)
sn0: not probed (disabled)
isa_probe_children: probing PnP devices
adv1: Invalid baseport of 0x534 specified. Nearest valid baseport is 0x330.  Failing probe.
unknown: <WSS/OPL/SB> failed to probe at port 0x534-0x543,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
adv1: Invalid baseport of 0x200 specified. Nearest valid baseport is 0x210.  Failing probe.
unknown: <Game> failed to probe at port 0x200-0x20f on isa0
unknown: <CTRL> can't assign resources
unknown: <CTRL> at port 0x538-0x53f on isa0
unknown: <MPU> failed to probe at port 0x330-0x33f irq 9 on isa0
BIOS Geometries:
 0:03fdff3f 0..1021=1022 cylinders, 0..255=256 heads, 1..63=63 sectors
 1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 2:03fdfe3f 0..1021=1022 cylinders, 0..254=255 heads, 1..63=63 sectors
 3:02fe0200 0..766=767 cylinders, 0..2=3 heads, 1..0=0 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c040, tty 63109a, net 67109a
bpf: sl0 attached
bpf: faith0 attached
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <HITACHI_DK23EA-20/00K5A0A2> ATA-5 disk at ata0-master
ad0: 19077MB (39070080 sectors), 38760 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, BIOSPIO
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 1048319, size 1048257 : OK
ad0s2: type 0xa5, start 1048320, end = 2096639, size 1048320 : OK
ad0s3: type 0xa5, start 2096640, end = 20579327, size 18482688 : OK
ad0s4: type 0xa5, start 20579328, end = 39070079, size 18490752 : OK
start_init: trying /sbin/init
pcic0: Power: Vcc=0 Vpp=0
pcic0: Power applied
Power complete.
pcic0: Power: Vcc=-1 Vpp=-1
pcic0: Autodetected 5.0V card
pcic0: Power applied
pcic0: Output enabled
pcic0: Settling complete
Power complete.
pccard: card inserted, slot 0
pcic0: reset 1 int is 0 stat is cf
pcic0: reset 2 int is 60 stat is cf
pcic0: reset 3 int is 60 stat is ef
pccard0: Assigning ed1: io 0x300-0x31f irq 11 flags 0x0
pcic: I/O win 0 flags 15 300-31f
pcic: I/O win 0 flags 5 300-31f
ed1 at port 0x300-0x31f irq 11 slot 0 on pccard0
pcic: I/O win 0 flags 15 300-31f
bpf: ed1 attached
ed1: address 00:10:60:f3:31:04, type NE2000 (16 bit) 

--Boundary_(ID_DNywO1yVywqaHSrAS34SsQ)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070201230938.8b546beb.torfinn.ingolfsen>