Skip to contentSkip to conversation

test10 won't boot

DISCUSSION Hans-Joachim Baader 4 participants 6 messages Nov 2, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

test10, compiled with gcc 2.95.2, won't boot on one of my machine. It stops after the "now booting the kernel" message. Yes, I have configured Virtual Terminal and VGA text console.

The configuration also contains Reiserfs (as a module) but that shouldn't make a difference.

The system is a AMD K6-2/400 on an ASUS P5A-B board. lspci output:

00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04)
00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04)
00:03.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV] (rev c3) 00:0a.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine 10/100] (rev 06) 00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c1)
01:00.0 VGA compatible controller: nVidia Corporation Riva TnT 128 [NV04] (rev 04)

configuration:

CONFIG_X86=y
CONFIG_ISA=y
CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_M686=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PM=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_NETFILTER=y
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IPX=m
CONFIG_IPX_INTERN=y
CONFIG_ATALK=m
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_PPA=m
CONFIG_SCSI_NCR53C8XX=m
CONFIG_SCSI_SYM53C8XX=m
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_NE2000=m
CONFIG_NET_PCI=y
CONFIG_EEPRO100=y
CONFIG_PPP=m
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
CONFIG_NVRAM=m
CONFIG_RTC=y
CONFIG_QUOTA=y
CONFIG_AUTOFS4_FS=y
CONFIG_REISERFS_FS=m
CONFIG_HFS_FS=m
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_MINIX_FS=m
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_UTF8=m
CONFIG_VGA_CONSOLE=y
CONFIG_MAGIC_SYSRQ=y

Regards,
hjb

Signature · 5 lines
http://www.pro-linux.de/ - Germany's largest volunteer Linux support site
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 9 lines · Hans-Joachim Baader

test10, compiled with gcc 2.95.2, won't boot on one of my machine. It stops after the "now booting the kernel" message. Yes, I have configured Virtual Terminal and VGA text console.

00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04)
00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04)
00:03.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV] (rev c3) 00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c1)

Does it boot with the attached patch?

Signature · 4 lines
Jeff Garzik             | "Mind if I drive?"  -Sam
Building 1024           | "Not if you don't mind me clawing at the
MandrakeSoft            |  dash and shrieking like a cheerleader."
                        |                     -Max

Index: drivers/ide/ide-pci.c
===================================================================
RCS file: /cvsroot/gkernel/linux_2_4/drivers/ide/ide-pci.c,v retrieving revision 1.1.1.6
retrieving revision 1.1.1.6.6.1

ide/ide-pci.c +1 -4
diff -u -r1.1.1.6 -r1.1.1.6.6.1
@@ -528,10 +528,7 @@
 	autodma = 1;
 #endif
 
-#if 1	/* what do do with this useful tool ??? */
-	if (pci_enable_device(dev))
-		return;
-#endif
+	pci_enable_device(dev);
 
 check_if_enabled:
 	if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd)) {
#2 lore raw
Quoted 6 lines · Jeff Garzik
Quoted 3 lines · Hans-Joachim Baader

test10, compiled with gcc 2.95.2, won't boot on one of my machine. It stops after the "now booting the kernel" message. Yes, I have configured Virtual Terminal and VGA text console.

Does it boot with the attached patch?

Nope, it doesn't. Same observation.

BTW this was the first 2.4 kernel that I tried on this machine. So I cannot say since when it's broken. 2.2.x works fine.

Regards,
hjb

Signature · 5 lines
http://www.pro-linux.de/ - Germany's largest volunteer Linux support site
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to Jeff Garzik
Quoted 7 lines · Hans-Joachim Baader
Quoted 5 lines · Jeff Garzik
Quoted 3 lines · Hans-Joachim Baader

test10, compiled with gcc 2.95.2, won't boot on one of my machine. It stops after the "now booting the kernel" message. Yes, I have configured Virtual Terminal and VGA text console.

Quoted 6 lines
Quoted 1 line

Does it boot with the attached patch?

Nope, it doesn't. Same observation.

BTW this was the first 2.4 kernel that I tried on this machine. So I cannot say since when it's broken. 2.2.x works fine.

The test10pre series is where my machine (also with ALI chipset) was broken but Linus fixed it by guessing how some of the pirq stuff worked on the 1533 chip so test10 final works for me. I'm guessing test9 will work for you or that removing the pci_enable line in Jeff's patch completely might do the job for you. Yes?

--Craig
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Hans-Joachim Baader
Quoted 3 lines · In article <[email protected]> you wrote:

Hi,

The system is a AMD K6-2/400 on an ASUS P5A-B board. lspci output:

[snip]

Quoted 1 line

CONFIG_M686=y

Ah ha!

You have selected the Pentium II/III CPU type, which does NOT work on a K6. The compiler (and the kernel) will use the "new" Pentium II instructions (such as "cmov") which are not supported by the K6, leading to "illegal instruction" usage very early.

I'm sure your computer will work fine as soon as you select a "K6" processor in the configuration program you use (make menuconfig/xconfig/config), as I have the same CPU/mobo.

Greetings,
Arjan van de Ven

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw
Quoted 10 lines · Arjan van de Ven

[snip]

Quoted 1 line

CONFIG_M686=y

Ah ha!

You have selected the Pentium II/III CPU type, which does NOT work on a K6. The compiler (and the kernel) will use the "new" Pentium II instructions (such as "cmov") which are not supported by the K6, leading to "illegal instruction" usage very early.

Ouch. This was it. I simply overlooked this option and used the one that worked with 2.2...

But it would be nice if the kernel could detect the wrong CPU type and print a message before it stops. Perhaps compile the init section without CPU specific optimization?

Thanks for your help,
hjb

Signature · 5 lines
http://www.pro-linux.de/ - Germany's largest volunteer Linux support site
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/