test10 won't boot
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=yCONFIG_ISA=yCONFIG_UID16=yCONFIG_EXPERIMENTAL=yCONFIG_MODULES=yCONFIG_KMOD=yCONFIG_M686=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_CMPXCHG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_X86_TSC=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_PGE=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_MSR=mCONFIG_X86_CPUID=mCONFIG_NOHIGHMEM=yCONFIG_MTRR=yCONFIG_NET=yCONFIG_PCI=yCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=yCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_AOUT=mCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=mCONFIG_PM=yCONFIG_PARPORT=mCONFIG_PARPORT_PC=mCONFIG_PARPORT_PC_FIFO=yCONFIG_PARPORT_1284=yCONFIG_BLK_DEV_FD=mCONFIG_BLK_DEV_LOOP=mCONFIG_PACKET=mCONFIG_PACKET_MMAP=yCONFIG_NETFILTER=yCONFIG_FILTER=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IPX=mCONFIG_IPX_INTERN=yCONFIG_ATALK=mCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=yCONFIG_BLK_DEV_IDECD=mCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_IDEDMA_AUTO=yCONFIG_SCSI=mCONFIG_BLK_DEV_SD=mCONFIG_SD_EXTRA_DEVS=40CONFIG_CHR_DEV_ST=mCONFIG_BLK_DEV_SR=mCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=mCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_PPA=mCONFIG_SCSI_NCR53C8XX=mCONFIG_SCSI_SYM53C8XX=mCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32CONFIG_SCSI_NCR53C8XX_SYNC=20CONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_NET_ISA=yCONFIG_NE2000=mCONFIG_NET_PCI=yCONFIG_EEPRO100=yCONFIG_PPP=mCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_BSDCOMP=mCONFIG_PPPOE=mCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_SERIAL=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_PRINTER=mCONFIG_NVRAM=mCONFIG_RTC=yCONFIG_QUOTA=yCONFIG_AUTOFS4_FS=yCONFIG_REISERFS_FS=mCONFIG_HFS_FS=mCONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_MINIX_FS=mCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_EXT2_FS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_SUNRPC=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=mCONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_UTF8=mCONFIG_VGA_CONSOLE=yCONFIG_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/
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."
| -MaxIndex: 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
@@ -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)) {
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/
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/
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/
Quoted 10 lines · Arjan van de Ven
[snip]
Quoted 1 line
CONFIG_M686=yAh 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/