Skip to contentSkip to conversation

Kernel locks up when idle on VIA-nano U2300 with VIA VX800 on Jetway JNF76-N1GL-LF mainboard

DISCUSSION Martin Mueller 3 participants 5 messages Apr 26, 2009 – Jun 26, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

last Thursday my mini-ITX board in my home-server died and I had to get a replacement board. I got an fanless Jetway JNF76-N1GL-LF from a local Dealer. The board uses a 1GHz U2300 VIA-nano CPU[1] and an VIA VX800 chipset. After replacing the board, the adventure actually started:

Booting my installed debian with kernel 2.6.29-1-686 (debian kernel) failed. The system just hang when detecting the harddisks during the boot process, no oops, no messages, just no reaction any more.

Fortunatelly I had an old 2.6.23-1-686 (debian kernel) still hanging around in the grub menu. This kernel works flawlessly on the board (aside from not recognizing the VIA HD-audio, which doesn't bother me at the moment).

Next, I downloaded linux-2.6.30-rc3, compiled a minimal version with just initrd. I left out PCI-support, ACPI and almost everything else menuconfig allowed me to unselect except the VGA text console. This kernel locked up after giving me the initial prompt from busybox in the initrd.

When adding the following lines in the script executed by the kernel after booting in the initrd, the system actually works:

while true; do true; done &
/bin/sh

As soon as I kill the shell loop, the system freezes again.

So my conclusion is: the kernel locks up the first time the CPU is idle.

Any hints on how to proceed from here?

Thanks.

bye
MM

[1] cato:~# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 15
model name : VIA Nano processor U2300@1000MHz
stepping : 2
cpu MHz : 997.535
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush acpi mmx fxsr sse sse2 ss tm syscall nx fxsr_opt rdtscp lm up pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en ace ace_en ace2 phe phe_en lahf_lm
bogomips : 1996.78
clflush size : 64

#1 lore raw
Quoted 29 lines · Martin Mueller

Hi all,

last Thursday my mini-ITX board in my home-server died and I had to get a replacement board. I got an fanless Jetway JNF76-N1GL-LF from a local Dealer. The board uses a 1GHz U2300 VIA-nano CPU[1] and an VIA VX800 chipset. After replacing the board, the adventure actually started:

Booting my installed debian with kernel 2.6.29-1-686 (debian kernel) failed. The system just hang when detecting the harddisks during the boot process, no oops, no messages, just no reaction any more.

Fortunatelly I had an old 2.6.23-1-686 (debian kernel) still hanging around in the grub menu. This kernel works flawlessly on the board (aside from not recognizing the VIA HD-audio, which doesn't bother me at the moment).

Next, I downloaded linux-2.6.30-rc3, compiled a minimal version with just initrd. I left out PCI-support, ACPI and almost everything else menuconfig allowed me to unselect except the VGA text console. This kernel locked up after giving me the initial prompt from busybox in the initrd.

When adding the following lines in the script executed by the kernel after booting in the initrd, the system actually works:

while true; do true; done &
/bin/sh

Quoted 7 lines

As soon as I kill the shell loop, the system freezes again.

So my conclusion is: the kernel locks up the first time the CPU is idle.

Any hints on how to proceed from here?

This seems something to do with the board and the hard disk drive. Do you attach the hard disk to the board correctly? Is there any jumper settings on the board? Is there any additional module needed by your new board? You can boot a live CD (Ubuntu is a nice one, it is built with most latest kernel and modules) and try to mount your hard disk to make sure the hardware is OK. If this works, then try to figure out which module is missing in your old kernel.

Jeffrey

#2 lore raw

Hi Jeffrey,

Quoted 14 lines · Jeffrey Cao
Quoted 12 lines · Martin Mueller

Next, I downloaded linux-2.6.30-rc3, compiled a minimal version with just initrd. I left out PCI-support, ACPI and almost everything else menuconfig allowed me to unselect except the VGA text console. This kernel locked up after giving me the initial prompt from busybox in the initrd.

When adding the following lines in the script executed by the kernel after booting in the initrd, the system actually works:

while true; do true; done &
/bin/sh

Quoted 6 lines
Quoted 4 lines

As soon as I kill the shell loop, the system freezes again.

So my conclusion is: the kernel locks up the first time the CPU is idle.

This seems something to do with the board and the hard disk drive.

Thanks for your suggestion, but it has nothing to do with the hardisk. As I wrote above, the problem is reproducible with only an initrd, vga text console, keyboard and no other driver loaded or compiled in.

The kernel freezes as soon as it get's idle the first time.

bye
MM

#3 lore raw
Quoted 22 lines · On Sun, 26 Apr 2009 19:06:02 +0200 Martin Mueller <[email protected]> wrote:

Hi Jeffrey,

Quoted 18 lines · Jeffrey Cao
Quoted 16 lines · Martin Mueller

Next, I downloaded linux-2.6.30-rc3, compiled a minimal version with just initrd. I left out PCI-support, ACPI and almost everything else menuconfig allowed me to unselect except the VGA text console. This kernel locked up after giving me the initial prompt from busybox in the initrd.

When adding the following lines in the script executed by the kernel after booting in the initrd, the system actually works:

while true; do true; done &
/bin/sh

As soon as I kill the shell loop, the system freezes again.

So my conclusion is: the kernel locks up the first time the CPU is idle.

Quoted 8 lines
Quoted 1 line

This seems something to do with the board and the hard disk drive.

Thanks for your suggestion, but it has nothing to do with the hardisk. As I wrote above, the problem is reproducible with only an initrd, vga text console, keyboard and no other driver loaded or compiled in.

The kernel freezes as soon as it get's idle the first time.

Adding idle=halt to the boot options works. idle=nomwait should work too but it doesn't.

#4 lore raw

Hi,

Quoted 31 lines · Chuck Ebbert
Quoted 28 lines · On Sun, 26 Apr 2009 19:06:02 +0200 Martin Mueller <[email protected]> wrote:

Hi Jeffrey,

Quoted 14 lines · Jeffrey Cao
Quoted 12 lines · Martin Mueller

Next, I downloaded linux-2.6.30-rc3, compiled a minimal version with just initrd. I left out PCI-support, ACPI and almost everything else menuconfig allowed me to unselect except the VGA text console. This kernel locked up after giving me the initial prompt from busybox in the initrd.

When adding the following lines in the script executed by the kernel after booting in the initrd, the system actually works:

while true; do true; done &
/bin/sh

Quoted 6 lines
Quoted 4 lines

As soon as I kill the shell loop, the system freezes again.

So my conclusion is: the kernel locks up the first time the CPU is idle.

This seems something to do with the board and the hard disk drive.

Thanks for your suggestion, but it has nothing to do with the hardisk. As I wrote above, the problem is reproducible with only an initrd, vga text console, keyboard and no other driver loaded or compiled in.

Quoted 5 lines
Quoted 2 lines

The kernel freezes as soon as it get's idle the first time.

Adding idle=halt to the boot options works. idle=nomwait should work too but it doesn't.

Thanks for your suggestion it worked fine. Yesterday I did a BIOS update (A03) from jetway, which contained a microcode update for the CPU. Since then it also works without this bootparam.

bye
MM
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?