Skip to contentSkip to conversation

Linux 2.4.21pre4-ac2

DISCUSSION Alan Cox 6 participants 10 messages Feb 4, 2003 – Feb 6, 2003

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

More IDE updates. Finally switch the IDE layer over to the ide_execute_command interface. This should cure problems people have seen for a long time with big arrays and shared IRQ. Treat this with care. The other stuff is mostly minor fixes and obscure updates, except for the Kahlua audio enabler

Linux 2.4.21pre4-ac2
o Turn on use of ide_execute_command everywhere (Ross Biro, me)
o First cut at settings locking for IDE (me)
o Add driver for CS5530 Kahlua audio (me)
o Fix wrong semicolons in system.h (Mikael Pettersson)
o Support root=nbd (Ben LaHaise)
o x86 byte order swapping optimisations (Andi Kleen)
o PMAC ide updates (Ben Herrenschmidt)
o Fix mishandling of nfsroot port= option (Eric Lammerts)
o Fix ALi audio on systems with > 2Gb RAM (Ivan Kokshaysky)
o Enable generic rtc on PPC boxes (Geert Uytterhoeven)
o Fix ide build with gcc 3.3 snapshot (Olaf Hering)
o Merge EHCI updates (qh state machine fix etc) (David Brownell)
o Fix radio-cadet SMP build (Adrian Bunk)
o Starfire updates (Ion Badulescu)
o Backport seq_file fix to 2.4 (Eric Sandeen)
o Fix ext3 crash deleting a single non sparse (Stephen Tweedie)
file exceeding 1Tb

Linux 2.4.21pre4-ac1
o Restore the mmap corner case fix (Raul)
o Add sendfile64 to 2.4.x (Christoph Hellwig)
o NLM garbage collection hang fix (Daniel Forrest)
o Enable kernel side pcigart for radeon (Michael Danzer)
| Requires recent XFree and ForcePCIMode
o Don't bash legacy floppy on x86_64 bootup (Mikael Petersson)
o Forward sony joygdial input to input layer (Stelian Pop)
o TCP session stall fix (Alexey Kuznetsov)
o Ian Nelson has moved (Ian Nelson)
o Add unplugged iops ready for hotplug IDE support(me)
o Add an OUTBSYNC iop for the IDE layer (Ben Herrenschmidt)
o Finish the ide_execute_command code (me)
o Switch ide-cd to ide_execute_command (me)
| Always good to test stuff on read only devices first 8)
o Fix IDE masking logic error (Ross Biro)
o Fix IDE mishandling of IRQ 0 devices (me)
o Fix printk levels on promise drivers (me)
o Clean up duplicate mmio ops/printk in siimage (me)
o Always set interrupt line with VIA northbridge (me)
| Should fix apic mode problems with USB/audio/net on VIA boards
o Add Diamond technology dt0893 codec (Thomas Davis)
o Add IBM 'Ruthless' platform string to summit
o Don't warn about IRQ when enabling a pure (me)
legacy mode IDE class device
o Clean up radio_cadet locking and other bugs (me)
o Fix jiffies mishandling in eata drivers (Tim Schmielau)
o Quieten confusing DMA disabled messages (Tomas Szepe)
o i830 DRM update port over (Arjan van de Ven)

Linux 2.4.21pre3-ac5
o Fix erratic oopsing on 2.4.21pre3-ac* (Hugh Dickins)
o Fix an incorrect check in raw.c (Artur Frycze)
o Fix highmem IDE DMA (Jens Axboe)
o Fix the size of the EDD area (Kevin Lawton)
o Remove incorrect ACPI blacklist entry (Pavel Machek)
o SCSI memory leak fix (Justin Gibbs)
o Fix mmap of vmalloc area in kmem giving wrong (Tony Dziedzic)
results
o Fix date in the microcode driver (Jonah Sherman)
o Fix incorrect smc9194 handling of skb_padto (David McCullough)
o Fix use of old check_regio function in umc8672 (William Stinson)
o Remove unused variable in sc1200 (Bob Miller)
o Perform ide_cs unregister in task context (Paul Mackerras)
| This doesn't fix all the bugs yet...
o Fix bugs in the gx power management code (Hiroshi Miura)
o Fix the sl82c105 driver for the new IDE code (Benjamin Herrenschmidt,
Russell King)
o Remove cacheflush debug printk (me)
o Fix IDE paths in docs for new layout (Karl-Heinz Eischer)
o Generic RTC driver backport (Geert Uytterhoeven)
o HDLC driver updates (Krzysztof Halasa)
o AMD8111 random number generator support (Andi Kleen)
o Fix crashes on e2100 driver (me)

Linux 2.4.21pre3-ac4
o Finish verifying PIIX/ICH drivers versus errata (me)
o Fix handling of DMA0 MWDMA on early ICH (me)
o Fix compile in kernel for Aurora SIO16 (Adrian Bunk)
o Clean up various Configure.help bits (Adrian Bunk)
o Disallow write combining on 450NX (me)
o Ensure rev C0 450NX has restreaming off (me)
o Don't do IDE DMA on rev B0 450NX or later (me)
450NX without BIOS workarounds for the hang
o Update Configure.help for HPT IDE (Adrian Bunk)
o Fix harmless code error in sb_mixer (Jeff Garzik)
o Fix ethernet padding on via-rhine (Roger Luethi)
o Add ndelay functionality for x86 (me)
| Based on Ross Biro's code
o Add ide_execute_command (me)

	| Again based on Ross Biro's changed. Not yet used
	| This will be the new correct way to kick off an 
	| IDE command from non IRQ context

o Matroxfb compile fix for one option combination (Petr Vandrovec)

Linux 2.4.21pre3-ac3
o Address comments on wcache value/issuing (me)
cache flush requests
o Update credits entry for Stelian Pop (Stelian Pop)
o Backport some sonypi improvements from 2.5 (Kunihiko IMAI)
o Fix pdcraid/silraid symbol clash (Arjan van de Ven)
o Fix ehci build with older gcc (Greg Kroah-Hartmann)
o Fix via 8233/5 hang (me)
o Fix non SMP cpufreq build (Eyal Lebidinsky)
o Fix sbp2 build with some config options (Eyal Lebidinsky)
o Fix ATM build bugs (Francois Romieu)
o Fix an ipc/sem.c race (Bernhard Kaindl)
o Fix toshiba keyboard double release (Unknown)
o CPUFreq updaes/fixes (Dominik Brodowski)
o Natsemi Geode/Cyrix MediaGX cpufreq support (Hiroshi Miura,
Zwane Mwaikambo)
o Add frequency table helpers to CPUfreq (Dominik Brodowski)

Linux 2.4.21pre3-ac2
o Fix the dumb bug in skb_pad (Dave Miller)
o Confirm some sparc bits are wrong and drop them (Dave Miller)
o Remove a wrong additional copyright comment (Dave Miller)
o Upgrade IPMI driver to v16 (Corey Minyard)
o Fix 3c523 compile (Francois Romieu)
o Handle newer rpm where -ta is rpmbuild not rpm (me)
o Driver for Aurora Sio16 PCI adapter series (Joachim Martillo)

	(SIO8000P, 16000P, and CPCI)
	| Initial merge

o Backport Hammer 32bit mtrr/nmi changes (Andi Kleen)
o Add the fast IRQ path to via 8233/5 audio (me)

Linux 2.4.21pre3-ac1
+ Handle battery quirk on the Vaio Z600-RE (Paul Mitcheson)
* EHCI USB updates (David Brownell)
+ IDE Raid support for AMI/SI 'Medley' IDE Raid (Arjan van de Ven)
+ NVIDIA nForce2 IDE PCI identifiers (Johannes Deisenhofer,
Tim Krieglstein)
* CPU bitmask truncation fix (Bjorn Helgaas)
o HP100 cleanup (Pavel Machek)
o Fix initial capslock handling on USB keyboard (Pete Zaitcev)
+ Update dscc4 driver for new wan (Francois Romieu)
+ Fix boot on Chaintech 4BEA/4BEA-R and (Alexander Achenbach)
Gigabyte 9EJL by handing wacky E820 memory
reporting
o SysKonnect driver updates (Mirko Lindner)
o Fix memory leak in n_hdlc (Paul Fulghum)
o Fix missing mtd dependancy (Herbert Xu)
+ Clean up ide-tape printk stuff (Pete Zaitcev)
+ IDE tape fixes (Pete Zaitcev)
o Fix size reporting of large disks in scsi (Andries Brouwer)
+ Fix excessive stack usage in NMI handlers (Mikael Pettersson)
+ Add support for Epson 785EPX USB printer pcmcia (Khalid Aziz)
* Quirk handler to sort out IDE compatibility (Ivan Kokshaysky)
mishandling
+ Model 1 is valid for PIV in MP table (Egenera)
+ Ethernet padding fixes for various drivers (me)
o Allow trident codec setup to time out (Ian Soboroff)
This can happen with non PM codecs
o Fix broken documentation link (Henning Meier-Geinitz)
o Update video4linux docbook (William Stimson)
o Correct kmalloc check in dpt_i2o (Pablo Menichini)
o Shrink kmap area to required space only (Manfred Spraul)
o Fix irq balancing (Ben LaHaise)
o CPUfreq updates (Dominik Brodowski)
o Fix typo in pmagb fb (John Bradford)
o EDD backport (Matt Domsch)

REMOVED FOR NOW

- RMAP

REMOVED FOR GOOD

- LLC (See 2.5)
- VaryIO (Never accepted mainstream)

#1 lore raw

Running into hangs on shutdown/reboot. I've let it set for 5 minutes without it continuing. It hangs while flushing IDE devices. 2.4.21-pre4 shutsdown and reboots fine. I haven't tried 2.4.pre4-ac1.

Messages on screen before hang:

Unmounting remote file systems... done.
Deconfiguring network interfaces... done.
Deactivating swap... done.
Unmounting local filesystems... done.
rebooting,... md: stopping all md devices.
md: marking sb clean...
[sniped normal md shutdown messages]
md: md1 switched to read-only mode.
flushing ide devices: hda hdb _

"_" is where the cursor is when it hangs. Full dmesg output from boot up is below.

I did a test to see if the drive was the issue and removed it. The system still hung.

flushing ide devices: hda hdc hde _

Quoted 4 lines · Alan Cox

More IDE updates. Finally switch the IDE layer over to the ide_execute_command interface. This should cure problems people have seen for a long time with big arrays and shared IRQ. Treat this with care. The other stuff is mostly minor fixes and obscure updates, except for the Kahlua audio enabler

Linux version 2.4.21-pre4-ac1 (root@blip) (gcc version 3.2.1 20020924 (Debian prerelease)) #14 SMP Tue Feb 4 15:01:02 CST 2003 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=302 ide0=ata66 ide1=ata66
ide_setup: ide0=ata66
ide_setup: ide1=ata66
Found and enabled local APIC!
Initializing CPU#0
Detected 1737.307 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3460.30 BogoMIPS
Memory: 515400k/524224k available (1519k kernel code, 8432k reserved, 579k data, 120k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode cache hash table entries: 32768 (order: 6, 262144 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.

CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000

Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check reporting enabled on CPU#0.

CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU0: AMD Athlon(tm) XP 2100+ stepping 02
per-CPU timeslice cutoff: 731.30 usecs.

task migration cache decay timeout: 10 msecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1737.2986 MHz.
..... host bus clock speed is 267.2766 MHz.
cpu: 0, clocks: 2672766, slice: 1336383 CPU0<T0:2672752,T1:1336368,D:1,S:1336383,C:2672766> migration_task 0 on cpu=0
PCI: PCI BIOS revision 2.10 entry at 0xfb560, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-proc.o version 2.6.1 (20010825)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later

     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
PDC20269: IDE controller at PCI slot 01:07.0
PDC20269: chipset revision 2
PDC20269: not 100% native mode: will probe irqs later
     ide2: BM-DMA at 0xa000-0xa007, BIOS settings: hde:pio, hdf:pio
     ide3: BM-DMA at 0xa008-0xa00f, BIOS settings: hdg:pio, hdh:pio

hda: C/H/S=22070/16/255 from BIOS ignored
hda: Maxtor 54610H6, ATA DISK drive
hdb: CREATIVE DVD-ROM DVD1241E, ATAPI CD/DVD-ROM drive
blk: queue c0395f60, I/O limit 4095Mb (mask 0xffffffff)
hdc: Maxtor 54610H6, ATA DISK drive
blk: queue c03963d0, I/O limit 4095Mb (mask 0xffffffff)
hde: Maxtor 4G160J8, ATA DISK drive
blk: queue c0396840, I/O limit 4095Mb (mask 0xffffffff)
hdg: Maxtor 4G160J8, ATA DISK drive
blk: queue c0396cb0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x9000-0x9007,0x9402 on irq 10
ide3 at 0x9800-0x9807,0x9c02 on irq 10
hda: host protected area => 1
hda: 90045648 sectors (46103 MB) w/2048KiB Cache, CHS=89331/16/63, UDMA(100)
hdc: host protected area => 1
hdc: 90045648 sectors (46103 MB) w/2048KiB Cache, CHS=89331/16/63, UDMA(100)
hde: host protected area => 1
hde: 320173056 sectors (163929 MB) w/2048KiB Cache, CHS=19929/255/63, UDMA(133)
hdg: host protected area => 1
hdg: 320173056 sectors (163929 MB) w/2048KiB Cache, CHS=19929/255/63, UDMA(133)
hdb: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
hdc: hdc1 hdc2 hdc3 < hdc5 hdc6 hdc7 >
hde: hde1 hde2
hdg: hdg1 hdg2
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Linux video capture interface: v1.00
md: raid1 personality registered as nr 3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 1999832k swap-space (priority -1)
Adding Swap: 1999832k swap-space (priority -2)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
nvidia: loading NVIDIA Linux x86 NVdriver Kernel Module 1.0-3123 Tue

Aug 27 15:56:48 PDT 2002

PCI: Setting latency timer of device 00:04.0 to 64
Intel 810 + AC97 Audio, version 0.24, 14:35:33 Feb 4 2003
PCI: Setting latency timer of device 00:06.0 to 64
i810: NVIDIA nForce Audio found at IO 0xc800 and 0xc400, MEM 0x0000 and 0x0000, IRQ 11
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 Audio codec, id: ALG32 (ALC650)
i810_audio: AC'97 codec 0, new EID value = 0x05c7
i810_audio: AC'97 codec 0, DAC map configured, total channels = 6
PCI: Setting latency timer of device 00:02.0 to 64 usb-ohci.c: USB OHCI at membase 0xe0b11000, IRQ 10 usb-ohci.c: usb-00:02.0, PCI device 10de:0067 (nVidia Corporation) usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF defd4e40, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: e0b11000
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RRR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface defd4e40
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
PCI: Setting latency timer of device 00:02.1 to 64 usb-ohci.c: USB OHCI at membase 0xe0b13000, IRQ 11 usb-ohci.c: usb-00:02.1, PCI device 10de:0067 (nVidia Corporation) usb.c: new USB bus registered, assigned bus number 2
usb.c: kmalloc IF defd4bc0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: e0b13000
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RRR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface defd4bc0
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
[events: 0000005b]
md: bind<hdc7,1>
[events: 0000005b]
md: bind<hda7,2>
md: hda7's event counter: 0000005b
md: hdc7's event counter: 0000005b
md: RAID level 1 does not need chunksize! Continuing anyway.
md1: max total readahead window set to 124k
md1: 1 data-disks, max readahead per data-disk: 124k
raid1: device hda7 operational as mirror 0
raid1: device hdc7 operational as mirror 1
raid1: raid set md1 active with 2 out of 2 mirrors
md: updating md1 RAID superblock on device
md: hda7 [events: 0000005c]<6>(write) hda7's sb offset: 28772736
md: hdc7 [events: 0000005c]<6>(write) hdc7's sb offset: 28772736
[events: 0000002e]
md: bind<hdc6,1>
[events: 0000002e]
md: bind<hda6,2>
md: hda6's event counter: 0000002e
md: hdc6's event counter: 0000002e
md: RAID level 1 does not need chunksize! Continuing anyway.
md0: max total readahead window set to 124k
md0: 1 data-disks, max readahead per data-disk: 124k
raid1: device hda6 operational as mirror 0
raid1: device hdc6 operational as mirror 1
raid1: raid set md0 active with 2 out of 2 mirrors
md: updating md0 RAID superblock on device
md: hda6 [events: 0000002f]<6>(write) hda6's sb offset: 9999744
md: hdc6 [events: 0000002f]<6>(write) hdc6's sb offset: 9999744 kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on md(9,0), internal journal
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on md(9,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide2(33,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide3(34,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.

author
#2 lore raw
Quoted 4 lines

I did a test to see if the drive was the issue and removed it. The system still hung.

flushing ide devices: hda hdc hde _

I've had several reports of this now. It looks like I have a deadlock when actually deciding to flush IDE caches.

#3 lore raw
In reply to Alan Cox
Quoted 7 lines · Alan Cox

More IDE updates. Finally switch the IDE layer over to the ide_execute_command interface. This should cure problems people have seen for a long time with big arrays and shared IRQ. Treat this with care. The other stuff is mostly minor fixes and obscure updates, except for the Kahlua audio enabler

Linux 2.4.21pre4-ac2

Builds OK but note that the version says -ac1 in the top Makefile.

--
Eyal Lebedinsky ([email protected]) <http://samba.org/eyal/>

#4 lore raw
In reply to Alan Cox

From: Alan Cox <[email protected]>
Date: Tue, Feb 04, 2003 at 12:02:24PM -0500

Quoted 6 lines

More IDE updates. Finally switch the IDE layer over to the ide_execute_command interface. This should cure problems people have seen for a long time with big arrays and shared IRQ. Treat this with care. The other stuff is mostly minor fixes and obscure updates, except for the Kahlua audio enabler

Linux 2.4.21pre4-ac2

Your Makefile still claims to be ac1.

Quoted 2 lines

o Turn on use of ide_execute_command everywhere (Ross Biro, me)
o First cut at settings locking for IDE (me)

Some of these may be responsible for something new: my system hangs at shutdown, saying 'flushing ide devices: hda hdc'. This didn't happen with 2.4.21pre3-ac5. hdc is a cdwriter, used as ide-scsi.

Kind regards,
Jurriaan

Linux version 2.4.21-pre4-ac2 (root@middle) (gcc version 3.2.2 20030131 (Debian prerelease)) #2 SMP Tue Feb 4 20:17:24 CET 2003 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
511MB LOWMEM available.
found SMP MP-table at 000f4f80
hm, page 000f4000 reserved twice.
hm, page 000f5000 reserved twice.
hm, page 000f1000 reserved twice.
hm, page 000f2000 reserved twice.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 2
Kernel command line: root=/dev/hda7 video=matrox:vesa:0x11E,fv:80,sgram hdc=scsi apm=power-off
ide_setup: hdc=scsi
Initializing CPU#0
Detected 1173.836 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2339.63 BogoMIPS
Memory: 515104k/524224k available (1748k kernel code, 8732k reserved, 439k data, 336k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.

CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000

Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check reporting enabled on CPU#0.

CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel(R) Pentium(R) III CPU - S         1400MHz stepping 04
per-CPU timeslice cutoff: 1463.48 usecs.

task migration cache decay timeout: 10 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 2346.18 BogoMIPS
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check reporting enabled on CPU#1.

CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU1: Intel(R) Pentium(R) III CPU - S         1400MHz stepping 04

Total of 2 processors activated (4685.82 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 25.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00178011

.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0011

.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:

 00 000 00  1    0    0   0   0    0    0    00
 01 001 01  0    0    0   0   0    1    1    39
 02 001 01  0    0    0   0   0    1    1    31
 03 001 01  0    0    0   0   0    1    1    41
 04 001 01  0    0    0   0   0    1    1    49
 05 001 01  1    1    0   1   0    1    1    51
 06 001 01  0    0    0   0   0    1    1    59
 07 001 01  0    0    0   0   0    1    1    61
 08 001 01  0    0    0   0   0    1    1    69
 09 001 01  0    0    0   0   0    1    1    71
 0a 001 01  1    1    0   1   0    1    1    79
 0b 001 01  1    1    0   1   0    1    1    81
 0c 001 01  0    0    0   0   0    1    1    89
 0d 001 01  0    0    0   0   0    1    1    91
 0e 001 01  0    0    0   0   0    1    1    99
 0f 001 01  0    0    0   0   0    1    1    A1
 10 000 00  1    0    0   0   0    0    0    00
 11 000 00  1    0    0   0   0    0    0    00
 12 000 00  1    0    0   0   0    0    0    00
 13 000 00  1    0    0   0   0    0    0    00
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00

IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1173.8847 MHz.
..... host bus clock speed is 111.7985 MHz.
cpu: 0, clocks: 1117985, slice: 372661 CPU0<T0:1117984,T1:745312,D:11,S:372661,C:1117985>
cpu: 1, clocks: 1117985, slice: 372661 CPU1<T0:1117984,T1:372656,D:6,S:372661,C:1117985>
migration_task 0 on cpu=0
migration_task 1 on cpu=1
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: your CPUs had inconsistent variable MTRR settings
mtrr: probably your BIOS does not setup all CPUs
PCI: PCI BIOS revision 2.10 entry at 0xfb3c0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1106/3101] at 00:00.0
PCI->APIC IRQ transform: (B0,I9,P0) -> 11
PCI->APIC IRQ transform: (B0,I11,P0) -> 10
PCI->APIC IRQ transform: (B0,I12,P0) -> 5
PCI->APIC IRQ transform: (B0,I13,P0) -> 11
PCI->APIC IRQ transform: (B0,I14,P0) -> 10
PCI->APIC IRQ transform: (B0,I15,P0) -> 10
PCI->APIC IRQ transform: (B0,I17,P3) -> 5
PCI->APIC IRQ transform: (B0,I17,P3) -> 5
PCI->APIC IRQ transform: (B0,I17,P3) -> 5
PCI->APIC IRQ transform: (B0,I18,P0) -> 11
PCI->APIC IRQ transform: (B1,I0,P0) -> 11
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
apm: disabled - APM is not SMP safe (power off active).
Starting kswapd
matroxfb: Matrox G400 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 1600x1200x16bpp (virtual: 1600x5241)
matroxfb: framebuffer at 0xD4000000, mapped to 0xe0805000, size 33554432
Console: switching to colour frame buffer device 133x54
fb0: MATROX VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0: MII transceiver #1 config 3100 status 7829 advertising 01e1.
eth0: Lite-On 82c168 PNIC rev 32 at 0xac00, 00:A0:CC:21:A1:AC, IRQ 5. via-rhine.c:v1.10-LK1.1.15 November-22-2002 Written by Donald Becker
http://www.scyld.com/network/via-rhine.html
eth1: VIA VT6102 Rhine-II at 0xda022000, 00:d0:68:00:5a:8b, IRQ 11.
eth1: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20265: IDE controller at PCI slot 00:0d.0
PDC20265: chipset revision 2
PDC20265: not 100% native mode: will probe irqs later
PDC20265: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.

    ide2: BM-DMA at 0xc000-0xc007, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0xc008-0xc00f, BIOS settings: hdg:DMA, hdh:pio

HPT370A: IDE controller at PCI slot 00:0f.0
HPT370A: chipset revision 4
HPT370A: not 100% native mode: will probe irqs later
HPT37X: using 33MHz PCI clock

    ide4: BM-DMA at 0xd800-0xd807, BIOS settings: hdi:DMA, hdj:pio
    ide5: BM-DMA at 0xd808-0xd80f, BIOS settings: hdk:DMA, hdl:pio

VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1

    ide0: BM-DMA at 0xdc00-0xdc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xdc08-0xdc0f, BIOS settings: hdc:DMA, hdd:pio

hda: Maxtor 33073H3, ATA DISK drive
blk: queue c03df440, I/O limit 4095Mb (mask 0xffffffff)
hdc: LITE-ON LTR-40125W, ATAPI CD/DVD-ROM drive
hde: Maxtor 4G120J6, ATA DISK drive
hdf: Maxtor 4G120J6, ATA DISK drive
blk: queue c03dfd60, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03dfebc, I/O limit 4095Mb (mask 0xffffffff)
hdg: IBM-DTLA-307045, ATA DISK drive
blk: queue c03e01f0, I/O limit 4095Mb (mask 0xffffffff)
hdi: WDC WD800JB-00CRA1, ATA DISK drive
blk: queue c03e0680, I/O limit 4095Mb (mask 0xffffffff)
hdk: WDC WD800JB-00CRA1, ATA DISK drive
blk: queue c03e0b10, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xb000-0xb007,0xb402 on irq 11
ide3 at 0xb800-0xb807,0xbc02 on irq 11
ide4 at 0xc800-0xc807,0xcc02 on irq 10
ide5 at 0xd000-0xd007,0xd402 on irq 10
hda: host protected area => 1
hda: 60032448 sectors (30737 MB) w/2048KiB Cache, CHS=3736/255/63, UDMA(100)
hde: host protected area => 1
hde: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63, UDMA(100)
hdf: host protected area => 1
hdf: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63, UDMA(100)
hdg: host protected area => 1
hdg: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=89355/16/63, UDMA(100)
hdi: host protected area => 1
hdi: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63, UDMA(100)
hdk: host protected area => 1
hdk: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63, UDMA(100)
ide-cd: passing drive hdc to ide-scsi emulation.
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 >
hde: hde1 hde2
hdf: hdf1 hdf2
hdg:<6> [PTBL] [5606/255/63] hdg1 hdg2
hdi: hdi1 hdi2
hdk: hdk1 hdk2
SCSI subsystem driver Revision: 1.00
sym53c8xx: at PCI bus 0, device 11, function 0
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c860 detected
sym53c860-0: rev 0x13 on pci bus 0 device 11 function 0 irq 10
sym53c860-0: ID 7, Fast-20, Parity Checking
scsi0 : sym53c8xx-1.7.3c-20010512

  Vendor: TOSHIBA   Model: DVD-ROM SD-M1401  Rev: 1007
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.02
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: YAMAHA    Model: CRW2100S          Rev: 1.0N
  Type:   CD-ROM                             ANSI SCSI revision: 02

scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: LITE-ON Model: LTR-40125W Rev: WS05
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0 Attached scsi CD-ROM sr1 at scsi0, channel 0, id 2, lun 0 Attached scsi CD-ROM sr2 at scsi0, channel 0, id 5, lun 0 Attached scsi CD-ROM sr3 at scsi1, channel 0, id 0, lun 0 sym53c860-0-<1,*>: FAST-20 SCSI 20.0 MB/s (50.0 ns, offset 8)
sr0: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 sym53c860-0-<2,*>: FAST-20 SCSI 20.0 MB/s (50.0 ns, offset 8)
sr1: scsi-1 drive
sym53c860-0-<5,*>: FAST-20 SCSI 20.0 MB/s (50.0 ns, offset 7)
sr2: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr3: scsi3-mmc drive: 247x/48x writer cd/rw xa/form2 cdda tray
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed

   8regs     :  2163.600 MB/sec
   32regs    :   965.200 MB/sec
   pIII_sse  :  2747.200 MB/sec
   pII_mmx   :  2602.400 MB/sec
   p5_mmx    :  2755.200 MB/sec

raid5: using function: pIII_sse (2747.200 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
[events: 00000066]
[events: 00000063]
[events: 00000066]
[events: 00000063]

md: autorun ...
md: considering hdk2 ...
md:  adding hdk2 ...
md:  adding hdi2 ...
md: created md1
md: bind<hdi2,1>
md: bind<hdk2,2>
md: running: <hdk2><hdi2>
md: hdk2's event counter: 00000063
md: hdi2's event counter: 00000063
md1: max total readahead window set to 512k
md1: 2 data-disks, max readahead per data-disk: 256k
raid0: looking at hdi2
raid0:   comparing hdi2(7590656) with hdi2(7590656)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hdk2
raid0:   comparing hdk2(7590656) with hdi2(7590656)
raid0:   EQUAL
raid0: FINAL 1 zones
raid0: zone 0
raid0: checking hdi2 ... contained as device 0
  (7590656) is smallest!.
raid0: checking hdk2 ... contained as device 1
raid0: zone->nb_dev: 2, size: 15181312
raid0: current zone offset: 7590656
raid0: done.
raid0 : md_size is 15181312 blocks.
raid0 : conf->smallest->size is 15181312 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md1 RAID superblock on device
md: hdk2 [events: 00000064]<6>(write) hdk2's sb offset: 7590656
md: hdi2 [events: 00000064]<6>(write) hdi2's sb offset: 7590656
md: considering hdk1 ...
md:  adding hdk1 ...
md:  adding hdi1 ...
md: created md0
md: bind<hdi1,1>
md: bind<hdk1,2>
md: running: <hdk1><hdi1>
md: hdk1's event counter: 00000066
md: hdi1's event counter: 00000066
md0: max total readahead window set to 512k
md0: 2 data-disks, max readahead per data-disk: 256k
raid0: looking at hdi1
raid0:   comparing hdi1(70559872) with hdi1(70559872)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hdk1
raid0:   comparing hdk1(70559872) with hdi1(70559872)
raid0:   EQUAL
raid0: FINAL 1 zones
raid0: zone 0
raid0: checking hdi1 ... contained as device 0

(70559872) is smallest!.
raid0: checking hdk1 ... contained as device 1
raid0: zone->nb_dev: 2, size: 141119744
raid0: current zone offset: 70559872
raid0: done.
raid0 : md_size is 141119744 blocks.
raid0 : conf->smallest->size is 141119744 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md0 RAID superblock on device
md: hdk1 [events: 00000067]<6>(write) hdk1's sb offset: 70559872
md: hdi1 [events: 00000067]<6>(write) hdi1's sb offset: 70559872
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 32Kbytes
TCP: Hash tables configured (established 16384 bind 21845)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 336k freed
Adding Swap: 1574328k swap-space (priority -1)
Real Time Clock Driver v1.10e
loop: loaded (max 8 devices)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro 266T chipset
agpgart: AGP aperture is 64M @ 0xd0000000
[drm] AGP 0.99 on VIA Apollo Pro 266T @ 0xd0000000 64MB
[drm] Initialized mga 3.0.2 20010321 on minor 0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 20:20:33 Feb 4 2003 usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xe800, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver usbscanner
scanner.c: 0.4.10:USB Scanner Driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NTFS driver v1.1.22 [Flags: R/O MODULE]
udf: registering filesystem
i2c-core.o: i2c core module
i2c-proc.o version 2.6.1 (20010825)
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
reiserfs: checking transaction log (device 03:0b) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 03:0c) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 09:00) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 09:01) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 21:01) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 21:02) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 21:41) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 21:42) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
eth0: Setting full-duplex based on MII#1 link partner capability of 05e1.

Signature · 2 lines
The Swedish Chef has been assimilated. "Borg borg borg!"
GNU/Linux 2.4.21-pre3-ac5 SMP/ReiserFS 2x2339 bogomips load av: 3.22 3.33 2.41
#5 lore raw

Re: Linux 2.4.21pre4-ac2 : hangs at flushing hda hdc

Quoted 3 lines · Jurriaan

Some of these may be responsible for something new: my system hangs at shutdown, saying 'flushing ide devices: hda hdc'. This didn't happen with 2.4.21pre3-ac5. hdc is a cdwriter, used as ide-scsi.

same thing for me:
2.4.21-pre4-ac1 seems the most stable ever for my hardware (not a single hang or freeze, any other kernel would freeze more or less once a day) but still needs longer testing for validation regarding my troubles.

2.4.21-pre4-ac2 systematically hangs at shutdown/reboot ending with:
flushing ide devices: hda hdc

here below my lspci / hdparm -I / /proc/interrupts / /proc/pci

**************************************************************************

3 [15:54] sjd@mint:/home/jd# lspci
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 02) 00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 02) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4200] (rev a3) 02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) 02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

**************************************************************************

4 [15:55] sjd@mint:/home/jd# hdparm -I /dev/hda

/dev/hda:

non-removable ATA device, with non-removable media

        Model Number:           Maxtor 6Y120P0
        Serial Number:          Y40FKPWE
        Firmware Revision:      YAR41VW0

Standards:
Supported: 1 2 3 4 5 6 7
Likely used: 7
Configuration:

        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        bytes/track:    0               (obsolete)
        bytes/sector:   0               (obsolete)

current sector capacity: 16514064
LBA user addressable sectors = 240121728
Capabilities:
LBA, IORDY(can be disabled)
Buffer size: 7936.0kB ECC bytes: 57 Queue depth: 1
Standby timer values: spec'd by standard, no device specific minimum r/w multiple sector transfer: Max = 16 Current = 16
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* look-ahead
* write cache
* Power Management feature set
Security Mode feature set
SMART feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct

**************************************************************************

5 [15:55] sjd@mint:/home/jd# hdparm -I /dev/hdc

/dev/hdc:

ATAPI CD-ROM, with removable media
Model Number: JLMS DVD-ROM LTD-166S
Serial Number:
Firmware Revision: DS0B
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns

**************************************************************************

6 [15:56] sjd@mint:/home/jd# cat /proc/interrupts
CPU0

  0:      62486          XT-PIC  timer
  1:       3195          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:      11820          XT-PIC  eth0, Intel ICH4
 10:          1          XT-PIC  ohci1394
 11:      45676          XT-PIC  nvidia
 12:      15124          XT-PIC  PS/2 Mouse
 14:      11519          XT-PIC  ide0
 15:         16          XT-PIC  ide1
NMI:          0
LOC:      62452
ERR:          0
MIS:          0

**************************************************************************

7 [15:56] sjd@mint:/home/jd# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 2).
Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 2).
Master Capable. Latency=64. Min Gnt=8.
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 130).
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 2).
Bus 0, device 31, function 1:

    IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 2).
      IRQ 9.
      I/O at 0xf000 [0xf00f].
      Non-prefetchable 32 bit memory at 0x10000000 [0x100003ff].
  Bus  0, device  31, function  5:
    Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 2).
      IRQ 5.
      I/O at 0xa800 [0xa8ff].
      I/O at 0xa400 [0xa43f].
      Non-prefetchable 32 bit memory at 0xe4000000 [0xe40001ff].
      Non-prefetchable 32 bit memory at 0xe3800000 [0xe38000ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4200] (rev 163).
      IRQ 11.
      Master Capable.  Latency=248.  Min Gnt=5.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xe6000000 [0xe6ffffff].
      Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
      Prefetchable 32 bit memory at 0xe7800000 [0xe787ffff].
  Bus  2, device   3, function  0:
    FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 128).
      IRQ 10.
      Master Capable.  Latency=32.  Max Lat=32.
      Non-prefetchable 32 bit memory at 0xe5000000 [0xe50007ff].
      I/O at 0xb800 [0xb87f].
  Bus  2, device  11, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
      IRQ 5.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xb400 [0xb4ff].
      Non-prefetchable 32 bit memory at 0xe4800000 [0xe48000ff].

--
Quand les plombs pêtent : « Ðïsjüñ£t.¢€× »

#6 lore raw

2.4.21pre4-ac2 IDE status on PDC20268

In reply to Alan Cox

I gave 2.4.21-pre4-ac2 a spin.

IDE seems to be shaping up, the only problem I ran into with it is about the darn PDC20268 -- again. It seems to work nicely but misdetects the max transfer rate of the only drive on the secondary channel and then won't allow me to set UDMA > 2 on it (I get no error msg but there's no change).

The ideX=ata66 switch doesn't seem to do anything any more. (On 2.4.{19,20} if I omit "ide2=ata66 ide3=ata66", I get the UDMA <= 2 restriction on *both* channels of the PDC.)

hdparm -Iv of the affected drive (from 2.4.20):
/dev/hdg:

 multcount    =  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)

geometry = 1869/255/63, sectors = 30033360, start = 0

ATA device, with non-removable media

	Model Number:       IBM-DJNA-351520                         
	Serial Number:      G80GLT4F735
	Firmware Revision:  J56OA30K
Standards:
	Used: ATA/ATAPI-4 T13 1153D revision 17 
	Supported: 4 3 2 1 & some of 5
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:   30033360
	device size with M = 1024*1024:       14664 MBytes
	device size with M = 1000*1000:       15377 MBytes (15 GB)

Capabilities:
LBA, IORDY(can be disabled)
Buffer size: 430.0kB bytes avail on r/w long: 34 Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
Release interrupt
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
Address Offset Reserved Area Boot
* READ/WRITE DMA QUEUED
* DOWNLOAD MICROCODE cmd
Security:
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
26min for SECURITY ERASE UNIT.

Compare:

Linux version 2.4.21-pre4-ac2 (kala@ns) (gcc version 2.95.3 20010315 (release)) #1 Wed Feb 5 06:50:14 CET 2003
...
Kernel command line: auto BOOT_IMAGE=l rw root=900
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller at PCI slot 00:04.1
PCI: Enabling device 00:04.1 (0000 -> 0001)
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
PIIX3: neither IDE port enabled (BIOS)
PDC20268: IDE controller at PCI slot 00:06.0
PDC20268: chipset revision 2
PDC20268: not 100% native mode: will probe irqs later

    ide2: BM-DMA at 0xf8b0-0xf8b7, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xf8b8-0xf8bf, BIOS settings: hdg:pio, hdh:pio

hde: WDC WD205BA, ATA DISK drive
blk: queue c02abf60, I/O limit 4095Mb (mask 0xffffffff)
hdg: IBM-DJNA-351520, ATA DISK drive
blk: queue c02ac3d0, I/O limit 4095Mb (mask 0xffffffff)
ide2 at 0xf898-0xf89f,0xf8aa on irq 9
ide3 at 0xf8a0-0xf8a7,0xf8ae on irq 9
hde: host protected area => 1
hde: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=39770/16/63, UDMA(66)
hdg: host protected area => 1
hdg: 30033360 sectors (15377 MB) w/430KiB Cache, CHS=29795/16/63, UDMA(33)

                                                                       ^^

vs.

Linux version 2.4.21-pre4-2420ide-1 (kala@ns) (gcc version 2.95.3 20010315 (release)) #1 Wed Jan 29 11:27:16 CET 2003
...
Kernel command line: auto BOOT_IMAGE=l rw root=900 ide2=ata66 ide3=ata66
ide_setup: ide2=ata66
ide_setup: ide3=ata66
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller on PCI bus 00 dev 21
PCI: Enabling device 00:04.1 (0000 -> 0001)
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
PIIX3: neither IDE port enabled (BIOS)
PDC20268: IDE controller on PCI bus 00 dev 30
PDC20268: chipset revision 2
PDC20268: not 100% native mode: will probe irqs later
PDC20268: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
PDC20268: ATA-66/100 forced bit set (WARNING)!!

    ide2: BM-DMA at 0xf8b0-0xf8b7, BIOS settings: hde:pio, hdf:pio
PDC20268: ATA-66/100 forced bit set (WARNING)!!
    ide3: BM-DMA at 0xf8b8-0xf8bf, BIOS settings: hdg:pio, hdh:pio

hde: WDC WD205BA, ATA DISK drive
hdg: IBM-DJNA-351520, ATA DISK drive
ide2 at 0xf898-0xf89f,0xf8aa on irq 9
ide3 at 0xf8a0-0xf8a7,0xf8ae on irq 9
blk: queue c029d38c, I/O limit 4095Mb (mask 0xffffffff)
hde: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=39770/16/63, UDMA(66)
blk: queue c029d6f0, I/O limit 4095Mb (mask 0xffffffff)
hdg: 30033360 sectors (15377 MB) w/430KiB Cache, CHS=29795/16/63, UDMA(66)

T.

author
#7 lore raw

Re: 2.4.21pre4-ac2 IDE status on PDC20268

Quoted 3 lines

but misdetects the max transfer rate of the only drive on the secondary channel and then won't allow me to set UDMA > 2 on it (I get no error msg but there's no change).

The 20268 code explicitly enforces that rule. I need to talk to Andre to find out exactly why. It is being done intentionally

#8 lore raw

Re: 2.4.21pre4-ac2 IDE status on PDC20268

Quoted 8 lines

[[email protected]]

Quoted 3 lines

but misdetects the max transfer rate of the only drive on the secondary channel and then won't allow me to set UDMA > 2 on it (I get no error msg but there's no change).

The 20268 code explicitly enforces that rule. I need to talk to Andre to find out exactly why. It is being done intentionally

Hmm, could you point me to the code in question?
I can't find it. Thanks.

Signature · 1 line
Tomas Szepe <[email protected]>
author
#9 lore raw

Re: 2.4.21pre4-ac2 IDE status on PDC20268

Quoted 5 lines
Quoted 2 lines

The 20268 code explicitly enforces that rule. I need to talk to Andre to find out exactly why. It is being done intentionally

Hmm, could you point me to the code in question?
I can't find it. Thanks.

Hash collision, I was remembering something else. The 20268 should be setting up ATA66/100 unless the drive matches the blacklist