Hi Punky,<br>
<br>
I have near to no experience with building linux distros. Hope you bear
with me. What i want is a simple ISO with network capability that can
run Java on the eBox 2300 SX. I already manage to create a voyage ISO
that included Java. What remains is networking and the ability to lauch
my script when the system starts.<br>
<br>
Now, as far as networking is concerned, I just booted with 0.6.1 and
excuted modproble r6040. After this, i still have only the loopback
interface. The result of the dmesg command follows.<br>
<br>
Regards,<br>
Max.<br>
<br>
<br>
Linux version 2.6.26-486-voyage (2.6.26-13) (root@punknix-uml) (gcc
version 4.3.2 (Debian 4.3.2-1.1) ) #1 PREEMPT Tue Feb 17 13:52:32 GMT
2009<br>
BIOS-provided physical RAM map:<br>
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)<br>
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)<br>
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)<br>
BIOS-e820: 0000000000100000 - 0000000008000000 (usable)<br>
BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)<br>
0MB HIGHMEM available.<br>
128MB LOWMEM available.<br>
Entering add_active_range(0, 0, 32768) 0 entries of 256 used<br>
Zone PFN ranges:<br>
DMA 0 -> 4096<br>
Normal 4096 -> 32768<br>
HighMem 32768 -> 32768<br>
Movable zone start PFN for each node<br>
early_node_map[1] active PFN ranges<br>
0: 0 -> 32768<br>
On node 0 totalpages: 32768<br>
DMA zone: 32 pages used for memmap<br>
DMA zone: 0 pages reserved<br>
DMA zone: 4064 pages, LIFO batch:0<br>
Normal zone: 224 pages used for memmap<br>
Normal zone: 28448 pages, LIFO batch:7<br>
HighMem zone: 0 pages used for memmap<br>
Movable zone: 0 pages used for memmap<br>
DMI not present or invalid.<br>
Allocating PCI resources starting at 10000000 (gap: 08000000:f7000000)<br>
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512<br>
Kernel command line: initrd=initrd1.img boot=live root=/dev/hdb
noautologin noxautologin nouser debug all_generic_ide nolocales
username=root hostname=voyage union=aufs BOOT_IMAGE=vmlinuz1 <br>
No local APIC present or hardware disabled<br>
mapped APIC to ffffb000 (01101000)<br>
Initializing CPU#0<br>
PID hash table entries: 512 (order: 9, 2048 bytes)<br>
Console: colour VGA+ 80x25<br>
console [tty0] enabled<br>
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<br>
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<br>
Memory: 122428k/131072k available (1782k kernel code, 8232k reserved, 638k data, 264k init, 0k highmem)<br>
virtual kernel memory layout:<br>
fixmap : 0xfffac000 - 0xfffff000 ( 332 kB)<br>
pkmap : 0xff800000 - 0xffc00000 (4096 kB)<br>
vmalloc : 0xc8800000 - 0xff7fe000 ( 879 MB)<br>
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)<br>
.init : 0xc0360000 - 0xc03a2000 ( 264 kB)<br>
.data : 0xc02bd8e5 - 0xc035d478 ( 638 kB)<br>
.text : 0xc0100000 - 0xc02bd8e5 (1782 kB)<br>
Checking if this processor honours the WP bit even in supervisor mode...Ok.<br>
CPA: page pool initialized 1 of 1 pages preallocated<br>
Calibrating delay loop... 115.96 BogoMIPS (lpj=57984)<br>
Mount-cache hash table entries: 512<br>
CPU: 486<br>
Checking 'hlt' instruction... OK.<br>
Freeing SMP alternatives: 0k freed<br>
net_namespace: 628 bytes<br>
NET: Registered protocol family 16<br>
EISA bus registered<br>
PCI: Using configuration type 1 for base access<br>
Setting up standard PCI resources<br>
SCSI subsystem initialized<br>
PCI: Probing PCI hardware<br>
PCI: Probing PCI hardware (bus 00)<br>
PCI: Using IRQ router default [17f3/6031] at 0000:00:07.0<br>
NET: Registered protocol family 2<br>
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>
TCP established hash table entries: 4096 (order: 3, 32768 bytes)<br>
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)<br>
TCP: Hash tables configured (established 4096 bind 4096)<br>
TCP reno registered<br>
NET: Registered protocol family 1<br>
checking if image is initramfs... it is<br>
Freeing initrd memory: 4091k freed<br>
platform rtc_cmos: registered platform RTC device (no PNP device found)<br>
microcode: CPU0 not a capable Intel processor<br>
IA-32 Microcode Update Driver: v1.14a <<a href="mailto:tigran@aivazian.fsnet.co.uk">tigran@aivazian.fsnet.co.uk</a>><br>
msgmni has been set to 247<br>
io scheduler noop registered<br>
io scheduler anticipatory registered<br>
io scheduler deadline registered<br>
io scheduler cfq registered (default)<br>
pci 0000:00:03.0: Boot video device<br>
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled<br>
brd: module loaded<br>
Driver 'sd' needs updating - please use bus_type methods<br>
serio: i8042 KBD port at 0x60,0x64 irq 1<br>
serio: i8042 AUX port at 0x60,0x64 irq 12<br>
mice: PS/2 mouse device common for all mice<br>
EISA: Probing bus 0 at eisa.0<br>
TCP cubic registered<br>
NET: Registered protocol family 17<br>
RPC: Registered udp transport module.<br>
RPC: Registered tcp transport module.<br>
Using IPI Shortcut mode<br>
Freeing unused kernel memory: 264k freed<br>
Uniform Multi-Platform E-IDE driver<br>
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx<br>
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports<br>
Probing IDE interface ide0...<br>
Probing IDE interface ide1...<br>
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14<br>
ide1 at 0x170-0x177,0x376 on irq 15<br>
usbcore: registered new interface driver usbfs<br>
usbcore: registered new interface driver hub<br>
usbcore: registered new device driver usb<br>
ehci_hcd 0000:00:0a.1: EHCI Host Controller<br>
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 1<br>
ehci_hcd 0000:00:0a.1: irq 9, io mem 0x000de000<br>
ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004<br>
usb usb1: configuration #1 chosen from 1 choice<br>
hub 1-0:1.0: USB hub found<br>
hub 1-0:1.0: 2 ports detected<br>
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver<br>
ehci_hcd 0000:00:0b.1: EHCI Host Controller<br>
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2<br>
ehci_hcd 0000:00:0b.1: irq 10, io mem 0x000de100<br>
ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004<br>
usb usb2: configuration #1 chosen from 1 choice<br>
hub 2-0:1.0: USB hub found<br>
hub 2-0:1.0: 2 ports detected<br>
ohci_hcd 0000:00:0a.0: OHCI Host Controller<br>
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 3<br>
ohci_hcd 0000:00:0a.0: irq 5, io mem 0x000dc000<br>
usb 1-1: new high speed USB device using ehci_hcd and address 2<br>
usb usb3: configuration #1 chosen from 1 choice<br>
hub 3-0:1.0: USB hub found<br>
hub 3-0:1.0: 2 ports detected<br>
usb 1-1: configuration #1 chosen from 1 choice<br>
ohci_hcd 0000:00:0b.0: OHCI Host Controller<br>
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4<br>
ohci_hcd 0000:00:0b.0: irq 11, io mem 0x000dd000<br>
usb usb4: configuration #1 chosen from 1 choice<br>
hub 4-0:1.0: USB hub found<br>
hub 4-0:1.0: 2 ports detected<br>
usb 2-1: new high speed USB device using ehci_hcd and address 2<br>
Initializing USB Mass Storage driver...<br>
usb 2-1: device not accepting address 2, error -110<br>
hub 2-0:1.0: unable to enumerate USB device on port 1<br>
scsi0 : SCSI emulation for USB Mass Storage devices<br>
usb-storage: device found at 2<br>
usb-storage: waiting for device to settle before scanning<br>
usb 4-1: new full speed USB device using ohci_hcd and address 2<br>
usb 4-1: not running at top speed; connect to a high speed hub<br>
usb 4-1: configuration #1 chosen from 2 choices<br>
usb 4-2: new low speed USB device using ohci_hcd and address 3<br>
usb 4-2: configuration #1 chosen from 1 choice<br>
scsi1 : SCSI emulation for USB Mass Storage devices<br>
usbcore: registered new interface driver usb-storage<br>
USB Mass Storage support registered.<br>
usb-storage: device found at 2<br>
usb-storage: waiting for device to settle before scanning<br>
usbcore: registered new interface driver hiddev<br>
input: LITEON Technology USB Multimedia Keyboard as /class/input/input0<br>
input: USB HID v1.10 Keyboard [LITEON Technology USB Multimedia Keyboard] on usb-0000:00:0b.0-2<br>
input: LITEON Technology USB Multimedia Keyboard as /class/input/input1<br>
input: USB HID v1.10 Device [LITEON Technology USB Multimedia Keyboard] on usb-0000:00:0b.0-2<br>
usbcore: registered new interface driver usbhid<br>
usbhid: v2.6:USB HID core driver<br>
scsi 0:0:0:0: Direct-Access Best Buy Geek Squad 8.01 PQ: 0 ANSI: 0 CCS<br>
sd 0:0:0:0: [sda] 3940479 512-byte hardware sectors (2018 MB)<br>
sd 0:0:0:0: [sda] Write Protect is off<br>
sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08<br>
sd 0:0:0:0: [sda] Assuming drive cache: write through<br>
sd 0:0:0:0: [sda] 3940479 512-byte hardware sectors (2018 MB)<br>
sd 0:0:0:0: [sda] Write Protect is off<br>
sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08<br>
sd 0:0:0:0: [sda] Assuming drive cache: write through<br>
sda: sda1<br>
sd 0:0:0:0: [sda] Attached SCSI removable disk<br>
usb-storage: device scan complete<br>
scsi 1:0:0:0: Direct-Access Apple iPod 2.70 PQ: 0 ANSI: 4<br>
sd 1:0:0:0: [sdb] 1015040 512-byte hardware sectors (520 MB)<br>
sd 1:0:0:0: [sdb] Write Protect is off<br>
sd 1:0:0:0: [sdb] Mode Sense: 64 00 00 08<br>
sd 1:0:0:0: [sdb] Assuming drive cache: write through<br>
sd 1:0:0:0: [sdb] 1015040 512-byte hardware sectors (520 MB)<br>
sd 1:0:0:0: [sdb] Write Protect is off<br>
sd 1:0:0:0: [sdb] Mode Sense: 64 00 00 08<br>
sd 1:0:0:0: [sdb] Assuming drive cache: write through<br>
sdb: sdb1<br>
sd 1:0:0:0: [sdb] Attached SCSI removable disk<br>
usb-storage: device scan complete<br>
aufs 20080714<br>
loop: module loaded<br>
squashfs: version 3.3-CVS (2008/04/04) Phillip Lougher<br>
udevd version 125 started<br>
<6>r6040: RDC R6040 NAPI net driver,version 0.16 (10Nov2007)<br>
<br>
input: PC Speaker as /class/input/input2<br>
natsemi dp8381x driver, version 2.1, Sept 11, 2006<br>
originally by Donald Becker <<a href="mailto:becker@scyld.com">becker@scyld.com</a>><br>
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder<br>
ieee80211_crypt: registered algorithm 'NULL'<br>
aufs test_add:336:mount[4250]: nested aufs /var/log<br>
aufs test_add:336:mount[4256]: nested aufs /var/tmp<br>
Installing knfsd (copyright (C) 1996 <a href="mailto:okir@monad.swb.de">okir@monad.swb.de</a>).<br>
NET: Registered protocol family 10<br>
lo: Disabled Privacy Extensions<br>
<br>
<br><br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 12:32 AM, Kim-man 'Punky' TSE <span dir="ltr"><<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Max,<br>
<br>
If you mount ISO as loopback device, r6040.ko is obviously not there. But instead, it is inside the filesystems.squashfs. This is how Live CD is baked.<br>
<br>
I really get lost on how to help you further. If you want to customize the Live CD, please read <a href="http://linux.voyage.hk/?q=develop" target="_blank">http://linux.voyage.hk/?q=develop</a><div class="im"><br>
<br>
Regards,<br>
Punky<br>
<br>
Max Bridgewater wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi Punky,<br>
<br>
You are right; it is in voyage-0.6.1.tar.bz2. But it didn't make it into the ISO file. Was that intended?<br>
If I now go through the process of creating the ISO myself, how do i force the inclusion of this driver?<br>
<br>
Thanks,<br>
Max.<br>
<br>
<br></div><div class="im">
On Wed, Jun 24, 2009 at 12:03 AM, Kim-man 'Punky' TSE <<a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a> <mailto:<a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a>>> wrote:<br>
<br>
Hi,<br>
<br>
Here the proof:<br>
<br>
# find ./voyage-0.6.1 -name "*6040*ko"<br>
./voyage-0.6.1/lib/modules/2.6.26-486-voyage/kernel/drivers/net/r6040.ko<br>
<br>
So, it's there, but it is functional or not is another story. Try<br>
manual modprobe and send dmesg to see what went wrong.<br>
<br>
<br>
Regards,<br>
Punky<br>
<br>
<br>
</div></blockquote>
<br><div><div></div><div class="h5">
<br>
-- <br>
Regards,<br>
Punky<br>
<br>
Voyage Solutions (<a href="http://solution.voyage.hk" target="_blank">http://solution.voyage.hk</a>)<br>
* Embedded Solutions and Systems<br>
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX<br>
- Network Engineering, Development Platform and Consultation<br>
<br>
<br>
</div></div></blockquote></div><br>