Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Peter Zaitcev
> From: "David S. Miller" <[EMAIL PROTECTED]> > Date: Mon, 5 Mar 2001 20:53:21 -0800 (PST) >[...] > Gerard Roudier wrote for the sym53c8xx driver the exact thing > UHCI/OHCI need for this. Thanks for the hint. *** Anyways, is this the end of the discussion regarding my patch? If it goes in,

Re: Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Peter Zaitcev
> From: Alan Cox <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] (Peter Zaitcev) > Date: Mon, 5 Mar 2001 20:46:32 -0500 (EST) > > -static unsigned long int DspInst[] = { > > +static unsigned long DspInst[YDSXG_DSPLENGTH / 4] = { > > 0x0081, 0

Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Peter Zaitcev
Hello: the patch does not fix the buzzing, but it does not hurt either. And the way we loaded the microcode before was seriously wrong. Please look. -- Pete diff -ur -X dontdiff linux-2.4.2/drivers/sound/ymfpci.c linux-2.4.2-p3/drivers/sound/ymfpci.c --- linux-2.4.2/drivers/sound/ymfpci.c

SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Peter Zaitcev
AIL PROTECTED]> Subject: Re: [linux-usb-devel] Patch for usb-uhci and poisoned slab (2.4.2-ac7) To: Peter Zaitcev <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] > I found that usb-uhci fails when FORCE_DEBUG is set in mm/slab.c > because it expects 16 bytes alignment for structures it

SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Peter Zaitcev
] Subject: Re: [linux-usb-devel] Patch for usb-uhci and poisoned slab (2.4.2-ac7) To: Peter Zaitcev [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] I found that usb-uhci fails when FORCE_DEBUG is set in mm/slab.c because it expects 16 bytes alignment for structures it allocates. And mm/slab.c changes

Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Peter Zaitcev
Hello: the patch does not fix the buzzing, but it does not hurt either. And the way we loaded the microcode before was seriously wrong. Please look. -- Pete diff -ur -X dontdiff linux-2.4.2/drivers/sound/ymfpci.c linux-2.4.2-p3/drivers/sound/ymfpci.c --- linux-2.4.2/drivers/sound/ymfpci.c

Re: Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Peter Zaitcev
From: Alan Cox [EMAIL PROTECTED] To: [EMAIL PROTECTED] (Peter Zaitcev) Date: Mon, 5 Mar 2001 20:46:32 -0500 (EST) -static unsigned long int DspInst[] = { +static unsigned long DspInst[YDSXG_DSPLENGTH / 4] = { 0x0081, 0x01a4, 0x000a, 0x002f, 0x00080253

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Peter Zaitcev
From: "David S. Miller" [EMAIL PROTECTED] Date: Mon, 5 Mar 2001 20:53:21 -0800 (PST) [...] Gerard Roudier wrote for the sym53c8xx driver the exact thing UHCI/OHCI need for this. Thanks for the hint. *** Anyways, is this the end of the discussion regarding my patch? If it goes in, then

Re: USB oops Linux 2.4.2ac6

2001-02-28 Thread Peter Zaitcev
> > 2.4.2-ac6 > > o USB hub kmalloc wrong size corruption fix (Peter Zaitcev) > The first line of the oops is > > > kernel BUG at slab.c:1398! > > Any other ideas to try? > -Thomas I did not break it, honest! I will be looking in a USB

Re: USB oops Linux 2.4.2ac6

2001-02-28 Thread Peter Zaitcev
2.4.2-ac6 o USB hub kmalloc wrong size corruption fix (Peter Zaitcev) The first line of the oops is kernel BUG at slab.c:1398! Any other ideas to try? -Thomas I did not break it, honest! I will be looking in a USB mouse problem though. If you need an immediate

Patchlet for drivers/usb/hub.c

2001-02-27 Thread Peter Zaitcev
--- linux-2.4.2-ac5/drivers/usb/hub.c Tue Feb 27 15:52:05 2001 +++ linux-2.4.2-ac5-p3/drivers/usb/hub.cTue Feb 27 16:21:32 2001 @@ -150,14 +150,14 @@ unsigned int pipe; int i, maxp, ret; - hub->descriptor = kmalloc(sizeof(hub->descriptor), GFP_KERNEL); +

Patchlet for drivers/usb/hub.c

2001-02-27 Thread Peter Zaitcev
--- linux-2.4.2-ac5/drivers/usb/hub.c Tue Feb 27 15:52:05 2001 +++ linux-2.4.2-ac5-p3/drivers/usb/hub.cTue Feb 27 16:21:32 2001 @@ -150,14 +150,14 @@ unsigned int pipe; int i, maxp, ret; - hub-descriptor = kmalloc(sizeof(hub-descriptor), GFP_KERNEL); +