Re: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G

2002-06-03 Thread M. Warner Losh

In message: <[EMAIL PROTECTED]>
"Brian F. Feldman" <[EMAIL PROTECTED]> writes:
: "Scott Penno" <[EMAIL PROTECTED]> wrote:
: > I removed apm from the kernel which appeared to be playing having with acpi
: > and things are now working a treat.  The card works fine, however I do
: > receive the following message, 'cardbus0:  (vendor=0x115d,
: > dev=0x0103) at 0.1 irq 5'.  I've had a look through various lists and
: > couldn't find a resolution.  Is this a real drama and if so, how do I
: > correct it?
: 
: I believe that's the "modem" device on the card.  I don't believe that it is 
: in fact a normal serial port in any case, so it's worth just ignoring in my 
: opinion.  (Witness the address 0.1, where the Ethernet was probably found at 
: 0.0).  Sound about right?

It is the modem device, and it is supported by FreeBSD, modulo a few
bugs in the driver attachment code at the moment.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G

2002-05-06 Thread Brian F. Feldman

"Scott Penno" <[EMAIL PROTECTED]> wrote:
> I removed apm from the kernel which appeared to be playing having with acpi
> and things are now working a treat.  The card works fine, however I do
> receive the following message, 'cardbus0:  (vendor=0x115d,
> dev=0x0103) at 0.1 irq 5'.  I've had a look through various lists and
> couldn't find a resolution.  Is this a real drama and if so, how do I
> correct it?

I believe that's the "modem" device on the card.  I don't believe that it is 
in fact a normal serial port in any case, so it's worth just ignoring in my 
opinion.  (Witness the address 0.1, where the Ethernet was probably found at 
0.0).  Sound about right?

-- 
Brian Fundakowski Feldman   \'[ FreeBSD ]''\
  <> [EMAIL PROTECTED]  <> [EMAIL PROTECTED]  \  The Power to Serve! \
 Opinions expressed are my own.   \,,\



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G

2002-05-06 Thread Scott Penno

I removed apm from the kernel which appeared to be playing having with acpi
and things are now working a treat.  The card works fine, however I do
receive the following message, 'cardbus0:  (vendor=0x115d,
dev=0x0103) at 0.1 irq 5'.  I've had a look through various lists and
couldn't find a resolution.  Is this a real drama and if so, how do I
correct it?

Regards,

Scott



- Original Message -
From: "Scott Penno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 8:54 PM
Subject: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G


> Just an update.  I've tried three different 32 bit cards and every time
the
> card was inserted the laptop locked up.  I recompiled the kernel without
the
> miibus and dc and then inserted the Xircom card the laptop would appear to
> lock up, that is, everything that was running just stopped.  When the card
> was re-inserted, everything would come back to life and a console message
> would appear reporting 'pccbb0: Cardbus card activation failed'.  A
similar
> result was experienced with the other cards.  With that said, I'm still no
> closer to identifying the cause of these problems.  Any ideas?
>
> Scott.
>
>
>
> - Original Message -
> From: "Scott Penno" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, May 05, 2002 12:27 AM
> Subject: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G [DRAFT]
>
>
> > Hi there,
> >
> > I've been attempting to get my Xircom Realport CBEM56G working under
> CURRENT
> > for some time without success.  I grabbed the latest source on 03/05
> 12:00PM
> > GMT and compiled without a problem.  I have a 3Com Etherlink III 3C589D
> card
> > which is a 16 bit card which I can insert and use without a problem.
> > However when I try and insert my Xircom Realport CBEM56G, my laptop
locks
> > up.
> > Under 4.X the cardbus bridge caused some intial problems getting
> configured
> > but once working, worked a treat and I suspect this is where the current
> > problem is.  Without the kernel option PCI_ALLOW_UNSUPPORTED_IO_RANGE
with
> > NEWCARD, I'm unable to
> > acheive any card functionality, when compiled with this option the 16
bit
> > 3Com card works fine but the 32bit Xircom card causes a lockup.
> Interesting
> > to note also that under Windows XP and FreeBSD 4.X the bridge is
detected
> as
> > an OZ6933, while under FreeBSD 5.X it's detected as an OZ6833.
> > Not sure where to go from here so any assistance appreciated.  I've
> included
> > a dmesg from boot -v with the 3Com card, console messages when the
Xircom
> > card is inserted until the lockup occurs and finally the kernel
> > configuration file.
> >
> > Regards,
> >
> > Scott.
> >
> >
> >
> > 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 5.0-CURRENT #2: Sat May  4 12:13:42 EST 2002
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JUPITER
> > Preloaded elf kernel "/boot/kernel/kernel" at 0xc043b000.
> > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc043b0b4.
> > Calibrating clock(s) ... TSC clock: 897239123 Hz, i8254 clock: 1193138
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
> > TSC initialization skipped: APM enabled.
> > CPU: Pentium III/Pentium III Xeon/Celeron (897.28-MHz 686-class CPU)
> >   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
> >
> >
>
Features=0x383f9ff > PAT,PSE36,MMX,FXSR,SSE>
> > real memory  = 266797056 (260544K bytes)
> > Physical memory chunk(s):
> > 0x1000 - 0x0009efff, 647168 bytes (158 pages)
> > 0x00462000 - 0x0fe67fff, 262168576 bytes (64006 pages)
> > avail memory = 254808064 (248836K bytes)
> > bios32: Found BIOS32 Service Directory header at 0xc00f66b0
> > bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
> > pcibios: PCI BIOS entry at 0xfd890+0x13a
> > pnpbios: Found PnP BIOS data at 0xc00f6700
> > pnpbios: Entry = f:a2a6  Rev = 1.0
> > Other BIOS signatures found:
> > null: 
> > random: 
> > mem: 
> > Pentium Pro MTRR support enabled
> > VESA: information block
> > 56 45 53 41 00 03 00 01 00 01 01 00 00 00 40 00
> > 00 01 10 00 00 

Re: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G

2002-05-06 Thread Miguel Mendez

On Mon, May 06, 2002 at 08:54:01PM +1000, Scott Penno wrote:

Hi,

> Just an update.  I've tried three different 32 bit cards and every time the
> card was inserted the laptop locked up.  I recompiled the kernel without the
> miibus and dc and then inserted the Xircom card the laptop would appear to
> lock up, that is, everything that was running just stopped.  When the card
> was re-inserted, everything would come back to life and a console message
> would appear reporting 'pccbb0: Cardbus card activation failed'.  A similar
> result was experienced with the other cards.  With that said, I'm still no
> closer to identifying the cause of these problems.  Any ideas?

Well, I've used different versions of 5.0 on my laptop, and my
experience is that Cardbus devices don't like to be pulled out.
Everytime I've done it the system has hung, so my assumption is:

Patient: When I remove a 32bit card the system freezes.
Doctor: Don't remove 32bit cards.

About inserting it, well, I never had success with that either. The only
way for it to work is to have the card already there *before* booting
the system. I don't know if that's the expected behaviour or not, it
works flawlessly with 16bit stuff.

My hardware is a Thinkpad 300E, a 16bit ne2k clone and a RealJunk 8139
Cardbus NIC.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
FreeBSD - The power to serve!



msg38068/pgp0.pgp
Description: PGP signature


Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G

2002-05-06 Thread Scott Penno

Just an update.  I've tried three different 32 bit cards and every time the
card was inserted the laptop locked up.  I recompiled the kernel without the
miibus and dc and then inserted the Xircom card the laptop would appear to
lock up, that is, everything that was running just stopped.  When the card
was re-inserted, everything would come back to life and a console message
would appear reporting 'pccbb0: Cardbus card activation failed'.  A similar
result was experienced with the other cards.  With that said, I'm still no
closer to identifying the cause of these problems.  Any ideas?

Scott.



- Original Message -
From: "Scott Penno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 05, 2002 12:27 AM
Subject: Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G [DRAFT]


> Hi there,
>
> I've been attempting to get my Xircom Realport CBEM56G working under
CURRENT
> for some time without success.  I grabbed the latest source on 03/05
12:00PM
> GMT and compiled without a problem.  I have a 3Com Etherlink III 3C589D
card
> which is a 16 bit card which I can insert and use without a problem.
> However when I try and insert my Xircom Realport CBEM56G, my laptop locks
> up.
> Under 4.X the cardbus bridge caused some intial problems getting
configured
> but once working, worked a treat and I suspect this is where the current
> problem is.  Without the kernel option PCI_ALLOW_UNSUPPORTED_IO_RANGE with
> NEWCARD, I'm unable to
> acheive any card functionality, when compiled with this option the 16 bit
> 3Com card works fine but the 32bit Xircom card causes a lockup.
Interesting
> to note also that under Windows XP and FreeBSD 4.X the bridge is detected
as
> an OZ6933, while under FreeBSD 5.X it's detected as an OZ6833.
> Not sure where to go from here so any assistance appreciated.  I've
included
> a dmesg from boot -v with the 3Com card, console messages when the Xircom
> card is inserted until the lockup occurs and finally the kernel
> configuration file.
>
> Regards,
>
> Scott.
>
>
>
> 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 5.0-CURRENT #2: Sat May  4 12:13:42 EST 2002
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JUPITER
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc043b000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc043b0b4.
> Calibrating clock(s) ... TSC clock: 897239123 Hz, i8254 clock: 1193138 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
> TSC initialization skipped: APM enabled.
> CPU: Pentium III/Pentium III Xeon/Celeron (897.28-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
>
>
Features=0x383f9ff PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 266797056 (260544K bytes)
> Physical memory chunk(s):
> 0x1000 - 0x0009efff, 647168 bytes (158 pages)
> 0x00462000 - 0x0fe67fff, 262168576 bytes (64006 pages)
> avail memory = 254808064 (248836K bytes)
> bios32: Found BIOS32 Service Directory header at 0xc00f66b0
> bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
> pcibios: PCI BIOS entry at 0xfd890+0x13a
> pnpbios: Found PnP BIOS data at 0xc00f6700
> pnpbios: Entry = f:a2a6  Rev = 1.0
> Other BIOS signatures found:
> null: 
> random: 
> mem: 
> Pentium Pro MTRR support enabled
> VESA: information block
> 56 45 53 41 00 03 00 01 00 01 01 00 00 00 40 00
> 00 01 10 00 00 01 31 01 00 01 43 01 00 01 5d 01
> 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> VESA: 16 mode(s) found
> VESA: v3.0, 1024k memory, flags:0x1, mode table:0xc03895c0 (140)
> VESA: Intel815M(TM) Graphics Chip Accelerated VGA BIOS
> VESA: Intel Corporation i815M Graphics Controller Hardware Version 0.0
> pci_open(1): mode 1 addr port (0x0cf8) is 0x80001004
> pci_open(1a): mode1res=0x8000 (0x8000)
> pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=11308086)
> Using $PIR table, 7 entries at 0xc00fdf50
> apm0:  on motherboard
> apm0: found APM BIOS v1.2, connected at v1.2
> npx0:  on motherboard
> npx0: INT 16 interface
> acpi0: Other PM system enabled.
> pcib0:  at pcibus 0 on
> motherboard
> pci0: physical bus=0
> found-> vendor=0x8086, dev=0x1130, revid=0x11
>  bus=0, slot=0, func=0
>  class=06-00-00, hdrtype=0x00, mfdev=0
>  map[10]: type 3, range 32, base f800, size 26, enabled
>  map[14]: type 1, range 32, base f400, size 

Problems with Dell Inspiron 2500/NEWCARD/Xircom CBEM56G [DRAFT]

2002-05-04 Thread Scott Penno

Hi there,

I've been attempting to get my Xircom Realport CBEM56G working under CURRENT
for some time without success.  I grabbed the latest source on 03/05 12:00PM
GMT and compiled without a problem.  I have a 3Com Etherlink III 3C589D card
which is a 16 bit card which I can insert and use without a problem.
However when I try and insert my Xircom Realport CBEM56G, my laptop locks
up.
Under 4.X the cardbus bridge caused some intial problems getting configured
but once working, worked a treat and I suspect this is where the current
problem is.  Without the kernel option PCI_ALLOW_UNSUPPORTED_IO_RANGE with
NEWCARD, I'm unable to
acheive any card functionality, when compiled with this option the 16 bit
3Com card works fine but the 32bit Xircom card causes a lockup.  Interesting
to note also that under Windows XP and FreeBSD 4.X the bridge is detected as
an OZ6933, while under FreeBSD 5.X it's detected as an OZ6833.
Not sure where to go from here so any assistance appreciated.  I've included
a dmesg from boot -v with the 3Com card, console messages when the Xircom
card is inserted until the lockup occurs and finally the kernel
configuration file.

Regards,

Scott.



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 5.0-CURRENT #2: Sat May  4 12:13:42 EST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JUPITER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc043b000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc043b0b4.
Calibrating clock(s) ... TSC clock: 897239123 Hz, i8254 clock: 1193138 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
TSC initialization skipped: APM enabled.
CPU: Pentium III/Pentium III Xeon/Celeron (897.28-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10

Features=0x383f9ff
real memory  = 266797056 (260544K bytes)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x00462000 - 0x0fe67fff, 262168576 bytes (64006 pages)
avail memory = 254808064 (248836K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f66b0
bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd890+0x13a
pnpbios: Found PnP BIOS data at 0xc00f6700
pnpbios: Entry = f:a2a6  Rev = 1.0
Other BIOS signatures found:
null: 
random: 
mem: 
Pentium Pro MTRR support enabled
VESA: information block
56 45 53 41 00 03 00 01 00 01 01 00 00 00 40 00
00 01 10 00 00 01 31 01 00 01 43 01 00 01 5d 01
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
VESA: 16 mode(s) found
VESA: v3.0, 1024k memory, flags:0x1, mode table:0xc03895c0 (140)
VESA: Intel815M(TM) Graphics Chip Accelerated VGA BIOS
VESA: Intel Corporation i815M Graphics Controller Hardware Version 0.0
pci_open(1): mode 1 addr port (0x0cf8) is 0x80001004
pci_open(1a): mode1res=0x8000 (0x8000)
pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=11308086)
Using $PIR table, 7 entries at 0xc00fdf50
apm0:  on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0:  on motherboard
npx0: INT 16 interface
acpi0: Other PM system enabled.
pcib0:  at pcibus 0 on
motherboard
pci0: physical bus=0
found-> vendor=0x8086, dev=0x1130, revid=0x11
 bus=0, slot=0, func=0
 class=06-00-00, hdrtype=0x00, mfdev=0
 map[10]: type 3, range 32, base f800, size 26, enabled
 map[14]: type 1, range 32, base f400, size 19, enabled
found-> vendor=0x8086, dev=0x1132, revid=0x11
 bus=0, slot=2, func=0
 class=03-00-00, hdrtype=0x00, mfdev=0
 intpin=a, irq=10
 powerspec 2  supports D0 D3  current D0
found-> vendor=0x8086, dev=0x2448, revid=0x03
 bus=0, slot=30, func=0
 class=06-04-00, hdrtype=0x01, mfdev=0
found-> vendor=0x8086, dev=0x244c, revid=0x03
 bus=0, slot=31, func=0
 class=06-01-00, hdrtype=0x00, mfdev=1
 map[20]: type 4, range 32, base 1800, size  4, enabled
found-> vendor=0x8086, dev=0x244a, revid=0x03
 bus=0, slot=31, func=1
 class=01-01-80, hdrtype=0x00, mfdev=0
 map[20]: type 4, range 32, base 1820, size  5, enabled
found-> vendor=0x8086, dev=0x2442, revid=0x03
 bus=0, slot=31, func=2
 class=0c-03-00, hdrtype=0x00, mfdev=0
 intpin=d, irq=5
 map[20]: type 4, range 32, base 1810, size  4, enabled
found-> vendor=0x8086, dev=0x2443, revid=0x03
 bus=0, slot=31, func=3
 class=0c-05-00, hdrtype=0x00, mfdev=0
 intpin=b, irq=5
 map[20]: type 4, range 32, base 1880, size  5, enabled
found-> vendor=0x8086, dev=0x2444, revid=0x03
 bus=0, slot=31, func=4
 class=0c-03-00, hdrtype=0x00, mfdev=0
 intpin=c, irq=5
 map[10]: type 4, range 32, base 1c00, size  8, enabled
 map[14]: type 4, range 32, base 1840, size  6, enabled
found-> vendor=0x8086, dev=0x2445, revid=0x03
 bus=0, slot=31, func=5
 class=04-01-00, hdrtype=0x00, mfdev=0
 intpin=b, irq=5
pci0:  on