Skip to content

Commit

Permalink
Workaround for C1 Jessie serial kernel dump
Browse files Browse the repository at this point in the history
  • Loading branch information
Fourdee authored May 1, 2019
1 parent 0406b12 commit e031195
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dietpi/func/dietpi-set_hardware
Original file line number Diff line number Diff line change
Expand Up @@ -1467,8 +1467,13 @@ Do you want to continue and disable the serial login console?'; then
Serial_Main(){

#-------------------------------------------------------------------------------------
#C1 on 3.x with Jessie, causes kernel hang.
if (( $G_HW_MODEL == 10 )); then

echo 'Not supported'

# Enable
if [[ $INPUT_DEVICE_VALUE == 'enable' ]]; then
elif [[ $INPUT_DEVICE_VALUE == 'enable' ]]; then

# Enable for specific Serial/UART device
if [[ $INPUT_ADDITIONAL ]]; then
Expand Down

2 comments on commit e031195

@MichaIng
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fourdee
Is this true for all serial gettys or just when enabling for all of them? E.g. systemctl start serial-getty@ttyS2 as well hangs kernel?

@Fourdee
Copy link
Collaborator Author

@Fourdee Fourdee commented on e031195 May 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichaIng

Not sure, will check if I can.

Kernel hang also with bluetooth enable/disable stage. Could be my board has failed, or, issue our end.

Regardless. Will try ARMbian stretch image. Probably the better option than to provide outdated distro to our users?

Please sign in to comment.