Do you have a second computer and a null modem serial cable? If so, please hook it up and see what's coming out of the serial port (I hope you have the same super io).
I tried with friend laptop. It didn't give anything. Maybe I just can't use serial cable and minicom :( I hope better debug next time. Superio is w83627hf in both mainboards (ms-6178 and ms-6337)
Did you get it _that_ small? I'm using a 512KB chip, you cannot stick a kernel into that. Did you use a bigger chip?
Kernel config (I am no sure if it's the same but it is small) is minimal. It boots with proprietary bios and it is just for testing. I had no success with filo either. It is used with ubuntu dapper sources. I'll try to attach it this week.
00:00.0 Host bridge [0600]: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub [8086:1130] (rev 02) 00:02.0 VGA compatible controller [0300]: Intel Corporation 82815 Chipset Graphics Controller (CGC) [8086:1132] (rev 02) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 01) 00:1f.0 ISA bridge [0601]: Intel Corporation 82801BA ISA Bridge (LPC) [8086:2440] (rev 01) 00:1f.1 IDE interface [0101]: Intel Corporation 82801BA IDE U100 Controller [8086:244b] (rev 01) 00:1f.2 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2442] (rev 01) 00:1f.3 SMBus [0c05]: Intel Corporation 82801BA/BAM SMBus Controller [8086:2443] (rev 01) 00:1f.4 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2444] (rev 01) 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801BA/BAM AC'97 Audio Controller [8086:2445] (rev 01) 01:00.0 Multimedia audio controller [0401]: Ensoniq ES1371 [AudioPCI-97] [1274:1371] (rev 08) 01:02.0 Ethernet controller [0200]: Advanced Micro Devices [AMD] 79c978 [HomePNA] [1022:2001] (rev 52)
Last two are pci cards. Not necessary just now.
lspnp: /proc/bus/pnp not available might help if I change some settings of proprietary bios.
Here is minimal kernel config. I hope it is right version.
On Wed, Oct 03, 2007 at 09:49:26PM +0300, Jouni Mettälä wrote:
Do you have a second computer and a null modem serial cable? If so, please hook it up and see what's coming out of the serial port (I hope you have the same super io).
I tried with friend laptop. It didn't give anything. Maybe I just can't use serial cable and minicom :( I hope better debug next time. Superio is w83627hf in both mainboards (ms-6178 and ms-6337)
OK, on the MS-6178 I can say for sure that serial output works in LinuxBIOS.
Quick minicom tutorial:
$ minicom -s -> Serial port setup -> Press A and enter your COM device (ttyS0 or ttyS1 or ttyUSB0 or so) -> Press E and choose "115200 8N1" (default) -> Disable Hardware and Software Flow Control (via F and G) -> Press enter to leave the menu -> Save setup as.. -> Enter "lb" -> Exit from minicom
So, from now on you can use this config like this:
$ minicom -o lb
Did you get it _that_ small? I'm using a 512KB chip, you cannot stick a kernel into that. Did you use a bigger chip?
Kernel config (I am no sure if it's the same but it is small) is minimal. It boots with proprietary bios and it is just for testing. I had no success with filo either. It is used with ubuntu dapper sources. I'll try to attach it this week.
00:00.0 Host bridge [0600]: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub [8086:1130] (rev 02) 00:02.0 VGA compatible controller [0300]: Intel Corporation 82815 Chipset Graphics Controller (CGC) [8086:1132] (rev 02) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 01) 00:1f.0 ISA bridge [0601]: Intel Corporation 82801BA ISA Bridge (LPC) [8086:2440] (rev 01) 00:1f.1 IDE interface [0101]: Intel Corporation 82801BA IDE U100 Controller [8086:244b] (rev 01) 00:1f.2 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2442] (rev 01) 00:1f.3 SMBus [0c05]: Intel Corporation 82801BA/BAM SMBus Controller [8086:2443] (rev 01) 00:1f.4 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2444] (rev 01) 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801BA/BAM AC'97 Audio Controller [8086:2445] (rev 01) 01:00.0 Multimedia audio controller [0401]: Ensoniq ES1371 [AudioPCI-97] [1274:1371] (rev 08) 01:02.0 Ethernet controller [0200]: Advanced Micro Devices [AMD] 79c978 [HomePNA] [1022:2001] (rev 52)
So this is the ms-6337, I guess? It's an i815 chipset which is similar, but not quite the same as i810. Some more work is probably needed for that.
lspnp: /proc/bus/pnp not available
Strange. Maybe you have to enable some "PnP" option in the BIOS for lspnp to work?
Uwe.
On 10/6/07, Uwe Hermann uwe@hermann-uwe.de wrote:
lspnp: /proc/bus/pnp not available
Strange. Maybe you have to enable some "PnP" option in the BIOS for lspnp to work?
There is two packages with same description pnpbios-tools and pnp-utils. Now when both aare installed it gives output. lspnp-v is attached.
I also managed to get some serial output after all. It's attached too :-) Somehow some af a letters are shown as i. There is some Pci bad id messages and it Cannot load ELF image.
Quoting Jouni Mettälä jtmettala@gmail.com:
On 10/6/07, Uwe Hermann uwe@hermann-uwe.de wrote:
lspnp: /proc/bus/pnp not available
Strange. Maybe you have to enable some "PnP" option in the BIOS for lspnp to work?
There is two packages with same description pnpbios-tools and pnp-utils. Now when both aare installed it gives output. lspnp-v is attached.
I also managed to get some serial output after all. It's attached too :-) Somehow some af a letters are shown as i. There is some Pci bad id messages and it Cannot load ELF image.
Cool, Good job! Looks like your getting some weird characters before each line. This could be caused by the wrong serial speed setting. What do you have minicom set to?
Just a guess the lspnp: /proc/bus/pnp not available could be cause by your LPC Interface Bridge. Eithor it is not enabled or not configured for PNP maybe?
Thanks - Joe
On 10/12/07, joe@smittys.pointclark.net joe@smittys.pointclark.net wrote:
What do you have minicom set to?
115200 8n1. Now it's little better (cable works better and with some tidying with text editor)
Attached minicom log with ms6178 revision 2948. It seems even better than slightly modified version earlier.
superiotool_output is from ms6337. Superio is w83627hf-aw.
Jouni Mettälä wrote:
On 10/12/07, *joe@smittys.pointclark.net mailto:joe@smittys.pointclark.net* <joe@smittys.pointclark.net mailto:joe@smittys.pointclark.net> wrote:
What do you have minicom set to? 115200 8n1. Now it's little better (cable works better and with some tidying with text editor)
Attached minicom log with ms6178 revision 2948. It seems even better than slightly modified version earlier.
superiotool_output is from ms6337. Superio is w83627hf-aw.
Please check the dimm size translation tables, in northbridge.c and raminit.h. If you're using the i810 ones, I'm fairly sure they need to be modified, that could be why your elfload is failing. Also check that video is either disabled or the vga framebuffer size is subtracted from the memory size in northbridge.c (look for ram_resource()). And please try with only a single dimm, unless you've worked on it I think ram init is only working correctly for one dimm.
Good luck! Corey
Quoting Jouni Mettälä jtmettala@gmail.com:
On 10/12/07, joe@smittys.pointclark.net joe@smittys.pointclark.net wrote:
What do you have minicom set to?
115200 8n1. Now it's little better (cable works better and with some tidying with text editor)
Attached minicom log with ms6178 revision 2948. It seems even better than slightly modified version earlier.
superiotool_output is from ms6337. Superio is w83627hf-aw.
Looks like you may have something wierd going on with your SuperIO or LPC Bridge:
ERROR: PNP: 002e.0 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.0 70 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.0 74 drq size: 0x0000000001 not assigned ERROR: PNP: 002e.1 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.1 70 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.1 74 drq size: 0x0000000001 not assigned ERROR: PNP: 002e.2 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.2 70 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.3 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.3 70 irq size: 0x0000000001 not assigned PNP: 002e.5 60 <- [0x00000024a0 - 0x00000024a0] io PNP: 002e.5 62 <- [0x00000024b0 - 0x00000024b0] io ERROR: PNP: 002e.5 70 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.5 72 irq size: 0x0000000001 not assigned ERROR: PNP: 002e.6 60 io size: 0x0000000008 not assigned ERROR: PNP: 002e.6 70 irq size: 0x0000000001 not assigned PNP: 002e.7 60 <- [0x00000024c0 - 0x00000024c0] io ERROR: PNP: 002e.7 62 io size: 0x0000000002 not assigned ERROR: PNP: 002e.7 70 irq size: 0x0000000001 not assigned
If I was you I would look deeper into these errors.
Thanks - Joe
Using just one dimm made it better. It gave last line FILO version 0.5(desktop) and date. Image is slightly modified. I hopefully disabled onboard vga. It is set to 2.0 and off. Also other things in my opinion not so important now as paraller port and floppy are set off. Could unconnected floppy drive affect to PNP errors?
northbridge is changed by just using device number 0x1130 instead of 0x7120 in northbridge.c
Filo.elf is different this time too.
Is the ram working good enough with one chip? Does elfload tell anythig to you?
Quoting Jouni Mettälä jtmettala@gmail.com:
Using just one dimm made it better. It gave last line FILO version 0.5(desktop) and date. Image is slightly modified. I hopefully disabled onboard vga. It is set to 2.0 and off. Also other things in my opinion not so important now as paraller port and floppy are set off. Could unconnected floppy drive affect to PNP errors?
northbridge is changed by just using device number 0x1130 instead of 0x7120 in northbridge.c
Filo.elf is different this time too.
Is the ram working good enough with one chip? Does elfload tell anythig to you?
Have you tried ram_check() in auto.c? Sounds like you may have some memory initialization problems like I was having. You can try this:
1. Enable debugging output in raminit.c, build and run to get the bootlog. /* Uncomment this to enable debugging output. */ #define DEBUG_RAM_SETUP 1
2. As root with the factory bios do a lspci -xxx.
3. Compaire the 00:00.0 Host bridge from lspci -xxx to the Northbridge following SDRAM init: PCI: 00:00.00 from your bootlog. Especially the DRB registers. I had two DRB registers that were supposed to be reserved but they are not. I set those and boom it booted:-)
Hope that helps.
Thanks - Joe