linux 2.3.18ac8 Toshiba ToPIC95-B detection problems

Jens Taprogge (jens.taprogge@post.rwth-aachen.de)
Sun, 26 Sep 1999 18:15:36 +0200


This is a multi-part message in MIME format.
--------------C3F147C33CECE3C03DF69EB4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I tried posting this yesterday already and earlier today ... but as it
seems my mailserver is broken so I am trying it using a different one.
Please don't be upset if the message shows up multiple times.

Linux 2.3.18 does not detect the ToPIC95-B of my Toshiba Satellite
4000CDS. According to the output of David Hinds' PCMCIA package it is
located at 0x68000000.

I modified the detection routine with the attached patch and included
the output of dmesg (with pcmcia support compieled as modules as well as
into the kernel) in this mail.
I hope the information is useful.

If I can give any further assitance please let me know.

btw.: the machine hangs during bootup after the output of "Freeing
unused kernel memory .... " if I include ACPI support (The ACPI chip is
detected.)

ps: I had exactly the same problem eith earlier kernels and older gcc
compilers.

--
Jens Taprogge

e-mail: mailto:jens.taprogge@post.rwth-aachen.de --------------C3F147C33CECE3C03DF69EB4 Content-Type: text/plain; charset=us-ascii; name="patch.pcmcia" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.pcmcia"

--- i82365.c.orig Fri Sep 24 22:50:27 1999 +++ i82365.c Fri Sep 24 22:16:29 1999 @@ -1671,12 +1671,16 @@ s->cb_virt = ioremap(s->cb_phys, 0x1000); pci_writel(bus, devfn, PCI_BASE_ADDRESS_0, s->cb_phys); /* Simple sanity checks */ - if (((readb(s->cb_virt+0x800+I365_IDENT) & 0xf0) - == 0x80) && - !(readb(s->cb_virt+0x800+I365_CSC) && - readb(s->cb_virt+0x800+I365_CSC) && - readb(s->cb_virt+0x800+I365_CSC))) - break; + printk(KERN_NOTICE " Checking phys address 0x%08x...\n", s->cb_phys); + printk(KERN_NOTICE " virt address 0x%p\n", s->cb_virt); + printk(KERN_NOTICE " cb_virt+0x800+I365_IDENT=%02x\n", + readb(s->cb_virt+0x800+I365_IDENT)); + printk(KERN_NOTICE " cb_virt+0x800+I365_CSC=%02x\n", + readb(s->cb_virt+0x800+I365_CSC)); + printk(KERN_NOTICE " cb_virt+0x800+I365_CSC=%02x\n", + readb(s->cb_virt+0x800+I365_CSC)); + printk(KERN_NOTICE " cb_virt+0x800+I365_CSC=%02x\n", + readb(s->cb_virt+0x800+I365_CSC)); iounmap(s->cb_virt); } if (i == sizeof(cb_mem_base)/sizeof(u_int)) {

--------------C3F147C33CECE3C03DF69EB4 Content-Type: text/plain; charset=us-ascii; name="dmesg.pcmcia" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.pcmcia"

Linux version 2.3.18ac8 (root@al) (gcc version 2.95.2 19990906 (prerelease)) #15 Fri Sep 24 22:31:42 CEST 1999 e820: 654336 @ 00000000 (usable) e820: 1024 @ 0009fc00 (reserved) e820: 16384 @ 000e8000 (reserved) e820: 65536 @ 000f0000 (reserved) e820: 99549184 @ 00100000 (usable) e820: 65536 @ 05ff0000 (ACPI data) e820: 93696 @ 100a0000 (reserved) e820: 512 @ 100b6e00 type 4 e820: 299008 @ 100b7000 (reserved) e820: 524288 @ fff80000 (reserved) Initializing CPU#0 Detected 233298094 Hz processor. Console: colour dummy device 80x25 Calibrating delay loop... 232.65 BogoMIPS memory region: 639k @ 00000000 memory region: 97280k @ 00100000 Memory: 94476k/98304k available (1408k kernel code, 412k reserved, 1908k data, 100k init, 0k bigmem) Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) CPU: Intel Pentium II (Deschutes) stepping 00 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35 (19990512) Richard Gooch (rgooch@atnf.csiro.au) PCI: PCI BIOS revision 2.10 entry at 0xf1557 PCI: Using configuration type 1 PCI: Probing PCI hardware isapnp: Scanning for Pnp cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.3 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP TCP: Hash tables configured (established 8192 bind 16384) IrDA (tm) Protocols for Linux-2.3 (Dag Brattli) get_random_bytes called before random driver initialization apm: BIOS version 1.2 Flags 0x02 (Driver version 1.9) Starting kswapd v1.6 0x378: FIFO is 16 bytes 0x378: writeIntrThreshold is 16 0x378: readIntrThreshold is 16 0x378: PWord is 8 bits 0x378: Interrupts are ISA-Pulses parport0: PC-style at 0x378 (0x778), irq 7, dma 5 [PCSPP,TRISTATE,ECP,DMA] parport0: cpp_daisy: aa5500ff(38) parport0: assign_addrs: aa5500ff(38) Detected 2 ports New USB bus registered vesafb: framebuffer at 0x4261412864, mapped to 0xc6800000, size 2048k vesafb: mode is 800x600x8, linelength=800, pages=0 vesafb: protected mode interface info at c000:96e0 vesafb: scrolling: redraw Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device Detected PS/2 Mouse Port. Serial driver version 4.30 with SHARE_IRQ SERIAL_PCI PCI_IOMEM enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A pty: 256 Unix98 ptys configured lp0: using parport0 (interrupt-driven). Real Time Clock Driver v1.09a Uniform Multi-Platform E-IDE driver Revision: 6.20 PIIX4: IDE controller on PCI bus 00 dev 39 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfe60-0xfe67, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfe68-0xfe6f, BIOS settings: hdc:DMA, hdd:pio hda: TOSHIBA MK4006MAV, ATA DISK drive hdc: CD-224E, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: TOSHIBA MK4006MAV, 3909MB w/0kB Cache, CHS=993/128/63, UDMA(33) hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA Uniform CDROM driver Revision: 3.04 Floppy drive(s): fd0 is 1.44M FDC 0 is an 8272A Partition check: hda: hda1 hda2 hda3 hda4 Linux PCMCIA Card Services 3.1.0 options: [pci] [cardbus] [apm] Intel PCIC probe: <5> Checking phys address 0x68000000... virt address 0xc6a01000 cb_virt+0x800+I365_IDENT=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00 Checking phys address 0xf8000000... virt address 0xc6a01000 cb_virt+0x800+I365_IDENT=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00

Bridge register mapping failed: check cb_mem_base setting not found. Databook TCIC-2 PCMCIA probe: not found. NTFS version 990411 ds: no socket drivers loaded! VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 100k freed Adding Swap: 60384k swap-space (priority -1) NET4: Linux IPX 0.38 for NET4.0 IPX Portions Copyright (c) 1995 Caldera, Inc. ToshOboe: Found 701 chip at 0xff80 irq 11 IrDA: Registered device irda0 ToshOboe: Using single tasks, version $Id: toshoboe.c,v 1.9 1999/06/29 14:21:06 root Exp $ nfsd_init: initialized fhcache, entries=256

--------------C3F147C33CECE3C03DF69EB4 Content-Type: text/plain; charset=us-ascii; name="dmesg.pcmcia.module" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.pcmcia.module"

Linux version 2.3.18ac8 (root@al) (gcc version 2.95.2 19990906 (prerelease)) #17 Sat Sep 25 11:17:53 CEST 1999 e820: 654336 @ 00000000 (usable) e820: 1024 @ 0009fc00 (reserved) e820: 16384 @ 000e8000 (reserved) e820: 65536 @ 000f0000 (reserved) e820: 99549184 @ 00100000 (usable) e820: 65536 @ 05ff0000 (ACPI data) e820: 93696 @ 100a0000 (reserved) e820: 512 @ 100b6e00 type 4 e820: 299008 @ 100b7000 (reserved) e820: 524288 @ fff80000 (reserved) Initializing CPU#0 Detected 233299437 Hz processor. Console: colour dummy device 80x25 Calibrating delay loop... 232.65 BogoMIPS memory region: 639k @ 00000000 memory region: 97280k @ 00100000 Memory: 94560k/98304k available (1340k kernel code, 416k reserved, 1900k data, 88k init, 0k bigmem) Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) CPU: Intel Pentium II (Deschutes) stepping 00 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35 (19990512) Richard Gooch (rgooch@atnf.csiro.au) PCI: PCI BIOS revision 2.10 entry at 0xf1557 PCI: Using configuration type 1 PCI: Probing PCI hardware isapnp: Scanning for Pnp cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.3 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP TCP: Hash tables configured (established 8192 bind 16384) IrDA (tm) Protocols for Linux-2.3 (Dag Brattli) get_random_bytes called before random driver initialization apm: BIOS version 1.2 Flags 0x02 (Driver version 1.9) Starting kswapd v1.6 0x378: FIFO is 16 bytes 0x378: writeIntrThreshold is 16 0x378: readIntrThreshold is 16 0x378: PWord is 8 bits 0x378: Interrupts are ISA-Pulses parport0: PC-style at 0x378 (0x778), irq 7, dma 5 [PCSPP,TRISTATE,ECP,DMA] parport0: cpp_daisy: aa5500ff(38) parport0: assign_addrs: aa5500ff(38) Detected 2 ports New USB bus registered vesafb: framebuffer at 0x4261412864, mapped to 0xc6800000, size 2048k vesafb: mode is 800x600x8, linelength=800, pages=0 vesafb: protected mode interface info at c000:96e0 vesafb: scrolling: redraw Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device Detected PS/2 Mouse Port. Serial driver version 4.30 with SHARE_IRQ SERIAL_PCI PCI_IOMEM enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A pty: 256 Unix98 ptys configured lp0: using parport0 (interrupt-driven). Real Time Clock Driver v1.09a Uniform Multi-Platform E-IDE driver Revision: 6.20 PIIX4: IDE controller on PCI bus 00 dev 39 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfe60-0xfe67, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfe68-0xfe6f, BIOS settings: hdc:DMA, hdd:pio hda: TOSHIBA MK4006MAV, ATA DISK drive hdc: CD-224E, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: TOSHIBA MK4006MAV, 3909MB w/0kB Cache, CHS=993/128/63, UDMA(33) hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA Uniform CDROM driver Revision: 3.04 Floppy drive(s): fd0 is 1.44M FDC 0 is an 8272A Partition check: hda: hda1 hda2 hda3 hda4 NTFS version 990411 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 88k freed Adding Swap: 60384k swap-space (priority -1) NET4: Linux IPX 0.38 for NET4.0 IPX Portions Copyright (c) 1995 Caldera, Inc. Linux PCMCIA Card Services 3.1.0 kernel build: 2.3.18ac8 #17 Sat Sep 25 11:17:53 CEST 1999 options: [pci] [cardbus] [apm] Intel PCIC probe: <5> Checking phys address 0x68000000... virt address 0xc6a23000 cb_virt+0x800+I365_IDENT=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00 Checking phys address 0xf8000000... virt address 0xc6a23000 cb_virt+0x800+I365_IDENT=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00 cb_virt+0x800+I365_CSC=00

Bridge register mapping failed: check cb_mem_base setting not found. ds: no socket drivers loaded! ToshOboe: Found 701 chip at 0xff80 irq 11 IrDA: Registered device irda0 ToshOboe: Using single tasks, version $Id: toshoboe.c,v 1.9 1999/06/29 14:21:06 root Exp $ nfsd_init: initialized fhcache, entries=256

--------------C3F147C33CECE3C03DF69EB4--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/