Keith,

I haven't made any changes to the boot parameters yet. But here it goes:

Kernel 2.4.32 booting on a WRAP board AMD Geode GX [This one works]
-------------------------------------------------------------------
Kernel command line: auto BOOT_IMAGE=pebble ro root=301
console=ttyS0,19200n8,reboot=hard
kdb version 4.3 by Keith Owens, Scott Lurndal. Copyright SGI, All Rights
Reserved
ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio

Kernel 2.6.22.19 booting on Alix2c0 AMD Geode LX [Doesn't yet]
--------------------------------------------------------------
Linux version 2.6.22 ([EMAIL PROTECTED]) (gcc version 3.4.6 20060404 (Red Hat
3.4.6-9)) #9 Wed Jul 16 14:33:49 PDT 2008
....... (loads bunch of other stuff)
Kernel command line: auto BOOT_IMAGE=pebble ro root=301
console=ttyS0,19200n8,reboot=hard hdb=noprobe hdc=noprobe hdd=noprobe
ide_setup: hdb=noprobe
ide_setup: hdc=noprobe
ide_setup: hdd=noprobe
Initializing CPU#0
....... (loads bunch of other stuff)
kdb: Initialization failed - no console.  kdb is disabled.
kdb version 4.4 by Keith Owens, Scott Lurndal. Copyright SGI, All Rights
Reserved
....... (loads bunch of other stuff and then)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250 serial8250.0: unable to register port at index 1 (IO2f8 MEM0
IRQ3): -28
serial8250 serial8250.0: unable to register port at index 2 (IO3e8 MEM0
IRQ4): -28
serial8250 serial8250.0: unable to register port at index 3 (IO2e8 MEM0
IRQ3): -28

Looking at all that, I think its not recognizing it early enough. Does this
give you more info? I am looking at the documentation to see if there is
anything I can add to the boot params.

Regards,
Hasan Rashid
Embedded Systems Software Engineer
Office: 1(530)571-5507
Email: [EMAIL PROTECTED]

Digital Path, Inc
275 Airpark Blvd suite 500
Chico, CA 95973

> -----Original Message-----
> From: Keith Owens [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 17, 2008 2:48 PM
> To: Hasan Rashid
> Cc: 'Scott Lurndal'; 'Jay Lan'; [email protected]
> Subject: Re: kdb has no working console and has switched itself off
> 
> "Hasan Rashid" (on Thu, 17 Jul 2008 13:34:30 -0700) wrote:
> >Scott,
> >
> >I compiled my kernel with the following:
> >
> ># Hardware I/O ports
> >#
> >CONFIG_SERIO=y
> >CONFIG_SERIO_SERPORT=y
> >
> >#
> ># Character devices
> >#
> ># CONFIG_VT is not set
> ># CONFIG_SERIAL_NONSTANDARD is not set
> >
> >#
> ># Serial drivers
> >#
> >CONFIG_SERIAL_8250=y
> >CONFIG_SERIAL_8250_CONSOLE=y
> >CONFIG_SERIAL_8250_PCI=y
> >CONFIG_SERIAL_8250_NR_UARTS=1
> >CONFIG_SERIAL_8250_RUNTIME_UARTS=1
> ># CONFIG_SERIAL_8250_EXTENDED is not set
> >
> ># Non-8250 serial port support
> >#
> >CONFIG_SERIAL_CORE=y
> >CONFIG_SERIAL_CORE_CONSOLE=y
> >CONFIG_UNIX98_PTYS=y
> >CONFIG_LEGACY_PTYS=y
> >CONFIG_LEGACY_PTY_COUNT=256
> >
> >> -----Original Message-----
> >> From: Scott Lurndal [mailto:[EMAIL PROTECTED]
> >> Sent: Thursday, July 17, 2008 1:06 PM
> >> To: Hasan Rashid
> >> Cc: 'Jay Lan'; [email protected]
> >> Subject: Re: kdb has no working console and has switched itself off
> >>
> >> On Thu, Jul 17, 2008 at 12:47:32PM -0700, Hasan Rashid wrote:
> >> > This is only with the 2.6.22.19 kernel. I have a similar device (WRAP
> >> board)
> >> > with the same setup, just a serial port connected to my computer and
> KDB
> >> > works just fine on that.
> >> >
> >> > ....
> >> > .....
> >> > kdb: Initialization failed - no console.  kdb is disabled.
> >> > kdb version 4.4 by Keith Owens, Scott Lurndal. Copyright SGI, All
> Rights
> >>
> >> Did you build your 2.6.22.19 with CONFIG_SERIAL_CONSOLE,
> >> CONFIG_SERIAL_8250_CONSOLE or CONFIG_SERIAL_CORE_CONSOLE?
> 
> Your serial console is not being detected early enough (or not at all).
> You might need boot parameters console=ttyS0[,options] or
> console=uart,io,<addr>[,options] to ensure that the serial console is
> detected before kdb starts.  See linux/Documentation/kernel-
> parameters.txt.
> There was a change to the kernel about a year ago to avoid probing
> non-existent serial hardware.  That change avoided errors on some
> hardware, but unfortunately required extra boot parameters for early
> console bringup.


---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.

Reply via email to