Opened 7 years ago
Closed 7 years ago
#13698 closed bug (fixed)
Network stopped working on haiku nightly hrev50967
Reported by: | addos | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Network/ipro1000 | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I did a bisection of tests with the nightlies to track down which nightly I last had working internet on. The last build was hrev50779. After that, it looks like dhcp assigns an ip to the interface ipro1000, but I can't ping anything and websites don't load in webpositive. I can't connect to irc in vision. Need assistance tracking down what changed.
Attachments (2)
Change History (20)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
comment:3 by , 7 years ago
That's 188 commits: http://cgit.haiku-os.org/haiku/log/?qt=range&q=hrev50967+%5ehrev50779&ofs=250
comment:4 by , 7 years ago
Those were the only two builds I could download from the haiku nightly site. Are there any intermediate builds available somewhere I could try, to try to narrow it down further?
https://download.haiku-os.org/nightly-images/x86_gcc2_hybrid/
comment:6 by , 7 years ago
comment:7 by , 7 years ago
these changes were added in hrev50813:
http://cgit.haiku-os.org/haiku/commit/?id=e32c64c113053d4a3e4cfdb50a8ce64b8c1a60eb
http://cgit.haiku-os.org/haiku/commit/?id=6e02aa9d1ce55ac600f75ac0ba895b2bdfd2d23b
http://cgit.haiku-os.org/haiku/commit/?id=dfe2eac4c6555119c3590f90c51dd1636a483699
http://cgit.haiku-os.org/haiku/commit/?id=80d8697c0ec83093b2552c90a9c947189245f51f
Please add your syslog.
by , 7 years ago
comment:8 by , 7 years ago
http://cgit.haiku-os.org/haiku/commit/?id=e32c64c113053d4a3e4cfdb50a8ce64b8c1a60eb looks suspicious since it impacts the network card I am using
follow-up: 11 comment:9 by , 7 years ago
Odd, that commit simply added new PCI IDs and didn't change anything.
comment:11 by , 7 years ago
Replying to diver:
Odd, that commit simply added new PCI IDs and didn't change anything.
At least the part with driver.c should be reverted as it affects the old driver beos_ipro1000.
Seeing the typos in driver.c, it doesn't compile anyway (";" instead of ":").
by , 7 years ago
Attachment: | syslog.tar.gz added |
---|
comment:13 by , 7 years ago
Component: | - General → Drivers/Network/ipro1000 |
---|
comment:14 by , 7 years ago
grep -R E1000_DEV_ID_82541GI_LF dev/e1000/if_em.c: { 0x8086, E1000_DEV_ID_82541GI_LF, PCI_ANY_ID, PCI_ANY_ID, 0}, dev/e1000/e1000_hw.h:#define E1000_DEV_ID_82541GI_LF 0x107C dev/e1000/if_lem.c: { 0x8086, E1000_DEV_ID_82541GI_LF, PCI_ANY_ID, PCI_ANY_ID, 0}, dev/e1000/e1000_api.c: case E1000_DEV_ID_82541GI_LF:
Your device ID is now declared for both driver if_em.c and if_lem.c. To compare with FreeBSD: http://fxr.watson.org/fxr/ident?v=FREEBSD9;i=E1000_DEV_ID_82541GI_LF
Defined as a preprocessor macro in: dev/e1000/e1000_hw.h, line 75 Referenced (in 3 files total) in: dev/e1000/e1000_hw.h, line 75 dev/e1000/if_lem.c, line 115 dev/e1000/e1000_api.c, line 207
Obviously the addition of IDs is the problem.
comment:15 by , 7 years ago
So let's try what's common:
egrep "(E1000_DEV_ID_[^,]+)," if_em.c | sed -e "s/^.*8086, //g" | sed -e "s/,.*//g" | sort > em.ids egrep "(E1000_DEV_ID_[^,]+)," if_lem.c | sed -e "s/^.*8086, //g" | sed -e "s/,.*//g" | sort > lem.ids comm -12 em.ids lem.ids
Result:
E1000_DEV_ID_82540EM E1000_DEV_ID_82540EM_LOM E1000_DEV_ID_82540EP E1000_DEV_ID_82540EP_LOM E1000_DEV_ID_82540EP_LP E1000_DEV_ID_82541EI E1000_DEV_ID_82541EI_MOBILE E1000_DEV_ID_82541ER E1000_DEV_ID_82541ER_LOM E1000_DEV_ID_82541GI E1000_DEV_ID_82541GI_LF E1000_DEV_ID_82541GI_MOBILE E1000_DEV_ID_82542 E1000_DEV_ID_82543GC_COPPER E1000_DEV_ID_82543GC_FIBER E1000_DEV_ID_82544EI_COPPER E1000_DEV_ID_82544EI_FIBER E1000_DEV_ID_82544GC_COPPER E1000_DEV_ID_82544GC_LOM E1000_DEV_ID_82545EM_COPPER E1000_DEV_ID_82545EM_FIBER E1000_DEV_ID_82545GM_COPPER E1000_DEV_ID_82545GM_FIBER E1000_DEV_ID_82545GM_SERDES E1000_DEV_ID_82546EB_COPPER E1000_DEV_ID_82546EB_FIBER E1000_DEV_ID_82546EB_QUAD_COPPER E1000_DEV_ID_82546GB_COPPER E1000_DEV_ID_82546GB_FIBER E1000_DEV_ID_82546GB_PCIE E1000_DEV_ID_82546GB_QUAD_COPPER E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3 E1000_DEV_ID_82546GB_SERDES E1000_DEV_ID_82547EI E1000_DEV_ID_82547EI_MOBILE E1000_DEV_ID_82547GI
comment:17 by , 7 years ago
Hey, wanted to confirm that I booted the latest nightly and networking is working as expected.
comment:18 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
So the last working build was hrev50779? What was the next you tried which was broken?