* [Qemu-devel] ANN: DetaolB v0.4 is released
@ 2007-06-29 23:58 Christian MICHON
2007-06-30 7:47 ` Blue Swirl
0 siblings, 1 reply; 35+ messages in thread
From: Christian MICHON @ 2007-06-29 23:58 UTC (permalink / raw)
To: detaolb-devel, qemu-devel, uClibc
DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live distro.
Now, it's evolving more into "a-la-slax" type of distro.
DetaolB v0.4 has been released 29th,June 2007 on sf.net
=> http://sourceforge.net/project/showfiles.php?group_id=140321&package_id=155481&release_id=519786
Mailing list: detaolb-devel@lists.sourceforge.net
Changelog:
==========
- updated aufs and squashfs
- increased the list of modules
- vesafb-tng included (default boot is 800x600x24bpp)
- included some X11 functionality: log in as root, then "xinit"
- included ext2fs utilities: you can now work in qemu/vmplayer
- self sufficient to compile itself and linux-2.6.21
- killing features: git, vim
Detailed list of modules:
=========================
barebone:
busybox-1.6.0
e2fsprogs-1.39
uclibc-0.9.29
zlib-1.2.3
dev:
bash-3.2
binutils-2.16.1
bison-2.1
bzip2-1.0.4
coreutils-6.9 (od & tail)
cpio-2.8
diffutils-2.8.1
findutils-4.2.31
flex-2.5.33
gawk-3.1.5
gcc-3.4.6
git-1.5.2
gzip-1.3.12
headers-2.6.21
less-382
m4-1.4
make-3.81
ncurses-5.6
patch-2.5.4
tar-1.17
vim:
vim-7.1
x11:
fvwm-2.4.11
xfree86-4.2.0
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-29 23:58 [Qemu-devel] ANN: DetaolB v0.4 is released Christian MICHON
@ 2007-06-30 7:47 ` Blue Swirl
2007-06-30 10:36 ` Johannes Schindelin
2007-07-04 18:30 ` Christian MICHON
0 siblings, 2 replies; 35+ messages in thread
From: Blue Swirl @ 2007-06-30 7:47 UTC (permalink / raw)
To: qemu-devel; +Cc: uClibc, detaolb-devel
On 6/30/07, Christian MICHON <christian.michon@gmail.com> wrote:
> DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live distro.
> Now, it's evolving more into "a-la-slax" type of distro.
As the number of Sparc32 distributions keeps approaching zero, could
you consider porting DetaolB to non-x86 CPUs?
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 7:47 ` Blue Swirl
@ 2007-06-30 10:36 ` Johannes Schindelin
2007-06-30 10:51 ` Thiemo Seufer
2007-06-30 12:10 ` Christian MICHON
2007-07-04 18:30 ` Christian MICHON
1 sibling, 2 replies; 35+ messages in thread
From: Johannes Schindelin @ 2007-06-30 10:36 UTC (permalink / raw)
To: Blue Swirl; +Cc: qemu-devel, detaolb-devel
Hi,
On Sat, 30 Jun 2007, Blue Swirl wrote:
> On 6/30/07, Christian MICHON <christian.michon@gmail.com> wrote:
> > DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live distro.
> > Now, it's evolving more into "a-la-slax" type of distro.
>
> As the number of Sparc32 distributions keeps approaching zero, could you
> consider porting DetaolB to non-x86 CPUs?
Yes, please!
Ciao,
Dscho
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 10:36 ` Johannes Schindelin
@ 2007-06-30 10:51 ` Thiemo Seufer
2007-06-30 12:07 ` Christian MICHON
2007-06-30 17:15 ` Blue Swirl
2007-06-30 12:10 ` Christian MICHON
1 sibling, 2 replies; 35+ messages in thread
From: Thiemo Seufer @ 2007-06-30 10:51 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Blue Swirl, qemu-devel, detaolb-devel
Johannes Schindelin wrote:
> Hi,
>
> On Sat, 30 Jun 2007, Blue Swirl wrote:
>
> > On 6/30/07, Christian MICHON <christian.michon@gmail.com> wrote:
> > > DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live distro.
> > > Now, it's evolving more into "a-la-slax" type of distro.
> >
> > As the number of Sparc32 distributions keeps approaching zero, could you
> > consider porting DetaolB to non-x86 CPUs?
>
> Yes, please!
The reason why distributions drop sparc32 is the unmaintained kernel.
Nobody stepped up for Linux kernel maintenance in the last years.
Debian managed to keep up a sort-of working kernel for the last
release, the people who put their time into it are disinclined to
repeat this exercise.
Thiemo
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 10:51 ` Thiemo Seufer
@ 2007-06-30 12:07 ` Christian MICHON
2007-06-30 17:15 ` Blue Swirl
1 sibling, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-06-30 12:07 UTC (permalink / raw)
To: qemu-devel; +Cc: Blue Swirl, detaolb-devel
On 6/30/07, Thiemo Seufer <ths@networkno.de> wrote:
> The reason why distributions drop sparc32 is the unmaintained kernel.
> Nobody stepped up for Linux kernel maintenance in the last years.
> Debian managed to keep up a sort-of working kernel for the last
> release, the people who put their time into it are disinclined to
> repeat this exercise.
>
good point. I'm not a kernel maintainer, I'm just a distro maker.
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 10:36 ` Johannes Schindelin
2007-06-30 10:51 ` Thiemo Seufer
@ 2007-06-30 12:10 ` Christian MICHON
1 sibling, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-06-30 12:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Blue Swirl, detaolb-devel
On 6/30/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Sat, 30 Jun 2007, Blue Swirl wrote:
>
> > On 6/30/07, Christian MICHON <christian.michon@gmail.com> wrote:
> > > DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live distro.
> > > Now, it's evolving more into "a-la-slax" type of distro.
> >
> > As the number of Sparc32 distributions keeps approaching zero, could you
> > consider porting DetaolB to non-x86 CPUs?
>
> Yes, please!
>
> Ciao,
> Dscho
>
there might be a arm port (I'll need to figure out the framebuffer part though).
the original target of detaolb is to have a quick x86 development environment
that can boot/run quickly in qemu.
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 10:51 ` Thiemo Seufer
2007-06-30 12:07 ` Christian MICHON
@ 2007-06-30 17:15 ` Blue Swirl
2007-07-10 17:34 ` Rob Landley
1 sibling, 1 reply; 35+ messages in thread
From: Blue Swirl @ 2007-06-30 17:15 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: qemu-devel, detaolb-devel
On 6/30/07, Thiemo Seufer <ths@networkno.de> wrote:
> Johannes Schindelin wrote:
> > Hi,
> >
> > On Sat, 30 Jun 2007, Blue Swirl wrote:
> >
> > > On 6/30/07, Christian MICHON <christian.michon@gmail.com> wrote:
> > > > DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live distro.
> > > > Now, it's evolving more into "a-la-slax" type of distro.
> > >
> > > As the number of Sparc32 distributions keeps approaching zero, could you
> > > consider porting DetaolB to non-x86 CPUs?
> >
> > Yes, please!
>
> The reason why distributions drop sparc32 is the unmaintained kernel.
> Nobody stepped up for Linux kernel maintenance in the last years.
> Debian managed to keep up a sort-of working kernel for the last
> release, the people who put their time into it are disinclined to
> repeat this exercise.
But there is a difference in maintaining a kernel suitable for high
quality distribution with over 18733 packages working in different
real hardware, versus a test/evaluation distribution with <30 packages
running on Qemu. I'd see that as an "enhanced qemu-tests.tar.gz".
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 7:47 ` Blue Swirl
2007-06-30 10:36 ` Johannes Schindelin
@ 2007-07-04 18:30 ` Christian MICHON
2007-07-04 18:54 ` Blue Swirl
2007-07-04 19:50 ` Cedric Hombourger
1 sibling, 2 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-04 18:30 UTC (permalink / raw)
To: qemu-devel; +Cc: uClibc, detaolb-devel
On 6/30/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> As the number of Sparc32 distributions keeps approaching zero, could
> you consider porting DetaolB to non-x86 CPUs?
ok, I documented myself, and I'll try on sparc32.
any hint on patches, config files for the kernel ?
will uclibc work well enough on sparc32 ?
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 18:30 ` Christian MICHON
@ 2007-07-04 18:54 ` Blue Swirl
2007-07-04 19:45 ` Christian MICHON
2007-07-04 19:50 ` Cedric Hombourger
1 sibling, 1 reply; 35+ messages in thread
From: Blue Swirl @ 2007-07-04 18:54 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
On 7/4/07, Christian MICHON <christian.michon@gmail.com> wrote:
> On 6/30/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> > As the number of Sparc32 distributions keeps approaching zero, could
> > you consider porting DetaolB to non-x86 CPUs?
>
> ok, I documented myself, and I'll try on sparc32.
> any hint on patches, config files for the kernel ?
I used the attached config for sparc-test kernel build, with one patch
for TCX that shouldn't be necessary for newer kernels.
> will uclibc work well enough on sparc32 ?
I have no first hand experience. Busybox works fine.
[-- Attachment #2: config-qemu-sparc --]
[-- Type: application/octet-stream, Size: 15515 bytes --]
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.11
# Tue Oct 11 19:29:41 2005
#
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_HIGHMEM=y
CONFIG_GENERIC_ISA_DMA=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_HOTPLUG is not set
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
#
# General machine setup
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SPARC32=y
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_SUN_PM=y
# CONFIG_SUN4 is not set
CONFIG_PCI=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_NAMES is not set
CONFIG_SUN_OPENPROMFS=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_SUNOS_EMUL is not set
#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_SUNBPP=y
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set
CONFIG_PRINTER=y
#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_BW2 is not set
# CONFIG_FB_CG3 is not set
# CONFIG_FB_CG6 is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
CONFIG_FB_SBUS=y
CONFIG_FB_TCX=y
# CONFIG_FB_CG14 is not set
# CONFIG_FB_P9100 is not set
# CONFIG_FB_LEO is not set
# CONFIG_FB_PCI is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#
CONFIG_PROM_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FONTS is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Serial drivers
#
#
# Non-8250 serial port support
#
CONFIG_SERIAL_SUNCORE=y
CONFIG_SERIAL_SUNZILOG=y
CONFIG_SERIAL_SUNZILOG_CONSOLE=y
# CONFIG_SERIAL_SUNSU is not set
# CONFIG_SERIAL_SUNSAB is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
#
# Misc Linux/SPARC drivers
#
CONFIG_SUN_OPENPROMIO=y
CONFIG_SUN_MOSTEK_RTC=y
# CONFIG_SUN_BPP is not set
# CONFIG_SUN_VIDEOPIX is not set
# CONFIG_TADPOLE_TS102_UCTRL is not set
# CONFIG_SUN_JSFLASH is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_RTC is not set
#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CDROM_PKTCDVD is not set
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_ATA_OVER_ETH is not set
#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLOGICPTI is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_SUNESP=y
#
# Fibre Channel support
#
# CONFIG_FC4 is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Networking support
#
CONFIG_NET=y
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK_DEV=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_TUNNEL=y
CONFIG_IP_TCPDIAG=y
# CONFIG_IP_TCPDIAG_IPV6 is not set
# CONFIG_IPV6 is not set
# CONFIG_NETFILTER is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
# CONFIG_NET_CLS_ROUTE is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
CONFIG_SUNLANCE=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_NET_PCI is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
#
# Unix98 PTY support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
# CONFIG_SERIO_RAW is not set
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
CONFIG_MOUSE_SERIAL=y
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# File systems
#
# CONFIG_EXT2_FS is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
#
# XFS support
#
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS_XATTR=y
# CONFIG_DEVPTS_FS_SECURITY is not set
# CONFIG_TMPFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_NFSD is not set
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SUN_PARTITION=y
#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# InfiniBand support
#
# CONFIG_INFINIBAND is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_STACK_USAGE is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_TEST is not set
#
# Hardware crypto devices
#
#
# Library routines
#
# CONFIG_CRC_CCITT is not set
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 18:54 ` Blue Swirl
@ 2007-07-04 19:45 ` Christian MICHON
2007-07-04 20:18 ` Blue Swirl
2007-07-04 20:25 ` Andreas Färber
0 siblings, 2 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-04 19:45 UTC (permalink / raw)
To: qemu-devel
On 7/4/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> I used the attached config for sparc-test kernel build, with one patch
> for TCX that shouldn't be necessary for newer kernels.
thanks. that'll save time.
>
> > will uclibc work well enough on sparc32 ?
>
> I have no first hand experience. Busybox works fine.
>
>
yes, but that busybox is linked with glibc.
I noticed spurious fast keyboard repeats. Like I must be
extra careful when typing commands when in the
qemu-system-sparc guest.
I plan to build uclibc and the rest natively from aurora
linux 2.99
any objection ? advice ?
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 18:30 ` Christian MICHON
2007-07-04 18:54 ` Blue Swirl
@ 2007-07-04 19:50 ` Cedric Hombourger
2007-07-04 19:54 ` Cedric Hombourger
2007-07-04 20:11 ` Christian MICHON
1 sibling, 2 replies; 35+ messages in thread
From: Cedric Hombourger @ 2007-07-04 19:50 UTC (permalink / raw)
To: Christian MICHON; +Cc: uClibc, qemu-devel, detaolb-devel
[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]
Hi,
You may want to look at crosskit.sourceforge.net (a crosstool/buildroot-like
project that I have recently started and that you can find on sourceforge).
Following your e-mails, I have added sparc support. The toolchain builds
fine but busybox fails to link (sched_getaffinity and sched_setaffinity
undefined). If I manage to pass this issue, I will then try to build a
kernel for sparc for testing with qemu-sparc. I will also add glibc support
(crosskit aims at providing scripts for building packages against either
uclibc or glibc).
I haven't looked at detaoib yet but it was surely created before crosskit
and may therefore be a safer bet.
Regards,
Cedric Hombourger
2007/7/4, Christian MICHON <christian.michon@gmail.com>:
>
> On 6/30/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> > As the number of Sparc32 distributions keeps approaching zero, could
> > you consider porting DetaolB to non-x86 CPUs?
>
> ok, I documented myself, and I'll try on sparc32.
> any hint on patches, config files for the kernel ?
>
> will uclibc work well enough on sparc32 ?
>
> --
> Christian
> --
> http://detaolb.sourceforge.net/, a linux distribution for Qemu
> _______________________________________________
> uClibc mailing list
> uClibc@uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
[-- Attachment #2: Type: text/html, Size: 1861 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 19:50 ` Cedric Hombourger
@ 2007-07-04 19:54 ` Cedric Hombourger
2007-07-10 20:32 ` Bernhard Fischer
2007-07-04 20:11 ` Christian MICHON
1 sibling, 1 reply; 35+ messages in thread
From: Cedric Hombourger @ 2007-07-04 19:54 UTC (permalink / raw)
To: Christian MICHON; +Cc: uClibc, qemu-devel, detaolb-devel
[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]
The busybox link failure has an existing entry in mantis:
http://www.uclibc.org/bugs/bug_view_advanced_page.php?bug_id=1356
2007/7/4, Cedric Hombourger <chombourger@gmail.com>:
>
>
> Hi,
>
> You may want to look at crosskit.sourceforge.net (a
> crosstool/buildroot-like project that I have recently started and that you
> can find on sourceforge). Following your e-mails, I have added sparc
> support. The toolchain builds fine but busybox fails to link
> (sched_getaffinity and sched_setaffinity undefined). If I manage to pass
> this issue, I will then try to build a kernel for sparc for testing with
> qemu-sparc. I will also add glibc support (crosskit aims at providing
> scripts for building packages against either uclibc or glibc).
>
> I haven't looked at detaoib yet but it was surely created before crosskit
> and may therefore be a safer bet.
>
> Regards,
> Cedric Hombourger
>
> 2007/7/4, Christian MICHON < christian.michon@gmail.com>:
> >
> > On 6/30/07, Blue Swirl < blauwirbel@gmail.com> wrote:
> > > As the number of Sparc32 distributions keeps approaching zero, could
> > > you consider porting DetaolB to non-x86 CPUs?
> >
> > ok, I documented myself, and I'll try on sparc32.
> > any hint on patches, config files for the kernel ?
> >
> > will uclibc work well enough on sparc32 ?
> >
> > --
> > Christian
> > --
> > http://detaolb.sourceforge.net/, a linux distribution for Qemu
> > _______________________________________________
> > uClibc mailing list
> > uClibc@uclibc.org
> > http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> >
>
>
[-- Attachment #2: Type: text/html, Size: 2863 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 19:50 ` Cedric Hombourger
2007-07-04 19:54 ` Cedric Hombourger
@ 2007-07-04 20:11 ` Christian MICHON
2007-07-05 19:23 ` Rob Landley
1 sibling, 1 reply; 35+ messages in thread
From: Christian MICHON @ 2007-07-04 20:11 UTC (permalink / raw)
To: Cedric Hombourger; +Cc: uClibc, qemu-devel, detaolb-devel
On 7/4/07, Cedric Hombourger <chombourger@gmail.com> wrote:
> You may want to look at crosskit.sourceforge.net
thanks for this hint.
>
> I haven't looked at detaoib yet but it was surely created before crosskit
> and may therefore be a safer bet.
DetaolB aims to be a native solution, not a cross compiling tool.
I've to get to the point where a native sparc32 toolchain will be usable
in detaolb-sparc32...
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 19:45 ` Christian MICHON
@ 2007-07-04 20:18 ` Blue Swirl
2007-07-04 20:30 ` Christian MICHON
2007-07-04 20:25 ` Andreas Färber
1 sibling, 1 reply; 35+ messages in thread
From: Blue Swirl @ 2007-07-04 20:18 UTC (permalink / raw)
To: qemu-devel
On 7/4/07, Christian MICHON <christian.michon@gmail.com> wrote:
> I noticed spurious fast keyboard repeats. Like I must be
> extra careful when typing commands when in the
> qemu-system-sparc guest.
I thought that was fixed some time ago, but I'll check.
> I plan to build uclibc and the rest natively from aurora
> linux 2.99
>
> any objection ? advice ?
Aurora is fine, Debian should work on Sparc too.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 19:45 ` Christian MICHON
2007-07-04 20:18 ` Blue Swirl
@ 2007-07-04 20:25 ` Andreas Färber
2007-07-04 20:32 ` Christian MICHON
1 sibling, 1 reply; 35+ messages in thread
From: Andreas Färber @ 2007-07-04 20:25 UTC (permalink / raw)
To: qemu-devel
Am 04.07.2007 um 21:45 schrieb Christian MICHON:
> I plan to build uclibc and the rest natively from aurora
> linux 2.99
Is there a special reason to use Aurora? I thought it was an
abandoned port of Fedora Core 2... (with Fedora 7 available nowadays)
Debian was the only maintained Sparc distribution I could recently
find for qemu.
Andreas
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 20:18 ` Blue Swirl
@ 2007-07-04 20:30 ` Christian MICHON
2007-07-04 20:52 ` Blue Swirl
0 siblings, 1 reply; 35+ messages in thread
From: Christian MICHON @ 2007-07-04 20:30 UTC (permalink / raw)
To: qemu-devel
On 7/4/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> Aurora is fine, Debian should work on Sparc too.
when trying to boot aurora, it stops and complains about
/dev/sda
I already gave a hda disk. is it a problem of size or a
problem of command line switch ?
what command line did you use when you reported a
successful installation of aurora earlier this year ?
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 20:25 ` Andreas Färber
@ 2007-07-04 20:32 ` Christian MICHON
2007-07-06 15:07 ` Rob Landley
0 siblings, 1 reply; 35+ messages in thread
From: Christian MICHON @ 2007-07-04 20:32 UTC (permalink / raw)
To: qemu-devel
On 7/4/07, Andreas Färber <andreas.faerber@web.de> wrote:
> Is there a special reason to use Aurora? I thought it was an
> abandoned port of Fedora Core 2... (with Fedora 7 available nowadays)
> Debian was the only maintained Sparc distribution I could recently
> find for qemu.
>
that's the only port I found. maybe I did not look enough.
thanks for the hint.
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 20:30 ` Christian MICHON
@ 2007-07-04 20:52 ` Blue Swirl
2007-07-04 21:04 ` Christian MICHON
0 siblings, 1 reply; 35+ messages in thread
From: Blue Swirl @ 2007-07-04 20:52 UTC (permalink / raw)
To: qemu-devel
On 7/4/07, Christian MICHON <christian.michon@gmail.com> wrote:
> On 7/4/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> > Aurora is fine, Debian should work on Sparc too.
>
> when trying to boot aurora, it stops and complains about
> /dev/sda
>
> I already gave a hda disk. is it a problem of size or a
> problem of command line switch ?
>
> what command line did you use when you reported a
> successful installation of aurora earlier this year ?
qemu-system-sparc -boot d -hda aurora-1.0.img -cdrom aurora-1.0-sparc-disc1.iso
I tested Aurora 1.0 and 2.0, 2.1 can't read from cdrom. I tried 2.98
only briefly and never 2.99.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 20:52 ` Blue Swirl
@ 2007-07-04 21:04 ` Christian MICHON
2007-07-05 12:41 ` Christian MICHON
0 siblings, 1 reply; 35+ messages in thread
From: Christian MICHON @ 2007-07-04 21:04 UTC (permalink / raw)
To: qemu-devel
On 7/4/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> > what command line did you use when you reported a
> > successful installation of aurora earlier this year ?
>
> qemu-system-sparc -boot d -hda aurora-1.0.img -cdrom aurora-1.0-sparc-disc1.iso
>
> I tested Aurora 1.0 and 2.0, 2.1 can't read from cdrom. I tried 2.98
> only briefly and never 2.99.
I did this too. maybe aurora is not a good idea then.
maybe simply a stage3 sparc from gentoo would do ?
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 21:04 ` Christian MICHON
@ 2007-07-05 12:41 ` Christian MICHON
0 siblings, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-05 12:41 UTC (permalink / raw)
To: qemu-devel
ok,
I found this file (google for it): stage3-sparc-2006.0.tar.bz2
I put it into a vmdk image file, preformatted in ext2 fs.
I touched up a few files and used the sparc kernel and
binaries from the qemu-windows page.
I've now a native compiler for sparc32. I managed some
stuff with it already. If the kernel patches I've works with
this compiler, porting DetaolB to sparc32 should be fine.
I'll just take some times (native compilation in qemu).
Many of you will say: why not cross-compiling ? It's
hard to setup. Actually, the paper from Rob at OLS
should help me a lot when he'll release it. ;-)
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 20:11 ` Christian MICHON
@ 2007-07-05 19:23 ` Rob Landley
2007-07-05 20:28 ` Christian MICHON
0 siblings, 1 reply; 35+ messages in thread
From: Rob Landley @ 2007-07-05 19:23 UTC (permalink / raw)
To: uclibc; +Cc: detaolb-devel, qemu-devel, Cedric Hombourger
On Wednesday 04 July 2007 16:11:19 Christian MICHON wrote:
> On 7/4/07, Cedric Hombourger <chombourger@gmail.com> wrote:
> > You may want to look at crosskit.sourceforge.net
>
> thanks for this hint.
>
> > I haven't looked at detaoib yet but it was surely created before crosskit
> > and may therefore be a safer bet.
>
> DetaolB aims to be a native solution, not a cross compiling tool.
> I've to get to the point where a native sparc32 toolchain will be usable
> in detaolb-sparc32...
What's the difference between deltaolb and Firmware Linux, anyway? I'm still
curious about this.
Firmware Linux currently builds both working cross-compilers and minimal
native build environments you can boot into for qemu. It does this for x86,
x86-64, armv4-soft and armv5-vfp (both OABI, I'll probably move the v5 to
EABI when I get around to it), and both endiannesses of mips. It also does
sparc32 (although there's a bug, probably in uClibc, which I have yet to
track down that screws up console initialization, so init=/bin/hello
prints "hello world" for both static and dynamic, but init=/bin/sh hangs.)
And I've got a working powerpc cross compiler that builds a root filesystem
but have yet to build a kernel qemu can boot.
The theory I've been going on is that once you've got a minimal native build
environment, you boot into it and build the rest of what you need in there
for your target platform. The next release will come with a setup script to
let you run Firmware Linux under itself. (And thus cross compile from arm to
mips or equally silly things.) A friend of mine built 60 gentoo packages
under the thing before he got bored, although he was using an x86 chroot
rather than qemu. I'm trying to get _that_ script into the next release as
well, and then tackle Ubuntu starting from
http://www.quietearth.us/articles/2006/08/16/Building-deb-package-from-source
Plus the distcc cross compile thing. I've now got networking working on arm
(qemu's arm PCI controller can't do PIO yet, so I needed to switch from ne2k
to rtl8139 setup for mmio, then networking worked fine) so setting up distcc
is mostly a matter of making a cross compiler that does C++ as well. Not
sure if it should be the bootstrap one or if I should build a second copy...
Oh, by the way, the Fedora for Arm project is also building natively on arm,
but they got some fast ARM hardware and stuck lots of DRAM and hard drive
space onto it rather than using QEMU.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-05 19:23 ` Rob Landley
@ 2007-07-05 20:28 ` Christian MICHON
0 siblings, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-05 20:28 UTC (permalink / raw)
To: Rob Landley; +Cc: detaolb-devel, uclibc, qemu-devel, Cedric Hombourger
On 7/5/07, Rob Landley <rob@landley.net> wrote:
> What's the difference between deltaolb and Firmware Linux, anyway? I'm still
> curious about this.
a few differences, quite minor actually (that's why I said in the past we
shared many common goals :-) )...
I actually started this in 2002, but then hit many bugs in uclibc. In the end,
I actually used a trimmed LFS approach, using zisofs. My bootable env
then was ~45Mb. At that time, buildroot was also starting... I lacked of
time to work on it.
The biggest difference today is that your firmware is based on automation
or Makefiles, whereas I still use a LFS type of approach. I first build a
static minimal toolchain with a static busybox: all native, no cross
compilation. Then I chroot in it, compile uclibc, busybox, the toolchain.
The rest is obvious, but quite manual. I really should do Makefiles...
The other difference is that I base detaolb on aufs/squashfs (I do not
think you passed that stage yet, if I recall not all the archs you're
targetting can take this). That's today's improvement over the stuff
I did in 2002 using zifofs.
> Oh, by the way, the Fedora for Arm project is also building natively on arm,
> but they got some fast ARM hardware and stuck lots of DRAM and hard drive
> space onto it rather than using QEMU.
in 2003/2004, I also worked on porting linux to an Ipaq h2215. I actually then
used buildroot arm precompiled, and managed to chroot in it using nfs over
usb. quite cool, and the speed was better than qemu today. It was just a
400Mhz Xscale.
I'm still interested in your cross compiling tutorial. I believe we all are :)
If I start putting too many archs in the picture, I believe DetaolB will be
redundant with Firmware. This is not intended. Originally I wanted to
share the portable x86 env I carry on my usb key. Some of you asked
for a sparc32 port. I'll complete this one at least (I'm progressing quite
fast on it).
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 20:32 ` Christian MICHON
@ 2007-07-06 15:07 ` Rob Landley
0 siblings, 0 replies; 35+ messages in thread
From: Rob Landley @ 2007-07-06 15:07 UTC (permalink / raw)
To: qemu-devel
On Wednesday 04 July 2007 16:32:44 Christian MICHON wrote:
> On 7/4/07, Andreas Färber <andreas.faerber@web.de> wrote:
> > Is there a special reason to use Aurora? I thought it was an
> > abandoned port of Fedora Core 2... (with Fedora 7 available nowadays)
> > Debian was the only maintained Sparc distribution I could recently
> > find for qemu.
>
> that's the only port I found. maybe I did not look enough.
> thanks for the hint.
Firmware Linux has a sparc target.
http://landley.net/code/firmware
Go "./build.sh sparc" and then look at run-sparc.sh in the build directory.
There's a bug I haven't bothered to track down (possibly in uClibc) that
prevents the console from initializing properly, but if you boot with
init=/tools/bin/hello-dynamic you get a "hello world" message. (I haven't
tracked down why the shell hangs yet.)
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-06-30 17:15 ` Blue Swirl
@ 2007-07-10 17:34 ` Rob Landley
2007-07-10 18:30 ` Blue Swirl
0 siblings, 1 reply; 35+ messages in thread
From: Rob Landley @ 2007-07-10 17:34 UTC (permalink / raw)
To: qemu-devel; +Cc: Blue Swirl, detaolb-devel
On Saturday 30 June 2007 13:15:44 Blue Swirl wrote:
> On 6/30/07, Thiemo Seufer <ths@networkno.de> wrote:
> > Johannes Schindelin wrote:
> > > Hi,
> > >
> > > On Sat, 30 Jun 2007, Blue Swirl wrote:
> > > > On 6/30/07, Christian MICHON <christian.michon@gmail.com> wrote:
> > > > > DetaolB aimed to be a "much-less-than-a-floppy" x86 linux live
> > > > > distro. Now, it's evolving more into "a-la-slax" type of distro.
> > > >
> > > > As the number of Sparc32 distributions keeps approaching zero, could
> > > > you consider porting DetaolB to non-x86 CPUs?
> > >
> > > Yes, please!
> >
> > The reason why distributions drop sparc32 is the unmaintained kernel.
> > Nobody stepped up for Linux kernel maintenance in the last years.
> > Debian managed to keep up a sort-of working kernel for the last
> > release, the people who put their time into it are disinclined to
> > repeat this exercise.
>
> But there is a difference in maintaining a kernel suitable for high
> quality distribution with over 18733 packages working in different
> real hardware, versus a test/evaluation distribution with <30 packages
> running on Qemu. I'd see that as an "enhanced qemu-tests.tar.gz".
Just FYI, Firmware Linux builds for sparc and has for months now.
http://landley.net/code/firmware
Go "./build.sh sparc", and wait a bit. It even generates a run-sparc.sh in
the build directory that'll invoke qemu against the kernel and ext2 image it
generated.
That creates a sparc cross compiler, uses it to build a root filesystem
containing a native toolchain for sparc, and packages it into an ext2 image.
Over on arm I've built binutils and gcc natively inside the emulator.
The sparc platform has a problem that if I boot with init as a "hello world"
program everything behaves as expected (there are two in the image for
testing purposes, /tools/bin/hello-dynamic and /tools/bin/hello-static). But
if you boot with init=/tools/bin/bash it hangs. And so do the busybox
shells.
I think it's a uClibc bug on sparc, but haven't made time to track it down.
Either that or the kernel needs something _weird_ for console initialization.
(The cross-compiler and kernel seem to be working fine...)
You can try it out yourself by downloading all the *sparc* files from
http://landley.net/code/firmware/downloads/images and then running:
qemu-system-sparc -nographic -no-reboot -hda image-sparc.ext2 -kernel \
zImage-sparc -append 'rw init=/tools/bin/hello-dynamic panic=1 \
PATH=/tools/bin root=/dev/sda console=ttyS0'
That prints "Hello world!", panics, and exits.
./run-sparc.sh does the exact same command line with "init=/tools/bin/sh"
(bash 2.05b), which hangs. Note that init=/tools/bin/ash (busybox ash) does
the same thing. Haven't debugged beyond that yet...
Rob
P.S. I gave a tutorial about this system at OLS, and my lecture notes are at
http://landley.net/ols/ols2007/tutorial.txt
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-10 17:34 ` Rob Landley
@ 2007-07-10 18:30 ` Blue Swirl
2007-07-10 19:42 ` Rob Landley
0 siblings, 1 reply; 35+ messages in thread
From: Blue Swirl @ 2007-07-10 18:30 UTC (permalink / raw)
To: Rob Landley; +Cc: qemu-devel, detaolb-devel
> The sparc platform has a problem that if I boot with init as a "hello world"
> program everything behaves as expected (there are two in the image for
> testing purposes, /tools/bin/hello-dynamic and /tools/bin/hello-static). But
> if you boot with init=/tools/bin/bash it hangs. And so do the busybox
> shells.
I think there is a problem with the dynamic loader, I get a bus error
when running the programs on real Sparc.
If I try to run the dynamic loader, it reports on real HW as well as on Qemu:
Standalone execution is not supported yet
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-10 18:30 ` Blue Swirl
@ 2007-07-10 19:42 ` Rob Landley
2007-07-11 11:17 ` Blue Swirl
0 siblings, 1 reply; 35+ messages in thread
From: Rob Landley @ 2007-07-10 19:42 UTC (permalink / raw)
To: Blue Swirl; +Cc: qemu-devel, detaolb-devel
On Tuesday 10 July 2007 14:30:38 Blue Swirl wrote:
> > The sparc platform has a problem that if I boot with init as a "hello
> > world" program everything behaves as expected (there are two in the image
> > for testing purposes, /tools/bin/hello-dynamic and
> > /tools/bin/hello-static). But if you boot with init=/tools/bin/bash it
> > hangs. And so do the busybox shells.
>
> I think there is a problem with the dynamic loader, I get a bus error
> when running the programs on real Sparc.
Huh. That's odd because hello-dynamic is using the dynamic loader. (That's
why there's a hello-dynamic and a hello-static.)
It's entirely possibly that qemu and real sparc hardware are behaving
differently, but I'm not seeing this bus error under qemu. (I haven't got
real sparc hardware, so I can only debug against qemu...)
> If I try to run the dynamic loader, it reports on real HW as well as on
> Qemu: Standalone execution is not supported yet
The ability to run the dynamic loader as an executable and the ability to use
it as a dynamic loader are two completely unrelated things on a modern Linux
system. The kernel doesn't _exec_ the library loader, it calls into it as a
shared library.
In fact, under 2.4 if you ever mount any partitions with "noexec" you also
need to remove the executable bit from the shared library loader, because
otherwise you can just run the library loader and feed it any program to run
and it'll do it for you. (The library loader doesn't care about the noexec
mount flag.)
Of course between 2.4 and 2.6 they added an extra check to the kernel so it
refused to exec a program if the shared library loader that program refers to
didn't have the executable bit set, for "security" reasons. (And the glibc
guys made ld-linux.so start checking the executable bit on libraries too.)
This of course means that the old trick of removing the executable bit
doesn't _work_ anymore, so mounting stuff "noexec" is essentially
meaningless. Oh well, it already was if you had something like "perl" on the
system. Or a command shell that could launch a shell script. :)
Note also that this is why uClibc includes its own "ldd", because the glibc
one is just a wrapper that attempts to execute ld-linux.so with some
debugging arguments to dump the library names. So the glibc ldd doesn't work
on uClibc binaries, because they're not linked against ld-linux.so. The
uClibc one works like readelf instead, and should work on anything.
But anyway, the ability to run a library loader as a command, and its ability
to function _as_ a library loader, are totally unrelated. Different entry
points.
This talks about the issue in passing:
http://www.usenix.org/publications/library/proceedings/usenix98/freenix/record_html/lxrun-3.html
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-04 19:54 ` Cedric Hombourger
@ 2007-07-10 20:32 ` Bernhard Fischer
2007-07-10 20:36 ` Christian MICHON
0 siblings, 1 reply; 35+ messages in thread
From: Bernhard Fischer @ 2007-07-10 20:32 UTC (permalink / raw)
To: Cedric Hombourger; +Cc: uClibc, qemu-devel, detaolb-devel
On Wed, Jul 04, 2007 at 09:54:48PM +0200, Cedric Hombourger wrote:
>The busybox link failure has an existing entry in mantis:
>http://www.uclibc.org/bugs/bug_view_advanced_page.php?bug_id=1356
Just to expand on this one last time, here is the help-text of taskset:
config TASKSET
bool "taskset"
default n
help
Retrieve or set a processes's CPU affinity.
This requires sched_{g,s}etaffinity support in your libc.
This was slightly adjusted in uClibc trunk (to stub it out if the syscall is unavailable),
a patch against 0.9.29 which updates this can be found here:
http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/uClibc/
HTH,
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-10 20:32 ` Bernhard Fischer
@ 2007-07-10 20:36 ` Christian MICHON
0 siblings, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-10 20:36 UTC (permalink / raw)
To: Bernhard Fischer; +Cc: detaolb-devel, uClibc, qemu-devel, Cedric Hombourger
On 7/10/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
> On Wed, Jul 04, 2007 at 09:54:48PM +0200, Cedric Hombourger wrote:
> >The busybox link failure has an existing entry in mantis:
> >http://www.uclibc.org/bugs/bug_view_advanced_page.php?bug_id=1356
>
> Just to expand on this one last time, here is the help-text of taskset:
> config TASKSET
> bool "taskset"
> default n
> help
> Retrieve or set a processes's CPU affinity.
> This requires sched_{g,s}etaffinity support in your libc.
>
> This was slightly adjusted in uClibc trunk (to stub it out if the syscall is unavailable),
> a patch against 0.9.29 which updates this can be found here:
> http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/uClibc/
>
> HTH,
>
I hit this today. I'll need this patch then, since I did not see the problem
on i686. Thanks!
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-10 19:42 ` Rob Landley
@ 2007-07-11 11:17 ` Blue Swirl
2007-07-11 13:34 ` [Detaolb-devel] " Christian MICHON
2007-07-11 17:38 ` Rob Landley
0 siblings, 2 replies; 35+ messages in thread
From: Blue Swirl @ 2007-07-11 11:17 UTC (permalink / raw)
To: Rob Landley; +Cc: uClibc, qemu-devel, detaolb-devel
On 7/10/07, Rob Landley <rob@landley.net> wrote:
> On Tuesday 10 July 2007 14:30:38 Blue Swirl wrote:
> > > The sparc platform has a problem that if I boot with init as a "hello
> > > world" program everything behaves as expected (there are two in the image
> > > for testing purposes, /tools/bin/hello-dynamic and
> > > /tools/bin/hello-static). But if you boot with init=/tools/bin/bash it
> > > hangs. And so do the busybox shells.
> >
> > I think there is a problem with the dynamic loader, I get a bus error
> > when running the programs on real Sparc.
>
> Huh. That's odd because hello-dynamic is using the dynamic loader. (That's
> why there's a hello-dynamic and a hello-static.)
>
> It's entirely possibly that qemu and real sparc hardware are behaving
> differently, but I'm not seeing this bus error under qemu. (I haven't got
> real sparc hardware, so I can only debug against qemu...)
Right. Debugging the problem I found out that in Qemu, 64-bit loads
and stores to unaligned addresses do not trigger any traps as they
should. I'll commit a fix soon. The problem is in uClibc ldso, there
is this kind of store.
Running the program on qemu-sparc reveals another problem, probably
because of these definitions in ldso/ldso/sparc/dl-sysdep.h:
/* 4096 bytes alignment */
/* ...but 8192 is required for mmap() on sparc64 kernel */
#define PAGE_ALIGN 0xffffe000
#define ADDR_ALIGN 0x1fff
#define OFFS_ALIGN 0x7fffe000
On Sparc32 the correct page alignment is still 4096. Because of these
definitions, some code apparently tries to clear a 8k page, but only
4k of memory is mapped.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Detaolb-devel] [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-11 11:17 ` Blue Swirl
@ 2007-07-11 13:34 ` Christian MICHON
2007-07-11 14:20 ` Christian MICHON
2007-07-11 17:33 ` Rob Landley
2007-07-11 17:38 ` Rob Landley
1 sibling, 2 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-11 13:34 UTC (permalink / raw)
To: Blue Swirl; +Cc: uClibc, qemu-devel, detaolb-devel
On 7/11/07, Blue Swirl <blauwirbel@gmail.com> wrote:
> > It's entirely possibly that qemu and real sparc hardware are behaving
> > differently, but I'm not seeing this bus error under qemu. (I haven't got
> > real sparc hardware, so I can only debug against qemu...)
>
> Right. Debugging the problem I found out that in Qemu, 64-bit loads
> and stores to unaligned addresses do not trigger any traps as they
> should. I'll commit a fix soon. The problem is in uClibc ldso, there
> is this kind of store.
>
> Running the program on qemu-sparc reveals another problem, probably
> because of these definitions in ldso/ldso/sparc/dl-sysdep.h:
> /* 4096 bytes alignment */
> /* ...but 8192 is required for mmap() on sparc64 kernel */
> #define PAGE_ALIGN 0xffffe000
> #define ADDR_ALIGN 0x1fff
> #define OFFS_ALIGN 0x7fffe000
>
> On Sparc32 the correct page alignment is still 4096. Because of these
> definitions, some code apparently tries to clear a 8k page, but only
> 4k of memory is mapped.
>
I just managed a compilation of bash-3.2 using ncurses-5.6 and
uClibc-0.9.29 inside a qemu-system-sparc (native compilation,
no cross compilation).
"ldd ./bash" points naturally to libdl.so.0, libc.so.0, ld-uClibc.so.0
./bash
Segmentation fault
I do not have gdb compiled yet... I'll check soon with busybox
ash, since I recompiled uClibc with the sched_affinity patch.
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Detaolb-devel] [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-11 13:34 ` [Detaolb-devel] " Christian MICHON
@ 2007-07-11 14:20 ` Christian MICHON
2007-07-11 17:33 ` Rob Landley
1 sibling, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-11 14:20 UTC (permalink / raw)
To: Blue Swirl; +Cc: uClibc, qemu-devel, detaolb-devel
On 7/11/07, Christian MICHON <christian.michon@gmail.com> wrote:
> I just managed a compilation of bash-3.2 using ncurses-5.6 and
> uClibc-0.9.29 inside a qemu-system-sparc (native compilation,
> no cross compilation).
>
> "ldd ./bash" points naturally to libdl.so.0, libc.so.0, ld-uClibc.so.0
>
> ./bash
> Segmentation fault
>
> I do not have gdb compiled yet... I'll check soon with busybox
> ash, since I recompiled uClibc with the sched_affinity patch.
>
busybox-1.6.0 does segfault here too. I had to remove taskset
as apparently the sched_affinity patch did not fix the linking
step.
is there a repository of sparc/uclibc patches somewhere ?
Blue mentionned he'll have a fix for uclibc ldso. I'll try it using
this dev environment as soon as it'll be out.
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Detaolb-devel] [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-11 13:34 ` [Detaolb-devel] " Christian MICHON
2007-07-11 14:20 ` Christian MICHON
@ 2007-07-11 17:33 ` Rob Landley
2007-07-11 20:20 ` Christian MICHON
1 sibling, 1 reply; 35+ messages in thread
From: Rob Landley @ 2007-07-11 17:33 UTC (permalink / raw)
To: Christian MICHON; +Cc: Blue Swirl, uClibc, qemu-devel, detaolb-devel
On Wednesday 11 July 2007 9:34:17 am Christian MICHON wrote:
> I just managed a compilation of bash-3.2 using ncurses-5.6 and
> uClibc-0.9.29 inside a qemu-system-sparc (native compilation,
> no cross compilation).
>
> "ldd ./bash" points naturally to libdl.so.0, libc.so.0, ld-uClibc.so.0
>
> ./bash
> Segmentation fault
When you get that kind of segmentation fault, see if "hello world" segfaults
too. (In general, when building with a new toolchain, new C library, new
kernel, new root filesystem packaging method, or a new system in general, if
anything goes wrong back up a few steps and make sure "hello world" works
before trying to debug anything fancier.)
> I do not have gdb compiled yet... I'll check soon with busybox
> ash, since I recompiled uClibc with the sched_affinity patch.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-11 11:17 ` Blue Swirl
2007-07-11 13:34 ` [Detaolb-devel] " Christian MICHON
@ 2007-07-11 17:38 ` Rob Landley
2007-07-11 20:26 ` [Detaolb-devel] " Christian MICHON
1 sibling, 1 reply; 35+ messages in thread
From: Rob Landley @ 2007-07-11 17:38 UTC (permalink / raw)
To: Blue Swirl; +Cc: uClibc, qemu-devel, detaolb-devel
On Wednesday 11 July 2007 7:17:28 am Blue Swirl wrote:
> On 7/10/07, Rob Landley <rob@landley.net> wrote:
> > On Tuesday 10 July 2007 14:30:38 Blue Swirl wrote:
> > > > The sparc platform has a problem that if I boot with init as a "hello
> > > > world" program everything behaves as expected (there are two in the
> > > > image for testing purposes, /tools/bin/hello-dynamic and
> > > > /tools/bin/hello-static). But if you boot with init=/tools/bin/bash
> > > > it hangs. And so do the busybox shells.
> > >
> > > I think there is a problem with the dynamic loader, I get a bus error
> > > when running the programs on real Sparc.
> >
> > Huh. That's odd because hello-dynamic is using the dynamic loader.
> > (That's why there's a hello-dynamic and a hello-static.)
> >
> > It's entirely possibly that qemu and real sparc hardware are behaving
> > differently, but I'm not seeing this bus error under qemu. (I haven't
> > got real sparc hardware, so I can only debug against qemu...)
>
> Right. Debugging the problem I found out that in Qemu, 64-bit loads
> and stores to unaligned addresses do not trigger any traps as they
> should. I'll commit a fix soon. The problem is in uClibc ldso, there
> is this kind of store.
I'll leave that to you. I can commit the patches to the uClibc repository if
you can get them to me and confirm they work for you. (And get them added to
the 0.9.29.1 patch list.)
> On Sparc32 the correct page alignment is still 4096. Because of these
> definitions, some code apparently tries to clear a 8k page, but only
> 4k of memory is mapped.
Hmmm... It's possible that "hello world" is working but nothing larger is
just because it uses such small amounts of memory nothing ever crosses a page
boundary, or gets aligned properly by accident...
I look forward to a fix. It would be nice to add sparc to the "actually
works" list. :)
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Detaolb-devel] [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-11 17:33 ` Rob Landley
@ 2007-07-11 20:20 ` Christian MICHON
0 siblings, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-11 20:20 UTC (permalink / raw)
To: Rob Landley; +Cc: Blue Swirl, uClibc, qemu-devel, detaolb-devel
On 7/11/07, Rob Landley <rob@landley.net> wrote:
> When you get that kind of segmentation fault, see if "hello world" segfaults
> too. (In general, when building with a new toolchain, new C library, new
> kernel, new root filesystem packaging method, or a new system in general, if
> anything goes wrong back up a few steps and make sure "hello world" works
> before trying to debug anything fancier.)
I was not clear then. I've binutils already compiled versus uClibc for sparc,
and it works. Some of those binaries from binutils are bigger than the
expected size of final uclibc dynamic busybox.
of course, as soon as I got uclibc compiled, hello world comes first to
my mind, and it was working.
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [Detaolb-devel] [Qemu-devel] ANN: DetaolB v0.4 is released
2007-07-11 17:38 ` Rob Landley
@ 2007-07-11 20:26 ` Christian MICHON
0 siblings, 0 replies; 35+ messages in thread
From: Christian MICHON @ 2007-07-11 20:26 UTC (permalink / raw)
To: Blue Swirl; +Cc: uClibc, qemu-devel, detaolb-devel
On 7/11/07, Rob Landley <rob@landley.net> wrote:
> I look forward to a fix. It would be nice to add sparc to the "actually
> works" list. :)
that's 2 persons looking forward to it. ;-)
today's results:
- uclibc ok (minus the segfaults coming from it)
- conf from busybox segfaults
- bash segfaults
- busybox segfaults
- gcc does not build without bash (I'll replace with ash tomorrow)
- binutils ok
- ncurses ok (I need to look at uclibc' conf now)
- make ok
- bzip2 ok
- coreutils ok
- findutils ok
Blue swirl, please note that the porting of DetaolB to sparc32 will
take more time than scheduled, once the segfault issues are
covered. I'd like to spend some time testing firmware and cross
compilation :)
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu
^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2007-07-11 20:26 UTC | newest]
Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-29 23:58 [Qemu-devel] ANN: DetaolB v0.4 is released Christian MICHON
2007-06-30 7:47 ` Blue Swirl
2007-06-30 10:36 ` Johannes Schindelin
2007-06-30 10:51 ` Thiemo Seufer
2007-06-30 12:07 ` Christian MICHON
2007-06-30 17:15 ` Blue Swirl
2007-07-10 17:34 ` Rob Landley
2007-07-10 18:30 ` Blue Swirl
2007-07-10 19:42 ` Rob Landley
2007-07-11 11:17 ` Blue Swirl
2007-07-11 13:34 ` [Detaolb-devel] " Christian MICHON
2007-07-11 14:20 ` Christian MICHON
2007-07-11 17:33 ` Rob Landley
2007-07-11 20:20 ` Christian MICHON
2007-07-11 17:38 ` Rob Landley
2007-07-11 20:26 ` [Detaolb-devel] " Christian MICHON
2007-06-30 12:10 ` Christian MICHON
2007-07-04 18:30 ` Christian MICHON
2007-07-04 18:54 ` Blue Swirl
2007-07-04 19:45 ` Christian MICHON
2007-07-04 20:18 ` Blue Swirl
2007-07-04 20:30 ` Christian MICHON
2007-07-04 20:52 ` Blue Swirl
2007-07-04 21:04 ` Christian MICHON
2007-07-05 12:41 ` Christian MICHON
2007-07-04 20:25 ` Andreas Färber
2007-07-04 20:32 ` Christian MICHON
2007-07-06 15:07 ` Rob Landley
2007-07-04 19:50 ` Cedric Hombourger
2007-07-04 19:54 ` Cedric Hombourger
2007-07-10 20:32 ` Bernhard Fischer
2007-07-10 20:36 ` Christian MICHON
2007-07-04 20:11 ` Christian MICHON
2007-07-05 19:23 ` Rob Landley
2007-07-05 20:28 ` Christian MICHON
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).