Re: Partitioning strangeness with sun disk labels in lenny

2009-06-03 Thread Hermann Lauer
On Fri, May 29, 2009 at 12:32:02PM +0200, Hermann Lauer wrote:
 partitioning disk with sun labels seems to be broken in lenny,
 after a reboot the new partions are not visible. util-linux fdisk is
 also unhappy with the disk label, see attached output below.
 
 Only the last output of cat /proc/partions is after reboot,
 the other three are after the addition of /dev/sda2 with cfdisk.

Even more strangeness: 
lenny GNU Fdisk 1.2.1 writes a partition which another etch machine
can see (util-fdisk):

   8   1128891620 sdh
   8   1137815622 sdh1
   8   1141068322 sdh2
   8   1158883945 sdh3

But when booting the lenny machine with that disk as sole disk
the partition goes away:

[  100.144792] sd 0:0:0:0: [sda] 17783240 512-byte hardware sectors (9105 MB)
[  100.228140] sd 0:0:0:0: [sda] Write Protect is off
[  100.286532] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
supports DPO and FUA
[  100.387682]  sda: sda1 sda3
[  100.429180] sd 0:0:0:0: [sda] Attached SCSI disk

And the etch machines util-fdisk indeed shows the same. As the boot above
did stuck in the initramfs who the hell changed the (probably
broken) partion table ?
silo ? or the kernel 2.6.28x ?

Thanks for any ideas,
  Hermann

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: hermann.la...@iwr.uni-heidelberg.de


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SRM] xorg and xorg-server update for lenny

2009-06-03 Thread Julien Cristau
Hi,

the workaround put in xorg-server for 5.0.1 didn't fix the problem on
sparc with pci drivers, and actually made things worse for some people,
so I'd like to revert it in 5.0.2, and try to fix it some other way
instead.

The xorg-server update would:
- remove the patch added in r1
- cherry-pick a patch to fix the idletime xsync timer (see
  http://packages.qa.debian.org/g/gnome-session/news/20090521T093223Z.html
  and
  
http://cgit.freedesktop.org/xorg/xserver/commit?id=1f4fb0225b278d1cf4145aebeb0bdd23dc8f62d5)
I'm not attaching the patch here, it's in git, branch debian-lenny, for
those who care.

The sparc workaround is moved to xserver-xorg, which will attempt to
default to the fbdev driver on sparc if no specific fb driver is found,
and regenerate xorg.conf with that.
Lightly tested patch for that follows.  I'd appreciate review
(xserver-xorg.postinst makes my head hurt) and testing.  (It seems that
the window for 5.0.2 will close soon, so the sooner the better.)

Thanks,
Julien

diff --git a/debian/changelog b/debian/changelog
index 9875bbf..312e98f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xorg (1:7.3+19) UNRELEASED; urgency=low
+
+  * xserver-xorg.postinst: default to the fbdev driver on sparc, even when we
+find PCI devices, to work around #488669.
+
+ -- Julien Cristau jcris...@debian.org  Mon, 25 May 2009 14:58:42 +0200
+
 xorg (1:7.3+18) unstable; urgency=low
 
   [ Debconf translations ]
diff --git a/debian/xserver-xorg.postinst.in b/debian/xserver-xorg.postinst.in
index db18f53..5beb891 100644
--- a/debian/xserver-xorg.postinst.in
+++ b/debian/xserver-xorg.postinst.in
@@ -175,10 +175,10 @@ discover_sparc_video () {
 card='Sun TCX framebuffer' 
 driver='suntcx'
;;
-  'SUNW,m64B' )
-card='ATI Technologies 3D Rage Pro or similar'
-driver='ati'
-;;
+#  'SUNW,m64B' )
+#card='ATI Technologies 3D Rage Pro or similar'
+#driver='ati'
+#;;
   'SUNW,ffb' )
 card='Sun Creator3D framebuffer or similar'
 driver='sunffb'
@@ -187,10 +187,10 @@ discover_sparc_video () {
 card='Sun Elite3D framebuffer or similar'
 driver='sunffb'
 ;;
-  'TSI,gfxp' )
-card='PGX32 framebuffer or similar'
-driver='glint'
-;;
+#  'TSI,gfxp' )
+#card='PGX32 framebuffer or similar'
+#driver='glint'
+#;;
   * )
 card='Unknown'
 server='unknown'
@@ -537,6 +537,9 @@ if [ $ARCH = sparc ]; then
   if [ -n $DRIVERS ]; then
 NDRIVERS=$(echo $DRIVERS | wc -l)
 DRIVERS_LIST=$(echo $DRIVERS | awk 'BEGIN {ORS=;FS=\t} {if(NR  
1){print last ,};last=$0} END {print last}')
+  else
+DRIVERS=fbdev
+DRIVERS_LIST=fbdev
   fi
   if [ $MULTIHEAD -gt 1 ]; then
 MULTIHEAD=yes
@@ -928,7 +931,8 @@ fi
 
 # Don't touch the config on upgrades except to deal with known issues with old
 # configs.
-if [ -z $UPGRADE ] || dpkg --compare-versions $2 le 1:7.0.14; then
+if [ -z $UPGRADE ] || dpkg --compare-versions $2 le 1:7.0.14 || \
+  [ $ARCHITECTURE = sparc ]  dpkg --compare-versions $2 lt-nl 1:7.3+19; 
then
   # compare the current and stored checksums; if they do not match, assume
   # that's the way the user wants it.  if we're reconfiguring, overwrite
   # it regardless and back it up.


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Servizio aziende : messaggio per debian-sparc@lists.debian.org

2009-06-03 Thread l . salvemi
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
!-- saved from url=(0052)http://localhost:1293/ContaktoMailSender/message.htm 
--
HTMLHEADTITLE/TITLE
META http-equiv=Content-Type content=text/html; charset=utf-8
META content=Microsoft FrontPage 4.0 name=GENERATOR/HEAD
BODY
POffriamo :/P
PServizi di consulenzanbsp; per :nbsp; marketing ,nbsp; informatica , 
traduzioni/P 
PAssistenza nazionale ed internazionale/P
PPer maggiori informazioni e preventivi A href=mailto:sm...@woomail.com; 
;clicca qui/A/P
PPer reclami inviare mail a A href=mailto:matteoro...@gawab.com; 
;SMINI/A/P
PSe non vuoi ricevere altri messaggi invia una mail a A 
href=mailto:smini_un...@gawab.com; ;SMINI UNSUBSCRIBE/A/P
pMessaggio per : debian-sparc@lists.debian.org/p
BRBR

PWe offer :/P
PConsulting for : marketing , information , translating services/P 
PNational and international assistance/P
PTo ask for further information and estimates A 
href=mailto:sm...@woomail.com; ;click here/A/P
PTo complain send an email to A href=mailto:matteoro...@gawab.com; 
;SMINI/A/P
PIn case you do not want to receive further messages, send a mail toA 
href=mailto:smini_un...@gawab.com; ;SMINI UNSUBSCRIBE/A/P
pMessage for : debian-sparc@lists.debian.org/p

/BODY/HTML





 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f

 Sponsor:
 Per il ponte del 2 giugno scegli le offerte speciali dei Riccione Family 
Hotels! Bimbi gratis, spiaggia, baby menu, miniclub, parchi divertimento.
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?midĀ72d=3-6


--
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org