Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78174 - SATA removable drive locks system with kernel >= 2.6.7
Summary: SATA removable drive locks system with kernel >= 2.6.7
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 22:18 UTC by ta2002
Modified: 2005-01-17 16:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
.config (.config,29.47 KB, text/plain)
2005-01-15 22:21 UTC, ta2002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2005-01-15 22:18:03 UTC
The device: 

http://storcase.com/dataexpress/de110.asp 

It has always worked fine with any kernel up
to and including 2.6.6. Starting with 2.6.7
(both vanilla and Gentoo patched), it does
not work. In fact, trying to access any file
on the drive, renders the entire disk I/O
system unusable (entering any command that
requires access to the fixed hard drive
from a console doesn't execute and never
returns).

The machine has an Intel 6300ESB SATA
Storage Controller (I have "Intel PIIX/ICH
SATA support" enabled in the kernel).
The main hard drive (Seagate SATA) appears
to works fine.

I can mount the filesystem on the drive in
the carrier without any problems, but as
soon as I try to read from or write to that
drive, the applications lock up as soon as
they access the hard drive. Eventually, I
can't do anything, and have to reboot the
system.

The manufacturer claims it knows of no
incompatibilities, and tells me that a lot
of people had problems starting with 2.6.7. 

I had heard that 2.6.7 brought a lot of
changes to the SATA stuff, and I hoped that
this would get fixed soon, but the problem
still exists in Gentoo 2.6.10-r4.

I still keep a 2.6.6 kernel around to dual
boot with when I have to access the drive,
but this represents a large pain in the
you know what (and all of the 2.6.6 ebuilds
have now disappeared from portage).

Reproducible: Always
Steps to Reproduce:
1. mount /dev/sdb1 /mnt/disk
2. cp /mnt/disk/file /path/to/anywhere
Actual Results:  
Maybe a small amount gets copied (about 300k).
After that the console locks up with recovery
impossible.

Expected Results:  
Drive should work as it did pre-2.6.7.

$ emerge -p info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.
10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env 
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts avi berkdb bitmap-fonts caps cdparanoia cdr crypt 
cups dga directfb divx4linux dvd dvdr encode f77 faad fam fbcon flac font-server gd 
ggi gif gmp gphoto2 gpm gtk2 idea imagemagick imap imlib ipv6 javascript jikes 
joystick jpeg kde lcms libg++ libwww live mad matroska mbox memlimit mmx mmx2 mpeg mpi 
mysql nas ncurses network nls nptl oggvorbis opengl pam pdflib perl png qt quicktime 
readline rtc samba scanner sdl silc speex spell sse sse2 ssl svga tcpd theora tiff 
truetype truetype-fonts type1-fonts unicode usb vanilla wifi x86 xinerama xml2 xmms xv 
xvid zlib linguas_en linguas_ru"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-15 22:20:19 UTC
does this problem still occur with 2.6.11_rc1 (-mm1?)
Comment 2 ta2002 2005-01-15 22:21:30 UTC
Created attachment 48620 [details]
.config
Comment 3 ta2002 2005-01-16 14:06:30 UTC
Do you mean these sources?

/usr/portage/sys-kernel/mm-sources/mm-sources-2.6.11_rc1-r1.ebuild

I installed them, and compiled the kernel, and
the problem still exists (no change at all).
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-01-17 16:26:54 UTC
Then please file a bug for this at http://bugzilla.kernel.org as it is not related to gentoo kernels.