Re: 3CXFE575CT-JP with NEWCARD doesn't work

2001-11-16 Thread Yoichi NAKAYAMA

Hi,
I build kernel with NEWCARD from source cvsup'ed today.
Following patch is still needed for my machine  card.
Without this, the card appear as

/boot/kernel/kernel: xl0: Ethernet address: 00:00:00:00:00:00

and the card does not work.

Best regards,
--
Yoichi NAKAYAMA

At Wed, 5 Sep 2001 11:47:30 -0400,
Jonathan Chen wrote:
 On Mon, Sep 03, 2001 at 08:26:16PM +0900, Yoichi NAKAYAMA wrote:
  I just cvsup'ed and buildkernel with NEWCARD.
  Then my note book doesn't recognize MAC address of the card(3CXFE575CT-JP)
  following are concerning log for new kernel and old kernel(cvsup'ed 2-3 weeks ago)
 
 This looks like it could have been caused by my moving the default io 
 range around.  The IO port assigned to your card could be in conflict with 
 something else.  Try the following patch, which reverts to the old range.
 
 It would be really nice if the pci bus code could just do these assignments 
 automagically...
 
 Index: pccbb.c
 ===
 RCS file: /export/ncvs/src/sys/dev/pccbb/pccbb.c,v
 retrieving revision 1.24
 diff -u -r1.24 pccbb.c
 --- pccbb.c   2001/08/27 11:23:05 1.24
 +++ pccbb.c   2001/09/05 15:44:45
 @@ -1243,8 +1243,8 @@
   start = end = tmp;
   break;
   case SYS_RES_IOPORT:
 - if (start = 0x1000)
 - start = 0x1000;
 + if (start = 0x3000)
 + start = 0x3000;
   if (end  start)
   end = start;
   break;

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



Re: 3CXFE575CT-JP with NEWCARD doesn't work

2001-09-15 Thread yoichi

My card(3CXFE575CT-JP) works well with your patch in the following.
Thanks.
--
Yoichi Nakayama
[EMAIL PROTECTED]

 On Wed, 5 Sep 2001 11:47:30 -0400, Jonathan Chen wrote:

 On Mon, Sep 03, 2001 at 08:26:16PM +0900, Yoichi NAKAYAMA wrote:
 I just cvsup'ed and buildkernel with NEWCARD.
 Then my note book doesn't recognize MAC address of the card(3CXFE575CT-JP)
 following are concerning log for new kernel and old kernel(cvsup'ed 2-3 weeks ago)

 This looks like it could have been caused by my moving the default io 
 range around.  The IO port assigned to your card could be in conflict with 
 something else.  Try the following patch, which reverts to the old range.

 It would be really nice if the pci bus code could just do these assignments 
 automagically...

 Index: pccbb.c
 ===
 RCS file: /export/ncvs/src/sys/dev/pccbb/pccbb.c,v
 retrieving revision 1.24
 diff -u -r1.24 pccbb.c
 --- pccbb.c   2001/08/27 11:23:05 1.24
 +++ pccbb.c   2001/09/05 15:44:45
 @@ -1243,8 +1243,8 @@
   start = end = tmp;
   break;
   case SYS_RES_IOPORT:
 - if (start = 0x1000)
 - start = 0x1000;
 + if (start = 0x3000)
 + start = 0x3000;
   if (end  start)
   end = start;
   break;

 -Jon

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



Re: ACPI module loading.

2001-09-15 Thread yoichi

How about this?

unload
set module_path=/boot/kernel.old
boot /boot/kernel.old/kernel

--
yoichi nakayama

 David Malone wrote:
 If you boot from an old kernel then the loader seems to load the acpi
 module from the wrong place. I tried booting with both:

   unload
   boot /boot/kernel.old/kernel
 and:
   unload
   load /boot/kernel.old/kernel
   boot

 and both loaded the acpi moduse from /boot/kernel/acpi.ko. I thought
 that the loader was supposed to be clever enough to find these
 things. I suppose it could be the acpi loader, the loader or me
 which is broked.

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



anoncvs.freebsd.org's disk is full?

2001-09-07 Thread Yoichi NAKAYAMA

Hi,
When I try to cvs checkout via :pserver:[EMAIL PROTECTED]:/home/ncvs,
I receive message as follows

cannot mkdir /cvstmp/cvs-serv35384/./CVS
No space left on device
---
Yoichi NAKAYAMA
[EMAIL PROTECTED]

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



3CXFE575CT-JP with NEWCARD doesn't work

2001-09-03 Thread Yoichi NAKAYAMA

I just cvsup'ed and buildkernel with NEWCARD.
Then my note book doesn't recognize MAC address of the card(3CXFE575CT-JP)
following are concerning log for new kernel and old kernel(cvsup'ed 2-3 weeks ago)

Sep  3 20:08:43 yoichi-c1 /boot/kernel/kernel: pccbb0: card inserted: 
event=0x, state=3a20
Sep  3 20:08:43 yoichi-c1 /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_0V and 
CARD_VPP_0V [44]
Sep  3 20:08:43 yoichi-c1 /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_3V and 
CARD_VPP_VCC [11]
Sep  3 20:08:43 yoichi-c1 /boot/kernel/kernel: found-  vendor=0x10b7, dev=0x5257, 
revid=0x10
Sep  3 20:08:43 yoichi-c1 /boot/kernel/kernel: class=02-00-00, hdrtype=0x00, mfdev=0
Sep  3 20:08:43 yoichi-c1 /boot/kernel/kernel: cmdreg=0x, statreg=0x0210, 
cachelnsz=8 (dwords)
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: lattimer=0xa8 (5040 ns), mingnt=0x0a 
(2500 ns), maxlat=0x05 (1250 ns)
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: intpin=a, irq=128
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: TUPLE: LINKTARGET [3]: 43 49 53
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: Manufacturer ID: 01015752
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: TUPLE: CFTABLE_ENTRY_CB [13]: 41 9a 01 
b5 1e 01 b5 1e 02 30 ff ff 01
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: Opening BAR: type=IO, bar=10, 
len=0040
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: Product version: 5.0
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: Product name: 3Com Corporation | 
3CCFE575CT | LAN Cardbus Card | 004 | 
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: Functions: Network Adaptor, Memory
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: CIS reading done
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: Resource not specified in 
CIS: id=14, size=80
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: Resource not specified in 
CIS: id=18, size=80
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: Non-prefetchable memory at 
4400-44ff
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: Non-prefetchable memory 
rid=18 at 4400-447f (80)
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: Non-prefetchable memory 
rid=14 at 4480-44ff (80)
Sep  3 20:08:44 yoichi-c1 /boot/kernel/kernel: cardbus0: IO port at 1040-107f
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: cardbus0: IO port rid=10 at 1040-107f
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: 3Com 3c575C Fast Etherlink XL 
port 0x1040-0x107f mem 0x4400-0x447f,0x4480-0x44ff irq 9 at device 0.0 
on cardbus0
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: Ethernet address: 00:00:00:00:00:00
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: WARNING: no media options bits set 
in the media options register!!
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: this could be a manufacturing 
defect in your adapter or system
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: attempting to guess media type; 
you should probably consult your vendor
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: unknown device ID: 0 -- defaulting 
to 10baseT
Sep  3 20:08:45 yoichi-c1 /boot/kernel/kernel: xl0: selecting 10baseT transceiver, 
half duplex


---
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: pccbb0: card inserted: 
event=0x, state=3a20
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: pccbb0: pccbb_power: CARD_VCC_0V 
and CARD_VPP_0V [44]
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: pccbb0: pccbb_power: CARD_VCC_3V 
and CARD_VPP_VCC [11]
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: TUPLE: LINKTARGET [3]: 43 49 53
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: Manufacturer ID: 01015752
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: TUPLE: CONFIG_CB [6]: 03 01 00 00 
00 00
Sep  3 20:11:27 yoichi-c1 /boot/kernel.old/kernel: TUPLE: CFTABLE_ENTRY_CB [13]: 41 9a 
01 b5 1e 01 b5 1e 02 30 ff ff 01
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: cardbus0: Opening BAR: type=IO, 
bar=10, len=0040
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: Product version: 5.0
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: Product name: 3Com Corporation | 
3CCFE575CT | LAN Cardbus Card | 004 | 
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: Functions: Network Adaptor, Memory
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: CIS reading done
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: xl0: 3Com 3c575C Fast Etherlink 
XL port 0x3000-0x307f mem 
0x4402-0x4403,0x44001080-0x440010ff,0x44001000-0x4400107f irq 9 at device 0.0 
on cardbus0
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: xl0: chip is in D6 power mode -- 
setting to D0
Sep  3 20:11:28 yoichi-c1 /boot/kernel.old/kernel: xl0: Ethernet address: 
00:00:86:62:77:4a

To Unsubscribe: send mail to [EMAIL PROTECTED

Re: [acpi-jp 1225] Re: question about acpi sleep.

2001-08-23 Thread yoichi

 IWASAKI-san wrote:
 Hmmm, _WAK method checks OS type (in CKOS method) and skips calling
 PHS(0xe1).  I suspect that this is needed to be done after wakeup.
 i.e. the OS which have `FreeBSD' as ACPI_OS_NAME might have problems
 on your NotePC's ACPI.

 Try running `amldb PCG-C1VSXK.dsdt' to see what happen on Windows NT...
 # Yes, amldb has string Microsoft Windows NT in _OS_ object for this
 # purpose :-)

I haven't understood what you mean, but I run amldb PCG-C1VSXK.dsdt
on my machine and attached what I showed when I input t.
This could be some help?
--
yoichi nakayama /* From Berlin */


 amldb.out


question about acpi sleep.

2001-08-10 Thread Yoichi NAKAYAMA

Hi. On my machine (Sony PCG-C1VSX/K notebook), Lid open/close (or, acpiconf -s 1)
output following messages

/boot/kernel/kernel: acpi_lid0: Lid closed
/boot/kernel/kernel: acpi0: AcpiHwObtainSleepTypeRegisterData failed - AE_NOT_FOUND
/boot/kernel/kernel: acpi_lid0: Lid opened
/boot/kernel/kernel: acpi0: AcpiHwObtainSleepTypeRegisterData failed - AE_NOT_FOUND

What these message mean? acpi sleep doesn't work?

ACPI related dmessage is as follows

acpi0: SONY   P1   on motherboard
acpi_cpu0: CPU on acpi0
acpi_cpu: CLK_VAL field overflows P_CNT register
acpi_cpu: CLK_VAL field overlaps THT_EN bit
acpi_tz0: thermal zone on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
acpi_pcib0: Host-PCI bridge on acpi0
acpi_pcib0: matched entry for 0.12.INTA (source \\_SB_.LNKB)
acpi_pcib0: possible interrupts:  9
acpi_pcib0: routed interrupt 9 via \\_SB_.LNKB
acpi_ec0: embedded controller on acpi0
acpi_cmbat0: Control method Battery on acpi0
acpi_acad0: AC adapter on acpi0
acpi_timer0: 24-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0
-- 
Yoichi Nakayama [EMAIL PROTECTED]
 E-ken, Dept. of Physics, Nagoya University 
 http://www.eken.phys.nagoya-u.ac.jp/~yoichi/

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



Re: acpica malfunctions

2001-07-31 Thread yoichi

Hi,

 Mike Smith wrote:
 I've just committed a slightly different patch, based on a mix of your 
 ideas and mine (mostly yours).  Can you test the -current code, and let 
 me know what I broke this time?  8)

As  haro wrote, acpi_pcib.c rev1.11 + neckpain's patch does work
on my machine too. But rev1.12 cause panic while booting on my 
PCG-C1VSX/K (NEWCARD + acpica).

pccbb0: RF5C475 PCI-CardBus Bridge at device 12.0 on pci0
pccbb0: PCI Memory allocated: 4400
acpi_pcib0: matched entry for 0.12.INTA (source \_SB_.LINKB)
acpi_pcib0: possible interrupts: 9
acpi_pcib0: couldn't route interrupt 9 via \_SB_.LINKB - AE_BAD_PARAMETER
pccbb: Unable to map IRQ...
panic: resource_list_release: can't find resource
Debugger(panic)
Stopped at  Debugger+0x44:  pushl   %ebx
db 

dmesg with acpi_pcib.c rev1.11 + neckpain's patch is as follows

ACPI debug layer 0x0  debug level 0x0
Copyright (c) 1992-2001 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 #0: Sun Jul 29 15:46:16 JST 2001
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/ALASKAN
Timecounter i8254  frequency 1193182 Hz
CPU: Transmeta(tm) Crusoe(tm) Processor TM5600 (661.67-MHz 586-class CPU)
  Origin = GenuineTMx86  Id = 0x543
real memory  = 117374976 (114624K bytes)
avail memory = 108027904 (105496K bytes)
Preloaded elf kernel kernel at 0xc05f9000.
WARNING: Driver mistake: destroy_dev on 154/0
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: SONY   P1   on motherboard
Timecounter ACPI  frequency 3579545 Hz
acpi_cpu0: CPU on acpi0
acpi_cpu: CLK_VAL field overflows P_CNT register
acpi_cpu: CLK_VAL field overlaps THT_EN bit
acpi_tz0: thermal zone on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
acpi_pcib0: Host-PCI bridge on acpi0
pci0: PCI bus on acpi_pcib0
pci0: memory, RAM at 0.1 (no driver attached)
pci0: memory, RAM at 0.2 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x1000-0x100f 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 0x1020-0x103f irq 9 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
uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 2 ports with 2 removable, self powered
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 3
pci0: bridge, PCI-unknown at 7.3 (no driver attached)
pci0: serial bus, FireWire at 8.0 (no driver attached)
pcm0: Yamaha DS-1E (YMF754) mem 0xfc108000-0xfc10 irq 9 at device 9.0 on pci0
pci0: simple comms at 10.0 (no driver attached)
pci0: multimedia at 11.0 (no driver attached)
pccbb0: RF5C475 PCI-CardBus Bridge at device 12.0 on pci0
pccbb0: PCI Memory allocated: 4400
acpi_pcib0: matched entry for 0.12.INTA (source \\_SB_.LNKB)
acpi_pcib0: possible interrupts:  9
acpi_pcib0: routed interrupt 9 via \\_SB_.LNKB
cardbus0: Cardbus bus (newcard) on pccbb0
pccard0: 16-bit PCCard bus on pccbb0
pci0: display, VGA at 13.0 (no driver attached)
acpi_ec0: embedded controller on acpi0
acpi_cmbat0: Control method Battery on acpi0
acpi_acad0: AC adapter on acpi0
acpi_timer0: 24-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0

(omitting the rest)
-- 
Yoichi Nakayama [EMAIL PROTECTED]
 E-ken, Dept. of Physics, Nagoya University 
 http://www.eken.phys.nagoya-u.ac.jp/~yoichi/

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



Re: [acpi-jp 1168] Re: HEADS UP - more ACPI updates, CPU throttling

2001-07-20 Thread Yoichi NAKAYAMA

Hi.

Munehiro Matsuda [EMAIL PROTECTED] wrote:
 I'm also having same hang-up, with acpi_pcib.c rev1.10 (no NEWCARD).
 With acpi_pcib.c rev1.9, I loose my pccard.
 With acpi_pcib.c rev1.8, everything seems ok.

 From: [EMAIL PROTECTED]
 Date: Mon, 09 Jul 2001 18:51:12 +0900
 ::I cvsup'ed to FreeBSD-current after this change, but I cannot boot 
 ::kernel configured with device acpica (added to NEWCARD).
 ::I can boot with the configuration NEWCARD.
 ::In past days(cvsup'ed about 1-2 weeks ago), I was able to boot with
 ::device acpica.
 ::
 ::Machine: sony PCG-C1VSX/K
 ::
 ::Boot process stops at 
 ::
 ::
 ::pci0: bridge, PCI-unknown at 7.3 (no driver attached)
 ::pci0: serial bus, FireWire at 8.0 (no driver attached)
 ::pci0: multimedia, audio at 9.0 (no driver attached)
 ::pci0: simple comms at 10.0 (no driver attached)
 ::pci0: multimedia at 11.0 (no driver attached)
 ::pccbb0: RF5C475 PCI-CardBus Bridge at device 12.0 on pci0
 ::pccbb0: PCI Memory allocated: 4400
 ::acpi_pcib0: matched entry for 0.12.INTA (source \_SB_.LINKB)
 ::acpi_pcib0: possible interrupts:  9

In my case, pcic_pcib.c rev 1.9 cause panic while booting.
pcic_pcib.c rev 1.8 does work well for my machine too.

Machine: SONY PCG-C1VSX/K with 3Com 3CXFE575CT-JP
-- 
Yoichi Nakayama [EMAIL PROTECTED]
 E-ken, Dept. of Physics, Nagoya University 
 http://www.eken.phys.nagoya-u.ac.jp/~yoichi/

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



Re: HEADS UP - more ACPI updates, CPU throttling

2001-07-09 Thread yoichi

 Mike Smith wrote:
 I've committed another round of ACPI changes to -current.

I cvsup'ed to FreeBSD-current after this change, but I cannot boot 
kernel configured with device acpica (added to NEWCARD).
I can boot with the configuration NEWCARD.
In past days(cvsup'ed about 1-2 weeks ago), I was able to boot with
device acpica.

Machine: sony PCG-C1VSX/K

Boot process stops at 


pci0: bridge, PCI-unknown at 7.3 (no driver attached)
pci0: serial bus, FireWire at 8.0 (no driver attached)
pci0: multimedia, audio at 9.0 (no driver attached)
pci0: simple comms at 10.0 (no driver attached)
pci0: multimedia at 11.0 (no driver attached)
pccbb0: RF5C475 PCI-CardBus Bridge at device 12.0 on pci0
pccbb0: PCI Memory allocated: 4400
acpi_pcib0: matched entry for 0.12.INTA (source \_SB_.LINKB)
acpi_pcib0: possible interrupts:  9

-- 
Yoichi Nakayama [EMAIL PROTECTED]
 E-ken, Dept. of Physics, Nagoya University 
 http://www.eken.phys.nagoya-u.ac.jp/~yoichi/

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



Re: -current on ibm tp a20p?

2000-11-24 Thread Yoichi ASAI

Christian Carstensen [EMAIL PROTECTED] wrote:

 has someone of you got -current working on a ibm thinkpad a20p?
 at the moment, i can't use pccard and sound card support.
 to be honest, this problem is not -current specific, - it also occurs
 with 4.x os.

I have ThinkPad A20m, perhaps that is a subset of A20p.
On these laptops, use 0xd4000 as memory slots.

-- kernel config hint file --
hint.pcic.0.maddr="0xd4000"

-- /etc/pccard.conf --
memory  0xd4000  96k

Pccard works fine with these settings.

On the other hand, sound chip does not work. Kernel recognizes
Crystal SoundFusion as CS461x, with device pcm and csa included
in my config. But IRQ sharing prevents it from working.
mpg123 and play (sox) return this message:

pcm0: play interrupt timeout, channel dead

-- dmesg --
csa0: Crystal Semiconductor CS4614/4622/4624 Audio accelerator/
4280 Audio controller mem 0xf400-0xf40f,0xf4121000-0xf4
121fff irq 11 at device 5.0 on pci0
pcm0: CS461x PCM Audio on csa0

---
Yoichi ASAI [EMAIL PROTECTED]


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