Re: sata_sil24 broken since 2.6.23-rc4-mm1



Hello, Torsten.

Torsten Kaiser wrote:
On 9/28/07, Torsten Kaiser <just.for.lkml@xxxxxxxxxxxxxx> wrote:
So in case of -rc3-mm1 I'm pretty sure that it works.

That's still the case.

Ah... that's weird. It would be much better if -rc3-mm1 is broken too. :-P

Not completely sure is if 2.6.23-rc7-sglist kernel works. I booted
that 9 times, but from a quick look in /var/log/messages, I might not
have hit the "correct" situation to trigger the error.
That kernel is vanilla 2.6.23-rc7 plus the patch from
http://www.kernel.org/pub/linux/kernel/people/tomo/misc/v2.6.23-rc7-sglist-arch.diff.bz2
( http://marc.info/?l=linux-ide&m=119055574826083&w=2 )

That is no longer the case. Yesterday this kernel did also show the failure.
The error looked a little bit different, but happend at the same
location during the bootup.
Sadly dmesg overflowed and I was not able to capture the first error.

[ 53.462632] Freeing unused kernel memory: 332k freed
ite cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 77.170903] ata1.00: exception Emask 0x40 SAct 0x1 SErr 0x0 action 0x2
[ 77.170905] ata1.00: irq_stat 0x00020002, SGT no on qword boundary
[ 77.170908] ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0
cdb 0x0 data 4096 out
[ 77.170909] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask
0x40 (internal error)

Hmm... SGT not on qword boundary? Please add the following to the end
of sil24_port_start() and report successful and failed kernel boot log.

printk("XXX sil24 cb=%p cb_dma=%llx\n",
cb, (unsigned long long)cb_dma);

Also, does 'dmesg -s 10000000' give full dmesg?

I rebooted into a system (kernel 2.6.21-rc5-mm2, please not the
2.6.*21*, that is only a rescue system and not updated often) on a
separate partition to rebuild it. When I tried to readd the failed sdb
the system locked up with this error:

Sep 29 22:25:37 treogen [ 205.407893] ata2.00: exception Emask 0x0
SAct 0x0 SErr 0x0 action 0x2 frozen
Sep 29 22:25:37 treogen [ 205.407900] ata2.00: cmd
ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
Sep 29 22:25:37 treogen [ 205.407901] res
40/00:01:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (time out)

Is it possible that the bug is much older, and only some change in
rc3-mm->rc4-mm makes it visible that the initialization of the SiI3132
is incomplete?

I can't tell but there is a pretty large userbase of sil24/32 and you
seem to be the only one to report this problem yet. I think it might be
coming somewhere else than libata or sata_sil24 itself. Hmmm... It
would be really great if you can break -rc3-mm1 too. Correct behavior
for something like that for just one -mm version sounds very weird.

Thanks.

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



Relevant Pages

  • Re: USB regression (and other failures) in 2.6.2[45]*
    ... In my current testing kernel, which I believe is the one with which I ... captured the sole successful non-2.6.23.1 dmesg so far, ... then none of your USB devices would be able to run at high speed. ... That would require me to learn enough of how git works, ...
    (Linux-Kernel)
  • Lost Ticks on x86_64
    ... I've had this problem on every kernel I've tried running (as far as I ... error appears in my dmesg usually after a CPU-intensive task (glxgears ... this machine has an Adaptec 2100S SCSI controller ... the nVidia SMBus, the nVidia USB controller, and the TI IEEE1394 ...
    (Linux-Kernel)
  • Re: Optimizationn questions?
    ... a look at dmesg output - for example, Intel Celeron 400Mhz is a 686 ... class processor (I686_CPU in the kernel configuration file): ... I signal to gcc to unroll loops ... Gary Kline kline@xxxxxxxxxxx www.thought.org Public Service Unix ...
    (freebsd-questions)
  • Re: dmesg does not see ide/cdrom
    ... > another nVidia driver for it, and I wasn't sure if I could install it ... This sounds like it refers to compiling the kernel, ... dmesg file and, as I suspected, it is incomplete. ...
    (comp.os.linux.hardware)
  • USB external CD-RW and FreeBSD 5.3
    ... Here is a partial DMESG with some kernel log messages; ... usb2: OHCI version 1.0 ... Nov 3 10:47:26 tarkhil kernel: GEOM: new disk da0 ...
    (freebsd-stable)