Skip to contentSkip to conversation

Compiling custom ath10k: step 5 minor issue

DISCUSSION Bart Jooris 4 participants 4 messages Feb 24, 2014 – Mar 30, 2014 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

../ath/net/core/flow_dissector.c seems to be changed?

./gentree.py --verbose --clean --git-revision master --copy-list copy-list.ath ../ath ../backports-output Get original source files from git ...
Apply patches ...
Not applying backport-adjustments/dma-buf.patch, not needed
Applying patch backport-adjustments/flow_dissector.patch

Quoted 3 lines

patching file compat/net-core-flow_dissector.c
Hunk #1 FAILED at 177.
1 out of 1 hunk FAILED -- saving rejects to file compat/net-core-flow_dissector.c.rej

Kind regards,

Bart

Signature · 15 lines
Bart Jooris
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
E-mail: [email protected]
M: +32 474 59 53 42
Tel. +32 9 33 14900
Fax +32 9 33 14899


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#1 lore raw
Quoted 8 lines · Bart Jooris

../ath/net/core/flow_dissector.c seems to be changed?

./gentree.py --verbose --clean --git-revision master --copy-list copy-list.ath ../ath ../backports-output
Get original source files from git ...
Apply patches ...
Not applying backport-adjustments/dma-buf.patch, not needed Applying patch backport-adjustments/flow_dissector.patch

Quoted 4 lines
Quoted 3 lines

patching file compat/net-core-flow_dissector.c
Hunk #1 FAILED at 177.
1 out of 1 hunk FAILED -- saving rejects to file

compat/net-core-flow_dissector.c.rej

backports is always a moving target and you might get errors like these when you create it on your own. There really isn't a reliable to avoid it, you just have to fix the errors as you see them.

Another option is that you use official backports releases, but then ath10k will be few weeks old.

Signature · 6 lines
Kalle Valo

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw

Hi all,

Quoted 10 lines · Kalle Valo
Quoted 8 lines · Bart Jooris

../ath/net/core/flow_dissector.c seems to be changed?

./gentree.py --verbose --clean --git-revision master --copy-list copy-list.ath ../ath ../backports-output
Get original source files from git ...
Apply patches ...
Not applying backport-adjustments/dma-buf.patch, not needed Applying patch backport-adjustments/flow_dissector.patch

Quoted 7 lines
Quoted 4 lines
Quoted 3 lines

patching file compat/net-core-flow_dissector.c
Hunk #1 FAILED at 177.
1 out of 1 hunk FAILED -- saving rejects to file

compat/net-core-flow_dissector.c.rej

backports is always a moving target and you might get errors like these when you create it on your own. There really isn't a reliable to avoid it, you just have to fix the errors as you see them.

I needed one fix, in drivers_net_wireless_ath_wil6210_netdev.patch, to let all the hunks succeed. I ended up with gentree expecting combined.cocci in a tempdir...

...
Not applying collateral-evolutions/regulator/0001-bt8xx-rename-dst-ops.patch, not needed Applying patch /tmp/Tgt2Ph/combined.cocci
Traceback (most recent call last):
File "./gentree.py", line 843, in <module>

    ret = _main()

File "./gentree.py", line 490, in _main
logwrite=logwrite)
File "./gentree.py", line 706, in process
cwd=args.outdir)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

What could be my next move?

Thanks a lot,

Bart

Signature · 15 lines
Bart Jooris
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
E-mail: [email protected]
M: +32 474 59 53 42
Tel. +32 9 33 14900
Fax +32 9 33 14899


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#3 lore raw
Quoted 25 lines · Bart Jooris

Hi all,

Quoted 21 lines · Kalle Valo
Quoted 9 lines · Bart Jooris

../ath/net/core/flow_dissector.c seems to be changed?

./gentree.py --verbose --clean --git-revision master --copy-list copy-list.ath ../ath ../backports-output
Get original source files from git ...
Apply patches ...
Not applying backport-adjustments/dma-buf.patch, not needed Applying patch backport-adjustments/flow_dissector.patch

Quoted 1 line
Quoted 5 lines
Quoted 3 lines

patching file compat/net-core-flow_dissector.c
Hunk #1 FAILED at 177.
1 out of 1 hunk FAILED -- saving rejects to file

compat/net-core-flow_dissector.c.rej

backports is always a moving target and you might get errors like these when you create it on your own. There really isn't a reliable to avoid it, you just have to fix the errors as you see them.

The flow dissector recently had a crash bug fixed and there seem to be multiple conflicts with how other back ports were done to older versions of Linux.

I just ran into this problem myself on a back port to 3.4. Haven't fully sorted it out.

Quoted 45 lines

I needed one fix, in drivers_net_wireless_ath_wil6210_netdev.patch, to let all the hunks succeed. I ended up with gentree expecting combined.cocci in a tempdir...

...
Not applying collateral-evolutions/regulator/0001-bt8xx-rename-dst-ops.patch, not needed Applying patch /tmp/Tgt2Ph/combined.cocci
Traceback (most recent call last):
File "./gentree.py", line 843, in <module>

    ret = _main()

File "./gentree.py", line 490, in _main
logwrite=logwrite)
File "./gentree.py", line 706, in process
cwd=args.outdir)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

What could be my next move?

Thanks a lot,

Bart

--
Bart Jooris
Department of Information Technology
Internet Based Communication Networks and Services (IBCN) Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
E-mail: [email protected]
M: +32 474 59 53 42
Tel. +32 9 33 14900
Fax +32 9 33 14899

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 8 lines
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k