[hcflinux] Modem not working on a compaq presario 1211

Marc Boucher marc at mbsi.ca
Fri Jul 5 09:41:25 EDT 2002


On Thu, Jul 04, 2002 at 01:30:20PM +0100, Bernard Cafarelli (Voyageur) wrote:
> 
> With the latest hcfpcimodem-0.96mbsibeta02062500, the modem still doesn't work,
> although it's a conexant lanfinity combo which is supported now.

> [..]

> Selected PCI VendorID=14F1 DeviceID=1815
> and INF file /etc/hcfpci/inf/hcfv90_lan_linux.inf

> [..]
> But trying to fire up the connexion gives the following kernel messages:
> Jul  4 12:12:41 voyageur kernel: CSLIP: code copyright 1989 Regents of the
> University of California
> Jul  4 12:12:41 voyageur kernel: PPP generic driver version 2.4.1
> Jul  4 12:12:51 voyageur kernel: Trying to free nonexistent resource
> <c8839000-c883907f>
> Jul  4 12:12:51 voyageur /etc/hotplug/net.agent: NET unregister event not
> supported
> jui  4 12:13:50 voyageur gconfd (bernard-2568): Le serveur GConf n'est pas en
> cours d'utilisation, extinction.
> jui  4 12:13:50 voyageur gconfd (bernard-2568): Quitte
> jui  4 12:13:50 voyageur gconfd (bernard-2568): CORBA_ORB_destroy: ORB still has
> 2 refs.
> jui  4 12:14:55 voyageur drakconf.real[4119]: ### Program is starting ###
> jui  4 12:14:56 voyageur drakconf.real[4119]: running: /sbin/modprobe floppy
> jui  4 12:15:13 voyageur ifup-ppp: pppd started for ppp0 on /dev/modem at
> 115200Jul  4 12:15:13 voyageur pppd[4247]: pppd 2.4.1 started by root, uid 0
> Jul  4 12:15:13 voyageur kernel: cnxthcf_OSMapMemory: ioremap(0x1830,
> 0xffffe8cb) failed

This is the problem. the OSMapMemory() function in
/usr/lib/hcfpci/modules/osspec/osresour.c is being called with
wrong dwPhysMemBase and dwMemSize values.  Maybe this is caused
by an incompatible or misconfigured compiler, or a weird PCI
device configuration (our driver works just fine for many people
with lan/modem combo devices; you are the first with such symptoms).

These values actually originally come from OSGetPCIDeviceResources()
in the same file. Perhaps you could add some printk()s to see what
that function returns..


> Jul  4 12:15:13 voyageur kernel: 3575497.169: SysCreateDevResources: OSMapMemory
> failed
> Jul  4 12:15:14 voyageur kernel: hcf_request_port: ComCtrlOpen failed, r=1!
> Jul  4 12:15:15 voyageur chat[4302]: Can't get terminal parameters: Input/output
> error
> Jul  4 12:15:15 voyageur pppd[4247]: Connect script failed
> Jul  4 12:15:16 voyageur pppd[4247]: Exit.
> 
> And I'm not connected on the network anymore (tulip modules not loaded).
> 
> I can't figure out the kernel messages but I hope this is not special to my
> laptop :(

Have you applied the ACPI patches?

What compiler are you using? (gcc -v; kgcc -v)

Marc




More information about the hcflinux mailing list