Hi,
On Sun, Jul 13, 2008 at 07:13:02PM +0200, Hannes Hegewald wrote:
My console for the serial port was already set up correctly and worked with the factory bios. I also see the nice white background with the tux in the corner.
OK, that's good.
As I already told you, the boot process hangs for a while at this point (with coreboot):
[...] NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 208k freed
#### HERE ####
8139too Fast Ethernet driver 0.9.28 PCI: Found IRQ 5 for device 0000:00:0f.0 IRQ routing conflict for 0000:00:0f.0, have irq 4, want irq 5
This might be an (IRQ) problem, see below.
eth0: RealTek RTL8139 at 0xc485a000, 00:e0:c5:6e:55:93, IRQ 4 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) PCI: Found IRQ 3 for device 0000:00:13.0 IRQ routing conflict for 0000:00:13.0, have irq 7, want irq 3
Ditto.
ohci_hcd 0000:00:13.0: OHCI Host Controller ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:13.0: irq 7, io mem 0xfebfd000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected usb 1-1: new low speed USB device using ohci_hcd and address 2 usb 1-1: configuration #1 chosen from 1 choice usbcore: registered new interface driver hiddev input: HID 062a:0000 as /class/input/input0 input: USB HID v1.10 Mouse [HID 062a:0000] on usb-0000:00:13.0-1 usbcore: registered new interface driver usbhid drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver usb 1-1: USB disconnect, address 2 usb 1-2: new low speed USB device using ohci_hcd and address 3 usb 1-2: configuration #1 chosen from 1 choice input: HID 062a:0000 as /class/input/input1 input: USB HID v1.10 Mouse [HID 062a:0000] on usb-0000:00:13.0-2 usb 1-2: USB disconnect, address 320080711 19:25:54
And in comparison to a normal bootlog, something is different: [normal bootlog:]
Freeing unused kernel memory: 208k freed #### Thats the point where coreboot pauses ## ## And now the foolowing two lines are missing with coreboot:
INIT: version 2.86 booting The system is coming up. Please wait.
That's strange, probably even misleading. The actual reason for the hang is likely in some other place. My guess is that the IRQs are messed up.
Can you try to boot the kernel with the 'irqpoll' option and see if that helps? Also, are you sure the irq_table.c in the patch is correct? I think it was generated with getpir on your 4000s? Anyway, sometimes even the tables of the proprietary BIOS are crap, so...
8139too Fast Ethernet driver 0.9.28 PCI: Assigned IRQ 11 for device 0000:00:0f.0 eth0: RealTek RTL8139 at 0xc4854000, 00:e0:c5:6e:55:93, IRQ 11 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Assigned IRQ 15 for device 0000:00:13.0 ohci_hcd 0000:00:13.0: OHCI Host Controller ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:13.0: irq 15, io mem 0xd8004000 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected /dev/hda1: clean, 115552/541728 files, 638097/1054257 blocks /sbin/fsck.xfs: XFS file system. EXT3 FS on hda1, internal journal XFS mounting filesystem hda2 Adding 265064k swap on /dev/hda3. Priority:-1 extents:1 across:265064k hostname: crux font: default keyboard: de-latin1 INIT: Entering runlevel: 2 starting services: sysklogd net fcron sshd samba led
CRUX (crux) (ttyS0)
Thanks for your help once more.
Hannes
Uwe.