Subject: pcmcia modem problem on -current
To: None <tech-kern@netbsd.org>
From: Ja'far Railton <zen25058@zen.co.uk>
List: tech-kern
Date: 06/02/2005 13:23:30
--zCKi3GIZzVBPywwA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello

My pcmcia modem works with a 2.0.2 kernel and userland. After an upgrade
to -current kernel and userland I couldn't get it it work, so I had to start
over from scratch as the downgrade back to 2.0.2 entailed serious problems.

I am worried that my modem won't work even on 3.0_STABLE whenever it is
released. I have tried building new kernels from current sources but
they don't work, e.g. 

	tip modem	
	cbb0 wait took 0.0315[...]s
	link down

	cu -p modem --> freeze requiring power off 

1. "Should" a modem working with 2.0.2 kernel and userland work with a
-current kernel?

2. What could be the reason that the modem works with 2.0.2 kernel and
not with the -current kernel? (Something to do with the "new" cbb0 wait
message?)

In both cases the configuration is the same - ACPI enabled, ACPI_PCI_FIXUP,
no other changes to GENERIC_LAPTOP.

I attach a diff of the 2.0.2 and -current dmesgs.
Thanks for any pointers.

- j

--
Well done!


--zCKi3GIZzVBPywwA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff_dmesg

< NetBSD 2.0.2_STABLE (ACER) #0: Sun May 15 04:45:17 ?? 2005
< 	jr0@bsd.makhraj.bsd:/usr/obj/sys/arch/i386/compile/ACER
---
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
> 
> NetBSD 3.99.5 (EXP) #0: Thu Jun  2 02:53:18 ?? 2005
> 	jr0@bsd.makhraj.bsd:/home/jr0/obj/sys/arch/i386/compile/EXP
88c50
< avail memory = 226 MB
---
> avail memory = 228 MB
279c241
< cpu0: Intel Pentium Pro, II or III (686-class), 1598.72 MHz, id 0x6d6
---
> cpu0: Intel Pentium M (Dothan) (686-class), 1598.70 MHz, id 0x6d6
282a245,249
> cpu0: features2 180<EST,TM2>
> cpu0: "Intel(R) Pentium(R) M processor 1.60GHz"
> cpu0: using thermal monitor 2
> cpu0: Enhanced SpeedStep running at 1600 MHz (1340 mV)
> cpu0: Enhanced SpeedStep frequencies available (MHz): 1600 1400 1200 1000 800 600
284c251
< acpi0: using Intel ACPI CA subsystem version 20040211
---
> acpi0: using Intel ACPI CA subsystem version 20050408
320c287
< pchb0: Intel 82855GM Host-to-Hub Controller (rev. 0x02)
---
> pchb0: Intel 82855GM Host-Hub Controller (rev. 0x02)
329c296
< uhci0 at pci0 dev 29 function 0: Intel 82801DB/DBM USB UHCI Controller #1 (rev. 0x03)
---
> uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x03)
333c300
< uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
---
> uhub0: Intel product 0x0000, class 9/0, rev 1.00/1.00, addr 1
335c302
< uhci1 at pci0 dev 29 function 1: Intel 82801DB/DBM USB UHCI Controller #2 (rev. 0x03)
---
> uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x03)
339c306
< uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
---
> uhub1: Intel product 0x0000, class 9/0, rev 1.00/1.00, addr 1
341c308
< uhci2 at pci0 dev 29 function 2: Intel 82801DB/DBM USB UHCI Controller #3 (rev. 0x03)
---
> uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x03)
345c312
< uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
---
> uhub2: Intel product 0x0000, class 9/0, rev 1.00/1.00, addr 1
347c314
< ehci0 at pci0 dev 29 function 7: Intel 82801DB/DBM USB EHCI Controller (rev. 0x03)
---
> ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x03)
353c320
< uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
---
> uhub3: Intel product 0x0000, class 9/0, rev 2.00/1.00, addr 1
355c322
< ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x83)
---
> ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x83)
358c325
< VIA Technologies VT3606 OHCI IEEE 1394 Controller (Firewire serial bus, interface 0x10, revision 0x80) at pci1 dev 0 function 0 not configured
---
> VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x80) at pci1 dev 0 function 0 not configured
365,366c332,337
< Intel product 0x4220 (miscellaneous network, revision 0x05) at pci1 dev 2 function 0 not configured
< cbb0 at pci1 dev 4 function 0: ENE Technology, Inc. CB1410 Cardbus Controller (rev. 0x01)
---
> iwi0 at pci1 dev 2 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
> iwi0: interrupting at irq 11
> iwi0: 802.11 address 00:0e:35:a2:73:c6
> iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> cbb0 at pci1 dev 4 function 0: ENE Technology CB1410 CardBus Controller (rev. 0x01)
371,372c342,345
< pcib0 at pci0 dev 31 function 0
< pcib0: Intel 82801DB ISA Bridge (rev. 0x03)
---
> ichlpcib0 at pci0 dev 31 function 0
> ichlpcib0: Intel 82801DB ISA Bridge (rev. 0x03)
> ichlpcib0: TCO (watchdog) timer configured.
> ichlpcib0: SpeedStep enabled
382c355
< Intel 82801DB/DBM SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
---
> Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
387,388c360,362
< Intel 82801DB/DBM AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
< isa0 at pcib0
---
> Intel 82801DB AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
> isa at ichlpcib0 not configured
> isa0 at mainbus0
395a370,371
> pms0: Synaptics touchpad version 5.9
> pms0: Palm detect, Multi-finger
397a374
> attimer0 at isa0 port 0x40-0x43: AT Timer
402a380
> pcppi0: attached to attimer0
404c382
< auich0: measured ac97 link rate at 48004 Hz, will use 48000 Hz
---
> auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
407c385,396
< com3 at pcmcia0 function 0: serial device
---
> cbb0: wait took 0.031499s
> pcmcia0: CIS version PC Card Standard 5.1
> pcmcia0: CIS info: Billionton V92 Fax Modem, FM56C-BFS, 5.41
> pcmcia0: Manufacturer code 0x14e, product 0x88
> pcmcia0: function 0: serial port, ccr addr 100 mask 13
> pcmcia0: function 0, config table entry 32: I/O card; irq mask 10; iomask a, iospace 3f8-3ff; mwait_required io8 irqlevel powerdown audio
> pcmcia0: function 0, config table entry 33: I/O card; irq mask 10; iomask a, iospace 2f8-2ff; mwait_required io8 irqlevel powerdown audio
> pcmcia0: function 0, config table entry 34: I/O card; irq mask 10; iomask a, iospace 3e8-3ef; mwait_required io8 irqlevel powerdown audio
> pcmcia0: function 0, config table entry 35: I/O card; irq mask 10; iomask a, iospace 2e8-2ef; mwait_required io8 irqlevel powerdown audio
> pcmcia0: function 0, config table entry 36: I/O card; irq mask 1cb8; iomask 3, iospace 0-7; mwait_required io8 irqlevel powerdown audio
> pcmcia0: function 0, config table entry 48: I/O card; irq mask 10; iomask 3, iospace 0-7; mwait_required io8 irqlevel powerdown audio
> com3 at pcmcia0 function 0: <Billionton V92 Fax Modem, FM56C-BFS, 5.41>
414c403
< wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
---
> wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
419c408
< cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
---
> cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
422a412
> cbb0: wait took 0.031500s
426a417
> cbb0: wait took 0.031507s

--zCKi3GIZzVBPywwA--