[Voyage-linux] R6040 Support in Voyage 6.1

Sean (spam-protected)
Wed Jun 24 14:09:21 HKT 2009


Why not install to a CF card? That's what I do with my eBox 2300 SX.

Sean

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




More information about the Voyage-linux mailing list