Re: Linux 2.6.22-rc2



On Mon, 21 May 2007 21:31:46 -0700
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> wrote:

There maybe some hardware level interaction with SATA controller.
I saw no failures running off i386 kernel of PATA drive and quickly
see errors with SATA/AHCI and x86_64.

AHCI SATA on i386, but I'm not sure that has anything to do with the
problem after what follows below.

I did another test here today. I disconnected my SATA hard disks and
installed a regular PATA drive. The only PATA port I have though, is
on the jmicron 363 controller. So I enabled that controller in the
bios (I keep it disabled because I have no use for it) and installed a
distro on the drive. PCLinuxOS TR4, which probably isn't the best test
system to use (and is not for me), but it's the only one I had on hand
that recognized IDE disks on the jmicron 363 controller with the
distro kernel.

After the install was done, I disconnected the SATA CD drive so there
would be no SATA devices. Nothing was on the ICH8 controller, which
I had put in IDE mode. (no setting to disable it entirely in bios)

I compiled 2.6.22-rc2 without libata/SATA support and only enabled the
old IDE subsystem with the jmicron 36x driver.

2.6.22-rc2 kernel was working well, and I brought up the sky2 eth0
interface alright, and as is the case most of the time (but not
always), I was able to do light stuff with it for a short time (e.g.
ssh in to another box, transfer a small text file etc.) but as soon
as I start trying to move any serious data the same or similar
problem occurs.

The only device using MSI at the time was the sky2, if that's
relevant. There were no other ethernet cards installed at the
time either.

In this case I actually had the kernel crash. First time for me ever
having a kernel oops! System locked up with keyboard LED's blinking.

Not sure if anyone wants to see all of it (maybe some screwy
userland stuff involved), so I won't include that mess in the
message. It's here:
http://www.mikeserv.org/files/kernelcrash.txt

But in there we get this, a somewhat similar message:

May 22 16:16:45 localhost kernel: sky2 0000:04:00.0: error interrupt
status=0x1
May 22 16:16:45 localhost kernel: sky2 eth0: descriptor error q=0x280
get=285 [800042375e2e5e] put=285

I hard booted and tried again a second time, and this time the kernel
didn't oops but I got this:

May 22 16:34:09 testinstall kernel: sky2 0000:04:00.0: error
interrupt status=0x1
May 22 16:34:09 testinstall kernel: sky2 eth0:
descriptor error q=0x280 get=497 [800042367dde5e] put=497
May 22 16:34:09 testinstall kernel: sky2 0000:04:00.0: error interrupt
status=0x80000000
May 22 16:34:09 testinstall kernel: sky2 eth0: hw error interrupt
status 0x8
May 22 16:34:09 testinstall kernel: sky2
eth0: MAC parity error

So it's the same problem. On halting, I quickly saw what looked like
a kernel oops but nothing was logged at that stage.

Third try was the kernel oops again on attempting to transfer a file.

By the way, last night I did grab the dmesg output from the last
attempt to use sky2 on my normal (from scratch) system in case it
would be useful. This is not to be confused with the PATA experiment
above:
http://www.mikeserv.org/files/dmesg-2.6.22-rc2.txt

Mike Houston
-
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: RedHat 10 wishlist
    ... But performance is not everything SATA ... the smaller form factor drives. ... > kernel, ... >> REdhat is to wrap more stuff into its coming workstation release that I ...
    (alt.os.linux.redhat)
  • Changes in SATA, IDE and ATAPI configuration
    ... At the risk of getting flamed for asking a basic question here, could I suggest that a kernel and/or driver developer provide a brief "how-to acticle" somehere that explains the way things have changed from the early 2.6.x days to more recent kernels like 2.6.14 or 2.6.15 with respect to configuring fundamental devices like IDE drives, SATA drives, and ATAPI drives. ... I have been struggling for about two weeks to move an image of an IDE OS Drive that's running a 2.6.14 kernel over to a SATA drive. ... When making fresh installs onto SATA drives, some distributions seem to load the AHCI module and some don't, on exactly the same hardware with the same kernel. ...
    (Linux-Kernel)
  • Re: Treiber fuer SATA?
    ... wieder ein das SCSI den SCSIIDE Krieg gewonnen hat und habe AHCI ... Soweit moeglich alles im Kernel, ... SATA Festplatte ueber IDE->SATA konverter als IDE0/Master ... Platte nicht findet weil der Treiber die Hardware nicht findet. ...
    (de.comp.os.unix.linux.hardware)
  • Re: Plextor PX-716sa DVD-burner how to make it work under SuSE 9.2?
    ... > kernel any way) with SATA, so I thought I would be safe. ... If you go the "SCSI way" for your burner, ... "SuSE's" cdrecord by the recent unmodified cdrtools and the unmodified ...
    (comp.os.linux.hardware)
  • Re: Dell XPS gen 3 trouble
    ... > Dell XPS gen 3 at work, I finally got Debian booted and installed, ... I'm not a Dell expert, but I am using a SATA drive with my ... sata drives, in my understanding. ... I also didn't see what kernel version ...
    (Debian-User)