Opened 9 months ago

Closed 7 months ago

#899 closed System Defect (fixed)

GRUB 2 (still) slow

Reported by: chrstphrchvz Owned by: kris
Priority: minor Milestone:
Component: System Configuration Version: 10.0-RELEASE
Keywords: grub boot slow hangs Cc: trac-bugs@…

Description

I have installed using the latest 10.0-RC2 ISO (PCBSD10.0-RELEASE-p2-01-02-2014-x64-DVD-USB.iso) using default partitioning (MBR, GRUB; HDD was zeroed beforehand) and after installing, it takes roughly two minutes until PCBSD boots (i.e. for any FreeBSD messages to appear). While "stuck" (about one minute on "GRUB loading \ Welcome to GRUB!", blank, then "Hold left-shift for menu", then blank again), the hard drive light blinks about twice a second. (This issue was also the case for a recent 9.2 installation attempt--have not yet tried the latest 9.2 ISO.)

I saw this bug report and so far the issue (if mine is the same one) did not get resolved in the latest 10.0-RELEASE: #748

The system is a Toshiba Satellite A135-S2356, 1GB RAM, 1.6GHz Celeron M 520, ATI Radeon Xpress 200m, 80GB SATA. (Note: it seems to be a rather peculiar one since I can't seem to get any ordinary recent Linux distribution to boot without eventually hanging--was glad to find that PCBSD 9.1 worked).

Change History (10)

comment:1 Changed 9 months ago by joshms

  • Owner set to kris

Is your computer old enough to have a 3-1/4 FDD? If so try disabling that in the BIOS. I was having the same issue on an older test system and disabling FDD fixed it for me.

comment:2 Changed 9 months ago by chrstphrchvz

There is no internal floppy (laptop is from 2006). With the latest BIOS I can only "disable" a floppy if a USB one is plugged in, but it doesn't make a difference. Whether or not it's plugged in, and whether or not it's disabled, GRUB 2 still takes a long time. I'll look for how to disable GRUB floppy probing, I noticed that Ubuntu had a similar issue a while back: http://goo.gl/b6BauS
I'll see if there's any debug messages as well: http://goo.gl/2lDLgj

comment:3 Changed 9 months ago by chrstphrchvz

Here's what is put out by GRUB with "set debug=all" in grub.cfg: http://youtu.be/Pa9v8miycgE
(Of course the wait for FreeBSD to take over is now 8 1/2 minutes.)
Lines beginning with fs/zfs/zfs.c ("failed here" and other interesting stuff), kern/disk.c (e.g. "Opening 'hd0' failed"), script/script.c (running malloc and free), but all sort of cycling every few seconds; the hard drive light still blinks as before (when the screen isn't scrolling).

comment:4 follow-up: Changed 8 months ago by joshms

Is it feasible for you to try a BIOS update? There have been a number of instances where this has helped other users.

comment:5 in reply to: ↑ 4 Changed 8 months ago by chrstphrchvz

Replying to joshms:

Is it feasible for you to try a BIOS update? There have been a number of instances where this has helped other users.

I am already on the latest BIOS for this machine (1.60 -- http://goo.gl/865kQm).

comment:6 Changed 7 months ago by zdannar

Hello,

I am having the same issues that is being described in this ticket. I would be happy to provide any information that might help get this solved. Please let me know what you would like to see.

Thanks.

Machine: Dell studio 15; no floppy drive as described above.

I didn't have a problem before going to 10, 9.X worked fine.

comment:7 Changed 7 months ago by chrstphrchvz

I reinstalled using the latest iso (PCBSD10.0-RELEASE-p5-02-11-2014-x64-DVD-USB.iso) and chose the FreeBSD boot manager instead of GRUB. It works now without any unreasonable delay in booting.

(I had tried this with another release back in January, but the "F1 FreeBSD ..." screen would show up and even after pressing F1 nothing would happen. The latest iso still produces delayed boot in GRUB, though.)

(Also, I have not tried GRUB-slice. I suspected FreeBSD boot manager would work after getting NAS4Free and PC-BSD 9.1 working on the this machine).

I suggest to anyone else with this issue to reinstall, if possible, using the BSD boot manager: at Disk selection, click Customize, choose Advanced setup mode, and change "GRUB" to "BSD".

comment:8 follow-up: Changed 7 months ago by kris

Can you re-test with the newer GRUB in our 10.0.1 testing image?

http://iso.cdn.pcbsd.org/10.0-RELEASE/testing/amd64/

This one has a GRUB 2.02 prerelease version, and I'm hopeful that it fixes the slowness issue.

comment:9 in reply to: ↑ 8 Changed 7 months ago by chrstphrchvz

Replying to kris:

Can you re-test with the newer GRUB in our 10.0.1 testing image?

http://iso.cdn.pcbsd.org/10.0-RELEASE/testing/amd64/

This one has a GRUB 2.02 prerelease version, and I'm hopeful that it fixes the slowness issue.

I have reinstalled with PCBSD10.0.1-RELEASE-03-12-2014-x64-DVD-USB.iso and GRUB now works as expected. I can even get to the graphical menu too. There indeed is a few mentions of ZFS in the changelog http://goo.gl/U1ZD0p but I couldn't be certain what was wrong in the first place.

This build also fixed my Atheros Wifi. Let's see if there's any other issues remaining... Thanks for the help!

comment:10 Changed 7 months ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Fantastic!

I'll mark this one as closed then. If anybody else still experiences the GRUB slowness post 10.0.1, please open up a new ticket.

Note: See TracTickets for help on using tickets.