* IDE problem in 2.4.21-pre1 --> pre5
@ 2003-03-27 1:23 Brad Campbell
2003-03-27 1:52 ` IDE problem in 2.4.21-pre1 --> pre6 Brad Campbell
0 siblings, 1 reply; 2+ messages in thread
From: Brad Campbell @ 2003-03-27 1:23 UTC (permalink / raw)
To: linux-kernel
G'day all,
Just upgraded a system I am developing from 2.4.20 to 2.4.21-preX and
noticed this 20 second hang with ide on bootup.
I am loading a system from a CF card using 2.4.19 as a bootstrap using
two kernel monte to load the new kernel off the filesystem.
With 2.4.20 this was smooth and quick, with the new ide in 2.4.21-pre
it hangs for about 20 seconds while detecting the flash disk. It
proceeds fine from here after resetting the interface, but it never used
to do this. I have tried most combinations of config settings, and
cmdline settings like ide=nodma hda=autotune hda=flash and whaterver
else I could find in ide.c that looked like a likley suspect. Also tried
with use Multimode by default and DMA by default.
Hardware is VIA EPIA800 Mini-ITX board with a homebrew ide-CF adapter.
This has not been an issue previously.
Kernels 2.4.21-pre1 --> pre5 all behave the same.
dmesg snip and .config | grep ^[C] follow.
==================
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: APACER_CF_32MB, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: lost interrupt
hda: task_no_data_intr: status=0x58 { DriveReady SeekComplete DataRequest }
hda: 62976 sectors (32 MB) w/1KiB Cache, CHS=123/16/32
Partition check:
hda:hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hda: drive not ready for command
hda1 hda2
NET4: Linux TCP/IP 1.0 for NET4.0
==================
CONFIG_X86=y
CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_M486=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=4
CONFIG_X86_USE_STRING_486=y
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_PPRO_FENCE=y
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_ISA=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_PM=y
CONFIG_APM=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_ADMA=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
CONFIG_NET_ISA=y
CONFIG_NE2000=m
CONFIG_NET_PCI=y
CONFIG_TULIP=m
CONFIG_EEPRO100=m
CONFIG_NE2K_PCI=m
CONFIG_VIA_RHINE=m
CONFIG_NET_RADIO=y
CONFIG_NET_WIRELESS=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y
CONFIG_SERIAL_SHARE_IRQ=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_I2C=m
CONFIG_I2C_PROC=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_RTC=y
CONFIG_FAT_FS=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="cp437"
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_USB=m
CONFIG_USB_UHCI=m
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_FTDI_SIO=m
--
Brad....
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: IDE problem in 2.4.21-pre1 --> pre6
2003-03-27 1:23 IDE problem in 2.4.21-pre1 --> pre5 Brad Campbell
@ 2003-03-27 1:52 ` Brad Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Brad Campbell @ 2003-03-27 1:52 UTC (permalink / raw)
To: linux-kernel
Brad Campbell wrote:
> G'day all,
>
> Just upgraded a system I am developing from 2.4.20 to 2.4.21-preX and
> noticed this 20 second hang with ide on bootup.
>
Problem still exists in -pre6 (released about an hour before my previous
E-mail)
I also tried ide0=reset to reset the ide bus in case the 2.4.19 kernel
had left it in some strange state.
Tried with the VIA driver compiled in also.. No joy..
Included hdparm -i /dev/hda ; hdparm -I /dev/hda and /proc/pci below.
/home/service # hdparm -i /dev/hda
/dev/hda:
Model=APACER_CF_32MB, FwRev=verB.65, SerialNo=02-86912507
Config={ HardSect NotMFM Removeable DTR>10Mbs nonMagnetic }
RawCHS=123/16/32, TrkSize=16384, SectSize=512, ECCbytes=4
BuffType=DualPort, BuffSize=1kB, MaxMultSect=1, MultSect=off
CurCHS=123/16/32, CurSects=62976, LBA=yes, LBAsects=62976
IORDY=no
PIO modes: pio0 pio1 pio2
AdvancedPM=no
/home/service # hdparm -I /dev/hda
/dev/hda:
CompactFlash ATA device, with removable media
Model Number: APACER_CF_32MB
Serial Number: 02-86912507
Firmware Revision: verB.65
Standards:
Likely used: 4
Configuration:
Logical max current
cylinders 123 123
heads 16 16
sectors/track 32 32
--
bytes/track: 16384 bytes/sector: 512
CHS current addressable sectors: 62976
LBA user addressable sectors: 62976
device size with M = 1024*1024: 30 MBytes
device size with M = 1000*1000: 32 MBytes
Capabilities:
LBA, IORDY(may be)(cannot be disabled)
Buffer size: 1.0kB bytes avail on r/w long: 4 Queue
depth: 1
Standby timer values: spec'd by Vendor
R/W multiple sector transfer: Max = 1 Current = 0
DMA: not supported
PIO: pio0 pio1 pio2
/home/service # cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 5).
Master Capable. Latency=8.
Prefetchable 32 bit memory at 0xd0000000 [0xdfffffff].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
(rev 0).
Master Capable. No bursts. Min Gnt=12.
Bus 0, device 17, function 0:
ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 16).
Bus 0, device 17, function 1:
IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE
(rev 6).
Master Capable. Latency=32.
I/O at 0xd000 [0xd00f].
Bus 0, device 17, function 2:
USB Controller: VIA Technologies, Inc. USB (rev 30).
IRQ 3.
Master Capable. Latency=32.
I/O at 0xd400 [0xd41f].
Bus 0, device 17, function 3:
USB Controller: VIA Technologies, Inc. USB (#2) (rev 30).
IRQ 3.
Master Capable. Latency=32.
I/O at 0xd800 [0xd81f].
Bus 0, device 17, function 4:
Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 16).
Bus 0, device 17, function 5:
Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97
Audio Controller (rev 64).
IRQ 10.
I/O at 0xdc00 [0xdcff].
I/O at 0xe000 [0xe003].
I/O at 0xe400 [0xe403].
Bus 0, device 18, function 0:
Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 81).
IRQ 11.
Master Capable. Latency=32. Min Gnt=3.Max Lat=8.
I/O at 0xe800 [0xe8ff].
Non-prefetchable 32 bit memory at 0xe3000000 [0xe30000ff].
Bus 0, device 20, function 0:
Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550
UART) (rev 1).
IRQ 5.
I/O at 0xec00 [0xec1f].
Bus 1, device 0, function 0:
VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev
106).
IRQ 11.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xe1800000 [0xe1ffffff].
Non-prefetchable 32 bit memory at 0xe2000000 [0xe201ffff].
Non-prefetchable 32 bit memory at 0xe1000000 [0xe17fffff].
--
Brad....
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-27 1:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-27 1:23 IDE problem in 2.4.21-pre1 --> pre5 Brad Campbell
2003-03-27 1:52 ` IDE problem in 2.4.21-pre1 --> pre6 Brad Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox