2003-07-10 06:57:53

by Michael Frank

[permalink] [raw]
Subject: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

Tried to config usb serial console on 2.5.74 but it's no more configurable.

Searched the tree and these are the only references

./BitKeeper/deleted/.del-Config.help~23cda2581f02cfcb
./BitKeeper/deleted/.del-Config.in~92fe774f90db89d
./drivers/usb/serial/Makefile
./drivers/usb/serial/usb-serial.h

Has this been deleted?

Regards
Michael

--
Powered by linux-2.5.74-mm3. Compiled with gcc-2.95-3 - mature and rock solid

My current linux related activities:
- 2.5 yenta_socket testing
- Test development and testing of swsusp for 2.4/2.5 and ACPI S3 of 2.5 kernel
- Everyday usage of 2.5 kernel

More info on 2.5 kernel: http://www.codemonkey.org.uk/post-halloween-2.5.txt
More info on swsusp: http://sourceforge.net/projects/swsusp/


2003-07-10 14:52:25

by Randy.Dunlap

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Thu, 10 Jul 2003 14:53:57 +0800 Michael Frank <[email protected]> wrote:

| Tried to config usb serial console on 2.5.74 but it's no more configurable.
|
| Searched the tree and these are the only references
|
| ./BitKeeper/deleted/.del-Config.help~23cda2581f02cfcb
| ./BitKeeper/deleted/.del-Config.in~92fe774f90db89d
| ./drivers/usb/serial/Makefile
| ./drivers/usb/serial/usb-serial.h
|
| Has this been deleted?

No, but there is a typo in the Kconfig file for it.
Patch for it is below. (It is from the -kj patchset. :)
Patch by Francois Romieu <[email protected]>.

--
~Randy
| http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |



diff -puN drivers/usb/serial/Kconfig~typo-usb-serial-kconfig drivers/usb/serial/Kconfig

----------- Diffstat output ------------
./drivers/usb/serial/Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff ./drivers/usb/serial/Kconfig~current~ ./drivers/usb/serial/Kconfig
--- ./drivers/usb/serial/Kconfig~current~ 2003-07-09 00:12:22.000000000 -0700
+++ ./drivers/usb/serial/Kconfig 2003-07-09 00:12:22.000000000 -0700
@@ -31,7 +31,7 @@ config USB_SERIAL_DEBUG

config USB_SERIAL_CONSOLE
bool "USB Serial Console device support (EXPERIMENTAL)"
- depends on USB_SERIAL=y && EXPERIMENTAL
+ depends on USB_SERIAL && EXPERIMENTAL
---help---
If you say Y here, it will be possible to use a USB to serial
converter port as the system console (the system console is the

2003-07-10 16:27:25

by Greg KH

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Thu, Jul 10, 2003 at 02:53:57PM +0800, Michael Frank wrote:
> Tried to config usb serial console on 2.5.74 but it's no more configurable.
>
> Searched the tree and these are the only references

CONFIG_USB has to be set to Y and CONFIG_USB_SERIAL has to be set to Y
to be able to select this config option.

Do you have those options selected?

And do you _really_ want to use CONFIG_USB_SERIAL_CONSOLE? It's pretty
useless for the most part :)

thanks,

greg k-h

2003-07-10 16:32:35

by Randy.Dunlap

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Thu, 10 Jul 2003 08:03:45 -0700 "Randy.Dunlap" <[email protected]> wrote:

| On Thu, 10 Jul 2003 14:53:57 +0800 Michael Frank <[email protected]> wrote:
|
| | Tried to config usb serial console on 2.5.74 but it's no more configurable.
| |
| | Searched the tree and these are the only references
| |
| | ./BitKeeper/deleted/.del-Config.help~23cda2581f02cfcb
| | ./BitKeeper/deleted/.del-Config.in~92fe774f90db89d
| | ./drivers/usb/serial/Makefile
| | ./drivers/usb/serial/usb-serial.h
| |
| | Has this been deleted?
|
| No, but there is a typo in the Kconfig file for it.
| Patch for it is below. (It is from the -kj patchset. :)
| Patch by Francois Romieu <[email protected]>.

Nope. See Greg's reply. It's correct.

--
~Randy

2003-07-10 17:07:31

by Greg KH

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Fri, Jul 11, 2003 at 01:13:34AM +0800, Michael Frank wrote:
> On Friday 11 July 2003 00:41, Greg KH wrote:
> > On Thu, Jul 10, 2003 at 02:53:57PM +0800, Michael Frank wrote:
> > > Tried to config usb serial console on 2.5.74 but it's no more
> > > configurable.
> > >
> > > Searched the tree and these are the only references
> >
> > CONFIG_USB has to be set to Y and CONFIG_USB_SERIAL has to be set to Y
> > to be able to select this config option.
> >
> > Do you have those options selected?
> >
> > And do you _really_ want to use CONFIG_USB_SERIAL_CONSOLE? It's pretty
> > useless for the most part :)
> >
> > thanks,
> >
> > greg k-h
> X-Spam-Status: No
> X-Spam-Probability: <1%

Nice to see that my emails aren't marked as spam :)

> I don not want to use it but I have no time to key in oopses ;)

So you don't actually have a usb to serial converter?

> With reference to my post just sent, I guess you are right, so please
> lets make it useful

Heh, patches are always welcome :)

But if you start to use it you will see why it's not really useful.
This is primarily due to the USB core starting up _very_ late in the
boot process, the small size of the buffers of most usb to serial
devices, and the requirement that interrupts be running to send USB
data. Those three things combined do not make for a good system to try
to capture oops messages.

Good luck,

greg k-h

2003-07-10 17:10:05

by Michael Frank

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Friday 11 July 2003 00:45, Randy.Dunlap wrote:
> On Thu, 10 Jul 2003 08:03:45 -0700 "Randy.Dunlap" <[email protected]> wrote:
> | On Thu, 10 Jul 2003 14:53:57 +0800 Michael Frank <[email protected]> wrote:
> | | Tried to config usb serial console on 2.5.74 but it's no more
> | | configurable.
> | |
> | | Searched the tree and these are the only references
> | |
> | | ./BitKeeper/deleted/.del-Config.help~23cda2581f02cfcb
> | | ./BitKeeper/deleted/.del-Config.in~92fe774f90db89d
> | | ./drivers/usb/serial/Makefile
> | | ./drivers/usb/serial/usb-serial.h
> | |
> | | Has this been deleted?
> |
> | No, but there is a typo in the Kconfig file for it.
> | Patch for it is below. (It is from the -kj patchset. :)
> | Patch by Francois Romieu <[email protected]>.
>
> Nope. See Greg's reply. It's correct.
>
> --
> ~Randy

Really, I just configed and compiled it ;)

Those dragons....

Regards
Michael

--
Powered by linux-2.5.74-mm3. Compiled with gcc-2.95-3 - mature and rock solid

My current linux related activities:
- 2.5 yenta_socket testing
- Test development and testing of swsusp for 2.4/2.5 and ACPI S3 of 2.5 kernel
- Everyday usage of 2.5 kernel

More info on 2.5 kernel: http://www.codemonkey.org.uk/post-halloween-2.5.txt
More info on swsusp: http://sourceforge.net/projects/swsusp/

2003-07-10 17:13:22

by Greg KH

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Thu, Jul 10, 2003 at 10:20:56AM -0700, Greg KH wrote:
> > X-Spam-Status: No
> > X-Spam-Probability: <1%
>
> Nice to see that my emails aren't marked as spam :)

Bleah, this was my fault.

/me goes off to kick his email server...


greg k-h

2003-07-10 17:00:17

by Michael Frank

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Friday 11 July 2003 00:41, Greg KH wrote:
> On Thu, Jul 10, 2003 at 02:53:57PM +0800, Michael Frank wrote:
> > Tried to config usb serial console on 2.5.74 but it's no more
> > configurable.
> >
> > Searched the tree and these are the only references
>
> CONFIG_USB has to be set to Y and CONFIG_USB_SERIAL has to be set to Y
> to be able to select this config option.
>
> Do you have those options selected?
>
> And do you _really_ want to use CONFIG_USB_SERIAL_CONSOLE? It's pretty
> useless for the most part :)
>
> thanks,
>
> greg k-h

I don not want to use it but I have no time to key in oopses ;)

With reference to my post just sent, I guess you are right, so please lets make it useful

Regards
Michael

--
Powered by linux-2.5.74-mm3. Compiled with gcc-2.95-3 - mature and rock solid

My current linux related activities:
- 2.5 yenta_socket testing
- Test development and testing of swsusp for 2.4/2.5 and ACPI S3 of 2.5 kernel
- Everyday usage of 2.5 kernel

More info on 2.5 kernel: http://www.codemonkey.org.uk/post-halloween-2.5.txt
More info on swsusp: http://sourceforge.net/projects/swsusp/

2003-07-10 17:15:17

by Randy.Dunlap

[permalink] [raw]
Subject: Re: 2.5.74 CONFIG_USB_SERIAL_CONSOLE gone?

On Fri, 11 Jul 2003 01:15:05 +0800 Michael Frank <[email protected]> wrote:

| On Friday 11 July 2003 00:45, Randy.Dunlap wrote:
| > On Thu, 10 Jul 2003 08:03:45 -0700 "Randy.Dunlap" <[email protected]> wrote:
| > | On Thu, 10 Jul 2003 14:53:57 +0800 Michael Frank <[email protected]> wrote:
| > | | Tried to config usb serial console on 2.5.74 but it's no more
| > | | configurable.
| > | |
| > | | Searched the tree and these are the only references
| > | |
| > | | ./BitKeeper/deleted/.del-Config.help~23cda2581f02cfcb
| > | | ./BitKeeper/deleted/.del-Config.in~92fe774f90db89d
| > | | ./drivers/usb/serial/Makefile
| > | | ./drivers/usb/serial/usb-serial.h
| > | |
| > | | Has this been deleted?
| > |
| > | No, but there is a typo in the Kconfig file for it.
| > | Patch for it is below. (It is from the -kj patchset. :)
| > | Patch by Francois Romieu <[email protected]>.
| >
| > Nope. See Greg's reply. It's correct.
| >
| > --
| > ~Randy
|
| Really, I just configed and compiled it ;)
|
| Those dragons....

Yes, I did too.
But with plain vanilla 2.5.74, without the patch that I posted.
You shouldn't need that patch, but like Greg said,
USB_SERIAL=y is required for USB_SERIAL_CONSOLE.
It can't be built as modules.

Let's get rid of those dragons. If the problem persists, please
send me your .config file.

--
~Randy
$ hostname
dragon.pdx.osdl.net