linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libATA  PATA status report, new patch
@ 2006-02-06 16:46 Alan Cox
  2006-02-06 20:04 ` Meelis Roos
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Alan Cox @ 2006-02-06 16:46 UTC (permalink / raw)
  To: linux-ide, linux-kernel

Main changes this time
- Initial driver code for PCMCIA
- Initial driver code for ISAPnP
- Legacy support including VLB driver bits (mostly to test non PCI
cases)
- Replace IRQ masking awareness in core with a ->data_xfer method
- Use ->data_xfer to move IRQ masking, VLB sync and other chip 
  whackiness back *outside* of the core libata code.
- Simplex DMA is now supported
- Remove PCI quirk junk for IDE stuff (its buggy in places and a mess)
- Teach core PCI code about the IDE legacy mess in the PCI spec
- Merge with other libata changes to 2.6.16-rc2
- ARTOP driver now knows how to init Macintosh cards
- Initial netcell driver bits
- CMD64x support (except 640)
- Initial incomplete Cypress Alpha IDE


With the exception of HPA and serialize support its now pretty close to
a straight replacement for drivers/ide on x86 systems (and boxes using
PCI devices only). There is other stuff that wants improving still like
error recovery on CRC, but its getting close.

Please remember that functionality equivalence, and much cleaner code
doesn't mean less bugs yet, there is a *lot* of testing and hammering on
the code needed before it is production ready for switching.

	http://zeniv.linux.org.uk/~alan/IDE

for 2.6.16-rc2 patches.

Alan



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-06 16:46 libATA PATA status report, new patch Alan Cox
@ 2006-02-06 20:04 ` Meelis Roos
  2006-02-06 22:53   ` Alan Cox
  2006-02-07  8:43 ` Meelis Roos
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 24+ messages in thread
From: Meelis Roos @ 2006-02-06 20:04 UTC (permalink / raw)
  To: alan, linux-kernel

AC>         http://zeniv.linux.org.uk/~alan/IDE
AC> 
AC> for 2.6.16-rc2 patches.

Should I #define ATA_ENABLE_PATA by hand in include file to get PIIX4
PATA to wotk with the ata_piix driver, or should it just work?

-- 
Meelis Roos

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-06 20:04 ` Meelis Roos
@ 2006-02-06 22:53   ` Alan Cox
  0 siblings, 0 replies; 24+ messages in thread
From: Alan Cox @ 2006-02-06 22:53 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Llu, 2006-02-06 at 22:04 +0200, Meelis Roos wrote:
> AC>         http://zeniv.linux.org.uk/~alan/IDE
> AC> 
> AC> for 2.6.16-rc2 patches.
> 
> Should I #define ATA_ENABLE_PATA by hand in include file to get PIIX4
> PATA to wotk with the ata_piix driver, or should it just work?

You should set that define. Actually I should do that by default in the
patch set. I will fix that.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-06 16:46 libATA PATA status report, new patch Alan Cox
  2006-02-06 20:04 ` Meelis Roos
@ 2006-02-07  8:43 ` Meelis Roos
  2006-02-07 11:05   ` Alan Cox
  2006-02-12 18:07 ` Kyle Moffett
  2006-07-07 16:29 ` Wakko Warner
  3 siblings, 1 reply; 24+ messages in thread
From: Meelis Roos @ 2006-02-07  8:43 UTC (permalink / raw)
  To: alan, linux-kernel

Tried in Qemu with virtual PIIX3. Compiled in PIIX, OLDPIIX, MPIIX and
Generic. Enabled PATA support for libata in libata.h. Disabled
everything in ATA/IDE Kconfig menu.

ata1: PATA max PIO4 cmd 0x1F0 ctl 0x3F6 bmdma 0x0 irq 15
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<00000000>]    Not tainted VLI
EFLAGS: 00000246   (2.6.16-rc2-PATA)
EIP is at 0x0
eax: c1268280   ebx: c12a88e0   ecx: c1268280   edx: c02fd2e0
esi: 0000003c   edi: 00000001   ebp: c02ba272   esp: c1150cfc
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 1, threadinfo=c1150000 task=c114fa30)
Stack: <0>c0232b6c fc000000 c1150d9c 00000000 00000001 00000000 00000000 c12a88e0
       c1268280 0000011a 00008000 c12ceb40 c1266408 c016cafb c12ceba0 c1266404
       c12a88e0 0000003c c1266430 c12cf340 00000000 ffffffff c01bd61a ffffffff
Call Trace:
 [<c0232b6c>] ata_device_add+0x34c/0xb00
 [<c016cafb>] create_proc_entry+0x5b/0xd0
 [<c01bd61a>] pci_get_subsys+0x6a/0xf0
 [<c03478d5>] legacy_init+0x1d5/0x3b0
 [<c0100311>] init+0x81/0x1e0
 [<c0100290>] init+0x0/0x1e0
 [<c0100bd5>] kernel_thread_helper+0x5/0x10
Code:  Bad EIP value.

This seems to be from the generic code but I'm not sure. First I enabled only
PIIX (+ATA_ENABLE_PATA) but it failed to detect any ATA devices at all.

-- 
Meelis Roos

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07  8:43 ` Meelis Roos
@ 2006-02-07 11:05   ` Alan Cox
  2006-02-07 11:10     ` Meelis Roos
  0 siblings, 1 reply; 24+ messages in thread
From: Alan Cox @ 2006-02-07 11:05 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Maw, 2006-02-07 at 10:43 +0200, Meelis Roos wrote:
> Tried in Qemu with virtual PIIX3. Compiled in PIIX, OLDPIIX, MPIIX and
> Generic. Enabled PATA support for libata in libata.h. Disabled
> everything in ATA/IDE Kconfig menu.
> 
> ata1: PATA max PIO4 cmd 0x1F0 ctl 0x3F6 bmdma 0x0 irq 15
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
>  printing eip:

Very strange trace indeed. I'll take a look at this. At least since it
came from Qemu I should be able to "build" a suitable PC to match yours.

Original Intel PIIX devices are handled by "OLDPIIX" (0x8086, 0x1230).
The later ones by ata_piix. The only oddity I see is that you have no
PCI bus mastering address base assigned (bmdma)

Alan



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 11:05   ` Alan Cox
@ 2006-02-07 11:10     ` Meelis Roos
  2006-02-07 11:29       ` Ed Sweetman
  2006-02-07 11:38       ` Alan Cox
  0 siblings, 2 replies; 24+ messages in thread
From: Meelis Roos @ 2006-02-07 11:10 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

> Very strange trace indeed. I'll take a look at this. At least since it
> came from Qemu I should be able to "build" a suitable PC to match yours.
>
> Original Intel PIIX devices are handled by "OLDPIIX" (0x8086, 0x1230).
> The later ones by ata_piix. The only oddity I see is that you have no
> PCI bus mastering address base assigned (bmdma)

I also tried VMWare 5.5 that emulated PIIX4. It works if I only put 
ata_piix driver in. With the same kernel that Qemu gets the error, 
VMWare gets another oops during generic ide initialisation. I relooked 
and found that I have both generic PCI ide and generic ISA ide drivers 
compiled in, so I disabled them and it works using ata_piix (with PATA 
and ATAPI enabled). Even ATAPI cdrom worked as the root partition.

But, the different oops that I got in vmware with generic ide:
http://www.cs.ut.ee/~mroos/atacrash.png

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 11:10     ` Meelis Roos
@ 2006-02-07 11:29       ` Ed Sweetman
  2006-02-07 11:32         ` Meelis Roos
  2006-02-07 11:38       ` Alan Cox
  1 sibling, 1 reply; 24+ messages in thread
From: Ed Sweetman @ 2006-02-07 11:29 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Alan Cox, linux-kernel

Meelis Roos wrote:

>> Very strange trace indeed. I'll take a look at this. At least since it
>> came from Qemu I should be able to "build" a suitable PC to match yours.
>>
>> Original Intel PIIX devices are handled by "OLDPIIX" (0x8086, 0x1230).
>> The later ones by ata_piix. The only oddity I see is that you have no
>> PCI bus mastering address base assigned (bmdma)
>
>
> I also tried VMWare 5.5 that emulated PIIX4. It works if I only put 
> ata_piix driver in. With the same kernel that Qemu gets the error, 
> VMWare gets another oops during generic ide initialisation. I relooked 
> and found that I have both generic PCI ide and generic ISA ide drivers 
> compiled in, so I disabled them and it works using ata_piix (with PATA 
> and ATAPI enabled). Even ATAPI cdrom worked as the root partition.
>
> But, the different oops that I got in vmware with generic ide:
> http://www.cs.ut.ee/~mroos/atacrash.png
>
I was under the impression that libata pata and ide drivers are mutually 
exclusive.  You're not  supposed to be using both at the same time 
unless they're for completely different controllers.

Maybe this should be in the config to auto unselect the other equivilant 
driver (+generic) when either the libata or ide one is user selected, or 
at least mentioned in the help for future testers.

Since libata is loaded after regular ide, having generic ide compiled in 
is a problem.  Generic drivers should be loaded after all specific 
compiled in drivers and generic libata should override generic ide.  
This seems to be very complicated if both interfaces are to be around at 
the same time for a while.   Maybe it should just be mentioned in the 
Help for libata drivers  that it's best to just disable all regular ide 
drivers when using libata pata ones.

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 11:29       ` Ed Sweetman
@ 2006-02-07 11:32         ` Meelis Roos
  0 siblings, 0 replies; 24+ messages in thread
From: Meelis Roos @ 2006-02-07 11:32 UTC (permalink / raw)
  To: Ed Sweetman; +Cc: Alan Cox, linux-kernel

> I was under the impression that libata pata and ide drivers are mutually 
> exclusive.  You're not  supposed to be using both at the same time unless 
> they're for completely different controllers.

I _was_ only using libata. The two generic (PCI and ISA) IDE drivers are 
in libata too in addition to the old ide code.

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 11:10     ` Meelis Roos
  2006-02-07 11:29       ` Ed Sweetman
@ 2006-02-07 11:38       ` Alan Cox
  2006-02-07 15:04         ` Alan Cox
  1 sibling, 1 reply; 24+ messages in thread
From: Alan Cox @ 2006-02-07 11:38 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Maw, 2006-02-07 at 13:10 +0200, Meelis Roos wrote:
> I also tried VMWare 5.5 that emulated PIIX4. It works if I only put 
> ata_piix driver in. With the same kernel that Qemu gets the error, 
> VMWare gets another oops during generic ide initialisation. I relooked 
> and found that I have both generic PCI ide and generic ISA ide drivers 
> compiled in, so I disabled them and it works using ata_piix (with PATA 
> and ATAPI enabled). Even ATAPI cdrom worked as the root partition.

Ok there is a resource handling bug somewhere in the generic case that
needs fixing I have yet to find. Also some mishandling of devices with
bmdma not enabled which kills Qemu. I've just been fixing the latter and
also adding CFA awareness. I'll take a look at the resource code next.

Alan


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 11:38       ` Alan Cox
@ 2006-02-07 15:04         ` Alan Cox
  2006-02-07 17:02           ` Meelis Roos
                             ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Alan Cox @ 2006-02-07 15:04 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Maw, 2006-02-07 at 11:38 +0000, Alan Cox wrote:
> Ok there is a resource handling bug somewhere in the generic case that
> needs fixing I have yet to find. Also some mishandling of devices with
> bmdma not enabled which kills Qemu. I've just been fixing the latter and
> also adding CFA awareness. I'll take a look at the resource code next.

I've put up a -ide2 patch at

http://zeniv.linux.org.uk/~alan/IDE

This
	- cleans up old pci_module_init users
	- Should fix the crashes people saw when bmdma is zero
	- Adds the netcell driver (nothing clever in it yet as the chip
	  does all the thinking)
	- Fixed probe ordering
	- Added resource management to the pata_legacy driver
	- Other minor oddments (Allow CFA etc)

Should help fix some of the crashes reported on startup.

I did however forget to change the default ATA_ENABLE_PATA setting

Alan


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 15:04         ` Alan Cox
@ 2006-02-07 17:02           ` Meelis Roos
  2006-02-07 19:38             ` Duplicated SCSI messages (Was: Re: libATA PATA status report, new patch) Tomasz Kłoczko
  2006-02-07 17:30           ` libATA PATA status report, new patch Meelis Roos
                             ` (3 subsequent siblings)
  4 siblings, 1 reply; 24+ messages in thread
From: Meelis Roos @ 2006-02-07 17:02 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

> I've put up a -ide2 patch at
>
> http://zeniv.linux.org.uk/~alan/IDE

This time a report from an Intel ICH5 machine with 1 PATA disk and 1 
PATA cdrom, worked fine before. Now I got anb oops with previous kernel 
and the dmesg below ith current kernel (recoreded with netconsole). The 
previous fauls was also during partition table reading. This is fully 
reproducible, tried 3 times.

ata1: dev 0 ATA-6, max UDMA/100, 156301488 sectors: LBA
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
   Vendor: ATA       Model: WDC WD800BB-22HE  Rev: 14.0
   Type:   Direct-Access                      ANSI SCSI revision: 05
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x24C8 irq 15
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
   Vendor: _NEC      Model: DVD_RW ND-3540A   Rev: 1.01
   Type:   CD-ROM                             ANSI SCSI revision: 05
PCI: Found IRQ 11 for device 0000:00:1f.2
PCI: Sharing IRQ 11 with 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:00:1f.1
ata3: SATA max UDMA/133 cmd 0x24F8 ctl 0x2812 bmdma 0x24D0 irq 11
ata4: SATA max UDMA/133 cmd 0x2800 ctl 0x2816 bmdma 0x24D8 irq 11
ata3: SATA port has no device.
scsi2 : ata_piix
ata4: SATA port has no device.
scsi3 : ata_piix
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
Unknown interrupt or fault at EIP 00000286 00000060 c0112acd
sda: Write Protect is off
SCSI device sda: drive cache: write back
  sda:Unknown interrupt or fault at EIP 00000246 00000060 c010162b


-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 15:04         ` Alan Cox
  2006-02-07 17:02           ` Meelis Roos
@ 2006-02-07 17:30           ` Meelis Roos
  2006-02-07 17:50           ` Meelis Roos
                             ` (2 subsequent siblings)
  4 siblings, 0 replies; 24+ messages in thread
From: Meelis Roos @ 2006-02-07 17:30 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

> I've put up a -ide2 patch at
>
> http://zeniv.linux.org.uk/~alan/IDE

Success on a slightly newer VIA KT133 mainboard with Duron 1200, Seagate 
40G disk and CDROM on secondary ide channel, 80 pin cable. It also 
survived reading the HDD with dd into devnull. CDROM was used as the 
root filesystem, successfully. Nothing on primary IDE channel.

PCI: Via IRQ fixup for 0000:00:07.1, from 255 to 0
ata1: PATA max UDMA/66 cmd 0x1F0 ctl 0x3F6 bmdma 0xD000 irq 14
ATA: abnormal status 0x8 on port 0x1F7
ata1: disabling port
scsi0 : pata_via
ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xD008 irq 15
ata2: dev 0 ATA-6, max UDMA/100, 78165360 sectors: LBA48
ata2: dev 1 ATAPI, max MWDMA2
via_do_set_mode: Mode=12 ast broken=N udma=66 mul=2
via_do_set_mode: Mode=68 ast broken=N udma=66 mul=2
ata2: dev 0 configured for UDMA/66
via_do_set_mode: Mode=12 ast broken=N udma=66 mul=2
via_do_set_mode: Mode=34 ast broken=N udma=66 mul=2
ata2: dev 1 configured for MWDMA2
scsi1 : pata_via
   Vendor: ATA       Model: ST340014A         Rev: 3.04
   Type:   Direct-Access                      ANSI SCSI revision: 05
   Vendor: SAMSUNG   Model: CD-ROM SC-148C    Rev: B100
   Type:   CD-ROM                             ANSI SCSI revision: 05
SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
  sda: sda1 sda2 sda3
sd 1:0:0:0: Attached scsi disk sda
sr0: scsi3-mmc drive: 8x/48x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sd 1:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:1:0: Attached scsi generic sg1 type 5


-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 15:04         ` Alan Cox
  2006-02-07 17:02           ` Meelis Roos
  2006-02-07 17:30           ` libATA PATA status report, new patch Meelis Roos
@ 2006-02-07 17:50           ` Meelis Roos
  2006-02-08 13:31             ` Alan Cox
  2006-02-08  7:42           ` Meelis Roos
  2006-02-08 18:28           ` Meelis Roos
  4 siblings, 1 reply; 24+ messages in thread
From: Meelis Roos @ 2006-02-07 17:50 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

> I've put up a -ide2 patch at
>
> http://zeniv.linux.org.uk/~alan/IDE

Tried it on a Intel 815 mainboard with ICH2, 1 IDE disk and 1 Sony CDROM 
that had problems before (DMA timeout, PIO only, since about 2.4.21). 
Got the following panic. First it paused several seconds after
scsi1 : ata_piix
and then gave the panic + double fault.

ata1: PATA max UDMA/66 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
ata1: dev 0 ATA-5, max UDMA/100, 40132503 sectors: LBA
ata1: dev 0 configured for UDMA/66
scsi0 : ata_piix
   Vendor: ATA       Model: QUANTUM FIREBALL  Rev: A1Y.
   Type:   Direct-Access                      ANSI SCSI revision: 05
ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x24
ata2: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
SCSI device sda: 40132503 512-byte hdwr sectors (20548 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
int3: 0000 [#1]
CPU:    0
EIP:    0060:[<c0148711>]    Not tainted VLI
EFLAGS: 00000282   (2.6.16-rc2-PATA)
EIP is at get_super+0x1/0x80
eax: c146d040   ebx: c146d040   ecx: dfe83db8   edx: 00000001
esi: 00000000   edi: 00000000   ebp: 00000000   esp: dfe83db4
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 1, threadinfo=dfe83000 task=dfe82a30)
Stack: <0>00000000 c01441e9 c146d040 00000000 c01ac931 c146d040 dfc97ec0 c016ff4e
        c01ed05e dfcbf120 c146d040 dfc97ec0 c02b7153 dfe83e1c c146d040 dfc97ec0
        00000000 00000000 c0149a31 c146d04c 00000000 dfe83ea0 c146d040 00000001
Call Trace:
  [<c01441e9>] fsync_bdev+0x9/0x30
  [<c01ac931>] invalidate_partition+0x21/0x40
  [<c016ff4e>] rescan_partitions+0x2e/0x210
  [<c01ed05e>] get_device+0xe/0x20
  [<c02b7153>] sd_open+0x43/0x100
  [<c0149a31>] do_open+0x201/0x280
  [<c0149b53>] blkdev_get+0x53/0x60
  [<c0170207>] register_disk+0xd7/0xf0
  [<c01ac492>] add_disk+0x32/0x40
  [<c01ac420>] exact_match+0x0/0x10
  [<c01ac450>] exact_lock+0x0/0x10
  [<c02b892f>] sd_probe+0x21f/0x300
  [<c01ee6d0>] __driver_attach+0x0/0x60
  [<c01ee608>] driver_probe_device+0x38/0xa0
  [<c01ee72a>] __driver_attach+0x5a/0x60
  [<c01edcf8>] bus_for_each_dev+0x38/0x60
  [<c01ee4e1>] driver_attach+0x11/0x20
  [<c01ee6d0>] __driver_attach+0x0/0x60
  [<c01edfca>] bus_add_driver+0x5a/0x100
  [<c01eea10>] klist_devices_get+0x0/0x10
  [<c0100311>] init+0x81/0x1e0
  [<c0100290>] init+0x0/0x1e0
  [<c0100bd5>] kernel_thread_helper+0x5/0x10
Code: 14 00 00 00 89 44 24 58 8b 44 24 2c 89 44 24 5c 8b 44 24 7c e8 01 d1 06 00 85 c0 74 c7 bb f2 ff ff ff eb c0 8d b6 00 00 00 00 56 <85> c0 53 89 c6 75 08 31 db 89 d8 5b 5e c3 90 8b 1d 90 6f 37 c0
  <0>Kernel panic - not syncing: Attempted to kill init!
  double fault, gdt at c036f000 [255 bytes]
double fault, tss at c0370000
eip = c011270a, esp = dfe83ce0
eax = 00000000, ebx = 00000000, ecx = c043d280, edx = 00000000
esi = dfe82a30, edi = 00000000


-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Duplicated SCSI messages (Was: Re: libATA  PATA status report, new patch)
  2006-02-07 17:02           ` Meelis Roos
@ 2006-02-07 19:38             ` Tomasz Kłoczko
  0 siblings, 0 replies; 24+ messages in thread
From: Tomasz Kłoczko @ 2006-02-07 19:38 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Alan Cox, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1984 bytes --]

On Tue, 7 Feb 2006, Meelis Roos wrote:
[..]
> SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
> sda: Write Protect is off
> SCSI device sda: drive cache: write back
> SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
> Unknown interrupt or fault at EIP 00000286 00000060 c0112acd
> sda: Write Protect is off
> SCSI device sda: drive cache: write back
> sda:Unknown interrupt or fault at EIP 00000246 00000060 c010162b

I'm allways confused to see this kind messages output with duplicated
SCSI subsystem initialization device reports in kernel logs.
It it not kind of bug ?

Usualy information about single SCSI device takes:

SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write back
SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write back
  sdb: sdb1 sdb2 sdb3
sd 0:0:3:0: Attached scsi disk sdb
   Vendor: MAXTOR    Model: ATLAS10K5_73WLS   Rev: JNZH
   Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:6:0: Tagged Queuing enabled.  Depth 4
  target0:0:6: Beginning Domain Validation
  target0:0:6: wide asynchronous
  target0:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 127)
  target0:0:6: Domain Validation skipping write tests
  target0:0:6: Ending Domain Validation

.. 18 lines (14 after remove duplicated lines). Is it not to much ?
Best IMO will write only information like "found/initialize device <foo>; 
</phisical/path>" like in Solaris. All other detailed information can be 
IMO moved to sysfs (informations about partition/slices are now 
in sysfs).

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 15:04         ` Alan Cox
                             ` (2 preceding siblings ...)
  2006-02-07 17:50           ` Meelis Roos
@ 2006-02-08  7:42           ` Meelis Roos
  2006-02-08 18:28           ` Meelis Roos
  4 siblings, 0 replies; 24+ messages in thread
From: Meelis Roos @ 2006-02-08  7:42 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel list

> I've put up a -ide2 patch at
>
> http://zeniv.linux.org.uk/~alan/IDE

Tried also on a Intel 7221 with 1 PATA cdrom and 4 SATA disks attached 
to onboard ICH7 SATA (PIIX mode, not AHCI). Fails basically the same as 
the ICH5 I reported earlier (crash on partition table reading) but the 
output is much more verbose:

Linux version 2.6.16-rc2-PATA (mroos@rhn) (gcc version 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)) #7 Tue Feb 7 18:20:51 EET 2006
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 000000003f7e557a (usable)
  BIOS-e820: 000000003f7e557a - 000000003f7f0000 (reserved)
  BIOS-e820: 000000003f7f0000 - 000000003f7fe000 (ACPI data)
  BIOS-e820: 000000003f7fe000 - 000000003f800000 (ACPI NVS)
  BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
DMI 2.3 present.
Allocating PCI resources starting at 40000000 (gap: 3f800000:c0000000)
Built 1 zonelists
Kernel command line: root=/dev/sr0 init=/bin/bash libata.atapi_enabled=1 vga=0xf07 netconsole=1980@192.168.74.66/eth0,1975@192.168.74.17/00:03:47:a4:64:d5 BOOT_IMAGE=vmlinuz 
netconsole: local port 1980
netconsole: local IP 192.168.74.66
netconsole: interface eth0
netconsole: remote port 1975
netconsole: remote IP 192.168.74.17
netconsole: remote ethernet address 00:03:47:a4:64:d5
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0438000 soft=c0439000
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 2992.802 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x60
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 905580k/917504k available (2174k kernel code, 11496k reserved, 856k data, 240k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5992.59 BogoMIPS (lpj=29962987)
Mount-cache hash table entries: 512
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=4
PCI: Using configuration type 1
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f5610
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x629a, dseg 0xf0000
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: 16 nodes reported by PnP BIOS; 16 recorded by driver
SCSI subsystem initialized
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: PXH quirk detected, disabling MSI for SHPC device
PCI: PXH quirk detected, disabling MSI for SHPC device
PCI: Transparent bridge - 0000:00:1e.0
PCI: Using IRQ router PIIX/ICH [8086/2640] at 0000:00:1f.0
PCI: Found IRQ 7 for device 0000:00:1f.1
PCI: Sharing IRQ 7 with 0000:00:1d.2
PCI: Sharing IRQ 7 with 0000:01:03.0
pnp: 00:0c: ioport range 0x5a0-0x5a7 has been reserved
pnp: 00:0d: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0d: ioport range 0xcf8-0xcff could not be reserved
pnp: 00:0d: ioport range 0x480-0x4bf has been reserved
pnp: 00:0d: ioport range 0x800-0x87f has been reserved
pnp: 00:0d: ioport range 0x540-0x55f has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:02:00.0
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
PCI: Bridge: 0000:02:00.2
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.0
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
   IO window: e000-efff
   MEM window: dff00000-dfffffff
   PREFETCH window: disabled.
PCI: Found IRQ 10 for device 0000:00:1c.0
PCI: Sharing IRQ 10 with 0000:00:02.0
apm: BIOS not found.
io scheduler noop registered
io scheduler anticipatory registered (default)
0000:00:1d.7 EHCI: BIOS handoff failed (BIOS bug ?)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
PNP: PS/2 Controller [PNP0303] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 6.3.9-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
PCI: Found IRQ 7 for device 0000:01:03.0
PCI: Sharing IRQ 7 with 0000:00:1d.2
PCI: Sharing IRQ 7 with 0000:00:1f.1
e1000: 0000:01:03.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:0c:4b:5f:68
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
pcnet32.c:v1.31c 01.Nov.2005 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
ThunderLAN driver v1.15
TLAN: 0 devices installed, PCI: 0  EISA: 0
ata1: dev 0 ATAPI, max UDMA/33
ata1: dev 0 configured for UDMA/33
scsi0 : ata_piix
   Vendor: TSSTcorp  Model: CD/DVDW SH-W162C  Rev: TS10
   Type:   CD-ROM                             ANSI SCSI revision: 05
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xFFF8 irq 15
ATA: abnormal status 0x7F on port 0x177
ata2: disabling port
scsi1 : ata_piix
PCI: Found IRQ 11 for device 0000:00:1f.2
PCI: Sharing IRQ 11 with 0000:00:1d.1
PCI: Sharing IRQ 11 with 0000:00:1f.3
ata3: SATA max UDMA/133 cmd 0xDF80 ctl 0xDF02 bmdma 0xDD80 irq 11
ata4: SATA max UDMA/133 cmd 0xDE80 ctl 0xDE02 bmdma 0xDD88 irq 11
ata3: dev 0 ATA-7, max UDMA/133, 586072368 sectors: LBA48
ata3: dev 1 ATA-7, max UDMA/133, 586072368 sectors: LBA48
ata3: dev 0 configured for UDMA/133
ata3: dev 1 configured for UDMA/133
scsi2 : ata_piix
ata4: dev 0 ATA-7, max UDMA/133, 586072368 sectors: LBA48
ata4: dev 1 ATA-7, max UDMA/133, 586072368 sectors: LBA48
ata4: dev 0 configured for UDMA/133
ata4: dev 1 configured for UDMA/133
scsi3 : ata_piix
   Vendor: ATA       Model: ST3300831AS       Rev: 3.03
   Type:   Direct-Access                      ANSI SCSI revision: 05
   Vendor: ATA       Model: ST3300831AS       Rev: 3.03
   Type:   Direct-Access                      ANSI SCSI revision: 05
   Vendor: ATA       Model: ST3300831AS       Rev: 3.03
   Type:   Direct-Access                      ANSI SCSI revision: 05
   Vendor: ATA       Model: ST3300831AS       Rev: 3.03
   Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 586072368 512-byte hdwr sectors (300069 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 586072368 512-byte hdwr sectors (300069 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
  sda:<0>int3: 0000 [#1]
CPU:    0
EIP:    0060:[<c01016e5>]    Not tainted VLI
EFLAGS: 00000246   (2.6.16-rc2-PATA) 
EIP is at mwait_idle+0x25/0x30
eax: 00000000   ebx: c03f6000   ecx: 00000000   edx: 00000000
esi: c03f6008   edi: c03f3800   ebp: 00480007   esp: c03f6fe4
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>feff0000 00039100 c010167c c03f73f2 c043ae20 00020800 c0100199 
Call Trace:
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: 90 90 90 90 90 90 56 53 fb bb 00 f0 ff ff 21 e3 8d 73 08 eb 16 90 31 c9 89 f0 89 ca 0f 01 c8 8b 43 08 0000000b  [<c0114b06>] 
printk+0x13/0x20
die+0x1eb/0x1f0
fixup_exception+0x18/0x60
  [<c01037ba>] do_int3+0x5a/0x70
  [<c031f0fe>] int3+0x1e/0x30
  [<c01016e5>] mwait_idle+0x25/0x30
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: c0 01 c3 b8 58 89 41 00 e8 24 2c 0a 00 a1 68 d2 43 c0 8d 04 80 43 8d 04 80 8d 04 80 c1 e0 03 39 c3 7c d6 e8 89 ad 00 00 fb 31 db <8d> b6 00 00 00 00 89 d8 ff 15 6c d2 43 c0 01 c3 b8 58 89 41 00
  <0>Kernel panic - not syncing: Attempted to kill the idle task!
  <0>divide error: 0000 [#3]
CPU:    0
EIP:    0060:[<c010a78b>]    Not tainted VLI
EFLAGS: 00000293   (2.6.16-rc2-PATA) 
EIP is at delay_tsc+0xb/0x20
eax: c6d80e94   ebx: 002db862   ecx: c6cc17c4   edx: 00000027
esi: c0372200   edi: 00000000   ebp: 0000000b   esp: c03f6db0
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>00000002 c01b5309 c0112724 c03f6dcc c03f6000 c0114b06 c0336a88 00000206
        00000000 c033478f c0113573 c0343179 c03f6df0 00000000 00000206 00000000
        c033478f c010349b c03f6edc c03f6edc c010edd8 c03f6edc c033478f 00000000 
Call Trace:
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0<0>Kernel panic - not syncing: Attempted to kill the idle task!
<0>divide error: 0000 [#4]
CPU:    0
EIP:    0060:[<c010a789>]    Not tainted VLI
EFLAGS: 00000287   (2.6.16-rc2-PATA) 
EIP is at delay_tsc+0x9/0x20
eax: 00028a3f   ebx: 002db862   ecx: c89e2c2e   edx: 00000027
esi: c0372200   edi: 00000000   ebp: 0000000b   esp: c03f6c50
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>00000005 c01b5309 c0112724 c03f6c6c c03f6000 c0114b06 c0336a88 00000206
        00000000 c033478f c0113573 c0343179 c03f6c90 00000000 00000206 00000000
        c033478f c010349b c03f6d7c c03f6d7c c010edd8 c03f6d7c c033478f 00000000 
Call Trace:
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c011270a>] panic+0xba/0xf0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c011270a>] panic+0xba/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01037ba>] do_int3+0x5a/0x70
  [<c031f0fe>] int3+0x1e/0x30
  [<c01016e5>] mwait_idle+0x25/0x30
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: ea 0a 01 44 24 08 11 54 24 0c 8b 44 24 08 8b 54 24 0c 83 c4 10 5b 5e 5f 5d c3 90 8d b4 26 00 00 00 00 53 89 c3 0f 31 c1 31 39 f6 5b 8d 00 bc
  <0>Kernel panic - not syncing: Attempted to kill the idle task!
  <0>divide error: 0000 [#5]
CPU:    0
EIP:    0060:[<c010a78b>]    Not tainted VLI
EFLAGS: 00000297   (2.6.16-rc2-PATA) 
EIP is at delay_tsc+0xb/0x20
eax: ca695e98   ebx: 002db862   ecx: ca4ebc8a   edx: 00000027
esi: c0372200   edi: 00000000   ebp: 0000000b   esp: c03f6af0
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>00000003 c01b5309 c0112724 c03f6b0c c03f6000 c0114b06 c0336a88 00000206
        00000000 c033478f c0113573 c0343179 c03f6b30 00000000 00000206 00000000
        c033478f c010349b c03f6c1c c03f6c1c c010edd8 c03f6c1c c033478f 00000000 
Call Trace:
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c011270a>] panic+0xba/0xf0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c011270a>] panic+0xba/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01037ba>] do_int3+0x5a/0x70
  [<c031f0fe>] int3+0x1e/0x30
  [<c01016e5>] mwait_idle+0x25/0x30
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: 01 44 24 08 11 54 24 0c 8b 44 24 08 8b 54 24 0c 83 c4 10 5b 5e 5f 5d c3 90 8d b4 26 00 00 00 00 53 89 c3 0f 31 89 c1 f3 90 0f 31 <29> 39 f6 c3 b6 00 00
  <0>Kernel panic - not syncing: Attempted to kill the idle task!
  <0>divide error: 0000 [#6]
CPU:    0
EIP:    0060:[<c010a78b>]    Not tainted VLI
EFLAGS: 00000293   (2.6.16-rc2-PATA) 
EIP is at delay_tsc+0xb/0x20
eax: cc320671   ebx: 002db862   ecx: cc2d0bd3   edx: 00000027
esi: c0372200   edi: 00000000   ebp: 0000000b   esp: c03f6990
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>00000000 c01b5309 c0112724 c03f69ac c03f6000 c0114b06 c0336a88 00000206
        00000000 c033478f c0113573 c0343179 c03f69d0 00000000 00000206 00000000
        c033478f c010349b c03f6abc c03f6abc c010edd8 c03f6abc c033478f 00000000 
Call Trace:
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a789>] delay_tsc+0x9/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
delay_tsc+0x9/0x20
  [<c01b5309>]
  [<c0112724>]
  [<c0114b06>] do_exit+0x4f6/0x6e0
printk+0x13/0x20
  [<c010349b>]
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
delay_tsc+0xb/0x20 [<c029b270>]
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c010a78b>]
  [<c01b5309>] __delay+0x9/0x10
panic+0xd4/0xf0
  [<c0114b06>]
  [<c0113573>]
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
panic+0xba/0xf0
  [<c0112847>]
  [<c01134df>] vprintk+0x26f/0x2f0
__call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c011270a>]
  [<c0113573>]
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>]
  [<c01037ba>] do_int3+0x5a/0x70
int3+0x1e/0x30
  [<c01016e5>]
  [<c010167c>]
  [<c03f73f2>] 
Code: 44 11 8b 08 24 c4 10 5b 5e 5f 5d c3 90 8d b4 26 00 00 00 00 53 89 c3 0f 31 89 c1 f3 90 0f 31 c8 72 c3 8d 00 00 27 00 <0>Kernel panic - not syncing: Attempted to kill the idle task!
  <0>divide error: 0000 [#7]
CPU:    0
EIP:    0060:[<c010a78b>]    Not tainted VLI
EFLAGS: 00000283   (2.6.16-rc2-PATA) 
EIP is at delay_tsc+0xb/0x20
eax: cdfaae61   ebx: 002db862   ecx: cdd5de47   edx: 00000027
esi: c0372200   edi: 00000000   ebp: 0000000b   esp: c03f6830
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>00000000 c01b5309 c0112724 c03f684c c03f6000 c0114b06 c0336a88 00000206
        00000000 c033478f c0113573 c0343179 c03f6870 00000000 00000206 00000000
        c033478f c010349b c03f695c c03f695c c010edd8 c03f695c c033478f 00000000 
Call Trace:
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a789>] delay_tsc+0x9/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a789>] delay_tsc+0x9/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c011270a>] panic+0xba/0xf0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c011270a>] panic+0xba/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01037ba>] do_int3+0x5a/0x70
  [<c031f0fe>] int3+0x1e/0x30
  [<c01016e5>] mwait_idle+0x25/0x30
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: 01 44 24 08 11 54 24 0c 8b 44 24 08 8b 54 24 0c 83 c4 10 5b 5e 5f 5d 90 8d 26 00 0f f3 <29> d8 5b c3 b6 00 27 00
  <0>divide error: 0000 [#8]
CPU:    0
EIP:    0060:[<c0103386>]    Not tainted VLI
EFLAGS: 00000206   (2.6.16-rc2-PATA) 
EIP is at die+0xd6/0x1f0

c03f67fc c03f67fc 000000ff 0000000b
        00000000 c010374e 00000000
        00000000 00000086 
Call Trace:
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
  [<c010a78b>]
  [<c029b270>] write_msg+0x0/0x50
__call_console_drivers+0x37/0x50
  [<c01134df>]
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>]
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c010a78b>]
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>]
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>]
  [<c010349b>]
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
delay_tsc+0x9/0x20
  [<c029b270>]
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] 
delay_tsc+0x9/0x20
  [<c01b5309>]
  [<c0112724>]
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c011270a>] panic+0xba/0xf0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c011270a>] panic+0xba/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01037ba>] do_int3+0x5a/0x70
  [<c031f0fe>] int3+0x1e/0x30
  [<c01016e5>] mwait_idle+0x25/0x30
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: 00 c7 44 24 2c 0b 00 00 00 e8 d7 a0 01 00 89 d8 e8 80 fc ff ff 83 c4 10 31 c0 e8 f6 ad 00 00 c7 05 48 34 37 c0 ff ff ff ff 56 9d <b8> 00 f0 ff ff 21 e0 f7 40 14 00 ff ff 0f 0f 85 ed 00 00 00 8b
  <0>divide error: 0000 [#9]
CPU:    0
EIP:    0060:[<c0103386>]    Not tainted VLI
EFLAGS: 00000206   (2.6.16-rc2-PATA) 
EIP is at die+0xd6/0x1f0
eax: c0343179   ebx: c03f66e4   ecx: f7eceec0   edx: ffff864c
esi: 00000206   edi: 00000000   ebp: c033478f   esp: c03f6600
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>c03f66e4 c03f66e4 c010edd8 c03f66e4 c033478f 00000000 000000ff 0000000b
        c03f66e4 00000000 c01036c0 c033478f c010374e 00000001 c03f66e4 00000000
        00000008 c0103386 c029b270 
Call Trace:
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
  [<c010374e>]
  [<c0103386>] die+0xd6/0x1f0
write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0102eaa>] show_trace_log_lvl+0x2a/0x80
error_code+0x4f/0x60
die+0xd6/0x1f0
  [<c010edd8>]
  [<c01036c0>] do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
  [<c010a78b>]
  [<c029b270>]
  [<c0112847>] vprintk+0x26f/0x2f0
__call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
delay_tsc+0xb/0x20
__delay+0x9/0x10
panic+0xd4/0xf0
  [<c0114b06>]
  [<c0113573>]
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
delay_tsc+0xb/0x20
write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0112847>] 
error_code+0x4f/0x60
  [<c010a78b>]
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0 [<c010374e>]
  [<c010a789>]
  [<c029b270>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
__call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c010a789>]
  [<c01b5309>]
  [<c0112724>]
  [<c0114b06>] do_exit+0x4f6/0x6e0
printk+0x13/0x20
die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
  [<c010a78b>]
  [<c029b270>] write_msg+0x0/0x50
__call_console_drivers+0x37/0x50
  [<c01134df>]
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60

  [<c01b5309>]
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>]
  [<c0113573>]
  [<c010349b>]
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
panic+0xba/0xf0
  [<c0112847>]
  [<c01134df>]
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c011270a>] panic+0xba/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01037ba>] do_int3+0x5a/0x70
  [<c031f0fe>] int3+0x1e/0x30
  [<c01016e5>] mwait_idle+0x25/0x30
  [<c010167c>] cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
Code: 00 c7 44 24 2c 0b 00 00 00 e8 d7 a0 01 00 89 d8 e8 80 fc ff ff 83 c4 10 31 c0 e8 f6 ad 00 00 c7 05 48 34 37 c0 ff ff ff ff 56 9d <b8> 00 f0 ff ff 21 e0 f7 40 14 00 ff ff 0f 0f 85 ed 00 00 00 8b
  <0>divide error: 0000 [#10]
CPU:    0
EIP:    0060:[<c0103386>]    Not tainted VLI
EFLAGS: 00000206   (2.6.16-rc2-PATA) 
EIP is at die+0xd6/0x1f0
eax: c0343179   ebx: c03f65cc   ecx: f7eceec0   edx: ffff7349
esi: 00000206   edi: 00000000   ebp: c033478f   esp: c03f64e8
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c03f6000 task=c0372200)
Stack: <0>c03f65cc c03f65cc c010edd8 c03f65cc c033478f 00000000 000000ff 0000000b
        c03f65cc 00000000 c01036c0 c033478f c010374e 00000001 c03f65cc 00000000
        c03f652c 00000008 00000000 00030001 c0103386 00000086 c03aea80 c029b270 
Call Trace:
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c0103386>] die+0xd6/0x1f0
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0102eaa>] show_trace_log_lvl+0x2a/0x80
  [<c0102a0f>] error_code+0x4f/0x60
  [<c0103386>] die+0xd6/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
  [<c0103386>] die+0xd6/0x1f0
  [<c029b270>]
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0102eaa>] show_trace_log_lvl+0x2a/0x80
error_code+0x4f/0x60
  [<c0103386>]
  [<c010edd8>] fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
  [<c010a78b>]
  [<c029b270>] 
__call_console_drivers+0x37/0x50
  [<c01134df>]
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c010a78b>]
  [<c01b5309>] 
panic+0xd4/0xf0
do_exit+0x4f6/0x6e0
die+0x1eb/0x1f0
fixup_exception+0x18/0x60
do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
delay_tsc+0xb/0x20
  [<c029b270>]
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
delay_tsc+0xb/0x20
__delay+0x9/0x10
  [<c0112724>]
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>]
  [<c010349b>]
  [<c010edd8>] fixup_exception+0x18/0x60

  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
  [<c010a78b>] delay_tsc+0xb/0x20
  [<c01b5309>] __delay+0x9/0x10
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>] do_exit+0x4f6/0x6e0
  [<c0113573>] printk+0x13/0x20
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>] fixup_exception+0x18/0x60
  [<c01036c0>] do_divide_error+0x0/0xa0
  [<c010374e>] do_divide_error+0x8e/0xa0
  [<c010a789>] delay_tsc+0x9/0x20
  [<c029b270>] write_msg+0x0/0x50
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c01134df>] vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
  [<c0102a0f>] error_code+0x4f/0x60
delay_tsc+0x9/0x20
__delay+0x9/0x10
  [<c0112724>]
  [<c0114b06>]
  [<c010349b>] die+0x1eb/0x1f0
  [<c010edd8>]
  [<c01036c0>] do_divide_error+0x0/0xa0
do_divide_error+0x8e/0xa0
delay_tsc+0xb/0x20
  [<c029b270>]
  [<c0112847>] __call_console_drivers+0x37/0x50
vprintk+0x26f/0x2f0
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
delay_tsc+0xb/0x20
  [<c01b5309>]
  [<c0112724>] panic+0xd4/0xf0
  [<c0114b06>]
  [<c0113573>]
  [<c010349b>] die+0x1eb/0x1f0
fixup_exception+0x18/0x60
  [<c01036c0>]
  [<c010374e>] do_divide_error+0x8e/0xa0
panic+0xba/0xf0
__call_console_drivers+0x37/0x50
  [<c01134df>]
  [<c0112847>] __call_console_drivers+0x37/0x50
error_code+0x4f/0x60
  [<c011270a>]
  [<c0114b06>]
  [<c0113573>] printk+0x13/0x20
die+0x1eb/0x1f0
fixup_exception+0x18/0x60
  [<c01037ba>]
  [<c031f0fe>]
  [<c01016e5>] mwait_idle+0x25/0x30
cpu_idle+0x1c/0x60
  [<c03f73f2>] start_kernel+0x1f2/0x240
c7 2c 00 d7 89 80 ff 10 31 e8 00 48 ff 0f 0f 85 ed 00 00 00 8b
  <0>divide error: 0000 [#11]
CPU:    0
EIP:    0060:[<c0103386>]    Not tainted VLI
EFLAGS: 00000206   (2.6.16-rc2-PATA) 
EIP is at die+0xd6/0x1f0
eax: c0343179   ebx: c03f64b4   ecx: f7eceec0   edx: ffff5eb6
esi: 00000206   edi: 00000000   ebp: c033478f   esp: c03f63d0
ds: 007b   es: 007b   ss: 0068

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 17:50           ` Meelis Roos
@ 2006-02-08 13:31             ` Alan Cox
  0 siblings, 0 replies; 24+ messages in thread
From: Alan Cox @ 2006-02-08 13:31 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Maw, 2006-02-07 at 19:50 +0200, Meelis Roos wrote:
> ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15
> ata2: dev 0 ATAPI, max UDMA/33
> ata2: dev 0 configured for UDMA/33

So far so good.

> scsi1 : ata_piix
> ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x24
> ata2: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00

Tries to do a packet command, which is reasonable as its ATAPI but the
timeout is unexpected.

> int3: 0000 [#1]
> CPU:    0
> EIP:    0060:[<c0148711>]    Not tainted VLI

The rest seems to be a generic problem with libata and early commands
timing out (I think the device is getting deleted before the command
completes).


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-07 15:04         ` Alan Cox
                             ` (3 preceding siblings ...)
  2006-02-08  7:42           ` Meelis Roos
@ 2006-02-08 18:28           ` Meelis Roos
  2006-02-09 15:31             ` Alan Cox
  4 siblings, 1 reply; 24+ messages in thread
From: Meelis Roos @ 2006-02-08 18:28 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel list

A new kind of crash on ALi chipset laptop (Toshiba Satellite 1800), 
lspci below. I could not use netconsole on this laptop since yenta is 
initialized after netconsole and so my cardbus NIC is not usable for 
netconsole. I captured the details using a digital camera, in 2 
different vga resolutions (to see different parts of it):

http://www.cs.ut.ee/~mroos/alicrash1.png
http://www.cs.ut.ee/~mroos/alicrash2.png

lspci details of the laptop:

0000:00:00.0 Host bridge: ALi Corporation M1644/M1644T Northbridge+Trident (rev 01)
 	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
 	Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
 	Capabilities: [b0] AGP version 2.0
 		Status: RQ=28 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
 		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
 	Capabilities: [a4] 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: b9 10 44 16 07 00 10 a2 01 00 00 06 00 00 00 00
10: 08 00 00 f0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 b0 00 00 00 00 00 00 00 00 00 00 00
40: 1d 1f 0d 00 3d 10 04 14 00 20 2c 45 00 20 20 00
50: 00 00 00 00 3b 10 04 2f 00 30 00 00 00 20 20 ff
60: 82 cc 00 00 00 00 00 00 6f 8c 00 91 40 04 19 05
70: 8b 8b 94 14 00 00 00 00 00 a2 b7 57 00 08 03 02
80: 00 00 53 b7 31 88 8f f0 20 02 00 00 00 00 78 00
90: 15 00 f5 49 00 00 00 00 08 00 00 00 f8 ae 00 00
a0: 34 ee 01 00 01 00 01 00 00 00 00 00 00 00 00 00
b0: 02 a4 20 00 07 02 00 1b 00 00 00 00 08 00 37 01
c0: 10 00 13 10 00 00 00 f0 c0 68 00 c0 00 00 00 00
d0: 67 c0 60 cf 00 b0 65 1e 00 00 00 80 81 81 89 00
e0: 00 60 20 00 00 00 b8 40 00 00 08 00 00 00 28 31
f0: 00 80 00 3c 80 07 80 07 00 00 00 00 00 00 00 00

0000:00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (prog-if 00 [Normal decode])
 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 	Latency: 0
 	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 	I/O behind bridge: 0000f000-00000fff
 	Memory behind bridge: f7f00000-fdffffff
 	Prefetchable memory behind bridge: 28000000-280fffff
 	BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
00: b9 10 47 52 07 00 00 04 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 20 a2
20: f0 f7 f0 fd 00 28 00 28 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
 	Subsystem: Toshiba America Info Systems: Unknown device 0004
 	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: 0x08 (32 bytes)
 	Interrupt: pin A routed to IRQ 11
 	Region 0: Memory at f7eff000 (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: b9 10 37 52 07 00 90 02 03 10 03 0c 08 40 00 00
10: 00 f0 ef f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 04 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 50
40: 00 00 15 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 02 c0 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:04.0 IDE interface: ALi Corporation M5229 IDE (rev c3) (prog-if f0)
 	Subsystem: Toshiba America Info Systems: Unknown device 0004
 	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 255
 	Region 4: I/O ports at eff0 [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: b9 10 29 52 05 00 90 02 c3 f0 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: f1 ef 00 00 00 00 00 00 00 00 00 00 79 11 04 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 ff 01 02 04
40: 06 00 00 7f 00 00 00 00 00 02 23 c9 00 80 ba 1a
50: 03 00 00 89 01 01 0a 0a 02 31 31 00 02 31 31 00
60: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 01)
 	Subsystem: Toshiba America Info Systems: Unknown device 0001
 	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 11
 	Region 0: I/O ports at 1000 [size=256]
 	Region 1: Memory at 28100000 (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: b9 10 51 54 07 00 90 c2 01 00 01 04 00 40 00 00
10: 01 10 00 00 00 00 10 28 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 dc 00 00 00 00 00 00 00 ff 01 02 18
40: 00 00 00 00 aa 00 08 e2 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 e6
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
 	Subsystem: Toshiba America Info Systems: Unknown device 0004
 	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: b9 10 33 15 0f 00 10 02 00 00 01 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 04 00
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
40: 07 12 0b c0 1d 00 00 07 99 00 00 90 00 00 ed 03
50: 00 00 00 00 70 00 02 00 7c 00 00 00 00 00 00 04
60: 60 21 00 80 00 00 00 00 00 00 00 00 00 64 00 00
70: 91 00 2f 00 09 1f 81 50 aa 42 01 20 31 00 00 11
80: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 e1 02 00 80 00 80 72 c3 06 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:08.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
 	Subsystem: Toshiba America Info Systems: Unknown device 0001
 	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: b9 10 01 71 00 00 00 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 44 08 00 00 80 23 01 28 00 0c 30 00 00 00 13
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 80 00 00 00 00 00 08 f3 77 10 32 bf 06 10 00
80: 37 82 1a 13 00 00 00 00 06 02 00 00 00 00 00 44
90: 00 aa 00 00 00 00 00 4d f8 ff 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 08 0c 00 b2 00 b0 00 00 00
b0: 00 8c 00 1c 00 c9 62 00 70 04 00 00 00 00 00 80
c0: 1a 10 7f 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 46 00 00 00 00 02 00 00 00 00 00 0c 00 00 00
e0: 00 ee 00 ef 01 00 01 00 00 00 00 00 00 00 00 00
f0: 01 00 20 7e 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:11.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
 	Subsystem: Toshiba America Info Systems: Unknown device 0001
 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 	Latency: 168
 	Interrupt: pin A routed to IRQ 11
 	Region 0: Memory at 28101000 (32-bit, non-prefetchable) [size=4K]
 	Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
 	Memory window 0: 20000000-21fff000 (prefetchable)
 	Memory window 1: 22000000-23fff000
 	I/O window 0: 00001400-000014ff
 	I/O window 1: 00001800-000018ff
 	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
 	16-bit legacy interface ports at 0001
00: 79 11 17 06 07 00 90 04 32 00 07 06 00 a8 82 00
10: 00 10 10 28 80 00 80 04 00 02 05 00 00 00 00 20
20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 14 00 00
30: fc 14 00 00 00 18 00 00 fc 18 00 00 ff 01 80 05
40: 79 11 01 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 01 00 00 00 80 00 00 00 00 00 00 00 00 01
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: d0 10 00 86 00 00 00 0c 00 80 00 00 00 d1 00 00
b0: cf 3f 3f 3f 20 10 08 0a 00 01 01 10 00 3f 02 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00

0000:00:11.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
 	Subsystem: Toshiba America Info Systems: Unknown device 0001
 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 	Latency: 168
 	Interrupt: pin B routed to IRQ 11
 	Region 0: Memory at 28102000 (32-bit, non-prefetchable) [size=4K]
 	Bus: primary=00, secondary=06, subordinate=09, sec-latency=0
 	Memory window 0: 24000000-25fff000 (prefetchable)
 	Memory window 1: 26000000-27fff000
 	I/O window 0: 00001c00-00001cff
 	I/O window 1: 00002000-000020ff
 	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
 	16-bit legacy interface ports at 0001
00: 79 11 17 06 07 00 90 04 32 00 07 06 00 a8 82 00
10: 00 20 10 28 80 00 80 04 00 06 09 00 00 00 00 24
20: 00 f0 ff 25 00 00 00 26 00 f0 ff 27 00 1c 00 00
30: fc 1c 00 00 00 20 00 00 fc 20 00 00 ff 02 00 05
40: 79 11 01 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 01 00 00 00 80 00 00 00 00 00 00 00 00 01
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: d0 20 00 86 00 00 00 0c 00 00 00 00 00 d1 00 00
b0: cf 3f 3f 3f 20 10 08 0a 00 01 01 10 00 3f 02 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00

0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XPAi1 (rev 82) (prog-if 00 [VGA])
 	Subsystem: Toshiba America Info Systems: Unknown device 0001
 	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: 8
 	Interrupt: pin A routed to IRQ 11
 	Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=32M]
 	Region 1: Memory at fbc00000 (32-bit, non-prefetchable) [size=4M]
 	Region 2: Memory at f8000000 (32-bit, non-prefetchable) [size=32M]
 	Region 3: Memory at f7ff8000 (32-bit, non-prefetchable) [size=32K]
 	Expansion ROM at 28000000 [disabled] [size=64K]
 	Capabilities: [80] AGP version 2.0
 		Status: RQ=33 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
 		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
 	Capabilities: [90] 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: 23 10 20 88 07 00 30 02 82 00 00 03 00 08 00 00
10: 00 00 00 fc 00 00 c0 fb 00 00 00 f8 00 80 ff f7
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 02 90 20 00 07 02 00 20 00 00 00 00 00 00 00 00
90: 01 00 22 06 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 	Subsystem: Billionton Systems Inc LNR-100 Family 10/100 Base-TX Ethernet
 	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 (8000ns min, 16000ns max)
 	Interrupt: pin A routed to IRQ 11
 	Region 0: I/O ports at 1c00 [size=256]
 	Region 1: Memory at 26000000 (32-bit, non-prefetchable) [size=512]
 	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: ec 10 39 81 07 00 90 02 10 00 00 02 00 40 00 00
10: 01 1c 00 00 00 00 00 26 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 02 01 00 00 cb 14 00 02
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 02 76 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-08 18:28           ` Meelis Roos
@ 2006-02-09 15:31             ` Alan Cox
  2006-02-09 21:12               ` Meelis Roos
  0 siblings, 1 reply; 24+ messages in thread
From: Alan Cox @ 2006-02-09 15:31 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Linux Kernel list

On Mer, 2006-02-08 at 20:28 +0200, Meelis Roos wrote:
> A new kind of crash on ALi chipset laptop (Toshiba Satellite 1800), 
> lspci below. I could not use netconsole on this laptop since yenta is 
> initialized after netconsole and so my cardbus NIC is not usable for 
> netconsole. I captured the details using a digital camera, in 2 
> different vga resolutions (to see different parts of it):
> 
> http://www.cs.ut.ee/~mroos/alicrash1.png
> http://www.cs.ut.ee/~mroos/alicrash2.png


Thanks: Utterly dumb bug made while converting to the newer refcounting
PCI API

--- drivers/scsi/pata_ali.c~	2006-02-09 15:17:06.430326208 +0000
+++ drivers/scsi/pata_ali.c	2006-02-09 15:17:06.431326056 +0000
@@ -528,7 +528,7 @@
 		pci_write_config_byte(pdev, 0x4B, tmp | 0x08);
 	}
 		
-	north = pci_get_slot(0, PCI_DEVFN(0,0));
+	north = pci_get_slot(pdev->bus, PCI_DEVFN(0,0));
 	isa_bridge = pci_get_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL);
 	
 	if(north && north->vendor == PCI_VENDOR_ID_AL) {


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-09 15:31             ` Alan Cox
@ 2006-02-09 21:12               ` Meelis Roos
  2006-02-10 12:01                 ` Erik Mouw
  0 siblings, 1 reply; 24+ messages in thread
From: Meelis Roos @ 2006-02-09 21:12 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel list

> Thanks: Utterly dumb bug made while converting to the newer refcounting
> PCI API

Yes, it boots now. But reading the disk fails - partition table reading 
bails out. Maybe this is the same early command problem that affects 
other controllers too.

http://www.cs.ut.ee/~mroos/ali1.png
http://www.cs.ut.ee/~mroos/ali2.png

And trying to read the disk from initrd with dd:

http://www.cs.ut.ee/~mroos/ali3.png

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-09 21:12               ` Meelis Roos
@ 2006-02-10 12:01                 ` Erik Mouw
  2006-02-10 15:46                   ` Alan Cox
  0 siblings, 1 reply; 24+ messages in thread
From: Erik Mouw @ 2006-02-10 12:01 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Alan Cox, Linux Kernel list

On Thu, Feb 09, 2006 at 11:12:27PM +0200, Meelis Roos wrote:
> >Thanks: Utterly dumb bug made while converting to the newer refcounting
> >PCI API
> 
> Yes, it boots now. But reading the disk fails - partition table reading 
> bails out. Maybe this is the same early command problem that affects 
> other controllers too.

Alan, can this related to LBA48 compatibility? I remember having
problems with this when Andre Hedrick added LBA48 support around
linux-2.4.19. The drive (Maxtor 4D040H2) advertised it supported LBA48,
but the chipset (Ali 1543 rev C3, IIRC) didn't.

Unfortunately I can't test it, my Ali main board died a couple of
months ago so I'm just guessing :-(.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-10 12:01                 ` Erik Mouw
@ 2006-02-10 15:46                   ` Alan Cox
  0 siblings, 0 replies; 24+ messages in thread
From: Alan Cox @ 2006-02-10 15:46 UTC (permalink / raw)
  To: Erik Mouw; +Cc: Meelis Roos, Linux Kernel list

On Gwe, 2006-02-10 at 13:01 +0100, Erik Mouw wrote:
> Alan, can this related to LBA48 compatibility? I remember having
> problems with this when Andre Hedrick added LBA48 support around
> linux-2.4.19. The drive (Maxtor 4D040H2) advertised it supported LBA48,
> but the chipset (Ali 1543 rev C3, IIRC) didn't.

I don't think so. There is code to handle it. More likely the tuning
code is wrong and loaded incorrect values. We identify at PIO0 then
select modes.

Best way to test:

Boot with mwdma/udma set to zero in "info" block

then

Boot with only pio 0 claimed as supported and the mode setting logic 
commented out.


That gives a good idea what broke.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-06 16:46 libATA PATA status report, new patch Alan Cox
  2006-02-06 20:04 ` Meelis Roos
  2006-02-07  8:43 ` Meelis Roos
@ 2006-02-12 18:07 ` Kyle Moffett
  2006-07-07 16:29 ` Wakko Warner
  3 siblings, 0 replies; 24+ messages in thread
From: Kyle Moffett @ 2006-02-12 18:07 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide, linux-kernel

On Feb 06, 2006, at 11:46, Alan Cox wrote:
> With the exception of HPA and serialize support its now pretty  
> close to a straight replacement for drivers/ide on x86 systems (and  
> boxes using PCI devices only). There is other stuff that wants  
> improving still like error recovery on CRC, but its getting close.
>
> Please remember that functionality equivalence, and much cleaner  
> code doesn't mean less bugs yet, there is a *lot* of testing and  
> hammering on the code needed before it is production ready for  
> switching.

 From looking at your status file, I can't tell if you've implemented  
the PowerMac IDE support yet (Based on your email's mention of x86- 
only, I'm guessing not).  If/when you do get that support done, I'd  
be more than happy to test it for you on my PPC boxen.  Overall this  
work looks very nice, thanks!

Cheers,
Kyle Moffett

--
There are two ways of constructing a software design. One way is to  
make it so simple that there are obviously no deficiencies. And the  
other way is to make it so complicated that there are no obvious  
deficiencies.  The first method is far more difficult.
   -- C.A.R. Hoare



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-02-06 16:46 libATA PATA status report, new patch Alan Cox
                   ` (2 preceding siblings ...)
  2006-02-12 18:07 ` Kyle Moffett
@ 2006-07-07 16:29 ` Wakko Warner
  2006-07-07 16:52   ` Alan Cox
  3 siblings, 1 reply; 24+ messages in thread
From: Wakko Warner @ 2006-07-07 16:29 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide, linux-kernel

Alan Cox wrote:
> With the exception of HPA and serialize support its now pretty close to
> a straight replacement for drivers/ide on x86 systems (and boxes using
> PCI devices only). There is other stuff that wants improving still like
> error recovery on CRC, but its getting close.
> 
> Please remember that functionality equivalence, and much cleaner code
> doesn't mean less bugs yet, there is a *lot* of testing and hammering on
> the code needed before it is production ready for switching.
> 
> 	http://zeniv.linux.org.uk/~alan/IDE
> 
> for 2.6.16-rc2 patches.

I wanted to try this today on 2.6.17 but there is no patch for that version
and the patch for 2.6.17-rc4 doesn't apply cleanly.  Do you have a newer
patch for this or do I just need to use the ole shoe horn?

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
 Got Gas???

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: libATA  PATA status report, new patch
  2006-07-07 16:29 ` Wakko Warner
@ 2006-07-07 16:52   ` Alan Cox
  0 siblings, 0 replies; 24+ messages in thread
From: Alan Cox @ 2006-07-07 16:52 UTC (permalink / raw)
  To: Wakko Warner; +Cc: linux-ide, linux-kernel

Ar Gwe, 2006-07-07 am 12:29 -0400, ysgrifennodd Wakko Warner:
> I wanted to try this today on 2.6.17 but there is no patch for that version
> and the patch for 2.6.17-rc4 doesn't apply cleanly.  Do you have a newer
> patch for this or do I just need to use the ole shoe horn?

There is a 2.6.17 patch on there. The -mm tree libata is currently more up to date

Alan


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2006-07-07 16:35 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-06 16:46 libATA PATA status report, new patch Alan Cox
2006-02-06 20:04 ` Meelis Roos
2006-02-06 22:53   ` Alan Cox
2006-02-07  8:43 ` Meelis Roos
2006-02-07 11:05   ` Alan Cox
2006-02-07 11:10     ` Meelis Roos
2006-02-07 11:29       ` Ed Sweetman
2006-02-07 11:32         ` Meelis Roos
2006-02-07 11:38       ` Alan Cox
2006-02-07 15:04         ` Alan Cox
2006-02-07 17:02           ` Meelis Roos
2006-02-07 19:38             ` Duplicated SCSI messages (Was: Re: libATA PATA status report, new patch) Tomasz Kłoczko
2006-02-07 17:30           ` libATA PATA status report, new patch Meelis Roos
2006-02-07 17:50           ` Meelis Roos
2006-02-08 13:31             ` Alan Cox
2006-02-08  7:42           ` Meelis Roos
2006-02-08 18:28           ` Meelis Roos
2006-02-09 15:31             ` Alan Cox
2006-02-09 21:12               ` Meelis Roos
2006-02-10 12:01                 ` Erik Mouw
2006-02-10 15:46                   ` Alan Cox
2006-02-12 18:07 ` Kyle Moffett
2006-07-07 16:29 ` Wakko Warner
2006-07-07 16:52   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).