* Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
@ 2002-11-20 8:44 Manuel Serrano
2002-11-20 14:00 ` Alan Cox
0 siblings, 1 reply; 9+ messages in thread
From: Manuel Serrano @ 2002-11-20 8:44 UTC (permalink / raw)
To: linux-kernel
For information,
I have tried the new linux-2.4.20-rc2-ac1 version and it shows the
same problems as 2.4.20-rc1-ac4. That is, the kernel does not boot
with the following message:
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
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
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
Sincerely,
--
Manuel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
2002-11-20 8:44 Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers) Manuel Serrano
@ 2002-11-20 14:00 ` Alan Cox
2002-11-22 10:47 ` Manuel Serrano
2002-12-09 8:55 ` Manuel Serrano
0 siblings, 2 replies; 9+ messages in thread
From: Alan Cox @ 2002-11-20 14:00 UTC (permalink / raw)
To: Manuel Serrano; +Cc: Linux Kernel Mailing List
On Wed, 2002-11-20 at 08:44, Manuel Serrano wrote:
> For information,
>
> I have tried the new linux-2.4.20-rc2-ac1 version and it shows the
> same problems as 2.4.20-rc1-ac4. That is, the kernel does not boot
Can you look up the EIP and call trace values in system.map or feed the
oops data to ksymoops >
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
2002-11-20 14:00 ` Alan Cox
@ 2002-11-22 10:47 ` Manuel Serrano
2002-11-22 14:53 ` OGAWA Hirofumi
2002-12-09 8:55 ` Manuel Serrano
1 sibling, 1 reply; 9+ messages in thread
From: Manuel Serrano @ 2002-11-22 10:47 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
Hello Alan,
I have tried the new 2.4.20-rc2-ac3 and I'm still unable to boot the kernel.
I have the following error message (this is a copy so it might contain
typos)...
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
ALI15X3: simplex device: DMA forced
ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:DMA, hdd:DMA
hda: IC25N..., ATA DISK drive
blk: queue c029d6a0, I/O limit 4095Mb (mask 0xffffffff)
Unable to handle kernel NULL pointer dereference at virtual address 00000010
printing eip:
c0107cab
*pde = 00000000
Ooops: 00000
CPU: 0
EIP: 0010:[<c0107cab>] Not tainted
EFLAGS: 00010002
eax: 00000000 ebx: 00001fe0 ecx: 00000001 edx: 000000ff
esi: 00000212 edi: c029da4c ebp: 000000ff esp: c1a13f64
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1a13000)
Stack: 000000ff 00000001 c029da4c c019ed05 000000ff 00000001 c1a13fa0 c029da4c
0000e000 00000286 c019f91c c029da4c c0275554 c0267fd8 00000000 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
Call Trace: [<c019ed05>] [<c019f91c>] [<c0105021>] [<c01054a9>]
Code: 0b 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!
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
> Can you look up the EIP and call trace values in system.map or feed the
> oops data to ksymoops >
Here is what I got with ksymoops:
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
sh-2.05b# ksymoops --vmlinux=/usr/src/linux-2.4.20-rc2-ac3/vmlinux --system-map=/usr/src/linux-2.4.20-rc2-ac3/System.map -L -K /tmp/Oops.file
ksymoops 2.4.7 on i686 2.4.20-pre10-ac2. Options used
-v /usr/src/linux-2.4.20-rc2-ac3/vmlinux (specified)
-K (specified)
-L (specified)
-o /lib/modules/2.4.20-pre10-ac2/ (default)
-m /usr/src/linux-2.4.20-rc2-ac3/System.map (specified)
No modules in ksyms, skipping objects
Unable to handle kernel NULL pointer dereference at virtual address 00000010
c0107cab
*pde = 00000000
CPU: 0
EIP: 0010:[<c0107cab>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010002
eax: 00000000 ebx: 00001fe0 ecx: 00000001 edx: 000000ff
esi: 00000212 edi: c029da4c ebp: 000000ff esp: c1a13f64
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1a13000)
Stack: 000000ff 00000001 c029da4c c019ed05 000000ff 00000001 c1a13fa0 c029da4c
0000e000 00000286 c019f91c c029da4c c0275554 c0267fd8 00000000 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
Call Trace: [<c019ed05>] [<c019f91c>] [<c0105021>] [<c01054a9>]
Code: 0b 40 10 ff d0 83 c4 04 56 9d 83 3d 84 dc 27 c0 00 75 0f 89
>>EIP; c0107cab <disable_irq+2f/54> <=====
>>edi; c029da4c <ide_hwifs+46c/2c38>
Trace; c019ed05 <probe_hwif+b8/2ee>
Trace; c019f91c <ideprobe_init+4d/9a>
Trace; c0105021 <init+7/fe>
Trace; c01054a9 <kernel_thread+28/35>
Code; c0107cab <disable_irq+2f/54>
00000000 <_EIP>:
Code; c0107cab <disable_irq+2f/54> <=====
0: 0b 40 10 or 0x10(%eax),%eax <=====
Code; c0107cae <disable_irq+32/54>
3: ff d0 call *%eax
Code; c0107cb0 <disable_irq+34/54>
5: 83 c4 04 add $0x4,%esp
Code; c0107cb3 <disable_irq+37/54>
8: 56 push %esi
Code; c0107cb4 <disable_irq+38/54>
9: 9d popf
Code; c0107cb5 <disable_irq+39/54>
a: 83 3d 84 dc 27 c0 00 cmpl $0x0,0xc027dc84
Code; c0107cbc <disable_irq+40/54>
11: 75 0f jne 22 <_EIP+0x22>
Code; c0107cbe <disable_irq+42/54>
13: 89 00 mov %eax,(%eax)
<0>Kernel panic: Attempted to kill init!
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
Please tell me if I can do something else (in particular, I'm not pretty
sure of the way to invoke ksymoops).
Sincerely,
--
Manuel
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
2002-11-22 10:47 ` Manuel Serrano
@ 2002-11-22 14:53 ` OGAWA Hirofumi
2002-11-22 15:14 ` Manuel Serrano
0 siblings, 1 reply; 9+ messages in thread
From: OGAWA Hirofumi @ 2002-11-22 14:53 UTC (permalink / raw)
To: Manuel Serrano; +Cc: Alan Cox, Linux Kernel Mailing List
Manuel Serrano <Manuel.Serrano@sophia.inria.fr> writes:
> Stack: 000000ff 00000001 c029da4c c019ed05 000000ff 00000001 c1a13fa0 c029da4c
> 0000e000 00000286 c019f91c c029da4c c0275554 c0267fd8 00000000 00000001
> 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
> Call Trace: [<c019ed05>] [<c019f91c>] [<c0105021>] [<c01054a9>]
> Code: 0b 40 10 ff d0 83 c4 04 56 9d 83 3d 84 dc 27 c0 00 75 0f 89
>
>
> >>EIP; c0107cab <disable_irq+2f/54> <=====
>
> >>edi; c029da4c <ide_hwifs+46c/2c38>
Looks like the same problem on my VAIO-U3. The following log is on
2.5.47.
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 9
ACPI: No IRQ known for interrupt pin A of device 00:10.0 - using IRQ 255
PCI: Using ACPI for IRQ routing
[...]
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
ACPI: No IRQ known for interrupt pin A of device 00:10.0 - using IRQ 255
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1400-0x1407, BIOS settings: hda:DMA, hdb:pio
ALI15X3: simplex device: DMA forced
ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:DMA, hdd:DMA
hda: TOSHIBA MK2003GAH, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: host protected area => 1
hda: 39062520 sectors (20000 MB), CHS=2431/255/63, UDMA(100)
hda: hda1 hda2 hda3
register interface 'mouse' with class 'input
It seems ACPI assigned 255 to IRQ, so disable_irq() did oops.
The following is my stupid patch. I hope this info helps.
--- linux-2.5.47/drivers/ide/ide-probe.c~ide-kludge 2002-11-14 02:41:40.000000000 +0900
+++ linux-2.5.47-hirofumi/drivers/ide/ide-probe.c 2002-11-14 02:41:40.000000000 +0900
@@ -654,6 +654,8 @@ void probe_hwif (ide_hwif_t *hwif)
* We must always disable IRQ, as probe_for_drive will assert IRQ, but
* we'll install our IRQ driver much later...
*/
+ if (hwif->irq == 255)
+ hwif->irq = 0;
irqd = hwif->irq;
if (irqd)
disable_irq(hwif->irq);
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
2002-11-22 14:53 ` OGAWA Hirofumi
@ 2002-11-22 15:14 ` Manuel Serrano
2002-11-22 16:47 ` OGAWA Hirofumi
0 siblings, 1 reply; 9+ messages in thread
From: Manuel Serrano @ 2002-11-22 15:14 UTC (permalink / raw)
To: OGAWA Hirofumi; +Cc: Alan Cox, Linux Kernel Mailing List
On Fri, 22 Nov 2002 23:53:33 +0900
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:
> Manuel Serrano <Manuel.Serrano@sophia.inria.fr> writes:
>
> > Stack: 000000ff 00000001 c029da4c c019ed05 000000ff 00000001 c1a13fa0 c029da4c
> > 0000e000 00000286 c019f91c c029da4c c0275554 c0267fd8 00000000 00000001
> > 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
> > Call Trace: [<c019ed05>] [<c019f91c>] [<c0105021>] [<c01054a9>]
> > Code: 0b 40 10 ff d0 83 c4 04 56 9d 83 3d 84 dc 27 c0 00 75 0f 89
> >
> >
> > >>EIP; c0107cab <disable_irq+2f/54> <=====
> >
> > >>edi; c029da4c <ide_hwifs+46c/2c38>
>
> Looks like the same problem on my VAIO-U3. The following log is on
> 2.5.47.
>
> ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 9
> ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 9
> ACPI: No IRQ known for interrupt pin A of device 00:10.0 - using IRQ 255
> PCI: Using ACPI for IRQ routing
>
> [...]
>
> 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
> ACPI: No IRQ known for interrupt pin A of device 00:10.0 - using IRQ 255
> ALI15X3: chipset revision 196
> ALI15X3: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0x1400-0x1407, BIOS settings: hda:DMA, hdb:pio
> ALI15X3: simplex device: DMA forced
> ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:DMA, hdd:DMA
> hda: TOSHIBA MK2003GAH, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: host protected area => 1
> hda: 39062520 sectors (20000 MB), CHS=2431/255/63, UDMA(100)
> hda: hda1 hda2 hda3
> register interface 'mouse' with class 'input
>
> It seems ACPI assigned 255 to IRQ, so disable_irq() did oops.
> The following is my stupid patch. I hope this info helps.
>
> --- linux-2.5.47/drivers/ide/ide-probe.c~ide-kludge 2002-11-14 02:41:40.000000000 +0900
> +++ linux-2.5.47-hirofumi/drivers/ide/ide-probe.c 2002-11-14 02:41:40.000000000 +0900
> @@ -654,6 +654,8 @@ void probe_hwif (ide_hwif_t *hwif)
> * We must always disable IRQ, as probe_for_drive will assert IRQ, but
> * we'll install our IRQ driver much later...
> */
> + if (hwif->irq == 255)
> + hwif->irq = 0;
> irqd = hwif->irq;
> if (irqd)
> disable_irq(hwif->irq);
> --
> OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
You patch helps a lot because the new kernel is now able to boot, with
the DMA enabled. I have the impression that there is still one
problem because when I enable ATA66 (with hdparm -X66) I have the following
error message:
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
hda: dma_intr: status=0x5a { DriveReady SeekComplete DataRequest Index }
hda: dma_timer_expiry: dma status == 0x21
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hda: drive not ready for command
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
Do you have an idea of the meaning of this message?
Anyway, many thanks for your help.
--
Manuel
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
2002-11-22 15:14 ` Manuel Serrano
@ 2002-11-22 16:47 ` OGAWA Hirofumi
0 siblings, 0 replies; 9+ messages in thread
From: OGAWA Hirofumi @ 2002-11-22 16:47 UTC (permalink / raw)
To: Manuel Serrano; +Cc: Alan Cox, Linux Kernel Mailing List
Manuel Serrano <Manuel.Serrano@sophia.inria.fr> writes:
> On Fri, 22 Nov 2002 23:53:33 +0900
> OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:
>
> > Manuel Serrano <Manuel.Serrano@sophia.inria.fr> writes:
> >
> > > Stack: 000000ff 00000001 c029da4c c019ed05 000000ff 00000001 c1a13fa0 c029da4c
> > > 0000e000 00000286 c019f91c c029da4c c0275554 c0267fd8 00000000 00000001
> > > 00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
> > > Call Trace: [<c019ed05>] [<c019f91c>] [<c0105021>] [<c01054a9>]
> > > Code: 0b 40 10 ff d0 83 c4 04 56 9d 83 3d 84 dc 27 c0 00 75 0f 89
> > >
> > >
> > > >>EIP; c0107cab <disable_irq+2f/54> <=====
> > >
> > > >>edi; c029da4c <ide_hwifs+46c/2c38>
> >
> > Looks like the same problem on my VAIO-U3. The following log is on
> > 2.5.47.
> >
> > ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 9
> > ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 9
> > ACPI: No IRQ known for interrupt pin A of device 00:10.0 - using IRQ 255
> > PCI: Using ACPI for IRQ routing
> >
> > [...]
> >
> > 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
> > ACPI: No IRQ known for interrupt pin A of device 00:10.0 - using IRQ 255
> > ALI15X3: chipset revision 196
> > ALI15X3: not 100% native mode: will probe irqs later
> > ide0: BM-DMA at 0x1400-0x1407, BIOS settings: hda:DMA, hdb:pio
> > ALI15X3: simplex device: DMA forced
> > ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:DMA, hdd:DMA
> > hda: TOSHIBA MK2003GAH, ATA DISK drive
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > hda: host protected area => 1
> > hda: 39062520 sectors (20000 MB), CHS=2431/255/63, UDMA(100)
> > hda: hda1 hda2 hda3
> > register interface 'mouse' with class 'input
> >
> > It seems ACPI assigned 255 to IRQ, so disable_irq() did oops.
> > The following is my stupid patch. I hope this info helps.
> >
> > --- linux-2.5.47/drivers/ide/ide-probe.c~ide-kludge 2002-11-14 02:41:40.000000000 +0900
> > +++ linux-2.5.47-hirofumi/drivers/ide/ide-probe.c 2002-11-14 02:41:40.000000000 +0900
> > @@ -654,6 +654,8 @@ void probe_hwif (ide_hwif_t *hwif)
> > * We must always disable IRQ, as probe_for_drive will assert IRQ, but
> > * we'll install our IRQ driver much later...
> > */
> > + if (hwif->irq == 255)
> > + hwif->irq = 0;
> > irqd = hwif->irq;
> > if (irqd)
> > disable_irq(hwif->irq);
> > --
> > OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
> You patch helps a lot because the new kernel is now able to boot, with
> the DMA enabled. I have the impression that there is still one
> problem because when I enable ATA66 (with hdparm -X66) I have the following
> error message:
>
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
> hda: dma_intr: status=0x5a { DriveReady SeekComplete DataRequest Index }
>
> hda: dma_timer_expiry: dma status == 0x21
> hda: timeout waiting for DMA
> hda: timeout waiting for DMA
> hda: (__ide_dma_test_irq) called while not waiting
> hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
>
> hda: drive not ready for command
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
>
> Do you have an idea of the meaning of this message?
Sorry, I don't know. On my machine with 2.5.47 seems hdparm -X
34/66/67/68/69 works fine.
/dev/hda:
Model=TOSHIBA MK2003GAH, FwRev=AM.05 A, SerialNo=X2630112T
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=46
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=39062520
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
2002-11-20 14:00 ` Alan Cox
2002-11-22 10:47 ` Manuel Serrano
@ 2002-12-09 8:55 ` Manuel Serrano
1 sibling, 0 replies; 9+ messages in thread
From: Manuel Serrano @ 2002-12-09 8:55 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel, Manuel.Serrano
Hello Alan,
I have tried linux-2.4.20-ac1 on my Sony Vaoi (PCG-C1MHP, a computer equipped
with a Crusoe and an ALIM 1533 ide driver). Your patches are not sufficient
enough to make the machine booting with the non-generic IDE drivers. I have
had to apply a patch sent by Ogawa Hirofumi (I don't know exactly who's
the author of this patch). Please find it enclosed at the end of this mail.
With this setting the machine boot up correctly and the DMA are enabled.
Sincerely,
--
Manuel
*** ide-probe-2.4.20-ac1.c Mon Dec 9 09:52:12 2002
--- ide-probe-2.4.20-ac1-ms.c Mon Dec 9 09:55:35 2002
***************
*** 635,638 ****
--- 635,643 ----
* we'll install our IRQ driver much later...
*/
+ /* OGAWA Hirofumi --> */
+ if (hwif->irq == 255)
+ hwif->irq = 0;
+ irqd = hwif->irq;
+ /* OGAWA Hirofumi <-- */
irqd = hwif->irq;
if (irqd)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
@ 2002-11-18 15:03 Manuel Serrano
0 siblings, 0 replies; 9+ messages in thread
From: Manuel Serrano @ 2002-11-18 15:03 UTC (permalink / raw)
To: linux-kernel; +Cc: Alan Cox
Hello there,
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:N\bc0107cab
*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 : 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- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
00:00.2 RAM memory: Transmeta Corporation BIOS scratchpad
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=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
00:06.0 Multimedia audio controller: Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device (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 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV]
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: 0
Capabilities: [a0] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:08.0 Modem: Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller (prog-if 00 [Generic])
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-
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8101000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 1c00 [size=256]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22 1394a-2000 Controller (prog-if 10 [OHCI])
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 (750ns min, 1000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8102000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at e8104000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0a.0 Multimedia controller: Citicorp TTI: Unknown device 2011
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-
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 2000 [disabled] [size=256]
Region 1: Memory at e8200000 (32-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
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: 128 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 2400 [size=256]
Region 1: Memory at e8102800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0c.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
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-
Interrupt: pin A routed to IRQ 9
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 2800 [size=256]
Region 2: Memory at e8110000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0f.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
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 (20000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8103000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:10.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c4) (prog-if a0)
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 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 0
Region 0: [virtual] I/O ports at 01f0 [size=16]
Region 1: [virtual] I/O ports at 03f4
Region 2: [virtual] I/O ports at 0170 [size=16]
Region 3: [virtual] I/O ports at 0374
Region 4: I/O ports at 1400 [size=16]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:11.0 Non-VGA unclassified device: Acer Laboratories Inc. [ALi] M7101 PMU
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-
00:12.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
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: 168
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
00:14.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
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 (20000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 000e0000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
[7.6.] SCSI information (from /proc/scsi/scsi):
===============================================
owens:.../src/linux-2.4.20-rc1> cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Sony Model: MSC-U03 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
^ permalink raw reply [flat|nested] 9+ messages in thread* Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers)
@ 2002-11-18 12:45 Manuel Serrano
0 siblings, 0 replies; 9+ messages in thread
From: Manuel Serrano @ 2002-11-18 12:45 UTC (permalink / raw)
To: linux-kernel, Alan Cox
Hello there,
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, I
have tried 2.4.20-rc1-ac4. This version compiles but at boot time I
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:
c0107cab
*pde = 000000000
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
ds: 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 : 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- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
00:00.2 RAM memory: Transmeta Corporation BIOS scratchpad
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=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
00:06.0 Multimedia audio controller: Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device (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 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV]
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: 0
Capabilities: [a0] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:08.0 Modem: Acer Laboratories Inc. [ALi] M5457 AC-Link Modem Interface Controller (prog-if 00 [Generic])
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-
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8101000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 1c00 [size=256]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22 1394a-2000 Controller (prog-if 10 [OHCI])
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 (750ns min, 1000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8102000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at e8104000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0a.0 Multimedia controller: Citicorp TTI: Unknown device 2011
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-
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 2000 [disabled] [size=256]
Region 1: Memory at e8200000 (32-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
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: 128 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 2400 [size=256]
Region 1: Memory at e8102800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0c.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
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-
Interrupt: pin A routed to IRQ 9
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 2800 [size=256]
Region 2: Memory at e8110000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:0f.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
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 (20000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e8103000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:10.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c4) (prog-if a0)
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 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 0
Region 0: [virtual] I/O ports at 01f0 [size=16]
Region 1: [virtual] I/O ports at 03f4
Region 2: [virtual] I/O ports at 0170 [size=16]
Region 3: [virtual] I/O ports at 0374
Region 4: I/O ports at 1400 [size=16]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:11.0 Non-VGA unclassified device: Acer Laboratories Inc. [ALi] M7101 PMU
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-
00:12.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
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: 168
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
00:14.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
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 (20000ns max), cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at 000e0000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
[7.6.] SCSI information (from /proc/scsi/scsi):
===============================================
owens:.../src/linux-2.4.20-rc1> cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Sony Model: MSC-U03 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-12-09 9:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 8:44 Fw: Troubles with Sony PCG-C1MHP (crusoe based and ALIM 1533 drivers) Manuel Serrano
2002-11-20 14:00 ` Alan Cox
2002-11-22 10:47 ` Manuel Serrano
2002-11-22 14:53 ` OGAWA Hirofumi
2002-11-22 15:14 ` Manuel Serrano
2002-11-22 16:47 ` OGAWA Hirofumi
2002-12-09 8:55 ` Manuel Serrano
-- strict thread matches above, loose matches on Subject: below --
2002-11-18 15:03 Manuel Serrano
2002-11-18 12:45 Manuel Serrano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®