Re: [linux-usb-devel] boot from usb again

2006-06-20 Thread Wojciech Kromer
OK. Thank You. Finally I wrote small script making initrd for my installation. Anyway: > The most common reasons for this to fail are: > > The kernel tries to access to root partition before the > USB and SCSI stacks have created it. > > Hmmm. I can see on my console that usbstor

Re: [linux-usb-devel] boot from usb again

2006-06-20 Thread Wojciech Kromer
Dnia 2006-06-19 13:13, Użytkownik Jinesh K J napisał: > On 6/19/06, Wojciech Kromer <[EMAIL PROTECTED]> wrote: > >> After reading lot of discusions on this issue, I can't still get >> why there is an error booting from root=/dev/sda1 or even root=8:1. >> >> > so, what is the error shown? i

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Andrew Morton
On Mon, 19 Jun 2006 10:21:54 +0200 Andreas Mohr <[EMAIL PROTECTED]> wrote: > I'm having severe issues with cdrecord aborting with "buffer underrun" > message, *always*. Problem nailed, see below. [hald polling causes cdrecord to go bad on a USB CD drive] One possible reason is that we're shootin

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Andreas Mohr
Hi, On Tue, Jun 20, 2006 at 01:37:41AM -0700, Andrew Morton wrote: > On Mon, 19 Jun 2006 10:21:54 +0200 > Andreas Mohr <[EMAIL PROTECTED]> wrote: > > > I'm having severe issues with cdrecord aborting with "buffer underrun" > > message, *always*. Problem nailed, see below. > > [hald polling cause

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Alan Cox
Ar Maw, 2006-06-20 am 01:37 -0700, ysgrifennodd Andrew Morton: > [hald polling causes cdrecord to go bad on a USB CD drive] > > One possible reason is that we're shooting down the device's pagecache by > accident as a result of hald activity. On IDE hal causes problems with some drives because t

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Andrew Morton
On Tue, 20 Jun 2006 10:47:59 +0200 Andreas Mohr <[EMAIL PROTECTED]> wrote: > Just filed this as > http://bugzilla.kernel.org/show_bug.cgi?id=6722 > due to no response here before. I saw it, which is why I hunted down this email. I hadn't even got that far into my lkml reading, actually. You sho

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Andreas Mohr
Hi, On Tue, Jun 20, 2006 at 10:06:56AM +0100, Alan Cox wrote: > Ar Maw, 2006-06-20 am 01:37 -0700, ysgrifennodd Andrew Morton: > > [hald polling causes cdrecord to go bad on a USB CD drive] > > > > One possible reason is that we're shooting down the device's pagecache by > > accident as a result

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Alan Cox
Ar Maw, 2006-06-20 am 11:05 +0200, ysgrifennodd Andreas Mohr: > But how would HAL safely determine whether a (IDE/USB) drive is busy? > As my test app demonstrates (without HAL running), the *very first* open() > happening during an ongoing burning operation will kill it instantly, in the > USB cas

[linux-usb-devel] Fw: [Bugme-new] [Bug 6723] New: ohci_hcd is broken

2006-06-20 Thread Andrew Morton
Begin forwarded message: Date: Tue, 20 Jun 2006 03:45:49 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 6723] New: ohci_hcd is broken http://bugzilla.kernel.org/show_bug.cgi?id=6723 Summary: ohci_hcd is broken Kernel Version: 2.6.17 St

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Johny
Firstly, apologies for a) the massive x-post and b) the time taken to get back to people... Please let me know where this is most appropriately dealt with and I'll keep it off other lists, considering the latest information; Andrew - please note - this is not a problem exclusive to the -mm ser

[linux-usb-devel] (no subject)

2006-06-20 Thread 潘思广
贵公司领导、财务: 我公司是深圳市宏溢诚贸易有限公司(注册号:4403012161790)。 成立于2002年6月,经过几年的发展我公司不断壮大,在国内多处大中 城市设有分公司,是一家集机电设备、电子产品、化工原料、建材、办 公设备,国内商业、物资供销业等于一体的大型企业。 并与国内上百家 公司有着密切的联系。我公司业务量大、进项大、业务范围广,信誉好。 现我公司特开设代理代开发票业务,代开范围:全国各地运输发票、商 品销售票、建筑安装票、广告票、其他服务、餐饮、增值票、海关代征 票等……本公司郑重承诺所有

Re: [linux-usb-devel] boot from usb again

2006-06-20 Thread Ken Cobler
Wojciech Kromer wrote: > Dnia 2006-06-19 13:13, Użytkownik Jinesh K J napisał: > >> On 6/19/06, Wojciech Kromer <[EMAIL PROTECTED]> wrote: >> >> >>> After reading lot of discusions on this issue, I can't still get >>> why there is an error booting from root=/dev/sda1 or even root=8:1. >>

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Andrew Morton
On Tue, 20 Jun 2006 21:21:35 +1000 Johny <[EMAIL PROTECTED]> wrote: > Firstly, apologies for a) the massive x-post and b) the time taken to > get back to people... Please let me know where this is most > appropriately dealt with and I'll keep it off other lists, considering > the latest informa

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Sergey Vlasov
On Tue, Jun 20, 2006 at 09:21:35PM +1000, Johny wrote: [...] > Stock kernels break for me starting with 2.6.17-rc4 (I tested all rcs > and also .17 itself), rc3 works a treat for using USB. I suspect the > following line missing in dmesg for rc4 is the reason; > > -PCI: Via IRQ fixup for :00

Re: [linux-usb-devel] boot from usb again

2006-06-20 Thread Jinesh K J
On 6/20/06, Ken Cobler <[EMAIL PROTECTED]> wrote: > Wojciech Kromer wrote: > > Dnia 2006-06-19 13:13, Użytkownik Jinesh K J napisał: > > > >> On 6/19/06, Wojciech Kromer <[EMAIL PROTECTED]> wrote: > >> > >> > >>> After reading lot of discusions on this issue, I can't still get > >>> why there is an

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Sergio Monteiro Basto
Hi, In first thread of this issue in LKML, some months ago, (right now, I don't have the link). After some discussion, someone arrive the conclusion of that: You only need this quirks, if interrupts are in XT-PIC mode and is harmless if don't (and "should only run for VIA southbridges"). So if

Re: [linux-usb-devel] boot from usb again

2006-06-20 Thread Wojciech Kromer
> cool solution. remember that the initrd image is just a gzipped cpio > archive. just extract an already existing one and modify the init file > in it. add your modules. and rebuild the initrd out of it. > I wrote onwn mkinitrd, it works now. initrd is any filesystem supported by kernel, typic

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Sergio Monteiro Basto
someone has it has a case similar and said that won't work without acpi=noirq http://bugzilla.kernel.org/show_bug.cgi?id=6654 On Tue, 2006-06-20 at 16:09 +0400, Sergey Vlasov wrote: > On Tue, Jun 20, 2006 at 09:21:35PM +1000, Johny wrote: > [...] > > Stock kernels break for me starting with 2.6

[linux-usb-devel] (no subject)

2006-06-20 Thread 潘思广
贵公司领导、财务: 我公司是深圳市宏溢诚贸易有限公司(注册号:4403012161790)。 成立于2002年6月,经过几年的发展我公司不断壮大,在国内多处大中 城市设有分公司,是一家集机电设备、电子产品、化工原料、建材、办 公设备,国内商业、物资供销业等于一体的大型企业。 并与国内上百家 公司有着密切的联系。我公司业务量大、进项大、业务范围广,信誉好。 现我公司特开设代理代开发票业务,代开范围:全国各地运输发票、商 品销售票、建筑安装票、广告票、其他服务、餐饮、增值票、海关代征 票等……本公司郑重承诺所有

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-20 Thread Alan Stern
On Tue, 20 Jun 2006, Andreas Mohr wrote: > But how would HAL safely determine whether a (IDE/USB) drive is busy? > As my test app demonstrates (without HAL running), the *very first* open() > happening during an ongoing burning operation will kill it instantly, in the > USB case. > Are there any o

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Sergey Vlasov
On Tue, Jun 20, 2006 at 02:30:06PM +0100, Sergio Monteiro Basto wrote: > someone has it has a case similar and said that won't work without > acpi=noirq > > http://bugzilla.kernel.org/show_bug.cgi?id=6654 Yes, acpi=noirq will work around this bug in many cases, because Linux will not try to reass

[linux-usb-devel] (no subject)

2006-06-20 Thread 潘思广
贵公司领导、财务: 我公司是深圳市宏溢诚贸易有限公司(注册号:4403012161790)。 成立于2002年6月,经过几年的发展我公司不断壮大,在国内多处大中 城市设有分公司,是一家集机电设备、电子产品、化工原料、建材、办 公设备,国内商业、物资供销业等于一体的大型企业。 并与国内上百家 公司有着密切的联系。我公司业务量大、进项大、业务范围广,信誉好。 现我公司特开设代理代开发票业务,代开范围:全国各地运输发票、商 品销售票、建筑安装票、广告票、其他服务、餐饮、增值票、海关代征 票等……本公司郑重承诺所有

[linux-usb-devel] (no subject)

2006-06-20 Thread 潘思广
贵公司领导、财务: 我公司是深圳市宏溢诚贸易有限公司(注册号:4403012161790)。 成立于2002年6月,经过几年的发展我公司不断壮大,在国内多处大中 城市设有分公司,是一家集机电设备、电子产品、化工原料、建材、办 公设备,国内商业、物资供销业等于一体的大型企业。 并与国内上百家 公司有着密切的联系。我公司业务量大、进项大、业务范围广,信誉好。 现我公司特开设代理代开发票业务,代开范围:全国各地运输发票、商 品销售票、建筑安装票、广告票、其他服务、餐饮、增值票、海关代征 票等……本公司郑

Re: [linux-usb-devel] Serial-Core: USB-Serial port current issues.

2006-06-20 Thread Luiz Fernando N. Capitulino
On Wed, 14 Jun 2006 16:28:09 +0100 Russell King <[EMAIL PROTECTED]> wrote: | On Tue, Jun 13, 2006 at 07:28:29PM -0300, Luiz Fernando N. Capitulino wrote: | > I took a look in the Serial Core code and didn't see why set_termios() | > and break_ctl() (plus tx_empty()) are not allowed to sleep: they

Re: [linux-usb-devel] [PATCH 1/4] usbserial: Port creation function.

2006-06-20 Thread Pete Zaitcev
On Mon, 19 Jun 2006 17:23:07 -0300, [EMAIL PROTECTED] wrote: > + for (i = 0; i < max_ports; ++i) { > + port = kzalloc(sizeof(struct usb_serial_port), GFP_KERNEL); > + if (!port) > + return -ENOMEM; This is the same bug I just fixed. You forgot to fr

Re: [linux-usb-devel] [PATCH 3/4] usbserial: Driver's num_ports call function.

2006-06-20 Thread Pete Zaitcev
On Mon, 19 Jun 2006 17:23:09 -0300, [EMAIL PROTECTED] wrote: > From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> > +static int driver_num_ports(struct usb_serial *serial, > + struct usb_interface *interface) > +{ > + if (!try_module_get(serial->type->driver.owner))

Re: [linux-usb-devel] [PATCH 4/4] usbserial: Driver's attach call function.

2006-06-20 Thread Pete Zaitcev
On Mon, 19 Jun 2006 17:23:10 -0300, [EMAIL PROTECTED] wrote: > --- a/drivers/usb/serial/usb-serial.c > +++ b/drivers/usb/serial/usb-serial.c > - retval = type->attach (serial); > - module_put(type->driver.owner); > - if (retval < 0) > - goto

Re: [linux-usb-devel] [PATCH RFC 0/4] usbserial: usb_serial_probe() split.

2006-06-20 Thread Pete Zaitcev
On Mon, 19 Jun 2006 17:23:06 -0300, [EMAIL PROTECTED] wrote: > The goal is to make usb_serial_probe() smaller, clean and easy to follow. I'd like to challenge this assertion. The diffstat is not favourable: > drivers/usb/serial/usb-serial.c | 176 > +++ >

[linux-usb-devel] USB enumeration

2006-06-20 Thread Ken Cobler
This might be off topic, but, I have been scouring the web with little luck in finding what I am looking for. USB enumeration and mapping to dev fs. Can this be controlled in some way (through a script) ? The problem: I have an application I have developed that requires two USB HID devices.

Re: [linux-usb-devel] [PATCH RFC 0/4] usbserial: usb_serial_probe() split.

2006-06-20 Thread Greg KH
On Tue, Jun 20, 2006 at 12:25:58PM -0700, Pete Zaitcev wrote: > On Mon, 19 Jun 2006 17:23:06 -0300, [EMAIL PROTECTED] wrote: > > > The goal is to make usb_serial_probe() smaller, clean and easy to follow. > > I'd like to challenge this assertion. The diffstat is not favourable: > > > drivers/u

Re: [linux-usb-devel] [PATCH RFC 0/4] usbserial: usb_serial_probe() split.

2006-06-20 Thread Luiz Fernando N. Capitulino
On Tue, 20 Jun 2006 12:54:48 -0700 Greg KH <[EMAIL PROTECTED]> wrote: | On Tue, Jun 20, 2006 at 12:25:58PM -0700, Pete Zaitcev wrote: | > On Mon, 19 Jun 2006 17:23:06 -0300, [EMAIL PROTECTED] wrote: | > | > > The goal is to make usb_serial_probe() smaller, clean and easy to follow. | > | > I'd

Re: [linux-usb-devel] [PATCH 1/4] usbserial: Port creation function.

2006-06-20 Thread Luiz Fernando N. Capitulino
On Tue, 20 Jun 2006 12:12:33 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | On Mon, 19 Jun 2006 17:23:07 -0300, [EMAIL PROTECTED] wrote: | | > + for (i = 0; i < max_ports; ++i) { | > + port = kzalloc(sizeof(struct usb_serial_port), GFP_KERNEL); | > + if (!port) | > +

Re: [linux-usb-devel] [PATCH 4/4] usbserial: Driver's attach call function.

2006-06-20 Thread Luiz Fernando N. Capitulino
On Tue, 20 Jun 2006 12:22:07 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | On Mon, 19 Jun 2006 17:23:10 -0300, [EMAIL PROTECTED] wrote: | | > --- a/drivers/usb/serial/usb-serial.c | > +++ b/drivers/usb/serial/usb-serial.c | | > - retval = type->attach (serial); | > - module

Re: [linux-usb-devel] [PATCH RFC 0/4] usbserial: usb_serial_probe() split.

2006-06-20 Thread Greg KH
On Tue, Jun 20, 2006 at 06:30:08PM -0300, Luiz Fernando N. Capitulino wrote: > On Tue, 20 Jun 2006 12:54:48 -0700 > Greg KH <[EMAIL PROTECTED]> wrote: > > | On Tue, Jun 20, 2006 at 12:25:58PM -0700, Pete Zaitcev wrote: > | > On Mon, 19 Jun 2006 17:23:06 -0300, [EMAIL PROTECTED] wrote: > | > > | >

Re: [linux-usb-devel] USB enumeration

2006-06-20 Thread Randy.Dunlap
On Tue, 20 Jun 2006 14:35:28 -0500 Ken Cobler wrote: > This might be off topic, but, I have been scouring the web with little > luck in finding what I am looking for. > > USB enumeration and mapping to dev fs. Can this be controlled in some > way (through a script) ? You don't say what kernel

Re: [linux-usb-devel] USB enumeration

2006-06-20 Thread Greg KH
On Tue, Jun 20, 2006 at 02:35:28PM -0500, Ken Cobler wrote: > > I also experience this problem with printers. When I have 2 USB printer > hooked up to a computer, first printer is /dev/usb/lp0, the second > printer is /dev/usb/lp1. If the application is expecting to print > something on the

Re: [linux-usb-devel] usb-serial misses kfree?

2006-06-20 Thread Greg KH
On Fri, Jun 16, 2006 at 09:51:25PM -0700, Pete Zaitcev wrote: > I may be missing something, but the usb-serial seems to miss a kfree > in a blatant way when it frees "unattached" ports. I looked at the > way ports are probed, and they are never static, even if they are > special. Weird... > > Also

Re: [linux-usb-devel] Serial-Core: USB-Serial port current issues.

2006-06-20 Thread Pete Zaitcev
On Tue, 20 Jun 2006 16:11:34 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > Pete, was it your original idea to completely move from the spinlock > to a mutex? I thought it was the cleanest solution. But perhaps I miss something. I'll look at your reposted patch again, maybe i

[linux-usb-devel] 您好!

2006-06-20 Thread 合作
泰和/投资股份(深圳)有限公司 你好,本公司是一家定额纳税企业、现有各行业的普通销售发`票代.开,以及建筑票、 运输票、广告票、等服务业票.据。如有需要欢迎来电洽谈咨询。 联系人:王伟 手机:13418655264 ___ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.

Re: [linux-usb-devel] [PATCH 4/4] usbserial: Driver's attach call function.

2006-06-20 Thread Pete Zaitcev
On Tue, 20 Jun 2006 18:32:18 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > | > - retval = type->attach (serial); > | > - module_put(type->driver.owner); > | > - if (retval < 0) > | > - goto probe_error; > | > - if (retval > 0) {