Braggtown dot com

A Tangled Web

Jackpot! Qubuntu

I finally had to sit down and learn about kernel compiling, initial ram disk images (initrd), and the like. I’ve got Ubuntu 6.06 Dapper Drake running on my Cobalt Qube 3 with a 2.6.19.2 kernel I downloaded from kernel.org. I’d better get to writing notes before I forget steps.

I’ve got the kernel config file and my own kernel image and kernel headers deb’s that I’d be glad to share if anyone is interested. Perhaps I’ll put them up on this site soon.

Update:Please see my Ubuntu on Qube Installation Howto.

Console output below:

Sun Cobalt - Smaller, Bluer, Better, and Free
Firmware version 2.10.3-ext3

Current date: Feb 11 16:55:19 UTC 2007
ROM build info: Thu Mar 11 08:51:36 MST 2004 .
System serial number: S2250518
System type: 3000 series system, Version 2 board
Silicon serial number: 8e000008a7189d01
Monitor: 153536 bytes
Memory: 512 MB
CPU: 1 processor(s) detected
CPU 0: AuthenticAMD 448MHz (4.5 x 100MHz host bus) [BSP]
Initializing flash: done
Flash Bank 0: AMD AM29F080B 1024KB (01:d5)
Flash Bank 1: not installed.
Mounting ROM fs: done
Initializing PCI: done
Initializing ethernet: 2 controller(s) found
Initializing IDE: found ALI M5229 at 00:78
spinning up second channel: done
scanning ide0: master
scanning ide1:
IDE: stabilizing spinup: 100%
Checking Memory: done

Press spacebar to enter ROM mode
Booting default method - From disk

First stage kernel (Linux): Decompressing - done
ERROR: cannot relocate with filesize 0
Second stage kernel: Decompressing - done
ERROR: cannot relocate with filesize 0
Linux version 2.6.19.2 (root@kailua) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)7
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000020000000 (usable)
512MB LOWMEM available.
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 131072
early_node_map[1] active PFN ranges
0: 0 -> 131072
DMI not present or invalid.
Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)
Detected 448.208 MHz processor.
Built 1 zonelists. Total pages: 130048
Kernel command line: console=ttyS0,115200 ip=off
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 516700k/524288k available (1893k kernel code, 7092k reserved, 420k data)
virtual kernel memory layout:
fixmap : 0xffffc000 - 0xfffff000 ( 12 kB)
vmalloc : 0xe0800000 - 0xffffa000 ( 503 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
.init : 0xc0346000 - 0xc036c000 ( 152 kB)
.data : 0xc02d96b3 - 0xc03429b0 ( 420 kB)
.text : 0xc0100000 - 0xc02d96b3 (1893 kB)
Checking if this processor honours the WP bit even in supervisor mode… Ok.
Calibrating delay using timer specific routine.. 897.08 BogoMIPS (lpj=1794178)
Mount-cache hash table entries: 512
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
Compat vDSO mapped to ffffe000.
CPU: AMD-K6(tm)-III Processor stepping 04
Checking ‘hlt’ instruction… OK.
NET: Registered protocol family 16
PCI: Using configuration type 1
Setting up standard PCI resources
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Probing PCI hardware
PCI quirk: region 0c80-0c9f claimed by ali7101 SMB
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 65536 bind 32768)
TCP reno registered
io scheduler noop registered
io scheduler deadline registered (default)
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards…
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
alim7101_wdt: Steve Hill .
alim7101_wdt: WDT driver for ALi M7101 initialised. timeout=30 sec (nowayout=0)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0×3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0×2f8 (irq = 3) is a 16550A
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e100: Modified by to ignore bad EEPROM checksums
natsemi dp8381x driver, version 2.1, Sept 11, 2006
originally by Donald Becker
http://www.scyld.com/network/natsemi.html
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
natsemi eth0: NatSemi DP8381[56] at 0xf7ffc000 (0000:00:10.0), 00:10:e0:03:ca:1.
natsemi eth1: NatSemi DP8381[56] at 0xf7ffb000 (0000:00:12.0), 00:10:e0:03:cd:d.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ALI15X3: chipset revision 193
ALI15X3: 100% native mode on irq 14
ide0: BM-DMA at 0xfdd0-0xfdd7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfdd8-0xfddf, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD1200JB-75CRA0, ATA DISK drive
ide0 at 0xfdf8-0xfdff,0xfdf6 on irq 14
hda: max request size: 128KiB
hda: Host Protected Area detected.
current capacity is 234375000 sectors (120000 MB)
native capacity is 234375120 sectors (120000 MB)
hda: Host Protected Area disabled.
hda: 234375120 sectors (120000 MB) w/8192KiB Cache, CHS=65535/16/63, (U)DMA
hda: cache flushes not supported
hda: hda1 hda2 hda3
sym0: <875> rev 0×4 at pci 0000:00:0e.0 irq 12
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.3
st: Version 20050830, fixed bufsize 32768, s/g segs 256
usbmon: debugfs is not available
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 6, io mem 0xf7fff000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver…
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0×60,0×64 irq 1
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Cobalt system type is Carmel
Time: tsc clocksource has been installed.
Cobalt Networks LED driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks LCD driver 4.0 (modified by jeff@404ster.com)
Cobalt Networks Serial Number driver 1.6 (modified by jeff@404ster.com)
Cobalt Networks Watchdog Timer driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks Sensor driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks RAM Info driver 1.0 (modified by jeff@404ster.com)
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
* INIT: version 2.86 booting
[ ok ]rting basic networking…
[ ok ]rting kernel event manager…
* Loading hardware drivers… eth1: DSPCFG accepted after 0 usec.
eth0: DSPCFG accepted after 0 usec.
eth0: link up.
eth0: Setting full-duplex based on negotiated link capability.
[ ok ]
* Starting PCMCIA services… * PCMCIA not present
[ ok ]ding manual drivers…
Adding 586364k swap on /dev/hda2. Priority:-1 extents:1 across:586364k
* Checking root file system… /dev/hda1: clean, 58899/2501856 files, 3s
[ ok ]
EXT3 FS on hda1, internal journal
* Checking all filesystems… /dev/hda3: clean, 15/12075008 files, 4117s
[ ok ]
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
mount: special device /dev/shm/var.run does not exist
mount: special device /dev/shm/var.lock does not exist
rmdir: /dev/shm/var.run: No such file or directory
rmdir: /dev/shm/var.lock: No such file or directory
[ ok ]figuring network interfaces…
* INIT: Entering runlevel: 2
[ ok ]rting system log…
[ ok ]rting kernel log…
[ ok ]rting OpenBSD Secure Shell server…
[ ok ]ning local boot scripts (/etc/rc.local)

Ubuntu 6.06.1 LTS qube ttyS0

qube login:

6 Responses to “Jackpot! Qubuntu”

  1. Loyd Says:

    I’d like to see your kernel config and options. Just acquired a Qube 3 myself and looking for more modern alternatives to the supplied OS.

  2. Max Says:

    Hey, I’m interested! Trying to install _anything_ on qube3 without too much pain here :)

    Thanks for the howto!

  3. Brian Says:

    Thanks for the timely how-to.
    Just looking into purchasing a Qube 3.
    Looking at the way you got here, you needed the (purchased) Strongbolt installer; do you see a way around that now or is it still easiest?
    I guess if you post your kernel binaries that takes care of that though.

  4. Donald Says:

    Fantastic - managed to get ubuntu running on my qube too! only bit that didn’t work was the ‘easy’ bit (LCD) - i think you must have used the french RPMs, as you said! Waiting for my extra quiet 120gb drive - then i’ll try again! well done jim

  5. Jim Says:

    I didn’t need the Strongbolt installer for anything and wouldn’t recommend buying it to anyone with a mediocre grasp of linux. I did install using their free beta ISO linked to in my howto, but then reformatted and installed Ubuntu.

    I’ve made my kernel image and headers available on the howto.

  6. iVan Says:

    Hi, I upgraded the ROM on my Qube3 which was running a freshly installed original Qube OS downloaded from Sun. I had the OS installed on a SCSI drive (boot disk sda1). After ROM upgrade to 2.10.3 ext3 (succesful), I can no longer boot! Seems like the new ROM does not support booting from SCSI drive :( I’ve tried resetting the boot disk to sda1 but it just complains about not decompressing the kernel (serail console output). Anyone have a qube3 booting from SCSI with new rom?

Leave a Reply

Spam protection by WP Captcha-Free

Bad Behavior has blocked 32 access attempts in the last 7 days.