Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Post by Manuel Serran » Tue, 05 Nov 2002 13:10:12



Hello there,

I'm trying to install Linux on a Sony PCG-C1MHP (a Picturebook, which
are those very small computer equiped with Crusoe processor). Basically
I have a Debian running on this platform but I still have 5 problems.

I don't know exactly which is the best way to submit these bug reports
and to whom I should send the mails. For instance, I have found very little
support from Transmeta for running Linux on this computer. Please, feel
free to tell me who I should send these mails to and please feel free to
forward these mails to the one you think are the correct persons.

First of all, I'm not familiar with kernel development. I don't even
know precisely how an OS kernel such as the Linux kernel works. So, I
apologize if I report incomplete or erroneous information. I will try
my best and of course:
   - I will be very happy to report for precise information.
   - I'm willing to help, as much as I can.

I will send 5 of these mails, each reporting about one problem. Here is
the first one, which is the most annoying one.

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

[1.] One line summary of the problem:
=====================================

The DMA support cannot be enabled for the harddisk

[2.] Full description of the problem/report:
============================================

As far as I have understood, this computer uses an ALi M1533 chip for
controling the disk (even though, I must admit that I'm totally confused
between the reference "ALi M1533 PCI to ISA Bridge" and the
reference "ALi M5229 IDE"). If I compile the kernel (version 2.4.18, 2.4.19,
2.4.20-pre10, and 2.4.20-rc1) enabling the M15x3 support, I always have the
same problem: the machine does not boot. I can't send the actual error message
because the machine hangs without logging any message. However, I got
something that ends with a message such as:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
ALI15X3: chipset revision 196
ALI15X3: IDE controller on PCI bus 00 dev 80
ALI15X3: not 100% native mode: will probe irqs later
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

Nothing more. At this point, the keyboard is ineffective. The only solution
is to switch off the computer.

On the web site: http://hale.org/~bhoward/issue_7/pcg-c1mrx.html,
Bruce Howard reports a bug in the alim15x3.c kernel. I have tried to apply
his patch but this does not help. He also mention to boot the kernel with
the flags "ide2=0x180,0x386 pci=conf2". I don't think I understand the
meaning of these flags but what I'm sure about is that they don't help.

In conclusion, the only way I have to boot the machine is using the generic
IDE controler that works fine excepts that it does not support DMA for the
disk. In consequence, I have very poor disk performance.

Many thanks, in advance, for your help.

[3.] Keywords (i.e., modules, networking, kernel):
==================================================

Sony Picture book, Crusoe, IDE, ALIM 1533.c, DMA.

[4.] Kernel version (from /proc/version):
=========================================

owens:.../src/linux-2.4.20-rc1> cat /proc/version
Linux version 2.4.20-rc1 (root@owens) (gcc version 2.95.4 20011002 (Debian prerelease)) #2 Mon Nov 4 09:47:32 CET 2002

[5.] Output of Oops.. message (if applicable) with symbolic information:
========================================================================    

NA

[6.] A small shell script or example program which triggers the problem:
========================================================================

NA

[7.] Environment
================

Sony Picturebook PCG-C1MHP, Crusoe TM5800, ide disk IC25N030ATCS04-0
ATA/ATAPI IDE   : IDE PCI Bus Master ALi M5229

[7.1.] Software (add the output of the ver_linux script here):
==============================================================

owens:.../src/linux-2.4.20-rc1> sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux owens 2.4.20-rc1 #2 Mon Nov 4 09:47:32 CET 2002 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 GenuineTMx86 GNU/Linux

Gnu C                  2.95.4
Gnu make               3.79.1
util-linux             2.11u
mount                  2.11u
modutils               2.4.19
e2fsprogs              1.30-WIP
pcmcia-cs              3.2.1
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Procps                 3.0.0
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               4.5.2
Modules Loaded         sonypi trident ac97_codec soundcore ds yenta_socket pcmcia_core 8139too mii ospm_thermal ospm_battery ospm_ac_adapter ospm_busmgr usb-storage mousedev hid usb-ohci usbcore scsi_mod

[7.2.] Processor information (from /proc/cpuinfo):
==================================================

owens:.../src/linux-2.4.20-rc1> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineTMx86
cpu family      : 6
model           : 4
model name      : Transmeta(tm) Crusoe(tm) Processor TM5800
stepping        : 3
cpu MHz         : 860.140
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr cx8 sep cmov mmx longrun lrti
bogomips        : 1703.93

[7.3.] Module information (from /proc/modules):
===============================================

owens:.../src/linux-2.4.20-rc1> cat /proc/modules
sonypi                  7240   0
trident                25556   1 (autoclean)
ac97_codec              9640   0 (autoclean) [trident]
soundcore               3364   3 (autoclean) [trident]
ds                      6120   1
yenta_socket            8512   1
pcmcia_core            31840   0 [ds yenta_socket]
8139too                13448   1 (autoclean)
mii                     2176   0 (autoclean) [8139too]
ospm_thermal            5360   0 (unused)
ospm_battery            5364   0 (unused)
ospm_ac_adapter         1908   0 (unused)
ospm_busmgr            10932   0 [ospm_thermal ospm_battery ospm_ac_adapter]
usb-storage            20696   0 (unused)
mousedev                3672   1
hid                    17124   0 (unused)
usb-ohci               17032   0 (unused)
usbcore                53504   0 [usb-storage hid usb-ohci]
scsi_mod               88584   1 [usb-storage]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem):
===========================================================================

owens:.../src/linux-2.4.20-rc1> cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-017f : Acer Laboratories Inc. [ALi] M5229 IDE
01f0-01ff : Acer Laboratories Inc. [ALi] M5229 IDE
  01f0-01f7 : ide0
0376-0376 : Acer Laboratories Inc. [ALi] M5229 IDE
03c0-03df : vga+
03f6-03f6 : Acer Laboratories Inc. [ALi] M5229 IDE
  03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1080-109f : Sony Programable I/O Device
1400-140f : Acer Laboratories Inc. [ALi] M5229 IDE
1800-18ff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device
  1800-18ff : ALi Audio Accelerator
1c00-1cff : Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller
2000-20ff : PCI device 10cf:2011 (Citicorp TTI)
2400-24ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
  2400-24ff : 8139too
2800-28ff : ATI Technologies Inc Radeon Mobility M6 LY
4000-40ff : PCI CardBus #01
4400-44ff : PCI CardBus #01
8000-803f : Acer Laboratories Inc. [ALi] M7101 PMU
8040-805f : Acer Laboratories Inc. [ALi] M7101 PMU

owens:.../src/linux-2.4.20-rc1> cat /proc/iomem
00000000-0009afff : System RAM
0009b000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000dc000-000dffff : reserved
000e0000-000e0fff : Acer Laboratories Inc. [ALi] USB 1.1 Controller (#2)
  000e0000-000e0fff : usb-ohci
000f0000-000fffff : System ROM
00100000-0eeeffff : System RAM
  00100000-001ecfb5 : Kernel code
  001ecfb6-002570bf : Kernel data
0eef0000-0eefbfff : ACPI Tables
0eefc000-0eefffff : ACPI Non-volatile Storage
0ef00000-0effffff : System RAM
10000000-10000fff : Ricoh Co Ltd RL5c475
10400000-107fffff : PCI CardBus #01
10800000-10bfffff : PCI CardBus #01
e8000000-e80fffff : Transmeta Corporation LongRun Northbridge
e8100000-e8100fff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device
e8101000-e8101fff : Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller
e8102000-e81027ff : Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
e8102800-e81028ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
  e8102800-e81028ff : 8139too
e8103000-e8103fff : Acer Laboratories Inc. [ALi] USB 1.1 Controller
  e8103000-e8103fff : usb-ohci
e8104000-e8107fff : Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
e8110000-e811ffff : ATI Technologies Inc Radeon Mobility M6 LY
e8200000-e82fffff : PCI device 10cf:2011 (Citicorp TTI)
f0000000-f7ffffff : ATI Technologies Inc Radeon Mobility M6 LY
fff80000-ffffffff : reserved

[7.5.] PCI information ('lspci -vvv' as root)
=============================================

owens:.../src/linux-2.4.20-rc1> sudo lspci -vv
00:00.0 Host bridge: Transmeta Corporation LongRun Northbridge (rev 02)
        Subsystem: Sony Corporation: Unknown device 80ec
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=1M]

00:00.1 RAM memory: Transmeta Corporation SDRAM controller
        Subsystem: Sony Corporation: Unknown device 80ec
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV-
...

read more »

 
 
 

Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Post by Alan Co » Tue, 05 Nov 2002 14:40:04



> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
> ALI15X3: chipset revision 196
> ALI15X3: IDE controller on PCI bus 00 dev 80
> ALI15X3: not 100% native mode: will probe irqs later
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

> Nothing more. At this point, the keyboard is ineffective. The only solution
> is to switch off the computer.

Should be fixed in the development tree already. Forcing ata66 might
also make the problem go away. The ALi code in the existing kernels
assumes ALi north and south bridges so comes apart completely on the
crusoe boxes which have a transmeta virtual northbridge on the
CPU/software itself.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Post by Manuel Serran » Wed, 06 Nov 2002 10:30:18


Hello there,

On 04 Nov 2002 12:50:47 +0000

Alan Cox <a...@lxorguk.ukuu.org.uk> wrote:
> On Mon, 2002-11-04 at 10:54, Manuel Serrano wrote:
> > -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
> > ALI15X3: chipset revision 196
> > ALI15X3: IDE controller on PCI bus 00 dev 80
> > ALI15X3: not 100% native mode: will probe irqs later
> > -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

> > Nothing more. At this point, the keyboard is ineffective. The only solution
> > is to switch off the computer.

> Should be fixed in the development tree already. Forcing ata66 might
> also make the problem go away. The ALi code in the existing kernels
> assumes ALi north and south bridges so comes apart completely on the
> crusoe boxes which have a transmeta virtual northbridge on the
> CPU/software itself.

I'm sorry to keep bothering all of you with this problem. I have tried
a new version of the kernel (2.4.20-pre10-ac2) and I'm afraid that it does
not fix the problem. I'm now able to compile and boot a kernel using the
specific IDE driver but I'm still enable to enable the DMA on the disk.

Here are the information I have a boot-time:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
owens:.../src/linux-2.4.20-pre10-ac2> dmesg | more
Linux version 2.4.20-pre10-ac2 (root@owens) (gcc version 2.95.4 20011002 (Debia
n prerelease)) #2 Mon Nov 4 21:12:53 CET 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009b000 (usable)
 BIOS-e820: 000000000009b000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000c0000 - 00000000000d0000 (reserved)
 BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000eef0000 (usable)
 BIOS-e820: 000000000eef0000 - 000000000eefc000 (ACPI data)
 BIOS-e820: 000000000eefc000 - 000000000ef00000 (ACPI NVS)
 BIOS-e820: 000000000ef00000 - 000000000f000000 (usable)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
240MB LOWMEM available.
On node 0 totalpages: 61440
zone(0): 4096 pages.
zone(1): 57344 pages.
zone(2): 0 pages.
Sony Vaio laptop detected.
Kernel command line: ro root=/dev/hda2
Initializing CPU#0
Detected 860.161 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1717.04 BogoMIPS
Memory: 238540k/245760k available (985k kernel code, 4832k reserved, 440k data,
 56k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=30057 max_file_pages=0 max_inodes=0 max_dentries=30057
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 512K (128 bytes/line)
CPU: Processor revision 1.4.1.0, 867 MHz
CPU: Code Morphing Software revision 4.3.0-9-197
CPU: 20020207 23:55 official release 4.3.0#7
CPU serial number disabled.
CPU:     After generic, caps: 0080893f 0081813f 0000004e 00000000
CPU:             Common caps: 0080893f 0081813f 0000004e 00000000
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgo...@atnf.csiro.au)
mtrr: detected mtrr type: none
PCI: PCI BIOS revision 2.10 entry at 0xfd85e, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Scanning bus 00
Found 00:00 [1279/0395] 000600 00
Found 00:01 [1279/0396] 000500 00
Found 00:02 [1279/0397] 000500 00
Found 00:30 [10b9/5451] 000401 00
Found 00:38 [10b9/1533] 000601 00
Found 00:40 [10b9/5457] 000703 00
Found 00:48 [104c/8023] 000c00 00
Found 00:50 [10cf/2011] 000480 00
Found 00:58 [10ec/8139] 000200 00
Found 00:60 [1002/4c59] 000300 00
Found 00:78 [10b9/5237] 000c03 00
Found 00:80 [10b9/5229] 000101 00
Found 00:88 [10b9/7101] 000000 00
Found 00:90 [1180/0475] 000607 02
Found 00:a0 [10b9/5237] 000c03 00
Fixups for bus 00
Scanning behind PCI bridge 00:12.0, config 010100, pass 0
Scanning behind PCI bridge 00:12.0, config 010100, pass 1
Bus scan for 00 returning with max=01
PCI: Using IRQ router ALI [10b9/1533] at 00:07.0
PCI: Found IRQ 9 for device 00:06.0
PCI: Found IRQ 9 for device 00:08.0
PCI: Found IRQ 9 for device 00:0a.0
PCI: Sharing IRQ 9 with 00:0b.0
PCI: Sharing IRQ 9 with 00:12.0
PCI: Found IRQ 9 for device 00:0f.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
ACPI: Core Subsystem version [20011018]
ACPI: Subsystem enabled
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI e
nabled
PCI: Enabling device 00:08.0 (0000 -> 0003)
PCI: Found IRQ 9 for device 00:08.0
Redundant entry in serial pci_table.  Please send the output of
lspci -vv, this message (10b9,5457,104d,80ec)
and the manufacturer and name of serial board or modem board
to serial-pci-i...@lists.sourceforge.net.
register_serial(): autoconfig failed
Real Time Clock Driver v1.10e
floppy0: no floppy controllers found
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 00:10.0
PCI: No IRQ known for interrupt pin A of device 00:10.0. Please try using pci=b
iosirq.
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ALI15X3: simplex device with no drives: DMA disabled
ide0: ALI15X3 Bus-Master DMA disabled (BIOS)
ALI15X3: simplex device with no drives: DMA disabled
ide1: ALI15X3 Bus-Master DMA disabled (BIOS)
hda: IC25N030ATCS04-0, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: host protected area => 1
hda: 58605120 sectors (30006 MB) w/1768KiB Cache, CHS=3648/255/63
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 56k freed
Adding Swap: 265064k swap-space (priority -1)
SCSI subsystem driver Revision: 1.00
...
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

At this point, it seems okay to me but then:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
owens:.../src/linux-2.4.20-pre10-ac2> sudo /sbin/hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 3648/255/63, sectors = 58605120, start = 0
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

Trying to enable dma is ineffective:
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
owens:.../src/linux-2.4.20-pre10-ac2> sudo /sbin/hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

Even worse:
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
owens:.../src/linux-2.4.20-pre10-ac2> sudo /sbin/hdparm -d1 -X66 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting xfermode to 66 (UltraDMA mode2)
zsh: segmentation fault  sudo /sbin/hdparm -d1 -X66 /dev/hda

owens:.../src/linux-2.4.20-pre10-ac2> dmesg | tail -21
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<00000000>]    Not tainted
EFLAGS: 00010282
eax: 00000000   ebx: 00000042   ecx: 00000cf8   edx: 00000cfe
esi: c029d6b0   edi: c029d600   ebp: c19fd800   esp: c960bdd4
ds: 0018   es: 0018   ss: 0018
Process hdparm (pid: 1206, stackpage=c960b000)
Stack: c01a0b1f c029d6b0 00000042 00000000 00000042 c19fd800 c019e1fc c19fd800
       00000001 4200000a c019e236 c029d6b0 00000042 c960be54 bffff564 c029d6b0
       c960be54 c960be27 c029d6b0 00000056 0a420042 c01a314f c029d6b0 00000042
Call Trace:    [<c01a0b1f>] [<c019e1fc>] [<c019e236>] [<c01a314f>] [<c01f44df>]
  [<c012a9c3>] [<c0183f3e>] [<c01a7221>] [<c0180a29>] [<c0135fd0>] [<c013c595>]
  [<c0106a4f>]

Code:  Bad EIP value.

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

May be I'm doing something wrong. Here is the config file I'm using for
compiling the kernel:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
owens:.../src/linux-2.4.20-pre10-ac2> cat .config
#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MELAN is not set
CONFIG_MCRUSOE=y
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not ...

read more »

 
 
 

Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Post by Alan Co » Wed, 06 Nov 2002 12:10:09



> I'm sorry to keep bothering all of you with this problem. I have tried
> a new version of the kernel (2.4.20-pre10-ac2) and I'm afraid that it does
> not fix the problem. I'm now able to compile and boot a kernel using the
> specific IDE driver but I'm still enable to enable the DMA on the disk.

This is all useful info

Quote:> ALI15X3: simplex device with no drives: DMA disabled
> ide0: ALI15X3 Bus-Master DMA disabled (BIOS)

You hit one of the other bugs the -ac code introduced - whoops. This one
is the main reason I've not yet pushed it to Marcelo. I still have to
fix the probing code so that we don't make a decision based upon what
drives are present before probing the drives

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Post by Manuel Serran » Sat, 16 Nov 2002 12:40:09


Hello there,

I'm just trying the new kernel version from the ac serie. That is, I'm trying
to compile 2.4.20-rc1-ac3 on my Vaio platform.

I have the impression that there is a problem in the kernel compilation:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
$ make dep
$ make bzImage
...
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-rc1-ac3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=0 -malign-jumps=0 -malign-loops=0   -nostdinc -iwithprefix include -DKBUILD_BASENAME=rmap  -c -o rmap.o rmap.c
In file included from rmap.c:31:
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:17: warning: `kernel_locked' redefined
/usr/src/linux-2.4.20-rc1-ac3/include/linux/smp_lock.h:12: warning: this is the location of the previous definition
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:28: warning: `release_kernel_lock' redefined
/usr/src/linux-2.4.20-rc1-ac3/include/linux/smp_lock.h:10: warning: this is the location of the previous definition
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:37: warning: `reacquire_kernel_lock' redefined
/usr/src/linux-2.4.20-rc1-ac3/include/linux/smp_lock.h:11: warning: this is the location of the previous definition
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:47: arguments given to macro `lock_kernel'
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:63: arguments given to macro `unlock_kernel'
In file included from rmap.c:31:
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:47: parse error before `do'
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:63: parse error before `do'
make[2]: *** [rmap.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-rc1-ac3/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-rc1-ac3/mm'
make: *** [_dir_mm] Error 2
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

I hope this mail will useful. Please tell me if I can do something to help.

--
Manuel

ps: I'm using gcc 2.95.4:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
sh-2.05b# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

Here is the configuration file I'm using:

=============================== /tmp/config ================================

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MELAN is not set
CONFIG_MCRUSOE=y
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_F00F_WORKS_OK=y
# CONFIG_X86_MCE is not set
# CONFIG_CPU_FREQ is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_HIGHMEM is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_UP_IOAPIC is not set

#
# General setup
#
CONFIG_NET=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_ISA is not set
# CONFIG_SCx200 is not set
CONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=m
CONFIG_CARDBUS=y
# CONFIG_TCIC is not set
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
# CONFIG_HOTPLUG_PCI_H2999 is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
# CONFIG_IKCONFIG is not set
CONFIG_PM=y
CONFIG_ACPI=y
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUSMGR=m
CONFIG_ACPI_SYS=m
CONFIG_ACPI_CPU=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_AC=m
CONFIG_ACPI_EC=m
CONFIG_ACPI_CMBATT=m
CONFIG_ACPI_THERMAL=m
# CONFIG_APM is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BLK_STATS is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set
# CONFIG_BLK_DEV_DM is not set

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set

#
#  
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set
# CONFIG_PHONE_IXJ_PCMCIA is not set

#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
CONFIG_BLK_DEV_ALI15X3=y
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NFORCE is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_PDC202XX_BURST is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_PDC202XX_FORCE is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set

#
# SCSI support
#
CONFIG_SCSI=m

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# ...

read more »

 
 
 

Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)

Post by Manuel Serran » Wed, 20 Nov 2002 10:20:08


Hello there,

First of all, I apologize for multiple copies. We have big troubles
with our local network and I have lost halt of my outgoing mails. I
have looked at the mailing list archive to check if my mail of yesterday
has reached the mailing and I have the impression that it has been
lost. So I re-post it today.

I have tried the new version of the 2.4-ac brand of Linux kernel on my
Sony Vaio PictureBook (equipped with a crusoe processor). That is,
have tried 2.4.20-rc1-ac4. This version compiles but at boot time
have a kernel panic. Here is a trace of the error (I apologize for the
typo, I have typed-in what was displayed on the screen).

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
ALI15x3: simplex device: DMA forced
ide1: bm-dma at 0x1400-0x140f, BIOS settings: hdc: DMA, hdd: DMA
blk: queue c029d6a0, I/O limit 4095MB (mask 0xffff..ff)
unable to handle kernel NULL pointer dereference at vistual address 00000010
printing eip:Nc0107cab
*pde = 000000000N
Oops: 0000
CPU: 0
EIP: 0010:[<c0107cab>] no tainted
EFLAGS: 00010002
eax: 00000000 ebx: 00001fe0 ecx: 000000001 edx: 000000ff
esi: 00000212 edi: c029da4v ebp: 0000000ff esp: c1a13f64
s: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1a30000)
stack: 0000000ff 0000000001 ....
call Trace: [<c019ee85>] [<c019fa98>] [<c0105021>] [<c01054a9>]
code: 8b 40 10 ff d0 83 c4 04 56 9d 83 3d 84 dc 27 c0 00 75 0f 89
<0>kernel panic: Attempted to kill init
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

I hope this mail will help. Many thanks for your help and for your work.
Very sincerely,

--
Manuel

ps: Just for the information, I included here a previous mail I have sent,
describing the problem I have with the main distribution of the kernel.

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

[1.] One line summary of the problem:
=====================================

The DMA support cannot be enabled for the harddisk

[2.] Full description of the problem/report:
============================================

As far as I have understood, this computer uses an ALi M1533 chip for
controling the disk (even though, I must admit that I'm totally confused
between the reference "ALi M1533 PCI to ISA Bridge" and the
reference "ALi M5229 IDE"). If I compile the kernel (version 2.4.18, 2.4.19,
2.4.20-pre10, and 2.4.20-rc1) enabling the M15x3 support, I always have the
same problem: the machine does not boot. I can't send the actual error message
because the machine hangs without logging any message. However, I got
something that ends with a message such as:

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
ALI15X3: chipset revision 196
ALI15X3: IDE controller on PCI bus 00 dev 80
ALI15X3: not 100% native mode: will probe irqs later
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

Nothing more. At this point, the keyboard is ineffective. The only solution
is to switch off the computer.

On the web site: http://hale.org/~bhoward/issue_7/pcg-c1mrx.html,
Bruce Howard reports a bug in the alim15x3.c kernel. I have tried to apply
his patch but this does not help. He also mention to boot the kernel with
the flags "ide2=0x180,0x386 pci=conf2". I don't think I understand the
meaning of these flags but what I'm sure about is that they don't help.

In conclusion, the only way I have to boot the machine is using the generic
IDE controler that works fine excepts that it does not support DMA for the
disk. In consequence, I have very poor disk performance.

Many thanks, in advance, for your help.

[3.] Keywords (i.e., modules, networking, kernel):
==================================================

Sony Picture book, Crusoe, IDE, ALIM 1533.c, DMA.

[4.] Kernel version (from /proc/version):
=========================================

owens:.../src/linux-2.4.20-rc1> cat /proc/version
Linux version 2.4.20-rc1 (root@owens) (gcc version 2.95.4 20011002 (Debian prerelease)) #2 Mon Nov 4 09:47:32 CET 2002

[5.] Output of Oops.. message (if applicable) with symbolic information:
========================================================================    

NA

[6.] A small shell script or example program which triggers the problem:
========================================================================

NA

[7.] Environment
================

Sony Picturebook PCG-C1MHP, Crusoe TM5800, ide disk IC25N030ATCS04-0
ATA/ATAPI IDE   : IDE PCI Bus Master ALi M5229

[7.1.] Software (add the output of the ver_linux script here):
==============================================================

owens:.../src/linux-2.4.20-rc1> sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux owens 2.4.20-rc1 #2 Mon Nov 4 09:47:32 CET 2002 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 GenuineTMx86 GNU/Linux

Gnu C                  2.95.4
Gnu make               3.79.1
util-linux             2.11u
mount                  2.11u
modutils               2.4.19
e2fsprogs              1.30-WIP
pcmcia-cs              3.2.1
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Procps                 3.0.0
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               4.5.2
Modules Loaded         sonypi trident ac97_codec soundcore ds yenta_socket pcmcia_core 8139too mii ospm_thermal ospm_battery ospm_ac_adapter ospm_busmgr usb-storage mousedev hid usb-ohci usbcore scsi_mod

[7.2.] Processor information (from /proc/cpuinfo):
==================================================

owens:.../src/linux-2.4.20-rc1> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineTMx86
cpu family      : 6
model           : 4
model name      : Transmeta(tm) Crusoe(tm) Processor TM5800
stepping        : 3
cpu MHz         : 860.140
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr cx8 sep cmov mmx longrun lrti
bogomips        : 1703.93

[7.3.] Module information (from /proc/modules):
===============================================

owens:.../src/linux-2.4.20-rc1> cat /proc/modules
sonypi                  7240   0
trident                25556   1 (autoclean)
ac97_codec              9640   0 (autoclean) [trident]
soundcore               3364   3 (autoclean) [trident]
ds                      6120   1
yenta_socket            8512   1
pcmcia_core            31840   0 [ds yenta_socket]
8139too                13448   1 (autoclean)
mii                     2176   0 (autoclean) [8139too]
ospm_thermal            5360   0 (unused)
ospm_battery            5364   0 (unused)
ospm_ac_adapter         1908   0 (unused)
ospm_busmgr            10932   0 [ospm_thermal ospm_battery ospm_ac_adapter]
usb-storage            20696   0 (unused)
mousedev                3672   1
hid                    17124   0 (unused)
usb-ohci               17032   0 (unused)
usbcore                53504   0 [usb-storage hid usb-ohci]
scsi_mod               88584   1 [usb-storage]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem):
===========================================================================

owens:.../src/linux-2.4.20-rc1> cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-017f : Acer Laboratories Inc. [ALi] M5229 IDE
01f0-01ff : Acer Laboratories Inc. [ALi] M5229 IDE
  01f0-01f7 : ide0
0376-0376 : Acer Laboratories Inc. [ALi] M5229 IDE
03c0-03df : vga+
03f6-03f6 : Acer Laboratories Inc. [ALi] M5229 IDE
  03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1080-109f : Sony Programable I/O Device
1400-140f : Acer Laboratories Inc. [ALi] M5229 IDE
1800-18ff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device
  1800-18ff : ALi Audio Accelerator
1c00-1cff : Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller
2000-20ff : PCI device 10cf:2011 (Citicorp TTI)
2400-24ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
  2400-24ff : 8139too
2800-28ff : ATI Technologies Inc Radeon Mobility M6 LY
4000-40ff : PCI CardBus #01
4400-44ff : PCI CardBus #01
8000-803f : Acer Laboratories Inc. [ALi] M7101 PMU
8040-805f : Acer Laboratories Inc. [ALi] M7101 PMU

owens:.../src/linux-2.4.20-rc1> cat /proc/iomem
00000000-0009afff : System RAM
0009b000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000dc000-000dffff : reserved
000e0000-000e0fff : Acer Laboratories Inc. [ALi] USB 1.1 Controller (#2)
  000e0000-000e0fff : usb-ohci
000f0000-000fffff : System ROM
00100000-0eeeffff : System RAM
  00100000-001ecfb5 : Kernel code
  001ecfb6-002570bf : Kernel data
0eef0000-0eefbfff : ACPI Tables
0eefc000-0eefffff : ACPI Non-volatile Storage
0ef00000-0effffff : System RAM
10000000-10000fff : Ricoh Co Ltd RL5c475
10400000-107fffff : PCI CardBus #01
10800000-10bfffff : PCI CardBus #01
e8000000-e80fffff : Transmeta Corporation LongRun Northbridge
e8100000-e8100fff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device
e8101000-e8101fff : Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller
e8102000-e81027ff : Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
e8102800-e81028ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
  e8102800-e81028ff : 8139too
e8103000-e8103fff : Acer Laboratories Inc. [ALi] USB 1.1 Controller
  e8103000-e8103fff : usb-ohci
e8104000-e8107fff : Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
e8110000-e811ffff : ATI Technologies Inc Radeon Mobility M6 LY
e8200000-e82fffff : PCI device 10cf:2011 (Citicorp TTI)
f0000000-f7ffffff : ATI Technologies Inc Radeon Mobility M6 LY
fff80000-ffffffff : ...

read more »