Linux 2.4.32-pre2
Hi,
Here goes another -pre, after a long period.
A couple of USB corrections, a socket hashing bugfix and ipvs race condition, avoidance of rare inode cache SMP race.
And a zlib security update (erratic changelog for that one, my fault), whose CAN number is: CAN-2005-1849
Summary of changes from v2.4.32-pre1 to v2.4.32-pre2
============================================
Alan Stern:
file_storage and UHCI bugfixes
David S. Miller:
[NETLINK]: Fix two socket hashing bugs.
Jakub Bogusz:
[SPARC64]: fix sys32_utimes(somefile, NULL)
Larry Woodman:
workaround inode cache (prune_icache/__refile_inode) SMP races
Marcelo Tosatti:
Change VERSION to 2.4.32-pre2
Merge with rsync://rsync.kernel.org/.../davem/net-2.4.git Revert [NETLINK]: Fix two socket hashing bugs.
Neil Horman:
[IPVS]: Close race conditions on ip_vs_conn_tab list modification
Pete Zaitcev:
usb: printer double up()
Tim Yamin:
Merge with rsync://rsync.kernel.org/.../davem/sparc-2.4.git/ The gzip description is as good as the ChangeLog says it is -: "Set n to
Quoted 2 lines · Marcelo Tosatti
Here goes another -pre, after a long period.
Breaks Toshiba laptop: hard lockup --> what is on screen is same as working dmesg up to point: "host/uhci.c: detected 2 port"
Same .config as for 2.4.31-hf3 or 2.4.32-pre1
http://scatter.mine.nu/test/linux-2.4/tosh/
Grant.
Quoted 9 lines · Grant Coady
Quoted 2 lines · Marcelo Tosatti
Here goes another -pre, after a long period.
Breaks Toshiba laptop: hard lockup --> what is on screen is same as working dmesg up to point: "
host/uhci.c: detected 2 port"Same .config as for 2.4.31-hf3 or 2.4.32-pre1
http://scatter.mine.nu/test/linux-2.4/tosh/
Please try to revert the attached?
[PATCH] file_storage and UHCI bugfixes
The patch below (as547) corrects two minor errors, one in the file_storage gadget driver (need to send a length-zero packet if a control response is short) and one in the alternate UHCI driver (need to set the QH bit in the frame list). Both of these are back-ports of things that have been in 2.6 for several releases.
drivers/usb/gadget/file_storage.c +1 -0
@@ -1454,6 +1454,7 @@ static int fsg_setup(struct usb_gadget */* Respond with data/status or defer until later? */ if (rc >=0 && rc !=DELAYED_STATUS ) { fsg->ep0req->length = rc; + fsg->ep0req->zero = (rc < ctrl->wLength); fsg->ep0req_name = (ctrl->bRequestType &USB_DIR_IN ?"ep0-in" :"ep0-out" ); rc =ep0_queue (fsg);
drivers/usb/host/uhci.c +1 -1
@@ -2924,7 +2924,7 @@ static int alloc_uhci(struct pci_dev *de }/* Only place we don't use the frame list routines */ - uhci->fl->frame[i] = uhci->skeltd[irq]->dma_handle; + uhci->fl->frame[i] = uhci->skeltd[irq]->dma_handle |UHCI_PTR_QH ; }start_hc (uhci);
Quoted 8 lines · Marcelo Tosatti
Quoted 6 lines
Breaks Toshiba laptop: hard lockup --> what is on screen is same as working dmesg up to point: "
host/uhci.c: detected 2 port"Same .config as for 2.4.31-hf3 or 2.4.32-pre1
http://scatter.mine.nu/test/linux-2.4/tosh/Please try to revert the attached?
Yes, that fixed it :o) a USB mouse works.
dmesg:
...host/uhci.c: detected 2 ports <<== previous lockup after thisusb.c: kmalloc IF c12f36e0, numif 1usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI-alt Root Hub
SerialNumber: ff80
...
And the other USB driver (usb-uhci) didn't lockup.
Thanks,
Grant.
drivers/usb/host/uhci.c static int alloc_uhci(struct pci_dev *de · line 2930
Quoted 12 lines · Marcelo Tosatti
drivers/usb/host/uhci.c +1
-1@@ -2924,7 +2924,7 @@ static int alloc_uhci(struct pci_dev *de }/* Only place we don't use the frame list routines */ - uhci->fl->frame[i] = uhci->skeltd[irq]->dma_handle; + uhci->fl->frame[i] = uhci->skeltd[irq]->dma_handle |UHCI_PTR_QH ; }start_hc (uhci);
Am I missing something here? We're certainly adding TDs to the schedule, so why is this patch setting the QH bit?
JE