I accidentally screwed up my Robert Nelson kernel...were is the def. config?

Hi,

I have build (again) a Robert-Nelson Kernel for my Gentoo on my
Beaglebone.
Unfortunately the boot process hangs, since no ethernet was
found/established/initialized/... and the nfsd hangs forever
waiting for Christmas or whatever.

The default config works...but were can I find it?
And what is the correct procedure if I want to modify
the config and rebuild the kernel after that?

Thank you very much in advance for any help!
Best regards,
mcc

Hi,

I have build (again) a Robert-Nelson Kernel for my Gentoo on my
Beaglebone.
Unfortunately the boot process hangs, since no ethernet was
found/established/initialized/... and the nfsd hangs forever
waiting for Christmas or whatever.

The default config works...but were can I find it

via git: (1) https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.2/patches/defconfig
or http (based on version): (2)
http://rcn-ee.net/deb/wheezy-armhf/v3.2.29-psp22/

And what is the correct procedure if I want to modify
the config and rebuild the kernel after that?

Use the build scrips in (1)'s repo or just use rebuild using the raw
patchset found in (2)...

Regards,

Robert Nelson <robertcnelson@gmail.com> [12-09-19 19:00]:

Robert Nelson <robertcnelson@gmail.com> [12-09-19 19:00]:

> Hi,
>
> I have build (again) a Robert-Nelson Kernel for my Gentoo on my
> Beaglebone.
> Unfortunately the boot process hangs, since no ethernet was
> found/established/initialized/... and the nfsd hangs forever
> waiting for Christmas or whatever.
>
> The default config works...but were can I find it

via git: (1) https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.2/patches/defconfig
or http (based on version): (2)
http://rcn-ee.net/deb/wheezy-armhf/v3.2.29-psp22/

> And what is the correct procedure if I want to modify
> the config and rebuild the kernel after that?

Use the build scrips in (1)'s repo or just use rebuild using the raw
patchset found in (2)...

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--

Hi,

still haveing problems with the ethernet...

I installed the defconfig again and compiled a kernel based on this
setting. I copied the headers, the modules and the kernel to partition
1 and to partion2/boot as uImage

The kernel itsself boots fine until it tries to fire up eth0 which
fails.

I think that the default config assumes th epreload of certain modules
so that eth0 stuff won't access the nothing.

My question is: What modules do I need to include into the kernel for
a well working ethernet hardware?

(and why does the nfsd seems not to know anything about timeouts and
their correct usage.. ;/ )

Thank you very much in advance for any help!
Best regards,
mcc

meino.cramer@gmx.de <meino.cramer@gmx.de> [12-09-19 20:44]:

Robert Nelson <robertcnelson@gmail.com> [12-09-19 19:00]:
> > Hi,
> >
> > I have build (again) a Robert-Nelson Kernel for my Gentoo on my
> > Beaglebone.
> > Unfortunately the boot process hangs, since no ethernet was
> > found/established/initialized/... and the nfsd hangs forever
> > waiting for Christmas or whatever.
> >
> > The default config works...but were can I find it
>
> via git: (1) https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.2/patches/defconfig
> or http (based on version): (2)
> http://rcn-ee.net/deb/wheezy-armhf/v3.2.29-psp22/
>
> > And what is the correct procedure if I want to modify
> > the config and rebuild the kernel after that?
>
> Use the build scrips in (1)'s repo or just use rebuild using the raw
> patchset found in (2)...
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
>
>

Hi,

still haveing problems with the ethernet...

I installed the defconfig again and compiled a kernel based on this
setting. I copied the headers, the modules and the kernel to partition
1 and to partion2/boot as uImage

The kernel itsself boots fine until it tries to fire up eth0 which
fails.

I think that the default config assumes th epreload of certain modules
so that eth0 stuff won't access the nothing.

My question is: What modules do I need to include into the kernel for
a well working ethernet hardware?

(and why does the nfsd seems not to know anything about timeouts and
their correct usage.. ;/ )

Thank you very much in advance for any help!
Best regards,
mcc

--

Hi,

no...the problem is somewhere else...
If I pull the usb cable (otg, not host) the kernel
boots. As soon as I connect that cable again, the ssh-connection
freezes.
Booting the kernel without the otg usb cable connected works fine and
eth0 comes up -- but I cannot watch the boot process as such.
Booting the kernel WITH the otg usb cable connected, the start of eth0
fails. And after some other services fail due to a missing eth0 NFSd
catch the free fall of the kernel and goes into an endless waiting
loop.

I have no clue, what influence what in this case...what is the way
usb otg seems to influence the eth0.... ?

I would be very happy if some could shed some light on to this
miracle....???

Thank you very much in advance for any help!
Best regards,
mcc

Hi,

no...the problem is somewhere else...
If I pull the usb cable (otg, not host) the kernel
boots. As soon as I connect that cable again, the ssh-connection
freezes.
Booting the kernel without the otg usb cable connected works fine and
eth0 comes up -- but I cannot watch the boot process as such.
Booting the kernel WITH the otg usb cable connected, the start of eth0
fails. And after some other services fail due to a missing eth0 NFSd
catch the free fall of the kernel and goes into an endless waiting
loop.

I have no clue, what influence what in this case...what is the way
usb otg seems to influence the eth0.... ?

I would be very happy if some could shed some light on to this
miracle....???

Strange, with that config/patchset. I usually have the bone powered
over 5V DC jack, with both the ethernet and usb-serial plugged in..

Regards,

Robert Nelson <robertcnelson@gmail.com> [12-09-19 21:08]:

> Hi,
>
> no...the problem is somewhere else...
> If I pull the usb cable (otg, not host) the kernel
> boots. As soon as I connect that cable again, the ssh-connection
> freezes.
> Booting the kernel without the otg usb cable connected works fine and
> eth0 comes up -- but I cannot watch the boot process as such.
> Booting the kernel WITH the otg usb cable connected, the start of eth0
> fails. And after some other services fail due to a missing eth0 NFSd
> catch the free fall of the kernel and goes into an endless waiting
> loop.
>
> I have no clue, what influence what in this case...what is the way
> usb otg seems to influence the eth0.... ?
>
> I would be very happy if some could shed some light on to this
> miracle....???

Strange, with that config/patchset. I usually have the bone powered
over 5V DC jack, with both the ethernet and usb-serial plugged in..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--

Hi Robert,

I am using the LCD7 with the Bone, which has a 5V jack, which also
feeds the Bone...
But with other kernels it works so the hardware seems to be ok...

Best regards,
mcc

Robert Nelson <robertcnelson@gmail.com> [12-09-19 21:08]:

> Hi,
>
> no...the problem is somewhere else...
> If I pull the usb cable (otg, not host) the kernel
> boots. As soon as I connect that cable again, the ssh-connection
> freezes.
> Booting the kernel without the otg usb cable connected works fine and
> eth0 comes up -- but I cannot watch the boot process as such.
> Booting the kernel WITH the otg usb cable connected, the start of eth0
> fails. And after some other services fail due to a missing eth0 NFSd
> catch the free fall of the kernel and goes into an endless waiting
> loop.
>
> I have no clue, what influence what in this case...what is the way
> usb otg seems to influence the eth0.... ?
>
> I would be very happy if some could shed some light on to this
> miracle....???

Strange, with that config/patchset. I usually have the bone powered
over 5V DC jack, with both the ethernet and usb-serial plugged in..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--

Another bit of light:

When connecting the usb serial plug (ssh connection freezes) and
diconnecting is again (release of the ssh connection) dmesg prints:

    [ 565.356781] gadget: high-speed config #1: CDC Ethernet (ECM)
    [ 570.331298] musb g_ether gadget disconnected.

It seems, the Bone tries to open a second ethernet connection which
may explain why ssh stops working...

I inserted the modules usbserial and ti_usb_3410_5052 in beforehand...

(Additionally the touchscreen of the LCD7 seems not functional with
this kernel...)

Best regards,
mcc

Robert Nelson <robertcnelson@gmail.com> [12-09-19 21:08]:

> Hi,
>
> no...the problem is somewhere else...
> If I pull the usb cable (otg, not host) the kernel
> boots. As soon as I connect that cable again, the ssh-connection
> freezes.
> Booting the kernel without the otg usb cable connected works fine and
> eth0 comes up -- but I cannot watch the boot process as such.
> Booting the kernel WITH the otg usb cable connected, the start of eth0
> fails. And after some other services fail due to a missing eth0 NFSd
> catch the free fall of the kernel and goes into an endless waiting
> loop.
>
> I have no clue, what influence what in this case...what is the way
> usb otg seems to influence the eth0.... ?
>
> I would be very happy if some could shed some light on to this
> miracle....???

Strange, with that config/patchset. I usually have the bone powered
over 5V DC jack, with both the ethernet and usb-serial plugged in..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--

Another bit of light:

When connecting the usb serial plug (ssh connection freezes) and
diconnecting is again (release of the ssh connection) dmesg prints:

    [ 565.356781] gadget: high-speed config #1: CDC Ethernet (ECM)
    [ 570.331298] musb g_ether gadget disconnected.

It seems, the Bone tries to open a second ethernet connection which
may explain why ssh stops working...

Correct, with that config, the Bone tries to create a usb-gadget
ethernet connection.. But the evil ftdi usb-serial adapter is still on
the same usb bus..

I inserted the modules usbserial and ti_usb_3410_5052 in beforehand...

(Additionally the touchscreen of the LCD7 seems not functional with
this kernel...)

Don't remember off hand, where gentoo wants it, but in ubuntu/debian

we dump "fbcon and ti_tscadc" into /etc/modules, to fix the touchscreen..

Regards,