Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2001 03:04:09 +0900
From:      Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
To:        FreeBSD-mobile@FreeBSD.ORG
Subject:   Toshiba Libretto M3 with Planex FNW-3600-T
Message-ID:  <sa6itey6deu.wl@ring.myn.rcast.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help
Hello.

I report some data points.  Mostly, my NotePC works fine, a few cards
looks fine, one card (ethernet card) stops the system if I use PCI
interrupt routing; details are as follows..


I have Libretto M3, an OEM variant that is similar to Toshiba Libretto
100.  I am now testing with RELENG_4 kernel and pccardd cvsupped at
10:00 UTC September 4, with no-boot-hang.diff.2 applied.  (The rest of
the world is RELENG_4 cvsupped mid-July).

Without any cards inserted everything is working fine, both with
and without the following 2 lines in /boot/loader.conf

hw.pcic.intr_path=1
hw.pcic.irq=0


A modem card (TDK, DF3314E DATA/FAX MODEM) works fine with both routing
methods as well.  I can 'tip com5' and talk with the modem.

FWIW, I would mention one thing I noticed with this modem card...

As of 4.3-RELEASE, if you insert this modem, use the serial port, and
eject it, everythings worked fine.
If you insert this modem, do nothing (don't open /dev/cuaa4), and
eject, very often, if not always, system hangs up.  Alt-Ctl-DEL does
not work.  Re-inserting doesn't help either.  I always hit reset key
when this happens on me.

With this 4.4-RC kernel, same thing happens if you have ISA interrupt
routing, but the problem seems to go away with PCI interrupt routing.


A WaveLAN card (BUFFALO, WLI-PCM-L11G) seems to work fine.
I don't have any other WaveLAN card or station around right now to
communicate with, but they probe, wicontrol works, and it shows up in
ifconfig wi0.


With an ethernet card (Fast Ethernet, Planex FNW-3600-T), it works
fine for ISA interrupt routings, but with PCI routings, it gets
detected, attached, but then the system stops.  If I eject it, it
resumes, just fine.  Even the keys I typed while it was stopped comes
back again after I eject the card.  The card gets detached normally.
I can repeatedly insert and eject this card, and the same thing
continues.  It doesn't get better but neither does it get worse.

In the BIOS setup, PnP OS is set to NO, and PCIC mode is set to
auto-detect.  If I set PCIC mode to CardBus/16bit, the pcic is detected
as 'YENTA', but the results are the same.

pcic-pci0: <YENTA PCI-CARDBUS Bridge> irq 11 at device 19.0 on pci0
pcic-pci1: <YENTA PCI-CARDBUS Bridge> irq 11 at device 19.1 on pci0

Physically, this machine has only one slot.  Though, you can have two
if you doc it to a port replicator, IIRC.


Attached is the following results:
1) boot message and dmesg for the last case.
2) pir output from the system.
3) pccard dumpcis of this card (acquired while running in ISA mode)


Copyright (c) 1992-2001 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.4-RC #1: Wed Sep  5 01:26:43 JST 2001
tamaru@gin.myn.rcast.u-tokyo.ac.jp:/w/4src/i386/w/4src/src/sys/RING
Calibrating clock(s) ... TSC clock: 133285335 Hz, i8254 clock: 1192986 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/P55C (quarter-micron) (133.31-MHz 586-class CPU)
Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 100728832 (98368K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x003db000 - 0x06007fff, 96653312 bytes (23597 pages)
config> en apm0
config> fl psm0 0x6000
config> q
avail memory = 94216192 (92008K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f8fe0
bios32: Entry = 0xfe95a (c00fe95a)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xd893
pnpbios: Found PnP BIOS data at 0xc00f8ff0
pnpbios: Entry = f0000:9534  Rev = 1.0
pnpbios: Event flag at 510
pnpbios: OEM ID 6933f351
Other BIOS signatures found:
ACPI: 000fa370
Preloaded elf kernel "kernel.44rc" at 0xc03b5000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03b50ac.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Creating DISK md0
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000a050
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06011179)
Using $PIR table, 4 entries at 0xc00f9040
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 129349372 bytes/sec
bzero() bandwidth = 184263865 bytes/sec
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1179, dev=0x0601, revid=0xa2
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 	secondarybus=0
found->	vendor=0x10c8, dev=0x0083, revid=0x01
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 	secondarybus=0
intpin=a, irq=255
map[10]: type 1, range 32, base fd000000, size 24
map[14]: type 1, range 32, base ffc00000, size 21
map[18]: type 1, range 32, base ffb00000, size 20
found->	vendor=0x1033, dev=0x0035, revid=0x02
class=0c-03-10, hdrtype=0x00, mfdev=0
subordinatebus=0 	secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base ffaff000, size 12
found->	vendor=0x1179, dev=0x0701, revid=0x23
class=07-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0 	secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base 0000ffc0, size  5
found->	vendor=0x1179, dev=0x060f, revid=0x06
class=06-07-00, hdrtype=0x02, mfdev=1
subordinatebus=14 	secondarybus=14
intpin=a, irq=255
found->	vendor=0x1179, dev=0x060f, revid=0x06
class=06-07-00, hdrtype=0x02, mfdev=1
subordinatebus=15 	secondarybus=15
intpin=b, irq=255
pci0: <PCI bus> on pcib0
pci0: <NeoMagic model 0083 VGA-compatible display device> (vendor=0x10c8, dev=0x0083) at 4.0
ohci0: <NEC uPD 9210 USB controller> mem 0xffaff000-0xffafffff irq 11 at device 11.0 on pci0
usb0: OHCI version 1.0
usb0: <NEC uPD 9210 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Toshiba Fast Infra Red controller> port 0xffc0-0xffdf irq 11 at device 17.0 on pci0
pci_cfgintr_virgin: using routable interrupt 3
pci_cfgintr: 0:19 INTA routed to irq 3
pcic0: <Toshiba ToPIC97 PCI-CardBus Bridge> irq 3 at device 19.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pccard0: <PC Card bus (classic)> on pcic0
pci_cfgintr_search: linked (1) to configured irq 3 at 0:19:0
pci_cfgintr: 0:19 INTB routed to irq 3
pcic1: <Toshiba ToPIC97 PCI-CardBus Bridge> irq 3 at device 19.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
using shared irq3.
pccard1: <PC Card bus (classic)> on pcic1
isa0: <ISA bus> on motherboard
pcic-: pcic0 exists, using next available unit number
pcic-: pcic1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
ata1 failed to probe at port 0x170-0x177,0x376 irq 15 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 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> flags 0x6000 irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00006000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
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)
pcic2 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic3: not probed (disabled)
sio0: irq maps: 0x1 0x11 0x11 0x11
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: not probed (disabled)
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
mss_probe: no address given, try 0x530
mss_detect - chip revision 0x0a
mss_detect() - Detected OPL3-SAx (YMF719)
pcm0: <OPL3-SAx (YMF719)> at port 0x530-0x537,0x370-0x371,0xf8c-0xf94,0xe0e irq 5 drq 1 flags 0xc110 on isa0
Yamaha: ver 0x21 DMA config 0x8d
pcm: setmap b000, 1000; 0xc6911000 -> b000
pcm: setmap c000, 1000; 0xc6912000 -> c000
isa_probe_children: probing PnP devices
BIOS Geometries:
0:03e2fe3f 0..994=995 cylinders, 0..254=255 heads, 1..63=63 sectors
0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 684800, tty 6310ba, net 6710ba
bpf: sl0 attached
bpf: faith0 attached
Creating DISK ad0
ad0: <TOSHIBA MK8113MAT/J3.00 A> ATA-4 disk at ata0-master
ad0: 7815MB (16006410 sectors), 16938 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, BIOSPIO
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ad0: 7815MB <TOSHIBA MK8113MAT> [16938/15/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xb, start 63, end = 4064444, size 4064382 : OK
ad0s2: type 0xa5, start 4064445, end = 16000739, size 11936295 : OK
start_init: trying /sbin/init
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
splash: image decoder found: blank_saver
Linux-ELF exec handler installed

### here I insert my card..

pcic0: Event mask 0xe stat 0x30000519
pcic0: Power interrupt
pccard: card inserted, slot 0
reset 1
int is 10 stat is ff
reset 2
int is 70 stat is cf
reset 3
int is 70 stat is ef
Sep  5 01:46:05 ring pccardd[97]: Card "Fast Ethernet"("Adapter") [1.0] [(null)] matched "Fast Ethernet" ("Adapter") [(null)] [(null)] 
ed-: ed0 exists, using next available unit number
pccard0: Assigning ed1: io 0x300-0x31f irq 3 mem 0x0-0xffffffff
pcic: I/O win 0 flags 15 300-31f
ed1: Forcing IRQ to 3
pcic: I/O win 0 flags 5 300-31f
ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
pcic: I/O win 0 flags 15 300-31f
ed1: Forcing IRQ to 3
bpf: ed1 attached
ed1: address 00:90:cc:a0:ca:60, type Linksys (16 bit) 
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sep  5 01:46:11 ring pccardd[97]: ed1: Planex FNW-3600-T inserted.

### here it stopps.
### so, I ejected the card..

pcic0: Event mask 0x8 stat 0x30000559
pcic0: Power interrupt
pcic0: Event mask 0xe stat 0x30000107
lxtphy0: detached
miibus0: detached
pcic: I/O win 0 flags 5 300-31f
ed1: detached
pccard: card removed, slot 0
pcic0: Power interrupt

dhclient: receive_packet failed on ed1: Device not configured
dhclient: send_packet: Device not configured
dhclient: receive_packet failed on ed1: Device not configured
last message repeated 8209 times

### This message repeats until I do: killall dhclient

pccardd[97]: ed1: Planex FNW-3600-T removed.




PIR output:

$PIR table at 0x28115040 version 1.0
PCI interrupt router at 0:0.8 vendor 0x1179 device 0x602
PCI-only interrupts [                                     ]
entry bus slot device
 00:  00   00    17  INTA  01  [      3 4 5 6 7   9 10 11 12    14 15]
                     INTB  00  [                                     ]
                     INTC  00  [                                     ]
                     INTD  00  [                                     ]
 01:  00   00    11  INTA  01  [      3 4 5 6 7   9 10 11 12    14 15]
                     INTB  00  [                                     ]
                     INTC  00  [                                     ]
                     INTD  00  [                                     ]
 02:  00   00    04  INTA  00  [                                     ]
                     INTB  00  [                                     ]
                     INTC  00  [                                     ]
                     INTD  00  [                                     ]
 03:  00   00    19  INTA  01  [      3 4 5 6 7   9 10 11 12    14 15]
                     INTB  01  [      3 4 5 6 7   9 10 11 12    14 15]
                     INTC  00  [                                     ]
                     INTD  00  [                                     ]

pccardc dumpcis:

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  d4 0a ff
	Common memory device information:
		Device number 1, type Function specific, WPS = OFF
		Speed = 100nS, Memory block size = 8Kb, 2 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  41 00 ff
	Attribute memory device information:
		Device number 1, type EEPROM, WPS = OFF
		Speed = 250nS, Memory block size = 512b, 1 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  49 01 ab c1
	PCMCIA ID = 0x149, OEM ID = 0xc1ab
Tuple #4, code = 0x15 (Version 1 info), length = 31
    000:  04 01 46 61 73 74 20 45 74 68 65 72 6e 65 74 00
    010:  41 64 61 70 74 65 72 00 31 2e 30 00 ff 00 ff
	Version = 4.1, Manuf = [Fast Ethernet], card vers = [Adapter]
	Addit. info = [1.0]
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 20 00 04 01
	Reg len = 2, config register addr = 0x400, last config = 0x20
	Registers: X------- 
Tuple #6, code = 0x1b (Configuration entry), length = 7
    000:  d0 81 18 45 30 fc be
	Config index = 0x10(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Card decodes 5 address lines, limited 8/16 Bit I/O
		IRQ modes: Level
		IRQs:  2 3 4 5 6 7 9 10 11 12 13 15
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  01 08 ca 60 00 03 1f
	Config index = 0x1
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x300 block length = 0x20
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  02 08 ca 60 20 03 1f
	Config index = 0x2
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x320 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  03 08 ca 60 40 03 1f
	Config index = 0x3
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x340 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  04 08 ca 60 80 03 1f
	Config index = 0x4
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x380 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  05 08 ca 60 00 02 1f
	Config index = 0x5
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x200 block length = 0x20
Tuple #12, code = 0x1b (Configuration entry), length = 7
    000:  06 08 ca 60 20 02 1f
	Config index = 0x6
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x220 block length = 0x20
Tuple #13, code = 0x1b (Configuration entry), length = 7
    000:  07 08 ca 60 40 02 1f
	Config index = 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x240 block length = 0x20
Tuple #14, code = 0x21 (Functional ID), length = 2
    000:  06 00
	Network/LAN adapter
Tuple #15, code = 0x14 (No link), length = 0
Tuple #16, code = 0xff (Terminator), length = 0
2 slots found

-- 
Hiroharu Tamaru

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sa6itey6deu.wl>