Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 21:55:40 -0500
From:      Bob Johnson <stest033@garbonzo.hos.ufl.edu>
To:        freebsd_mail@myrealbox.com
Cc:        mobile@freebsd.org
Subject:   Re: Psion Gold Card modem on Inspiron 7500
Message-ID:  <200211192155.40735.stest033@garbonzo.hos.ufl.edu>
In-Reply-To: <200211182022050118.EA880E39@smtp.myrealbox.com>
References:  <200211182252.25112.stest033@garbonzo.hos.ufl.edu> <200211182022050118.EA880E39@smtp.myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 18 November 2002 11:22 pm, Greg Smith wrote:
> Bob,
>
> What version of FreeBSD were you running successfully before?  

I'm not sure.  The last time I used the modem was the July 4th 
weekend.  I was probably running some version of 
RELENG_4_5.

> What does your dmesg look like now?

Copyright (c) 1992-2002 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.7-STABLE #6: Tue Nov 19 08:36:08 EST 2002
    bobj@bobj.dyndns.org:/usr/obj/usr/src/sys/BOBJ14
Timecounter "i8254"  frequency 1193234 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (601.39-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
,SSE>
real memory  = 201261056 (196544K bytes)
config> di sio1
No such device: sio1
Invalid command or syntax.  Type `?' for help.
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
config> di ed0
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> en ata1
config> po ata1 0x170
config> ir ata1 15
config> f ata1 0
config> q
avail memory = 191823872 (187328K bytes)
Preloaded elf kernel "kernel" at 0xc03de000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03de09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdf50
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 11
pcic0: <TI PCI-1225 PCI-CardBus Bridge> at device 4.0 on pci0
pcic0: PCI Memory allocated: 0x88000000
pcic0: Polling mode
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci 
int + CSC serial
isa irq]
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <TI PCI-1225 PCI-CardBus Bridge> at device 4.1 on pci0
pcic1: PCI Memory allocated: 0x88001000
pcic1: Polling mode
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci 
int + CSC serial
isa irq]
pccard1: <PC Card 16-bit bus (classic)> on pcic1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 5 at 
device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> port 0x1040-0x104f irq 9 
at device 7.3 on pc
i0
intpm0: I/O mapped 1040
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 1000
pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 5 at device 8.0 on 
pci0
orm0: <Option ROM> at iomem 0xc0000-0xcffff 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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
IPsec: Initialized Security Association Processing.
ata1-slave: ATAPI identify retries exceeded
pccard: card inserted, slot 0
ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master UDMA33
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2402> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
sio1 at port 0x2f8-0x2ff irq 3 flags 0x40000 slot 0 on pccard0
sio1: type 8250

The "type 8250" certainly doesn't seem right.  I sounds like something 
that I thought was fixed some time ago.  I also don't know where 
flags 0x40000 comes from.

Also note that if I don't use ISA interrupt routing, the modem is 
assigned IRQ 11, which it doesn't seem to support if I'm reading 
dumpcis correctly.  The dumpcis looks like:


Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  d1 ff
        Common memory device information:
                Device number 1, type Function specific, WPS = OFF
                Speed = 250nS, Memory block size = reserved, 32 units
Tuple #2, code = 0x20 (Manufacturer ID), length = 4
    000:  6c 01 05 00
        PCMCIA ID = 0x16c, OEM ID = 0x5
Tuple #3, code = 0x15 (Version 1 info), length = 54
    000:  04 01 50 73 69 6f 6e 20 44 61 63 6f 6d 00 47 6f
    010:  6c 64 20 43 61 72 64 20 47 6c 6f 62 61 6c 20 35
    020:  36 4b 2b 46 61 78 00 35 36 4b 2b 46 61 78 00 56
    030:  38 2e 32 35 00 ff
        Version = 4.1, Manuf = [Psion Dacom], card vers = [Gold Card Global 
56K+Fax]
        Addit. info = [56K+Fax],[V8.25]
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 00
        Serial port/modem
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 24 00 02 03
        Reg len = 2, config register addr = 0x200, last config = 0x24
        Registers: XX------
Tuple #6, code = 0x1b (Configuration entry), length = 21
    000:  e1 01 9d 79 55 1e 1e 26 25 e8 14 37 a3 60 f8 02
    010:  07 30 bc 86 08
        Config index = 0x21(default)
        Interface byte = 0x1 (I/O)
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
                Continuous supply current: 1.5 x 100mA
                Max current average over 1 second: 1.5 x 100mA
                Max current average over 10 ms: 2 x 100mA
                Power down supply current: 2 x 10mA
        Wait scale Speed = 1.2 x 10 us
        RDY/BSY scale Speed = 2.5 x 10 ms, scaled by 100
        Card decodes 3 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x2f8 block length = 0x8
                IRQ modes: Level
                IRQs:  2 3 4 5 7 9 10 15
        Max twin cards = 0
        Misc attr: (Audio-BVD2)
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  20 08 a0 60 f8 03 07
        Config index = 0x20
        Card provides address decode, 8 Bit I/O only
                I/O address # 1: block start = 0x3f8 block length = 0x8
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  22 08 a0 60 e8 03 07
        Config index = 0x22
        Card provides address decode, 8 Bit I/O only
                I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  23 08 a0 60 e8 02 07
        Config index = 0x23
        Card provides address decode, 8 Bit I/O only
                I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #10, code = 0x1b (Configuration entry), length = 5
    000:  30 08 a0 40 07
        Config index = 0x30
        Card provides address decode, 8 Bit I/O only
                I/O address # 1:  block length = 0x8
Tuple #11, code = 0x14 (No link), length = 0
Tuple #12, code = 0xff (Terminator), length = 0


When I start (userland) ppp and enter terminal mode, then issue 
a command (e.g. "ATH"), nothing is echoed to the display, but 
echoed to the system console is :

  usb0: host controller process error
  usb0: host controller halted

and then the system locks up and I have to power down to recover.  
Why the modem confuses usb0 is a complete mystery to me.  I don't 
see anything in dmesg that ties them together, but maybe I've missed 
something. 

I've updated the system at least four times in the past two weeks and 
as of this evening I now can't get make installworld to work.  It aborts 
with an insufficient permissions error (I don't remember exactly).  I'm 
beginning to suspect that something in my source isn't being updated.  
I may try wiping /usr/src completely and doing a cvsup to try to force 
everything to be fresh.  It will be some time tomorrow before I know 
whether that helps.

- Bob

>
> Greg
>
> -----Original Message-----
>
> >The short form of my question is "how do I configure FreeBSD 4.7 stable
>
> >from a few days ago so my Psion Gold Card modem will once again work with
> >my Inspiron 7500?"  It's a common enough combination that I expect
> > someone will have it already.
[... lots more deleted]

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?200211192155.40735.stest033>