Modify

Opened 9 years ago

Closed 8 years ago

#107 closed defect (worksforme)

Cant start HDD2.5 with rev184, but WL500gdeLuxe starts with rev184

Reported by: e.d.grootjans@… Owned by: amain
Priority: major Milestone: milestone:
Component: openwrt Version: 2.0
Severity: Keywords:
Cc:

Description

Sorry for the criptical summary.

I have 2 ASUS devices.
(1) the ASUS WL500g-de Luxe
(2) the ASUS HDD2.5

I have build a few time a kernel with rev184 and get the following results:

1) I can start the WL500g with the newest kernel. I can make a netconsole and see messages scrolling down.
2) If I flash the HDD2.5 with the same kernel and try to boot from USB, I'm not getting anything. I dont see a led become blinking on the usb device. Only the powerled burns.
I also get no messages at netconsole.
At first i thought it has to do something with device names - maybe changed by a new kernel to all sdxy names. But in that case i had to see or hear something with usb-flash in.
And because netconsole becomes active just after starting boot, I should have seen something on my netmonitor; but i didnot see anything.

When I use the old debwrt2.01-hda1 kernel (downloadversion of the website), the device boots correctly.
I get no netconsole messages (but i think this was not jet implemented into this version).

Is there something changed in the default hardware which works?

So i think the device is not comming to boot at ALL.
The ASUS WL500g de Luxe uses an 5365@200Mhz proc and 4306 WLAN
and the WL-HDD uses an 4710@125Mhz. and 4706 WLAN

I have looked this up at Openwrt.org, but don't know if this is fully correct, because
the HDD25 says it has an 4306 WLAN Controler.

The HDD25 has no RS232 device, so i can get no bootmessages....


Attachments (3)

config-debwrt (12.0 KB) - added by amain 8 years ago.
DebWrt config file for WL-HDD2.5
config-openwrt (28.7 KB) - added by amain 8 years ago.
OpenWrt config file for WL-HDD2.5
config-kernel-2.6.34.5 (54.4 KB) - added by amain 8 years ago.
Kernel config file for WL-HDD2.5

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by stappers

netconsole is allready implemented for a long time in debwrt.

My plan to prevail this challenge would be

  • Configure the HDD2.5 to something that works
  • Change, if needed, the network to 192.168.1.0/24, the HDD2.5 on 192.168.1.1, a computer with tcpdump on 192.168.1.2
  • Check and double check the network setup
  • Make sure that network traffic from the HDD2.5 is visible with tcpdump or another network sniffer.
  • At the buildsystem
    • make menuconfig for the ASUS HDD2.5
    • Make sure that there is CONFIG_CMDLINE_BOOL=y in .config
    • Make sure that CONFIG_CMDLINE=y in .config has netconsole set
    • According #101 must CONFIG_CMDLINE have also root=/dev/hda1
    • make
  • Flashing the device
  • Boot it
  • Watch carefully the network with the sniffer. There should be at least the ARP Request who has 192.168.1.2
  • Sniff for the netconsole packets.
  • Make the netconsole messages visible with netcat in listen mode.

comment:2 Changed 9 years ago by e.d.grootjans@…

First I have a file system that works, if i use an old kernel:

uname -a
Linux HDD25 2.6.34.5 #2 Mon Oct 4 23:05:25 CEST 2010 mips

I have build with this in the .config file:

# Configuration
#
# CONFIG_B43_STABLE is not set
CONFIG_B43_EXPERIMENTAL=y
# CONFIG_B43_OPENFIRMWARE is not set
# CONFIG_B43_FW_SQUASH is not set
CONFIG_PACKAGE_kmod-b43legacy=y
CONFIG_PACKAGE_kmod-rt2500-pci=y
CONFIG_PACKAGE_kmod-rt2500-usb=y
CONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not set
# CONFIG_NETPOLL_TRAP is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="root=/dev/hda1 init=/sbin/init rootdelay=15 noinitrd console=ttyS0,115200 netconsole=6665@192.168.1.1/eth0,6666@192.168.1.2/"

So I think that must be OK.

I have listen to netconsole: with the following commands:

sudo ifconfig eth0:1 192.168.1.2
sudo nc -l -p 6666 -u

Is there a way to check if netconsole is build-in in this kernel ???

I have a new build for hda1 and wil check this kernel...

comment:3 Changed 9 years ago by e.d.grootjans@…

This is the result of tcpdump, with the new build kernel, with hda1 on the command-line:

britannica:/home/erik# tcpdump -vv  host 192.168.1.1
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel

This kernel has - i know for sure - netconsole is implemented in this one -.
Also netconsole shows nothing.

britannica:~# nc -l -p 6666 -u
^C

The only thing i can make out is that - for some reason the kernel on this device does not boot.

If I try net console on the WL500g i get messages:

Linux version 2.6.36.4 (erik@britannica) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #2 Tue Mar 15 11:40:28 CET 2011
CPU revision is: 00029007 (Broadcom BCM3302)
ssb: chipcommon status is 0x0
ssb: Initializing MIPS core...
...
^C

comment:4 Changed 8 years ago by amain

Maybe this can be of help. Posting the .config files of the hda1-imaga which can be downloaded from the site.

Changed 8 years ago by amain

DebWrt config file for WL-HDD2.5

Changed 8 years ago by amain

OpenWrt config file for WL-HDD2.5

Changed 8 years ago by amain

Kernel config file for WL-HDD2.5

comment:5 Changed 8 years ago by amain

  • Resolution set to worksforme
  • Status changed from new to closed

For now closing ticket as I can't see anything more we can do. Sorry.

Add Comment

Modify Ticket

Action
as closed The owner will remain amain.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.