[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#299074: debian-installer: [sparc] Doesn't detect esp scsi on

It would be helpful if you'd tell us what version of the installer you used.

Ben Collins wrote:
> The network card driver had to be manually selected. This is on an E4500,
> but also happens on any sbus machine (ultra30, etc). I had to manually
> select the ethernet driver.
> Also, I had to drop to shell in order to load the esp scsi driver (also
> sbus), else it would not detect any harddrives. This is also a problem for
> CD installs where the cd drive is on the esp scsi chain. Most sbus drivers
> should be automatically loaded on sparc and sparc64 machines in order to
> get things through properly. There aren't many, this is a good list:
> sunhme
> sunbmac
> esp

Curse these modular sparc kernels. :-/ Well, we can do that, I guess.
Patch attached.

I do notice that we _try_ to enable discover's sbus probing for sparc:

                case "$SUBARCH" in
                  sparc/*) sbus=",sbus" ;;
                discover --format="%m:%V %M\n" --disable-all \
                          --enable=pci,ide,scsi${sbus},pcmcia ide scsi cdrom ethernet bridge |

If this doesn't work, is that also a bug in discover? I see in the
changelog that sbus detection of sparc64 was supposed to be fixed in
discover1 1.6.6.

see shy jo
Index: debian/changelog
--- debian/changelog	(revision 25930)
+++ debian/changelog	(working copy)
@@ -1,3 +1,12 @@
+ddetect (1.15) UNRELEASED; urgency=low
+  * Joey Hess
+    - Force register and load sunhme, sunbmac, and esp on sparc since
+      apparently discover does not find these on at least an E4500.
+      Closes: #299074
+ -- Joey Hess <joeyh@debian.org>  Fri, 11 Mar 2005 14:27:07 -0500
 ddetect (1.14) unstable; urgency=low
   * Kurt Roeckx
Index: hw-detect.sh
--- hw-detect.sh	(revision 25930)
+++ hw-detect.sh	(working copy)
@@ -282,6 +282,17 @@
 		echo "zalon7xx:Zalon SCSI"
 		register-module zalon7xx
+	# similarly, on sparc, sbus hardware should just be loaded, we
+	# don't detect it.
+	if [ "`udpkg --print-architecture`" = sparc ]; then
+		echo 'sunhme:Sun "Happy Meal" 10/100 Ethernet'
+		register-module sunhme
+		echo 'sunbmac:Sun "Big Mac" 10/100 Ethernet'
+		register-module sunbmac
+		echo 'esp:ESP SCSI driver'
+		register-module esp
+	fi
 # Detect discover version

Attachment: signature.asc
Description: Digital signature

Reply to: