2004-10-29 15:57:44

by Alan

[permalink] [raw]
Subject: Linux 2.6.9-ac5

This update adds some of the more minor fixes as well as a fix
for a nasty __init bug. Nothing terribly pressing for non-S390 users
unless they are hitting one of the bugs described or need the new
driver bits.

ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.9/

2.6.9-ac5
o Fix oops in and enable IT8212 driver (me)
o Minor delkin driver fix (Mark Lord)
o Fix NFS mount hangs with long FQDN (Jan Kasprzak)
| I've used this version as its clearly correct for 2.6.9
| although it might not be the right future solution
o Fix overstrict FAT checks stopping reading of (Vojtech Pavlik)
some devices like Nokia phones
o Fix misdetection of some drives as MRW capable (Peter Osterlund)
o Fix promise 20267 hang with very long I/O's (Krzysztof Chmielewski)
o Fix a case where serial break was not sent for (Paul Fulghum)
the right time.
o Fix S/390 specific SACF hole (Martin Schwidefsky)
o NVidia ACPI timer override (Andi Kleen)
o Correct VIA PT880 PCI ident (and AGP ident) (Dave Jones)
o Fix EDID/E820 corruption (Venkatesh Pallipadi)
o Tighten security on TIOCCONS ([email protected])
o Fix incorrect __init's that could cause crash (Randy Dunlap)

2.6.9-ac4
o Fix minor DoS bug in visor USB driver (Greg Kroah-Hartmann)
o Delkin cardbus IDE support (Mark Lord)
o Fix SMP hang with IDE unregister (Mark Lord)
o Fix proc file removal with IDE unregister (Mark Lord)
o Fix aic7xxx sleep with locks held and debug (Luben Tuikov)
spew
o First take at HPT372N problem fixing (Alan Cox)

2.6.9-ac3
o Fix syncppp/async ppp problems with new hangup (Paul Fulghum)
o Fix broken parport_pc unload (Andrea Arcangeli)
o Security fix for smbfs leak/overrun (Urban Widmark)
o Stop i8xx_tco making some boxes reboot on load (wim@iguana)
o Fix cpia/module tools deadlock (Peter Pregler)
o Fix missing suid_dumpable export (Alan Cox)

2.6.9-ac2
o Fix invalid kernel version stupidity (Adrian Bunk)
o Compiler ICE workaround/fixup (Linus Torvalds)
o Fix network DoS bug in 2.6.9 (Herbert Xu)
| Suggested by Sami Farin
o Flash lights on panic as in 2.4 (Andi Kleen)

2.6.9-ac1

Security Fixes
o Set VM_IO on areas that are temporarily (Alan Cox)
marked PageReserved (Serious bug)
o Lock ide-proc against driver unload (Alan Cox)
(very low severity)

Bug Fixes
o Working IDE locking (Alan Cox)
| And a great deal of review by Bartlomiej
o Handle E7xxx boxes with USB legacy flaws (Alan Cox)

Functionality
o Allow booting with "irqpoll" or "irqfixup" (Alan Cox)
on systems with broken IRQ tables.
o Support for setuid core dumping in some (Alan Cox)
environments (off by default)
o Support for drives that don't report geometry
o IT8212 support (raid and passthrough) (Alan Cox)
o Allow IDE to grab all unknown generic IDE (Alan Cox)
devices (boot with "all-generic-ide")
o Restore PWC driver (Luc Saillard)

Other
o Small pending tty clean-up to moxa (Alan Cox)
o Put VIA Velocity (tm) adapters under gigabit (VIA)


2004-10-30 04:48:04

by Nuno Silva

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5

Alan Cox wrote:
> This update adds some of the more minor fixes as well as a fix
> for a nasty __init bug. Nothing terribly pressing for non-S390 users
> unless they are hitting one of the bugs described or need the new
> driver bits.
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.9/
>
> 2.6.9-ac5

[lots of fixes...]

Thank god someone started to mantain a stable 2.6 kernel!

(Thank you)^1000000,
Nuno Silva

2004-10-30 09:03:29

by Sami Farin

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5 - more stupid FAT filesystems

On Fri, Oct 29, 2004 at 03:40:32PM +0100, Alan Cox wrote:
> This update adds some of the more minor fixes as well as a fix
> for a nasty __init bug. Nothing terribly pressing for non-S390 users
> unless they are hitting one of the bugs described or need the new
> driver bits.
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.9/
>
> 2.6.9-ac5
> o Fix oops in and enable IT8212 driver (me)
> o Minor delkin driver fix (Mark Lord)
> o Fix NFS mount hangs with long FQDN (Jan Kasprzak)
> | I've used this version as its clearly correct for 2.6.9
> | although it might not be the right future solution
> o Fix overstrict FAT checks stopping reading of (Vojtech Pavlik)
> some devices like Nokia phones

I guess Canon IXUS 400 is overstupid or something.

USB Mass Storage device found at 2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 501760 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3
FAT: invalid first entry of FAT (0xfff8 != 0xfff8)
VFS: Can't find a valid FAT filesystem on dev sdb1.

this is 256MB CF plugged into Lacie USB CF-reader,
Vendor=0aec ProdID=3260 Rev= 1.00.

# fdisk -l /dev/sdb

Disk /dev/sdb: 256 MB, 256901120 bytes
16 heads, 32 sectors/track, 980 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 979 250608 6 FAT16

CF works in Canon and Windows XP. *shrug*
I believe it's formatted in Canon.

Feel free to ask more info.

# dosfsck -V fatflash.bin
dosfsck 2.8, 28 Feb 2001, FAT32, LFN
Starting check/repair pass.
Starting verification pass.
fatflash.bin: 34 files, 5481/62586 clusters

that was dosfstools-2.8-15 from Fedora.
So I can't even fsck the stupid thing so it could be mounted.

--

2004-10-30 11:04:27

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5 - more stupid FAT filesystems

On Sat, Oct 30, 2004 at 12:03:08PM +0300, Sami Farin wrote:

> On Fri, Oct 29, 2004 at 03:40:32PM +0100, Alan Cox wrote:
> > This update adds some of the more minor fixes as well as a fix
> > for a nasty __init bug. Nothing terribly pressing for non-S390 users
> > unless they are hitting one of the bugs described or need the new
> > driver bits.
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.9/
> >
> > 2.6.9-ac5
> > o Fix oops in and enable IT8212 driver (me)
> > o Minor delkin driver fix (Mark Lord)
> > o Fix NFS mount hangs with long FQDN (Jan Kasprzak)
> > | I've used this version as its clearly correct for 2.6.9
> > | although it might not be the right future solution
> > o Fix overstrict FAT checks stopping reading of (Vojtech Pavlik)
> > some devices like Nokia phones
>
> I guess Canon IXUS 400 is overstupid or something.

No, the patch from me (included in -ac) is completely bogus. The correct
patch is attached.

diff -urN linux-2.6.8/fs/fat/inode.c linux-2.6.8-fat/fs/fat/inode.c
--- linux-2.6.8/fs/fat/inode.c 2004-09-30 15:27:58.343661051 +0200
+++ linux-2.6.8-fat/fs/fat/inode.c 2004-09-30 15:33:32.820915377 +0200
@@ -1003,6 +1003,8 @@
/* all is as it should be */
} else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xfe) == first) {
/* bad, reported on pc9800 */
+ } else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xff) == first) {
+ /* bad, reported on Nokia phone with USB storage */
} else if (media == 0xf0 && FAT_FIRST_ENT(sb, 0xf8) == first) {
/* bad, reported with a MO disk on win95/me */
} else if (first == 0) {

--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-10-30 11:20:28

by Greg Louis

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5

On 20041030 (Sat) at 0547:57 +0100, Nuno Silva wrote:
> Alan Cox wrote:
> >ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.9/
> >
> >2.6.9-ac5
>
> [lots of fixes...]
>
> Thank god someone started to mantain a stable 2.6 kernel!
>
> (Thank you)^1000000,

(Concur)^1000000. I was going to wait till at least 2.6.10 -- need
reliable operation, and all the "this-and-that-major-function-is-
broken-again" messages were putting me off -- but Alan can be trusted.

Gratefully..............
--
| G r e g L o u i s | gpg public key: 0x400B1AA86D9E3E64 |
| http://www.bgl.nu/~glouis | (on my website or any keyserver) |
| http://wecanstopspam.org in signatures helps fight junk email. |

2004-10-30 11:20:58

by Sami Farin

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5 - more stupid FAT filesystems

On Sat, Oct 30, 2004 at 01:04:15PM +0200, Vojtech Pavlik wrote:
...
> > I guess Canon IXUS 400 is overstupid or something.
>
> No, the patch from me (included in -ac) is completely bogus. The correct
> patch is attached.

OK :) I reverted the ac5 FAT patch and applied this one,
now it mounts nicely. Thanks.

Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 vfat 245M 27M 218M 11% /mnt/usb

> diff -urN linux-2.6.8/fs/fat/inode.c linux-2.6.8-fat/fs/fat/inode.c
> --- linux-2.6.8/fs/fat/inode.c 2004-09-30 15:27:58.343661051 +0200
> +++ linux-2.6.8-fat/fs/fat/inode.c 2004-09-30 15:33:32.820915377 +0200
> @@ -1003,6 +1003,8 @@
> /* all is as it should be */
> } else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xfe) == first) {
> /* bad, reported on pc9800 */
> + } else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xff) == first) {
> + /* bad, reported on Nokia phone with USB storage */
> } else if (media == 0xf0 && FAT_FIRST_ENT(sb, 0xf8) == first) {
> /* bad, reported with a MO disk on win95/me */
> } else if (first == 0) {

--

2004-10-30 23:36:05

by Alan

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5 - more stupid FAT filesystems

On Sad, 2004-10-30 at 12:04, Vojtech Pavlik wrote:
> No, the patch from me (included in -ac) is completely bogus. The correct
> patch is attached.

Thanks - will roll into -ac6 tomorrow

2004-10-31 13:16:48

by Sami Farin

[permalink] [raw]
Subject: Re: Linux 2.6.9-ac5

On Sat, Oct 30, 2004 at 01:04:15PM +0200, Vojtech Pavlik wrote:

> No, the patch from me (included in -ac) is completely bogus. The correct
> patch is attached.

I made little accident: /mnt/usb was mounted but I had removed the
CF from the USB CF-reader device...
then I ran ls, but to my surprise dir listing contained data from a file
I had just written to /tmp.
Where did them get pulled from?

Oct 31 14:44:43 safari kernel: Current sdb: sense key No Sense
Oct 31 14:44:43 safari last message repeated 32 times
Oct 31 14:44:43 safari kernel: FAT: Filesystem panic (dev sdb1)
Oct 31 14:44:43 safari kernel: fat_get_cluster: invalid cluster chain (i_pos 0)
Oct 31 14:44:43 safari kernel: File system has been set read-only
Oct 31 14:44:43 safari kernel: Current sdb: sense key No Sense
Oct 31 14:44:43 safari kernel: FAT: Filesystem panic (dev sdb1)
Oct 31 14:44:43 safari kernel: fat_get_cluster: invalid cluster chain (i_pos 0)
Oct 31 14:44:43 safari kernel: Current sdb: sense key No Sense
Oct 31 14:44:43 safari kernel: FAT: Filesystem panic (dev sdb1)
Oct 31 14:44:43 safari kernel: fat_get_cluster: invalid cluster chain (i_pos 0)
Oct 31 14:44:43 safari kernel: Current sdb: sense key No Sense
Oct 31 14:44:44 safari kernel: FAT: Filesystem panic (dev sdb1)
Oct 31 14:44:44 safari kernel: fat_get_cluster: detected the cluster chain loop (i_pos 0)
Oct 31 14:44:44 safari kernel: Current sdb: sense key No Sense
...

0 [/mnt/usb]# l
total 63353084
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
-rwxr-xr-x 1 root root 812935539 1985-01-16 03:01:00.000000000 +0200 0
?--------- ? ? ? ? ? 0 19.169
?--------- ? ? ? ? ? 0 19.169
?--------- ? ? ? ? ? 0 19.169
?--------- ? ? ? ? ? 0 19.169
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 0. 0
-rwxr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 0. 0
?--------- ? ? ? ? ? 0
?--------- ? ? ? ? ? 0
?--------- ? ? ? ? ? 0
?--------- ? ? ? ? ? 0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 540024864 1995-12-31 03:01:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 1762275360 1995-12-31 03:01:00.000000000 +0200 12. 0
-rwxr-xr-x 1 root root 1762275360 1995-12-31 03:01:00.000000000 +0200 12. 0
-rwxr-xr-x 1 root root 1762275360 1995-12-31 03:01:00.000000000 +0200 12. 0
-rwxr-xr-x 1 root root 1762275360 1995-12-31 03:01:00.000000000 +0200 12. 0
?--------- ? ? ? ? ? | tran.smi
?--------- ? ? ? ? ? | tran.smi
?--------- ? ? ? ? ? | tran.smi
?--------- ? ? ? ? ? | tran.smi
drwxr-xr-x 3 root root 16384 1970-01-01 02:00:00.000000000 +0200 .
drwxr-xr-x 14 root root 336 2004-10-30 11:18:41.604136432 +0300 ..
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 .0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 .0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 .0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 .0
?--------- ? ? ? ? ? .149.+rb.lsm
-rwxr-xr-x 1 root root 1970105711 1902-02-06 04:54:50.000000000 +0139 .153.119..+r
-rwxr-xr-x 1 root root 1970105711 1902-02-06 04:54:50.000000000 +0139 .254.151..+r
?--------- ? ? ? ? ? / as1663.1 b
-rwxr-xr-x 1 root root 0 1979-12-31 23:00:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 0 1979-12-31 23:00:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 0 1979-12-31 23:00:00.000000000 +0200 0.0
-rwxr-xr-x 1 root root 0 1979-12-31 23:00:00.000000000 +0200 0.0
-r-xr-xr-x 1 root root 778400629 2002-11-12 12:11:02.000000000 +0200 1 banned., s
-rwxr-xr-x 1 root root 1650535788 2034-09-15 05:57:52.000000000 +0300 16631 ba.nne
-rwxr-xr-x 1 root root 1769234787 1902-10-08 05:55:06.000000000 +0139 48.+rbls.mtp
?--------- ? ? ? ? ? 53.118.+.rbl
?--------- ? ? ? ? ? 54.150.+.rbl
-rwxr-xr-x 1 root root 1937072737 2032-11-01 12:41:30.000000000 +0200 631 bann.ed,
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 :.0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 :.0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 :.0
-rwxr-xr-x 1 root root 807411744 1995-12-31 03:01:00.000000000 +0200 :.0
?--------- ? ? ? ? ? ://mail-.abu
?--------- ? ? ? ? ? ://mail-.abu
?--------- ? ? ? ? ? abuse.or.g/r
-r-xr-xr-x 1 root root 838860800 1980-01-01 00:32:00.000000000 +0200 acy.html.#by
-r-xr-xr-x 1 root root 838860800 1980-01-01 00:32:00.000000000 +0200 acy.html.#by
?--------- ? ? ? ? ? ail-abus.e.o
-rwxr-xr-x 1 root root 1919888997 2029-03-01 04:43:24.000000000 +0200 banned,.see
?--------- ? ? ? ? ? candidac.y.h
?--------- ? ? ? ? ? cations./ a
?--------- ? ? ? ? ? cations./ a
?--------- ? ? ? ? ? cogent c.omm
?--------- ? ? ? ? ? e.org/rb.l/c
?--------- ? ? ? ? ? ed, see.htt
?--------- ? ? ? ? ? g/rbl/ca.ndi
-r-xr-xr-x 1 root root 825112368 1980-01-01 12:48:00.000000000 +0200 html#bya.sso
-r-xr-xr-x 1 root root 825112368 1980-01-01 12:48:00.000000000 +0200 html#bya.sso
-rwxr-xr-x 1 root root 28160 1985-12-31 12:51:30.000000000 +0200 idacy.ht.ml#
-rwxr-xr-x 1 root root 28160 1985-12-31 12:51:30.000000000 +0200 idacy.ht.ml#
-r-xr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 inter-|. r
-r-xr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 inter-|. r
-r-xr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 inter-|. r
-r-xr-xr-x 1 root root 538976288 1995-12-31 03:01:00.000000000 +0200 inter-|. r
?--------- ? ? ? ? ? kets err.s d
?--------- ? ? ? ? ? kets err.s d
?--------- ? ? ? ? ? kets err.s d
?--------- ? ? ? ? ? kets err.s d
-r-xr-xr-x 1 root root 539959411 2032-11-20 11:11:06.000000000 +0200 lsmtpd=-.cog
...

I didn't try to read the files... but it might have been interesting :p
After I unmounted /mnt/usb I didn't notice anything odd (like Oopses).

--