Re: Advice requested on modem & WiFi for old notebook

2010-03-05 Thread Dave Anderson
On Fri, 5 Mar 2010, Dave Anderson wrote:

>On Tue, 2 Mar 2010, Brynet wrote:
>
>>Dave wrote:
>>> Unfortunatly that resulted in a system that wouldn't boot.
>
>>4.7 is near release, can you try a 4.7-beta snapshot?
>
>Will do.

If apm is disabled, the 3 March 2010 snapshot hangs at the same place in
the boot process as 4.6-release does.

I _am_ going to try upgrading the BIOS, but that takes a fair amount of
fiddling since Sony's tools won't work unless I restore the original
Windows ME setup.  Luckily I inherited the 'recovery' disks along with
the notebook and, for now, this is a test system with no data on it.

Dave

-- 
Dave Anderson




Re: Advice requested on modem & WiFi for old notebook

2010-03-05 Thread Dave Anderson
On Tue, 2 Mar 2010, Brynet wrote:

>Dave wrote:
>> Unfortunatly that resulted in a system that wouldn't boot.
>
>Well that is indeed quite unfortunate, sorry, but maybe you can send
>acpidump(8) output to dm...@?

Done.

>4.7 is near release, can you try a 4.7-beta snapshot?

Will do.

Dave

-- 
Dave Anderson




Re: Advice requested on modem & WiFi for old notebook

2010-03-02 Thread Brynet
I wrote:
> Well that is indeed quite unfortunate, sorry, but maybe you can send
> acpidump(8) output to dm...@?
> 
> 4.7 is near release, can you try a 4.7-beta snapshot?
> 
> -Bryan.

One more thought, try updating the BIOS.. it seems Sony has released
updates for your laptop.

http://esupport.sony.com/US/perl/swu-list.pl?mdl=PCG-FX120

-Bryan.



Re: Advice requested on modem & WiFi for old notebook

2010-03-02 Thread Brynet
Dave wrote:
> Unfortunatly that resulted in a system that wouldn't boot.

Well that is indeed quite unfortunate, sorry, but maybe you can send
acpidump(8) output to dm...@?

4.7 is near release, can you try a 4.7-beta snapshot?

-Bryan.



Re: Advice requested on modem & WiFi for old notebook

2010-03-02 Thread Dave Anderson
On Mon, 1 Mar 2010, Dave Anderson wrote:

>On Mon, 1 Mar 2010, Brynet wrote:

>>Maybe you can try using acpi? by disabling apm in UKC or via config(8)?
>
>Given the various mentions recently on this list, I should have thought
>of trying that even though it's not (to me) an obvious connection.  I'll
>give it a try.

Unfortunatly that resulted in a system that wouldn't boot.

[Typed by hand]

UKC> disable apm
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/13/01, BIOS32 rev. 0 @ 0xfd878, SMBIOS 
rev 2.31 @ 0xd8010 (38 entries)
bios0: vendor Phoenix Technologies LTD version "R0211U0" date 03/13/01
bios0: Sony Corporation PCG-FX120(UC)

[up to here, same as with apm enabled]

apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT
acpi0: wakeup devices PWRB(S5) CRD0(S3) CRD1(S3) LAN_(S3) EC0(S5) COMA(S3) 
USB1(S3) USB2(S3) MODE(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits

[then it hung, with occasional disk activity for a while; eventually it
 just sat there for as long as I was willing to wait -- several
 minutes, mostly while copying the dmesg info to paper]

If anyone would like to know more about this, just tell me how to get
whatever information you want.

Dave

-- 
Dave Anderson




Re: Advice requested on modem & WiFi for old notebook

2010-03-01 Thread Dave Anderson
On Mon, 1 Mar 2010, Brynet wrote:

>Dave wrote:
>>   Since I didn't see any "not configured" messages for cbb*, my guess is
>>   that this is at least partly functional; is that correct?  What
>>   limitations does the "couldn't map interrupt" message imply for WiFi
>>   or modem use?  (There don't seem to be any BIOS options which affect
>>   this.)
>
>Interrupts are important, it won't be very useful without them.. not
>even partly.

Interrupts are absolutely vital in many cases, but in some (much less
likely these days) they really don't matter much.  Since I'm not
familiar with the details of cardbus or WiFi adapters, I don't know how
much they matter here.  (Though I strongly suspect that you're right.)

>Maybe you can try using acpi? by disabling apm in UKC or via config(8)?

Given the various mentions recently on this list, I should have thought
of trying that even though it's not (to me) an obvious connection.  I'll
give it a try.

>Seems a lot of people are experiencing issues with CardBus on some
>laptops, have seen various "CardBus disabled" messages in dmesg's lately.

Thanks,

Dave

-- 
Dave Anderson




Re: Advice requested on modem & WiFi for old notebook

2010-03-01 Thread Dave Anderson
On Mon, 1 Mar 2010, Brad Tilley wrote:

>On Mon, 01 Mar 2010 20:41 -0500, "Dave Anderson" 
>wrote:
>> I've inherited an old notebook (Sony Vaio PCG-FX120) and installed
>> 4.6-release on it; while I haven't yet done extensive testing, most
>> things (except the LoseModem, of course) seem to work (full dmesg
>> below, and sent to dm...@openbsd.org).
>>
>> Now I want to add WiFi and a working modem to it and, based on looking
>> through the dmesg and the man pages for 802.11 device drivers, there are
>> a couple of issues I'd like to understand better before buying anything.
>> I'd appreciate either direct answers or pointers to places which discuss
>> this that I haven't found.  (I've done some searching of the mailing
>> list archives, but my search-fu is not strong.)  Any general comments on
>> using pcmcia vs cardbus vs USB for WiFi or a modem are also welcome.
>> After I've narrowed the list of possible devices I plan to do more
>> specific searching of the mailing-list archives.
>
>USB 802.11 devices work well and are inexpensive. The man pages provide
>specific brands with model numbers. apropos wireless and then man the
>drivers to find one you like. I've had good experience with rum and run
>based devices.

But do they work with USB 1.0, since that's the only USB I've got on
this system?  Most of the man pages say they support USB 2.0 (both rum
and run do), though only one or two specifically state that 1.0 won't
work.

Thanks,

Dave

>> The system has two pcmcia/cardbus slots and 2 USB ports.  What seem to
>> me to be the relevant dmseg lines and the questions they raise are:
>>
>> pcmcia
>>
>>   pcic0 at isa0 port 0x3e0/2 iomem 0xd/16384
>>   pcic0 controller 0:  has sockets A and B
>>   pcmcia0 at pcic0 controller 0 socket 0
>>   pcmcia1 at pcic0 controller 0 socket 1
>>   pcic0: irq 3, polling enabled
>>
>>   This appears to be fully functional.
>>
>> cardbus
>>
>>   cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't
>>   map interrupt
>>   cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't
>>   map interrupt
>>
>>   Since I didn't see any "not configured" messages for cbb*, my guess is
>>   that this is at least partly functional; is that correct?  What
>>   limitations does the "couldn't map interrupt" message imply for WiFi
>>   or modem use?  (There don't seem to be any BIOS options which affect
>>   this.)
>>
>> USB
>>
>>   uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: irq 9
>>   uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x03: irq 11
>>   usb0 at uhci0: USB revision 1.0
>>   uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>>   usb1 at uhci1: USB revision 1.0
>>   uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>>
>>   Most of the man pages for USB 802.11 drivers mention USB 2.0; at least
>>   one specifically states that USB 1.0 is not supported.  Other than
>>   actually trying each one, how can I tell which of them will work with
>>   USB 1.0?
>>
>> Thanks for any help.
>>
>>  Dave
>>
>> OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
>> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
>> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 696 MHz
>> cpu0:
>> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
>> real mem  = 333475840 (318MB)
>> avail mem = 313233408 (298MB)
>> mainbus0 at root
>> bios0 at mainbus0: AT/286+ BIOS, date 03/13/01, BIOS32 rev. 0 @ 0xfd878,
>> SMBIOS rev. 2.31 @ 0xd8010 (38 entries)
>> bios0: vendor Phoenix Technologies LTD version "R0211U0" date 03/13/01
>> bios0: Sony Corporation PCG-FX120(UC)
>> apm0 at bios0: Power Management spec V1.2
>> apm0: AC on, battery charge unknown
>> acpi at bios0 function 0x0 not configured
>> pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0
>> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
>> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
>> pcibios0: PCI bus #3 is the last bus
>> bios0: ROM list: 0xc/0xc000 0xd8000/0x4000! 0xdc000/0x4000!
>> cpu0 at mainbus0: (uniprocessor)
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x11
>> vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x11
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> intagp0 at vga1
>> agp0 at intagp0: aperture at 0xf800, size 0x400
>> ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03
>> pci1 at ppb0 bus 1
>> mem address conflict 0x13f0/0x1000
>> mem address conflict 0x13f01000/0x1000
>> "TI TSB43AA22 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured
>> cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't
>> map interrupt
>> cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't
>> map interrupt
>> fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03,

Re: Advice requested on modem & WiFi for old notebook

2010-03-01 Thread Brynet
Dave wrote:
>   Since I didn't see any "not configured" messages for cbb*, my guess is
>   that this is at least partly functional; is that correct?  What
>   limitations does the "couldn't map interrupt" message imply for WiFi
>   or modem use?  (There don't seem to be any BIOS options which affect
>   this.)

Interrupts are important, it won't be very useful without them.. not
even partly.

Maybe you can try using acpi? by disabling apm in UKC or via config(8)?

Seems a lot of people are experiencing issues with CardBus on some
laptops, have seen various "CardBus disabled" messages in dmesg's lately.

-Bryan.



Re: Advice requested on modem & WiFi for old notebook

2010-03-01 Thread Brad Tilley
On Mon, 01 Mar 2010 20:41 -0500, "Dave Anderson" 
wrote:
> I've inherited an old notebook (Sony Vaio PCG-FX120) and installed
> 4.6-release on it; while I haven't yet done extensive testing, most
> things (except the LoseModem, of course) seem to work (full dmesg
> below, and sent to dm...@openbsd.org).
> 
> Now I want to add WiFi and a working modem to it and, based on looking
> through the dmesg and the man pages for 802.11 device drivers, there are
> a couple of issues I'd like to understand better before buying anything.
> I'd appreciate either direct answers or pointers to places which discuss
> this that I haven't found.  (I've done some searching of the mailing
> list archives, but my search-fu is not strong.)  Any general comments on
> using pcmcia vs cardbus vs USB for WiFi or a modem are also welcome.
> After I've narrowed the list of possible devices I plan to do more
> specific searching of the mailing-list archives.


USB 802.11 devices work well and are inexpensive. The man pages provide
specific brands with model numbers. apropos wireless and then man the
drivers to find one you like. I've had good experience with rum and run
based devices.

Brad


> The system has two pcmcia/cardbus slots and 2 USB ports.  What seem to
> me to be the relevant dmseg lines and the questions they raise are:
> 
> pcmcia
> 
>   pcic0 at isa0 port 0x3e0/2 iomem 0xd/16384
>   pcic0 controller 0:  has sockets A and B
>   pcmcia0 at pcic0 controller 0 socket 0
>   pcmcia1 at pcic0 controller 0 socket 1
>   pcic0: irq 3, polling enabled
> 
>   This appears to be fully functional.
> 
> cardbus
> 
>   cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't
>   map interrupt
>   cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't
>   map interrupt
> 
>   Since I didn't see any "not configured" messages for cbb*, my guess is
>   that this is at least partly functional; is that correct?  What
>   limitations does the "couldn't map interrupt" message imply for WiFi
>   or modem use?  (There don't seem to be any BIOS options which affect
>   this.)
> 
> USB
> 
>   uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: irq 9
>   uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x03: irq 11
>   usb0 at uhci0: USB revision 1.0
>   uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>   usb1 at uhci1: USB revision 1.0
>   uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> 
>   Most of the man pages for USB 802.11 drivers mention USB 2.0; at least
>   one specifically states that USB 1.0 is not supported.  Other than
>   actually trying each one, how can I tell which of them will work with
>   USB 1.0?
> 
> Thanks for any help.
> 
>   Dave
> 
> OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 696 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
> real mem  = 333475840 (318MB)
> avail mem = 313233408 (298MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 03/13/01, BIOS32 rev. 0 @ 0xfd878,
> SMBIOS rev. 2.31 @ 0xd8010 (38 entries)
> bios0: vendor Phoenix Technologies LTD version "R0211U0" date 03/13/01
> bios0: Sony Corporation PCG-FX120(UC)
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #3 is the last bus
> bios0: ROM list: 0xc/0xc000 0xd8000/0x4000! 0xdc000/0x4000!
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x11
> vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x11
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xf800, size 0x400
> ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03
> pci1 at ppb0 bus 1
> mem address conflict 0x13f0/0x1000
> mem address conflict 0x13f01000/0x1000
> "TI TSB43AA22 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured
> cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't
> map interrupt
> cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't
> map interrupt
> fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03, i82562: irq 9,
> address 08:00:46:14:eb:5a
> inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x03: 24-bit
> timer at 3579545Hz
> pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x03: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 d

Advice requested on modem & WiFi for old notebook

2010-03-01 Thread Dave Anderson
I've inherited an old notebook (Sony Vaio PCG-FX120) and installed
4.6-release on it; while I haven't yet done extensive testing, most
things (except the LoseModem, of course) seem to work (full dmesg
below, and sent to dm...@openbsd.org).

Now I want to add WiFi and a working modem to it and, based on looking
through the dmesg and the man pages for 802.11 device drivers, there are
a couple of issues I'd like to understand better before buying anything.
I'd appreciate either direct answers or pointers to places which discuss
this that I haven't found.  (I've done some searching of the mailing
list archives, but my search-fu is not strong.)  Any general comments on
using pcmcia vs cardbus vs USB for WiFi or a modem are also welcome.
After I've narrowed the list of possible devices I plan to do more
specific searching of the mailing-list archives.

The system has two pcmcia/cardbus slots and 2 USB ports.  What seem to
me to be the relevant dmseg lines and the questions they raise are:

pcmcia

  pcic0 at isa0 port 0x3e0/2 iomem 0xd/16384
  pcic0 controller 0:  has sockets A and B
  pcmcia0 at pcic0 controller 0 socket 0
  pcmcia1 at pcic0 controller 0 socket 1
  pcic0: irq 3, polling enabled

  This appears to be fully functional.

cardbus

  cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't map 
interrupt
  cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't map 
interrupt

  Since I didn't see any "not configured" messages for cbb*, my guess is
  that this is at least partly functional; is that correct?  What
  limitations does the "couldn't map interrupt" message imply for WiFi
  or modem use?  (There don't seem to be any BIOS options which affect
  this.)

USB

  uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: irq 9
  uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x03: irq 11
  usb0 at uhci0: USB revision 1.0
  uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
  usb1 at uhci1: USB revision 1.0
  uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1

  Most of the man pages for USB 802.11 drivers mention USB 2.0; at least
  one specifically states that USB 1.0 is not supported.  Other than
  actually trying each one, how can I tell which of them will work with
  USB 1.0?

Thanks for any help.

Dave

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 696 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 333475840 (318MB)
avail mem = 313233408 (298MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/13/01, BIOS32 rev. 0 @ 0xfd878, SMBIOS 
rev. 2.31 @ 0xd8010 (38 entries)
bios0: vendor Phoenix Technologies LTD version "R0211U0" date 03/13/01
bios0: Sony Corporation PCG-FX120(UC)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xc000 0xd8000/0x4000! 0xdc000/0x4000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x11
vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x11
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xf800, size 0x400
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03
pci1 at ppb0 bus 1
mem address conflict 0x13f0/0x1000
mem address conflict 0x13f01000/0x1000
"TI TSB43AA22 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured
cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't map 
interrupt
cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't map 
interrupt
fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03, i82562: irq 9, address 
08:00:46:14:eb:5a
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x03: 24-bit timer 
at 3579545Hz
pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x03: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: irq 9
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x03: irq 5
iic0 at ichiic0
uhci1 at pci0 dev 31 function 4 "Intel 8280