Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Jan Lehnardt :couchdb:
Jan Lehnardt :couchdb:
@janl@narrativ.es  ·  activity timestamp 4 months ago

[Update: This made to the loader devs and it’s a confirmed bug on FreeBSD/Arm’s console handling. Thanks for all the help!]

#FreeBSD how do I debug single-user mode not booting into a shell (tried init_shell=/bin/sh and csh so far)? boot -vs doesn’t show much.

Multi-user boot is fine.

This is on #Ampere #Altra / ARM.

listing of freebsd boot screen output stuck at a particular spot

Trying to mount root from ufs:/dev/vtbd0p2 [rw]...
Enabling CnP
TCP_ratelimit: Is now initialized
regulator: shutting down unused regulators
ugen01: <(0x1b36) XHCI root HUB> at usbus®
uhub® on usbus®
uhubB: <(0x1b36) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
usbus!
efirtch: providing initial system time
Dual Console: Video Primary, Serial Secondary
start_init: trying /sbin/init
passa at vtscsil bus 0 scbus target 8 lun B
pass®: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device
pass0: 300.000MB/s transfers
pass®: Command Queueing enabled
cd at vtscsid bus 8 scbus target 8 lun B
cd®: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device
cd8: 300.000MB/s transfers
cdO: Command Queueing enabled
cd®: Attempt to query device size failed: NOT READY, Medium not present
GEOM: new disk cdo
uhubb: 8 ports with 8 removable, self powered
ugen0.2: <QEMU QEMU USB Mouse > at usbus®
ugen0.3: <QEMU DEMU USB Keyboard> at usbus®
ukbd0 on uhuba
ukbd®: <QEMU QEMU USB Keyboard, class 0/0, rev 2.00/0.00, addr 2> on usbusB
kbd: new array size 4
kbd1 at ukbd@
listing of freebsd boot screen output stuck at a particular spot Trying to mount root from ufs:/dev/vtbd0p2 [rw]... Enabling CnP TCP_ratelimit: Is now initialized regulator: shutting down unused regulators ugen01: <(0x1b36) XHCI root HUB> at usbus® uhub® on usbus® uhubB: <(0x1b36) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus! efirtch: providing initial system time Dual Console: Video Primary, Serial Secondary start_init: trying /sbin/init passa at vtscsil bus 0 scbus target 8 lun B pass®: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device pass0: 300.000MB/s transfers pass®: Command Queueing enabled cd at vtscsid bus 8 scbus target 8 lun B cd®: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device cd8: 300.000MB/s transfers cdO: Command Queueing enabled cd®: Attempt to query device size failed: NOT READY, Medium not present GEOM: new disk cdo uhubb: 8 ports with 8 removable, self powered ugen0.2: <QEMU QEMU USB Mouse > at usbus® ugen0.3: <QEMU DEMU USB Keyboard> at usbus® ukbd0 on uhuba ukbd®: <QEMU QEMU USB Keyboard, class 0/0, rev 2.00/0.00, addr 2> on usbusB kbd: new array size 4 kbd1 at ukbd@
listing of freebsd boot screen output stuck at a particular spot Trying to mount root from ufs:/dev/vtbd0p2 [rw]... Enabling CnP TCP_ratelimit: Is now initialized regulator: shutting down unused regulators ugen01: <(0x1b36) XHCI root HUB> at usbus® uhub® on usbus® uhubB: <(0x1b36) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus! efirtch: providing initial system time Dual Console: Video Primary, Serial Secondary start_init: trying /sbin/init passa at vtscsil bus 0 scbus target 8 lun B pass®: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device pass0: 300.000MB/s transfers pass®: Command Queueing enabled cd at vtscsid bus 8 scbus target 8 lun B cd®: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device cd8: 300.000MB/s transfers cdO: Command Queueing enabled cd®: Attempt to query device size failed: NOT READY, Medium not present GEOM: new disk cdo uhubb: 8 ports with 8 removable, self powered ugen0.2: <QEMU QEMU USB Mouse > at usbus® ugen0.3: <QEMU DEMU USB Keyboard> at usbus® ukbd0 on uhuba ukbd®: <QEMU QEMU USB Keyboard, class 0/0, rev 2.00/0.00, addr 2> on usbusB kbd: new array size 4 kbd1 at ukbd@
  • Copy link
  • Flag this post
  • Block
Leah Neukirchen
Leah Neukirchen
@leah@blahaj.social replied  ·  activity timestamp 4 months ago

@janl I assume regular boot stalls too?

  • Copy link
  • Flag this comment
  • Block
Jan Lehnardt :couchdb:
Jan Lehnardt :couchdb:
@janl@narrativ.es replied  ·  activity timestamp 4 months ago

@leah nope

  • Copy link
  • Flag this comment
  • Block
Leah Neukirchen
Leah Neukirchen
@leah@blahaj.social replied  ·  activity timestamp 4 months ago

@janl you can enter single user mode with "shutdown". Else, the variable is called init_path, but -s should work as well...

  • Copy link
  • Flag this comment
  • Block
Leah Neukirchen
Leah Neukirchen
@leah@blahaj.social replied  ·  activity timestamp 4 months ago

@janl is this serial or video console? does pressing enter do anything?

  • Copy link
  • Flag this comment
  • Block
meka
meka
@meka@bsd.network replied  ·  activity timestamp 4 months ago

@leah oh that's a good one. I had situations where password prompt was not visible over IPMI @janl

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct