조회 수 640 추천 수 0 댓글 0

단축키

Prev이전 문서

Next다음 문서

단축키

Prev이전 문서

Next다음 문서

Extra Form

 

리눅스 6.4을 부팅하면 1000번마다 한 번 꼴로 멈추는 버그가 있습니다. 이를 확인하기 위해 21시간 동안 292,612번 부팅을 했다네요.

 

재밌게도 이 버그는 인텔 시스템에서 덜 발생합니다. 

 

I booted Linux 292,612 times
And it only took 21 hours.

Linux 6.4 has a bug where it hangs on boot, but probably only 1 in 1000 boots (and rarer if using Intel hardware for some reason). It’s surprising to me that no one has noticed this, but I certainly did because our nbdkit tests which use libguestfs were randomly hanging, always at the same place early in booting the libguestfs qemu appliance:

[    0.070120] Freeing SMP alternatives memory: 48K
So to bisect this I had to run guestfish in a loop until it either hangs or doesn’t. How many times? I chose 10,000 boots as a good threshold. To make this easier I wrote a test harness which uses up to 8 threads and parses the output to detect the hang.

After a painful bisection between v6.0 and v6.4-rc6 which took many days I found the culprit, a regression in the printk time feature: https://lkml.org/lkml/2023/6/13/733

To prove it I booted Linux 292,612 times before the faulty commit (successfully), and then after (failed after under 1,000 boots).

 

https://rwmj.wordpress.com/2023/06/14/i-booted-linux-292612-times/


0 0 0 0 0 0 0 0 0 0
List of Articles
번호 분류 제목 날짜 조회 수
공지 안내 🚨(뉴비필독) 전체공지 & 포인트안내 6 file 2024.11.04 25954
공지 System URL만 붙여넣으면 끝! 임베드 기능 2025.01.21 20459
377888 유머 힝.. 거기가 아닌데.. file 2024.10.13 765
377887 유머 힝.. 거기가 아닌데.. file 2024.10.11 282
377886 유머 힝.. 거기가 아닌데.. file 2024.10.15 887
377885 유머 힝.. 거기가 아닌데.. file 2024.10.17 515
377884 유머 힝.. 거기가 아닌데.. file 2024.10.13 730
377883 유머 힝.. 거기가 아닌데.. file 2024.10.12 3024
377882 유머 힝.. 거기가 아닌데.. file 2024.10.17 623
377881 잡담 힝 음식 한시간안에 온다머... 2021.01.10 152
377880 힝 8~8 아무도 안먹어 file 2021.01.26 215
377879 잡담 힛힛힛힛힛힛 미쳐감 힛힛힛힛 2021.12.31 48
Board Pagination Prev 1 2 3 4 5 ... 37789 Next
/ 37789